]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e5c1ca6b62247fe73550bd61944385169c040662
[lyx.git] / src / ChangeLog
1 2004-04-05  Angus Leeming  <leeming@lyx.org>
2
3         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
4
5         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
6         present only for the preferences dialog.
7         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
8
9 2004-04-05  Angus Leeming  <leeming@lyx.org>
10
11         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
12         to enable the frontends to export changes to lyxrc correctly.
13
14         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
15
16 2004-04-05  André Pönitz  <poenitz@gmx.net>
17
18         * cursor.[Ch] (valign, halign...): remove unneeded functions
19
20 2004-04-05  Angus Leeming  <leeming@lyx.org>
21
22         * lyxlength.[Ch] (unit_name et al.): const-correct.
23
24 2004-04-05  Angus Leeming  <leeming@lyx.org>
25
26         * BufferView_pimpl.C:
27         * buffer.C:
28         * counters.C:
29         * cursor.C:
30         * lyxfunc.C
31         * paragraph.C:
32         * pariterator.C:
33         * text.C:
34         * text2.C:
35         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
36
37 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
38
39         * text3.C (getStatus): add LFUN_BEGINNINGBUF
40
41 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * lyxfind.C: add a couple of inTexted() tests + other small fixes
44         * BufferView_pimpl.[Ch] (getStatus)
45         * BufferView.[Ch] (getStatus): add
46         * lyxfunc.C (getStatus): move lfuns handled in
47         BufferView::dispatch to te function above 
48         * Cursor.C (setSelection): set selection() = true
49
50 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
53
54 2004-03-31  Angus Leeming  <leeming@lyx.org>
55
56         * lyxfunc.C (dispatch): Fall through to the generic
57         Dialogs::show("preamble").
58
59 2004-03-31  Angus Leeming  <leeming@lyx.org>
60
61         * lyxfunc.C (dispatch): Fall through to the generic
62         Dialogs::show("spellchecker").
63
64 2004-03-31  Angus Leeming  <leeming@lyx.org>
65
66         * lyxfunc.C (getStatus, dispatch): changed invocation of the
67         preferences dialog.
68
69 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * BufferView.C
72         * cursor.[Ch]
73         * dociterator.[Ch]:
74         * insetiterator.[Ch]:
75         * lyxfind.C:
76         * lyxfunc.C:
77         * pariterator.[Ch]:
78         * text2.C:
79         * undo.[Ch]: s/DocumentIterator/DocIterator/g
80
81 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * BufferView.C (setCursor, putSelectionAt): call edit to open the
84         insets where we are putting the cursor.
85
86 2004-03-31  Angus Leeming  <leeming@lyx.org>
87
88         * lfuns.h:
89         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
90
91         * lyxrc.[Ch] (read, write): overloaded member functions taking
92         a std::[io]stream arguments.
93
94         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
95
96 2004-03-31  Angus Leeming  <leeming@lyx.org>
97
98         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
99         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
100
101         * lyxtextclass.C (load): if the text class couldn't be loaded, then
102         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
103
104 2004-03-31  Angus Leeming  <leeming@lyx.org>
105
106         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
107         the LFUN_ALL_INSETS_TOGGLE code.
108
109 2004-03-30  Angus Leeming  <leeming@lyx.org>
110
111         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
112         has died. Fall through to the generic Dialogs::show("document").
113         
114 2004-03-30  Angus Leeming  <leeming@lyx.org>
115
116         * lfuns.h:
117         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
118         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
119
120         * lyxfunc.C (getStatus, dispatch): define the actions for these
121         lfuns. Little more than a cut and pste job from ControlDocument.C
122
123         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
124
125 2004-03-30  Angus Leeming  <leeming@lyx.org>
126
127         * lfuns.h:
128         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
129         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
130
131         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
132         open/closed state of ollapsable insets. Usage:
133
134         all-inset-toggle <state> <name>, where
135         <state> == "open" || "closed" || "toggle" and
136         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
137
138         * lyxtext.h, text2.C (toggleInset): removed.
139
140         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
141         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
142         now passes LFUN_INSET_TOGGLE to the found inset.
143
144         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
145         is now invoked as "all-insets-toggle toggle branch".
146
147 2004-03-30  Angus Leeming  <leeming@lyx.org>
148
149         * dociterator.C:
150         * insetiterator.C:
151         * pariterator.[Ch]: added/corrected header blurb.
152
153 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
154
155         * dociterator.[Ch]: add an inset_ member 
156         (backwardPos): implemented
157         (backwardPos, forwardPos): use inset_ when the stack is empty.
158         (doc_iterator_begin, doc_iterator_end): implemented
159         * pariterator.[Ch]: adjust, add begin, end
160         * insetiterator.[Ch]: adjust, add begin, end
161         * cursor.C: 
162         * document.C:
163         * BufferView.C:
164         * BufferView_pimpl.C:
165         * CutAndPaste.C: adjust
166
167 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
168
169         * buffer.C: increment file format to 232.
170         * LaTeXFeatures.C: add bibtopic package.
171         * bufferparams.[Ch]: param \use_bibtopic.
172         
173         * lyxrc.[Ch]: add lyxrc bibtex_command
174         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
175         
176         * buffer.C: increment file format to 231.
177
178 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * dociterator.C: implement forwardPar
181         * iterators.[Ch]: remove, replaced by
182         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
183         * BufferView.C:
184         * BufferView_pimpl.C:
185         * CutAndPaste.C:
186         * buffer.C:
187         * bufferview_funcs.C:
188         * cursor.C:
189         * lyxfind.C
190         * lyxfunc.C
191         * paragraph_funcs.C
192         * toc.C:  
193         * Makefile.am: adjust
194
195 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * CutAndPaste.C (pasteSelection): fix 2 crashes
198         (eraseSelection): fix a crash
199         * paragraph_funcs.C: remove a warning
200
201 2004-03-28  Angus Leeming  <leeming@lyx.org>
202
203         * lfuns.h:
204         * LyXAction.C (init): new LFUN_PRINT.
205
206         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
207
208 2004-03-27  Angus Leeming  <leeming@lyx.org>
209
210         * lfuns.h:
211         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
212
213         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
214
215 2004-03-27  Angus Leeming  <leeming@lyx.org>
216
217         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
218         insetlist always contains non-null pointers to insets.
219
220 2004-03-26  Angus Leeming  <leeming@lyx.org>
221
222         * src/BufferView_pimpl.C:
223         * src/CutAndPaste.C:
224         * src/buffer.C:
225         * src/iterators.C:
226         * src/output_plaintext.C:
227         * src/outputparams.h:
228         * src/paragraph_funcs.C:
229         * src/rowpainter.C:
230         * src/text.C:
231         * src/text2.C:
232         * src/frontends/controllers/ControlErrorList.C:
233         * src/frontends/gtk/FileDialogPrivate.C:
234         * src/frontends/gtk/GPainter.C:
235         * src/frontends/gtk/GToolbar.C:
236         * src/frontends/qt2/QRef.C:
237         * src/mathed/math_scriptinset.C: squash compiler warnings.
238
239 2004-03-26  Angus Leeming  <leeming@lyx.org>
240
241         * ispell.C (LaunchIspell::start):
242         * lyx_cb.C (AutoSaveBuffer::start):
243         invoke run(DontWait) rather than runNonBlocking().
244
245 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
248
249 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * kbsequence.C (print): adjust
252
253         * kbmap.C (printKeySym): rename and change signature
254         (printKey): use LyXKeySym::print()
255
256 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * undo.C: add using std::advance to compile for stlport
259
260 2004-03-24  Angus Leeming  <leeming@lyx.org>
261
262         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
263         it leads to a crash when no buffer is present.
264
265 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266             Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * lyxfunc.C (dispatch): 
269         * bufferparams.C (readToken): use the new LColor::setColor 
270
271         * LColor.[Ch] (setColor): new version that takes two strings as
272         argument and creates a new color entry if necessary
273
274 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
275
276         * buffer.C (makeLaTeXFile): if the main latex file that is
277         processed is usually a subdocument of some master, then pretend
278         for a while that it is actually the master
279
280 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
281
282         * buffer.C (getLabelList):
283         (getBibkeyList): use getMasterBuffer()
284         (getMasterBuffer): new method. Returns the main document in the
285         case where one is using included documents.
286
287 2004-03-25  André Pönitz  <poenitz@gmx.net>
288
289         * Makefile.am:
290         * iterators.[Ch]:
291         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
292
293         * ParagraphList_fwd.h: change ParagraphList to a std::vector
294
295         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
296         text*.C over here. Rename namespace CutAndPaste to lyx::cap
297
298         * ParameterStruct.h: merge with ParagraphParameters
299
300         * lyxtext.h: remove LyXText::parOffset() and getPar()
301
302         * text3.C: Remove all 'manual' update calls. We do now one per user
303         interaction which is completely sufficient.
304
305         * Bidi.C:
306         * BufferView.[Ch]:
307         * BufferView_pimpl.C:
308         * FontIterator.[Ch]:
309         * MenuBackend.C:
310         * ParagraphParameters.[Ch]:
311         * buffer.C:
312         * buffer.h:
313         * bufferlist.C:
314         * cursor.[Ch]:
315         * cursor_slice.[Ch]:
316         * dociterator.[Ch]:
317         * errorlist.[Ch]:
318         * factory.C:
319         * lfuns.h:
320         * lyxfind.C:
321         * lyxfunc.C:
322         * output_docbook.[Ch]:
323         * output_latex.[Ch]:
324         * output_linuxdoc.[Ch]:
325         * output_plaintext.[Ch]:
326         * paragraph.[Ch]:
327         * paragraph_funcs.[Ch]:
328         * paragraph_pimpl.[Ch]:
329         * rowpainter.C:
330         * tabular.[Ch]:
331         * text.C:
332         * text2.C:
333         * toc.C:
334         * undo.[Ch]: adjust
335
336         * frontends/controllers/ControlDocument.C:
337         * frontends/controllers/ControlErrorList.C:
338         * frontends/controllers/ControlSpellchecker.C:
339         * insets/inset.C:
340         * insets/inset.h:
341         * insets/insetbase.h:
342         * insets/insetbibitem.C:
343         * insets/insetbox.C:
344         * insets/insetbranch.C:
345         * insets/insetcaption.C:
346         * insets/insetcharstyle.C:
347         * insets/insetcharstyle.h:
348         * insets/insetcollapsable.C:
349         * insets/insetcollapsable.h:
350         * insets/insetert.C:
351         * insets/insetfloat.C:
352         * insets/insetfoot.C:
353         * insets/insetmarginal.C:
354         * insets/insetnote.C:
355         * insets/insetoptarg.C:
356         * insets/insettabular.C:
357         * insets/insettext.C:
358         * insets/insettext.h:
359         * insets/insetwrap.C:
360         * mathed/math_mboxinset.C:
361         * mathed/math_nestinset.C:
362         * mathed/math_scriptinset.C:
363         * mathed/math_scriptinset.h:
364         * support/types.h:
365
366 2004-03-24  Angus Leeming  <leeming@lyx.org>
367
368         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
369         deal with any child processes that have finished but are waiting to
370         communicate this fact to the rest of LyX.
371
372 2004-03-24  Angus Leeming  <leeming@lyx.org>
373
374         64-bit compile fixes.
375
376         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
377         (c-tor): pass lyx::pos_types rather than ints.
378
379         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
380         lyx::pos_type.
381
382         * text.C (Delete): compile fix.
383         (getPar): ensure that function declaration is the same as that in
384         the header file.
385
386 2004-03-23  Angus Leeming  <leeming@lyx.org>
387
388         * ispell.C (LaunchIspell):
389         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
390         a boost::shred_ptr rather than a std::auto_ptr.
391
392 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxfunc.C (getStatus): handle read-only buffers correctly;
395         handle LFUN_FILE_INSERT_*
396
397         * lyxrc.C (setDefaults, getDescription, output, read):
398         * lyxrc.h: remove ps_command
399
400 2004-03-22  Angus Leeming  <leeming@lyx.org>
401
402         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
403         Ensure that error_handler is processed once only and that all data
404         is saved before attempting to output any warning messages.
405
406         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
407
408 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * tabular.C (TeXRow): crash fix (from Kayvan and André)
411
412 2004-03-19  André Pönitz  <poenitz@gmx.net>
413
414         * cursor.[Ch] (reset): take main text inset as argument
415
416         * BufferView: adjust
417         * BufferView_pimpl.C: adjust
418
419         * paragraph.[Ch]: fix completely broken operator=()
420
421 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * LColor.C (getFromLyXName): make sure that the color name is used
424         as lowercase.
425
426 2004-03-17  Angus Leeming  <leeming@lyx.org>
427
428         * lfuns.h:
429         * LyXAction.C (init): remove LFUN_FORKS_KILL.
430
431         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
432         dialog and to kill a forked process.
433
434 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * text2.C (setCursorFromCoordinates): fix font problem
437
438 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
441         bogus "rebuild cursor" code
442
443 2004-03-11  André Pönitz  <poenitz@gmx.net>
444
445         * buffer.[Ch]: use InsetText instead of LyXText as container for
446         the main lyx text.
447
448         * dociterator.[Ch]: drop the BufferView * member which is not needed
449         anymore after the change to buffer.C
450
451         * paragraph_funcs.C:
452         * text.C:
453         * text2.C:
454         * BufferView.[Ch]:
455         * BufferView_pimpl.[Ch]:
456         * cursor.[Ch]:
457         * cursor_slice.[Ch]: adjust
458
459         * text3.C: fix bug in mathDispatch
460
461 2004-03-08  André Pönitz  <poenitz@gmx.net>
462
463         * undo.[Ch]: use 'StableDocumentIterator' as base for
464         the Undo struct.
465
466 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * LaTeXFeatures.C:
469         * bufferparams.[Ch]: add jurabib support and param.
470
471         * LaTeX.C: add FIXME/comment.
472
473 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
474
475         * buffer.C: increment file format to 230.
476
477 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
478
479         * cursor.C (dispatch): avoid infinite loops
480
481 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
482
483         * rowpainter.C (paintSelection): fix x coordinates
484
485 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * text.C (rowBreakPoint): fix breaking before displayed insets
488
489 2004-03-01  André Pönitz  <poenitz@gmx.net>
490
491         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
492
493         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
494
495         * Makefile.am:
496         * BufferView.C:
497         * BufferView_pimpl.C:
498         * buffer.C:
499         * lyxfind.C:
500         * lyxfunc.C:
501         * text.C:
502         * text2.C:
503         * text3.C: adjust
504
505 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
506
507         * lyxtext.h:
508         * text.C:
509         * text2.C:
510         * rowpainter.C:
511         * BufferView_pimpl.C: rename textwidth -> maxwidth,
512         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
513
514 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
515
516         * Bidi.[Ch] (computeTables): const correctness
517         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
518         fill_hfill, fill_label_hfill and x from Row
519         * lyxtext.h: prepareToPrint returns a RowMetrics
520         * rowPainter.C: adjust
521         * text.C (prepareToPrint): use width, not textWidth. adjust
522         (redoParagraphInternal, cursorX): adjust
523         * text2.C (getColumnNearX): adjust
524         (init): put a default value to the top LyXText::width
525
526 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
529
530 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
531
532         * lyxtext.h: add FontIterator class
533
534         * text.C (FontIterator, operator*, operator->, operator++): add
535         (rowBreakPoint, setRowWidth): adjust (fixing a
536         rebreaking bug)
537
538 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * BufferView_pimpl.C (workAreaDispatch): allow also
541         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
542
543 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
544
545         * text.C (rowBreakPoint): fix a bug showing with very large insets
546
547 2004-02-25  André Pönitz  <poenitz@gmx.net>
548
549         * text3.C:
550         * cursor.[Ch]: move some mathed specific code to mathed
551
552 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
555         use_tempdir in preferences
556         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
557         tempfile creation
558         * lyx_main.C: ensure that tempdir is valid
559         * lyxlex.h: correct typo
560         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
561         * paragraph.[Ch] (isMultiLingual): make const
562         * cursor.[Ch] (openable): make const
563
564 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
567
568 2004-02-20  André Pönitz  <poenitz@gmx.net>
569
570         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
571
572         * cursor.[Ch]: prepare for localized getStatus()
573
574         * lyxtext.h:
575         * tabular.C:
576         * text.C:
577         * text2.C:
578         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
579
580 2004-02-20  André Pönitz  <poenitz@gmx.net>
581
582         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
583
584 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
585
586         * text2.C (setCursorFromCoordinates): switch to absolute coords
587         (cursorUp): adjust
588         (cursorDown): adjust
589         * text3.C (dispatch): adjust
590
591 2004-02-16  André Pönitz  <poenitz@gmx.net>
592
593         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
594           insets/ChangeLog)
595
596         * cursor_slice.[Ch]: remove unneeded acessor function
597
598         * lyxtext.h: rename rtl() to isRTL()
599
600         * rowpainter.C:
601         * tabular.C:
602         * text.C:
603         * text2.C:
604         * text3.C: adjust
605
606 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * rowpainter.C (paintSelection): coord fix
609
610 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
611
612         * Spacing.C: compile fix
613
614 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * cursor.C (dispatch): restore current_ before returning
617
618 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * text2.C (cursorUp, cursorDown): fix coords
621         (moveUp): fix crash
622
623 2004-02-12  André Pönitz  <poenitz@gmx.net>
624
625         * lyxtext.h:
626         * text.C:
627         * text2.C:
628         * text3.C: add LCursor & parameter to most cursor movement functions
629           remove usage of LyXText::cursorRow() and cursorPar()
630
631         * cursor.[Ch]: add textRow() needed members
632
633         * BufferView.C:
634         * BufferView_pimpl.C:
635         * paragraph.[Ch]:
636         * BufferView.C:
637         * BufferView_pimpl.C: adjust
638
639 2004-02-11  André Pönitz  <poenitz@gmx.net>
640
641         * lyxfunc.C:
642         * BufferView.[Ch]:
643         * BufferView_pimpl.C: shift undo/redo handling
644
645         * cursor.[Ch]: fix mathed crash
646
647         * lyxfind.C:
648         * lyxtext.h: move selectionAsText to LCursor
649
650         * output_latex.C:
651         * paragraph.C:
652         * text.C:
653         * text2.C:
654         * text3.C: adjust
655
656         * rowpainter.C: fix excessive drawing
657
658 2004-02-06  André Pönitz  <poenitz@gmx.net>
659
660         * BufferView.[Ch]:
661         * BufferView_pimpl.[Ch]:
662         * text3.C: move some text specific LFUN handling
663
664 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
665
666         * text3.C (checkInsetHit): adjust coords
667         * text2.C (getColumnNearX): adjust coords
668         (edit): adjust coords
669         * text.C (getRowNearY): add two asserts
670
671 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * converter.C:
674         * format.C: add using std::distance to compile on gcc 2.95/stlport
675
676 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
677
678         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
679
680 2004-02-04  André Pönitz  <poenitz@gmx.net>
681
682         * BufferView.[Ch] (insertInset):
683         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
684
685         * text2.C:
686         * text3.C: adjust
687
688 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
689
690         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
691         on the default clause of the switch
692         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
693         wasn't catched by LCursor::dispatch
694
695 2004-02-03  André Pönitz  <poenitz@gmx.net>
696
697         * BufferView.C:
698         * cursor.[Ch]: some additional asserts
699
700         * undo.[Ch]: remove LyXText dependency in interface
701
702         * lyxfunc.C: adjust
703
704         * lyxtext.h (firstPar, lastPar): remove dead functions
705
706         * text.C:
707         * text2.C:
708         * text3.C:
709         * paragraph.[Ch]: adjust
710
711 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * lyxfind.C (find): fix argument order in call to ::find
714
715 2004-02-02  André Pönitz  <poenitz@gmx.net>
716
717         * cursor.[Ch]: remove direct access to anchor
718
719         * text.C: remove findText() hack
720
721 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * iterators.[Ch] (lockPath): remove in favour of...
724         * BufferView.[Ch] (setCursor): this addition
725         * BufferView.C (putSelectionAt): adjust
726         * undo.C (performUndoOrRedo): adjust
727         * lyxfunc.C (dispatch): adjust
728
729 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
730
731         * iterators.C (lockPath): add a missing slice
732         * undo.C (performUndoOrRedo): remove redundant positioning code
733
734 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
735
736         * vc-backend.C (scanMaster): ";" -> ';'
737
738 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
739
740         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
741         std::binary_function
742
743         * lyxtextclass.C (compare_name): rename to...
744         (LayoutNamesEqual): ...this
745
746         * lyxlex_pimpl.C (compare_tags): inherit from
747         std::binary_function, put back into anon namespace
748
749         * lyxfind.C (MatchString): inherig from std::binary_function
750         (findChange): use empty() istead of !size()
751
752         * format.C (FormatNamesEqual): new functor
753         (getFormat): use it
754         (getNumber): use it
755         (add): use it
756         (erase): use it
757         (setViewer): use it
758
759         * converter.C (compare_Converter): rename to...
760         (ConverterEqual): ...this, and fixup a bit.
761         (getConverter): use it, and make function const
762         (getNumber): use it, and make function const
763         (add): use it
764         (erase): use it:
765
766         * bufferlist.C: add using boost::bind
767
768         * MenuBackend.C (MenuNamesEqual): new functor
769         (hasMenu): use it, and make function const
770         (hasSubmenu): use nested bind to get rid of compare_memfun.
771
772 2004-01-30  André Pönitz  <poenitz@gmx.net>
773
774         * BufferView_pimpl.C:
775         * cursor.C:
776         * cursor.h:
777         * cursor_slice.[Ch]:
778         * lyxfunc.C:
779         * lyxtext.h:
780         * paragraph_funcs.C:
781         * paragraph_funcs.h:
782         * rowpainter.C:
783         * text.C:
784         * text2.C:
785         * text3.C: move some of the edit(x,y) handling to the insets
786         some coordinate changes.
787
788 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * text.C: add using statements for std::advance and std::distance
791
792         * paragraph.C: add using statement for std::distance
793
794         * lyxfind.C: add using statement for std::advance
795
796         * cursor.C (region): remove std:: from swap
797         (openable): use nucleus in stead of operator->
798
799         * BufferView.C: add using statements for std::distance and std::swap
800
801 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * iterators.C: Remove the pimple, move the needed structures to
804         the header file. Create accessor for the positions stack.
805         (asPosIterator): remove function
806
807         * PosIterator.C (PosIterator): move constructors to top of file
808         (PosIterator): reimplement the constructor taking a ParIterator in
809         terms of setFrom.
810         (setFrom): new function
811         (operator!=): inline it
812
813 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * lyxfind.C (replaceAll): use std::advance
816
817         * iterators.h: inherit from std::iterator.
818
819         * PosIterator.C (advance, distance): remove
820         * PosIterator.h: interit from std::iterator.
821
822 2004-01-26  André Pönitz  <poenitz@gmx.net>
823
824         * BufferView.[Ch]:
825         * BufferView_pimpl.[Ch]:
826         * InsetList.[Ch]:
827         * PosIterator.[Ch]:
828         * buffer.h:
829         * bufferview_funcs.C:
830         * cursor.[Ch]:
831         * cursor_slice.h:
832         * factory.[Ch]:
833         * iterators.[Ch]:
834         * lyxfind.C:
835         * lyxfunc.C:
836         * lyxtext.h:
837         * output_docbook.C:
838         * output_latex.C:
839         * output_linuxdoc.C:
840         * output_plaintext.C:
841         * paragraph.[Ch]:
842         * paragraph_funcs.[Ch]:
843         * paragraph_pimpl.[Ch]:
844         * rowpainter.C:
845         * tabular.C:
846         * tabular.h:
847         * text.C:
848         * text2.C:
849         * text3.C: more IU:  dumps most of the rest of the mathcursor
850     implementation into cursor.[Ch]; "globalize" a bit of it.
851
852 2004-01-25  Angus Leeming  <leeming@lyx.org>
853
854         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
855
856 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
857
858         * LaTeXFeatures.h: add nice_ and nice() const
859         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
860
861 2004-01-20  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView.[Ch]:
864         * BufferView_pimpl.C:
865         * PosIterator.C:
866         * bufferview_funcs.C:
867         * cursor.[Ch]:
868         * cursor_slice.[Ch]:
869         * factory.C:
870         * iterators.C:
871         * lyx_cb.C:
872         * lyxfind.C:
873         * lyxfunc.C:
874         * lyxtext.h:
875         * rowpainter.C:
876         * text.C:
877         * text2.C:
878         * text3.C:
879         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
880           LCursor and mathcursor parts to LCursor and InsetBase.
881
882 2004-01-15  André Pönitz  <poenitz@gmx.net>
883
884         * cursor_slice.[Ch]: add a few covienience functions
885
886         * funcrequest.[Ch]: remove BufferView * member
887
888         * BufferView_pimpl.C:
889         * cursor.C:
890         * factory.[Ch]:
891         * lyxfind.[Ch]:
892         * lyxfunc.C:
893         * lyxtext.h:
894         * text3.C:
895         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
896
897 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
900         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
901
902 2004-01-13  André Pönitz  <poenitz@gmx.net>
903
904         * textcursor.[Ch]:
905         * lyxtext.h: hide cursor and selection anchor behind accessor function
906
907         * BufferView.C:
908         * BufferView_pimpl.[Ch]:
909         * PosIterator.C:
910         * bufferview_funcs.C:
911         * cursor.h:
912         * lyxfind.C:
913         * lyxfunc.C:
914         * text.C:
915         * text2.C:
916         * text3.C:
917         * undo.C: adjust
918
919         * cursor.h:
920         * cursor_slice.[Ch]: some integer type changes for inset unification
921
922         * lyxcursor.[hC]: remove, it's CursorSlice now.
923
924         * Makefile.am:
925         * BufferView_pimpl.[Ch]:
926         * bufferview_funcs.C:
927         * cursor_slice.C:
928         * lyxtext.h:
929         * text.C:
930         * text2.C:
931         * text3.C:
932         * textcursor.[Ch]: adjust
933
934 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
935
936         * text2.C (undoSpan): add and use
937         * text.C (breakParagraph): use undoSpan (fix bug 578)
938         * lyxtext.h: adjust
939
940 2004-01-08  Angus Leeming  <leeming@lyx.org>
941
942         * BufferView_pimpl.C (MenuInsertLyXFile):
943         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
944         * lyxfunc.C (menuNew, open, doImport):
945         FileFilterList change to the FileDialog open and save functions.
946
947 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
948
949         * ShareContainer.h: make isEqual and isUnique adaptable
950
951         * CutAndPaste.C: make resetOwnerAndChanges adaptable
952
953 2004-01-07  Angus Leeming  <leeming@lyx.org>
954
955         * LyXAction.C:
956         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
957
958         * BufferView_pimpl.C (dispatch): act on these LFUNs.
959
960         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
961         functions replacing find, replace and replaceAll.
962
963         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
964         LFUN_WORDFIND(FORWARD|BACKWARD).
965
966 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
967
968         * text.C (breakParagraph): remove an outdated #warning
969
970 2004-01-07  André Pönitz  <poenitz@gmx.net>
971
972         * lyxfind.C: somewhat clearer logic
973
974         * text.C: prevent crash in cursorX on unitialized row cache
975
976 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
977
978         * lyxcursor.[Ch] (operator>): add
979         * textcursor.C (selStart, selEnd): use std::min and std::max
980
981 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
982
983         * Chktex.C: include boost/format.hpp
984
985 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
986
987         * InsetList.C: replace functor MathcIt with adaptable functor
988         InsetTablePosLess
989         (insetIterator): modify accordingly
990
991         * BranchList.h: move the BranchNamesEqual functor here from...
992         * BranchList.C: ... to here
993
994         * BranchList.C: new BranchListEqual fuctor, use it. Remove
995         SameName and match.
996         (add): replace a finding loop with std::find_if.
997
998 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * output_docbook.C: moving LatexParam functionality into
1001         .layout files
1002
1003 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1004
1005         * buffer.C: increment format to 229.
1006
1007 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1008
1009         * LaTeXFeatures.C:
1010         * lyx_sty.[Ch]: remove minipageindent_def
1011
1012         * LyXAction.C:
1013         * factory.C:
1014         * lfuns.h:
1015         * lyxfunc.C:
1016         * text3.C: remove LFUN_INSET_MINIPAGE
1017
1018 2003-12-28  Angus Leeming  <leeming@lyx.org>
1019
1020         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1021
1022 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * text2.C (setParagraph): fix off-by-one crash
1025
1026 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1027
1028         * output_docbook.C: header stuff for AGU
1029
1030 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * text2.C (redoCursor): remove
1033         * text.C:
1034         * text3.C:
1035         * BufferView_pimpl.C: remove calls to redoCursor and
1036         setCursor(cursor.par(), cursor.pos()) all around
1037
1038 2003-12-15  Angus Leeming  <leeming@lyx.org>
1039
1040         * buffer.C: up the format to 228.
1041
1042 2003-12-15  André Pönitz  <poenitz@gmx.net>
1043
1044         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1045         slices
1046
1047         * Makefile.am:
1048
1049         * BufferView_pimpl.C:
1050         * cursor.[Ch]:
1051         * lyxcursor.[Ch]:
1052         * rowpainter.[Ch]:
1053         * lyxtext.h:
1054         * text.C:
1055         * text2.C:
1056         * text3.C: adjust
1057
1058 2003-12-15  Angus Leeming  <leeming@lyx.org>
1059
1060         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1061         than getFromGUIName to manipulate the color.
1062
1063 2003-12-14  Angus Leeming  <leeming@lyx.org>
1064
1065         * BranchList.[Ch]: minimize the API.
1066         (Branch::getBranch, getColor): now return a 'const &'.
1067         (Branch::setSelected) now returns a bool set to true if the
1068         selection status changes.
1069         (BranchList::clear, size, getColor, setColor, setSelected,
1070         allBranches, allSelected, separator): removed.
1071         (BranchList::find): new functions, returning the Branch with
1072         the given name.
1073         (BranchList::add, remove): return a bool indicating that
1074         the operation was successful.
1075
1076         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1077         new InsetBranch::isBranchSlected member function.
1078
1079         * LColor.[Ch]: mimimize the API.
1080         (fill): renamed as addColor and made private.
1081         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1082         versions of these functions taking a string arg have been removed.
1083
1084         * bufferparams.C (readToken):
1085         * lyxfunc.C (dispatch):
1086         * lyxrc.C (read): changes due to the altered BranchList and
1087         LColor APIs.
1088
1089         * factory.C (createInset, readInset): changes due to altered
1090         InsetBranch c-tor.
1091
1092 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1093
1094         * factory.C:
1095         * lyxfunc.C: remove insetminipage. "minipage-insert"
1096         now produces a frameless minipage box inset.
1097
1098 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * textcursor.[Ch] (selStart,selEnd): add new methods
1101         remove selection::start, end, use LyXCursor::operator<
1102         * lyxcursor.[Ch] (operator<): add
1103         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1104         * BufferView.[Ch] (unsetXSel): add
1105         * text2.C (clearSelection): use unsetXSel,adjust
1106         * text.C: adjust
1107         * text3.C: adjust
1108         * rowpainter.C: adjust
1109         * bufferview_funcs.C (put_selection_at): adjust
1110
1111 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1112
1113         * BufferView_pimpl.C: small coord. correction
1114
1115 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1118         dragging over the splash screen.
1119
1120 2003-12-11  Angus Leeming  <leeming@lyx.org>
1121
1122         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1123         as it is now handled in LyXText::dispatch.
1124
1125         * text3.C (doInsertInset): remove a level of nesting.
1126
1127 2003-12-11  Angus Leeming  <leeming@lyx.org>
1128
1129         * factory.C (createInset): changes due to the changed interface to
1130         InsetCommandMailer::string2params.
1131
1132 2003-12-10  Angus Leeming  <leeming@lyx.org>
1133
1134         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1135         'dialog-show-new-inset <inset name>'
1136
1137 2003-12-10  Angus Leeming  <leeming@lyx.org>
1138
1139         * buffer.C: up the format to 227.
1140
1141         * factory.C: the box inset is now identified simply by 'Box'.
1142
1143 2003-12-10  Angus Leeming  <leeming@lyx.org>
1144
1145         * buffer.C: up the format to 226.
1146
1147         * factory.C: the note inset is now identified simply by 'Note'.
1148
1149 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1150
1151         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1152         when a pit is enough. Standarize a couple of loops.
1153
1154 2003-12-05  Angus Leeming  <leeming@lyx.org>
1155
1156         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1157         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1158         data to the re-worked "log" dialog.
1159
1160 2003-12-03  André Pönitz  <poenitz@gmx.net>
1161
1162         * PosIterator.C:
1163         * iterators.C:
1164         * lyxtext.h:
1165         * output_latex.C:
1166         * paragraph_funcs.C:
1167         * text.C:
1168         * text2.C: use Inset::getText instead of Inset::getParagraph
1169
1170 2003-12-03  André Pönitz  <poenitz@gmx.net>
1171
1172         * buffer.[Ch]:
1173         * lyxtext.h:
1174         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1175         InsetText::read() as LyXText::read()
1176
1177 2003-12-02  Angus Leeming  <leeming@lyx.org>
1178
1179         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1180         type. Add a comment in the implementation that the function uses
1181         the stream's bad() function rather than fail() as the std::streams
1182         would do.
1183
1184 2003-12-02  André Pönitz  <poenitz@gmx.net>
1185
1186         * lyxlex.[Ch]: make interface more similar to std::stream
1187
1188         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1189
1190 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1191
1192         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1193
1194 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1195
1196         * vspace.[Ch]: remove VSpace::NONE
1197
1198 2003-12-01  André Pönitz  <poenitz@gmx.net>
1199
1200         * buffer.[Ch]:
1201         * lyxtext.h: move ParagraphList member to LyXText
1202         rename LyXText::ownerParagraphs to LyXText::paragraph
1203
1204         * CutAndPaste.C:
1205         * bufferview_funcs.C:
1206         * iterators.[Ch]:
1207         * lyx_cb.C:
1208         * paragraph.C:
1209         * rowpainter.C:
1210         * tabular.C:
1211         * text.C:
1212         * text2.C:
1213         * text3.C: adjust
1214
1215         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1216
1217         * undo.C: fix cursor positioning
1218
1219 2003-12-01  John Levon  <levon@movementarian.org>
1220
1221         * BufferView_pimpl.C: fix a crash on exit with
1222         a buffer open
1223
1224 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1225
1226         * BranchList.C: fix setSelected() method.
1227
1228 2003-11-28  André Pönitz  <poenitz@gmx.net>
1229
1230         * ParagraphParameters.[Ch]:
1231         * ParameterStruct.h: remove space above/below from Paragraph to
1232          InsetVSpace
1233
1234         * BufferView_pimpl.C:
1235         * factory.C:
1236         * lyxfunc.C:
1237         * lyxtext.h:
1238         * output_latex.C:
1239         * paragraph.C:
1240         * paragraph_funcs.C:
1241         * rowpainter.[Ch]:
1242         * text.C:
1243         * text2.C:
1244         * text3.C: adjust
1245
1246 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * factory.C: Syntax change for CharStyles
1249
1250 2003-11-28  André Pönitz  <poenitz@gmx.net>
1251
1252         * BufferView.[Ch]:
1253         * BufferView.[Ch]:
1254         * buffer.[Ch]:
1255         * buffer.[Ch]: move LyXText member
1256
1257 2003-11-28  André Pönitz  <poenitz@gmx.net>
1258
1259         * BufferView.[Ch]: make LyXText * text a private member
1260
1261         * BufferView_pimpl.C:
1262         * cursor.C:
1263         * iterators.C:
1264         * lyx_cb.C:
1265         * lyxfind.C:
1266         * lyxtext.h:
1267         * rowpainter.[Ch]:
1268         * text.C:
1269         * text2.C:
1270         * undo.C: adjust
1271
1272         * output_plaintext.C: cleanup
1273
1274 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1275
1276         * buffer.C:
1277         * lyxtextclass.[Ch]: parametrize SGML document header
1278
1279 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1280
1281         * converter.[Ch]:
1282         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1283         getFlavor().
1284
1285 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text2.C (setFont): rework using PosIterator (no more recursive)
1288         (setCharFont): no more needed
1289         (setLayout): no more selection cursors fiddling (done by redoCursor)
1290         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1291         destroy remaining ones)
1292
1293 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1296         * lyxtext.h: ditto
1297         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1298         selection cursors
1299         * lyxfunc.C: adjust
1300         * text3.C: adjust + re-allow multi par depth changes
1301         * textcursor.C: simplify a bit
1302
1303 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * src/buffer.C:
1306         * src/lyxlayout.C:
1307         * src/lyxlayout.h:
1308         * src/lyxtext.h:
1309         * src/output_docbook.C:
1310         * src/output_latex.C:
1311         * src/paragraph.C:
1312         * src/paragraph.h:
1313         * src/sgml.C:
1314         * src/sgml.h:
1315         * src/text2.C: Introducing a number of tags parametrizing various
1316         XML formats that we may want to support
1317
1318 2003-11-25  André Pönitz  <poenitz@gmx.net>
1319
1320         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1321
1322         * lyxtext.h (leftMargin/rightMargin): simplify interface
1323
1324         * rowpainter.C:
1325         * text.C:
1326         * text2.C:
1327         * text3.C: adjust
1328
1329 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1330
1331         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1332         master file to any child files. Fixes bug 546.
1333
1334 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1337
1338 2003-11-24  André Pönitz  <poenitz@gmx.net>
1339
1340         * rowpainter.C: simplification
1341
1342         * text2.C (updateCounters): remove call to redoParagraph on
1343         changed labels as this is far too expensive.
1344
1345 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * converter.C (convert): fix a crash: this function gets
1348         called with buffer == 0 from importer code.
1349
1350 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1351
1352         * text3.C (cursorPrevious): make sure that we do not compare
1353         iterators form different containers.
1354         (cursorNext): ditto
1355
1356         * rowpainter.C (paintSelection): make sure that we do not compare
1357         iterators from different containers.
1358
1359         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1360         iterators from different ParagraphList containers.
1361         [NEXT] ditto
1362
1363         * text2.C (LyXText): change order of initialization slightly
1364         (operator=): new function. copy all variables except cache_par_
1365         (moveUp): make sure that we do not compare iterators from
1366         different ParagraphList constainers.
1367         (moveDown): ditto
1368
1369         * text.C (firstPar): new function
1370         (lastPar): new function
1371         (endPar): new function
1372
1373         * lyxtext.h: move things around and group public functions, public
1374         variables, private functions, private variables
1375
1376 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1377
1378         * factory.C: change call to InsetERT constructor to avoid
1379         additional invocation of method status
1380         * text2.C (toggleInset): remove redundant update() call
1381         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1382         instead of a Bufferview pointer
1383
1384 2003-11-21  André Pönitz  <poenitz@gmx.net>
1385
1386         * rowpainter.C: simplification
1387
1388 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * text3.C (dispatch): make possible to extend a word/row selection
1391         with the mouse
1392
1393 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1394
1395         * lyxtext.h: x0_,y0_ -> xo_,yo_
1396         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1397         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1398         * rowpainter.C (paintRows): paint full paragraphs
1399
1400 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1403         screen coordinates)
1404
1405 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1406
1407         * lyxtext.h: add x0_, y0_
1408         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1409         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1410
1411 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * text2.C (setCursorIntern): move the x_target update here *
1414         * text3.C: change some bv() to true/false in calls to
1415         cursorUp/Down/Right/Left
1416         * cursor.C: use helper function.
1417
1418 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1419
1420         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1421         * paragraph_funcs.[Ch]: correct comment
1422         * rowpainter.C: do not paint selections away from bv->cursor()
1423         Fix a long standing selection painting bug.
1424         * text3.C: generalize mouse-selection code to LyXTexts other that
1425         top one
1426         * textcursor.C: do not use y coords if we can use par offsets
1427
1428 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1429
1430         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1431         cursor position after e.g. inset insert)
1432
1433 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * lyxfind.C (replace): adjust to locking removal + some
1436         code simplification
1437
1438 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1441         of the path
1442
1443 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1444
1445         * lyxlayout.[Ch]:
1446         * output_docbook.C: XML sanitation: new layout
1447         parameters InnerTag and CommandDepth
1448
1449 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1450
1451         * BufferView_pimpl.C:
1452         * factory.C:
1453         * text3.C: Fix the insertion and modification of button-style
1454         insets
1455
1456 2003-11-13  André Pönitz  <poenitz@gmx.net>
1457
1458         * InsetList.[Ch]: remove deleteLyXText
1459
1460         * paragraph.[Ch]: cache beginOfBody position
1461
1462         * Bidi.C:
1463         * text.C:
1464         * text2.C:
1465         * text3.C: remove superfluous update() calls
1466
1467         * vspace.C: cleanup
1468
1469 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1470
1471         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1472         * BufferView.C (fitLockedInsetCursor): remove
1473         * cursor.[Ch] (getDim): add
1474         * text.C (getRowNearY): add faster version
1475         * text3.C: remove some update calls
1476
1477 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * LaTeXFeatures.C:
1480         * LyXAction.C:
1481         * MenuBackend.C:
1482         * MenuBackend.h:
1483         * dispatchresult.h:
1484         * factory.C:
1485         * lfuns.h:
1486         * lyxfunc.C:
1487         * lyxtextclass.C:
1488         * lyxtextclass.h:
1489         * text3.C: The Character Style /XML short element patch.
1490
1491 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1492
1493         * text3.C:
1494         * factory.C: Small step to solving 'unable to insert some insets'
1495         problem
1496
1497 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1498
1499         * cursor.[Ch] (updatePos): new function for updating the y
1500         position of the tip inset
1501         * bufferview_funcs.C (put_selection_at):
1502         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1503
1504 2003-11-11  André Pönitz  <poenitz@gmx.net>
1505
1506         * text.C: remove big comment on invalid Paragraph pointers as it is
1507         not valid anymore
1508
1509 2003-11-11  André Pönitz  <poenitz@gmx.net>
1510
1511         * text_funcs.[Ch]: merge with ...
1512
1513         * text.C: ... this
1514
1515         * lyxtext.h:
1516         * text2.C:
1517         * text3.C: adjust
1518
1519         * Makefile.am: remove text_funcs.[Ch]
1520
1521 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * cursor.C (getPos): return absolute cached y coord
1524
1525         * BufferView_pimpl.C (fitCursor): new simplistic code
1526         (workAreaDispatch): add a fitCursor call
1527
1528 2003-11-10  André Pönitz  <poenitz@gmx.net>
1529
1530         * BufferView.[Ch]:
1531         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1532
1533 2003-11-10  André Pönitz  <poenitz@gmx.net>
1534
1535         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1536         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1537         indicate that the cursor needs to leave an inset
1538
1539         * lyxtext.h: remove inset locking
1540
1541         * cursor.[Ch]: re-implement functionality provided by inset locking
1542
1543         * BufferView.[Ch]:
1544         * BufferView_pimpl.[Ch]:
1545         * LyXAction.C:
1546         * bufferview_funcs.[Ch]:
1547         * factory.C:
1548         * funcrequest.[Ch]:
1549         * iterators.C:
1550         * lyx_cb.C:
1551         * lyxfind.C:
1552         * lyxfunc.C:
1553         * text.C:
1554         * text2.C:
1555         * text3.C:
1556         * undo.C: adjust
1557
1558 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * PosIterator.[Ch]: replace the stack with a vector, add inset
1561         accesor
1562         * iterators.[C]: adjust
1563
1564 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1565
1566         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1567         replaced
1568         * paragraph_funcs.C (readParToken): put the correct id in the
1569         error item, not the id of the top paragraph
1570
1571 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1572
1573         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1574         * bufferview_funcs.C (put_selection_at): use the above
1575
1576 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1577
1578         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1579
1580 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * output_linuxdoc.h:
1583         * output_plaintext.h:
1584         * output.h:
1585         * output_docbook.h: add #include statements
1586
1587 2003-11-05  José Matos  <jamatos@lyx.org>
1588
1589         * output_docbook.[Ch]:
1590         * output_latex.[Ch]:
1591         * output_linuxdoc.[Ch]:
1592         * output_plaintext.[Ch]: New files for output formats.
1593         * output.[Ch]: New file for helper functions.
1594
1595         * buffer.[Ch]:
1596         * paragraph_funcs.[Ch]: output functions moved to new files.
1597
1598         * outputparams.h: rename of latexrunparams.h
1599
1600         * LaTeX.[Ch]:
1601         * buffer.[Ch]:
1602         * bufferlist.[Ch]:
1603         * converter.[Ch]:
1604         * exporter.C:
1605         * paragraph.[Ch]:
1606         * paragraph_funcs.[Ch]:
1607         * paragraph_pimpl.[Ch]:
1608         * tabular.[Ch]: rename ascii to plaintext
1609         and LatexRunParams to OutputParams.
1610
1611 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1612
1613         * iterators.[Ch] (text): require bv argument
1614         * undo.C (recordUndo):
1615         * lyxfunc.C (dispatch):
1616         * bufferview_funcs.C (put_selection_at): adjust
1617
1618 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1619
1620         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1621
1622 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1623
1624         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1625         nestings
1626
1627 2003-11-04  André Pönitz  <poenitz@gmx.net>
1628
1629         * cursor.[Ch]: restructure
1630
1631         * BufferView.[Ch]:
1632         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1633
1634         * iterators.[Ch] (asCursor): remove
1635
1636         * lfuns.h: remove LFUN_INSET_EDIT
1637
1638         * lyxfunc.C:
1639         * tabular.C:
1640         * text.C:
1641         * text2.C:
1642         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1643
1644 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * lyxfind.[Ch]: complete overhaul
1647         * BufferView_pimpl.C:
1648         * lyxfunc.C: adjust
1649         * paragraph.[Ch] (insert): add
1650
1651 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1652
1653         * BufferView.[Ch]:
1654         * lyxtext.h:
1655         * text.C: remove dead spellcheck code
1656
1657 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1658
1659         * dispatchresult.h: add a val setter
1660
1661         * cursor.C (dispatch): use a tempvar for data_[i]
1662
1663 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1664
1665         * PosIterator.[Ch]: compile fix
1666
1667 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1668
1669         * text.C (cursorPar): deactivate the cursor cache
1670
1671 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1672
1673         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1674
1675 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1676
1677         * text3.C (dispatch): adjust for new DisptchResult semantics.
1678
1679         * lyxfunc.C (dispatch): handle update when return from
1680         Cursor::dispatch, adjust for new DispatchResult semantics.
1681
1682         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1683         DispatchResult(true) mean to not update. Add class functions for
1684         setting dispatched and update, as well as reading.
1685
1686         * cursor.C (dispatch): don't handle update here
1687
1688 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1691         * trans_mgr.C: adjust
1692
1693         * paragraph_funcs.C (readParToken): exception safety
1694
1695         * lyxvc.h: store the vcs pointer in a scoped_ptr
1696         * lyxvc.C: adjust
1697
1698         * lyxsocket.C (serverCallback): exception safety
1699
1700         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1701
1702         * ispell.C (clone): make it return a auto_ptr
1703
1704         * factory.C (createInset): exception safety
1705         (readInset): exception safety
1706
1707         * bufferlist.C (newBuffer): exception safety
1708
1709         * Thesaurus.C (Thesaurus): use initialization for aik_
1710
1711         * MenuBackend.C (expandToc): exception safety.
1712
1713 2003-11-03  André Pönitz  <poenitz@gmx.net>
1714
1715         * buffer.C:
1716         * buffer.h:
1717         * bufferview_funcs.C: remove getInsetFromId()
1718
1719         * lyxcursor.[Ch]:
1720         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1721
1722         * lyxfunc.C:
1723         * text2.C:
1724         * text3.C: adjust
1725
1726 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1727
1728         * PosIterator.C (distance, advance): new
1729         * bufferview_funcs.[Ch] (put_selection_at): new
1730         * iterators.[Ch] (lockPath): new
1731
1732 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * iterators.[Ch] (asPosIterator): added
1735         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1736         * PosIterator.[Ch]: added
1737
1738 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1739
1740         * text3.C:
1741         * lyxfunc.C:
1742         * cursor.C (dispatch):
1743         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1744
1745         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1746         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1747         contructor, add a class function dispatched. Remove operator>=
1748
1749 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1750
1751         * debug.C: only use the default constructor for debugstream
1752         (lyxerr) here.
1753
1754         * main.C (main): include debug.h and setup the lyxerr streambuf
1755         here.
1756
1757 2003-10-31  José Matos  <jamatos@lyx.org>
1758
1759         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1760
1761         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1762         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1763         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1764         * paragraph_pimpl.C (simpleTeXSpecialC):
1765         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1766         add LatexRunParams argument.
1767
1768         * exporter.C (Export): change call accordingly.
1769
1770         * latexrunparams.h: add new member to take care of the other backends.
1771 2003-10-30  José Matos  <jamatos@lyx.org>
1772
1773         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1774         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1775         factorise code for paragraph output.
1776         * buffer.[Ch]:
1777         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1778         move functions.
1779
1780 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1781
1782         * text3.C (dispatch):
1783         * lyxfunc.C (dispatch):
1784         * cursor.C (dispatch):
1785         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1786
1787         * dispatchresult.h: make the dispatch_result_t ctor explicit
1788
1789 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1790
1791         * sgml.[Ch]:
1792         * buffer.C: small refactoring of docbook stuff
1793
1794 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1797         meaning.
1798
1799 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1800
1801         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1802         operator dispatch_result_t, and operators for == != and >=
1803
1804         * cursor.C (dispatch): adjust for operator dispatch_result_t
1805         removal. comment out call to update
1806
1807         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1808
1809 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1810
1811         * text3.C:
1812         * text2.C:
1813         * text.C:
1814         * lyxtext.h:
1815         * lyxfunc.C:
1816         * cursor.C:
1817         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1818         (dispatch):
1819
1820         * dispatchresult.h: new file, DispatchResult broken out of
1821         insets/insetbase.h
1822
1823         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1824
1825 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1826
1827         * text.C (rowBreakPoint): put a hack inside #if 0
1828
1829 2003-10-28  André Pönitz  <poenitz@gmx.net>
1830
1831         * lyxtext.h:
1832         * metricsinfo.C:
1833         * paragraph_funcs.C:
1834         * rowpainter.C:
1835         * text.C:
1836         * text2.C: general cleanup (lots of small stuff)
1837
1838 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1839
1840         * text2.C (cursorEnd): simple fix to the "end key goes to one
1841         before the end on last row" bug
1842
1843 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1844
1845         * text.C (backspace): fix the "zombie characters"
1846
1847 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1850
1851 2003-10-27  André Pönitz  <poenitz@gmx.net>
1852
1853         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1854
1855         * factory.C: handle new InsetPagebreak, InsetLine
1856
1857         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1858         and move handling into new InsetPagebreak, InsetLine
1859
1860         * BufferView_pimpl.C:
1861         * LyXAction.C:
1862         * ParagraphParameters.C:
1863         * ParameterStruct.h:
1864         * lyxfunc.C:
1865         * lyxtext.h:
1866         * paragraph.C:
1867         * paragraph.h:
1868         * paragraph_funcs.C:
1869         * paragraph_pimpl.C:
1870         * rowpainter.C:
1871         * text.C:
1872         * text2.C:
1873         * text3.C: adjust
1874
1875 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1876
1877         * text.C:
1878         * lyxrow_funcs.[Ch]:
1879         * Bidi.C:
1880         * paragraph.C:
1881         * lyxtext.h:
1882         * rowpainter.C:
1883         * text2.C:
1884         * text3.C: remove lastPos uses in favour of Row::endpos
1885
1886 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1887
1888         * undo.C (performUndoOrRedo): fix two crashes by setting a
1889         cursor by hand and reordering some calls. Use bv->lockInset instead
1890         of inset->edit because the latter loses cursor information
1891
1892 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1893
1894         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1895         by Martin
1896         (rowBreakPoint): fix width. change point to point + 1.
1897         Add a missing check.
1898
1899 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1900
1901         * MenuBackend.C:
1902         * lyxfunc.C: fix (at least partly) the problems
1903         with the Nav menu and headers inside branch insets
1904         reported by Kayvan
1905
1906 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * paragraph.C (getChar): add strong asserts
1909
1910         * lyxrow_funcs.C (lastPos): remove hideous hack
1911
1912         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1913         (fill): adjust to that (avoid an infinite loop)
1914
1915 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1918
1919 2003-10-23  André Pönitz  <poenitz@gmx.net>
1920
1921         * RowList_fwd.h: change list<> to vector<> to gain speed
1922         after suggestion from Alfredo
1923
1924 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1925
1926         * lyxtext.h: move the bidi stuff from here...
1927         * text.C: and here
1928         * text2.C: and here
1929         * Bidi.[Ch]: ... to here
1930
1931 2003-10-23  André Pönitz  <poenitz@gmx.net>
1932
1933         * lyxtext.h:
1934         * text.C (isLastRow, isFirstRow): new functions
1935
1936         * paragraph.h: new width cache member
1937
1938         * rowpainter.C: replace RowList::iterator with Row & where possible
1939
1940         * lyxfunc.C: replace several view()->text with a single call
1941
1942         * toc.C: fix 'unused' warning
1943
1944 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1947         when woring with stream::pos_type
1948         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1949
1950 2003-10-22  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxtext.h:
1953         * text.C: use Row & instead of RowList::iterator
1954
1955         * lyxrow.h: rename end() to endpos()
1956
1957         * rowpainter.C:
1958         * text.C:
1959         * text2.C: adjust
1960
1961 2003-10-22  Angus Leeming  <leeming@lyx.org>
1962
1963         * buffer.[Ch] (fully_loaded): new member function, returning true
1964         only when the file has been loaded fully.
1965         Used to prevent the premature generation of previews and by the
1966         citation inset to prevent computation of the natbib-style label.
1967
1968         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1969         templates are all set up.
1970
1971         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1972
1973 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1974
1975         * text.C: fixed an "oops" in the "is a bit silly"
1976         bug fix
1977
1978 2003-10-21  André Pönitz  <poenitz@gmx.net>
1979
1980         * FuncStatus.[Ch]: small stuff, whitespace
1981
1982         * lyxfont.[Ch]: operator<<() for debug reasons
1983
1984         * lyxfunc.C:
1985         * lyxrow_funcs.C:
1986         * lyxtext.h: whitespace, spelling
1987
1988         * paragraph.C: naming of variables
1989
1990         * text.C:
1991         * text2.C: small stuff
1992
1993
1994 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1995
1996         * text.C: (1) finish off the inset display() work;
1997         (2) fix the "is a bit silly" bug (accessing char
1998         past end of par).
1999
2000 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2001
2002         * text.C: re-introduce display() for insets, fixing the
2003         various bugs (stretch of line above, math inset
2004         positioning, ...)
2005
2006 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * text.C (rightMargin): remove spurious semicolon
2009
2010         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2011         1415)
2012
2013 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * text3.C: fix one crash due to wrong cursor def
2016
2017 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2018
2019         * vc-backend.C (scanMaster): make the regex static
2020
2021         * LaTeX.C (scanAuxFile): make the regexs static
2022
2023         * text3.C (doInsertInset, dispatch, dispatch):
2024         * text2.C (cursorUp, cursorDown):
2025         * text.C (selectNextWordToSpellcheck):
2026         * BufferView_pimpl.C (dispatch):
2027         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2028
2029 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * lyxsocket.C: include <cerrno>
2032
2033 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * lyxfunc.C (dispatch): remove textcache stuff
2036
2037         * bufferlist.C (release): remove textcache stuff
2038         (closeAll): ditto
2039
2040         * TextCache.C: delete file
2041         * TextCache.h: delete file
2042
2043         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2044
2045         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2046         delete of the bv_->text.
2047         (resizeCurrentBuffer): remove texcache stuff
2048         (workAreaResize): ditto
2049
2050 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2053         action.
2054
2055 2003-10-16  André Pönitz  <poenitz@gmx.net>
2056
2057         * lyxrow.[Ch]:
2058         * paragraph.h:
2059         * rowpainter.C:
2060         * text.C:
2061         * text2.C:
2062         * text3.C: speed up by storing y positions per paragraph plus per-row
2063         offset instead of having a 'full' y position in the row.
2064
2065 2003-10-15  André Pönitz  <poenitz@gmx.net>
2066
2067         * iterators.[Ch]:
2068         * iterators.[Ch]:
2069         * undo.[Ch]: make undo aware of inner insets
2070
2071 2003-10-14  Angus Leeming  <leeming@lyx.org>
2072
2073         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2074         static member functions LyX::ref() and LyX::cref.
2075         (lastfiles): new accessor functions for the new lastfiles_ member var.
2076         (addLyXView, views_): add a new LyXView to the list of views_.
2077         (updateInset): loop over all LyXViews to call their own updateInset
2078         member function, returning a pointer to the Buffer owning the inset.
2079
2080         * BufferView_pimpl.C (loadLyXFile):
2081         * MenuBackend.C (expandLastfiles):
2082         * bufferlist.C (MenuWrite, QuitLyX):
2083         lastfiles is no longer a global variable.
2084         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2085
2086         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2087         static function. Access through LyX::cref().emergencyCleanup().
2088
2089 2003-10-14  André Pönitz  <poenitz@gmx.net>
2090
2091         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2092
2093         * undo.[Ch]: restoring part of 'undo in insets'
2094
2095         * Makefile.am:
2096         * undo_funcs.[Ch]: merge with undo.[Ch]
2097
2098         * tabular.C: small cleansing stuff
2099
2100 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * paragraph_funcs.C (readParToken): report unknown insets as error
2103         boxes. Use the outer paragraph as location (also for unknown
2104         tokens).
2105
2106         * factory.C (readInset): do not abort on reading an unknown inset.
2107         Eat it and return 0.
2108
2109 2003-10-13  Angus Leeming  <leeming@lyx.org>
2110
2111         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2112
2113         * lyxrc.C: displayTranslator is now a function,
2114         declared in GraphicsTypes.h.
2115
2116 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2117
2118         * format.C: new placeholder $$a to pass the socket address.
2119
2120         * bufferlist.[Ch]: new function getBufferFromTmp.
2121
2122         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2123           files in the temporary dir.
2124
2125 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2126
2127         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2128
2129         * Makefile.am: add lyxsocket.[Ch].
2130
2131         * lyx_main.C (error_handler): handle SIGPIPE.
2132
2133 2003-10-13  André Pönitz  <poenitz@gmx.net>
2134
2135         * BufferView_pimpl.C:
2136         * lyxtext.h:
2137         * text.C:
2138         * text2.C:
2139         * text3.C:
2140         * undo_funcs.[Ch]: use paroffset_type instead of
2141           ParagraphList::iterators to prevent multiple conversion
2142           (and get a more robust interface)
2143
2144 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2147         * lyxtext.h: ditto
2148         * text3.C (dispatch): ditto
2149
2150 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2153         move the onlyfile, use onlyfile instead of foundfile in a couple
2154         of places.
2155
2156         * DepTable.C (update): flush the error stream a bit more
2157
2158 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * lyxserver.C (callback): adjust
2161
2162         * lyxfunc.C (getStatus): add a missing brace in commented code
2163         (ensureBufferClean): reindent
2164         (dispatch): delete version taking a string
2165
2166 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2167
2168         * LaTeX.C (deplog): move found file handlig from here...
2169         (handleFoundFile): .. to new function here.
2170         (deplog): make sure to discover several files mentioned on the
2171         same log line.
2172
2173 2003-10-10  André Pönitz  <poenitz@gmx.net>
2174
2175         * lyxfunc.C:
2176         * lyxtext.h:
2177         * tabular.C:
2178         * text.C:
2179         * text2.C:
2180         * text3.C: fix some of the tabular crashes
2181
2182 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2183
2184         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2185
2186         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2187
2188 2003-10-09  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2191
2192         * BufferView.C:
2193         * BufferView_pimpl.C:
2194         * bufferview_funcs.C:
2195         * lyx_cb.C:
2196         * lyxcursor.C:
2197         * lyxfind.C:
2198         * lyxfunc.C:
2199         * lyxtext.h:
2200         * text.C:
2201         * text2.C:
2202         * text3.C:
2203         * text_funcs.[Ch]:
2204         * textcursor.[Ch]:
2205         * undo_funcs.C: adjust
2206
2207 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2208
2209         * text2.C (incrementItemDepth): new function, use a backtracking
2210         algorithm to discover the correct item depth.
2211         (resetEnumCounterIfNeeded): new function, use a backtracking
2212         algorithm to discover if counter reset is needed.
2213         (setCounter): use them. Simplify a bit. Add different labels for
2214         different item depths for itemize.
2215
2216         * paragraph.C (Paragraph): remove initialization of enumdepth
2217         (operator=): ditto
2218
2219         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2220         enumerate and itemize. Change the type of itemdepth to signed char.
2221
2222 2003-10-08  André Pönitz  <poenitz@gmx.net>
2223
2224         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2225           thing assignable.
2226         * text.C:
2227         * text2.C: adjust
2228
2229         * tabular.[Ch]: fix crash after 'row-insert'
2230
2231 2003-10-08  Angus Leeming  <leeming@lyx.org>
2232
2233         Fix doxygen warnings.
2234
2235         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2236         Remove CutAndPaste:: prefix from header file declaration.
2237
2238         * LColor.h (fill): remove LColor:: prefix from declaration.
2239
2240         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2241         use lyx::depth_type rather than Paragraph::depth_type so that
2242         header file and .C file match.
2243
2244         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2245
2246         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2247         * aspell.C: \file aspell_local.C -> \file aspell.C
2248         * gettext.C: \file gettext.C -> \file src/gettext.C
2249         * gettext.h: \file gettext.h -> \file src/gettext.h
2250         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2251         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2252         * text.C: \file text.C -> \file src/text.C
2253
2254         * toc.C: move comment so that doxygen is not confused.
2255
2256 2003-10-07  Angus Leeming  <leeming@lyx.org>
2257
2258         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2259
2260 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2261
2262         * aspell.C:
2263         * aspell_local.h: add forgotten std::string's.
2264
2265 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2266
2267         * LaTeXFeatures.C:
2268         * LyXAction.C:
2269         * factory.C:
2270         * lfuns.h:
2271         * lyxfunc.C:
2272         * text3.C: The Box patch. Fancybox support, minipage, parbox
2273
2274 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2275
2276         * CutAndPaste.h:
2277         * DepTable.h:
2278         * FloatList.h:
2279         * LaTeXFeatures.h:
2280         * ParagraphParameters.h:
2281         * TextCache.h:
2282         * Thesaurus.h:
2283         * bufferlist.h:
2284         * exporter.h:
2285         * importer.h:
2286         * lastfiles.h:
2287         * lyxfind.h:
2288         * lyxfont.h:
2289         * lyxlex.h:
2290         * lyxtextclasslist.h:
2291         * messages.h:
2292         * paragraph.h:
2293         * paragraph_pimpl.C:
2294         * textcursor.h: add <string> and other small fixes to make Lars'
2295         std::string patch compile with STLport.
2296
2297 2003-10-06  Angus Leeming  <leeming@lyx.org>
2298
2299         * LColor.h: Add missing #include <string>.
2300
2301 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2302
2303         * All most all file in all subdirs: Make <string> be the prefered
2304         way of getting to std::string, add using declarations.
2305
2306 2003-10-06  André Pönitz  <poenitz@gmx.net>
2307
2308         * metricsinfo.C: initialize LyXFont before changing attribute.
2309         (fixes the 'math in \emph is upright' bug)
2310
2311 2003-10-06  André Pönitz  <poenitz@gmx.net>
2312
2313         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2314
2315 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2316
2317         * graph.C:
2318         * paragraph_pimpl.C: Small fixes to build using STLport
2319
2320 2003-10-02  André Pönitz  <poenitz@gmx.net>
2321
2322         * lyxfunc.C:
2323         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2324
2325 2003-10-01  André Pönitz  <poenitz@gmx.net>
2326
2327         * factory.C: assert early
2328
2329 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * lyx_main.C: remove the global debug object
2332
2333         * debug.h: adjust for new debugstream
2334
2335         * debug.C: adjust for new debugstream and keep the global debug
2336         object here.
2337
2338 2003-09-22  Angus Leeming  <leeming@lyx.org>
2339
2340         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2341         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2342         an incomplete class LyXFont.
2343
2344 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2345
2346         * factory.C: bug fix in branches
2347
2348 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * lyxfunc.C (processKeySym): adjust
2351         (dispatch): adjust
2352         (dispatch): change arg name from ev to func, adjust
2353         (sendDispatchMessage): ditto
2354
2355         * lyx_main.C (defaultKeyBindings): adjust keybindings
2356         (deadKeyBindings): ditto
2357
2358         * kbsequence.C (addkey): return a FuncRequest
2359
2360         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2361
2362         * kbmap.C (bind): take a FuncRequest as arg, adjust
2363         (read): adjust
2364         (lookup): adjust
2365         (defkey): change to take a FuncRequest as arg, adjust
2366         (findbinding): take a FuncRequest as arg, adjust.
2367
2368         * funcrequest.h (operator=): added
2369
2370         * funcrequest.C (FuncRequest): default kb_action changed from
2371         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2372
2373         * buffer.C (dispatch): simplify
2374         (dispatch): adjust to take a FuncRequest as arg, adjust
2375
2376         * boost.C (assertion_failed): change assertion message slightly
2377
2378         * ToolbarBackend.C (read): simplify
2379
2380         * MenuBackend.C (binding): adjust call to findbinding, add a
2381         message if no binding is found.
2382         (read): simplify
2383         (expandToc): correct by adding a empty FuncRequest
2384
2385         * LyXAction.C: include <boost/assert.hpp>
2386         (isPseudoAction): delete function
2387         (LookupFunc): change name to...
2388         (lookupFunc): this. change return type to FuncRequest.
2389         (getActionName): take kb_action as arg, simplify
2390         (funcHasFlag): add an assert, simplify.
2391
2392 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * toc.C (action): return a FuncRequest, simplify
2395
2396         * lyxfunc.C (processKeySym): adjust
2397         (getStatus): delete version that takes an int.
2398         (getStatus): adjust
2399         (dispatch): delete version that takes action as int
2400         (dispatch): adjust
2401         (sendDispatchMessage): simplify and adjust
2402
2403         * funcrequest.C (getArg): take unsigned int as arg
2404
2405         * ToolbarBackend.C (read): adjust
2406         (add): delete version that takes func as a string.
2407         (getIton): take a FuncRequest as arg
2408
2409         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2410         action.
2411
2412         * MenuBackend.C (MenuItem): add a new construct that only takes a
2413         Kind, simplify the constructor use for submenus.
2414         (add): adjust
2415         (expandLastfiles): adjust
2416         (expandDocuments): adjust
2417         (expandFormats): adjust
2418         (expandFloatListInsert): adjust
2419         (expandFloatInsert): adjust
2420         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2421
2422         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2423         Remove class variables lyx_pseudo_map and lyx_arg_map
2424
2425         * LyXAction.C (searchActionArg): delete function
2426         (getPseudoAction): delete function
2427         (retrieveActionArg): delete function
2428         (LookupFunc): make it return kb_action, simplify.
2429         (getActionName): simplify
2430
2431         * factory.C (createInset): fix new bug
2432
2433 2003-09-19  Angus Leeming  <leeming@lyx.org>
2434
2435         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2436         masterFilename_ parameter in the include inset.
2437
2438         * factory.C (createInset): changes due to the changes to InsetInclude.
2439
2440 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2441
2442         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2443
2444 2003-09-18  Angus Leeming  <leeming@lyx.org>
2445
2446         * buffer.C:
2447         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2448         Inset::fillWithBibKeys.
2449         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2450
2451 2003-09-18  Angus Leeming  <leeming@lyx.org>
2452
2453         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2454         variables.
2455         (ctor): pass and store a 'Buffer const &'
2456         (buffer): new member function.
2457
2458         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2459         '*this' to the LaTeXFeatures ctor.
2460
2461 2003-09-18  Angus Leeming  <leeming@lyx.org>
2462
2463         * LColor.h:
2464         * lyxfont.C:
2465         * lyxfont.h:
2466         * lyxtext.h:
2467         * text.C: rename EnumLColor as LColor_color.
2468
2469 2003-09-18  Angus Leeming  <leeming@lyx.org>
2470
2471         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2472         remove #include "insets/insetbase.h" from cursor.h.
2473
2474 2003-09-18  Angus Leeming  <leeming@lyx.org>
2475
2476         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2477         InsetOld_code to remove #include "inset.h".
2478
2479         * iterators.C: add #include "insets/inset.h"
2480
2481 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2482
2483         * BufferView.C: remove more locking stuff that apparently doesn't
2484         do anything sensible.
2485
2486 2003-09-16  André Pönitz  <poenitz@gmx.net>
2487
2488         * paragraph.[Ch]:
2489         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2490           performance boost.
2491
2492 2003-09-16  Angus Leeming  <leeming@lyx.org>
2493
2494         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2495
2496         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2497         arg/return type.
2498
2499         * paragraph.h: remove #include "lyxfont.h". Forward declare
2500         LyXFont_size.
2501
2502 2003-09-16  Angus Leeming  <leeming@lyx.org>
2503
2504         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2505         of support/textutils.h.
2506         (isWord): move the contents of support/textutils.h's IsWordChar here.
2507
2508         * buffer.C:
2509         * lyxfind.C:
2510         * rowpainter.C:
2511         * text.C:
2512         * text2.C: add #include "paragraph.h".
2513
2514         * rowpainter.C:
2515         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2516
2517 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * main.C:
2520         * lyx_main.C:
2521         * lyx_cb.C:
2522         * buffer.C:
2523         * LaTeX.C: use namespace alias for lyx::support::os
2524
2525 2003-09-16  Angus Leeming  <leeming@lyx.org>
2526
2527         * bufferparams.C:
2528         * bufferview_funcs.C:
2529         * factory.C:
2530         * lyxfunc.C:
2531         * paragraph_pimpl.C:
2532         * rowpainter.C:
2533         * text.C: add #include "LColor.h".
2534
2535 2003-09-16  Angus Leeming  <leeming@lyx.org>
2536
2537         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2538         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2539         return LyXFont &.
2540         Store the FontBits::color variable as an int rather than as an
2541         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2542         file.
2543
2544         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2545         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2546         string calls together.
2547
2548         * lyxrc.C: add #include "LColor.h".
2549
2550 2003-09-15  Angus Leeming  <leeming@lyx.org>
2551
2552         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2553         a cow_ptr.
2554
2555 2003-09-15  Angus Leeming  <leeming@lyx.org>
2556
2557         * LColor.h: add an EnumLColor wrapper for LColor::color.
2558
2559         * lyxfont.[Ch] (color, setColor, realColor):
2560         * lyxtext.h, text.C (backgroundColor):
2561         pass EnumLColor args to/from the functions, rather than LColor::color
2562         ones.
2563
2564         * lyxfont.h:
2565         * lyxtext.h: forward declare EnumLColor.
2566
2567         * lyx_main.C: add #include "LColor.h".
2568
2569 2003-09-15  Angus Leeming  <leeming@lyx.org>
2570
2571         * .cvsignore: add lyx-gtk.
2572
2573 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * Chktex.C
2576         * LaTeX.C
2577         * LaTeXFeatures.C
2578         * ParagraphParameters.C
2579         * Spacing.C
2580         * buffer.C
2581         * bufferparams.C
2582         * bufferview_funcs.C
2583         * chset.C
2584         * counters.C
2585         * funcrequest.C
2586         * lyxfont.C
2587         * lyxgluelength.C
2588         * lyxlength.C
2589         * paragraph.C
2590         * paragraph_funcs.C
2591         * text3.C
2592         * vc-backend.C: remove usage of STRCONV
2593
2594 2003-09-15  Angus Leeming  <leeming@lyx.org>
2595
2596         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2597         explicitly define the color passed to the painter.
2598
2599 2003-09-15  Angus Leeming  <leeming@lyx.org>
2600
2601         * bufferparams.C (BufferParams): reorder member initializers to avoid
2602         compiler warning.
2603
2604 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2607         * text.C (updateRowPositions): remove an unusual nop
2608
2609 2003-09-12  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView_pimpl.C:
2612         * Bullet.C:
2613         * layout.h:
2614         * lyxfunc.C:
2615         * lyxlayout.[Ch]:
2616         * lyxtextclass.C:
2617         * rowpainter.C:
2618         * text.C:
2619         * text2.C:
2620         * Counters.[Ch]: finish the 'automatic counters' job
2621
2622 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2623
2624         * aspell.C: include <boost/assert.cpp> (compile fix)
2625
2626 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2627
2628         * boost.C (assertion_failed): use lyx::support::abort instead of
2629         assert.
2630
2631 2003-09-10  Angus Leeming  <leeming@lyx.org>
2632
2633         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2634         with their _fwd progeny.
2635
2636 2003-09-09  Angus Leeming  <leeming@lyx.org>
2637
2638         134 files throughtout the source tree: replace 'using namespace abc;'
2639         directives with the appropriate 'using abc::xyz;' declarations.
2640
2641 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2642
2643         * boost.C (emergencyCleanup): moved here from LAssert.c
2644         (assertion_failed): new function, called by BOOST_ASSERT
2645
2646         * several files: change Assert to BOOST_ASSERT
2647
2648 2003-09-09  Angus Leeming  <leeming@lyx.org>
2649
2650         * buffer.[Ch]: Add an Impl class and move Buffer's member
2651         variables into it. As a result move several header files out of
2652         buffer.h.
2653
2654         Add header files to lots of .C files all over the tree as a result.
2655
2656 2003-09-09  Angus Leeming  <leeming@lyx.org>
2657
2658         * buffer.[Ch]: make Buffer's member variables private. Add
2659         accessor functions.
2660
2661         Lots of changes all over the tree as a result.
2662
2663 2003-09-08  Angus Leeming  <leeming@lyx.org>
2664
2665         * graph.C: #include <config.h>.
2666
2667 2003-09-08  Angus Leeming  <leeming@lyx.org>
2668
2669         * BranchList.C:
2670         * BufferView.C:
2671         * BufferView_pimpl.C:
2672         * CutAndPaste.C:
2673         * DepTable.C:
2674         * LaTeX.C:
2675         * LaTeXFeatures.C:
2676         * LyXAction.C:
2677         * MenuBackend.C:
2678         * TextCache.C:
2679         * aspell.C:
2680         * buffer.C:
2681         * bufferlist.C:
2682         * changes.C:
2683         * chset.C:
2684         * converter.C:
2685         * counters.C:
2686         * debug.C:
2687         * graph.C:
2688         * ispell.C:
2689         * lyx_cb.C:
2690         * lyxfind.C:
2691         * lyxfunc.C:
2692         * lyxlex_pimpl.C:
2693         * lyxrc.C:
2694         * lyxrow.C:
2695         * paragraph.C:
2696         * rowpainter.C:
2697         * texrow.C:
2698         * text.C:
2699         * text2.C:
2700         * toc.C: remove redundant using directives.
2701
2702 2003-09-07  Angus Leeming  <leeming@lyx.org>
2703
2704         * LaTeXFeatures.h: remove #include "support/types.h".
2705         * ToolbarBackend.h: remove #include <algorithm>.
2706         * changes.h: remove #include <ctime>.
2707         * debug.h: remove #include <iosfwd>.
2708         * graph.h: remove #include "support/std_string.h".
2709         * lyx_main.h: remove #include <csignal>.
2710         * lyxlex_pimpl.h: remove #include <fstream>.
2711         * sgml.h: remove #include <algorithm>, <utility>.
2712         * toc.h: remove #include "support/std_ostream.h".
2713         Add #include <iosfwd>.
2714
2715 2003-09-07  Angus Leeming  <leeming@lyx.org>
2716
2717         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2718
2719         * converter.h: forward declare LatexRunParams.
2720         * encoding.h: remove #include "lyxrc.h".
2721         * lyxtext.h: remove #include "LColor.h".
2722         * lyxtextclass.h: remove #include "support/types.h".
2723         * trans.h: remove #include "tex-accent.h".
2724         * trans_mgr.h: remove #include "tex-accent.h".
2725         * insets/inset.h: remove #include "support/types.h", <vector>.
2726         * insets/insetcollapsable.h: remove #include "LColor.h".
2727         * insets/insetinclude.h: remove #include "dimension.h".
2728         * insets/insetlatexaccent.h: remove #include "dimension.h".
2729         * insets/insetoptarg.h:: remove #include "insettext.h".
2730         * insets/insettext.h: remove #include "dimension.h",
2731         <boost/shared_ptr.hpp>
2732
2733         * insets/renderers.h: add #include "dimension.h".
2734         * insets/updatableinset.h: add #include "support/types.h".
2735
2736         * many .C files: Associated changes.
2737
2738 2003-09-06  Angus Leeming  <leeming@lyx.org>
2739
2740         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2741         one, inside testInvariant.
2742
2743         * PrinterParams.C: new file.
2744         * PrinterParams.[Ch]: move the function bodies out of line.
2745
2746 2003-09-06  Angus Leeming  <leeming@lyx.org>
2747
2748         * ParagraphParameters.h: forward declare ParameterStruct rather than
2749         including its header file.
2750         (depth): moved out-of-line.
2751
2752 2003-09-06  Angus Leeming  <leeming@lyx.org>
2753
2754         * BufferView_pimpl.h:
2755         * kbmap.h:
2756         * kbsequence.h:
2757         * lyxfunc.h: forward declare LyXKeySym rather than
2758         #include "frontends/LyXKeySym.h".
2759
2760         * BufferView_pimpl.C:
2761         * kbmap.C:
2762         * kbsequence.C:
2763         * lyxfunc.C: associated changes.
2764
2765 2003-09-06  Angus Leeming  <leeming@lyx.org>
2766
2767         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2768         As a result, can remove the #include "insets/inset.h" from BufferView.h
2769
2770 2003-09-06  Angus Leeming  <leeming@lyx.org>
2771
2772         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2773         As a result, can remove the #include "insets/inset.h" from BufferView.h
2774
2775 2003-09-06  Angus Leeming  <leeming@lyx.org>
2776
2777         * buffer_funcs.C:
2778         * buffer.h:
2779         * bufferlist.C:
2780         * BufferView.C:
2781         * bufferview_funcs.C:
2782         * BufferView_pimpl.C:
2783         * CutAndPaste.C:
2784         * lyx_cb.C:
2785         * lyxfunc.C:
2786         * paragraph.h:
2787         * ParagraphParameters.C:
2788         * tabular.C:
2789         * text3.C:
2790         * toc.C:
2791         * undo_funcs.C:
2792         * frontends/controllers/ControlDocument.C:
2793         * insets/insetcaption.C: rearrange the #includes into some sort of
2794         coherent order.
2795
2796         * buffer.h: remove #includes ErrorList.h, undo.h
2797
2798 2003-09-06  Angus Leeming  <leeming@lyx.org>
2799
2800         * support/types.h: add a 'depth_type' typedef, used to store the
2801         nesting depth of a paragraph.
2802
2803         * paragraph.h:
2804         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2805         defining explicitly.
2806
2807         * buffer.h:
2808         * paragraph_funcs.h:
2809         * ParagraphParameters.h:
2810         * sgml.h: use lyx::depth_type rather than Paragraph or
2811         ParameterStruct's depth_type.
2812
2813         * buffer.h
2814         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2815
2816         * BufferView.C:
2817         * BufferView_pimpl.C:
2818         * CutAndPaste.C:
2819         * ParagraphParameters.C:
2820         * buffer_funcs.C:
2821         * bufferlist.C:
2822         * bufferview_funcs.C:
2823         * lyx_cb.C:
2824         * lyxfunc.C:
2825         * tabular.C:
2826         * text3.C:
2827         * toc.C:
2828         * undo_funcs.C:
2829         * frontends/LyXView.C:
2830         * frontends/controllers/ControlDocument.C:
2831         * frontends/controllers/ControlErrorList.C:
2832         * insets/insetbibitem.C:
2833         * insets/insetbranch.C:
2834         * insets/insetcaption.C:
2835         * insets/insetcollapsable.C:
2836         * insets/insetenv.C:
2837         * insets/insetert.C:
2838         * insets/insetfloat.C:
2839         * insets/insetfoot.C:
2840         * insets/insetfootlike.C:
2841         * insets/insetnewline.C:
2842         * insets/insetquotes.C:
2843         * insets/insettabular.C:
2844         * insets/insettext.C:
2845         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2846
2847         * frontends/controllers/ControlChanges.C: #include "changes.h".
2848
2849 2003-09-06  Angus Leeming  <leeming@lyx.org>
2850
2851         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2852         than #including paragraph.h.
2853
2854         * ParagraphList.h:
2855         * RowList.h: deleted. Superfluous.
2856
2857         * CutAndPaste.h:
2858         * iterators.h:
2859         * lyxcursor.h:
2860         * lyxtext.h:
2861         * text_funcs.h:
2862         * undo.h:
2863         * undo_funcs.h:
2864         * insets/inset.h:
2865         * insets/insettext.h: use ParagraphList_fwd.h rather than
2866         ParagraphList.h.
2867
2868         * paragraph.h: don't forward declare ParagraphList.
2869
2870         * buffer.h:
2871         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2872         rather than ParagraphList.h. paragraph.h is still needed for the
2873         Paragraph::depth_type parameters.
2874
2875         * textcursor.h: enable it to compile stand-alone in light of the
2876         above changes.
2877
2878         * bufferview_funcs.C:
2879         * iterators.C:
2880         * lyxfunc.C:
2881         * lyxrow_funcs.C:
2882         * paragraph.C:
2883         * rowpainter.C:
2884         * text.C:
2885         * text2.C:
2886         * text3.C:
2887         * text_funcs.C:
2888         * textcursor.C:
2889         * undo.C:
2890         * frontends/controllers/ControlParagraph.C:
2891         * frontends/controllers/ControlTabular.C:
2892         * insets/insetmarginal.C:
2893         * insets/insetminipage.C:
2894         * insets/insetnote.C:
2895         * insets/insetoptarg.C: add header files needed to compile again.
2896
2897 2003-09-06  Angus Leeming  <leeming@lyx.org>
2898
2899         * RowList_fwd.h: new file, forward-declaring Row rather than
2900         #including lyxrow.h.
2901
2902         * lyxrow_funcs.h:
2903         * lyxtext.h:
2904         * paragraph.h:
2905         * insets/insettext.h: use it instead of RowList.h
2906
2907         * bufferview_funcs.C:
2908         * lyxfunc.C:
2909         * lyxrow_funcs.C:
2910         * paragraph.C:
2911         * rowpainter.C:
2912         * text.C:
2913         * text2.C:
2914         * text3.C: #include "RowList.h".
2915
2916 2003-09-05  Angus Leeming  <leeming@lyx.org>
2917
2918         * factory.C (createInset):
2919         * vspace.C (c-tor): replace sscanf call with an istringstream.
2920         * ispell.C: re-add missing HP/UX headers.
2921         * lyxserver.C: re-add missing  os2 headers.
2922
2923 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2924
2925         * BranchList.C:
2926         * graph.C:
2927         * ispell.C:
2928         * lastfiles.C:
2929         * lyx_cb.C:
2930         * lyxserver.C:
2931         * texrow.C:
2932         * text3.C: re-add missing system headers, needed for 2.95.2.
2933
2934 2003-09-05  Angus Leeming  <leeming@lyx.org>
2935
2936         Changes most place everywhere due to the removal of using directives
2937         from support/std_sstream.h.
2938
2939 2003-09-05  Angus Leeming  <leeming@lyx.org>
2940
2941         Replace LString.h with support/std_string.h,
2942         Lsstream.h with support/std_sstream.h,
2943         support/LIstream.h with support/std_istream.h,
2944         support/LOstream.h with support/std_ostream.h.
2945
2946         Changes resulting throughout the tree.
2947
2948 2003-09-05  Angus Leeming  <leeming@lyx.org>
2949
2950         * sgml.h: ensure that the header file can be compiled stand-alone.
2951         * *.C: strip out redundant #includes. (320 in total.)
2952
2953 2003-09-04  Angus Leeming  <leeming@lyx.org>
2954
2955         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2956         here (from getPackages).
2957
2958         * debug.[Ch]: add a new EXTERNAL tag.
2959
2960 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2961
2962         * text2.C (cursorEnd): simplify
2963         (setCursor): adjust
2964         (getColumnNearX): adjust
2965
2966         * text.C (computeBidiTables): adjust
2967         (fill): adjust
2968
2969         * rowpainter.C (paintChars): adjust
2970         (paintSelection): adjust
2971         (paintChangeBar): adjust
2972         (paintText): adjust
2973
2974         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2975         lastPos instead.
2976         (numberOfSeparators): adjust
2977
2978 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2979
2980         * LyXAction.C:
2981         * box.[Ch]:
2982         * lfuns.h:
2983         * lyxfunc.C:
2984         * text3.C: Restricts the mouse click functionality
2985         of insets like bibtex, include, toc and floatlist to the visible
2986         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2987         up the dialogs. Cursor has to be in front of the inset (i.e.
2988         start of row) for this to function.
2989
2990 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2991
2992         * bufferview_funcs.C (currentState): output row information
2993
2994 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2995
2996         * bufferview_funcs.C (currentState): output paragraph position
2997
2998 2003-09-04  Angus Leeming  <leeming@lyx.org>
2999
3000         * FloatList.h: move out #include "Floating.h".
3001         * LaTeX.h: move out #include "DepTable.h".
3002         * LyXAction.h: move out #include "funcrequest.h".
3003         * buffer.h: move out #include "author.h", "iterators.h".
3004         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3005         * lyx_main.h: move out #include "errorlist.h".
3006         * lyxfunc.h: move out #include "FuncStatus.h".
3007         * lyxtext: move out #include "lyxcursor.h".
3008         * paragraph_pimpl.h: move out #include "counters.h".
3009
3010 2003-09-03  Angus Leeming  <leeming@lyx.org>
3011
3012         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3013         preamble_snippets list, enabling us to add snippets to the preamble
3014         only if the snippet was not there already.
3015
3016 2003-09-04  Angus Leeming  <leeming@lyx.org>
3017
3018         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3019
3020 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3023         update
3024
3025 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * BranchList.C: point fix, earlier forgotten
3028
3029 2003-09-02  Angus Leeming  <leeming@lyx.org>
3030
3031         * box.C (contains): renamed from 'contained' after a fantastic
3032         amount of hot air.
3033
3034 2003-09-02  John Levon  <levon@movementarian.org>
3035
3036         * BufferView.C:
3037         * lyxcursor.h:
3038         * lyxcursor.C:
3039         * lyxfunc.C:
3040         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3041
3042 2003-09-02  John Levon  <levon@movementarian.org>
3043
3044         * text2.C: simplification of cursorEnd(), including partial
3045         fix for bug 1376
3046
3047 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * buffer.C (readFile): add a space
3050
3051 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3054
3055 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * buffer.C (readFile): new function, take a filename and a
3058         ParagraphList::iterator
3059         (readFile): adjust
3060         (readFile): adjust, make it private. don't use setStream, make
3061         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3062         always contain the filename.
3063
3064         * BufferView.C (insertLyXFile): simplify and make it work for
3065         gzipped files.
3066
3067 2003-08-30  John Levon  <levon@movementarian.org>
3068
3069         * Makefile.am: fix dist (from Kayvan)
3070
3071 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * most files: change to use const Buffer refs
3074
3075 2003-08-27  André Pönitz  <poenitz@gmx.net>
3076
3077         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3078         on top of ownerPar().
3079
3080 2003-08-27  John Levon  <levon@movementarian.org>
3081
3082         * funcrequest.C: properly initialise POD members
3083
3084 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3085
3086         * lyxtext.h (top_y): move top_y from here
3087         * text.C:
3088         * text2.C:
3089         * text3.C:
3090         * BufferView.[Ch]:
3091         * BufferView_pimpl.[Ch]: to here
3092         * frontends/screen.C:
3093         * insets/insettabular.C:
3094         * insets/insettext.C: adjust
3095         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3096
3097 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * BufferView.[Ch]:
3100         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3101
3102 2003-08-26  André Pönitz  <poenitz@gmx.net>
3103
3104         * paragraph_func.[Ch] (outerPar): new function
3105
3106         * paragraph.C:
3107         * paragraph_funcs.C:
3108         * paragraph_funcs.h:
3109         * paragraph_pimpl.C:
3110         * text2.C: remove Inset::par_owner
3111
3112 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3113
3114         * lyxrow_funcs.C:
3115         * lyxtext.h:
3116         * text.C:
3117         * text2.C: eliminates the needFullRow/display() stuff
3118         altogether, putting the logic in metrics/draw in the insets.
3119
3120 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3121
3122         * text2.C (redoParagraphInternal, redoParagraphs):
3123         * text.C (redoParagraph): add a call to updateRowPositions at the
3124         end of each 'metrics-like' call. Remove all others.
3125         (getRow): remove the 'y-computing' version.
3126         (getRowNearY): do not compute nor return the real y. Solve the
3127         'y < 0' problem and simplify.
3128
3129 2003-08-22  Angus Leeming  <leeming@lyx.org>
3130
3131         * *.[Ch]: clean-up of licence and author blurbs.
3132         Also move config.h out of a few .h files and into a few .C files.
3133
3134 2003-08-22  André Pönitz  <poenitz@gmx.net>
3135
3136         * lyxrow.[Ch]: add x_ and *fill_ members
3137
3138         * lyxtext.h:
3139         * text.C:
3140         * rowpainter.C:
3141         * text2.C: adjust/remove prepareToPrint() calls
3142
3143 2003-08-22  André Pönitz  <poenitz@gmx.net>
3144
3145         * lyxrow.[Ch]: add  end_ member
3146
3147         * lyxrow_funcs.C: use LyXRow::end_
3148
3149         * lyxtext.h (singleWidth): add LyXFont parameter
3150
3151         * rowpainter.C:
3152         * text2.C: adjust LyXText::singleWidth() calls
3153
3154         * text.C (redoParagraph): simplify row breaking logic
3155
3156
3157 2003-08-19  André Pönitz  <poenitz@gmx.net>
3158
3159         * funcrequest.C: initialize button_ member
3160
3161         * text3.C:
3162         * rowpainter.[Ch]: interface consolidation
3163
3164 2003-08-18  André Pönitz  <poenitz@gmx.net>
3165
3166         * BufferView.C:
3167         * BufferView_pimpl.C:
3168         * lyxfind.C:
3169         * paragraph_funcs.C:
3170         * rowpainter.C:
3171         * text3.C: remove LyXScreen::draw() and fitCursor calls
3172
3173         * BranchList.h: remove spurious semicolons
3174
3175         * MenuBackend.C: fix branchlist related crash
3176
3177 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3178
3179         * BranchList.[Ch]:
3180         * InsetList.[Ch]:
3181         * LColor.[Ch]:
3182         * LyXAction.C:
3183         * Makefile.am:
3184         * MenuBackend.[Ch]:
3185         * bufferparams.[Ch]:
3186         * factory.C:
3187         * lfuns.h:
3188         * lyxfunc.C:
3189         * text3.C: implements the 'branch inset'
3190         idea. This allows the output of various versions of a document
3191         from a single source version, selectively outputing or suppressing
3192         output of parts of the text.
3193         This implementation contains a 'branch list editor' in a separate
3194         tab of the document settings dialog. Branches are user definable
3195         and have a "display colour" to distinguish them on-screen.
3196
3197         ColorHandler was somewhat cleaned up.
3198         (1) make possible a dynamically growing LColor list by allowing
3199         the graphic context cache to grow along (vector);
3200         (2) eliminate an IMHO unnecessary step in colour allocation.
3201
3202 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3203
3204         * BufferView_pimpl.C: compile fix
3205
3206 2003-08-15  André Pönitz  <poenitz@gmx.net>
3207
3208         * rowpainter.C: remove extra metrics calls
3209
3210         * lyxtext.h: merge the two constructors into a single one,
3211           pass reference to owner's par list
3212
3213         * BufferView_pimpl.C:
3214         * text.C:
3215         * text2.C: adjust
3216
3217 2003-08-15  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxrow_funcs.[Ch]:
3220         * lyxtext.h:
3221         * paragraph.h:
3222         * paragraph_funcs.C:
3223         * rowpainter.C:
3224         * text.C:
3225         * text2.C:
3226         * text3.C:
3227         * text_funcs.C: split LyXText::rowlist_ into individual
3228         Paragraph::rows_ chunks
3229
3230         * BufferView.[Ch]:
3231         * BufferView_pimpl.[Ch]:
3232         * lyxfind.C:
3233         * lyxtext.h:
3234         * text3.C: remove toggleSelection()
3235
3236 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3237
3238         * bufferlist.C: beautify two alerts (shorter text of buttons)
3239         * buffer.C: Remove redundant ' ' from message
3240         * tabular.h:
3241         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3242         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3243         rename VALIGN_CENTER to VALIGN_MIDDLE
3244
3245 2003-08-11  André Pönitz  <poenitz@gmx.net>
3246
3247         * lyxtext.h (getPar):
3248         * text.C: new function
3249
3250 2003-08-11  André Pönitz  <poenitz@gmx.net>
3251
3252         * Makefile.am:
3253         * tracer.[Ch]: remove unneeded files
3254
3255         * InsetList.[Ch]: remove resizeInsetsLyXText()
3256
3257         * lyxtext.h:
3258         * text.C:
3259         * text2.C:
3260         * text3.C: merge insertParagraphs() and appendParagraph()
3261         remove breakAgain(), update()
3262
3263         * BufferView_pimpl.[Ch]:
3264         * bufferview_funcs.[Ch]:
3265         * lyxfunc.C:
3266         * paragraph.[Ch]:
3267         * rowpainter.C:
3268         * tabular.C: adjust after text & InsetList changes.
3269
3270 2003-08-08  André Pönitz  <poenitz@gmx.net>
3271
3272         * text.C (insertChar, backspace): replace rowlist fiddling
3273         with rebreak of full par
3274
3275         * lyxtext.h:
3276         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3277         checkParagraph, updateInset): removed
3278
3279 2003-08-07  André Pönitz  <poenitz@gmx.net>
3280
3281         * paragraph.C:
3282         * text3.C: merge some LFUN handlers, remove dead code
3283
3284 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285
3286         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3287
3288 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * text2.C (DEPM): fix part of bug 1255 and 1256
3291
3292 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3293
3294         * BufferView_pimpl.C (workAreaDispatch): change to use
3295         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3296         that are no mouse related.
3297
3298 2003-08-05  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView.[Ch]:
3301         * BufferView_pimpl.[Ch]:
3302         * bufferview_funcs.C:
3303         * text2.C:
3304         * text3.C: rip out "deep update"
3305
3306         * textcursor.[Ch] (last_sel_cursor): remove unused member
3307
3308 2003-08-04  André Pönitz  <poenitz@gmx.net>
3309
3310         * BufferView.[Ch]:
3311         * BufferView_pimpl.[Ch]:
3312         * ParagraphParameters.C:
3313         * bufferview_funcs.C:
3314         * lyx_cb.C:
3315         * lyxfind.C:
3316         * lyxfunc.C:
3317         * text.C:
3318         * text2.C:
3319         * text3.C: replace "complicated" BufferView::update(...) calls with
3320         simpler ones.
3321
3322         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3323
3324 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3325
3326         * Makefile.am (lyx_SOURCES): add paper.h
3327
3328 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3329
3330         * Makefile.am: move things around so that both lyx-qt and
3331         lyx-xforms can be built (according to --with-frontend). Then lyx
3332         is a symbolic link to lyx-[firstfrontend]
3333
3334 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3335
3336         * Always use std::endl with lyxerr
3337
3338 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3339
3340         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3341
3342 2003-08-01  André Pönitz  <poenitz@gmx.net>
3343
3344         * BufferView.[Ch]:
3345         * BufferView_pimpl.[Ch]:
3346         * lyxfunc.C:
3347         * text3.C: merge BufferView::repaint() and BufferView::update()
3348
3349 2003-08-01  José Matos  <jamatos@lyx.org>
3350
3351         * buffer.[Ch]: file_format is no longer a buffer data element.
3352
3353 2003-08-01  André Pönitz  <poenitz@gmx.net>
3354
3355         * BufferView.C:
3356         * lyxtext.h:
3357         * text.C:
3358         * text2.C: make redoParagraph more independent of current cursor
3359
3360         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3361         * text.C:
3362         * text2.C: remove unneeded members
3363
3364 2003-07-30  André Pönitz  <poenitz@gmx.net>
3365
3366         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3367
3368         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3369           create a single function...
3370
3371         * paragraph_funcs.C (moveItem): ... here.
3372
3373         * text.C:
3374           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3375
3376 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3377
3378         * LColor.[Ch]: Add comment and greyedout logical colors.
3379
3380 2003-07-30  André Pönitz  <poenitz@gmx.net>
3381
3382         * tabular.C: don't use Assert too heavily. This crashes where it
3383           shouldn't
3384
3385 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3388         is disabled (bug 1232)
3389
3390 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * factory.C: limited 'arg' scope
3393
3394 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3395
3396         * factory.C: fixed Note submenu issues
3397
3398 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3399
3400         * factory.C: submenu for Note/Comment/Greyedout
3401
3402 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * lyx_main.C (LyX):
3405         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3406
3407 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3408
3409         * LaTeXFeatures.C:
3410         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3411         greyedout. Patch provided by Jürgen Spitzmüller.
3412
3413 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3414
3415         * kbmap.C (read): fix error message when reading bind files
3416
3417 2003-07-29  Angus Leeming  <leeming@lyx.org>
3418
3419         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3420         certainly does not do what it purports to do. I am doing it, and
3421         us, a favour by killing it.
3422
3423 2003-07-28  José Matos  <jamatos@lyx.org>
3424
3425         * buffer.C (readBody, do_writeFile):
3426         * paragraph.C(readParagraph): \end_document replaces \the_end.
3427
3428 2003-07-29  André Pönitz  <poenitz@gmx.net>
3429
3430         * BufferView.[Ch]:
3431         * BufferView_pimpl.[Ch]:
3432         * lyxfunc.C:
3433         * text2.C:
3434         * text3.C:
3435         * textcursor.[Ch]: remove toggleToggle & Co
3436
3437 2003-07-28  José Matos  <jamatos@fep.up.pt>
3438
3439         * buffer.C (readParagraph):
3440         * params_func (readParToken, readParagraph):
3441         * paragraph.C (write): \layout -> \begin_layout.
3442
3443 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * lyxlex_pimpl.C (setFile): clean up slightly.
3446
3447         * bufferparams.h: add compressed var
3448
3449         * buffer_funcs.C (readFile): adjust for LyXLex change
3450         (newFile): ditto + simplify
3451
3452         * buffer.C (writeFile): handle writing of compressed files
3453
3454         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3455         Check if the file is compressed and set a bufferparm if so.
3456
3457         * Makefile.am (lyx_LDADD): remove explicit -lz
3458
3459 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3460
3461         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3462         makeDocBookFile): put the real LyX version in the first line of
3463         the file
3464
3465         * version.h:
3466         * version.C.in: remove lyx_docversion
3467
3468         * tabular.C (write_attribute): add a template-based version to
3469         write enums properly
3470
3471 2003-07-28  André Pönitz  <poenitz@gmx.net>
3472
3473         * lyxtext.h:
3474         * text.C:
3475         * text2.C:
3476         * text3.C: use doubles again for x-coordinates. They are needed.
3477
3478 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * messages.C (getLocaleDir): use lyx_localedir()
3481
3482         * lyxlex_pimpl.C (setFile): compress stuff
3483
3484         * buffer.C (writeFile): add some compression stuff
3485         (do_writeFile): new func, dont call expliti close... will this
3486         breake anything?
3487
3488         * Makefile.am (lyx_LDADD): add -lz
3489
3490 2003-07-28  José Matos  <jamatos@fep.up.pt>
3491
3492         * buffer.C: increment file format.
3493         * paragraph_funcs (readParagraph, readParToken):
3494         * paragraph.C (readParagraph): add \end_layout.
3495
3496 2003-07-27  Angus Leeming  <leeming@lyx.org>
3497
3498         * Makefile.am: remove special casing for configure-time setting of
3499         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3500
3501         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3502         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3503
3504 2003-07-26  André Pönitz  <poenitz@gmx.net>
3505
3506         * paragraph_func.[Ch]:
3507         * paragraph.C (realizeFont): inline it whereever it is used
3508
3509         * rowpainter.C:
3510         * text.C:
3511         * text2.C:
3512         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3513
3514
3515 2003-07-26  André Pönitz  <poenitz@gmx.net>
3516
3517         *       lyxtext.h:
3518         * text.C:
3519         * text2.C: get rid of LyXText::need_break_row
3520
3521 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * toc.[Ch]: put namespace toc inside namespace lyx
3524
3525         * MenuBackend.C (expandToc2): adjust for lyx::toc
3526         (expandToc): ditto
3527
3528         * lyxfunc.C (dispatch): adjust for lyx::find
3529
3530         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3531         lyx::find instead. Reorganize a bit.
3532         (LyXReplace): rename to replace
3533         (LyXFind): rename to find
3534
3535         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3536         (dispatch): ditto
3537
3538 2003-07-26  André Pönitz  <poenitz@gmx.net>
3539
3540         * text.C (setHeightOfRow): restrict scope of temporary variable
3541
3542         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3543           code (never has been used?)
3544
3545 2003-07-27  Asger Alstrup  <alstrup@local>
3546
3547         * text.C (fill): Optimise algorithm to exploit that we can reuse
3548         the LyXFont for many characters.
3549         (setHeightOfRow): Same thing.
3550         (rowBreakPoint): Same thing.
3551
3552 2003-07-26  Asger Alstrup  <alstrup@local>
3553
3554         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3555
3556         * text.C (singleWidth): Spurious font copying in hot-spot
3557         singleWidth avoided. Reorder tests for arabic for efficiency.
3558
3559         * text.C (fill): handle empty paragraphs better.
3560
3561 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3562
3563         * ispell.C:
3564         * encoding.h: add includes
3565
3566         * lyxrc.C: remove reading of bind files
3567
3568         * lyx_main.C (init): setup bindings and menus only if we have a
3569         gui.
3570
3571         * kbmap.C (read): new method. Do the actual reading of bind
3572         files.
3573
3574         * converter.C (dvipdfm_options):
3575         * bufferparams.C:
3576         * lyxrc.C (read):
3577         (output): adapt PAPER_* enums.
3578
3579         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3580
3581         * bufferparams.h: remove paper-related enums from there
3582
3583         * paper.h: New file. A trivial header file to hold paper-related
3584         enums. It should later expand to contain many paper-related
3585         horrors access.
3586
3587         * lyxrc.C: declare extern displayTranslator
3588
3589 2003-07-27  José Matos  <jamatos@fep.up.pt>
3590
3591         * tabular.[Ch] (linuxdoc): add support for tables and figures
3592         (linuxdoc).
3593
3594 2003-07-27  José Matos  <jamatos@fep.up.pt>
3595
3596         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3597         consistency in both functions.
3598         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3599
3600 2003-07-26  Asger Alstrup  <alstrup@local>
3601
3602         * rowpainter.C (paintRows): Change algorithm to work directly on
3603         the insets rather than asking every character in the document
3604         whether its an inset.
3605
3606 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * buffer.C (openFileWrite): factorize some code
3609
3610 2003-07-26  Angus Leeming  <leeming@lyx.org>
3611
3612         * lyx_cb.C:
3613         * lyx_main.[Ch]: replace occurances of system_tempdir with
3614         os::getTmpDir().
3615
3616 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * rename Inset to InsetOld
3619
3620 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3621
3622         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3623         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3624         which I think is a bit clearer. EDIT is gone, since it was
3625         premature optimisation, and broken for mathed anyway.
3626         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3627         with cursor positioning in insets as well (math insets still do not
3628         work, but that's a different story anyway.) It mysteriously
3629         crashes sometimes with undo in the first paragraph, but I'm fairly
3630         confident that this is a compiler bug.
3631
3632 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * paragraph.C (Paragraph): adjust for new clone return type
3635         (operator==): ditto
3636         (copyIntoMinibuffer): ditto
3637
3638 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3639
3640         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3641         by not having a special case, and always doing a full rebreak of
3642         the document after undo.
3643
3644 2003-07-23  Angus Leeming  <leeming@lyx.org>
3645
3646         * factory.C (createInset): InsetExternal::setParams now takes a
3647         Buffer const * arg.
3648
3649 2003-07-23  Angus Leeming  <leeming@lyx.org>
3650
3651         * factory.C (createInset): changed interface to the external and
3652         graphics mailers' string2params functions.
3653
3654 2003-07-23  Angus Leeming  <leeming@lyx.org>
3655
3656         * factory.C (createInset): pass a
3657         Buffer const * parameter to InsetExternalMailer's string2params.
3658
3659 2003-07-22  John Levon  <levon@movementarian.org>
3660
3661         * Thesaurus.h: include the right aiksaurus header
3662
3663 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3664
3665         * MenuBackend.C (expand): check menu shortcuts unconditionally
3666
3667 2003-07-21  Angus Leeming  <leeming@lyx.org>
3668
3669         * factory.C (createInset): pass a
3670         buffer_path parameter to InsetGraphicsMailer's string2params.
3671
3672 2003-07-21  Angus Leeming  <leeming@lyx.org>
3673
3674         * BufferView_pimpl.C (buffer):
3675         * buffer.C (d-tor):
3676         * lyx_main.C (LyX):
3677         * lyxfunc.C (dispatch):
3678         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3679         rather than the grfx shortcut.
3680
3681 2003-07-21  André Pönitz  <poenitz@gmx.net>
3682
3683         * rowpainter.C: remove unused variables
3684
3685         * tabular_funcs.C:
3686         * tabular_funcs.h: move to tabular.C
3687         * Makefile.am: adjust
3688
3689         * tabular.[Ch]: basic optical cleaning
3690
3691         * author.h: pass references, not values
3692
3693 2003-07-18  André Pönitz  <poenitz@gmx.net>
3694
3695         * lyxtext.h:
3696         * metricsinfo.C:
3697         * metricsinfo.h:
3698         * rowpainter.C:
3699         * text.C:
3700         * text2.C:
3701         * text3.C: two-phase drawing for InsetText and InsetTabular
3702         some float -> int changes.
3703
3704 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * lyx_main.C: fix the fix
3707
3708 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3709
3710         * lyx_main.C: fix a crash in batch mode if no files specified
3711         * converter.C: ws
3712
3713 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * format.[Ch] (papersize): moved to BufferParams
3716         * converter.[Ch] (dvips_options): moved to BufferParams
3717         (dvipdfm_options): moved to anon namespace
3718         * bufferparams.[Ch]: added above functions.
3719
3720 2003-07-17  André Pönitz  <poenitz@gmx.net>
3721
3722         * lyxtext.h:
3723         * rowpainter.C:
3724         * text2.C: don't call inset->update() anymore
3725
3726         * metricsinfo.[Ch]: add convenience constructor
3727
3728 2003-07-16  André Pönitz  <poenitz@gmx.net>
3729
3730         * lyxcursor.[Ch]:
3731         * lyxfunc.[Ch]:
3732         * text.C:
3733         * text2.C: replace the LyXCursor::irow_ member with
3734          on-demand computation of the value
3735
3736 2003-07-16  John Levon  <levon@movementarian.org>
3737
3738         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3739
3740 2003-07-15  André Pönitz  <poenitz@gmx.net>
3741
3742         * text.C:
3743         * text2.C: remove no more needed refresh_row
3744
3745 2003-07-15  André Pönitz  <poenitz@gmx.net>
3746
3747         * lyxtext.h:
3748         * rowpainter.C:
3749         * text2.C:
3750         * text3.C: refresh_status tristate -> need_update bool
3751
3752 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * lyxtext.h (init): remove reinit argument (act as if always true)
3755         * text2.C: adjust to that
3756
3757 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3758
3759         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3760         * text3.C: use it to delete selections in some cases
3761         (bugs 441, 673, 702, 954).
3762
3763 2003-07-14  André Pönitz  <poenitz@gmx.net>
3764
3765         * rowpainter.[Ch]: reduce interface
3766
3767 2003-07-14  André Pönitz  <poenitz@gmx.net>
3768
3769         * BufferView_pimpl.C:
3770         * text2.C: adjust after removing unused BufferView * argument
3771
3772 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3773
3774         * text2.C (init): fix a crash fired on resize
3775
3776 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * buffer.[Ch]: added new closing signal
3779         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3780         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3781         BufferView::Pimpl via the closing the signal
3782
3783 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3784
3785         * buffer.[Ch]: take out all bv-related from buffer
3786         * BufferView.C:
3787         * BufferView_pimpl.[Ch]: connect to new signals
3788         * CutAndPaste.C: removed useless asserts
3789         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3790         * lyxvc.[Ch]:
3791         * vc-backend.[Ch]:
3792         * lyxfunc.C: moved view-related funciontality from vc here
3793         * paragraph.C: removed outdated comments
3794         * text.C: ws
3795
3796 2003-07-10  André Pönitz  <poenitz@gmx.net>
3797
3798         * BufferView_pimpl.C:
3799         * tabular.h:
3800         * tabular_funcs.C:
3801         * text.C:
3802         * text2.C: remove InsetText::InnerCache, clean up consequences
3803
3804 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3805
3806         * ispell.C: fix two typos in error messages
3807
3808 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3809
3810         * Extend Note inset to other forms of annotation like Comment
3811         and Greyedout. Right button click gives dialog.
3812
3813         Files modified or added (+):
3814
3815         * insetnote.[Ch]
3816         * FormNote.[Ch]      +
3817         * ControlNote.[Ch]   +
3818         * form_note.fd       +
3819         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3820         frontends/controllers
3821         * xforms/Dialogs.C
3822         * factory.C
3823
3824 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3825
3826         * aspell.C: add missing namespace lyx::support
3827
3828 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3829
3830         * BufferView.[Ch] (newFile): Add
3831         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3832         * LaTeX.[Ch] (message): added this signal and use it
3833         * buffer.[Ch] (busy, message): added these signals and use them
3834         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3835         * converter.C:
3836         * exporter.C:
3837         * format.C:
3838         * importer.C: use buffer signals instead of direct bv calling
3839         * lyx_cb.[Ch] (ShowMessage): removed
3840         * lyx_main.C:
3841         * lyxfunc.C:
3842         * paragraph_funcs.C:
3843         * text2.C: use buffer signals
3844
3845 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * introduce namespace lyx::graphics
3848
3849 2003-07-02  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3852
3853 2003-07-01  André Pönitz  <poenitz@gmx.net>
3854
3855         * text.C:
3856         * text2.C:
3857         * text3.C:
3858         * text_funcs.[Ch]:
3859         * textcursor.h:
3860         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3861           text*.C to text_func.C
3862
3863 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * introduce namespace lyx::support
3866
3867 2003-06-30  André Pönitz  <poenitz@gmx.net>
3868
3869         * Chktex.C:
3870         * funcrequest.C:
3871         * lyxtext.h:
3872         * text.C: re-enable --with-included-string
3873
3874 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3875
3876         * textcursor.C: add <config.h>
3877
3878         * text.C (getWord): remove const from word_location arg
3879
3880         * lyxvc.C (getLogFile): fix const type order
3881
3882         * lyxtext.h: remove const from word_location arg, add arg name
3883
3884         * lyxlayout.h: currect type on labeltype.
3885
3886         * importer.C: correct \file
3887
3888         * converter.C (intToFormat): use std:: on ret val, ws changes
3889
3890         * bufferlist.h: correct \file
3891
3892         * buffer.C (makeLinuxDocFile): fix const type order
3893         (makeDocBookFile): ditto
3894         (fillWithBibKeys): use std:: on stdlib args.
3895
3896         * CutAndPaste.C: fix authors.
3897         (availableSelections): use std:: on return vector
3898
3899 2003-06-27  André Pönitz  <poenitz@gmx.net>
3900
3901         * BufferView_pimpl.C:
3902         * bufferview_funcs.C:
3903         * lyxcursor.C:
3904         * lyxcursor.h:
3905         * lyxfunc.C:
3906         * lyxtext.h:
3907         * rowpainter.C:
3908         * text.C:
3909         * text2.C:
3910         * text3.C: remove LyXCursor::row_ member
3911
3912         * lyxtext.h:
3913         * text.C: rename fullRebreak() to partialRebreak() and implement
3914           a fullRebreak() that really bereks fully
3915
3916         * textcursor.h: new struct for cursor-related data
3917
3918 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * lyx_main.C (LyX): get full path of document loaded on the
3921         command line
3922
3923 2003-06-26  André Pönitz  <poenitz@gmx.net>
3924
3925         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3926           remove unused/broken operator>,<,>=.
3927
3928         *       text.C: remove only use of broken operator<= in an Assert().
3929
3930 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3933         moved errorlist_.clear to showErrorList
3934
3935 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * converter.C (scanLog, runLaTeX):
3938         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3939         move the bv->showErrorList call to the callers
3940         * lyxfunc.C: i.e. here...
3941         * text2.C: and here
3942         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3943         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3944         namespace, the second to...
3945         * buffer_funcs (BufferFormat, parseErrors): added
3946         * errorlist.C (ErrorList(TeXErrors const &)): removed
3947
3948 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3949
3950         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3951
3952 2003-06-24  "Garst R. Reese" <reese@isn.net>
3953
3954         * debug.C: fix typo
3955
3956 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3957
3958         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3959
3960         * version.C.in: change docversion to 1.4
3961
3962 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3963
3964         * buffer.C: fix a bug just introduced
3965
3966 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * buffer.[Ch]: added the parseError signal and use it, removed
3969         sgmlError
3970         * BufferView.[Ch] (addError): moved to ...
3971         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3972         to the Buffer::parseError signal to catch (guess what) parse errors
3973         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3974
3975 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3978         ability to create a buffer and to return an existing one from
3979         the list. Moved these functions to...
3980         * buffer_funcs.[Ch]: added
3981         * BufferView.[Ch] (loadLyXFile): added
3982         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3983         job removed from bufferlist::loadLyXFile.
3984         * buffer.C (setReadOnly): make it work without view
3985         (i.e added an if (users))
3986
3987 2003-06-19  Angus Leeming  <leeming@lyx.org>
3988
3989         * lfuns.h:
3990         * LyXAction.C (init):
3991         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3992         with LFUN_DIALOG_SHOW <name> <data>.
3993
3994 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3995
3996         * CutAndPaste.C (availableSelections): small compilation fix for
3997         ancient (gcc 2.9x) compilers
3998
3999 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * text3.C (cursorNext): add tmp var
4002
4003         * text2.C (updateCounters): for function calling out of for clause
4004         (replaceSelectionWithString): ditto
4005         (insertStringAsParagraphs): ditto
4006         (getColumnNearX): add tmp var
4007         (setCursorFromCoordinates): add tmp var
4008         (cursorDownParagraph): add tmp var
4009         (deleteEmptyParagraphMechanism): add tmp var
4010
4011         * text.C (insertChar): add tmp var
4012
4013         * rowpainter.C (paintDepthBar): add tmp var
4014
4015         * CutAndPaste.C (availableSelections): potentially check all
4016         paragraphs in a cut to fill the shown strings.
4017
4018 2003-06-18  André Pönitz  <poenitz@gmx.net>
4019
4020         * kbmap.[Ch]: use vector<> instead of list<>
4021
4022 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4023
4024         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4025         pasteSelection with index
4026
4027         * text2.C (pasteSelection): modify, call pasteSelection with index
4028
4029         * paragraph.C (asString): reimplement version with no interval to
4030         call the one with interval.
4031
4032         * lyxtext.h: add index arg to pasteSelection
4033
4034         * MenuBackend.C (MenuItem): handle PasteRecent
4035         (Menu::read::Menutags): add md_pasterecent
4036         (read): handle it
4037         (expandPasteRecent): new function
4038         (expand): use it
4039
4040         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4041
4042         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4043         the limited stack
4044         (availableSelections): new function
4045
4046 2003-06-17  Angus Leeming  <leeming@lyx.org>
4047
4048         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4049
4050 2003-06-17  Angus Leeming  <leeming@lyx.org>
4051
4052         * lfuns.h:
4053         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4054
4055         * lyxfunc.C (dispatch): invoke it.
4056
4057 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4058
4059         * iterators.C (operator++, ParPosition): reintroduce some
4060         const_cast for the benefit of older compilers.
4061
4062 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * text3.C (dispatch): do not modify clipboard when doing
4065         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4066         LFUN_DELETE_SKIP on a selection selection
4067
4068 2003-06-16  André Pönitz  <poenitz@gmx.net>
4069
4070         * BufferView.C:
4071         * buffer.C:
4072         * buffer.h:
4073         * paragraph.C:
4074         * tabular.[Ch]: IU of clone() and getLabelList();
4075
4076 2003-06-13  André Pönitz  <poenitz@gmx.net>
4077
4078         * tabular.h: compactification
4079
4080 2003-06-12  André Pönitz  <poenitz@gmx.net>
4081
4082         * tabular.C:
4083         * tabular.h:
4084         * tabular_funcs.h: some renaming plus whitespace
4085
4086 2003-06-12  André Pönitz  <poenitz@gmx.net>
4087
4088         * BufferView.C:
4089         * BufferView_pimpl.C:
4090         * CutAndPaste.C:
4091         * buffer.C:
4092         * iterators.[Ch]:
4093         * lyxfunc.C:
4094         * text.C:
4095         * toc.C: Return a Paragraph & for ParIterator::operator*()
4096
4097 2003-06-11  John Levon  <levon@movementarian.org>
4098
4099         * lyx_main.C:
4100         * ToolbarBackend.h:
4101         * ToolbarBackend.C: add "Toolbars" section and
4102         put the flags there
4103
4104 2003-06-10  Angus Leeming  <leeming@lyx.org>
4105
4106         * lfuns.h:
4107         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4108
4109         * lyxfunc.C (dispatch): invoke it.
4110
4111 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * main.C: protect <ios> with HAVE_IOS
4114         (main): protect sync_with_stdio with HAVE_IOS
4115
4116 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4117
4118         * text2.C (cutSelection): adjust
4119         (pasteSelection): adjust
4120
4121         * messages.C: handle get of empty string
4122
4123         * main.C (main): use sync_with_stdio(false)
4124
4125         * lyxfunc.C (dispatch): adjust
4126
4127         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4128         (WriteAs): remove unneeded BufferView arg.
4129
4130         * bufferparams.h: use correct types on papersize, papersize2 and
4131         paperpackage.
4132
4133         * bufferparams.C (readToken): adjust for type
4134         (writeLaTeX): add missing cases to switch.
4135
4136         * bufferlist.C (quitWriteBuffer): adjust
4137         (close): adjust
4138
4139         * buffer.C (asciiParagraph): remove some commented code.
4140
4141         * CutAndPaste.C: remove current_view extern variable.
4142         (cutSelection): add BufferParams arg.
4143         (eraseSelection): add BufferParams arg.
4144         (pasteSelection): add Buffer const & arg
4145
4146 2003-06-07  John Levon  <levon@movementarian.org>
4147
4148         * buffer.C:
4149         * paragraph_funcs.C:
4150         * paragraph_pimpl.C:
4151         * text.C:
4152         * text2.C:
4153         * paragraph.h:
4154         * paragraph.C: allow InsetERT to freely space lines,
4155         and some consolidation of code
4156
4157 2003-06-06  José Matos  <jamatos@fep.up.pt>
4158
4159         * buffer.C (makeDocBookFile): fix bug #821
4160
4161 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4164
4165 2003-06-04  Angus Leeming  <leeming@lyx.org>
4166
4167         * buffer.C: bump format to 224.
4168
4169 2003-06-05  André Pönitz  <poenitz@gmx.net>
4170
4171         * text2.C (redoParagraphs): remove two const_cast<>
4172
4173 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4174
4175         * ParagraphList.h: remove last remnants of NO_STD_LIST
4176
4177 2003-06-03  Angus Leeming  <leeming@lyx.org>
4178
4179         * factory.C (createInset): small change to the way InsetExternal's params
4180         are set.
4181
4182 2003-06-04  André Pönitz  <poenitz@gmx.net>
4183
4184         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4185
4186         * paragraph_pimpl.h:
4187         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4188
4189         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4190
4191         * undo_funcs.C: make some simple cases of undo work again
4192
4193 2003-06-03  John Levon  <levon@movementarian.org>
4194
4195         * ispell.C: HPUX doesn't have sys/select.h
4196         (from Albert Chin)
4197
4198 2003-06-03  John Levon  <levon@movementarian.org>
4199
4200         * CutAndPaste.C: update tabular and include inset
4201         buffer references
4202
4203         * buffer.h:
4204         * paragraph.h:
4205         * paragraph.C: remove owningBuffer(), don't pass Buffer
4206         to clone()
4207
4208         * factory.C: insetGraphicsParams changed
4209
4210 2003-06-02  John Levon  <levon@movementarian.org>
4211
4212         * LyXAction.C:
4213         * factory.C:
4214         * lfuns.h:
4215         * lyxfunc.C:
4216         * text3.C: remove insetparent
4217
4218 2003-06-02  John Levon  <levon@movementarian.org>
4219
4220         * buffer.h:
4221         * buffer.C: fix inset_iterator.end(), move out of line
4222         (bug 1149)
4223
4224 2003-06-01  John Levon  <levon@movementarian.org>
4225
4226         * text3.C: use a proper cut/paste when doing inset
4227         insert (from Jürgen Spitzmüller)
4228
4229 2003-06-01  John Levon  <levon@movementarian.org>
4230
4231         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4232
4233 2003-05-30  André Pönitz  <poenitz@gmx.net>
4234
4235         * rowpainter.C: unify second drawing phase
4236
4237 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * trans_mgr.C: remove one case of current_view
4240
4241         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4242
4243         * paragraph_funcs.h: remove paragraph.h include
4244
4245         * paragraph.h: delete NO_STD_LIST stuff
4246
4247         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4248
4249         * buffer.h: remove paragraph.h include
4250
4251         * ParagraphList.C: delete file
4252
4253         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4254
4255         * toc.C (getTocList): adjust
4256
4257         * paragraph_pimpl.C (validate): adjust
4258
4259         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4260
4261         * paragraph.C (Paragraph): adjust
4262         (getPositionOfInset): use const_iterator, adjust
4263         (bibitem): use const_iterator, adjust
4264         (setInsetOwner): adjust
4265
4266         * iterators.C (operator++): adjust
4267
4268         * InsetList.[Ch]: Replace selfmade iterator with standard
4269         vector::iterator also introduce const_iterator. Remove getPos,
4270         getInset and setInset from InsetTable. Adjust accordingly.
4271
4272         * BufferView.C (lockInset): adjust
4273         (ChangeInsets): adjust
4274
4275         * tabular.[Ch]: delete commented same_id functions
4276
4277 2003-05-28  John Levon  <levon@movementarian.org>
4278
4279         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4280
4281 2003-05-28  André Pönitz  <poenitz@gmx.net>
4282
4283         * metricsinfo.[Ch]: remove 'fullredraw' member
4284
4285 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4286
4287         * lyxtextclass.C (operator): remove caching.
4288
4289 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * text3.C: adjust
4292
4293         * text2.C (cursorBottom): adjust
4294         (setCounter): use ParagraphList::find, adjust
4295
4296         * text.C (workWidth): use ParagraphList::find, adjust
4297
4298         * lyxcursor.C (LyXCursor): adjust
4299
4300         * buffer.C (inset_iterator): adjust
4301
4302         * ParagraphList.h: make iterator(value_type) private, make
4303         ParagraphList a friend of iterator.
4304
4305         * ParagraphList.C (find): new function
4306
4307         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4308
4309 2003-05-27  André Pönitz  <poenitz@gmx.net>
4310
4311         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4312
4313 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4314
4315         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4316
4317 2003-05-26  John Levon  <levon@movementarian.org>
4318
4319         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4320
4321 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * remove same_id from function signatures, adjust.
4324
4325 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4328
4329         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4330
4331         * paragraph.C (Paragraph): get rid of same_ids parameter
4332
4333         * ParagraphList.C (insert): adjust
4334         (push_back): adjust
4335
4336 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * paragraph_funcs.C (breakParagraph): adjust
4339         (breakParagraphConservative): adjust
4340
4341         * buffer.C (readParagraph): adjust
4342
4343         * ParagraphList.C (insert): take a reference instead of a pointer
4344         (insert): adjust
4345
4346         * paragraph.[Ch] (id): new function
4347
4348         * bufferlist.C (newFile): adjust
4349
4350         * ParagraphList.C (ParagraphList): adjust
4351         (assign): adjust
4352         (push_back): take a reference instead of a pointer.
4353
4354         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4355
4356         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4357         instead.
4358
4359         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4360         set else use old code.
4361
4362         * ParagraphList.C: remove all NO_NEXT code and only compile this
4363         code of NO_STD_LIST is set.
4364
4365 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * BufferView_pimpl.C:
4368         * TextCache.C:
4369         * TextCache.h:
4370         * bufferlist.C:
4371         * errorlist.h:
4372         * format.C:
4373         * format.h:
4374         * graph.C:
4375         * lyxfunc.C:
4376         * lyxrc.C:
4377         * graphics/GraphicsConverter.C:
4378         * graphics/PreviewLoader.C: header adjustment
4379
4380 2003-05-23  Angus Leeming  <leeming@lyx.org>
4381
4382         * LaTeXFeatures.[Ch] (useBabel): new method.
4383         * bufferparams.C (writeLaTeX): use it.
4384
4385 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * ParagraphList.h (set): remove unused function.
4388
4389 2003-05-23  André Pönitz  <poenitz@gmx.net>
4390
4391         * BufferView.C:
4392         * BufferView_pimpl.C:
4393         * buffer.C:
4394         * buffer.h:
4395         * lyxfunc.C:
4396         * undo_funcs.C: setUndo reworked
4397
4398         * iterators.[Ch]: add access to topmost ParagraphList
4399
4400         * lyxtext.[Ch] (workWidth): add a const
4401
4402 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4403
4404         * texrow.[Ch] (increasePos): remove function
4405         * exporter.C (export): removed unused var and outdated comment
4406
4407 2003-05-23  Angus Leeming  <leeming@lyx.org>
4408
4409         * latexrunparams.h: rename fragile as moving_arg.
4410         * paragraph.C (simpleTeXOnePar): ditto.
4411         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4412
4413 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4416         (createUndo): ditto
4417         (textUndoOrRedo): comment out a currently unused var.
4418
4419         * paragraph.h (NO_NEXT): enable NO_NEXT
4420
4421         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4422
4423         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4424
4425         * exporter.C (Export): adjust for removeAutoInsets removal.
4426
4427         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4428
4429         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4430
4431         * BufferView.[Ch] (removeAutoInsets): delete function
4432
4433 2003-05-22  Angus Leeming  <leeming@lyx.org>
4434
4435         * latexrunparams.h: add a free_spacing variable.
4436
4437         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4438         to pass moving_arg, as the data is stored in runparams.fragile.
4439
4440         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4441         to Inset::latexOptional or to simpleTeXOnePar.
4442
4443         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4444         free_spacing arg to Inset::latexOptional.
4445
4446         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4447         free_spacing arg.
4448
4449 2003-05-22  Angus Leeming  <leeming@lyx.org>
4450
4451         * latexrunparams.h: add fragile and use_babel variables.
4452
4453         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4454         * buffer.C (makeLaTeXFile): store this returned value in
4455         runparams.use_babel, thus passing it to the inset::latex methods.
4456
4457         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4458         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4459
4460         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4461         longer has a fragile arg, as it is stored in runparams.fragile.
4462
4463         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4464         moving_arg parameter as the data is stored in runparams.fragile.
4465
4466         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4467         a fragile parameter as the data is stored in runparams.fragile.
4468
4469 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4472
4473 2003-05-22  Angus Leeming  <leeming@lyx.org>
4474
4475         * latexrunparams.h: add a 'bool nice' which defaults to false.
4476
4477         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4478         now encapsulated within runparams.
4479
4480         * bufferlist.C (updateIncludedTeXfiles):
4481         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4482
4483 2003-05-22  Angus Leeming  <leeming@lyx.org>
4484
4485         * latexrunparams.h: new file containing struct LatexRunParams.
4486         * Makefile.am: add new file.
4487
4488         * LaTeX.[Ch] (c-tor, run):
4489         * buffer.[Ch] (makeLaTeXFile):
4490         * bufferlist.[Ch] (updateIncludedTeXfiles):
4491         * converter.C (convert, scanLog):
4492         * converter.[Ch] (runLaTeX):
4493         * exporter.C (Export):
4494         * paragraph.[Ch] (simpleTeXOnePar):
4495         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4496         * paragraph_funcs.[Ch] (latexParagraphs):
4497         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4498         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4499         pass around a LatexRunParams parameter.
4500
4501 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * paragraph.[Ch]: remove unused constructor
4504
4505         * ParagraphList.C (erase): new function, taking two iterators
4506
4507 2003-05-22  André Pönitz  <poenitz@gmx.net>
4508
4509         * undo_funcs.C: remove duplicated code
4510
4511         * iterator.[Ch]: operator=
4512
4513 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * tabular.C (SetMultiColumn): ws changes
4516
4517         * rowpainter.C (paintFirst): get rid of a ->previous
4518
4519         * lyx_cb.C (getPossibleLabel): parlist simplification
4520
4521         * BufferView.C (ChangeInsets): simplify slightly.
4522
4523 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4524
4525         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4526         * lfuns.h: new LFUN_SPACE
4527         * lyxfunc.C: protected space has a new lfun
4528         * paragraph_funcs.C: read new space insets
4529         * text3.C:
4530         * factory.C: handle new space insets
4531
4532 2003-05-22  André Pönitz  <poenitz@gmx.net>
4533
4534         * BufferView.C:
4535         * BufferView_pimpl.C:
4536         * buffer.[Ch]:
4537         * lyxfunc.C:
4538         * undo_funcs.C: return a ParIterator from getParFromID.
4539
4540         * iterators.[Ch]: add two const's
4541
4542 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * toc.C (getTocList): adjust
4545
4546         * iterators.[Ch]: rework for parlist
4547
4548         * buffer.C (par_iterator_begin): adjust
4549         (par_iterator_end): adjust
4550
4551         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4552
4553         * BufferView.C (removeAutoInsets): adjust
4554         (ChangeInsets): adjust
4555
4556 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4557
4558         * text.C (top_y): fix bug 1110
4559
4560 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * errorlist.[Ch]: added
4563         * buffer.C:
4564         * BufferView.[Ch]:
4565         * BufferView_pimpl.C:
4566         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4567         instead
4568
4569 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * Makefile.am: ensure that lyx is relinked upon changes to the
4572         various "convenience" libs.
4573
4574 2003-05-20  Angus Leeming  <leeming@lyx.org>
4575
4576         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4577         files are compiled in alphabetical order again.
4578
4579         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4580
4581 2003-05-19  Angus Leeming  <leeming@lyx.org>
4582
4583         * gettext.[Ch]: remove "char const * _(char const *)".
4584
4585 2003-05-19  André Pönitz  <poenitz@gmx.net>
4586
4587         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4588
4589         * Makefile.am:
4590         * BufferView.C:
4591         * DepTable.h:
4592         * LaTeXFeatures.C:
4593         * buffer.C:
4594         * lyxfont.C:
4595         * lyxlex.h:
4596         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4597
4598 2003-05-19  André Pönitz  <poenitz@gmx.net>
4599
4600         * buffer.C:
4601         * lyxlayout.[Ch]:
4602         * lyxtextclass.[Ch]:
4603         * paragraph.C:
4604         * paragraph_funcs.[Ch]:
4605         * text2.C:
4606         * text3.C: more insetenv work
4607
4608 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * ParagraphParameters.C (params2string): small bug fixed
4611
4612 2003-05-16  André Pönitz  <poenitz@gmx.net>
4613
4614         * debug.C:
4615         * bufferview_funcs.C: patch from Kornel Benko to prevent
4616           crash when _(...) is called twice in a statement
4617
4618 2003-05-16  André Pönitz  <poenitz@gmx.net>
4619
4620         * BufferView.C:
4621         * lyxfunc.C:
4622         * text.C:
4623         * text2.C:
4624         * text3.C:
4625         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4626
4627 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * lyx_main.C (init): remove spurious static_cast
4630
4631 2003-05-14  André Pönitz  <poenitz@gmx.net>
4632
4633         * BufferView.C: fix format string
4634
4635 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * BufferView.[Ch] (insertErrors): removed
4638         * BufferView.[Ch] (showErrorList): added
4639         * buffer.C (runChkTeX):
4640         * converter.C (scanLog): call showErrorList instead of inserterrors
4641
4642 2003-05-13  André Pönitz  <poenitz@gmx.net>
4643
4644         * BufferView_pimpl.C:
4645         * buffer.C:
4646         * bufferview_func.C:
4647         * MenuBackend.C:
4648         * lyxfunc.C:
4649         * lyxrc.C:
4650         * tex-accent.C:
4651         * text3.C:
4652         * toc.C:
4653         * tabular_funcs.h: tostr() from its own header
4654
4655         * ParagraphParameters.C:
4656         * ToolbarBackend.C:
4657         * bufferparams.C:
4658         * format.C:
4659         * lyxlex_pimpl.C:
4660         * text3.C: STRCONV()
4661
4662 2003-05-12  André Pönitz  <poenitz@gmx.net>
4663
4664         * BufferView.C:
4665         * BufferView_pimpl.C:
4666         * CutAndPaste.C:
4667         * LaTeX.C:
4668         * LaTeXFeatures.C:
4669         * ParagraphParameters.C:
4670         * buffer.C:
4671         * bufferlist.C:
4672         * bufferparams.C:
4673         * bufferview_funcs.C:
4674         * converter.C:
4675         * counters.C:
4676         * debug.C:
4677         * exporter.C:
4678         * format.C:
4679         * importer.C:
4680         * lyx_cb.C:
4681         * lyx_main.C:
4682         * lyxfont.C:
4683         * lyxfunc.C:
4684         * lyxvc.C:
4685         * paragraph.C:
4686         * paragraph_funcs.C:
4687         * tabular.C:
4688         * tabular_funcs.C:
4689         * text2.C:
4690         * text3.C:  boost::format -> bformat  all over the place
4691
4692
4693 2003-05-09  André Pönitz  <poenitz@gmx.net>
4694
4695         * LColor.[Ch]: Pimpl the #include <map> away
4696
4697 2003-05-09  John Levon  <levon@movementarian.org>
4698
4699         * bufferlist.C: never remove emergency saves
4700
4701 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * Makefile.am: better lib building
4704
4705 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4708         instead.
4709         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4710         (simpleTeXSpecialChars): adjust
4711         (simpleTeXSpecialChars): adjust
4712         * paragraph.C (simpleTeXOnePar): adjust
4713         * buffer.C (makeLaTeXFile): adjust
4714
4715         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4716
4717         * text2.C (changeDepth): parlist cleanup
4718         (getColumnNearX): ditto
4719
4720         * rowpainter.C (getLabelFont): parlist cleanup
4721
4722         * bufferlist.C (newFile): parlist cleanup
4723
4724         * CutAndPaste.C (eraseSelection): parlist cleanup
4725
4726         * BufferView_pimpl.C (trackChanges): parlist cleanup
4727         (dispatch): ditto
4728
4729         * BufferView.C (lockInset): parlist cleanup.
4730         (ChangeInsets): ditto
4731
4732 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * CutAndPaste.h: Update file header.
4735
4736         * CutAndPaste.C: Update file header.
4737         Store the parts cut out of the Document in a limited_stack.
4738         (copySelection): adjust
4739         (pasteSelection): new function, takes the index in the limited stack.
4740         (nrOfParagraphs): adjust
4741         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4742         simplify error inset insertion.
4743         (checkPastePossible): adjust
4744
4745 2003-05-06  John Levon  <levon@movementarian.org>
4746
4747         * text2.C: don't cast wrap inset to float
4748
4749 2003-05-05  André Pönitz  <poenitz@gmx.net>
4750
4751         * iterator.C:
4752         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4753
4754         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4755           few naked Paragraph *.
4756
4757 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4758
4759         * bufferparams.C: Output warning if a document with missing
4760         TeX document class is loaded
4761         * exporter.C: Disable TeX exports if the document class is missing
4762         * lyxtextclass.C:
4763         * lyxtextclass.h:
4764         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4765         isTeXClassAvailable()
4766
4767 2003-05-03  John Levon  <levon@movementarian.org>
4768
4769         * BufferView.h:
4770         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4771         explicit cursor show/hide
4772
4773         * BufferView_pimpl.h:
4774         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4775         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4776
4777         * lyxfunc.C: hide cursor before dispatching.
4778
4779         * lyx_cb.C:
4780         * lyxfind.C:
4781         * text.C:
4782         * text3.C: remove explicit cursor hides
4783
4784 2003-05-02  André Pönitz  <poenitz@gmx.net>
4785
4786         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4787
4788         * undo_funcs.C:
4789         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4790           linked lists
4791
4792         * text2.C: tiny whitespace
4793
4794 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * undo_funcs.C: almost only ws changes.
4797
4798         * ParagraphList.C (splice): just return if pl is empty.
4799
4800 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * ParagraphList.C (splice): new function.
4803
4804         * CutAndPaste.C (pasteSelection): use it
4805
4806 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * CutAndPaste.C (pasteSelection): remove the last next and
4809         previous from this file.
4810
4811 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * CutAndPaste.C (pasteSelection): more clean up, user proper
4814         ParagraphList functions for pasteing.
4815
4816         * ParagraphList.C (insert): new function, three arg insert
4817
4818 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * ParagraphList.C (insert): new function, three arg insert
4821
4822         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4823         not on paragraphs.
4824
4825 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4828
4829 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4832
4833 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4836         (copySelection): clean up a bit.
4837         (pasteSelection): use make_pair
4838
4839         * ParagraphList.C (ParagraphList): implement copy constructor
4840         (operator=): implement, base on copy constructor.
4841         (assign): new func
4842
4843         * paragraph.C (erase): return a bool
4844
4845         * paragraph_pimpl.C (erasePos): remove function, move contents...
4846         (erase): ... here. Return a bool.
4847         (erase): call erase instead of erasePos.
4848
4849 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * ParagraphList.h: define PitPosPair
4852         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4853         ParagraphList, fix a bug on pasting multiple pars
4854         * text2.C: change interface to C&P
4855
4856 2003-04-30  André Pönitz  <poenitz@gmx.net>
4857
4858         * undo_func.C: revert part of yesterday's patch 2
4859
4860 2003-04-30  John Levon  <levon@movementarian.org>
4861
4862         * LColor.C: s/tabular/table/
4863
4864 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * text3.C (dispatch): do not convert iterator -> pointer
4867         * undo_funcs.C (setCursorParUndo): ditto
4868         * text_funcs.C (transposeChars): ditto
4869
4870         * text2.C (setLayout): ws changes only
4871
4872         * text.C (breakParagraph): do not convert iterator -> pointer
4873         (insertChar): ditto
4874         (acceptChange): ditto
4875         (rejectChange): ditto
4876         (changeCase): ditto
4877         (Delete): ditto
4878         (backspace): ditto
4879
4880         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4881         pointer
4882
4883 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * text3.C (gotoInset): YABG (yet another bad getChar)
4886
4887 2003-04-29  André Pönitz  <poenitz@gmx.net>
4888
4889         * paragraph.h: make operator= private unimplemented as long as
4890           it is unusable
4891
4892         * ParagraphList.C: whitespace
4893
4894         * paragraph.[Ch]:
4895         * paragraph_pimpl.[Ch]:
4896         * paragraph_funcs.C:
4897         * CutAndPaste.C:
4898         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4899
4900         * text2.C:
4901           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4902
4903 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4904
4905         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4906         * paragraph.[Ch] (erase):
4907         * paragraph_pimpl.[Ch] (erase): change return type and value
4908         * text2.C (cutSelection): some rework
4909
4910 2003-04-28  John Levon  <levon@movementarian.org>
4911
4912         * bufferlist.C: changes for unsaved changes dialog
4913
4914 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * bufferlist.C (newFile): set language (messages_) for new
4917         documents also.
4918
4919         * buffer.C (readFile): ws changes only.
4920
4921 2003-04-28  André Pönitz  <poenitz@gmx.net>
4922
4923         * undo_funcs.C:
4924         * lyxfunc.C:
4925         * buffer.[Ch]:
4926         * BufferView_pimpl.C:
4927         * BufferView.C: getParFromID related ParagraphList::iterator changes
4928
4929 2003-04-28  André Pönitz  <poenitz@gmx.net>
4930
4931         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4932           Changes
4933
4934 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * messages.C: remove one more localedir class variable.
4937
4938 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * messages.C (getLocaleDir): singleton generation function
4941         (Pimpl): use it.
4942         (Messages): add a default constructor.
4943
4944         * main.C (main): do not setup localedir here, do not call
4945         gettext_init.
4946
4947         * gettext.C (_): use it.
4948         (gettext_init): delete funciton
4949
4950 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * gettext.C (getLyXMessages): new singleton generating function.
4953
4954         * buffer.C (updateDocLang): adjust
4955
4956         * Makefile.am (messages.o): add target
4957         (main.o): remove target
4958
4959 2003-04-27  John Levon  <levon@movementarian.org>
4960
4961         * bufferlist.C:
4962         * lyx_cb.C:
4963         * lyxfunc.C:
4964         * lyxvc.C: specify cancel button in Alert::prompt
4965
4966 2003-04-26  John Levon  <levon@movementarian.org>
4967
4968         * text3.C:
4969         * lyxfunc.C:
4970         * lfuns.h:
4971         * LyXAction.C: add LFUN_INSET_SETTINGS
4972
4973         * lyxfunc.C: don't enable tabular-feature when there's
4974         just any locking inset
4975
4976 2003-04-26  John Levon  <levon@movementarian.org>
4977
4978         * bufferlist.C: re-add Cancel to buffer close question
4979
4980         * lyxfunc.C: fix import UI a bit
4981
4982 2003-04-25  John Levon  <levon@movementarian.org>
4983
4984         * gettext.C: remove the broken asserts for now
4985
4986 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * messages.C: make case where setlocale cannot comply work better.
4989
4990         * buffer.C (updateDocLang): new function
4991         (changeLanguage): use it
4992         (readFile): use it
4993
4994         * text2.C (setCounter): use B_ a bit.
4995
4996         * lyxlayout.C (Read): be sure to trim the label strings.
4997
4998         * messages.C (Messages): fix typo in comment
4999
5000         * buffer.C (readFile): set message_ after file is loaded.
5001         (makeDocBookFile): remove double return
5002         (changeLanguage): reset message_ upon language change.
5003         (B_): new func, use this to get translated buffer strings.
5004
5005         * main.C: add myself and Jean Marc as authors.
5006
5007 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * messages.[hC]: pimplify Messages, and three different pimpls to be
5010         used in different circumstances.
5011
5012         * gettext.[Ch]: change for use with new message code.
5013
5014 2003-04-24 André Pönitz <poenitz@gmx.net>
5015
5016         * factory.C: support for eqref
5017
5018 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5019
5020         * messages.[Ch]: add missing char
5021
5022         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5023
5024         * messages.[Ch]: New files
5025
5026 2003-04-18  John Levon  <levon@movementarian.org>
5027
5028         * BufferView.h:
5029         * BufferView.C:
5030         * BufferView_pimpl.C:
5031         * lfuns.h:
5032         * LyXAction.C:
5033         * lyxtext.h:
5034         * text2.C: remove layout-copy/paste (bug 778)
5035
5036 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5039
5040 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5041
5042         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5043         if they succeed. Act accordingly.
5044
5045 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * text2.C (setCharFont): adjust
5048         (setCounter): adjust
5049         (insertStringAsLines): adjust
5050
5051         * text.C (leftMargin): adjust
5052         (setHeightOfRow): adjust
5053
5054         * rowpainter.C (paintFirst): adjust
5055         (paintLast): adjust
5056
5057         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5058         (outerHook): ditto
5059         (isFirstInSequence): ditto
5060         (getEndLabel): ditto
5061         (outerFont): adjust
5062
5063         * paragraph.C (getParLanguage): comment out some hard stuff.
5064
5065         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5066         (sgmlError): ditto
5067         (simpleDocBookOnePar): ditto
5068         (makeDocBookFile): use ParagraphList::iterator
5069
5070         * CutAndPaste.C (pasteSelection): adjust
5071
5072 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * text2.C (getFont): adjust
5075         (getLayoutFont): adjust
5076         (getLabelFont): adjust
5077
5078         * paragraph_funcs.C (TeXOnePar): adjust
5079
5080         * buffer.C (simpleLinuxDocOnePar): adjust
5081         (simpleDocBookOnePar): adjust
5082
5083         * CutAndPaste.C (pasteSelection): adjust
5084
5085         * BufferView.C (getEncoding): adjust
5086
5087         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5088
5089 2003-04-16  John Levon  <levon@movementarian.org>
5090
5091         * lyxfind.C: use parlist stuff for search/changes
5092
5093 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5096
5097         * text2.C (deleteEmptyParagraphMechanism): adjust
5098
5099         * text2.[Ch] (ownerParagraph): delete func (both of them
5100
5101 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5104
5105 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * ParagraphList.C: prepare for NO_NEXT
5108
5109 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * text2.C (getFont): adjust
5112         (getLayoutFont): adjust
5113         (getLabelFont): adjust
5114
5115         * paragraph.C (getFont): adjust
5116         (getLabelFont): adjust
5117         (getLayoutFont): adjust
5118
5119         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5120
5121 2003-04-15  John Levon  <levon@movementarian.org>
5122
5123         From Angus Leeming
5124
5125         * lyx_main.C: handle Include in .ui files
5126
5127 2003-04-15  John Levon  <levon@movementarian.org>
5128
5129         * MenuBackend.C: make the doc files length shorter
5130
5131         * ToolbarBackend.h:
5132         * ToolbarBackend.C: handle toolbar placement flags,
5133         Minibuffer
5134
5135 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5138         adjust
5139
5140         * paragraph_funcs.C (TeXOnePar): adjust
5141
5142         * paragraph.C (getLabelFont): add outerfont arg, adjust
5143         (getLayoutFont): ditto
5144         (simpleTeXOnePar): adjust
5145
5146         * paragraph_pimpl.C (realizeFont): delete func
5147
5148 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5149
5150         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5151         row argument, constify cur argument.
5152
5153 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * text2.C (getFont): adjust
5156         (getLayoutFont): adjust
5157         (getLabelFont): adjust
5158
5159         * paragraph_funcs.C (TeXOnePar): adjust
5160         (outerFont): new func...
5161         (realizeFont): ...moved out from here, changed this to facilitate
5162         transition
5163
5164         * paragraph.C (getFont): take outerfont as arg, adjust
5165         (simpleTeXOnePar): add outerfont arg, adjust
5166
5167         * buffer.C (simpleLinuxDocOnePar): adjust
5168         (simpleDocBookOnePar): adjust
5169
5170         * CutAndPaste.C (pasteSelection): adjust
5171
5172         * BufferView.C (getEncoding): adjust
5173
5174 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text2.C (setCharFont): adjust
5177         (setCounter): adjust
5178
5179         * text.C (leftMargin): adjust
5180         (setHeightOfRow): adjust
5181
5182         * rowpainter.C (paintFirst): adjust
5183         (paintLast): adjust
5184
5185         * paragraph_pimpl.C (realizeFont): adjust
5186
5187         * paragraph.C (isFirstInSequence): move from here...
5188         * paragraph_funcs.C (isFirstInSequence): ...to here
5189
5190         * paragraph.C (outerHook): move from here...
5191         * paragraph_funcs.C (outerHook): ...to here
5192
5193         * paragraph.C (depthHook): move from here...
5194         * paragraph_funcs.C (depthHook): ...to here
5195
5196         * paragraph.C (getEndLabel): move from here...
5197         * paragraph_funcs.C (getEndLabel): ...to here
5198
5199         * text2.C (realizeFont): move from here...
5200         * paragraph_funcs.C (realizeFont): ...to here
5201
5202 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5205
5206 2003-04-14  Angus Leeming  <leeming@lyx.org>
5207
5208         * LColor.[Ch]: scrap LColor mathcursor.
5209
5210 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * lyxlex.[Ch] (text): delete function
5213         * trans.C (Load): adjust
5214         * paragraph_funcs.C (readParToken): adjust
5215
5216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5219         vector<char> instead of a char[].
5220
5221         * lyxlex_pimpl.C (getString): adjust
5222         (next): adjust
5223         (lex): use getString
5224         (eatLine): adjust
5225         (nextToken): adjust
5226
5227         * lyxlex.C (text): use pimpl_->getString()
5228         (getBool): ditto
5229         (findToken): ditto
5230
5231 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5234         (makeFontEntriesLayoutSpecific): temp var for par.size()
5235         (setLayout): temp var for ownerParagraphs().end()
5236         (fullRebreak): temp var for rows().end()
5237         (selectionAsString): temp var for boost::next(startpit), realize
5238         that the while really is a regular for loop.
5239         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5240         setCursor in one place.
5241         (setParagraph): temp vr for ownerParagraphs().end()
5242         (updateCounters): make the while loop a for loop
5243         (cutSelection): temp var for ownerParagraphs().end()
5244         (updateInset): make the do {} while() a regular for loop
5245         (getCursorX): use temp vars
5246         (setCurrentFont): use temp vars
5247         (getColumnNearX): use temp vars
5248
5249 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * text.C (transformChar): use temp var for getChar
5252         (computeBidiTables): use temp var for row->par()
5253         (fill): move temp vars for row->par() and pit->layout() earlier in
5254         the function.
5255         (labelFill): use temp var for row->par()
5256         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5257         asc and desc, realize that pit never changes and that firstpit is
5258         just a duplicate and not needed. Exchange rit->par() with pit in a
5259         lot of places.
5260         (breakAgain): use a temp var for boost::next(rit)
5261         (breakAgainOneRow): ditto
5262         (breakParagraph): use a temp var for rows().begin()
5263         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5264         (cursorRightOneWord): use temp var for cursor.par() and
5265         cursor.pos(), remove usage of tmpcursor.
5266         (cursorLeftOneWord): use temp var for cursor.par() and
5267         cursor.pos() only set cur at end of function.
5268
5269 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * text.C, text2.C: exchange all usage of Paragraph::next with
5272         boost::next(ParagraphList::iterator)
5273
5274         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5275
5276         * text2.C (cursorTop): simplify implementation
5277         (cursorBottom): ditto
5278         (setParagraph): use ParagraphList::iterator
5279         (setCurrentFont): adjust
5280         (getColumnNearX): adjust
5281         (cursorRight): adjust
5282         (cursorLeft): remove usage of Paragraph::previous
5283         (cursorUpParagraph): ditto
5284         (deleteEmptyParagraphMechanism): slight cleanup
5285
5286         * text.C (isBoundary): take a Paragraph const & instead of a
5287         pointer as arg.
5288         (addressBreakPoint): ditto
5289         (leftMargin): remove usage of Paragraph::previous.
5290         (setHeightOfRow): ditto
5291         (cursorLeftOneWord): ditto
5292         (selectNextWordToSpellcheck): ditto
5293         (Delete): ditto
5294         (backspace): ditto
5295         (breakParagraph): remove one usage of Paragraph::next
5296         (redoParagraph): ditto
5297         (acceptChange): ditto
5298         (insertChar): adjust
5299         (rowBreakPoint): adjust
5300
5301         * bufferview_funcs.C (toggleAndShow): adjust
5302
5303 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5304
5305         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5306         methods to access it.
5307         * lyxtext.h:
5308         * text.C: Added updateRowPositions to compute all row positions.
5309         Make top_y and getRowNearY() to use the cached y position
5310
5311 2003-04-11  John Levon  <levon@movementarian.org>
5312
5313         * text.C (rowBreakPoint): reintroduce the labelEnd
5314         checks, code copied from the row fill stuff. Deep voodoo.
5315
5316         * text.C (fill): add a comment and debugging for the
5317         next poor soul.
5318
5319 2003-04-11  John Levon  <levon@movementarian.org>
5320
5321         * text.C: make sure fullrow insets get wrapped to the next line,
5322         even when they're in a manual label
5323
5324 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * text2.C (insertParagraph): make it take ParagraphList::iterator
5327         as arg.
5328         (setLayout): make it return ParagraphList::iterator
5329         (redoParagraphs): ditto
5330         (setCounter): ditto
5331         (checkParagraph): ditto
5332
5333         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5334
5335         * text2.C: adjust several funcs.
5336         (realizeFont): take a ParagraphList::iterator as arg.
5337         (getLayoutFont): ditto
5338         (getLabelFont): ditto
5339         (setCharFont): ditto
5340
5341         * text.C: adjust several funcs.
5342
5343 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * text.C (selectNextWordToSpellcheck): don't accidentally
5346         skip insets
5347
5348 2003-04-10  John Levon  <levon@movementarian.org>
5349
5350         * ToolbarBackend.C (getIcon): special handling for
5351         LFUN_MATH_DELIM
5352
5353 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * text2.C (cursorRight): a getChar assert fixed
5356
5357 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * text2.C (getFont): change to take a ParagraphList::iterator
5360         instead of Paragraph*
5361         Adjust several functions.
5362
5363         * text.C (transformChar): change to take a ParagraphList::iterator
5364         instead of Paragraph*
5365         (singleWidth): ditto
5366         Adjust several functions.
5367
5368         * rowpainter.C: adjust several functions
5369         * rowpainter.h:store a ParagraphList::iterator and not a
5370         Paragraph&.
5371
5372
5373 2003-04-09  John Levon  <levon@movementarian.org>
5374
5375         * lyxfunc.C:
5376         * lfuns.h:
5377         * LyXAction.h:
5378         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5379         and the "help" bits as well
5380
5381 2003-04-09  John Levon  <levon@movementarian.org>
5382
5383         * ToolbarBackend.h:
5384         * ToolbarBackend.C: allow multiple toolbars
5385
5386 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * undo_funcs.C (setCursorParUndo): adjust
5389
5390         * text_funcs.C (transposeChars): adjust
5391
5392         * text3.C (gotoNextInset): adjust
5393         (dispatch): adjust
5394
5395         * text2.C (setLayout): adjust
5396         (changeDepth): adjust
5397         (setFont): adjust
5398         (redoParagraphs): adjust
5399         (selectionAsString): adjust
5400         (setParagraph): adjust
5401         (insertInset): adjust
5402         (cutSelection): adjust
5403         (copySelection): adjust
5404         (pasteSelection): adjust
5405         (insertStringAsLines): adjust
5406         (updateInset): adjust
5407         (setCursor): change to take a ParagraphList::iterator parameter
5408         (setCursorIntern): change to take a ParagraphList::iterator parameter
5409         (setCurrentFont): adjust
5410         (cursorLeft): adjust
5411         (cursorRight): adjust
5412         (deleteEmptyParagraphMechanism): adjust
5413
5414         * text.C (breakParagraph): adjust
5415         (insertChar): adjust
5416         (acceptChange): adjust
5417         (rejectChange): adjust
5418         (selectNextWordToSpellcheck): adjust
5419         (changeCase): adjust
5420         (Delete): adjust
5421         (backspace): adjust
5422
5423         * lyxfind.C (SearchForward): adjust
5424         (SearchBackward): adjust
5425         (nextChange): adjust
5426
5427         * lyxcursor.C (par): adjust
5428
5429         * lyxcursor.h: store a ParagraphList::iterator instead of a
5430         Paragraph*
5431
5432         * lyx_cb.C (getPossibleLabel): adjust
5433
5434         * bufferview_funcs.C (toggleAndShow): adjust
5435
5436         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5437         (dispatch): adjust
5438
5439         * BufferView.C (removeAutoInsets): adjust
5440         (lockedInsetStoreUndo): adjust
5441
5442 2003-04-09  John Levon  <levon@movementarian.org>
5443
5444         * ToolbarBackend.C: try icon without argument
5445         if with argument fails
5446
5447 2003-04-08  John Levon  <levon@movementarian.org>
5448
5449         * ToolbarBackend.h:
5450         * ToolbarBackend.C: add getIcon(), handle tooltip,
5451         and change from "Icon" to "Item".
5452
5453 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * BufferView.C (lockInset): another bad getchar crunched
5456
5457 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5458
5459         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5460         again)
5461
5462 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5463
5464         * lyxfind.C (searchForward, searchBackwards): bug 782
5465
5466 2003-04-07  John Levon  <levon@movementarian.org>
5467
5468         * paragraph.C: remove dead comment
5469
5470         * text.C: remove troublesome depth-fiddling code
5471         in leftMargin() and rightMargin() (bug 1017)
5472
5473         * text.C: fix breaking of rows in nested lists
5474         (bug 1004)
5475
5476         * text2.C (updateCounters): fix up depth values
5477         (bug 1013)
5478
5479 2003-04-07  John Levon  <levon@movementarian.org>
5480
5481         * BufferView_pimpl.C: clear message when doc finishes resizing,
5482         and after a mouse event
5483
5484         * lyxfunc.C: clear message after exiting inset
5485
5486 2003-04-07  John Levon  <levon@movementarian.org>
5487
5488         * bufferview_funcs.C: show math status not outside
5489         status in the statusbar
5490
5491 2003-04-07  John Levon  <levon@movementarian.org>
5492
5493         * lyxfunc.C: note status changed after a depth change
5494
5495 2003-04-04  Angus Leeming  <leeming@lyx.org>
5496
5497         * LaTeX.h: move AuxInfo operator==, != out of line.
5498         Remove LaTeX virtual destructor; nothing derives from it.
5499         Move operator()() out of public area and rename it startscript().
5500         Change protected for private.
5501
5502 2003-04-04  Angus Leeming  <leeming@lyx.org>
5503
5504         * lyxfunc.C:
5505         * text2.C: remove unneeded #includes.
5506
5507 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5508
5509         * text2.C (dEPM): fix the heigth of the next row
5510
5511 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5512
5513         * text.C: squashed an invalid getChar requester + some ws changes
5514
5515 2003-04-03  John Levon  <levon@movementarian.org>
5516
5517         * bufferview_funcs.h:
5518         * bufferview_funcs.C:
5519         * lyxfunc.C:
5520         * lyxtext.h:
5521         * text2.C: make getStatus work for the env depth lfuns
5522
5523 2003-04-03  John Levon  <levon@movementarian.org>
5524
5525         * bufferview_funcs.h:
5526         * bufferview_funcs.C:
5527         * lyxfunc.C:
5528         * lyxtext.h:
5529         * text2.C: parlistize decDepth(), by merging it with incDepth()
5530
5531 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * lyxrow.h: store a ParagraphList::iterator instead of a
5534         Paragraph* and adjust other class functions to suit.
5535
5536         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5537         above.
5538
5539 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5540
5541         * text2.C (setCursor): do not anchor to cursor row for the time being
5542
5543 2003-04-02  John Levon  <levon@movementarian.org>
5544
5545         * LyXAction.C:
5546         * lfuns.h:
5547         * lyx_main.C:
5548         * lyxtext.h:
5549         * text.C:
5550         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5551
5552 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * paragraph.h: make ParagraphList and ParagraphList::iterator
5555         friends of Paragraph.
5556
5557         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5558
5559         * ParagraphList.C: Use the private next_ and previous_ from
5560         Paragraph.
5561
5562 2003-04-01  John Levon  <levon@movementarian.org>
5563
5564         * ToolbarBackend.h:
5565         * ToolbarBackend.C:
5566         * Makefile.am: rename, remove defaults gunk
5567
5568         * MenuBackend.h:
5569         * MenuBackend.C: remove defaults gunk
5570
5571         * Languages.h:
5572         * Languages.C: remove defaults gunk
5573
5574         * lyx_main.h:
5575         * lyx_main.C: error out if files couldn't be found.
5576
5577 2003-04-02  John Levon  <levon@movementarian.org>
5578
5579         * text2.C: make incDepth() use parlist
5580
5581 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * undo_funcs.C (firstUndoParagraph): adjust
5584
5585         * text3.C (gotoInset): adjust
5586         (dispatch): adjust, and rewrite loop.
5587
5588         * text2.C (init): adjust, and rewrite loop.
5589         (redoParagraphs): adjust
5590         (updateInset): adjust, and rewrite loop.
5591         (deleteEmptyParagraphMechanism): adjust
5592
5593         * tabular.C (LyXTabular): adjust
5594         (SetMultiColumn): adjust
5595         (TeXRow): adjust
5596
5597         * lyxtext.[Ch] (ownerParagraph): delete function
5598         (ownerParagraphs): new function returns a ParagraphList.
5599
5600         * BufferView.C (removeAutoInsets): adjust
5601         (insertErrors): adjust
5602         (setCursorFromRow): adjust
5603
5604 2003-04-01  Angus Leeming  <leeming@lyx.org>
5605
5606         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5607         in the frontends.
5608
5609 2003-04-02  John Levon  <levon@movementarian.org>
5610
5611         * lyxtext.h:
5612         * text.C:
5613         * Makefile.am:
5614         * text_funcs.h:
5615         * text_funcs.C: make transposeChars a free function
5616
5617         * lyxrow_funcs.C: remove wrong comment
5618
5619 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * lyxtext.h: adjust
5622         * rowpainter.C: adjust
5623         * text.C: adjust
5624         * text2.C: adjust
5625         * text3.C: adjust
5626
5627         * lyxrow_funcs. [Ch]: new files
5628
5629         * lyxrow.[Ch]: remove next and previous pointers
5630         (next,previous): remove accessor functions
5631         (isParEnd): move to lyxrow_funcs
5632         (lastPos): move to lyxrow_funcs
5633         (nextRowIsAllInset): move to lyxrow_funcs
5634         (lastPrintablePos): move to lyxrow_funcs
5635         (numberOfSeparators): move to lyxrow_funcs
5636         (numberOfHfills): move to lyxrow_funcs
5637         (numberOfLabelHfills): move to lyxrow_funcs
5638         (hfillExpansion): move to lyxrow_funcs
5639
5640         * lyxfunc.C: adjust
5641
5642         * bufferview_funcs.C (toggleAndShow): adjust
5643
5644         * RowList.h: Remove class RowList from file leave just a
5645         std::list<Row>.
5646
5647         * RowList.C: delete file
5648
5649         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5650         and lyxrow_funcs.h
5651
5652 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * text3.C (cursorPrevious): adjust
5655         (cursorNext): adjust
5656         (dispatch): adjust
5657
5658         * text2.C (redoHeightOfParagraph): adjust
5659         (redoDrawingOfParagraph): adjust
5660         (setCursor): adjust
5661
5662         * text.C (breakParagraph): adjust
5663         (insertChar): adjust
5664         (backspace): adjust
5665
5666         * rowpainter.C (RowPainter): adjust
5667         (leftMargin): simplify and adjust
5668         (most rowpainter functions): adjust.
5669
5670         * rowpainter.h: store the row as RowList::iterator not as Row*
5671
5672         * lyxcursor.C (row): taka RowList::iterator as arg
5673         (irow): ditto
5674
5675         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5676         of Row*.
5677
5678 2003-04-01  Angus Leeming  <leeming@lyx.org>
5679
5680         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5681         stuff like bool Bool.
5682
5683 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5686         rewrite a loop
5687
5688 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5691         RowList::iterator.
5692
5693         * lyxtext.h (rows): drop one version and leve a const variant that
5694         returns a RowList::iterator.
5695
5696 2003-03-31  Angus Leeming  <leeming@lyx.org>
5697
5698         * text.C (fill): ensure that the signature is the same as that in the
5699         header file.
5700
5701 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * text2.C (redoParagraphs): adjust
5704         (updateCounters): adjust
5705         (checkParagraph): adjust
5706         (getColumnNearX): adjust and reformat a bit.
5707
5708         * text.C (top_y): adjust
5709         (workWidth): adjust
5710         (leftMargin): adjust
5711         (prepareToPrint): adjust
5712         (getRow): adjust
5713         (getRowNearY): adjust
5714
5715         * lyxtext.h: make rowlist_ mutable.
5716
5717         * RowList.h: add const_iterator
5718         * RowList.C: adjust for RowList::const_iterator.
5719
5720         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5721         adjust.
5722
5723 2003-03-31  John Levon  <levon@movementarian.org>
5724
5725         * lyxrc.h:
5726         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5727
5728         * lyx_main.C: set default fonts from using lyx_gui funcs
5729
5730         * exporter.C: pdf_mode moved from lyxrc
5731
5732         * lyx_cb.C:
5733         * lyxfunc.C: changes from above
5734
5735 2003-03-31  John Levon  <levon@movementarian.org>
5736
5737         * lyx_main.C: fix to the last fix
5738
5739 2003-03-31  John Levon  <levon@movementarian.org>
5740
5741         * bufferlist.C: "Load original" -> "Load Original"
5742
5743         * converter.C:
5744         * exporter.C:
5745         * importer.C:
5746         * lyx_main.C:
5747         * format.C: more Alert cleanups
5748
5749 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * text2.C (removeParagraph): make it take a RowList::iterator as
5752         arg, adjust.
5753         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5754         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5755
5756         * text.C (anchor_row): make it take a RowList::iterator as arg,
5757         adjust.
5758         (computeBidiTables): make it take a const reference to Row instead
5759         of Row pointer, adjust.
5760         (leftMargin): make it take a RowList::iterator as arg, adjust.
5761         (rowBreakPoint): adjust
5762         (breakAgainOneRow): make it take a RowList::iterator as arg,
5763         adjust.
5764         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5765
5766         * bufferview_funcs.C (toggleAndShow): adjust
5767
5768 2003-03-30  John Levon  <levon@movementarian.org>
5769
5770         * Makefile.am:
5771         * BoostFormat.h:
5772         * boost-inst.C: moved to support
5773
5774         * several files: changes as a result
5775
5776 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * text2.C (LyXText): adjust.
5779         (init): adjust
5780         (removeRow): make it take a RowList::iterator as arg, adjust.
5781         (fullRebreak): adjust
5782         (deleteEmptyParagraphMechanism): adjust
5783         (clearPaint): adjust
5784         (postPaint): adjust
5785
5786         * text.C (top_y): adjust
5787         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5788         (breakAgain): make it take a RowList::iterator as arg, adjust.
5789         (breakParagraph): adjust
5790         (insertChar): adjust
5791         (backspace): adjust
5792
5793         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5794         need_break_row, and refresh_row.
5795
5796         * text3.C (dispatch): adjust
5797
5798         * text2.C (checkParagraph): adjust
5799         (setCursor): adjust
5800         (setCursorFromCoordinates): adjust
5801
5802         * text.C (top_y): adjust
5803         (workWidth): adjust
5804         (getRow): make it return a RowList::iterator, adjust
5805         (getRowNearY): make it return a RowList::iterator, adjust
5806
5807         * text2.C (init): adjust
5808         (insertRow): remove function
5809         (insertParagraph): adjust
5810         (redoParagraphs): adjust
5811         (fullRebreak): adjust
5812         (updateCounters): adjust
5813
5814         * text.C (top_y): rewrite to use RowList iterators.
5815         (top_y): adjust
5816         (setHeightOfRow): rewrite to sue RowList iterators.
5817         (appendParagraph): adjust
5818         (breakAgain): adjust
5819         (breakAgainOneRow): adjust
5820         (breakParagraph): adjust
5821         (getRow): adjust
5822         (getRowNearY): adjust, and remove commented code.
5823
5824         * lyxtext.h (firstRow): delete function
5825         (lastRow): delete function
5826         (rows): new function (const and non-const versions.)
5827         (insertRow): delete function
5828
5829         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5830
5831 2003-03-29  John Levon  <levon@movementarian.org>
5832
5833         * BufferView_pimpl.C: always update scrollbar top
5834         because pasting text when we're anchored could mean we
5835         miss an update altogether
5836
5837 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * text2.C (init): use rowlist_.end() and not 0.
5840         (insertRow): change to take a RowList::iterator as arg, adjust
5841         for this.
5842         (insertParagraph): change to take a RowList::iterator as arg,
5843         adjust for this.
5844         (redoParagraphs): remove some debug msgs.
5845
5846         * text.C (appendParagraph): change to take a RowList::iterator
5847         arg, adjust for this.
5848         (breakAgain): add an assert
5849         (breakAgainOneRow): ditto
5850
5851 2003-03-29  John Levon  <levon@movementarian.org>
5852
5853         * text2.C: do not clear selection after inc/decDepth
5854         (bug 550)
5855
5856 2003-03-29  John Levon  <levon@movementarian.org>
5857
5858         * BufferView.C:
5859         * buffer.C: fix broken strerrors according to Lars
5860
5861 2003-03-29  John Levon  <levon@movementarian.org>
5862
5863         * converters.C: more Alert cleanups
5864
5865 2003-03-29  John Levon  <levon@movementarian.org>
5866
5867         * bufferview_funcs.C: remove pointless Alert
5868
5869         * buffer.C: fix confusing error message when
5870         a template is chmoded 000
5871
5872 2003-03-29  John Levon  <levon@movementarian.org>
5873
5874         * BufferView.C:
5875         * BufferView.h:
5876         * BufferView_pimpl.C: Alert fixes
5877
5878         * Makefile.am:
5879         * tabular.C:
5880         * tabular-old.C: remove unused table compat reading
5881
5882 2003-03-29  John Levon  <levon@movementarian.org>
5883
5884         * BufferView.C:
5885         * buffer.C:
5886         * lyx_cb.h:
5887         * lyx_cb.C: more Alert cleanups
5888
5889         * lyxfunc.C: don't allow chktex if not latex document
5890
5891 2003-03-29  John Levon  <levon@movementarian.org>
5892
5893         * lyx_cb.C:
5894         * BufferView.C:
5895         * buffer.C: warnings pushed down from support/,
5896         kill err_alert
5897
5898 2003-03-29  John Levon  <levon@movementarian.org>
5899
5900         * lyxfunc.C: safety check for C-r (revert)
5901
5902 2003-03-29  John Levon  <levon@movementarian.org>
5903
5904         * bufferlist.h:
5905         * bufferlist.C: several UI fixes using Alert::prompt.
5906         Fix the pointless looping quit code. Fix stupid revert
5907         behaviour (bug 938)
5908
5909         * lyxvc.h:
5910         * lyxvc.C:
5911         * lyx_cb.C: use Alert::prompt
5912
5913         * lyx_main.C: remove a silly question
5914
5915         * lyxfunc.C: remove a couple of silly questions,
5916         use Alert::prompt
5917
5918 2003-03-28  John Levon  <levon@movementarian.org>
5919
5920         * text2.C: fix bug 974 (End on empty par)
5921
5922 2003-03-28  John Levon  <levon@movementarian.org>
5923
5924         * BufferView_pimpl.C:
5925         * LyXAction.C:
5926         * lfuns.h: remove do-nothing math greek lfuns
5927
5928 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * lyxgluelength.h (isValidGlueLength): add default arg on
5931         parameter 2. Remove default arg from friend in class.
5932
5933         * lyxlength.h (isValidLength): add default arg on parameter 2.
5934         Remove default arg from friend in class.
5935
5936         * text2.C (LyXText): adjust, initialize refresh_row.
5937         (init): adjust
5938         (removeRow): adjust
5939         (insertRow): adjust
5940         (insertParagraph): adjst
5941         (redoParagraphs): adjust
5942         (fullRebreak): adjust
5943         (updateCounters): adjust
5944         (deleteEmptyParagraphMechanism): first attempt at fixing a
5945         crashing bug.
5946
5947         * text.C (top_y): adjust
5948         (setHeightOfRow): adjust
5949         (getRow): adjust
5950         (getRowNearY): adjust
5951
5952         * lyxtext.h: include RowList.h
5953         (~LyXText): not needed anymore, deleted.
5954         (firstRow): modify for RowList
5955         (lastRow): new function
5956         Delete firstrow and lastrow class variables, add a Rowlist
5957         rowlist_ class variable.
5958
5959         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5960         paragraph is empty.
5961
5962         * RowList.C (insert): fix case where it == begin().
5963
5964 2003-03-26  Angus Leeming  <leeming@lyx.org>
5965
5966         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5967         the thesaurus dialog.
5968
5969 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5972
5973         * RowList.[Ch]: new files
5974
5975         * ParagraphList.C (erase): handle the case where it == begin
5976         correctly.
5977
5978 2003-03-25  John Levon  <levon@movementarian.org>
5979
5980         * Makefile.am:
5981         * aspell_local.h:
5982         * aspell.C: add new aspell support
5983
5984         * lyxrc.h:
5985         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5986         have it accessible.
5987
5988 2003-03-25  Angus Leeming  <leeming@lyx.org>
5989
5990         * lfuns.h:
5991         * LyXAction.C (init): new LFUN_INSET_INSERT.
5992
5993         * BufferView_pimpl.C (dispatch): split out part of the
5994         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5995
5996         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5997         LFUN_INSET_APPLY.
5998
5999 2003-03-25  Angus Leeming  <leeming@lyx.org>
6000
6001         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6002
6003 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * text2.C:
6006         * text3.C: remove useless row->height(0)
6007
6008 2003-03-25  John Levon  <levon@movementarian.org>
6009
6010         * lyxtext.h:
6011         * text2.C:
6012         * text3.C: rename the refreshing stuff to better names
6013
6014 2003-03-24  John Levon  <levon@movementarian.org>
6015
6016         * BufferView_pimpl.h:
6017         * BufferView_pimpl.C: update layout choice on a mouse
6018         press/release
6019
6020 2003-03-23  John Levon  <levon@movementarian.org>
6021
6022         * Makefile.am: fix commandtags.h reference
6023
6024 2003-03-22  John Levon  <levon@movementarian.org>
6025
6026         * BufferView_pimpl.C:
6027         * lyxtext.h:
6028         * rowpainter.C:
6029         * rowpainter.h:
6030         * text.C:
6031         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6032
6033 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6034
6035         * lyxtext.h:
6036         * text.C: take the rtl methods out of line
6037
6038 2003-03-21 André Pönitz <poenitz@gmx.net>
6039
6040         * metricsinfo.[Ch]: new files containing structures to be passed around
6041         during the two-phase-drawing...
6042
6043 2003-03-21 André Pönitz <poenitz@gmx.net>
6044
6045         * lyxtextclass.C: read 'environment' tag.
6046
6047 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * text2.C (removeRow): fix bug 964
6050
6051 2003-03-20  John Levon  <levon@movementarian.org>
6052
6053         * rowpainter.C:
6054         * text.C:
6055         * text2.C: paint cleanups. Inset::update() dropped font
6056         parameter
6057
6058 2003-03-19  John Levon  <levon@movementarian.org>
6059
6060         * lyxfunc.C: only fitcursor/markDirty if available()
6061
6062 2003-03-19  John Levon  <levon@movementarian.org>
6063
6064         * commandtags.h: rename to ...
6065
6066         * lfuns.h: ... this, and renumber / cleanup
6067
6068 2003-03-19  John Levon  <levon@movementarian.org>
6069
6070         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6071         fit the cursor after an lfun
6072
6073         * BufferView.h:
6074         * BufferView.C:
6075         * BufferView_pimpl.h:
6076         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6077
6078         * LyXAction.C: layout-character should have ReadOnly
6079
6080         * ParagraphParameters.C:
6081         * buffer.C:
6082         * bufferview_funcs.C:
6083         * lyx_cb.C:
6084         * lyxfind.C:
6085         * lyxtext.h:
6086         * text.C:
6087         * text2.C:
6088         * text3.C:
6089         * undo_funcs.C: changes from above
6090
6091 2003-03-18  John Levon  <levon@movementarian.org>
6092
6093         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6094         remove it from update()
6095
6096         * lyxfunc.C: update layout choice after an lfun
6097
6098         * text3.C: remove extra updateLayoutChoice()s
6099
6100 2003-03-18  John Levon  <levon@movementarian.org>
6101
6102         * text.C: top_y change means full repaint, fix
6103         a drawing bug with cursor movement
6104
6105 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6106
6107         * lyxtext.h:
6108         * text.C:
6109         * text2.C: anchor row on setCursor
6110
6111 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * lyxtext.h: remove almost all mutable keywords
6114         * text.C:
6115         * text2.C:
6116         * text3.C: remove const keywords accordingly
6117
6118 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6121         anon namespace
6122         (TeXEnvironment): ditto
6123         (TeXOnePar): ditto
6124
6125 2003-03-17  John Levon  <levon@movementarian.org>
6126
6127         * text.C (rowBreakPoint): remove attempt to fix displayed
6128         math insets inside a manual label
6129
6130 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6131
6132         * lyxtext.h: remove BufferView* as first arg from almost all class
6133         functions.
6134         * other files: adjust.
6135
6136 2003-03-17  John Levon  <levon@movementarian.org>
6137
6138         * lyxtext.h:
6139         * undo_funcs.C:
6140         * text2.C: more paint cleanups
6141
6142         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6143
6144         * rowpainter.h:
6145         * rowpainter.C: remove "smart" background painting code
6146
6147 2003-03-16  John Levon  <levon@movementarian.org>
6148
6149         * lyxtext.h:
6150         * text.C:
6151         * text2.C:
6152         * text3.C: add helper functions for setting refresh_row/y
6153
6154 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6155
6156         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6157         newline inset which *can* get inserted in the pass_thru layouts.
6158         This is primarily for literate documents.
6159
6160 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6161
6162         * buffer.C: increment LYX_FORMAT to 223
6163
6164 2003-03-14 André Pönitz <poenitz@gmx.net>
6165
6166         * textclass.h: prepare for environment handling, ws changes
6167         * lyxlayout.C: read latexheader and latexfooter tags
6168
6169 2003-03-14  John Levon  <levon@movementarian.org>
6170
6171         * text2.C: rewrite ::status() a bit
6172
6173 2003-03-13  John Levon  <levon@movementarian.org>
6174
6175         * lyxtext.h: add some docs
6176
6177 2003-03-13  John Levon  <levon@movementarian.org>
6178
6179         * lyxtext.h:
6180         * text.C:
6181         * text2.C:
6182         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6183
6184 2003-03-13  John Levon  <levon@movementarian.org>
6185
6186         * text3.C: fix appendix redrawing
6187
6188 2003-03-13  John Levon  <levon@movementarian.org>
6189
6190         * text.C (setHeightOfRow):
6191         * rowpainter.h:
6192         * rowpainter.C: make appendix mark have the text
6193           "Appendix" so the user knows what it is
6194
6195         * LColor.h:
6196         * LColor.C: s/appendixline/appendix/ from above
6197
6198 2003-03-13  John Levon  <levon@movementarian.org>
6199
6200         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6201
6202         * text.C: fix a getChar(pos) bug properly
6203
6204 2003-03-13  Angus Leeming  <leeming@lyx.org>
6205
6206         * commandtags.h:
6207         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6208         Probably only temporary. Let's see how things pan out.
6209
6210         * BufferView.C (unlockInset):
6211         * BufferView_pimpl.C (fitCursor):
6212         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6213
6214         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6215         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6216
6217         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6218         new functions that convert ParagraphParameters to and from a string.
6219
6220         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6221         BufferView::Pimpl's dispatch.
6222         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6223
6224 2003-03-13 André Pönitz <poenitz@gmx.net>
6225
6226         * lyxfunc.C:
6227         * text3.C:
6228         * factory.C: make it aware of InsetEnv
6229
6230 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * text2.C (setCursor): never ask for one past last
6233         (setCursor): add some debugging messages.
6234
6235         * text.C (singleWidth): never ask for one past last
6236         (singleWidth): ditto
6237         (leftMargin): ditto
6238         (rightMargin): ditto
6239         (rowBreakPoint): ditto
6240         (setHeightOfRow): ditto
6241         (prepareToPrint): ditto
6242
6243         * rowpainter.C (paintBackground): never ask for one past last
6244         (paintText): never ask for one past last
6245
6246         * paragraph_pimpl.C (getChar): make the assert stricter, never
6247         allow the one past last pos to be taken
6248
6249         * paragraph.C (getChar): ws changes only
6250
6251         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6252         (numberOfSeparators): ditto
6253         (numberOfHfills): ditto
6254
6255 2003-03-12  John Levon  <levon@movementarian.org>
6256
6257         * author.h:
6258         * author.C:
6259         * bufferparams.h:
6260         * bufferparams.C:
6261         * paragraph_funcs.C: fix per-buffer authorlists
6262
6263 2003-03-12  John Levon  <levon@movementarian.org>
6264
6265         * text.C: fix newline in right address
6266
6267 2003-03-12  Angus Leeming  <leeming@lyx.org>
6268
6269         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6270         duplicate those in LyXFunc::dispatch.
6271
6272         * commandtags.h:
6273         * LyXAction.C:
6274         * ToolbarDefaults.C:
6275         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6276         Add LFUN_FONTFREE_UPDATE.
6277
6278         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6279         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6280
6281         * bufferview_func.[Ch]: several new functions to facilliate
6282         transfer of data to and from the character dialog.
6283
6284 2003-03-12  John Levon  <levon@movementarian.org>
6285
6286         * buffer.C:
6287         * paragraph.h:
6288         * paragraph.C:
6289         * paragraph_funcs.C:
6290         * paragraph_pimpl.C:
6291         * sgml.C:
6292         * tabular.C:
6293         * text.C:
6294         * text3.C: remove META_NEWLINE in favour of an inset
6295
6296         * rowpainter.h:
6297         * rowpainter.C: remove paintNewline (done by inset)
6298
6299 2003-03-12  John Levon  <levon@movementarian.org>
6300
6301         * paragraph_pimpl.C: complain about bad getChar()s
6302         for a while at least
6303
6304 2003-03-12  John Levon  <levon@movementarian.org>
6305
6306         * buffer.h:
6307         * buffer.C: move paragraph read into a separate function,
6308         a little renaming to reflect that.
6309
6310         * bufferparams.h:
6311         * bufferparams.C: remove the author_ids map, not necessary now
6312
6313         * factory.h:
6314         * factory.C: moved Buffer::readInset to here
6315
6316         * paragraph_funcs.h:
6317         * paragraph_funcs.C: readParagraph free function moved from
6318         buffer.C
6319
6320         * tabular.C: name change
6321
6322 2003-03-12  John Levon  <levon@movementarian.org>
6323
6324         * buffer.C:
6325         * ParagraphParameters.C: move par params input to
6326         a read() method
6327
6328         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6329         behave like a normal read from the stream wrt reading
6330         a line vs. a \\token
6331
6332 2003-03-12  John Levon  <levon@movementarian.org>
6333
6334         * paragraph.C:
6335         * ParagraphParameters.h:
6336         * ParagraphParameters.C: move output code to a
6337         ::write() method
6338
6339 2003-03-12  John Levon  <levon@movementarian.org>
6340
6341         * BufferView.C (insertLyXFile):
6342         * buffer.h:
6343         * buffer.C:
6344         * tabular.C: use a parlist iterator for creating the
6345           document.
6346
6347 2003-03-12  John Levon  <levon@movementarian.org>
6348
6349         * buffer.C: make current_change static local not
6350           static file-scope
6351
6352 2003-03-12  John Levon  <levon@movementarian.org>
6353
6354         * buffer.C: fix insertStringAsLines for change tracking
6355
6356 2003-03-12  John Levon  <levon@movementarian.org>
6357
6358         * BufferView.C:
6359         * tabular.C:
6360         * buffer.h:
6361         * buffer.C:
6362         * bufferparams.h:
6363         * bufferparams.C: move author list into params. Rename some
6364           functions. Move the header reading into a separate token
6365           loop. Move the header token reading into BufferParams.
6366
6367 2003-03-12  John Levon  <levon@movementarian.org>
6368
6369         * changes.C: put debug inside lyxerr.debugging() checks
6370
6371 2003-03-11 André Pönitz <poenitz@gmx.net>
6372
6373         * factory.C: make it aware of InsetHFill
6374
6375 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6376
6377         * buffer.C (latexParagraphs): move function from here...
6378         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6379         args.
6380
6381 2003-03-10  Angus Leeming  <leeming@lyx.org>
6382
6383         * LyXAction.C (init): fix bug in poplating array with multiple entries
6384         with the same LFUN (spotted by JMarc).
6385
6386 2003-03-10  John Levon  <levon@movementarian.org>
6387
6388         * text.C:
6389         * text2.C: move getColumnNearX() near its
6390         only call site
6391
6392 2003-03-10  John Levon  <levon@movementarian.org>
6393
6394         * text.C: fix break before a minipage
6395
6396 2003-03-10  John Levon  <levon@movementarian.org>
6397
6398         * text.C: fix the last commit
6399
6400 2003-03-09  John Levon  <levon@movementarian.org>
6401
6402         * lyxtext.h:
6403         * text.C:
6404         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6405         bug 365 (don't break before insets unless needed). Don't
6406         return a value > last under any circumstances.
6407
6408 2003-03-09  Angus Leeming  <leeming@lyx.org>
6409
6410         * BufferView_pimpl.C (trackChanges, dispatch): call
6411         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6412
6413 2003-03-09  Angus Leeming  <leeming@lyx.org>
6414
6415         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6416         than Dialogs::showAboutlyx().
6417
6418 2003-03-09  Angus Leeming  <leeming@lyx.org>
6419
6420         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6421         than Dialogs::showTabularCreate().
6422
6423 2003-03-09  John Levon  <levon@movementarian.org>
6424
6425         * lyxtext.h:
6426         * text.C:
6427         * text2.C: 3rd arg to nextBreakPoint was always the same.
6428           Use references.
6429
6430 2003-03-08  John Levon  <levon@movementarian.org>
6431
6432         * lyxrow.C:
6433         * paragraph.C:
6434         * paragraph.h:
6435         * rowpainter.C:
6436         * text.C:
6437         * text2.C: Remove the "main" bit from the "main body"
6438           notion.
6439
6440 2003-03-08  John Levon  <levon@movementarian.org>
6441
6442         * text.C (leftMargin): The left margin of an empty
6443         manual label paragraph should not include the label width
6444         string length.
6445
6446         * text.C (prepareToPrint): don't attempt to measure hfills
6447         for empty manual label paragraphs - the answer should be 0
6448
6449 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * CutAndPaste.C: remove commented code and reindent.
6452
6453 2003-03-08  John Levon  <levon@movementarian.org>
6454
6455         * lyxfunc.h:
6456         * lyxfunc.C: move reloadBuffer()
6457
6458         * BufferView.h:
6459         * BufferView.C: to here
6460
6461         * lyxvc.C: add comment
6462
6463         * vc-backend.h:
6464         * vc-backend.C: call bv->reload() to avoid
6465           getStatus() check on MENURELOAD
6466
6467 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6468
6469         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6470         to an old format .dep file.
6471
6472 2003-03-07  Angus Leeming  <leeming@lyx.org>
6473
6474         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6475         when the LFUN_MOUSE_RELEASE should have been handled by
6476         inset->localDispatch.
6477
6478 2003-03-07  Angus Leeming  <leeming@lyx.org>
6479
6480         * BufferView_pimpl.C (dispatch):
6481         * LyXAction.C (init):
6482         * ToolbarDefaults.C (init):
6483         * commandtags.h:
6484         * lyxfunc.C (getStatus):
6485         remove LFUN_INSET_GRAPHICS.
6486
6487         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6488
6489 2003-03-07  Angus Leeming  <leeming@lyx.org>
6490
6491         * commandtags.h:
6492         * LyXAction.C (init):
6493         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6494
6495         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6496
6497         * commandtags.h:
6498         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6499
6500         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6501         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6502
6503 2003-03-07  Angus Leeming  <leeming@lyx.org>
6504
6505         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6506         remove "ert".
6507
6508 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * ParagraphList.C (front): new function
6511         (back): implement
6512
6513 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6516         and top_row_offset_. removed var first_y.
6517         * text.C (top_y):
6518         * text2.C (LyXText, removeRow):
6519         * text3.C:
6520         * BufferView_pimpl.C:
6521         use these methods instead of using first_y
6522
6523 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * text2.C (pasteSelection): adjust for checkPastePossible
6526
6527         * CutAndPaste.C: remove Paragraph * buf and replace with
6528         ParagraphList paragraphs.
6529         (DeleteBuffer): delete
6530         (cutSelection): change the tc type to textclass_type
6531         (copySelection): change the tc type to textclass_type
6532         (copySelection): adjust for ParagraphList
6533         (pasteSelection): change the tc type to textclass_type
6534         (pasteSelection): adjust for Paragraphlist
6535         (nrOfParagraphs): simplify for ParagraphList
6536         (checkPastePossible): simplify for ParagraphList
6537         (checkPastePossible): remove unused arg
6538
6539         * ParagraphList.C (insert): handle the case where there are no
6540         paragraphs yet.
6541
6542         * CutAndPaste.h: make CutAndPaste a namespace.
6543
6544         * text3.C (dispatch): adjust
6545
6546         * text.C (breakParagraph): add a ParagraphList as arg
6547
6548         * paragraph_funcs.C (breakParagraph): change to take a
6549         BufferParams and a ParagraphList as args.
6550         (breakParagraphConservative): ditto
6551         (mergeParagraph): ditto
6552         (TeXDeeper): add a ParagraphList arg
6553         (TeXEnvironment): ditto
6554         (TeXOnePar): ditto
6555
6556         * buffer.C (readLyXformat2): adjust
6557         (insertStringAsLines): adjust
6558         (latexParagraphs): adjust
6559
6560         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6561         (cutSelection): adjust
6562         (pasteSelection): adjust
6563
6564         * BufferView_pimpl.C (insertInset): adjust
6565
6566 2003-03-05  Angus Leeming  <leeming@lyx.org>
6567
6568         * commandtags.h:
6569         * LyXAction.C (init):
6570         * BufferView_pimpl.C (dispatch):
6571         * lyxfunc.C (getStatus):
6572         remove LFUN_CHILD_INSERT.
6573
6574         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6575
6576 2003-03-05  Angus Leeming  <leeming@lyx.org>
6577
6578         * commandtags.h:
6579         * LyXAction.C (init):
6580         * src/factory.C (createInset):
6581         * lyxfunc.C (getStatus):
6582         * text3.C (dispatch):
6583         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6584
6585         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6586
6587 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * ParagraphList.C (insert): handle insert right before end()
6590         (erase): fix cases where it can be first or last paragraph.
6591
6592 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6595         Paragraph::next and Paragraph::previous
6596         (TeXOnePar): ditto
6597
6598         * text.C (breakParagraph): adjust
6599
6600         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6601         BufferParams& as arg.
6602         (breakParagraph): use ParagraphList::insert
6603         (breakParagraphConservative): take a Buffer* instead of a
6604         BufferParams& as arg.
6605         (breakParagraphConservative): use ParagraphList::insert.
6606
6607         * buffer.C (insertStringAsLines): un-const it
6608         (insertStringAsLines): adjust
6609
6610         * ParagraphList.C (insert): new function
6611
6612         * CutAndPaste.C (pasteSelection): adjust
6613
6614         * text.C (backspace): adjust
6615
6616         * tabular.C (SetMultiColumn): adjust
6617
6618         * CutAndPaste.C (cutSelection): adjust
6619         (pasteSelection): adjust
6620
6621         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6622         Buffer const * as arg
6623
6624         * ParagraphList.C (erase): new function
6625         * paragraph_funcs.C (mergeParagraph): use it
6626         (mergeParagraph): make it take a Buffer* instead of a
6627         BufferParams* as arg
6628
6629         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6630         as arg
6631         (breakParagraphConservative): ditto
6632
6633         * paragraph.h: remove the breakParagraph friend
6634
6635         * paragraph.C (eraseIntern): new function
6636         (setChange): new function
6637
6638         * paragraph_funcs.C (mergeParagraph): make it take a
6639         ParagraphList::iterator instead of a Paragraph *, adjust
6640         accordingly.
6641
6642         * paragraph.h: move an #endif so that the change tracking stuff
6643         also works in the NO_NEXT case.
6644
6645 2003-03-04  Angus Leeming  <leeming@lyx.org>
6646
6647         * commandtags.h:
6648         * LyXAction.C: new LFUN_INSET_MODIFY.
6649
6650         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6651         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6652
6653 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * several files: ws changes only
6656
6657         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6658         (TeXEnvironment): ditto
6659         (TeXDeeper): ditto
6660
6661         * buffer.C (makeLaTeXFile): adjust
6662         (latexParagraphs): make it take ParagraphList::iterator as args
6663
6664 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * buffer.C (latexParagraphs): adjust
6667
6668         * paragraph.C (TeXOnePar): move function...
6669         (optArgInset): move function...
6670         (TeXEnvironment): move function...
6671         * paragraph_pimpl.C (TeXDeeper): move function...
6672         * paragraph_funcs.C: ...here
6673
6674         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6675
6676 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * buffer.C (readInset): remove compability code for old Figure and
6679         InsetInfo insets
6680
6681 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * buffer.C: ws changes
6684         (readInset):
6685
6686         * BufferView_pimpl.C: ditto
6687         * author.C: ditto
6688         * buffer.h: ditto
6689         * bufferlist.h: ditto
6690         * changes.h: ditto
6691         * lyxfunc.C: ditto
6692
6693 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6694
6695         * converter.[Ch]: split into itself +
6696         * graph.[Ch]
6697         * format.[Ch]
6698         * Makefile.am: += graph.[Ch] + format.[Ch]
6699         * MenuBackend.C
6700         * buffer.C
6701         * exporter.C
6702         * importer.C
6703         * lyx_main.C
6704         * lyxfunc.C
6705         * lyxrc.C: added #include "format.h"
6706
6707 2003-02-27  Angus Leeming  <leeming@lyx.org>
6708
6709         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6710           a label.
6711
6712         * factory.C (createInset): add "label" to the factory.
6713
6714         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6715           string and do no more.
6716
6717 2003-02-27  Angus Leeming  <leeming@lyx.org>
6718
6719         * commandtags.h:
6720         * LyXAction.C (init):
6721         * factory.C (createInset):
6722         * BufferView_pimpl.C (dispatch):
6723           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6724
6725         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6726
6727         * lyxfunc.C (dispatch):
6728         * text3.C (dispatch): pass name to params2string.
6729
6730 2003-02-26  Angus Leeming  <leeming@lyx.org>
6731
6732         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6733           blocks together.
6734           Rearrange the ~includes. Strip out the unnecessary ones.
6735
6736         * factory.C (createInset): reformat.
6737           create new insets for the various LFUN_XYZ_APPLY lfuns.
6738
6739 2003-02-26  John Levon  <levon@movementarian.org>
6740
6741         * lyxrow.h:
6742         * lyxrow.C: add isParStart,isParEnd helpers
6743
6744         * paragraph.h: make isInserted/DeletedText take refs
6745
6746         * paragraph_funcs.h:
6747         * paragraph_funcs.C: remove #if 0'd code
6748
6749         * lyxtext.h:
6750         * text3.C:
6751         * text2.C:
6752         * text.C: use lyxrow helpers above.
6753           Move draw and paint routines to RowPainter.
6754           Make several methods use refs not pointers.
6755           Make backgroundColor() const.
6756           Add markChangeInDraw(), isInInset().
6757           Merge changeRegionCase into changeCase.
6758           Make workWidth() shouldn't-happen code into an Assert.
6759
6760         * rowpainter.h:
6761         * rowpainter.C: new class for painting a row.
6762
6763         * vspace.h:
6764         * vspace.C: make inPixels take a ref
6765
6766 2003-02-26  Angus Leeming  <leeming@lyx.org>
6767
6768         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6769         LFUN_REF_APPLY.
6770
6771 2003-02-25  John Levon  <levon@movementarian.org>
6772
6773         * ispell.C: give the forked command a more accurate name
6774
6775 2003-02-22  John Levon  <levon@movementarian.org>
6776
6777         * toc.h:
6778         * toc.C: make TocItem store an id not a Paragraph *
6779           (bug #913)
6780
6781 2003-02-21  Angus Leeming  <leeming@lyx.org>
6782
6783         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6784           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6785           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6786           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6787           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6788           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6789
6790         * BufferView_pimpl.C (dispatch):
6791         * LyXAction.C (init):
6792         * factory.C (createInset):
6793         * lyxfunc.C (getStatus, dispatch):
6794         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6795
6796 2003-02-21  Angus Leeming  <leeming@lyx.org>
6797
6798         * BufferView_pimpl.C (MenuInsertLyXFile):
6799         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6800         * lyxfunc.C (menuNew, open, doImport):
6801           no longer pass a LyXView & to fileDlg.
6802
6803 2003-02-21  Angus Leeming  <leeming@lyx.org>
6804
6805         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6806         * LyXAction.C: change, BIBKEY to BIBITEM.
6807         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6808         Change InsetBibKey to InsetBibitem.
6809         Change BIBKEY_CODE to BIBITEM_CODE.
6810         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6811         * factory.C: replace insetbib.h with insetbibitem.h.
6812         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6813         * paragraph.C: replace insetbib.h with insetbibitem.h.
6814         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6815         Change bibkey() to bibitem().
6816         * text.C: remove insetbib.h.
6817         * text2.C: replace insetbib.h with insetbibitem.h.
6818         change bibkey() to bibitem().
6819         * text3.C: remove insetbib.h.
6820         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6821
6822 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6823
6824         * lyxrc.C (output): enclose user email in quotes (in case there are
6825         several words)
6826
6827 2003-02-18  John Levon  <levon@movementarian.org>
6828
6829         * buffer.h: add std::
6830
6831 2003-02-17  John Levon  <levon@movementarian.org>
6832
6833         * SpellBase.h:
6834         * ispell.h:
6835         * ispell.C:
6836         * pspell.h:
6837         * pspell.C: reworking. Especially in ispell, a large
6838           number of clean ups and bug fixes.
6839
6840         * lyxfunc.C: fix revert to behave sensibly
6841
6842 2003-02-17 André Pönitz <poenitz@gmx.net>
6843
6844         * LyXAction.C:
6845         * commandtags.h: new LFUN_INSERT_BIBKEY
6846
6847         * layout.h:
6848         * lyxlayout.C:
6849         * buffer.C:
6850         * factory.C:
6851         * text.C:
6852         * text2.C:
6853         * text3.C:
6854         * paragraph.[Ch]:
6855         * paragraph_func.C: remove special bibkey handling
6856
6857 2003-02-17  John Levon  <levon@movementarian.org>
6858
6859         * text.C (Delete): fix case where delete at the end of
6860           the very first paragraph would not merge the pars
6861
6862 2003-02-17  John Levon  <levon@movementarian.org>
6863
6864         * lyxrow.C: fix lastPrintablePos()
6865
6866 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6867
6868         * bufferparams.C (writeLaTeX): add a std:here
6869
6870         * buffer.C: and remove a using directive there
6871
6872 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6873
6874         * buffer.C (makeLaTeXFile): move the code that generates the
6875           preamble...
6876
6877         * bufferparams.C (writeLaTeX): ... in this new method
6878
6879         * LaTeXFeatures.C (getEncodingSet): make const
6880           (getLanguages): make const
6881
6882         * MenuBackend.C (binding): returns the binding associated to this
6883           action
6884           (add): sets the status of each item by calling getStatus. Adds
6885           some intelligence.
6886           (read): add support for OptSubMenu
6887           (expand): remove extra separator at the end of expanded menu
6888
6889 2003-02-15  John Levon  <levon@movementarian.org>
6890
6891         * BufferView.C:
6892         * BufferView_pimpl.C:
6893         * bufferlist.h:
6894         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6895           inset code that had no actual effect. Remove unneeded status
6896           code.
6897
6898 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6899
6900         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6901           in preamble
6902
6903 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6904
6905         * text.C (drawLengthMarker): also draw an arrow marker for
6906           symbolic lengths (medskip...)
6907
6908 2003-02-14  John Levon  <levon@movementarian.org>
6909
6910         * tabular.h:
6911         * tabular.C: better method names
6912
6913 2003-02-14  John Levon  <levon@movementarian.org>
6914
6915         * BufferView_pimpl.C:
6916         * bufferlist.C:
6917         * buffer.C:
6918         * converter.C:
6919         * lyx_cb.C:
6920         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6921           it's a more accurate name. Remove some pointless uses.
6922
6923 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6924
6925         * text2.C (LyXText): change order of initilizers to shut off
6926           warnings
6927
6928 2003-02-14  John Levon  <levon@movementarian.org>
6929
6930         * buffer.C: use ParIterator for getParFromID()
6931
6932         * paragraph.h:
6933         * paragraph.C:
6934         * paragraph_pimpl.h:
6935         * paragraph_pimpl.C: remove unused getParFromID()
6936
6937 2003-02-14  John Levon  <levon@movementarian.org>
6938
6939         * buffer.C: remove some very old #if 0'd parse code
6940
6941 2003-02-13  John Levon  <levon@movementarian.org>
6942
6943         * text.h:
6944         * text.C:
6945         * text2.C: move hfillExpansion(), numberOfSeparators(),
6946           rowLast(), rowLastPrintable(), numberofHfills(),
6947           numberOfLabelHfills() ...
6948
6949         * lyxrow.h:
6950         * lyxrow.C: ... to member functions here.
6951
6952         * paragraph.h:
6953         * paragraph.C:
6954         * lyxtext.h:
6955         * text.C: remove LyXText::beginningOfMainBody(), and call
6956           p->beginningOfMainBody() directly. Move the check for
6957           LABEL_MANUAL into the latter.
6958
6959         * text.h:
6960         * text.C:
6961         * text2.C:
6962         * vspace.C:
6963         * BufferView.h:
6964         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6965
6966         * text.h:
6967         * text.C:
6968         * text2.C:
6969         * text3.C:
6970         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6971           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6972
6973 2003-02-13  John Levon  <levon@movementarian.org>
6974
6975         * CutAndPaste.C: remove debug
6976
6977 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6978
6979         * paragraph.C (asString): remove two unused variables
6980
6981         * lyxtextclass.C (readTitleType):
6982           (Read):
6983           (LyXTextClass): handle new members titletype_ and titlename_
6984
6985         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6986
6987 2003-02-09  John Levon  <levon@movementarian.org>
6988
6989         * buffer.h:
6990         * buffer.C: replace hand-coded list with a map for the dep clean
6991
6992 2003-02-08  John Levon  <levon@movementarian.org>
6993
6994         * LaTeX.C: consolidate code into showRunMessage() helper
6995
6996 2003-02-08  John Levon  <levon@movementarian.org>
6997
6998         * lyxfind.C:
6999         * lyxtext.h:
7000         * text2.C:
7001         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7002           and pass the size in explicitly
7003
7004         * BufferView_pimpl.h:
7005         * BufferView_pimpl.C:
7006         * BufferView.h:
7007         * BufferView.C: add getCurrentChange()
7008
7009         * BufferView_pimpl.h:
7010         * BufferView_pimpl.C: handle change lfuns
7011
7012         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7013           for changes. Mark pasted paragraphs as new.
7014
7015         * support/lyxtime.h:
7016         * support/lyxtime.C:
7017         * DepTable.C: abstract time_t as lyx::time_type
7018
7019         * LColor.h:
7020         * LColor.C: add colours for new text, deleted text, changebars
7021
7022         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7023           package use "usenames" option.
7024
7025         * commandtags.h:
7026         * lyxfunc.C:
7027         * LyXAction.C: add change lfuns
7028
7029         * Makefile.am:
7030         * author.h:
7031         * author.C: author handling
7032
7033         * buffer.h:
7034         * buffer.C: add a per-buffer author list, with first entry as
7035           current author. Handle new .lyx tokens for change tracking. Output
7036           author list to .lyx file. Output dvipost stuff to .tex preamble.
7037           Bump lyx format to 222.
7038
7039         * bufferlist.h:
7040         * bufferlist.C: add setCurrentAuthor() to reset current author details
7041           in all buffers.
7042
7043         * bufferparams.h:
7044         * bufferparams.C: add param for tracking
7045
7046         * bufferview_funcs.C: output change info in minibuffer
7047
7048         * Makefile.am:
7049         * changes.h:
7050         * changes.C: add change-tracking structure
7051
7052         * debug.h:
7053         * debug.C: add CHANGES debug flag
7054
7055         * lyxfind.h:
7056         * lyxfind.C: add code for finding the next change piece
7057
7058         * lyxrc.h:
7059         * lyxrc.C: add user_name and user_email
7060
7061         * lyxrow.h:
7062         * lyxrow.C: add a metric for the top of the text line
7063
7064         * lyxtext.h:
7065         * text.C: implement accept/rejectChange()
7066
7067         * lyxtext.h:
7068         * text.C: paint changebars. Paint new/deleted text in the chosen
7069         colours. Strike through deleted text.
7070
7071         * paragraph.h:
7072         * paragraph.C:
7073         * paragraph_pimpl.h:
7074         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7075           in the current change to the insert functions. Rework erase to
7076           mark text as deleted, adding an eraseIntern() and a range-based
7077           erase(). Implement per-paragraph change lookup and
7078           accept/reject.
7079
7080         * paragraph_funcs.C: Fixup paste for change tracking.
7081
7082         * tabular.C: mark added row/columns as new.
7083
7084         * text.C: fix rowLast() to never return -1. Don't allow
7085           spellchecking of deleted text. Track transpose changes. Don't
7086           allow paragraph break or merge where appropriate.
7087
7088         * text2.C: leave cursor at end of selection after a cut.
7089
7090 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7091
7092         * text.C (getLengthMarkerHeight):
7093         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7094         visible on screen too.
7095
7096 2003-02-07  John Levon  <levon@movementarian.org>
7097
7098         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7099
7100 2003-02-05  Angus Leeming  <leeming@lyx.org>
7101
7102         * lyxserver.C (read_ready): revert my patch of 11 September last year
7103         as it sends PC cpu through the roof. Presumably this means that
7104         the lyxserver will no longer run on an Alpha...
7105
7106 2003-01-30  Angus Leeming  <leeming@lyx.org>
7107
7108         * factory.C (createInset): create an InsetCommandParam of type "index"
7109         and use it to 'do the right thing'.
7110
7111         * text2.C (getStringToIndex): ensure that cursor position is always
7112         reset to the reset_cursor position.
7113
7114 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7115
7116         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7117         disabled.
7118
7119 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7120
7121         * bufferview.C:
7122         * lyxcb.C:
7123         * lyxfunc.C: Output messages with identical spelling, punctuation,
7124         and spaces
7125
7126 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7127
7128         * MenuBackend.C (expandFormats): List only viewable export formats
7129         in "View" menu
7130
7131         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7132         message
7133
7134         * lyxfunc.C (getStatus): Make sure that formats other than
7135         "fax" can also be disabled
7136
7137 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7138
7139         * text3.C (dispatch): put the lfuns that insert insets in 3
7140         groups, and call doInsertInset with appropriate arguments.
7141         (doInsertInset): new function, that creates an inset and inserts
7142         it according to some boolean parameters.
7143
7144 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * buffer.C (readFile): remember to pass on 'par' when calling
7147         readFile recursively.
7148
7149 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7150
7151         * MenuBackend.C (expandFormats): add "..." to import formats.
7152
7153 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7154
7155         * paragraph.C (asString): Remove XForms RTL hacks.
7156
7157 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7158         * buffer.C: fix typo
7159
7160 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * Makefile.am (LIBS): delete var
7163         (lyx_LDADD): add @LIBS@ here instead.
7164
7165 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7166
7167         * Clarify the meaning of "wheel mouse jump"
7168
7169 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7170
7171         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7172         tabular in a float
7173
7174 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7175
7176         * importer.C (Loaders): do not preallocate 3 elements in the
7177         vector, since one ends up with 6 elements otherwise
7178
7179 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7180
7181         * DepTable.C (write): write the file name as last element of the
7182         .dep file (because it may contain spaces)
7183         (read): read info in the right order
7184
7185 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * paragraph_pimpl.C (simpleTeXBlanks):
7188         (simpleTeXSpecialChars):
7189         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7190
7191         * tabular.C (latex): add some missing case statements. Reindent.
7192
7193         * MenuBackend.C (expandToc): remove unused variable.
7194
7195 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7196
7197         * LColor.C:
7198         * LaTeX.C:
7199         * LyXAction.C:
7200         * MenuBackend.C:
7201         * buffer.C:
7202         * exporter.C:
7203         * lyxfunc.C:
7204         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7205         and the like.
7206
7207 2003-01-05  John Levon  <levon@movementarian.org>
7208
7209         * BufferView.h:
7210         * BufferView.C: add getEncoding()
7211
7212         * kbsequence.h:
7213         * kbsequence.C: do not store last keypress
7214
7215         * lyxfunc.h:
7216         * lyxfunc.C: store last keypress here instead. Pass encoding
7217           to getISOEncoded()
7218
7219 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7220
7221         * lyx_main.C (init): remove annoying error message when following
7222         symbolic links (bug #780)
7223
7224 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7225
7226         * text.C (insertChar):
7227         * lyxrc.C (getDescription): remove extra spaces
7228
7229 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7230
7231         * lyxrc.C (getDescription): remove extra spaces
7232
7233 2002-12-20  John Levon  <levon@movementarian.org>
7234
7235         * text3.C: hack fix for page up/down across tall rows
7236
7237 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7240         not been invoked
7241
7242 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7243
7244         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7245         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7246         thesaurus is not compiled in
7247
7248 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7249
7250         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7251
7252 2002-12-16  Angus Leeming  <leeming@lyx.org>
7253
7254         * lyxrc.[Ch]:
7255         * lyx_main.C (init): remove override_x_deadkeys stuff.
7256
7257 2002-12-12  John Levon  <levon@movementarian.org>
7258
7259         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7260           insert. Only remove shift modifier under strict
7261           circumstances.
7262
7263 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * MenuBackend.C (expandToc): fix crash.
7266
7267 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * MenuBackend.C (expandToc): gettext on float names.
7270
7271 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7272
7273         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7274         implement bool empty() [bug 490]
7275
7276 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7279
7280 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * several files: ws changes
7283
7284 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * text2.C (setCounter): clean up a bit, use boost.format.
7287         (updateCounters): initialize par upon declaration.
7288
7289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7290         if the layout exists. We do not just store the layout any more.
7291         (SwitchLayoutsBetweenClasses): use boost.format
7292
7293 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7294
7295         * converter.C (convert): if from and to files are the same, use a
7296         temporary files as intermediary
7297
7298 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7299
7300         * commandtags.h:
7301         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7302
7303 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7304
7305         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7306
7307 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * tabular.C (asciiPrintCell): use string(size, char) instead of
7310         explicit loop.
7311
7312         * sgml.C (openTag): fix order of arguments to string constructor
7313         (closeTag): ditto
7314
7315         * lyxfunc.C (dispatch): use boost.format
7316
7317         * lots of files: change "c" -> 'c'
7318
7319 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7320
7321         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7322
7323 2002-11-25  Angus Leeming  <leeming@lyx.org>
7324
7325         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7326
7327         * lyx_main.C (init): compile fix.
7328
7329 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * lyx_cb.C (start): boost.formatify
7332         do not include <iostream>
7333
7334         * lengthcommon.C: ws only
7335
7336         * boost-inst.C,BoostFormat.h: add more explict instantations
7337
7338 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * lots of files: handle USE_BOOST_FORMAT
7341
7342 2002-11-21  John Levon  <levon@movementarian.org>
7343
7344         * pspell.C: fix compile
7345
7346 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7347
7348         * lyxfunc.C (dispatch): use boost::format
7349         (open): ditto
7350         (doImport): ditto
7351
7352         * lyxfont.C (stateText): use boost::format
7353
7354         * lyx_main.C (LyX): use boost::format
7355         (init): ditto
7356         (queryUserLyXDir): ditto
7357         (readRcFile): ditto
7358         (parse_dbg): ditto
7359         (typedef boost::function): use the recommened syntax.
7360
7361         * importer.C (Import): use boost::format
7362
7363         * debug.C (showLevel): use boost::format
7364
7365         * converter.C (view): use boost::format
7366         (convert): ditto
7367         (move): ditto
7368         (scanLog): ditto
7369
7370         * bufferview_funcs.C (currentState): use boost::format
7371
7372         * bufferlist.C (emergencyWrite): use boost::format
7373
7374         * buffer.C (readLyXformat2): use boost::format
7375         (parseSingleLyXformat2Token): ditto
7376
7377         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7378
7379         * LaTeX.C (run): use boost::format
7380
7381         * Chktex.C (scanLogFile): use boost::format
7382
7383         * BufferView_pimpl.C (savePosition): use boost::format
7384         (restorePosition): ditto
7385         (MenuInsertLyXFile): ditto
7386
7387         * BoostFormat.h: help file for explicit instation.
7388
7389 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7390
7391         * tabular.C (latex): Support for block alignment in fixed width
7392         columns.
7393
7394 2002-11-17  John Levon  <levon@movementarian.org>
7395
7396         * BufferView_pimpl.C:
7397         * lyx_cb.C:
7398         * lyxfunc.C: split filedialog into open/save
7399
7400 2002-11-08  Juergen Vigna  <jug@sad.it>
7401
7402         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7403         by my last patch (hopefully).
7404
7405 2002-11-08  John Levon  <levon@movementarian.org>
7406
7407         * iterators.h:
7408         * iterators.C:
7409         * buffer.h:
7410         * buffer.C:
7411         * paragraph.h:
7412         * paragraph.C:
7413         * toc.h:
7414         * toc.C: ParConstIterator, and use it (from Lars)
7415
7416 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7417
7418         * lyxtextclass.[Ch]: revise and add doxygen comments
7419
7420 2002-11-07  John Levon  <levon@movementarian.org>
7421
7422         * text.C: fix progress value for spellchecker
7423
7424         * toc.C: fix navigate menu for insetwrap inside minipage
7425
7426         * paragraph_funcs.C: added FIXME for suspect code
7427
7428 2002-11-07  John Levon  <levon@movementarian.org>
7429
7430         * BufferView_pimpl.C: fix redrawing of insets
7431           on buffer switch
7432
7433 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7434
7435         * text2.C (updateCounters): fix bug 668
7436
7437 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7438
7439         * text3.C (dispatch): Do not make the buffer dirty when moving the
7440         cursor.
7441
7442 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7443
7444         * vc-backend.C: STRCONV
7445         (scanMaster): ditto
7446
7447         * text2.C (setCounter): STRCONV
7448
7449         * paragraph.C (asString): STRCONV
7450
7451         * lyxlength.C (asString): STRCONV
7452         (asLatexString): ditto
7453
7454         * lyxgluelength.C (asString): STRCONV
7455         (asLatexString): ditto
7456
7457         * lyxfunc.C (dispatch): STRCONV
7458         (open): ditto
7459
7460         * lyxfont.C (stateText): STRCONV
7461
7462         * importer.C (Import): STRCONV
7463
7464         * counters.C (labelItem): STRCONV
7465         (numberLabel): ditto
7466         (numberLabel): remove unused ostringstream o
7467
7468         * chset.C: STRCONV
7469         (loadFile): ditto
7470
7471         * bufferview_funcs.C (currentState): STRCONV
7472
7473         * buffer.C (readFile): STRCONV
7474         (asciiParagraph): ditto
7475         (makeLaTeXFile): ditto
7476
7477         * Spacing.C (writeEnvirBegin): STRCONV
7478
7479         * LaTeXFeatures.C (getLanguages): STRCONV
7480         (getPackages): ditto
7481         (getMacros): ditto
7482         (getBabelOptions): ditto
7483         (getTClassPreamble): ditto
7484         (getLyXSGMLEntities): ditto
7485         (getIncludedFiles): ditto
7486
7487         * LaTeX.C: STRCONV
7488         (run): ditto
7489         (scanAuxFile): ditto
7490         (deplog): ditto
7491
7492         * LString.h: add the STRCONV macros
7493
7494         * BufferView_pimpl.C (savePosition): STRCONV
7495         (restorePosition): ditto
7496         (MenuInsertLyXFile): ditto
7497
7498         * vc-backend.C (scanMaster): change from submatch[...] to
7499         submatch.str(...)
7500
7501         * funcrequest.C: include config.h
7502
7503         * factory.C: include config.h
7504
7505         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7506
7507         * box.C: include config.h
7508
7509         * LaTeX.C (scanAuxFile): change from submatch[...] to
7510         submatch.str(...)
7511         (deplog): ditto
7512
7513 2002-10-25  Angus Leeming  <leeming@lyx.org>
7514
7515         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7516
7517         * ispell.[Ch] (setError): new method.
7518         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7519         Use setError() insetead of goto END.
7520
7521         * lyx_cb.C (AutoSave): move out child process into new class
7522         AutoSaveBuffer.
7523
7524 2002-10-30  John Levon  <levon@movementarian.org>
7525
7526         * text3.C: make start appendix undoable
7527
7528 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7529
7530         * lyxlength.C (inPixels): Fix returned value.
7531
7532         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7533         environment.
7534
7535 2002-10-24  Angus Leeming  <leeming@lyx.org>
7536
7537         * lyxgluelength.h: no need to forward declare BufferParams
7538         or BufferView, so don't.
7539
7540 2002-10-21  John Levon  <levon@movementarian.org>
7541
7542         * BufferView.C: menuUndo ->undo, redo
7543
7544         * BufferView.h: document, remove dead, make some methods private
7545
7546         * paragraph_funcs.h:
7547         * paragraph_funcs.C:
7548         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7549
7550         * buffer.h:
7551         * buffer.C:
7552         * sgml.h:
7553         * sgml.C: move sgml open/close tag into sgml.C
7554
7555         * bufferview_funcs.h: unused prototype
7556
7557         * lyxfunc.h:
7558         * lyxfunc.C: remove unused
7559
7560         * lyxtext.h:
7561         * text.C: remove unused
7562
7563 2002-10-21  John Levon  <levon@movementarian.org>
7564
7565         * BufferView.h:
7566         * BufferView.C:
7567         * BufferView_pimpl.h:
7568         * BufferView_pimpl.C: fix mouse wheel handling based on
7569           patch from Darren Freeman
7570
7571 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7572
7573         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7574
7575 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7576
7577         * lyxlength.C (inPixels): Fix hanfling of negative length.
7578         Fix LyXLength::MU case.
7579
7580 2002-10-16  John Levon  <levon@movementarian.org>
7581
7582         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7583
7584 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7585
7586         * converter.C (view): add support for $$i (file name) and $$p
7587         (file path) for the viewer command. If $$i is not specified, then
7588         it is appended to the command (for compatibility with old syntax)
7589
7590 2002-10-14  Juergen Vigna  <jug@sad.it>
7591
7592         * undo_funcs.C (textHandleUndo): alter the order in which the
7593         new undopar is added to the LyXText, as we have to set first
7594         the right prev/next and then add it as otherwise the rebuild of
7595         LyXText is not correct. Also reset the cursor to the right paragraph,
7596         with this IMO we could remove the hack in "redoParagraphs()".
7597
7598 2002-10-09  Angus Leeming  <leeming@lyx.org>
7599
7600         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7601         to turn off an optimisation if a new inset is to be inserted.
7602
7603 2002-10-11 André Pönitz <poenitz@gmx.net>
7604
7605         * lyxtext.h: make some functions public to allow access
7606         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7607
7608 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7609
7610         * text3.C (dispatch): when changing layout, avoid an infinite loop
7611         [bug #652]
7612
7613 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7614
7615         * lyxrc.C (read): treat a viewer or converter command of "none" as
7616         if it were empty.
7617
7618         * MenuBackend.C (expandFormats): for an update, also allow the
7619         formats that are not viewable
7620
7621         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7622         script if it is newer than the lyxrc.defaults in user directory
7623
7624 2002-10-07 André Pönitz <poenitz@gmx.net>
7625
7626         * text.C: Vitaly Lipatov's small i18n fix
7627
7628 2002-09-25  Angus Leeming  <leeming@lyx.org>
7629
7630         * ispell.h: doxygen fix.
7631
7632 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7633
7634         * buffer.h (readFile): Add a new argument to the method, to allow
7635         reading of old-format templates.
7636
7637 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7638
7639         * toc.C (getTocList): Get TOC from InsetWrap.
7640
7641 2002-09-16  John Levon  <levon@movementarian.org>
7642
7643         * lyxfunc.C: check tabular for cut/copy too
7644
7645 2002-09-12  John Levon  <levon@movementarian.org>
7646
7647         * LyXAction.C: tidy
7648
7649         * factory.h:
7650         * factory.C: add header
7651
7652         * paragraph_funcs.h:
7653         * paragraph_funcs.C: cleanup
7654
7655 2002-09-11  John Levon  <levon@movementarian.org>
7656
7657         * PrinterParams.h: odd/even default to true
7658
7659 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7660
7661         * PrinterParams.h: update printer parameters for new xforms dialog
7662
7663 2002-09-11  Angus Leeming  <leeming@lyx.org>
7664
7665         * lyxserver.C (read_ready): re-write to make it more transparent
7666         and to make it work in coherent fashion under Tru64 Unix.
7667
7668 2002-09-11  André Pönitz <poenitz@gmx.net>
7669
7670         * commandtags.h:
7671         * LyXAction.C:
7672         * text3.C: implement LFUN_WORDSEL
7673
7674 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7675
7676         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7677         make floatlist_ a boost::shared_ptr<FloatList>
7678
7679         * lyxtextclass.C: include FloatList.h
7680         (LyXTextClass): initialize floatlist_
7681         (TextClassTags): add TC_NOFLOAT
7682         (Read): match "nofloat" to TC_NOFLOAT and use it.
7683         (readFloat): modify call to floatlist_
7684         (floats): ditto
7685         (floats): ditto
7686
7687         * FloatList.[Ch] (FloatList): remove commented out float
7688         initialization.
7689         (erase): new function
7690
7691 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7692
7693         * MenuBackend.C (expandToc): fix crash when there is no document
7694         open
7695
7696 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7697
7698         * many files: Add insetwrap.
7699
7700 2002-09-09  John Levon  <levon@movementarian.org>
7701
7702         * text2.C: remove confusing and awkward depth wraparound
7703
7704 2002-09-09  John Levon  <levon@movementarian.org>
7705
7706         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7707
7708         * buffer.h:
7709         * buffer.C: remove getIncludeonlyList()
7710
7711         * paragraph.C:
7712         * lyxfunc.C: remove headers
7713
7714 2002-09-09  Juergen Vigna  <jug@sad.it>
7715
7716         * text.C (getColumnNearX): fix form Michael this is most
7717         probably a cut&paste bug.
7718
7719 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7722
7723         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7724         references, ws changes.
7725
7726         * text2.C (init): update counters after init
7727         (insertParagraph): no need to set counter on idividual paragraphs.
7728         (setCounter): access the counters object in the textclass object
7729         on in the buffer object.
7730         (updateCounters): ditto
7731
7732         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7733         shared_ptr<Counters> to avoid loading counters.h in all
7734         compilation units.
7735         (LyXTextClass): initialize ctrs_
7736         (TextClassTags): add TC_COUNTER, and ...
7737         (Read): use it here.
7738         (CounterTags): new tags
7739         (readCounter): new function
7740         (counters): new funtion
7741         (defaultLayoutName): return a const reference
7742
7743         * counters.C (Counters): remove contructor
7744         (newCounter): remove a couple of unneeded statements.
7745         (newCounter): simplify a bit.
7746         (numberLabel): some small formatting changes.
7747
7748         * buffer.[Ch]: remove all traces of counters, move the Counters
7749         object to the LyXTextClass.
7750
7751 2002-09-06  Alain Castera  <castera@in2p3.fr>
7752
7753         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7754         package to set the horizontal alignment on fixed width columns.
7755
7756         * lyx_sty.C:
7757         * lyx_sty.h: added tabularnewline macro def.
7758
7759         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7760
7761 2002-09-06  John Levon  <levon@movementarian.org>
7762
7763         * LyXAction.C: tooltips for sub/superscript
7764
7765         * MenuBackend.C: a bit more verbose
7766
7767         * lyxfunc.C: tiny clean
7768
7769         * undo_funcs.C: document undo_frozen
7770
7771 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * counters.C (Counters): add missing algorithm counter.
7774
7775         * text2.C (setCounter): lookup the counter with layouts latexname
7776         instead of by section number.
7777         (setCounter): use a hackish way to lookup the correct enum
7778         counter.
7779         a float name->type change
7780         reset enum couners with counter name directly instead of depth value.
7781
7782         * counters.C (Counters): remove the push_backs, change to use the
7783         float type not the float name.
7784         (labelItem): remove unused string, float name->type change
7785
7786         * counters.h: don't include vector, loose the enums and sects vectors
7787
7788 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7791         (Read): add float->TC_FLOAT to textclassTags
7792         (Read): and handle it in the switch
7793         (readFloat): new function
7794
7795         * FloatList.C (FloatList): comment out the hardcoded float
7796         definitions.
7797
7798         * lyxlayout.h: ws change.
7799
7800 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7801
7802         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7803
7804 2002-09-03  Angus Leeming  <leeming@lyx.org>
7805
7806         * BufferView_pimpl.h: qualified name is not allowed in member
7807         declaration: WorkArea & Pimpl::workarea() const;
7808
7809         * factory.C: added using std::endl directive.
7810
7811         * text3.C: added using std::find and std::vector directives.
7812
7813 2002-08-29  André Pönitz <poenitz@gmx.net>
7814
7815         * lyxtext.h:
7816         * text2.C: remove unused member number_of_rows
7817
7818         * Makefile.am:
7819         * BufferView2.C: remove file, move contents to...
7820         * BufferView.C: ... here
7821
7822         * BufferView_pimpl.C:
7823         * factory.C: move more inset creation to factory
7824
7825         * vspace.C: avoid direct usage of LyXText, ws changes
7826
7827         * BufferView.[Ch]:
7828                 don't provide direct access to WorkArea, use two simple
7829                 acessors haveSelction() and workHeight() instead
7830
7831
7832 2002-08-29  John Levon  <levon@movementarian.org>
7833
7834         * BufferView_pimpl.C (dispatch): do not continue when
7835           no buffer
7836
7837 2002-08-28  André Pönitz <poenitz@gmx.net>
7838
7839         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7840
7841         * BufferView.h:
7842         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7843
7844 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7845
7846         * buffer.C: increment LYX_FORMAT to 221
7847
7848         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7849         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7850
7851         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7852
7853         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7854
7855 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * factory.C (createInset): use LyXTextClass::floats
7858
7859         * MenuBackend.C (expandFloatListInsert):
7860         (expandFloatInsert):
7861         (expandToc):
7862
7863         * text2.C (setCounter):
7864
7865         * LaTeXFeatures.C (useFloat):
7866         (getFloatDefinitions):
7867
7868         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7869
7870         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7871         floatlist_, with accessor floats().
7872
7873         * FloatList.h: remove global FloatList
7874
7875 2002-08-26  André Pönitz <poenitz@gmx.net>
7876
7877         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7878
7879         * BufferView.h:
7880         * BufferView2.C:
7881         * BufferView_pimpl.C:
7882         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7883
7884 2002-08-25  John Levon  <levon@movementarian.org>
7885
7886         * LyXAction.C: fix margin note description
7887
7888 2002-08-24  John Levon  <levon@movementarian.org>
7889
7890         * buffer.C:
7891         * bufferlist.C:
7892         * bufferview_funcs.C:
7893         * lyxfont.C:
7894         * undo_funcs.C: cleanups
7895
7896         * lyxfunc.C: disable CUT/COPY when no selection
7897
7898 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7899
7900         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7901         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7902
7903         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7904         Add backward compatibility to "mono", "gray" and "no".
7905
7906 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7907
7908         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7909         (and file_format >= 200).
7910
7911 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7912
7913         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7914
7915 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7918
7919 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7920
7921         * BufferView_pimpl.C:
7922         * LyXAction.C:
7923         * buffer.C:
7924         * commandtags.h:
7925         * lyxfunc.C:
7926         * paragraph.[Ch]:
7927         * text2.C:
7928         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7929         inset and code to make it  work with the paragraph code. The inset
7930         can be anywhere in the paragraph, but will only do the expected
7931         thing in LaTeX if the layout file contains the parameter line
7932                         OptionalArgs    1
7933         (or more generally, a nonzero value) for that layout.
7934
7935 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * paragraph.h: remove the declaration of undefined counters class
7938         function.
7939
7940 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7941
7942         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7943         Dr. Richard Hawkins.
7944
7945 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7946
7947         * paragraph_funcs.h: remove some unneeded includes
7948
7949         * text.C (backspace): pasteParagraph now in global scipe
7950
7951         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7952         (pasteSelection): ditto
7953
7954         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7955         * paragraph_funcs.C (pasteParagraph): ... here
7956
7957 2002-08-20  André Pönitz <poenitz@gmx.net>
7958
7959         * commandtags.h: new LFUNs for swapping/copying table row/colums
7960
7961         * LyXAction.C:
7962         * lyxfunc.C: support for new lfuns
7963
7964 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * tabular.C:
7967         * buffer.[Ch]: remove NO_COMPABILITY stuff
7968
7969 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * boost.C (throw_exception): new file, with helper function for
7972         boost compiled without exceptions.
7973
7974         * paragraph.h:
7975         * lyxlength.C:
7976         * buffer.C:
7977         * ParameterStruct.h:
7978         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7979
7980         * bufferlist.C (emergencyWriteAll): use boost bind
7981
7982         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7983
7984         * text.C: include paragraph_funcs.h
7985         (breakParagraph): breakParagraph is now in global scope
7986
7987         * paragraph_funcs.[Ch]: new files
7988
7989         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7990         global scope
7991
7992         * buffer.C: include paragraph_funcs.h
7993         (insertStringAsLines): breakParagraph is now in global scope
7994
7995         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7996         paragraph_funcs.C
7997
7998         * CutAndPaste.C: include paragraph_funcs.h
7999         (cutSelection): breakParagraphConservative is now in global scope
8000         (pasteSelection): ditto
8001
8002         * buffer.h: declare oprator== and operator!= for
8003         Buffer::inset_iterator
8004
8005         * bufferlist.C (emergencyWrite): don't use fmt(...)
8006
8007         * text3.C: add using std::endl
8008
8009         * BufferView.C (moveCursorUpdate): remove default arg
8010
8011 2002-08-20  André Pönitz <poenitz@gmx.net>
8012
8013         * buffer.[Ch]: move inline functions to .C
8014
8015         * BufferView2.C:
8016         * BufferView_pimpl.C:
8017         * text.C:
8018         * buffer.[Ch]: use improved inset_iterator
8019
8020         * buffer.C:
8021         * paragraph.[Ch]: write one paragraph at a time
8022
8023 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8024
8025         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8026         style if style is not specified.
8027
8028 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8029
8030         * text2.C (setCounter): when searching for right label for a
8031         caption, make sure to recurse to parent insets (so that a caption
8032         in a minipage in a figure float works) (bug #568)
8033
8034 2002-08-20  André Pönitz <poenitz@gmx.net>
8035
8036         * text3.C: new file for LyXText::dispatch() and helpers
8037
8038         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8039
8040         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8041
8042 2002-08-19  André Pönitz <poenitz@gmx.net>
8043
8044         * lyxtext.h:
8045         * text.C: new LyXText::dispatch()
8046
8047         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8048
8049 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8050
8051         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8052
8053         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8054         Hebrew text.
8055
8056 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * Makefile.am: use $(variables) instead of @substitutions@
8059
8060 2002-08-15  André Pönitz <poenitz@gmx.net>
8061
8062         * lyxfunc.C:
8063         * BufferView_pimpl.C: streamlining mathed <-> outer world
8064         interaction
8065
8066         * commandtags.h:
8067         * LyXAction.C: remove unused LFUN_MATH
8068
8069 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8072
8073 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * paragraph.C (Paragraph): reformat a bit
8076         (cutIntoMinibuffer): use builtin InsetList function instad of
8077         doing it manually.
8078         (getInset): ditto
8079
8080         * buffer.C: include boost/bind.hpp, add using std::for_each
8081         (writeFileAscii): use ParagraphList iterators
8082         (validate): use for_each for validate traversal of paragraphs
8083         (getBibkeyList): use ParagraphList iterators
8084         (resizeInsets): use for_each to resizeInsetsLyXText for all
8085         paragraphs.
8086         (getParFromID): use ParagraphList iterators
8087
8088         * BufferView2.C (lockInset): use paragraph list and iterators
8089
8090 2002-08-14  John Levon  <levon@movementarian.org>
8091
8092         * lyxserver.C: remove spurious xforms include
8093
8094 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8095
8096         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8097
8098 2002-08-13  André Pönitz <poenitz@gmx.net>
8099
8100         * LyXAction.[Ch]:
8101         * lyxfunc.C: further cleaning
8102
8103 2002-08-13  André Pönitz <poenitz@gmx.net>
8104
8105         * funcrequest.h: new constructor
8106
8107         * funcrequest.C: move stuff here from .h
8108
8109         * Makefile.am:
8110         * BufferView_pimpl.C:
8111         * LyXAction.C:
8112         * toc.C:
8113         * lyxfunc.C: subsequent changes
8114
8115         * lyxfunc.h: new view() member function
8116
8117         * lyxfunc.C: subsequent changes
8118
8119 2002-08-13  Angus Leeming  <leeming@lyx.org>
8120
8121         * BufferView2.C:
8122         * BufferView_pimpl.C:
8123         * buffer.C:
8124         * converter.C:
8125         * importer.C:
8126         * lyxfunc.C:
8127         * lyxvc.C:
8128         * toc.C:
8129         * vc-backend.C:
8130         changes due to the changed LyXView interface that now returns references
8131         to member variables not pointers.
8132
8133 2002-08-13  Angus Leeming  <leeming@lyx.org>
8134
8135         * WordLangTuple (word, lang_code): return references to strings,
8136         not strings.
8137
8138         * BufferView.h:
8139         * SpellBase.h:
8140         * lyxtext.h: forward-declare WordLangTuple.
8141
8142         * BufferView2.C:
8143         * ispell.C:
8144         * pspell.C:
8145         * text.C: #include "WordLangTuple.h".
8146
8147         * lyxtext.h:
8148         * text.C: (selectNextWordToSpellcheck): constify return type.
8149
8150 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8151
8152         * buffer.C:
8153         * buffer.h:
8154         * lyxtext.h:
8155         * paragraph.C:
8156         * paragraph_pimpl.h:
8157         * text.C:
8158         * text2.C:
8159         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8160         suggested by Angus.
8161         Made updateCounter always count from start of buffer, and removed
8162         second argument (par).
8163         Reverted floats number display to '#'. Perhaps I'll try again when the
8164         code base is sanitized a bit.
8165
8166 2002-08-12  Angus Leeming  <leeming@lyx.org>
8167
8168         * buffer.[Ch] (getLabelList): constify.
8169
8170 2002-08-07  André Pönitz <poenitz@gmx.net>
8171
8172         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8173
8174         * funcrequest.h: extension to keep mouse (x,y) position
8175
8176 2002-08-12  Juergen Vigna  <jug@sad.it>
8177
8178         * BufferView2.C (insertErrors): forbid undo when inserting error
8179         insets.
8180
8181         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8182
8183 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8184
8185         * ParagraphList.[Ch]: new files
8186
8187         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8188
8189         * BufferView2.C (lockInset): ParagraphList changes
8190         * toc.C: ditto
8191         * text2.C: ditto
8192         * bufferlist.C: ditto
8193         * buffer.h: ditto
8194         * buffer.C: ditto
8195
8196 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8199         unused class variable counter_,
8200
8201         * paragraph.[Ch] (getFirstCounter): delete unused function
8202
8203         * counters.C: include LAssert.h
8204         (reset): add a new function with no arg, change other version to
8205         not have def. arg and to not allow empty arg.
8206
8207         * text2.C (setCounter): remove empty arg from call to Counters::reset
8208
8209 2002-08-11  John Levon  <levon@movementarian.org>
8210
8211         * Makefile.am: add WordLangTuple.h
8212
8213 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8216         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8217
8218         * insets/insettext.C: InsetList changes
8219
8220         * graphics/GraphicsSupport.C (operator()): InsetList changes
8221
8222         * toc.C (getTocList): InsetList changes
8223
8224         * paragraph_pimpl.[Ch]: InsetList changes
8225
8226         * paragraph.[Ch]: InsetList changes
8227
8228         * buffer.C (inset_iterator): InsetList changes
8229         (setParagraph): ditto
8230         * buffer.h (inset_iterator): ditto
8231         * iterators.C (operator++): ditto
8232         * iterators.h: ditto
8233
8234         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8235
8236         * InsetList.[Ch]: new files, most InsetList handling moved out of
8237         paragraph.C.
8238
8239         * BufferView2.C (removeAutoInsets): InsetList changes
8240         (lockInset): ditto
8241         (ChangeInsets): ditto
8242
8243 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * paragraph_pimpl.h (empty): new function
8246
8247         * paragraph.[Ch] (empty): new function
8248
8249         * other files: use the new Paragraph::empty function
8250
8251 2002-08-09  John Levon  <levon@movementarian.org>
8252
8253         * lyxtext.h: remove unused refresh_height
8254
8255 2002-08-09  John Levon  <levon@movementarian.org>
8256
8257         * Makefile.am:
8258         * sgml.h:
8259         * sgml.C:
8260         * buffer.C:
8261         * paragraph.h:
8262         * paragraph.C: move sgml char escaping out of paragraph
8263
8264         * paragraph.h:
8265         * paragraph.C: remove id setter
8266
8267         * buffer.C:
8268         * paragraph.C:
8269         * paragraph_pimpl.C: remove dead tex_code_break_column
8270
8271         * bufferview_funcs.C: small cleanup
8272
8273         * lyxfunc.C: remove dead proto
8274
8275         * lyxtext.h: make some stuff private. Remove some dead stuff.
8276
8277         * lyxgluelength.C: make as[LyX]String() readable
8278
8279 2002-08-08  John Levon  <levon@movementarian.org>
8280
8281         * LyXAction.h:
8282         * LyXAction.C:
8283         * MenuBackend.C:
8284         * ToolbarDefaults.C:
8285         * lyxfunc.C:
8286         * lyxrc.C:
8287         * toc.C: lyxaction cleanup
8288
8289 2002-08-08  John Levon  <levon@movementarian.org>
8290
8291         * BufferView2.C: small cleanup
8292
8293         * lyxfind.h:
8294         * lyxfind.C: move unnecessary header into the .C
8295
8296 2002-08-08  John Levon  <levon@movementarian.org>
8297
8298         * funcrequest.h: just tedious nonsense
8299
8300         * lyx_main.h:
8301         * lyx_main.C: cleanups
8302
8303         * buffer.C:
8304         * vspace.C: remove dead header lyx_main.h
8305
8306 2002-08-07  Angus Leeming  <leeming@lyx.org>
8307
8308         * Paragraph.[Ch]:
8309         * paragraph_pimpl.h:
8310         Forward declare class Counters in paragraph.h by moving the ctrs member
8311         variable into Paragraph::Pimpl.
8312         (counters): new method, returning a reference to pimpl_->ctrs.
8313
8314         * text2.C: ensuing changes.
8315
8316 2002-08-07  John Levon  <levon@movementarian.org>
8317
8318         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8319
8320         * BufferView_pimpl.C: announce X selection on double/triple
8321           click
8322
8323         * lyx_main.C: use correct bool in batch dispatch
8324
8325         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8326
8327 2002-08-07  André Pönitz <poenitz@gmx.net>
8328
8329         * funcrequest.h: new class to wrap a kb_action and its argument
8330
8331         * BufferView.[Ch]:
8332         * BufferView_pimpl[Ch]:
8333         * LaTeX.C:
8334         * LyXAction.[Ch]:
8335         * lyxfunc.[Ch]:
8336         * lyxrc.C: subsequent changes
8337
8338
8339 2002-08-07  John Levon  <levon@movementarian.org>
8340
8341         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8342           document options change.
8343
8344 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8345
8346         * counters.[Ch]
8347         * text2.C
8348         * paragraph.[Ch]
8349         * makefile.am: move counters functionality over from
8350         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8351
8352 2002-08-06  John Levon  <levon@movementarian.org>
8353
8354         * WordLangTuple.h: new file for word + language code tuple
8355
8356         * SpellBase.h:
8357         * pspell.h:
8358         * pspell.C:
8359         * ispell.h:
8360         * ispell.C:
8361         * lyxtext.h:
8362         * text.C:
8363         * text2.C:
8364         * BufferView.h:
8365         * BufferView2.C: use WordLangTuple
8366
8367         * layout.h:
8368         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8369
8370 2002-08-06  John Levon  <levon@movementarian.org>
8371
8372         * lyx_main.C: fix cmdline batch handling
8373
8374 2002-08-06  André Pönitz <poenitz@gmx.net>
8375
8376         * lyxrc.C: set default for show_banner to true
8377
8378 2002-08-06  John Levon  <levon@movementarian.org>
8379
8380         * pspell.C: fix a crash, and allow new aspell to work
8381
8382 2002-08-06  John Levon  <levon@movementarian.org>
8383
8384         * lyxfunc.C:
8385         * kbmap.C: small cleanup
8386
8387         * vspace.h:
8388         * vspace.C: add const
8389
8390 2002-08-05  John Levon  <levon@movementarian.org>
8391
8392         * LyXAction.C: back to tabular-insert
8393
8394 2002-08-04  John Levon  <levon@movementarian.org>
8395
8396         * BufferView.h:
8397         * BufferView.C: cosmetic change
8398
8399         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8400
8401         * bufferlist.C:
8402         * buffer.h:
8403         * buffer.C:
8404         * lyxcb.h:
8405         * lyxcb.C:
8406         * lyxserver.C:
8407         * lyxvc.C:
8408         * vc-backend.C:
8409         * BufferView2.C: purge all "Lyx" not "LyX" strings
8410
8411         * lyxcursor.h:
8412         * lyxcursor.C: attempt to add some documentation
8413
8414         * lyxfunc.C:
8415         * commandtags.h:
8416         * LyXAction.C:
8417         * ToolbarDefaults.C:
8418         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8419           merge with LFUN_TABULAR_INSERT
8420
8421         * Makefile.am:
8422         * SpellBase.h:
8423         * ispell.h:
8424         * ispell.C:
8425         * pspell.h:
8426         * pspell.C: split up i/pspell implementations into separate
8427           files, many cleanups
8428
8429         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8430
8431         * text2.C: some cleanup
8432
8433         * lyxfunc.C: don't check for isp_command == "none" any more, it
8434           didn't make any sense
8435
8436 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8437
8438         * counters.[Ch]
8439         * text2.C
8440         * paragraph.[Ch]
8441         * makefile.am: move counters functionality over
8442         from text2.C/paragraph.[Ch] to counters.[Ch], and
8443         make proper C++.
8444 2002-08-02  John Levon  <levon@movementarian.org>
8445
8446         * buffer.C: s/lyxconvert/lyx2lyx/
8447
8448 2002-08-02  Angus Leeming  <leeming@lyx.org>
8449
8450         * lyxlex.C: revert John's change as it breaks reading of the user
8451         preamble.
8452
8453 2002-08-02  Angus Leeming  <leeming@lyx.org>
8454
8455         * importer.C (Import):
8456         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8457         changes due to LyXView::view() now returning a boost::shared_ptr.
8458
8459 2002-08-02  John Levon  <levon@movementarian.org>
8460
8461         * lyxlex.C: small cleanup
8462
8463 2002-08-02  John Levon  <levon@movementarian.org>
8464
8465         * text2.C (status): small cleanup, no logic change
8466
8467 2002-08-01  John Levon  <levon@movementarian.org>
8468
8469         * buffer.h:
8470         * buffer.C (writeFile): don't output alerts, caller
8471           handles this
8472
8473         * bufferlist.C:
8474         * lyx_cb.C: from above
8475
8476         * lyxfunc.C: allow to open non-existent files
8477
8478 2002-07-31  John Levon  <levon@movementarian.org>
8479
8480         * lyxserver.C: don't let incidental errors get
8481           in the way (errno)
8482
8483 2002-07-30  John Levon  <levon@movementarian.org>
8484
8485         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8486
8487 2002-07-30  John Levon  <levon@movementarian.org>
8488
8489         * lyxserver.h:
8490         * lyxserver.C: remove I/O callback too
8491
8492 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8493
8494         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8495         log.
8496
8497 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * many files: strip,frontStrip -> trim,ltrim,rtrim
8500
8501 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * PrinterParams.h: remove extern containsOnly, and include
8504         support/lstrings.h instead.
8505
8506         * LaTeX.C (scanAuxFile): modify because of strip changes
8507         (deplog): ditto
8508         * buffer.C (makeLaTeXFile): ditto
8509         * bufferparams.C (writeFile): ditt
8510         * lyxfont.C (stateText): ditto
8511         * lyxserver.C (read_ready): ditto
8512         * vc-backend.C (scanMaster): ditto
8513
8514         * BufferView_pimpl.h: ws changes
8515
8516         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8517
8518 2002-07-26  André Pönitz <poenitz@gmx.net>
8519
8520         * kb_sequence.C: remove unnedred usings
8521
8522 2002-07-26  Juergen Vigna  <jug@sad.it>
8523
8524         * lyxfind.C (LyXReplace): we have to check better if the returned
8525         text is not of theLockingInset()->getLockingInset().
8526
8527 2002-07-25  Juergen Vigna  <jug@sad.it>
8528
8529         * lyxfind.C (LyXReplace): don't replace if we don't get the
8530         right LyXText.
8531
8532         * undo_funcs.C (createUndo): remove debugging code.
8533
8534 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8535
8536         * buffer.C (parseSingleLyXformat2Token): Use default placement
8537         when reading old floats.
8538
8539         * FloatList.C (FloatList): Change the default placement of figure
8540         and tables to "tbp".
8541
8542 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8543
8544         * MenuBackend.C: using std::max
8545
8546 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * MenuBackend.C (expandToc):
8549         (expandToc2): code moved from xforms menu frontend. It is now
8550         generic and TOCs are transparent to menu frontends.
8551
8552 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * toc.C (getTocList): protect against buf=0
8555
8556         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8557         Menu as first parameter. Now, this calls itself recursively to
8558         expand a whole tree (this will be useful for TOC handling)
8559         (expandFloatInsert): remove 'wide' version of floats
8560
8561         * MenuBackend.h (submenuname): returns the name of the submenu.
8562         (submenu): returns the submenu itself, provided it has been
8563         created by MenuBackend::expand
8564
8565 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8568         insets which have noFontChange == true. (bug #172)
8569
8570 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8571
8572         * BufferView_pimpl.C: add connection objects and use them...
8573         (Pimpl): here.
8574
8575 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8576
8577         * MenuBackend.C (expandLastfiles):
8578         (expandDocuments):
8579         (expandFormats):
8580         (expandFloatListInsert):
8581         (expandFloatInsert):
8582         (expand): split expand in parts
8583
8584 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * lyx_gui.C: use lyx_gui::exit()
8587
8588 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * LyXAction.C: show the failing pseudo action
8591
8592 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8593
8594         * buffer.C (readFile): Run the lyxconvert script in order to read
8595         old files.
8596
8597 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8598
8599         * LyXAction.C:
8600         * commandtags.h:
8601         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8602
8603 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8604
8605         * LyXAction.C:
8606         * commandtags.h:
8607         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8608
8609 2002-07-22  Herbert Voss  <voss@lyx.org>
8610
8611         * lengthcommon.C:
8612         * lyxlength.[Ch]: add support for the vertical lengths
8613
8614 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * toc.[Ch]: std:: fixes
8617
8618 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8619
8620         * lyxrc.C: do not include lyx_main.h
8621
8622         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8623         for layouts
8624
8625         * lyxrc.C:
8626         * encoding.C:
8627         * bufferlist.C:
8628         * BufferView2.C: include "lyxlex.h"
8629
8630         * tabular.h:
8631         * bufferparams.h: do not #include "lyxlex.h"
8632
8633         * lyxtextclasslist.C (Add): remove method
8634         (classlist): renamed to classlist_
8635
8636         * paragraph_pimpl.C:
8637         * paragraph.C:
8638         * text2.C:
8639         * CutAndPaste.C:
8640         * bufferview_funcs.C:
8641         * bufferlist.C:
8642         * text.C:
8643         * LaTeXFeatures.C:
8644         * buffer.C:
8645         * toc.C (getTocList): use BufferParams::getLyXTextClass
8646
8647         * toc.C (getTocList): use InsetFloat::addToToc
8648
8649         * toc.[Ch]: new files, containing helper functions to handle table
8650         of contents
8651
8652         * lyxfunc.C (dispatch): no need to remove spaces around command
8653         given as a string
8654         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8655         first command of the sequence; it is not very clever, but I do not
8656         have a better idea, actually
8657
8658         * LyXAction.C (LookupFunc): make sure to remove space at the
8659         beginning and end of the command
8660
8661 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8662
8663         * MenuBackend.C (getMenubar): new method: return the menubar of
8664         this menu set
8665         (read): treat differently reading of menu and menubar (in
8666         particular, the menubar has no name now)
8667         (Menu::menubar): remove
8668
8669         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8670         saving is finished
8671
8672 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8673
8674         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8675         a bibitem inset in a RTL paragraph.
8676
8677 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * paragraph_pimpl.C: constify
8680
8681         * BufferView_pimpl.C:
8682         * LaTeX.C:
8683         * lyxfunc.C: fix dispatch in a nicer way
8684
8685 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8686
8687         * lyxfunc.C (dispatch):
8688         * BufferView_pimpl.C:
8689         * BufferView_pimpl.h:
8690         * BufferView.C:
8691         * BufferView.h: rename Dispatch() to dispatch()
8692
8693         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8694
8695         * lyxlayout.C (Read): honor DependsOn tag
8696
8697         * lyxlayout.[Ch] (depends_on): new method
8698
8699         * version.C.in: update lyx_docversion
8700
8701         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8702
8703         * paragraph.C (validate): remove from here...
8704         * paragraph_pimpl.C (validate): ... and move here
8705         (isTextAt): make it const
8706
8707         * buffer.C (getLists): ws cleanup
8708
8709 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * language.C (read): Use iso8859-1 encoding in latex_lang
8712         (this prevents LyX from crashing when using iso10646-1 encoding).
8713
8714 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * text2.C (toggleInset): if cursor is inside an inset, close the
8717         inset and leave cursor _after_ it
8718
8719 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * lyxfunc.C: move minibuffer completion handling out of here
8722
8723 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8724
8725         * BufferView_pimpl.C:
8726         * LaTeX.C: fix dispatch calls
8727
8728 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8729
8730         * text.C (drawChars): Fix Arabic text rendering.
8731
8732 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * LyXAction.C:
8735         * commandtags.h:
8736         * lyxfunc.C: remove message-push/pop
8737
8738         * lyxserver.C:
8739         * lyxfunc.h:
8740         * lyxfunc.C: rationalise some code by removing verboseDispatch
8741           in favour of a bool argument to dispatch()
8742
8743 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * lyx_main.C (init): make sure to read symlinks as absolute paths
8746
8747 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * lyxfunc.h:
8750         * lyxfunc.C: no need for commandshortcut to be a member
8751
8752 2002-07-15  André Pönitz <poenitz@gmx.net>
8753
8754         * converter.C: add support for $$s (scripts from lib/scripts dir)
8755         * lyx_main.C: white space
8756
8757 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * bufferlist.C:
8760         * lyxrc.h:
8761         * lyxrc.C: remove second exit confirmation
8762
8763 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * BufferView.h:
8766         * BufferView.C:
8767         * BufferView2.C:
8768         * BufferView_pimpl.h:
8769         * BufferView_pimpl.C:
8770         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8771
8772 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * MenuBackend.C (expand): add numeric shortcuts to document menu
8775
8776         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8777
8778 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8779
8780         * lyxfont.C (setLyXFamily):
8781         (setLyXSeries):
8782         (setLyXShape):
8783         (setLyXSize):
8784         (setLyXMisc):
8785         (lyxRead):
8786         * debug.C (value):
8787         * buffer.C (asciiParagraph): use ascii_lowercase
8788
8789 2002-07-15  Mike Fabian  <mfabian@suse.de>
8790
8791         * lyxlex_pimpl.C (search_kw):
8792         * lyxlex.C (getLongString):
8793         * converter.h (operator<):
8794         * converter.C (operator<):
8795         * buffer.C (parseSingleLyXformat2Token):
8796         (asciiParagraph):
8797         * ToolbarDefaults.C (read):
8798         * MenuBackend.C (checkShortcuts):
8799         (read):
8800         * LColor.C (getFromGUIName):
8801         (getFromLyXName): use the compare_ascii_no_case instead of
8802         compare_no_case, because in turkish, 'i' is not the lowercase
8803         version of 'I', and thus turkish locale breaks parsing of tags.
8804
8805 2002-07-16  Angus Leeming  <leeming@lyx.org>
8806
8807         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8808         now takes a Buffer const & argument.
8809
8810 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * BufferView.C (resize): check there's a buffer to resize
8813
8814 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8815
8816         * lyxfunc.C: remove dead code
8817
8818         * lyxserver.h:
8819         * lyxserver.C: use lyx_guii::set_read_callback
8820
8821 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8822
8823         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8824         an inset in a RTL paragraph.
8825
8826 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * lyxfunc.C: repaint after a font size update
8829
8830 2002-07-15  André Pönitz <poenitz@gmx.net>
8831
8832         * lyxlength.C: inBP should be able to return negative values
8833
8834 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * lyxfunc.C: use lyx_gui::update_fonts()
8837
8838 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8839
8840         * lyxfunc.C: use lyx_gui::update_color()
8841
8842 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8843
8844         * bufferlist.C:
8845         * lyxfunc.h:
8846         * lyxfunc.C:
8847         * lyxrc.h:
8848         * lyxrc.C: remove file->new asks for name option, and let
8849           buffer-new take an argument
8850
8851 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * BufferView_pimpl.C: remove unneeded extra repaint()
8854
8855 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * LyXAction.C: allow command-sequence with NoBuffer
8858
8859         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8860
8861 2002-07-10  Angus Leeming  <leeming@lyx.org>
8862
8863         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8864
8865 2002-07-09  Angus Leeming  <leeming@lyx.org>
8866
8867         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8868
8869 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * lengthcommon.h: whitespace
8872
8873         * lyxfunc.C: update scrollbar after goto paragraph
8874
8875         * lyxtext.h: factor out page break drawing, and fix it so
8876           page break/added space paints as selected nicely
8877
8878 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * BufferView_pimpl.C: add FIXMEs, clean up a little
8881
8882 2002-07-09  André Pönitz <poenitz@gmx.net>
8883
8884         * lyxfont.[Ch]: support for wasy symbols
8885
8886 2002-07-08  André Pönitz <poenitz@gmx.net>
8887
8888         * BufferView_pimpl.C: apply John's patch for #93.
8889
8890 2002-07-05  Angus Leeming  <leeming@lyx.org>
8891
8892         * BufferView_pimpl.C (buffer): generate previews if desired.
8893
8894         * LColor.h: add "preview" to the color enum.
8895
8896         * LColor.C (LColor): add a corresponding entry to the items array.
8897
8898         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8899         with this buffer.
8900
8901 2002-07-05  Angus Leeming  <leeming@lyx.org>
8902
8903         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8904         The body of the code is now in the method that is passed an ostream &
8905         rather than a file name.
8906         Pass an additional only_preamble parameter, useful for the forthcoming
8907         preview stuff.
8908
8909 2002-07-03  André Pönitz <poenitz@gmx.net>
8910
8911         * lyxfunc.C: simplify getStatus() a bit for math stuff
8912
8913 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8914
8915         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8916
8917 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8918
8919         * text.C (changeRegionCase): do not change case of all the
8920         document when region ends at paragraph end (bug #461)
8921
8922 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * paragraph.C (startTeXParParams):
8925         (endTeXParParams): add \protect when necessary
8926
8927 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * BufferView_pimpl.C (workAreaExpose): remove warning
8930
8931 2002-06-27  Angus Leeming  <leeming@lyx.org>
8932
8933         * Makefile.am: add lyxlayout_ptr_fwd.h.
8934
8935 2002-06-26  André Pönitz <poenitz@gmx.net>
8936
8937         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8938
8939 2002-06-25  Angus Leeming  <leeming@lyx.org>
8940
8941         * lyxfunc.C (dispatch): Comment out the call to
8942         grfx::GCache::changeDisplay. The method no longer exists now that the
8943         pixmap generation part of the graphics loader has been moved into
8944         InsetGraphics.
8945
8946 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * text2.C: layout as layout
8949
8950         * text.C: layout as layout
8951
8952         * tabular.C (OldFormatRead): layout as layout
8953
8954         * paragraph_pimpl.C (TeXDeeper): layout as layout
8955         (realizeFont): layout as layout
8956
8957         * paragraph.C (writeFile): layout as layout
8958         (validate): layout as layout
8959         (getFont): layout as layout
8960         (getLabelFont): layout as layout
8961         (getLayoutFont): layout as layout
8962         (breakParagraph): layout as layout
8963         (stripLeadingSpaces): layout as layout
8964         (getEndLabel): layout as layout
8965         (getMaxDepthAfter): layout as layout
8966         (applyLayout): layout as layout
8967         (TeXOnePar): layout as layout
8968         (simpleTeXOnePar): layout as layout
8969         (TeXEnvironment): layout as layout
8970         (layout): layout as layout
8971         (layout): layout as layout
8972
8973         * lyxtextclass.C (compare_name): new functor to work with
8974         shared_ptr, layout as layout
8975         (Read): layout as layout
8976         (hasLayout): layout as layout
8977         (operator): layout as layout
8978         (delete_layout): layout as layout
8979         (defaultLayout): layout as layout
8980
8981         * lyxlayout_ptr_fwd.h: new file
8982
8983         * lyxlayout.C (Read): layout as layout
8984
8985         * lyx_cb.C (MenuInsertLabel): layout as layout
8986
8987         * bufferlist.C (newFile): layout as layout
8988
8989         * buffer.C (readLyXformat2): layout as layout
8990         (parseSingleLyXformat2Token): layout as layout
8991         (insertStringAsLines): layout as layout
8992         (asciiParagraph): layout as layout
8993         (latexParagraphs): layout as layout
8994         (makeLinuxDocFile): layout as layout
8995         (simpleLinuxDocOnePar): layout as layout
8996         (makeDocBookFile): layout as layout
8997         (simpleDocBookOnePar): layout as layout
8998         (getLists): layout as layout
8999
9000         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9001
9002         * CutAndPaste.C (cutSelection): layout as layout
9003         (pasteSelection): layout as layout
9004         (SwitchLayoutsBetweenClasses): layout as layout
9005
9006         * BufferView_pimpl.C (Dispatch): layout as layout
9007         (smartQuote): layout as layout
9008
9009         * BufferView2.C (unlockInset): layout as layout
9010
9011 2002-06-24  André Pönitz <poenitz@gmx.net>
9012
9013         * lyxfunc.C: fix #487
9014
9015 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * lyxrc.h:
9018         * lyxrc.C:
9019         * lyxfunc.C: remove display_shortcuts, show_banner
9020
9021 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * Buffer_pimpl.C: oops, update on resize
9024
9025 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * buffer.C:
9028         * converter.C:
9029         * exporter.C:
9030         * lyxfunc.C:
9031         * BufferView.h:
9032         * BufferView.C: use repaint()
9033
9034         * BufferView_pimpl.h:
9035         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9036           as it's a clearer description. Remove superfluous
9037           redraws.
9038
9039 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * text.C: fix bug 488. Not ideal, but getting
9042           getWord() to work properly for the insets that
9043           matter is more difficult ...
9044
9045 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * BufferView_pimpl.C:
9048         * LyXAction.C:
9049         * commandtags.h:
9050         * lyxfunc.C: remove the six million index lyxfuncs to just
9051           one, and DTRT (bug 458)
9052
9053 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * BufferView.h:
9056         * BufferView.C:
9057         * BufferView_pimpl.h:
9058         * BufferView_pimpl.C: clean up resize() stuff,
9059           and unnecessary updateScreen()s
9060
9061 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * BufferView.h:
9064         * BufferView.C:
9065         * BufferView_pimpl.h:
9066         * BufferView_pimpl.C:
9067         * lyxfind.h:
9068         * lyxfind.C:
9069         * minibuffer.C: remove focus management of workarea,
9070           not needed. Use screen's greyOut()
9071
9072 2002-06-17  Herbert Voss  <voss@lyx.org>
9073
9074         * converter.C: (convert) do not post a message, when converting
9075         fails, let the calling function decide what to do in this case
9076
9077 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * lyxfunc.C: tidy up a little
9080
9081 2002-06-16    <alstrup@diku.dk>
9082
9083         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9084         Got rid of FORMS_H_LOCATION include. Now we are
9085         GUII.
9086
9087 2002-06-15  LyX Development team  <lyx@rilke>
9088
9089         * buffer.[Ch] (sgmlOpenTag):
9090         (sgmlCloseTag): Added support for avoiding pernicious mixed
9091         content. Return number of lines written.
9092
9093         (makeLinuxDocFile):
9094         (makeDocBookFile): Fixed calls to sgml*Tag.
9095         Simple white space clean.
9096
9097         (simpleDocBookOnePar): Simple white space clean.
9098
9099         * tabular.[Ch] (docBook): Renamed to docbook and got another
9100         argument to related with the pernicious mixed content.
9101
9102         (docbookRow): Fixed calls for docbook inset method.
9103
9104 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9105
9106         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9107         so it's X11 independent.
9108
9109         * kb*.[Ch]: ditto.
9110
9111         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9112
9113 2002-06-15  Lyx Development team  <lyx@electronia>
9114
9115         * intl.h: Renamed getTrans to getTransManager.
9116
9117 2002-06-14  Angus Leeming  <leeming@lyx.org>
9118
9119         * Makefile.am: nuke forgotten stl_string_fwd.h.
9120
9121 2002-06-12  Angus Leeming  <leeming@lyx.org>
9122
9123         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9124
9125 2002-06-13  Angus Leeming  <leeming@lyx.org>
9126
9127         * LaTeX.C:
9128         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9129
9130 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9131
9132         * kbmap.C (getiso): add support for cyrillic and greek
9133
9134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * BufferView.h:
9137         * BufferView.C:
9138         * BufferView_pimpl.h:
9139         * BufferView_pimpl.C: move bogus scrolling logic
9140           to xforms
9141
9142 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * lyxfunc.C:
9145         * BufferView_pimpl.C: view->resize() change
9146
9147 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * BufferView_pimpl.C: topCursorVisible
9150           prototype change
9151
9152 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * Makefile.am:
9155         * lyx_gui.h:
9156         * lyx_gui.C: move to frontends/
9157
9158         * main.C:
9159         * lyx_main.h:
9160         * lyx_main.C: changes from above
9161
9162 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * intl.C:
9165         * intl.h:
9166         * kbmap.C:
9167         * kbsequence.C:
9168         * lyx_cb.C:
9169         * lyx_main.C: minor tidy
9170
9171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * BufferView_pimpl.h:
9174         * BufferView_pimpl.C:
9175         * BufferView.h:
9176         * BufferView.C: make painter() const,
9177           remove dead code
9178
9179         * BufferView2.C: use screen() accessor
9180
9181         * lyx_main.h:
9182         * lyx_main.C: some minor cleanup
9183
9184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * BufferView_pimpl.h:
9187         * BufferView_pimpl.C: remove enter/leaveView,
9188           use workHeight()
9189
9190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9191
9192         * BufferView.h:
9193         * BufferView.C:
9194         * BufferView2.C:
9195         * BufferView_pimpl.h:
9196         * BufferView_pimpl.C: only construct screen once,
9197           rename
9198
9199         * lyxrc.C: remove pointless comment
9200
9201 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * BufferView.h:
9204         * BufferView.C: remove active() and belowMouse()
9205
9206         * BufferView_pimpl.h:
9207         * BufferView_pimpl.C: use workarea() not workarea_,
9208           and make it use a scoped_ptr instead
9209
9210 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * lyx_gui.C: add debug message on BadWindow
9213
9214 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9215
9216         * sp_spell.C: fdopen is not part of the C++ standard.
9217
9218         * paragraph.C (InsetIterator): use >= instead of ==
9219
9220 2002-06-07  Angus Leeming  <leeming@lyx.org>
9221
9222         Fixes needed to compile with Compaq cxx 6.5.
9223         * BufferView_pimpl.C:
9224         * DepTable.C:
9225         * buffer.C:
9226         * converter.C:
9227         * encoding.C:
9228         * lyx_gui.C:
9229         * lyx_main.C:
9230         * lyxtextclasslist.C:
9231         * minibuffer.C:
9232         * sp_spell.C:
9233         * tabular_funcs.C:
9234         * vc-backend.C:
9235         all c-library variables have been moved into namespace std. Wrap
9236         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9237
9238         * lyxlength.C:
9239         * tabular-old.C:
9240         * tabular.C:
9241         Add a using std::abs declaration.
9242
9243         * kbmap.h (modifier_pair):
9244         * paragraph.h (InsetTable, InsetList):
9245         * lyxfont.h (FontBits):
9246         type definition made public.
9247
9248         * bufferlist.C (emergencyWriteAll): the compiler complains that
9249         there is more than one possible lyx::class_fun template to choose from.
9250         I re-named the void specialisation as lyx::void_class_fun.
9251
9252         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9253
9254         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9255         the compiler is is unable to find tostr in write_attribute.
9256
9257 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9258
9259         * buffer.C (sgmlError): hide #warning
9260
9261 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * xtl/*: get rid of xtl, which is not in use anyway
9264
9265         * LyXAction.C (init):
9266         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9267         were unimplemented xtl experimentation
9268
9269 2002-06-04  André Pönitz <poenitz@gmx.net>
9270
9271         * lyxfunc.C: disable array operation on simple formulae
9272
9273 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * converter.C: constify a bit
9276
9277 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * lyx_gui.C: check xforms version correctly
9280
9281 2002-04-30  Herbert Voss  <voss@lyx.org>
9282
9283         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9284         "keep" option
9285
9286 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9287
9288         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9289           attempt to register it with a VCS)
9290
9291 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * lyx_main.C (init): honor variables LYX_DIR_13x and
9294         LYX_USERDIR_13x
9295
9296 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * buffer.h:
9299         * buffer.C:
9300         * lyx_main.C: fix a crash on bad command line,
9301           and give a useful exit status on error
9302
9303         * lyxfunc.C (doImport): allow -i lyx to work
9304
9305 2002-03-30  André Pönitz <poenitz@gmx.net>
9306
9307         * lyxfunc.C: mathed font changes
9308
9309 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * LaTeX.C:
9312         * importer.h:
9313         * importer.C:
9314         * lyx_sty.h:
9315         * lyx_sty.C:
9316         * lyxlex.C:
9317         * lyxrow.h:
9318         * lyxtext.h:
9319         * paragraph.h:
9320         * paragraph.C:
9321         * texrow.h:
9322         * texrow.C:
9323         * text.C:
9324         * trans_mgr.h: srcdocs, and some minor cleanups
9325
9326 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9329         call getFont all the time)
9330
9331 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * switch from SigC signals to boost::signals
9334
9335 2002-05-29  André Pönitz <poenitz@gmx.net>
9336
9337         * paragraph_pimpl.C (getChar): don't call size() too often...
9338
9339 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * paragraph_pimpl.C (insertChar): do not try to update tables when
9342         appending (pos == size())
9343
9344         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9345         in order to reduce drastically the number of comparisons needed to
9346         parse a large document
9347
9348 2002-05-29  André Pönitz <poenitz@gmx.net>
9349
9350         * text.C:
9351         * text2.C:
9352         * lyxtextclass.C:
9353         * sp_pspell.h:
9354         * textclasslist.[Ch]:
9355         * sp_ispell.h: whitespace change
9356
9357 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9358
9359         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9360         lyxaction directly now.
9361
9362 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * trans.C:
9365         * lyxfont.C:
9366         * lyxvc.C: remove unused headers
9367
9368 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * Makefile.am:
9371         * buffer.h:
9372         * undostack.h:
9373         * undostack.C:
9374         * undo_funcs.h:
9375         * undo_funcs.C: some cleanups. Use shared_ptr
9376           and a template for the undo stacks.
9377
9378 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * BufferView_pimpl.h:
9381         * BufferView_pimpl.C:
9382         * kbmap.h:
9383         * kbmap.C:
9384         * kbsequence.h:
9385         * kbsequence.C:
9386         * lyxfunc.h:
9387         * lyxfunc.C:
9388         * text2.C: use key_state/mouse_state
9389
9390 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9391
9392         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9393         and LSubstring
9394
9395         * chset.C: change include order
9396         (loadFile): use boost regex and get rid of LRegex and LSubstring
9397
9398         * Makefile.am (BOOST_LIBS): new variable
9399         (lyx_LDADD): use it
9400
9401         * LaTeX.C: change include order.
9402         (scanAuxFile): use boost regex and get rid of LRegex and
9403         LSubstring
9404         (deplog): ditto
9405
9406 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * ColorHandler.h:
9409         * ColorHandler.C:
9410         * FontInfo.h:
9411         * FontInfo.C: moved to frontends/xforms/
9412
9413         * FontLoader.h:
9414         * FontLoader.C: moved into frontends for GUIIzation
9415
9416         * Makefile.am:
9417         * lyx_gui.C:
9418         * lyxfont.C:
9419         * lyxfunc.C: changes from above
9420
9421 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9422
9423         * LColor.C: remove spurious X include
9424
9425         * BufferView_pimpl.C:
9426         * Makefile.am:
9427         * font.h:
9428         * font.C:
9429         * text.C:
9430         * text2.C: move font metrics to frontends/
9431
9432 2002-05-24  Juergen Vigna  <jug@sad.it>
9433
9434         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9435         setting the undo_cursor.
9436
9437         * ParagraphParameters.h: include local includes first.
9438
9439 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * BufferView_pimpl.C:
9442         * BufferView_pimpl.h:
9443         * Makefile.am:
9444         * WorkArea.h:
9445         * WorkArea.C:
9446         * screen.C: move WorkArea into frontends/
9447
9448         * lyxscreen.h:
9449         * screen.C:
9450         * text.C:
9451         * BufferView.C:
9452         * BufferView2.C: move LyXScreen into frontends/
9453
9454         * lyxlookup.h:
9455         * lyxlookup.C:
9456         * lyx_gui.C: move lyxlookup into frontends/xforms/
9457
9458 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * BufferView2.C:
9461         * BufferView_pimpl.C:
9462         * FontLoader.C:
9463         * LyXView.h:
9464         * LyXView.C:
9465         * Makefile.am:
9466         * WorkArea.C:
9467         * XFormsView.h:
9468         * XFormsView.C:
9469         * buffer.C:
9470         * bufferlist.C:
9471         * bufferview_funcs.C:
9472         * converter.C:
9473         * importer.C:
9474         * lyx_cb.C:
9475         * lyx_gui.C:
9476         * lyx_main.C:
9477         * lyx_find.C:
9478         * lyxfunc.C:
9479         * lyxvc.C:
9480         * minibuffer.C:
9481         * text.C:
9482         * text2.C:
9483         * trans.C:
9484         * vc-backend.C: move LyX/XFormsView into frontends/
9485
9486 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9487
9488         * Makefile.am:
9489         * PainterBase.C:
9490         * PainterBase.h:
9491         * Painter.C:
9492         * Painter.h:
9493         * WorkArea.C:
9494         * WorkArea.h:
9495         * screen.C:
9496         * tabular.C:
9497         * text.C:
9498         * text2.C: move Painter to frontends/
9499
9500 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9501
9502         * buffer.C: comment out some some code that depend upon lyx_format
9503         < 220
9504
9505         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9506         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9507
9508         * buffer.h (NO_COMPABILITY): turn off compability
9509
9510         * ColorHandler.C: include scoped_array.hpp
9511
9512         * font.C: Use more specific smart_ptr header.
9513         * Painter.C: ditto
9514         * gettext.C: ditto
9515         * ShareContainer.h: ditto
9516         * lyx_main.h: ditto
9517         * kbmap.h: ditto
9518         * FontInfo.h: ditto
9519         * BufferView_pimpl.h: ditto
9520         * ColorHandler.h: ditto
9521
9522         * kbmap.C (defkey): change call to shared_ptr::reset
9523
9524 2002-05-21  Juergen Vigna  <jug@sad.it>
9525
9526         * buffer.C (insertErtContents): fix to insert ert asis if it is
9527         non empty. Skip it completely if it contains only whitespaces.
9528
9529 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * BufferView_pimpl.C:
9532         * BufferView2.C: clear selection on paste (bug 393)
9533
9534 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9535
9536         * DepTable.C: include ctime
9537
9538 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9539
9540         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9541
9542 2002-05-14  Juergen Vigna  <jug@sad.it>
9543
9544         * text.C (breakParagraph): fixed function to honor the keepempty
9545         layout in the right maner and also to permit the right breaking
9546         algorithm on empty or non empyt keepempty paragraphs.
9547
9548         * paragraph.C (breakParagraph): we have to check also if the par
9549         is really empty (!size()) for isempty otherwise we do the wrong
9550         paragraph break.
9551
9552 2002-05-10  Juergen Vigna  <jug@sad.it>
9553
9554         * buffer.[Ch] : The following are only changes to the ert
9555         compatibility read reading old LaTeX layout and font stuff and
9556         convert it to ERTInsets.
9557
9558         * buffer.h: added isErtInset().
9559
9560         * buffer.C (struct ErtComp): add a fromlayout bool to check
9561         if we're inside a LaTeX layout.
9562         (isErtInset): new helper function.
9563         (insertErtContents): look for other ert insets before this one
9564         and insert the contents there, so that we don't have subsequent
9565         ERT insets with nothing between them. This way we create only one
9566         inset with multiple paragraphs. Also check if we don't insert only
9567         spaces ' ' as they are ignored anyway afterwards in the .tex file
9568         so if we have only spaces we will ignore this latex part in the
9569         new file.
9570         (parseSingleLyXformat2Token \\layout): better compatibility when
9571         reading layout-latex stuff.
9572         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9573         language tag.
9574         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9575         stuff after reading the inset only get the information back from
9576         the stack.
9577
9578 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9581
9582         * LaTeXFeatures.C (getBabelOptions): New method.
9583
9584 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9585
9586         * BufferView_pimpl.C (Dispatch): work around missing argument for
9587         'layout'
9588
9589 2002-05-08  Juergen Vigna  <jug@sad.it>
9590
9591         * text.C (leftMargin): handle paragraph leftindent.
9592
9593         * paragraph.C (writeFile): write the new \\leftindent tag.
9594         (validate): handle leftindent code.
9595         (TeXEnvironment): handle paragraphleftindent code again.
9596
9597         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9598
9599         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9600         for paragrap_extra indent code and new token \\leftindent.
9601         (latexParagraphs): handle the leftindent as environment.
9602
9603         * ParameterStruct.h: added leftindent support.
9604
9605         * ParagraphParameters.C (leftIndent): added support functions for
9606         the paragraph left indent.
9607
9608         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9609         more appropriate.
9610
9611 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9612
9613         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9614         inside insetERT.
9615
9616         * text.C (computeBidiTables): No bidi in insetERT.
9617
9618         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9619         in RTL documents.
9620
9621 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9622
9623         * version.C.in: pre 5
9624
9625 2002-05-02  José Matos  <jamatos@fep.up.pt>
9626         * buffer.C (makeDocBookFile): white space changes, add newline to
9627         command styles.
9628         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9629
9630         * tabular.C (docBook): fix typo.
9631
9632 2002-05-03  Juergen Vigna  <jug@sad.it>
9633
9634         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9635         change in LyXText as we can not be sure it was not freed.
9636         (drawOneRow): remove unused code.
9637
9638         * text.C (drawInset): redo the calculation of the need_break_row as
9639         it could have a row which was already freed.
9640         (draw): look at the return value of drawInset and return false if
9641         it also returned false.
9642         (paintRowText): look at the return value of draw and return false if
9643         it also returned false.
9644
9645         * lyxtext.h: added bool return type to drawInset() and draw() so that
9646         if we have a change in the row so that the rowbreak has to be redone
9647         we abort drawing as it will be called again.
9648
9649 2002-05-02  Juergen Vigna  <jug@sad.it>
9650
9651         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9652         a change in the maintext also if we're inside an inset.
9653         (Dispatch): set the cursor again after a break line and after the
9654         screen has been updated as it could be we're in a different row.
9655
9656         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9657         to set the cursor behind the pargraph with > size().
9658         (setCursor): check also for the same paragraph when checking where
9659         to put the cursor if we have a NFR inset.
9660
9661         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9662         parts of layout read further up as it still was in the wrong
9663         position.
9664
9665 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9666
9667         * screen.C (drawFromTo): change sine fullRebreak always return
9668         true.
9669
9670         * buffer.C (parseSingleLyXformat2Token): reindent some
9671
9672         * BufferView_pimpl.C (update): change since fullRebreak always
9673         return true.
9674         (Dispatch): git rid of the last hardcoded "Standard"s.
9675
9676 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9677
9678         * text2.[Ch] (fullRebreak): make it return void now that we always
9679         returned true.
9680
9681 2002-04-30  Juergen Vigna  <jug@sad.it>
9682
9683         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9684         ert compatibility check for "latex" layout.
9685
9686 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9687
9688         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9689         minipages: use col% instead of p%, and also use the current font.
9690         (makeLaTeXFile): Fix use babel condition.
9691         (parseSingleLyXformat2Token): Correct font when reading old floats.
9692
9693 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9694
9695         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9696         inserting list of floats.
9697
9698 2002-04-25  Herbert Voss  <voss@lyx.org>
9699
9700         * MenuBackend.C (expand): don't add the graphics extensions to the
9701         export menu
9702
9703 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9706         non-existing layout, do not complain if it was the default layout
9707         of the original class (bug #342)
9708
9709 2002-04-24  Juergen Vigna  <jug@sad.it>
9710
9711         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9712         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9713
9714 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9715
9716         * buffer.C (getBibkeyList): If using \bibliography, return the
9717         option field with the reference itself. Enables us to provide natbib
9718         support when using \bibliography.
9719
9720 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9721
9722         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9723
9724         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9725         natbib is provided by the LaTeX class.
9726
9727 2002-04-23  Juergen Vigna  <jug@sad.it>
9728
9729         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9730         Wakeup functions.
9731
9732         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9733
9734 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9737
9738         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9739         ensuremath around textordmasculine, textordfeminine and
9740         textdegree.
9741
9742 2002-04-19  Juergen Vigna  <jug@sad.it>
9743
9744         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9745         reinitializing the buffer otherwise row-dimensions may be wrong.
9746         (update): reset also the selection cursors if they do exits otherwise
9747         their x/y positions may be wrong.
9748
9749         * text2.C (cursorDown): don't enter the inset if we came from a row
9750         above and are one row over the inset.
9751
9752         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9753         really leaving an inset.
9754
9755 2002-04-18  Juergen Vigna  <jug@sad.it>
9756
9757         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9758         of the selected paragraph does not have the selected layout also if
9759         the last one had!
9760
9761         * text2.C (setLayout): fixed bug which did not change last selected
9762         paragraph.
9763
9764         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9765         changed the read and substituted \\end_float with \\end_inset!
9766
9767         * BufferView_pimpl.C (cursorPrevious):
9768         (cursorNext): fixed to make it work with rows heigher than the work
9769         area without moving the cursor only the draw of the row.
9770         (workAreaMotionNotify): fix jumping over high rows.
9771
9772 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9775         Ressler.
9776
9777 2002-04-16  Juergen Vigna  <jug@sad.it>
9778
9779         * text2.C (setCursor): set also the irow().
9780         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9781         (cursorUp):
9782         (cursorDown): support for locking an inset if the x_fix value goes
9783         inside it. That way I can transverse insets too with cursor up/down.
9784
9785         * lyxrow.h: added irow helper function same as other (i) functions.
9786
9787         * BufferView_pimpl.C (cursorPrevious):
9788         (cursorNext): fixed for insets!
9789
9790 2002-04-15  Juergen Vigna  <jug@sad.it>
9791
9792         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9793         position otherwise it is wrong in some cases.
9794
9795         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9796         inside the inset before the call.
9797
9798 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9799
9800         * buffer.[Ch] (getBibkeyList): make it const.
9801
9802 2002-04-12  Juergen Vigna  <jug@sad.it>
9803
9804         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9805
9806         * text2.C (getCursorX): new helper function
9807         (setCursor): compute also ix_
9808         (setCursorFromCoordinates): set also ix.
9809
9810         * lyxcursor.h: added ix_ and helper functions.
9811
9812         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9813
9814         * buffer.C (insertStringAsLines): dont break paragraph if the this
9815         paragraph is inside an inset which does not permit it!
9816
9817         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9818         also with no chars on this paragraph.
9819         (paintRowText): only paint stuff if it's inside the workarea!
9820
9821         * paragraph.C (breakParagraph): honor keepempty flag and break the
9822         paragraph always below not above.
9823
9824         * BufferView2.C (unlockInset): update the paragraph layout on inset
9825         unlock as we changed paragraph in such a case.
9826
9827         * lyxfind.C (LyXFind): clear the former selection if not found!
9828
9829         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9830         again called in insertChar().
9831
9832         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9833         an inset which uses the whole row!
9834         (rightMargin): ditto.
9835         (insertChar): force a rebreak if we inserted an inset!
9836
9837 2002-03-28  Herbert Voss  <voss@lyx.org>
9838
9839         * lyxlength.[Ch]: add inBP() to get the right PS-point
9840         units (BigPoint). With inPixels we have rounding errors
9841
9842 2002-04-11  Juergen Vigna  <jug@sad.it>
9843
9844         * text2.C (setCursorFromCoordinates): set iy to the right value.
9845         (setCursor): add check if row->previous exists!
9846
9847         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9848         an old float_type as this was the case in the old code!
9849
9850         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9851
9852         * BufferView2.C (showLockedInsetCursor): use iy
9853         (fitLockedInsetCursor): ditto
9854
9855         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9856         locked insets as there we have the right value now.
9857
9858         * lyxcursor.C: added iy_ variable and iy functions to set to the
9859         baseline of cursor-y of the locked inset.
9860
9861         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9862         (setCursor): fixed for insets which need a full row.
9863
9864         * text.C (rowLastPrintable): don't ignore the last space when before
9865         an inset which needs a full row.
9866         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9867         as last character of a row when before a inset which needs a full row.
9868
9869 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * version.C.in: update date
9872
9873         * text2.C (fullRebreak): try to always return true and see what
9874         happens...
9875
9876 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * MenuBackend.C (expand): use Floating::listName
9879
9880         * FloatList.C (FloatList): add listName argument to the built-in
9881         floats
9882
9883         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9884         text associated with the float.
9885
9886 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9889
9890 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9891
9892         * ShareContainer.h: add a couple of missing typenames.
9893
9894 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9895
9896         * lyxrc.C (getDescription): use _() correctly rather than N_().
9897
9898 2002-03-28  Herbert Voss  <voss@lyx.org>
9899
9900         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9901         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9902
9903 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9906         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9907
9908 2002-03-29  Juergen Vigna  <jug@sad.it>
9909
9910         * lyxfunc.C (dispatch): add a missing fitCursor call.
9911
9912         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9913         it was scrolled by a cursor move, so return the bool status.
9914
9915         * BufferView.C (fitCursor): return the bool flag also to the outside
9916         world as this is needed.
9917
9918         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9919
9920         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9921         call the edit() as it is not needed (and wrong) IMO.
9922         (workAreaButtonPress): set the screen_first variable before evt.
9923         unlock the inset as this may change screen_first and then we have
9924         a wrong y position for the click!
9925
9926 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * MenuBackend.C (expand): another translation that I missed
9929
9930 2002-03-28  Juergen Vigna  <jug@sad.it>
9931
9932         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9933
9934         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9935
9936 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9939
9940         * MenuBackend.C (expand): fix export/view/update when there is no
9941         document open.
9942
9943 2002-03-27  Herbert Voss  <voss@lyx.org>
9944
9945         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9946         and text%
9947
9948 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * bufferview_funcs.C (currentState): only show paragraph number
9951         for is DEVEL_VERSION is set.
9952
9953         * lyxfunc.C (dispatch): put warning in INFO channel
9954
9955         * MenuBackend.C (expand): translate the name of floats
9956
9957         * FloatList.C (FloatList): mark the float names for translation
9958
9959         * converter.C (convert): use LibScriptSearch
9960
9961 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * MenuBackend.C (defaults): fix default menu (we might as well get
9964         rid of it...)
9965
9966 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9969         directory.
9970
9971 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9972
9973         * lyxvc.C: reorder includes.
9974
9975 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9978           properly
9979
9980 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * CutAndPaste.C: change layouts earlier on paste
9983           to avoid crashing when calling getFont()
9984
9985 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9986
9987         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9988         irritating #error.
9989
9990 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9991
9992         * WorkArea.C: remove 'Pending' debug message.
9993
9994         * most files: ws cleanup
9995
9996         * buffer.[Ch]: ws changes
9997
9998         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9999
10000 2002-03-21  Juergen Vigna  <jug@sad.it>
10001
10002         * tabular.C (SetMultiColumn): collapse also the contents of the
10003         cells and set the last border right. Added a Buffer const * param.
10004
10005 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10006
10007         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10008         linking or not.
10009
10010 2002-03-19  Juergen Vigna  <jug@sad.it>
10011
10012         * text2.C (clearSelection): reset also xsel_cache.
10013
10014         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10015         where it needs to be called (John tells us to do so too :)
10016         (selectionLost): reset sel_cache.
10017
10018         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10019
10020 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * text2.C (setCursorIntern): put debuging code in INSETS channel
10023
10024 2002-03-19  André Pönitz <poenitz@gmx.net>
10025
10026         * lyxfunc.C: tiny whitespace change
10027
10028 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10029
10030         * ToolbarDefaults.C (init):
10031         * LyXAction.C (init):
10032         * commandtags.h:
10033         * BufferView_pimpl.C (Dispatch):
10034         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10035
10036 2002-03-19  Allan Rae  <rae@lyx.org>
10037
10038         * exporter.C (Export): removeAutoInsets before doing anything else.
10039         While I've just introduced a dependency on BufferView this really is
10040         the best place to clean the buffer otherwise you need to cleanup in
10041         a dozen places before calling export or cleanup in a dozen functions
10042         that export calls.
10043
10044         * converter.C (runLaTeX):
10045         (scanLog): Better handling of removeAutoInsets and screen updates.
10046
10047         * lyxfunc.C (dispatch): small whitespace changes
10048
10049 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * WorkArea.C (C_WorkAreaEvent): return a value.
10052         (event_cb): return 1 if we handled the event, 0 otherwise.
10053
10054         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10055
10056 2002-03-18  Juergen Vigna  <jug@sad.it>
10057
10058         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10059         (GetAdditionalWidth): ditto.
10060         (RightLine): ditto.
10061         (LeftLine): ditto.
10062
10063         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10064         inset if we're there actually (probably not used right now but this
10065         is the direction to go for unifying code).
10066         (paste): disable code to clear the selection.
10067
10068         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10069         inside an InsetText and move the check further up as it is in the
10070         wrong place.
10071
10072         * text2.C (pasteSelection): set a selection over the pasted text.
10073
10074 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10075
10076         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10077         and libgraphics to build on Cygwin.
10078
10079 2002-03-15  Juergen Vigna  <jug@sad.it>
10080
10081         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10082         inserting an Inset into the paragraph. I know this is not the best
10083         fix but we already use current_view in CutAndPaste so we will remove
10084         all of it's using at the same time.
10085
10086         * buffer.C (sgmlError): deactivated function till it is rewritten in
10087         the right mode, now it can create problems.
10088
10089         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10090         before accessing it.
10091
10092 2002-03-14  Juergen Vigna  <jug@sad.it>
10093
10094         * undo_funcs.C (textHandleUndo): do the right thing when updating
10095         the inset after the undo/redo.
10096
10097         * text2.C (setCursor): just some testcode for #44 not ready yet.
10098
10099         * undo_funcs.C (textHandleUndo): set the next() and previous()
10100         pointers of the paragraph to 0 before deleting otherwise we have
10101         problems with the Paragraph::[destructor].
10102
10103         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10104         on a paragraph insertion.
10105
10106 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * buffer.C (asciiParagraph): use += operator for char append to
10109         string.
10110
10111         * paragraph.C (getFontSettings): compare >= not just >
10112         (highestFontInRange): ditto
10113         (setFont): ditto
10114
10115 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * paragraph.C: change several algorithm to be more appripriate for
10118         the problem domain. This is lookip in FontList and in the InsetList.
10119
10120 2002-03-13  André Pönitz <poenitz@gmx.net>
10121
10122         * commandtags.h:
10123         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10124
10125 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * commandtags.h:
10128         * LyXAction.C:
10129         * lyxfunc.C:
10130         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10131
10132 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * Painter.C (display): anon helper function, adjust code for this
10135         change.
10136         (pixmap): remove function.
10137
10138         * Painter.h: remove private display variable.
10139
10140         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10141
10142 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * WorkArea.[Ch]: remove figinset_canvas cruft.
10145
10146 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * lyxtextclass.C (operator): add one item cache optimization.
10149
10150         * bufferlist.h: doxy changes
10151
10152         * bufferlist.C: ws changes
10153
10154         * DepTable.[Ch] (ext_exist): place const in the right spot.
10155
10156         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10157         call resizeInsets.
10158         (workAreaExpose): call resizeInsets when the with BufferView changes.
10159         (Dispatch): adjust for protectedBlank removal
10160         (specialChar): call updateInset if the insert went ok.
10161
10162         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10163         specialChar instead.
10164
10165         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10166
10167         * BufferView.h: doxy change
10168
10169         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10170
10171         * lyxtextclass.C (operator[]): remove non-const version
10172         (defaultLayout): remove non-const version
10173
10174 2002-03-12  Juergen Vigna  <jug@sad.it>
10175
10176         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10177         did resize the LyXText too.
10178
10179         * buffer.C (readLyXformat2): set layout information on newly allocated
10180         paragraphs.
10181
10182         * tabular.C (OldFormatRead): set layout information on the paragraph.
10183
10184 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10185
10186         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10187
10188 2002-03-11  Juergen Vigna  <jug@sad.it>
10189
10190         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10191         plainly wrong.
10192         (resizeCurrentBuffer): force also the insets to resize themselfes.
10193         (moveCursorUpdate): fixed up for InsetText.
10194
10195 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10196
10197         * commandtags.h:
10198         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10199         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10200         value of Dialogs::tooltipsEnabled().
10201         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10202
10203 2002-03-08  Juergen Vigna  <jug@sad.it>
10204
10205         * BufferView_pimpl.C (updateInset): update inset inside inset also
10206         if it isn't inside theLockingInset().
10207
10208 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * buffer.C (asciiParagraph): redo some of the word and line length
10211         handling.
10212         (getLists): look for Caption instead of caption.
10213
10214 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * buffer.C (Buffer): initialize niceFile to true
10217         (makeLaTeXFile):
10218         (makeLinuxDocFile):
10219         (makeDocBookFile): make sure niceFile is true on exit
10220
10221 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10224
10225 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10226
10227         * LyXSendto.C: remove.
10228         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10229         * lyx_gui.C: remove now-redundant comment.
10230         * ColorHandler.h: remove forward declaration of class WorkArea.
10231         * lyxfunc.C: remove #include "WorkArea.h".
10232
10233 2002-03-07  Juergen Vigna  <jug@sad.it>
10234
10235         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10236         got moved away with the DEPM and also set the inset_owner always
10237         right which before could have been omitted.
10238
10239 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240
10241         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10242         wanted layout is not found.
10243
10244 2002-03-07  Juergen Vigna  <jug@sad.it>
10245
10246         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10247
10248 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10249
10250         * paragraph.C (breakParagraph): use default layout not layout of
10251         prev paragraph.
10252         (Paragraph): clear ParagraphParameters.
10253
10254 2002-03-06  Juergen Vigna  <jug@sad.it>
10255
10256         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10257         otherwise it would not be a valid lenght. Fixed a special case in
10258         the minipage compatibility read where we end the document with a
10259         minipage.
10260
10261         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10262         was set as it could be 0 for InsetTexts first entry.
10263
10264 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * paragraph.C (writeFile): if layout is empty write out
10267         defaultLayoutName().
10268
10269         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10270         file without named layout we set layout to defaultLayoutName().
10271
10272 2002-03-06  Juergen Vigna  <jug@sad.it>
10273
10274         * CutAndPaste.C (copySelection): set layout for new paragraph.
10275
10276         * text.C (prepareToPrint): leave ERT inset left aligned
10277         (leftMargin): don't indent paragraphs inside ERT insets
10278
10279 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10280
10281         * paragraph.C (breakParagraph): dont call clear do the work manually
10282
10283         * paragraph.[Ch] (clear): remove function
10284
10285 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * paragraph.C (Paragraph): dont call clear, the work has already
10288         been done.
10289
10290         * lyxtextclass.C (operator): assert if n is empty
10291
10292         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10293         work manually instead.
10294
10295 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * BufferView_pimpl.C: protect selectionLost against text == 0
10298
10299 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10300
10301         * text.C (breakParagraph): fix a setting layout to '0' problem.
10302
10303 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10304
10305         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10306         final location of file, for the included files, and graphics.
10307
10308 2002-03-05  Juergen Vigna  <jug@sad.it>
10309
10310         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10311
10312 2002-03-04  Juergen Vigna  <jug@sad.it>
10313
10314         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10315
10316         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10317         last column of multicolumn cells.
10318         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10319
10320 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10321
10322         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10323         file if it doesn't go to a temporary file.
10324
10325         * buffer.C (sgmlOpenTag):
10326         (sgmlCloseTag):  remove extra newline insertion.
10327
10328 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10329
10330         * text.C (getRowNearY): comment out debug msg
10331
10332 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10333
10334         * text2.C: first -> first_y
10335
10336         * text.C (getRowNearY): add some attemts at a possible
10337         optimization, not working.
10338
10339         * tabular.[Ch]: add BufferParams to several function so that newly
10340         created paragraph can be initialized to he default layotu for the
10341         buffers textclass.
10342
10343         * tabular-old.C (ReadOld): add buf->params to call of Init
10344
10345         * screen.C: rename text->first to text->first_y
10346
10347         * paragraph.C (breakParagraph): always set layout in the broken
10348         paragraph
10349
10350         * lyxtextclass.C (Read): remove lowercase
10351         (hasLayout): ditto
10352         (operator): ditto
10353         (delete_layout): ditto
10354
10355         * lyxtext.h: rename first -> first_y
10356
10357         * lyxlayout.C (Read): remove lowercase
10358         (name): ditto
10359         (setName): ditto
10360         (obsoleted_by): ditto
10361
10362         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10363
10364         * buffer.C (insertErtContents): add params are to InsetERT
10365         (parseSingleLyXformat2Token): add code to check if a paragraphs
10366         layout really exist.
10367         (parseSingleLyXformat2Token): add params to several inset
10368         constructors
10369         (asciiParagraph): remove lowercase, do the layout comparisons with
10370         no_case
10371
10372         * BufferView_pimpl.C (cursorNext): first -> first_y
10373         (resizeCurrentBuffer): first -> first_y
10374         (updateScrollbar): first -> first_y
10375         (scrollCB): first -> first_y
10376         (workAreaMotionNotify): first -> first_y
10377         (workAreaButtonPress): first -> first_y
10378         (checkInsetHit): first -> first_y
10379         (cursorPrevious): first -> first_y
10380         (cursorNext): first -> first_y
10381         (Dispatch): add buffer_->params to severl inset contructors
10382
10383 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10384
10385         * lyxlayout.C (Read): remove some debug info that I forgot.
10386
10387         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10388         clean up the code slightly.
10389         (makeLinuxDocFile): ditto
10390         (makeDocBookFile): ditto
10391
10392         * text2.C: layout as string
10393
10394         * text.C: layout as string
10395
10396         * paragraph_pimpl.C: layout as string
10397
10398         * paragraph.[Ch]: layout as string
10399
10400         * lyxtextclasslist.[Ch]: layout as string
10401
10402         * lyxtextclass.[Ch]: layout as string
10403
10404         * lyxtext.h: layout as string
10405
10406         * lyxlayout.[Ch]: layout as string
10407
10408         * lyx_cb.C: layout as string
10409
10410         * bufferview_funcs.C: layout as string
10411
10412         * bufferparams.C: layout as string
10413
10414         * buffer.C: layout as string
10415
10416         * LyXView.[Ch]: layout as string
10417
10418         * LaTeXFeatures.[Ch]: layout as string
10419
10420         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10421
10422         * BufferView_pimpl.C: change current_layout to string, remove
10423         lyx::layout_type.
10424         (Dispatch):
10425         (smartQuote):
10426         (insertInset):
10427         (workAreaButtonRelease): layout as string
10428
10429         * BufferView2.C (unlockInset): adjust
10430
10431         * vspace.C (asLatexCommand): use an explict temp variable.
10432
10433 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * Makefile.am: use FRONTEND_*
10436
10437 2002-03-01  Juergen Vigna  <jug@sad.it>
10438
10439         * tabular.C (SetWidthOfMulticolCell): changed to something better
10440         I hope but still work in progress.
10441         (recalculateMulticolumnsOfColumn): renamed function from
10442         recalculateMulticolCells as it is more appropriate now.
10443         (SetWidthOfCell): calculate multicols better.
10444
10445 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10448
10449         * lyxfunc.C (processKeySym): print sequence also if it is
10450         `deleted' (complete)
10451
10452         * kbsequence.C (print): print sequence even if it is deleted
10453         (complete would be a better word, actually).
10454
10455         * lyxfunc.C (dispatch): print complete options after a prefix key
10456
10457         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10458
10459 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10460
10461         * text2.C (setCharFont): eliminate setCharFont code duplication.
10462
10463 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10466         LFUN_TABULAR_FEATURE (bug #177)
10467
10468 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10469
10470         * Makefile.am: remove figure.h
10471
10472 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10473
10474         * Bufferview_pimpl.C:
10475         * CutAndPasteC:
10476         * LaTeX.C:
10477         * LyXSendto.C:
10478         * buffer.C:
10479         * bufferlist.C:
10480         * converter.C:
10481         * language.C:
10482         * lyxfunc.C:
10483         * lyxvc.C:
10484         * paragraph.C:
10485         * text.C:
10486         * text2.C: remove #include "lyx_gui_misc.h".
10487
10488         * LaTeX.C: added #include <cstdio>
10489
10490 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10491
10492         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10493         that the paragraph following this one can have.
10494
10495         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10496
10497         * vspace.C (asLatexCommand): fix bogus gcc warning
10498
10499         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10500
10501 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10502
10503         * text2.C (setLayout): get rid of redundant code
10504
10505 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10506
10507         * text2.C (incDepth): make sure depth cannot be increased beyond
10508         reasonable values.
10509
10510 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10511
10512         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10513         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10514
10515         * PainterBase.h (image):
10516         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10517         a LyXImage const *.
10518
10519 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * BufferView.C:
10522         * BufferView.h:
10523         * BufferView_pimpl.C:
10524         * BufferView_pimpl.h:
10525         * LaTeXFeatures.C:
10526         * LyXAction.C:
10527         * LyXView.C:
10528         * Makefile.am:
10529         * UpdateList.h:
10530         * UpdateList.C:
10531         * buffer.C:
10532         * figure.h:
10533         * figureForm.C:
10534         * figureForm.h:
10535         * figure_form.C:
10536         * figure_form.h:
10537         * lyx_cb.C:
10538         * lyx_gui.C:
10539         * lyx_gui_misc.C:
10540         * lyxfunc.C:
10541         * sp_base.h:
10542         * sp_ispell.h:
10543         * sp_pspell.h:
10544         * sp_spell.C: remove fig inset, and the crap house of
10545           cards that follows it
10546
10547 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * Makefile.am:
10550         * lyxserver.C:
10551         * os2_defines.h:
10552         * os2_errortable.h:
10553         * nt_defines.h: move .h into support/
10554
10555         * vms_defines.h: remove
10556
10557         * WorkArea.C: add space in debug output
10558
10559         * text2.C:
10560         * paragraph.C:
10561         * buffer.C: add WITH_WARNINGS
10562
10563         * vc-backend.h:
10564         * vc-backend.C:
10565         * bufferlist.C: s/retrive/retrieve/, add docs
10566
10567         * vspace.h:
10568         * vspace.C:
10569         * kbmap.h:
10570         * lyxlength.h:
10571         * lyxgluelength.h:
10572         * length_common.h:
10573         * chset.h:
10574         * chset.C: add docs
10575
10576         * lyxgui.C: add ID to X error handler
10577
10578         * lyxtestclass.c: fix typo
10579
10580 2002-02-26  Juergen Vigna  <jug@sad.it>
10581
10582         * tabular_funcs.C (write_attribute): changed so that some default
10583         attributes are not written at all.
10584         (getTokenValue): set default values before trying to read the
10585         value so we have the return value always set as default if we don't
10586         find the token we search for.
10587
10588         * tabular.C (Write): write bools as bools not as strings!
10589
10590 2002-02-22  Juergen Vigna  <jug@sad.it>
10591
10592         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10593         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10594
10595         * text.C (leftMargin): don't add an indent for paragraphs inside
10596         tabular cells (fix #208).
10597
10598 2002-02-21  José Matos  <jamatos@fep.up.pt>
10599
10600         * tabular.C (docBook): fixed support for long tables.
10601
10602 2002-02-20  Juergen Vigna  <jug@sad.it>
10603
10604         * text2.C (getFont): get the drawing font of the Inset if this
10605         paragraph is inside an inset (only important for InsetERT for now).
10606
10607         * buffer.C (insertErtContents): use new lanugage params in ERT
10608         constructor.
10609
10610         * CutAndPaste.C: commenting out seemingly uneeded code.
10611
10612 2002-02-19  Allan Rae  <rae@lyx.org>
10613
10614         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10615         Iterators might be simple to use but they also get invalidated.
10616         (removeAutoInsets): renamed saved cursor tracking variables and added
10617         some comments to clarify what everything does.
10618
10619 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10620
10621         * Chktex.C:
10622         * LaTeX.C:
10623         * LyXSendto.C:
10624         * converter.C:
10625         * lyx_cb.C:
10626         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10627         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10628
10629         * lyxfunc.C:
10630         * vc-backend.h: remove #include "support/syscall.h"
10631
10632         * LaTeX.C:
10633         * LyXSendto.C:
10634         * converter.C: rearrange #includes in Lars' approved fashion.
10635
10636         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10637         forward declare class Timeout in the header file.
10638
10639         * XFormsView.C: changes due to the above.
10640
10641         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10642         similar to LyXView.
10643
10644         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10645         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10646
10647 2002-02-18  José Matos  <jamatos@fep.up.pt>
10648
10649         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10650         insets contents.
10651
10652 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10653
10654         * a lot of small ws changes
10655         * add a lot of using std::XXX
10656         * use std construcs some places where approp.
10657         * use some exisint stuff from lyxfunctional where approp.
10658         * Make file changes to use partial linking (lets test this now...)
10659
10660 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10661
10662         * Chktex.C:
10663         * buffer.C:
10664         remove #include "support/syscontr.h" as it's redundant. Always has been.
10665
10666         * Chktex.C:
10667         * LaTeX.C:
10668         * LyXSendto.C:
10669         * converter.C:
10670         * lyx_cb.C:
10671         * vc-backend.C:
10672         change Systemcalls::System to Systemcalls::Wait and
10673         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10674         No change of functionality, just reflects the stripped down Systemcalls
10675         class.
10676
10677 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10678
10679         * debug.[Ch]: add a GRAPHICS type to the enum.
10680
10681 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10684
10685         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10686         there is an inset.
10687
10688 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10691         match the changes below.
10692
10693         * text2.C (toggleInset): if there is not editable inset at cursor
10694         position, try to see if cursor is _inside_ a collapsable inset
10695         and close it.
10696
10697 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10700         document menu has a nice checkbox
10701
10702 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * lyxlength.C (asLatexString): change PW to output as percent of
10705         \textwidth.
10706
10707         * lengthcommon.C: change '%' to 't%'
10708
10709         * lyxfunc.C (dispatch): a few comments from Martin
10710
10711 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * WorkArea.h:
10714         * WorkArea.C:
10715         * BufferView_pimpl.h:
10716         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10717           the X selection.
10718
10719 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * vspace.C (inPixels): fix compiler warning
10722
10723 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * lyxfunc.C (getStatus): fix status message for disabled commands.
10726
10727 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * BufferView_pimpl.C: fix crash on close buffer
10730         during selection (#227)
10731
10732 2002-01-27  Herbert Voss  <voss@lyx.org>
10733
10734         * buffer.C: link old Figure to new graphic inset
10735
10736 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * FontLoader.C (getFontinfo): Change the latex font names in order
10739         to match the names of type1inst.
10740
10741 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10744
10745         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10746         (extchanged): ditto
10747         (ext_exist): ditto
10748         (remove_files_with_extension): ditto
10749         (remove_file): ditto
10750         (write): ditto
10751
10752         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10753         document is smaller than the work area height. Do not initialize
10754         static variables to 0.
10755
10756 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10759
10760         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10761         LFUN_LAYOUT_PARAGRAPHS.
10762
10763         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10764         tabular. It is possible to provide a possible cell, which will
10765         typically be the actcell from the corresponding insettabular
10766
10767         * lyxfunc.C (getStatus): small cleanup; disable
10768         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10769         true
10770
10771 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10774
10775         * paragraph.C (startTeXParParams):
10776         (endTeXParParams): new methods. The LaTeX code to
10777         start/end paragraph formatting
10778         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10779         empty (fixes bug #200)
10780
10781         * vspace.C (inPixels): adapt to the change below
10782         (inPixels): [later] more cleanups (remove unused variables)
10783
10784         * lyxlength.C (inPixels): change to use a width and a height as
10785         parameter.
10786
10787 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10790         Replaced with \paperwidth
10791
10792         * DepTable.C (insert): add std:: qualifier
10793
10794 2002-01-18  Allan Rae  <rae@lyx.org>
10795
10796         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10797         updated also?
10798
10799         * text.C (drawInset): Turned out I didn't know enough about how
10800         rebreaking worked.  This fixes most of the redraw problems.  I see
10801         an occasional cursor trail when a line is broken now and the cursor
10802         placement can seem out by a few pixels also after a rebreak.
10803
10804 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * buffer.C (parseSingleLyXformat2Token): update because minipage
10807         width is now a LyXLength
10808
10809         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10810
10811         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10812         math insets
10813
10814 2002-01-17  Juergen Vigna  <jug@sad.it>
10815
10816         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10817
10818         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10819         is set correctly and the inset is updated correctly.
10820
10821 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10824         the beginning of the loop.
10825
10826 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * lyxrc.C: improve help for use_scalable_fonts
10829
10830 2002-01-17  Allan Rae  <rae@lyx.org>
10831
10832         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10833
10834 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10837         make sure to set their inset_owner to the right value (bug #171)
10838
10839 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10840
10841         * DepTable.h
10842         * DepTable.C: Implement mtime checking to reduce time spent doing
10843         CRCs.
10844
10845 2002-01-16  Juergen Vigna  <jug@sad.it>
10846
10847         * tabular.C (GetAdditionalHeight): one of error fixed.
10848
10849         * lyxrc.C (output): small fix in writing use_pspell.
10850
10851 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10852
10853         * sp_base.h: #include LString.h
10854
10855 2002-01-16  Allan Rae  <rae@lyx.org>
10856
10857         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10858         Can someone check this please?
10859
10860         * text.C (drawInset): It was possible that p.row would be removed by
10861         breakAgainOneRow upsetting a few other settings.  There may be another
10862         small tweak possible by setting need_break_row = 0 when p.row has been
10863         removed but I don't know enough about the logic here.
10864
10865 2002-01-15  Allan Rae  <rae@lyx.org>
10866
10867         * text.C (insertChar): removed conditional truism.
10868
10869         * BufferView2.C (removeAutoInsets): More tweaks.
10870         cur_par_prev could be a stray pointer.  Check for trailing empty line
10871         in case last line was cur_par and only had an error inset on it.
10872
10873 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10876         absolute
10877
10878         * vc-backend.C (most methods):
10879         * exporter.C (Export):
10880         * converter.C (convert):
10881         (runLaTeX):
10882         * LyXSendto.C (SendtoApplyCB):
10883         * lyxfunc.C (dispatch):
10884         (menuNew):
10885         (open):
10886         (doImport):
10887         * lyx_cb.C (AutoSave):
10888         (InsertAsciiFile):
10889         * BufferView_pimpl.C (MenuInsertLyXFile):
10890         * buffer.C (runChktex): use Buffer::filePath().
10891
10892         * buffer.h: rename filename to filename_; rename filepath to
10893         filepath_ and make it private
10894         (filePath): new method
10895
10896         * buffer.C (writeFile): use fileName()
10897         (getLatexName):
10898
10899         * lyx_main.C (init): fix starting  of LyX when the binary is a
10900         link from so,ewhere else.
10901
10902         * minibuffer.C: include <cctype> for isprint
10903
10904 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10905
10906         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10907         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10908         name clash with InsetCollapsable's width function.
10909
10910 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10911
10912         * lastfiles.C: include <iterator>
10913
10914 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10917         std::count.
10918
10919         * buffer.C (makeLaTeXFile): ditto.
10920         Also make loop operation more transparent.
10921
10922 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10923
10924         * ToolbarDefaults.C: remove trailing comma closing namespace.
10925
10926         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10927
10928         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10929         as in WorkArea.
10930
10931         * trans.C (Load): comment out unused variable, allowed.
10932
10933 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10934
10935         * minibuffer.[Ch] (append_char): new method to recieve input from the
10936         drop-down completion browser. If a key was pressed, then recieve this
10937         char and append it to the existing string.
10938         (peek_event): modify the positioning data passed to the completion
10939         browser so that it can be placed above the minibuffer rather than below.
10940 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * LyXAction.C (init): alloe error-next for readonly documents.
10943
10944         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10945         count.
10946
10947 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10948
10949         * bufferlist.C (readFile): create the buffer _after_ checking that
10950         the file exists.
10951
10952         * lyxfunc.C (verboseDispatch): fix handling of arguments
10953
10954         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10955
10956         * lyxrc.C: use string::erase() instead of initializing to "".
10957
10958
10959 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * BufferView_pimpl.h:
10962         * BufferView_pimpl.C:
10963         * WorkArea.h:
10964         * WorkArea.C:
10965         * text2.C: tell X when we have made a selection for copying
10966
10967 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * BufferView_pimpl.C (MenuInsertLyXFile):
10970         * lyxfunc.C (menuNew):
10971         (open):
10972         (doImport): add shortcuts to directory buttons
10973
10974         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10975         open a float)
10976
10977         * lyxfunc.C (setStatusMessage):
10978         (getStatusMessage): new methods
10979         (getStatus):use setStatusMessage instead of setErrorMessage
10980         (dispatch): when function is disabled, set error message here
10981         [instead of in getStatus previously]
10982
10983         * BufferView_pimpl.C (workAreaButtonRelease): update
10984         toolbar/menubar here too.
10985
10986 2002-01-13  Allan Rae  <rae@lyx.org>
10987
10988         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10989         Now seems indestructible.  Remaining task is to audit all other
10990         code affected by deleteEmptyParagraphMechanism.  One small quirk
10991         left is that an empty document with an error in the preamble can
10992         be made to report an error but no error box appears.  I don't know
10993         where it goes.
10994         (removeAutoInsets): Improved comments.
10995
10996 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * Thesaurus.h:
10999         * Thesaurus.C: update for Aiksaurus 0.14
11000
11001 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * text2.C (firstParagraph): removed member function, all uses
11004         replaces with ownerParagraph
11005         (redoParagraphs): here
11006         (updateInset): here
11007         (toggleAppendix): here
11008         * BufferView2.C (insertErrors): here
11009         (setCursorFromRow): here
11010
11011 2002-01-13  Allan Rae  <rae@lyx.org>
11012
11013         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11014         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11015         There is still a way to segfault this although you may have to do this
11016         multiple times: Have an InsetERT with an unknown command in it.
11017         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11018         <down-arrow>, <Enter> again, View->DVI, BANG!
11019
11020         * text2.C (setCursor):
11021         (deleteEmptyParagraphMechanism):
11022         * lyxtext.h (setCursor):
11023         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11024         Making use of the return value may help fix other bugs.
11025
11026 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11029
11030         * LyXView.C (updateMenubar): call MenuBar::update here
11031         (updateToolbar): but not here
11032         (showState): do not update toolbar/menubar
11033
11034         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11035         should need to care about that.
11036
11037         * lyxfunc.C (verboseDispatch): simplify a bit
11038         (getStatus): have a version which takes a pseudoaction, and
11039         another which requires a (kb_action,string).
11040
11041         * LyXAction.C (retrieveActionArg): make it work also when action
11042         is not a pseudo-action.
11043         (getActionName): simplify a bit
11044         (helpText):
11045
11046 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * lyxfunc.C (verboseDispatch): new families of methods with
11049         several ways to specify a command and a bool to indicate whether
11050         the command name and shortcut should be displayed in minibuffer
11051         (eventually, we could extend that to a finer bitmask like
11052         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11053         (dispatch): the pristine dispatch command which just, well,
11054         dispatchs! Note it still sets its result to minibuffer; I'm not
11055         sure we want that.
11056
11057         * lyxfunc.h: remove setHintMessage
11058
11059         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11060
11061 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11062
11063         * BufferView_pimpl.C (specialChar): delete new inset if we have
11064         not been able to insert it.
11065
11066         * kbmap.C: revert to using int instead of kb_action, since all we
11067         are dealing with is pseudo-actions.
11068
11069         * LyXAction.C (searchActionArg): change to return int instead of
11070         kb_action, since the result is a pseudoaction.
11071
11072 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11073
11074         * buffer.C (insertErtContents): Fix (partially) the font bug.
11075
11076 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11079         as the other one is broken on my machine!
11080
11081 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11082
11083         * commandtags.h:
11084         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11085
11086 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11087
11088         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11089         reflect their actual use. Provide compatibility code for older lyxrc
11090         files.
11091
11092         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11093         FL_NORMAL_STYLE.
11094         change names of popup font variables in line with the changes to lyxrc.C
11095
11096 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * buffer.C (asciiParagraph): avoid outputing a word twice after
11099         an inset.
11100
11101         * lyxrc.C (getDescription): document that document_path and
11102         template_path can be empty.
11103
11104 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * LaTeXFeatures.C (getMacros):
11107         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11108
11109         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11110
11111         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11112         getPackages.
11113         (getPackages): rename feature "floats" to "float". Use an array to
11114         iterate over 'simple' features (i.e. just a \usepackage). Add
11115         handling of "amsmath" (renamed from "amsstyle").
11116
11117 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11118
11119         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11120         features list.
11121
11122 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11125         FuncStaus::FuncStatus & FuncStaus::some_method().
11126
11127 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11128
11129         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11130         of the func_satus stuff. Edited and massaged in various ways by
11131         JMarc.
11132
11133         * lyxfunc.C (getStatus): use FuncStatus
11134
11135 2002-01-08  Juergen Vigna  <jug@sad.it>
11136
11137         * text.C (nextBreakPoint): use function Inset::isChar().
11138
11139         * paragraph.C (TeXOnePar): use function
11140         Inset::forceDefaultParagraphs.
11141
11142         * buffer.C (latexParagraphs): use function
11143         Inset::forceDefaultParagraphs.
11144
11145 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * lyx_gui.C (init): set the style of the menu popups to
11148         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11149
11150 2002-01-07  Juergen Vigna  <jug@sad.it>
11151
11152         * text.C (setHeightOfRow): small fix
11153         (prepareToPrint): don't look at alignment if we don't have the place
11154         for doing it.
11155
11156 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11157
11158         * box.C: New file. Move the Box methods and functions out of box.h,
11159         following Lars' suggestion.
11160
11161 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11162
11163         * box.h: #include "support/LOstream.h", needed for inlined function.
11164
11165         * lyxtextclass.C:
11166         * lyxtextclasslist.C: added some using std declarations.
11167
11168 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * box.h: make signed dimensions to allow insets wider than
11171           the screen (bug #162)
11172
11173         * BufferView_pimpl.C: add some insetHit debug
11174
11175 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * vc-backend.C: add FIXME
11178
11179 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11180
11181         * lyxfunc.C (getStatus): enable code for showing math font status
11182         in toolbar/menu.
11183
11184 2002-01-07  Juergen Vigna  <jug@sad.it>
11185
11186         * text.C (nextBreakPoint): removed debug output not needed anymore.
11187
11188 2002-01-06  Juergen Vigna  <jug@sad.it>
11189
11190         * text.C (nextBreakPoint): fixed up this function we had this bug
11191         since ever but now hopefully we break row better.
11192         (insertChar): we have to check if an inset is the next char as it
11193         could now happen that a large inset is causing a break.
11194
11195 2002-01-05  Juergen Vigna  <jug@sad.it>
11196
11197         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11198         if it doesn't like to be drawed.
11199
11200 2002-01-04  Juergen Vigna  <jug@sad.it>
11201
11202         * BufferView2.C (lockInset): forgot to set a cursor.
11203
11204         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11205
11206 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11207
11208         * FormMathsPanel.C:
11209         * FormMathsPanel.h
11210         * MathsSymbols.C:
11211         * form_maths_panel.C:
11212         * form_maths_panel.h:
11213         * form_maths_panel.fd: implemented sub- and super- buttons in math
11214         panel.
11215
11216         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11217         (or ^ space) to be used as in TeX (req'd by André).
11218
11219         * lyxfunc.C: Allow ^ and _ again to be used both as
11220         super/subscript (mathed) and as themselves (in text).
11221
11222 2002-01-03  Allan Rae  <rae@lyx.org>
11223
11224         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11225         "LyX" or the filename of the current buffer if it has one.  This is a
11226         modified form of John Levon's patch.
11227
11228         * XFormsView.C (setWindowTitle): also set icon title.
11229
11230         * LyXView.h (setWindowTitle): signature changed.
11231         * XFormsView.h (setWindowTitle): ditto.
11232
11233 2002-01-02  Juergen Vigna  <jug@sad.it>
11234
11235         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11236
11237 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * screen.C (topCursorVisible): introduce a temp var for
11240         text->cursor.row(), handle the case where this row is null. (kindo
11241         hachish)
11242
11243         * text2.C (setCursor): add a couple of asserts.
11244
11245         * paragraph.h (inset_iterator): add -> operator
11246
11247         * paragraph.[Ch] (autoDeleteInsets): remove member function
11248
11249         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11250         cursor pos correctly and handle inset deletion by itself.
11251         (insertErrors): move iterator declaration out of for expression
11252
11253         * lyxtextclass.C: add <algorithm>
11254
11255         * Makefile.am: added the new files to sources, removed layout.C
11256
11257         * layout.C: removed file
11258
11259         * layout.h: remove LYX_DUMMY_LAYOUT
11260
11261         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11262         layout.
11263
11264         * lyxlayout.[Ch]:
11265         * lyxtextclass.[Ch]:
11266         * lyxtextclasslist.[Ch]: new files
11267
11268         * include order changes to a lot of files, also changes because of
11269         the six new files.
11270
11271 2001-12-27  Juergen Vigna  <jug@sad.it>
11272
11273         * buffer.C (asciiParagraph): more fixes.
11274
11275         * tabular.C (ascii): make ascii export support export of only the
11276         data separated by a column-delimiter.
11277         (ascii): better support for ascii export.
11278
11279         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11280
11281 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11282
11283         * tabular_funcs.C: use a "using std::getline" instead of the
11284         previous fix from Angus (necessary for cxx + lyxstring)
11285
11286 2001-12-24  Juergen Vigna  <jug@sad.it>
11287
11288         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11289
11290         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11291         problems. First check a minipage also if we have some ert-contents
11292         (not only on par->size(), second set the right depth of the paragraph
11293         on the relink to the root-paragraph-list!
11294
11295         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11296         which then did not anymore update the main paragraphs on undo/redo!
11297
11298 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11301         code. Support all font-changing funcs (even those which are not in
11302         menu currently). Support for reporting font settings in
11303         mathed (disabled until Andre provides a function on mathed's side).
11304
11305         * func_status.h (toggle): small helper function to set toggle
11306         state on a flag.
11307
11308 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11309
11310         * tabular_funcs.C: getline -> std::getline
11311
11312 2001-12-21  Juergen Vigna  <jug@sad.it>
11313
11314         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11315         accessed and could be 0 (I couldn't generate this but it seems
11316         Michael could!).
11317
11318 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11321         * tabular_funcs.h: here and include iosfwd
11322
11323 2001-12-20  Juergen Vigna  <jug@sad.it>
11324
11325         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11326         inside inset but undo_par was.
11327
11328 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11329
11330         * Thesaurus.C: always include <config.h> in sources.
11331
11332         * Painter.h:
11333         * lyxlookup.h:
11334         * box.h: do not include <config.h> in header files
11335
11336         * text.C (paintLastRow): remove unused variable
11337
11338         * text.C (transformChar):
11339         (insertChar):
11340         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11341
11342         * Painter.C (text):
11343         * font.C (width): rewrite to use uppercase() instead of
11344         islower/toupper.
11345
11346         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11347
11348 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * lyxfind.C: clean up of find failure position change
11351
11352 2001-12-20  Juergen Vigna  <jug@sad.it>
11353
11354         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11355
11356         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11357         (TeXRow): added to LaTeX a single tabular row.
11358         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11359         (Latex): simplified and finally good LT-h/f support.
11360         (various_functions): just small adaptions for LT-h/f support.
11361
11362         * tabular_funcs.[hC]: added and moved here all not classfunctions
11363         of LyXTabular.
11364
11365 2001-12-19  Juergen Vigna  <jug@sad.it>
11366
11367         * tabular.[Ch]: better support for longtabular options (not finished
11368         yet!)
11369
11370 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * text.C (paintLastRow): use the label font instead of the font of
11373         the last character to compute the size of *_BOX. This makes more
11374         sense and avoids a crash with empty paragraphs.
11375         Use Painter::rectangle to draw EMPTY_BOX.
11376
11377 2001-12-19  Juergen Vigna  <jug@sad.it>
11378
11379         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11380         the paragraphs if the replaced paragraph is not the first one!
11381         Tried to delete not used paragraphs but does not work yet so for
11382         now it's inside #ifdef's and by default off!
11383
11384 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * MenuBackend.C: include "lyx_main.h" instead of declaring
11387         lastfiles (actually was declared as LastFiles* instead of a
11388         scoped_ptr).
11389
11390 2001-12-17  Juergen Vigna  <jug@sad.it>
11391
11392         * tabular.C (AppendColumn): applied John's fix
11393
11394 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * BufferView.h:
11397         * BufferView.C:
11398         * BufferView_pimpl.h:
11399         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11400
11401         * Makefile.am:
11402         * box.h: new start of class for above
11403
11404         * lyxfunc.C: ignore space-only minibuffer dispatches.
11405           Show the command name when it doesn't exist
11406
11407         * minibuffer.C: don't add empty lines to the history
11408
11409         * minibuffer.C: add a space on dropdown completion
11410
11411 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * text.C: fix line above/below drawing in insets
11414
11415 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * lyxlength.C (LyXLength): Initialize private variables.
11418
11419 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11420
11421         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11422         when inserting error insets.
11423
11424 2001-12-13  Juergen Vigna  <jug@sad.it>
11425
11426         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11427         actually sometimes the before-paragraph.
11428         (setUndo): don't clear the redostack if we're not actually undoing!
11429
11430 2001-12-06  Juergen Vigna  <jug@sad.it>
11431
11432         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11433         and fixed redoing of main paragraph, so we can use it now ;)
11434
11435         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11436
11437 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11440         Juergen's request
11441
11442 2001-12-13  André Pönitz <poenitz@gmx.net>
11443
11444         * undostack.[Ch]:
11445         * undo_func.C: minor cleanup
11446
11447 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11450         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11451         font in urw-fonts package which is marked as -urw-fontspecific and
11452         does not work (incidentally, changing the encoding in the
11453         fonts.dir of this package to -adobe-fontspecific fixes the
11454         problem).
11455
11456         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11457         is a crash when undoing first paragraph (Juergen, please take a
11458         look). THis does not mean the undo fix is wrong, just that it
11459         uncovers problems.
11460
11461         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11462         the (Paragraph*) version when needed instead of duplicating the
11463         code.
11464
11465         * text.C (workWidth): use Inset::parOwner to find out where the
11466         inset has been inserted. This is a huge performance gain for large
11467         documents with lots of insets. If Inset::parOwner is not set, fall
11468         back on the brute force method
11469
11470         * paragraph_pimpl.C (insertInset):
11471         * paragraph.C (Paragraph):
11472         (cutIntoMinibuffer): set parOwner of insets when
11473         inserting/removing them
11474
11475         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11476
11477 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11478
11479         * commandtags.h:
11480         * LyXAction.C:
11481         * lyx_main.C:
11482         * lyxfunc.C:
11483         * mathed/formulabase.C:
11484         * mathed/math_cursor.[Ch]:
11485         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11486
11487
11488 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * lyxlength.[Ch] (operator!=): new function
11491
11492 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11493
11494         * text.C (workWidth): use Inset::parOwner to find out where the
11495         inset has been inserted. This is a huge performance gain for large
11496         documents with lots of insets. If Inset::parOwner is not set, fall
11497         back on the brute force method
11498
11499         * paragraph_pimpl.C (insertInset):
11500         * paragraph.C (Paragraph):
11501         (cutIntoMinibuffer): set parOwner of insets when
11502         inserting/removing them
11503
11504         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11505
11506 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11507
11508         * tabular-old.C (getTokenValue):
11509         * tabular.C (getTokenValue):
11510         (write_attribute): new versions for LyXLength
11511         (everywhere): adjust the use of widths
11512
11513         * tabular.h: change the type of widths from string to LyXLength
11514
11515 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11516
11517         * paragraph.C: fixed missing line number count when exporting
11518         Environments to LaTeX file
11519
11520         * buffer.C: added informational message for checking line numbers.
11521
11522 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11525         paragraph, do the 'double space' part, but not the 'empty
11526         paragraph' one.
11527
11528         * text.C (workWidth): small optimization
11529         (getLengthMarkerHeight): use minimal size for negative lengths.
11530
11531 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11532
11533         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11534
11535         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11536
11537 2001-12-11  André Pönitz <poenitz@gmx.net>
11538
11539         * FontLoader.C:
11540         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11541
11542 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * text2.C: keep selection on a setFont()
11545
11546 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * lyx_cb.C: another bv->text misuse, from insert label
11549
11550 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * kbsequence.h:
11553         * kbsequence.C: re-instate nmodifier mask
11554
11555 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * lyx_main.h: make lyxGUI private.
11558
11559 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * lyxfind.C: place the cursor correctly on failed search
11562
11563 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * text.C (getLengthMarkerHeight): for small heights, the arrows
11566         are not always on top/bottom of the text
11567         (drawLengthMarker): smaller arrows; take the left margin in
11568         account; draw also vfills.
11569         (paintFirstRow):
11570         (paintLastRow): remove special code for vfill and standard spaces,
11571         since everything is handled in drawLengthMarker now.
11572
11573 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * buffer.C (insertErtContents): try to handle font and language
11576         interaction a bit better.g
11577
11578         * ColorHandler.C (updateColor): change the hash to cover the whole
11579         LColor enum, ws cleanup
11580         (getGCLinepars): ditto
11581         (getGCLinepars): only lookup in the linecache once.
11582
11583 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11584
11585         * iterators.C (operator++): Make the iterator more robust
11586
11587         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11588         (John's patch)
11589         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11590
11591 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * lyxtext.h:
11594         * text.C: better added space drawing
11595
11596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * LyXView.C:
11599         * BufferView2.C: fix layout combo update on inset unlock
11600
11601 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * Makefile.am: don't compile unused files
11604
11605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * lyxfunc.C:
11608         * commandtags.h:
11609         * LyXAction.C: remove old LFUN_LAYOUTNO
11610
11611 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * paragraph_pimpl.h:
11614         * paragraph_pimpl.C: isTextAt() doesn't need font param
11615
11616 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * lyxlex.h:
11619         * lyxlex.C: little cleanup
11620
11621 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * BufferView_pimpl.C: fix insertAscii for insets
11624
11625 2001-12-05  Juergen Vigna  <jug@sad.it>
11626
11627         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11628         set the right font on the "multi" paragraph paste!
11629
11630 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * trans_decl.h:
11633         * trans_mgr.[Ch]:
11634         * trans.[Ch]:
11635         * lyxgluelength.C:
11636         * lyxlength.C: remove out-commented code.
11637
11638         * BufferView_pimpl:
11639         * CutAndPaste.C:
11640         * DepTable.C:
11641         * buffer.C:
11642         * chset.C:
11643         * lastfiles.C:
11644         * lyxlex.C:
11645         * lyxlex_pimpl.C:
11646         * lyxserver.C:
11647         * screen.C:
11648         * tabular-old.C:
11649         * tabular.C:
11650         * text.C:
11651         * trans_mgr.C:
11652         * vc-backend.C: change "while(" to "while ("
11653
11654         * lyxlength.[Ch]: add zero function to check if length is zero or
11655         not
11656         * lyxgluelength.C: use it
11657
11658 2001-12-05  Allan Rae  <rae@lyx.org>
11659
11660         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11661         Works for 2.95.3, from what I understand of Garst's reports this should
11662         work for other g++ versions.  We're screwed if the abs(int) definition
11663         changed between bugfix releases of gcc.
11664
11665 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * text.C: fix chapter label offset !
11668
11669 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * lyxtext.h:
11672         * text.C: fix hfill at end of line, clean up
11673
11674 2001-12-04  Juergen Vigna  <jug@sad.it>
11675
11676         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11677         that we force an update of the inset and it's owners if neccessary.
11678
11679 2001-12-03  Juergen Vigna  <jug@sad.it>
11680
11681         * text.C (rowLast): simplified code
11682
11683 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * lyxfunc.C: fix show options on timeout
11686
11687 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * screen.C (topCursorVisible): scroll half a page when the cursor
11690         reached top of bottom of screen
11691
11692 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * minibuffer.C: deactivate on loss of focus
11695
11696 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * vspace.[Ch] (operator!=): add operator.
11699
11700 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * BufferView_pimpl.C: refuse to open an inset when
11703         there's a selection.
11704
11705 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * BufferView_pimpl.C: allow to click on RHS of full row insets
11708
11709 2001-11-30  Juergen Vigna  <jug@sad.it>
11710
11711         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11712         insets for undo reasons.
11713
11714 2001-11-28  André Pönitz <poenitz@gmx.net>
11715
11716         * vspace.[Ch]: cosmetical changes
11717
11718 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * LyXAction.h:
11721         * LyXAction.C:
11722         * lyxfunc.h:
11723         * lyxfunc.C:
11724         * kbmap.h:
11725         * kbmap.C:
11726         * lyxrc.C:
11727         * kbsequence.h:
11728         * kbsequence.C: part re-write of old kb code
11729
11730         * Painter.C:
11731         * WorkArea.C: remove Lgb_bug_find_hack
11732
11733 2001-11-30  José Matos <jamatos@fep.up.pt>
11734
11735         * buffer.C (makeDocBookFile): add a comment to point a hack.
11736         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11737         Fixed a double write of labels.
11738
11739 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11740
11741         * LaTeX.C:
11742         * LaTeX.h Fixed bug in LaTeX class where it would not
11743         re-run latex if no depfiles were changed, but the .dvi was removed.
11744
11745 2001-11-28  André Pönitz <poenitz@gmx.net>
11746
11747         * all the files from the change on 2001/11/26:
11748         use lyx::layout_type instead of LyXTextClass::size_type
11749         use lyx::textclass_type instead of LyXTextClassList::size_type
11750
11751 2001-11-29  Juergen Vigna  <jug@sad.it>
11752
11753         * text.C: added support for paragraph::isFreeSpacing()
11754
11755         * buffer.C: same as above
11756
11757         * paragraph.h: inserted isFreeSpacing() function to enable
11758         FreeSpacing inside InsetERT.
11759
11760         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11761         of the paragraph's in the cut/copy buffer to 0!
11762
11763         * text2.C (removeRow): remove the assert as it can!
11764
11765         * lyxtext.h: added helper function firstRow returning firstrow and
11766         made firstrow private again.
11767
11768         * BufferView2.C (lockInset): don't relock if we're already locked!
11769
11770         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11771         the only paragraph.
11772         (removeRow): added Assert::(firstrow)
11773
11774         * debug.C: forgot to add INSETTEXT here.
11775
11776 2001-11-28  Juergen Vigna  <jug@sad.it>
11777
11778         * sp_spell.C (initialize): changed error text to more general
11779         spellchecker command use (not only ispell!)
11780
11781         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11782
11783         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11784
11785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * vspace.C: initialise lyxgluelength on failure
11788
11789 2001-11-28  Allan Rae  <rae@lyx.org>
11790
11791         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11792         declaration & definition that looks like a function declaration.
11793
11794 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * BufferView2.C (copy):
11797         (copyEnvironment): do not clear the selection when doing a copy.
11798
11799         * text.C (paintFirstRow): compilation fix
11800
11801 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11802
11803         * tabular.C (Latex): correct line count when writing latex.
11804
11805 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * paragraph_pimpl.h:
11808         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11809           bug a bit
11810
11811 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * text.C:
11814         * LColor.h:
11815         * LColor.C: change vfillline->added_space
11816
11817         * text.C: add markers and text for added space
11818
11819         * vspace.C: fix comment
11820
11821 2001-11-28  André Pönitz <poenitz@gmx.net>
11822
11823         * paragraph.C: whitespace changes
11824         * all the other files from the change on 2001/11/26:
11825         change *::pos_type into lyx::pos_type
11826
11827 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11828
11829         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11830         language of the document when inserting error insets.
11831
11832 2001-11-26  André Pönitz <poenitz@gmx.net>
11833
11834         * BufferView_pimpl.[Ch]:
11835         *       CutAndPaste.C:
11836         * buffer.[Ch]:
11837         * lyxcursor.[Ch]:
11838         * lyxfind.C:
11839         * lyxfunc.C:
11840         * lyxrow.[Ch]:
11841         * paragraph.[Ch]:
11842         * paragraph_pimpl.[Ch]:
11843         * sp_spell.C:
11844         * text.C:
11845         * text2.C: reduce header dependencies, introduce type for positions
11846
11847 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * <various>: change to use Alert.h
11850
11851 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11852
11853         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11854         when encountering an unknown token.
11855         (readLyXformat2): Show an error message if there were unknown tokens.
11856
11857 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * BufferView2.C:
11860         * BufferView_pimpl.C:
11861         * buffer.C:
11862         * paragraph.h:
11863         * text.C:
11864         * text2.C: use par->isInset()
11865
11866 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * paragraph_pimpl.h:
11869         * paragraph_pimpl.C: cleanup
11870
11871 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11872
11873         * text2.C (removeRow):
11874         * text.C (setHeightOfRow): remove useless (and costly) call to
11875         getRow.
11876
11877 2001-11-20  Allan Rae  <rae@lyx.org>
11878
11879         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11880         Now need Inset*::checkInsertChar() to return true for appropriate
11881         cases so that the characters in the minibuffer will actually be
11882         inserted.
11883
11884 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * text.C: change the order of the includes.
11887         (workWidth): initialize it at once.
11888         (workWidth): make maxw unsigned
11889         (setHeightOfRow): remove unused variable (inset)
11890         (selectSelectedWord): remove unused variable (inset)
11891         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11892
11893 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11894
11895         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11896         server is not running.
11897         (openConnection):
11898         (closeConnection): add debug info when server is disabled.
11899
11900         * ColorHandler.C (getGCForeground): send debug message to GUI
11901         channel.
11902
11903         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11904
11905         * kbmap.C (bind): modify because return conventions of
11906         kb_sequence::parse have changed.
11907
11908         * kbsequence.C (parse): only ignore spaces and not any stupid
11909         control character. This avoids tests like s[i] <= ' ', which are
11910         guaranteed to fail with 8bit characters and signed chars.
11911         Change return code to string::npos when there have been no error
11912         (0 was a bad idea when error is at first character)
11913
11914 2001-11-14  José Matos  <jamatos@fep.up.pt>
11915
11916         * buffer.h:
11917         * buffer.C (simpleDocBookOnePar): removed unused argument.
11918
11919 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11922         insets which are part of a word. Paragraph::isLetter takes care of
11923         that now. Use Paragraph::isInset to identify insets.
11924         (selectSelectedWord): do not test for hyphenation break.
11925
11926         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11927         that protected spaces are considered as spaces.
11928
11929         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11930         Inset::isLetter.
11931
11932 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyxserver.h:
11935         * lyxserver.C: fix it. and small cleanup.
11936
11937 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * BufferView_pimpl.C: use inline helpers
11940
11941         * LaTeXFeatures.h:
11942         * LaTeXFeatures.C: fix typos
11943
11944         * Spacing.h:
11945         * Spacing.C: move spacing_string into class
11946
11947         * ToolbarDefaults.C: move stuff into namespace anon
11948
11949         * layout.h: update enum
11950
11951         * lyxfunc.C: use better debug
11952
11953         * minibuffer.h: fix typo
11954
11955         * debug.h:
11956         * debug.C:
11957         * WorkArea.C: add and use Debug::WORKAREA
11958
11959         * lyxtext.h:
11960         * text.C:
11961         * text2.C: code re-organisation, inline helpers
11962
11963 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11964
11965         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11966         std::vector.empty().
11967
11968 2001-11-09  Allan Rae  <rae@lyx.org>
11969
11970         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11971         '\n's after tables.  Tabular and ERT inset work now makes this no
11972         longer necessary.
11973
11974 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * minibuffer.h:
11977         * minibuffer.C: fix crash, improve drop-down completion
11978
11979 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * lyxserver.h:
11982         * lyxserver.C: invalidate fd's when doing endPipe()
11983
11984 2001-11-08  José Matos  <jamatos@fep.up.pt>
11985
11986         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11987         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11988
11989         * paragraph.h:
11990         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11991
11992 2001-11-07  José Matos  <jamatos@fep.up.pt>
11993
11994         * buffer.h:
11995         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11996         const qualifier.
11997
11998         * buffer.C (sgmlOpenTag):
11999         * buffer.C (sgmlCloseTag): removed debug info.
12000
12001         * buffer.h (sgmlOpenTag):
12002         * buffer.h (sgmlCloseTag): made public.
12003
12004 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * buffer.C (saveParamsAsDefaults):
12007         * lyx_cb.C (MenuLayoutSave): remove
12008
12009         * LyXAction.C (init):
12010         * commandtags.h:
12011         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12012
12013 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12014
12015         * buffer.C (setPaperStuff): removed from here...
12016
12017         * bufferparams.C (setPaperStuff): ... and moved there.
12018
12019 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * minibuffer.h:
12022         * minibuffer.C:
12023         * XFormsView.C: add support for drop-down completion
12024
12025 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12026
12027         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12028         commands.
12029
12030 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12033         disabled.
12034
12035 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * lyx_main.C: change ref to known bugs
12038
12039 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12040
12041         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12042         to work around older babel problems.
12043
12044 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12045
12046         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12047
12048 2001-10-24  Juergen Vigna  <jug@sad.it>
12049
12050         * tabular-old.C (ReadOld): below variable changes reflected.
12051
12052         * tabular.[Ch]: added ltType struct for longtable header/footer
12053         defines and changed all instances where they are used. Added
12054         future support for double top/bottom rows.
12055
12056 2001-10-24  José Matos  <jamatos@fep.up.pt>
12057
12058         * buffer.h (docbookHandleCaption):
12059         * buffer.C (docbookHandleCaption): removed unused function.
12060         (makeDocBookFile): moved docbook supported version to v4.1.
12061
12062 2001-10-24  José Matos  <jamatos@fep.up.pt>
12063
12064         * tabular.h:
12065         * tabular.C (docbookRow): new function to export docbook code of a row.
12066         (DocBook): now honors the longtable flags.
12067
12068 2001-10-23  José Matos  <jamatos@fep.up.pt>
12069
12070         * LaTeXFeatures.h:
12071         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12072         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12073
12074         * buffer.C (makeLinuxDocFile):
12075         (makeDocBookFile): reworked the preamble, more clean, and with
12076         support for lyx defined entities. Changed the document declaration
12077         to be more XML friendly.
12078
12079         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12080         if we need to output XML that should be done with a filter.
12081
12082 2001-10-22  Juergen Vigna  <jug@sad.it>
12083
12084         * sp_pspell.h (class PSpell): add alive function needed in the
12085         controller to see if the spellchecker could be started.
12086
12087 2001-10-22  Juergen Vigna  <jug@sad.it>
12088
12089         * buffer.C (insertStringAsLines): modify the font for inserting
12090         chars in certain conditions by calling checkInsertChar(font).
12091
12092 2001-10-19  Juergen Vigna  <jug@sad.it>
12093
12094         * text.C (workWidth): use getRow instead of wrong algorithm.
12095         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12096
12097 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * lyxserver.h:
12100         * lyxserver.C:
12101         * lyx_main.h:
12102         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12103
12104 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * text.C (workWidth): do not search for the exact row when
12107         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12108         optimization for big documents.
12109
12110 2001-10-18  Juergen Vigna  <jug@sad.it>
12111
12112         * text.C (workWidth): new function with added Inset * parameter.
12113
12114 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12117
12118         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12119         change return type of getColumnNearX.
12120
12121
12122         * text.C (changeRegionCase): use uppercase/lowercase instead of
12123         toupper/tolower.
12124         (leftMargin):
12125         (rightMargin): simplify code by factoring out the uses of
12126         textclasslist.
12127         (labelFill):
12128         (numberOfHfills):
12129         (setHeightOfRow):
12130         (appendParagraph): use Paragraph::size_type
12131
12132 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * vspace.C (asLatexString): add a missing break
12135
12136 2001-10-15  Herbert Voss  <voss@perce.de>
12137
12138         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12139
12140 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12141
12142         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12143         is not available.
12144
12145 2001-10-10  André Pönitz <poenitz@gmx.net>
12146
12147         * lyxfunc.C: removed greek_kb_flag.
12148
12149 2001-10-10  Herbert Voss  <voss@perce.de>
12150
12151         * lyx_main.C: delete global string help_lyxdir.
12152
12153 2001-10-09  Herbert Voss  <voss@perce.de>
12154
12155         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12156
12157         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12158
12159         * lyx_main.C: added global string help_lyxdir.
12160
12161         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12162
12163 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12164
12165         * lyxrc.C (set_font_norm_type): support iso8859-4
12166
12167 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12168
12169         * LaTeX.C (deplog): add another regex for MikTeX
12170
12171 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12172
12173         * lyxrc.C (set_font_norm_type): support iso8859-3
12174
12175 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12178
12179         * LaTeXFeatures.C: remove special case of french and index
12180
12181         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12182         before \begin{document}). This solves several incompatibilities.
12183
12184 2001-10-03  Garst Reese  <reese@isn.net>
12185
12186         * lyx_cb.C: change CheckTex error msg.
12187
12188 2001-10-03  José Matos  <jamatos@fep.up.pt>
12189
12190         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12191
12192 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12193
12194         * .cvsignore: update
12195
12196         * lyx_main.C (commandLineVersionInfo): use new style version info.
12197
12198         * buffer.C (writeFile):
12199         (makeLaTeXFile):
12200         (makeLinuxDocFile):
12201         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12202
12203         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12204
12205         * version.h: update to use stuff in version.C
12206
12207         * version.C.in: new file. Contains version information determined
12208         at compile time. This is a merging of version.h and
12209         version_info.h.in.
12210
12211 2001-10-03  Juergen Vigna  <jug@sad.it>
12212
12213         * BufferView_pimpl.C (update): don't change "dirty" status in
12214         updateInset call.
12215
12216 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * WorkArea.C (c-tor): re-position version string slightly.
12219
12220 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12221
12222         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12223         revert to previous code.
12224
12225         WorkArea.[Ch]: (show, destroySplash): methods removed.
12226
12227         WorkArea.C: rework code so that it's an amalgam of the codes before and
12228         after the splash screen was moved to WorkArea.
12229
12230 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * lyxrc.C (read):
12233         * vspace.C (inPixels):
12234         (lyx_advance):
12235         * kbmap.C (bind):
12236         * buffer.C (insertStringAsLines):
12237         (asciiParagraph): fix types to be large enough
12238
12239         * lyxlex_pimpl.h: change member status from short to int
12240
12241         * layout.h: fix type of endlabeltype
12242
12243         * kbmap.C (bind):
12244         * kbsequence.C (parse): change return type to string::size_type
12245
12246         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12247         variable
12248
12249         * Bullet.C (bulletSize):
12250         (bulletEntry): do not use short ints as parameters
12251
12252         * BufferView2.C (insertLyXFile): change a char to an int.
12253
12254         * WorkArea.C (WorkArea): remove unneeded floats in computation
12255
12256 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12257
12258         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12259
12260         * paragraph.C (asString): Do not ignore newline/hfill chars when
12261         copying to the clipboard.
12262
12263 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12264
12265         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12266         after a multi-line inset.
12267
12268 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12269
12270         * paragraph.C (validate): Set NeedLyXFootnoteCode
12271
12272 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12275         and decrease-error to decrease.
12276
12277 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12278
12279         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12280         it more readable (should be equivalent)
12281
12282 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12283
12284         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12285
12286 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12289         of a cursor (row, etc.) after a character has been deleted
12290         (deleteEmptyParagraphMechanism): call the method above on _all_
12291         cursors held by the LyXText when a double space has been
12292         detected/deleted.
12293
12294 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12295
12296         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12297         pixmap.
12298         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12299
12300         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12301         background. Use greyOut() and the new show() methods to toggle between
12302         the foreground and background. Add code to remove the splash after
12303         its initial showing.
12304
12305         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12306         (create_forms): no longer call Dialogs::showSplash.
12307
12308 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * .cvsignore: add version_info.h
12311
12312 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * version_info.h.in: new file
12315
12316         * Makefile.am: add version_info.h.in
12317
12318         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12319         version_info.h instead of VERSION_INFO
12320
12321 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12324         The ERT inset now returns string().
12325
12326 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * lyxtext.h, text.C (selectNextWord): renamed as
12329         selectNextWordToSpellcheck.
12330
12331         * text.C (selectNextWordToSpellcheck): Modified to not select
12332         words inside an ERT inset.
12333
12334 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * lyx_cb.C (MenuLayoutSave): change a bit the question
12337
12338         * sp_base.h: include <sys/types.h>
12339
12340 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12343
12344 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12345
12346         * several files: fix typos in user-visible strings
12347
12348 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12349
12350         * text2.C (pasteSelection): do not set the selection, since it
12351         will be cleared later. Actually, the intent was to fix the way the
12352         selection was set, but I figured rmoving the code was just as good.
12353
12354 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12355
12356         * FontLoader.C (available): Check if font is available without
12357         loading the font.
12358
12359 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12360
12361         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12362
12363 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * lyxrc.[Ch]: added display_graphics variable and associated code.
12366
12367 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * bufferparams.C (hasClassDefaults): new method. Returns true if
12370         the buffer parameters correspond to known class defaults
12371
12372 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * XFormsView.C (show): set minimum size to the main window.
12375
12376 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * text2.C (copySelection):
12379         (cutSelection):
12380         * lyxfind.C (LyXReplace):
12381         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12382         LyXText::selectionAsString.
12383
12384         * paragraph.C (asString): add "label" argument to the second form
12385
12386         * text2.C (selectionAsString): add "label" argument and pass it to
12387         Paragraph::asString.
12388
12389 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * lyx_main.C (commandLineHelp): remove version information
12392
12393 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12394
12395         * lyx_main.C: add -version commandline option
12396
12397 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * paragraph.h: make the optional constructor arg required instead.
12400         some modifications to other files because of this.
12401
12402         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12403
12404         * lyxserver.C (C_LyXComm_callback): make it static
12405
12406         * lyx_main.C (error_handler): make it static
12407
12408         * lyx_gui.C (LyX_XErrHandler): make it static
12409
12410         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12411
12412         * WorkArea.C: make the extern "C" methods static.
12413
12414         * Makefile.am (lyx_LDADD): simplify
12415
12416 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12417
12418         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12419         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12420
12421         * LyXAction.C (init):
12422         * lyxfunc.C (dispatch): associated code removal.
12423
12424 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12425
12426         * lyxfont.h (isSymbolFont): shut off warning
12427
12428         * text.C (setHeightOfRow):
12429         (getVisibleRow): fix crash with empty paragraphs which have a
12430         bottom line
12431
12432 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12433
12434         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12435         code.
12436
12437 2001-09-04  José Matos  <jamatos@fep.up.pt>
12438         * buffer.C
12439         * buffer.h
12440         * tabular.C (docbook): rename docBook method to docbook.
12441
12442 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * Makefile.am: add dependencies to main.o.
12445
12446 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12447
12448         * FontLoader.C (available): Return false if !lyxrc.use_gui
12449
12450 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12451
12452         * FontInfo.C (query):
12453         * converter.C (view):
12454         * importer.C (Import):
12455         * exporter.C (Export): Can not -> cannot.
12456
12457 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * BufferView_pimpl.C: allow to create index inset even if
12460           string is empty
12461
12462 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * buffer.C (getLists): replace boost::tie code with an explicit pair
12465         as boost::tie can break some compilers.
12466
12467         * iterators.h: Added a std:: declaration to the return type of
12468         ParIterator::size.
12469
12470 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12473           case.
12474
12475 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12476
12477         * iterators.[Ch]: New files. Provide paragraph iterators.
12478
12479         * buffer.C (changeLanguage): Use paragraph iterators.
12480         (isMultiLingual): ditto
12481
12482         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12483
12484 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12485
12486         * FontLoader.C: Support for cmr font.
12487
12488 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12489
12490         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12491         (available): New method.
12492
12493         * FontInfo.C (getFontname): Use scalable fonts even when
12494         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12495         found.
12496
12497 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12498
12499         * converter.C (Formats::view): reverted! Incorrect fix.
12500
12501 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * converter.C (Formats::view): only output the -paper option
12504         if the dvi viewer is xdvi, thereby fixing bug #233429.
12505
12506 2001-08-23  Herbert Voss  <voss@perce>
12507
12508         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12509
12510 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * Spacing.h (Spacing): Set space to Default on in the default
12513         constructor.
12514
12515 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12516
12517         * vc-backend.h (RCS::versionString): add RCS to version
12518         (CVS::versionString): add CVS to version
12519
12520         * vc-backend.C (scanMaster): do not add CVS to version.
12521         (scanMaster): do not add RCS to version
12522
12523         * lyxvc.C (versionString): new method
12524
12525         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12526
12527 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12528
12529         * Spacing.C (set): initialize fval
12530
12531 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12534         " or \.
12535
12536 2001-08-16  Juergen Vigna  <jug@sad.it>
12537
12538         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12539
12540 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * BufferView_pimpl.C:
12543         * figureForm.C:
12544         * lyxtext.h:
12545         * text2.C: setParagraph takes linespacing now
12546
12547 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * LyxAction.C: add internal LFUN_CITATION_INSERT
12550
12551         * LyXView.C: actually apply fix
12552
12553         * bufferlist.C: fix open non-existent file
12554
12555         * lyxfind.C: fix indentation
12556
12557         * lyxfunc.C: remove unneeded assert, fix typo
12558
12559 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * MenuBackend.C: use "Floatname List"
12562
12563 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12564
12565         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12566         when converting LaTeX layout to insetERT.
12567         Generate a non-collapsed float when reading old float
12568
12569 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12570
12571         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12572         ERT insets.
12573
12574 2001-08-13  Juergen Vigna  <jug@sad.it>
12575
12576         * text.C (fill): return 0 instead of 20 as this seems to be the more
12577         correct value.
12578
12579 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12580
12581         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12582         lyxrc.font_norm.
12583
12584 2001-08-13  Juergen Vigna  <jug@sad.it>
12585
12586         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12587         casesensitive off.
12588         (SearchBackward): comment out the unlocking of the inset_owner this
12589         should not be needed!
12590
12591 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12592
12593         * Many files: Remove inherit_language, and add latex_language
12594
12595         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12596         collapsible insets.
12597
12598 2001-08-10  Juergen Vigna  <jug@sad.it>
12599
12600         * text.C (prepareToPrint): fixed hfill-width in draw!
12601
12602         * BufferView2.C (selectLastWord): save the selection cursor as this
12603         now is cleared in the function LyXText::clearSelection!
12604
12605 2001-08-08  Juergen Vigna  <jug@sad.it>
12606
12607         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12608         BACKSPACE type functions.
12609
12610         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12611         is only cutted from the document but not put in the cut-buffer, where
12612         still the old stuff should be.
12613
12614         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12615
12616         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12617
12618         * tabular.C (SetWidthOfCell): fixed special case where the width
12619         was not updated!
12620         (LeftLine): handle '|' in align_special.
12621         (RightLine): ditto
12622         (LeftAlreadyDrawed): ditto
12623         (SetWidthOfCell): ditto
12624
12625 2001-08-07  Juergen Vigna  <jug@sad.it>
12626
12627         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12628
12629 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12632         * lyxlex.[hC]: ditto
12633
12634 2001-08-06  Juergen Vigna  <jug@sad.it>
12635
12636         * text.C (getVisibleRow): fix up row clearing a bit.
12637
12638 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * minibuffer.C: make sure the X server sees the changes in the input.
12641
12642 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * paragraph.C (getFont): split into...
12645         (getLabelFont): this
12646         (getLayoutFont): and this
12647         * paragraph_pimpl.C (realizeFont): calling this
12648
12649         * text2.C (getFont): split into...
12650         (getLayoutFont): this
12651         (getLabelFont): and this
12652         (realizeFont): all three calling this
12653
12654         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12655         files where used.
12656
12657 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12660
12661 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12662
12663         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12664         layouts from the Quote inset insertion.
12665
12666 2001-08-03  Juergen Vigna  <jug@sad.it>
12667
12668         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12669
12670         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12671         only if status not is already CHANGED_IN_DRAW (second level).
12672
12673         * text.C (draw): don't set the need_break_row when inside an
12674         InsetText LyXText.
12675
12676 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * buffer.C (parseSingleLyXformat2Token): handle more latex
12679         conversion cases.
12680
12681         * bufferview_funcs.[hC]: change function names to
12682         begin with small char, adjust other files.
12683
12684 2001-08-02  André Pönitz <poenitz@gmx.net>
12685
12686         * lyxfunc.C:
12687         BufferView_pimpl.C: remove broken special code for math-greek
12688
12689 2001-08-02  Juergen Vigna  <jug@sad.it>
12690
12691         * BufferView_pimpl.C (update): redone this function so that we
12692         update the text again if there was a CHANGE_IN_DRAW.
12693
12694         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12695         (drawFromTo): added a new internal bool which is used by draw() and
12696         redraw() function.
12697         (general): some cursor drawing problems fixed.
12698
12699 2001-08-01  Juergen Vigna  <jug@sad.it>
12700
12701         * lyxfind.C (LyXFind): fixed
12702         (SearchForward): ditto
12703         (SearchBackward): ditto
12704
12705         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12706         spurius drawing of the cursor in the main area.
12707
12708         * text2.C (status): small fix which could lead to a segfault!
12709         (clearSelection): remove unneeded BufferView param.
12710
12711 2001-08-01  André Pönitz <poenitz@gmx.net>
12712
12713         * lyxfunc.C: small change due to changed mathed interface
12714
12715 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12716
12717         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12718
12719 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * lyxfunc.c: fail gracefully if file doesn't exist
12722
12723         * LyXSendto.C:
12724         * buffer.C:
12725         * lyxfunc.C:
12726         * BufferView_pimpl.C: IsDirWriteable() proto changed
12727
12728         * LyXView.C: fix updateWindowTitle() to store the last title
12729
12730 2001-07-31  Juergen Vigna  <jug@sad.it>
12731
12732         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12733         the font (wrong since using of Paragraph::highestFontInRange).
12734
12735         * paragraph.C (highestFontInRange): added a default_size parameter.
12736
12737         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12738         (setHeightOfRow): reformat
12739
12740 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * converter.[hC] + affected files: move to (inital-char)lowercase
12743         function names.
12744
12745         * ParagraphParameters.C (ParagraphParameters): remove commented code
12746
12747         * PainterBase.[Ch]: remove commented code
12748
12749         * LaTeXFeatures.h: add "bool floats" for float.sty
12750
12751         * LaTeXFeatures.C (LaTeXFeatures): init floats
12752         (require): handle float
12753         (getPackages): do it with floats
12754
12755 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * BufferView_pimpl.C (Dispatch): improve handling of
12758         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12759
12760         * commandtags.h: #include lyxfont.h here temporarily to avoid
12761         keybinding bug.
12762
12763         * bufferlist.h: include LString.h here.
12764
12765 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * text2.C (getStringToIndex): new method.
12768
12769 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12770
12771         * *: Reduced header file dependencies all over.
12772
12773 2001-07-30  Baruch Even  <baruch@lyx.org>
12774
12775         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12776
12777 2001-07-29  Baruch Even  <baruch@lyx.org>
12778
12779         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12780
12781 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12782
12783         * ParameterStruct.h (endif): add a default constructor to make
12784         sure that all variables is initialized.
12785
12786         * ParagraphParameters.C (ParagraphParameters): adjust
12787
12788 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12789
12790         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12791         index; also, check that there is something to index, and that it
12792         does not span over several paragraphs.
12793         (doubleClick): use WHOLE_WORD_STRICT for double click.
12794
12795         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12796
12797         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12798         scheme.
12799
12800 2001-07-26  Baruch Even  <baruch@lyx.org>
12801
12802         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12803         an InsetFig figure, backwards compatible reading of old figure code.
12804
12805 2001-07-27  Juergen Vigna  <jug@sad.it>
12806
12807         * text2.C: font.realize function adaption.
12808
12809         * text.C (draw): add a warnings lyxerr text if needed.
12810
12811         * layout.C: font.realize function adaption.
12812
12813         * language.C: add inherit_language and implement it's handlings
12814
12815         * bufferview_funcs.C (StyleReset): remove language parameter from
12816         font creation (should be language_inherit now).
12817
12818         * bufferparams.C (writeFile): handle ignore_language.
12819
12820         * paragraph.C (getFontSettings): the language has to be resolved
12821         otherwise we have problems in LyXFont!
12822
12823         * lyxfont.C (lyxWriteChanges): added document_language parameter
12824         (update): removed unneeded language parameter
12825
12826         * paragraph.C (validate): fixed wrong output of color-package when
12827         using interface colors for certain fonts in certain environments,
12828         which should not seen as that on the final output.
12829
12830 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * BufferView_pimpl.C:
12833         * Thesaurus.h:
12834         * Thesaurus.C:
12835         * Makefile.am:
12836         * commandtags.h:
12837         * LyXAction.C: add thesaurus support
12838
12839         * lyxfind.h:
12840         * lyxfind.C: add "once" parameter, for thesaurus, to not
12841           move to the next match
12842
12843 2001-07-26  Juergen Vigna  <jug@sad.it>
12844
12845         * lyxfont.C (realize): honor ignore_language too!
12846         (resolved): ditto.
12847
12848         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12849
12850         * text.C (draw): one place more for ignore_language to not draw
12851         itself!
12852
12853 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12854
12855         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12856
12857 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12860         the minipage conversion problem.
12861
12862 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12865         insert an inset.
12866
12867 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * BufferView.h: don't forward declare WorkArea
12870
12871         * BufferView.C: don't include WorkArea.h
12872
12873 2001-07-25  André Pönitz <poenitz@gmx.net>
12874
12875         * commandtags.h:
12876         * LyXAction.C:
12877         * lyxfunc.C:  new LFUN 'math-space'
12878
12879         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12880
12881 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * text2.C (toggleInset): call open/close
12884
12885 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * lyxfunc.C (dispatch): add debug for the disabled case
12888
12889         * font.C (buttonText): make similar to rectText
12890
12891         * buffer.C (readInset): comment out parsing of insetlist and
12892         insttheorem
12893
12894         * PainterBase.C (rectText): small correction
12895
12896         * BufferView_pimpl.C: comment out insettheorem and insetlist
12897         * LyXAction.C: ditto
12898         * commandtags.h: ditto
12899
12900 2001-07-24  Juergen Vigna  <jug@sad.it>
12901
12902         * text.C (draw): honor the ignore_language.
12903
12904         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12905
12906 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12909         char inset.
12910
12911 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12912
12913         * lyxtext.h: remove unused (and unimplemented) methods
12914
12915 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12916
12917         * text.C (getVisibleRow): honor background color
12918
12919         * PainterBase.h:
12920         * Painter.h: remove default color argument for fillRectangle
12921
12922         * text.C (backgroundColor): new method
12923
12924 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * text.C (getVisibleRow): adjust
12927
12928         * font.[Ch] (rectText): new method, metrics
12929         (buttonText): new method, metrics
12930
12931         * PainterBase.[hC]: make rectText and buttonText always draw and take
12932         fewer paramteres.
12933
12934 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12935
12936         * ToolbarDefaults.C (read):
12937         * MenuBackend.C (read): allow escaping in all strings
12938
12939         * BufferView_pimpl.C (insertAndEditInset): new method.
12940         (Dispatch): use insertAndEditInset whenever appropriate.
12941
12942         * BufferView_pimpl.C (insertNote): removed
12943
12944         * BufferView_pimpl.C (smartQuote): new method, moved from
12945         BufferView; if an insetquote cannot be inserted, insert a '"'
12946         character instead.
12947
12948         * BufferView2.C: remove insertCorrectQuote();
12949
12950         * lyxfunc.C (getStatus): Add support for all remaingin
12951         inset-insert lfuns.
12952
12953         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12954
12955         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12956         command (necessary to pass " as parameter of self-insert.
12957
12958         * text.C (selectWordWhenUnderCursor):
12959         (selectWord): add word_location parameter
12960         (selectWordWhenUnderCursor): same + remove special code for word
12961         boundary.
12962         (selectNextWord): use kind() to guess type of insetspecialchar,
12963         not latex().
12964
12965         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12966         (insertErtContents): create ert insets as collapsed.
12967         (readInset): better compatibility code for Info inset.
12968
12969 2001-07-20  Juergen Vigna  <jug@sad.it>
12970
12971         * lyxfunc.C (dispatch): use always LyXFind now!
12972
12973         * text2.C (init): add a reinit flag so that the LyXText can be
12974         reinited instead of deleted and reallocated (used in InsetText).
12975
12976         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12977
12978         * text.C: ditto
12979
12980         * text2.C: ditto
12981
12982 2001-07-18  Juergen Vigna  <jug@sad.it>
12983
12984         * text.C (selectNextWord): handle insets inside inset by calling
12985         always the bv->text functions so that we can go up the_locking_inset!
12986
12987         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12988         in strange locations when inside an inset!
12989
12990         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12991         handling to include insets.
12992
12993         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12994
12995 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * LyXAction.C (init):
12998         * commandtags.h:
12999         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13000         LIGATURE_BREAK, since the name is so stupid.
13001
13002 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13005         InsetInfos.
13006
13007         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13008
13009         * sp_form.[Ch]: remove.
13010
13011         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13012
13013         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13014         InsetInfo.
13015
13016         * src/buffer.C (readInset): ditto.
13017
13018 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13019
13020         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13021         menuSeparator(), endOfSentenceDot(), ldots() and
13022         hyphenationPoint(), which are therefore removed.
13023         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13024
13025         * LyXAction.C (init):
13026         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13027
13028         * paragraph.C (getWord): removed.
13029
13030         * BufferView_pimpl.C (Dispatch): use last word or selection for
13031         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13032
13033         * lyx_main.C (queryUserLyXDir): do not ask before creating
13034         user_dir, except if it has been named explicitely.
13035
13036 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13037
13038         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13039         a document of zero size.
13040
13041 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13042
13043         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13044         approriately in the c-tor and in require().
13045         (getPackages): output the appropriate LaTeX for natbib support.
13046
13047         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13048         variables "use_natbib" and "use_numerical_citations" when reading the
13049         LyX file.
13050         (readInset): read the various natbib cite commands.
13051         (validate): white-space change.
13052
13053         * bufferparams.[Ch]: new variables "bool use_natbib" and
13054         "bool use_numerical_citations".
13055         (writeFile): output them in the LyX file.
13056
13057 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13058
13059         * lyxfunc.C (getStatus): add support for all the inset insertion
13060         commands.
13061
13062         * text2.C (insertInset):
13063         * paragraph.C (insetAllowed):
13064         * BufferView_pimpl.C (insertInset): update to take in account the
13065         renaming of insertInsetAllowed
13066
13067         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13068
13069         * text2.C (getInset): new method. returns inset at cursor position.
13070
13071         * BufferView_pimpl.C (Dispatch): changes because of this.
13072
13073         * LyXAction.C (init): rename open-stuff to inset-toggle.
13074
13075         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13076
13077         * text2.C (toggleInset): renamed from openStuff; use
13078         Inset::open().
13079
13080 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13081
13082         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13083
13084         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13085
13086 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * buffer.C (readLyXformat2): Add filename to the error dialog
13089
13090 2001-07-18  Juergen Vigna  <jug@sad.it>
13091
13092         * tabular.C (GetCellNumber): put an assert here instead of the check!
13093
13094 2001-07-17  Juergen Vigna  <jug@sad.it>
13095
13096         * BufferView_pimpl.C (toggleSelection): adapted too.
13097
13098         * text.C (selectNextWord): adapted for use with insets.
13099         (selectSelectedWord): ditto
13100
13101 2001-07-17  Juergen Vigna  <jug@sad.it>
13102
13103         * sp_spell.C (PSpell): fix initialitation order.
13104
13105 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * paragraph.C: spacing
13108
13109 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13110
13111         * sp_spell.C: repair language selection for pspell
13112
13113 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * lyxfunc.h: change more methods to begin with lower char.
13116
13117 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13120         for unknown layouts.
13121
13122 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13123
13124         * buffer.C (readLyXformat2): Generate an error dialog if there are
13125         unknown layouts.
13126
13127 2001-07-16  Juergen Vigna  <jug@sad.it>
13128
13129         * sp_spell.C: always compile ISpell part.
13130
13131         * lyxrc.C: added use_pspell entry and it's handling.
13132
13133 2001-07-13  Juergen Vigna  <jug@sad.it>
13134
13135         * sp_spell.C: removed double includes.
13136
13137 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         Consistent use of Lsstream.h:
13140         * Lsstream.h: added using std::stringstream for consistencies sake.
13141
13142         * buffer.C: removed using std::stringstream
13143
13144         * lyxfont.C (stateText):
13145         * paragraph.C (asString):
13146         * text.C (selectNextWord, selectSelectedWord):
13147         * text2.C (setCounter):
13148         * vspace.C (asString, asLatexString):
13149         std::ostringstream -> ostringstream.
13150
13151 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13152
13153         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13154         * commandtags.h: add LFUN_HELP_ABOUTLYX
13155         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13156
13157 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13158
13159         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13160         cursorToggle()
13161         * lyx_gui_misc.C: remove spellchecker
13162         * lyxfunc.C: showSpellchecker
13163         * sp_base.h: added
13164         * sp_ispell.h: added
13165         * sp_pspell.h: added
13166         * sp_spell.C: added
13167         * sp_form.[Ch]: removed
13168         * spellchecker.[Ch]: removed
13169
13170 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13171
13172         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13173         is set.
13174         (simpleTeXSpecialChars): Simply print the input character without
13175         any special translation if pass_thru is set.
13176
13177         * layout.h: Added bool pass_thru to layout class for being able to
13178         implement pass through of a paragraph for Literate Programming.
13179
13180         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13181         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13182         * layout.C (Read): add "passthru" to list of layout tags and add
13183         code to set the pass_thru boolean when it is read.
13184
13185 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * trans_decl.h: remove allowed from KmodInfo
13188
13189         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13190         remove allowed code
13191         (Load): adjust
13192
13193         * paragraph_pimpl.C (erase): use boost::prior
13194
13195         * Painter.C (text): use data() instead of c_str() when length is
13196         also provided.
13197         * WorkArea.C (putClipboard): ditto
13198         * font.h (width): ditto
13199
13200         * BufferView2.C: use it-> instead of (*it). for iterators
13201         * texrow.C: ditto
13202         * paragraph_pimpl.C: ditto
13203         * paragraph.C: ditto
13204         * minibuffer.C: ditto
13205         * language.C: ditto
13206         * kbmap.C: ditto
13207         * encoding.C: ditto
13208         * counters.C: ditto
13209         * converter.C: ditto
13210         * chset.C: ditto
13211         * Variables.C: ditto
13212         * TextCache.C: ditto
13213         * MenuBackend.C: ditto
13214         * LyXAction.C: ditto
13215         * LColor.C: ditto
13216         * FloatList.C: ditto
13217         * DepTable.C: ditto
13218         * ColorHandler.C (LyXColorHandler): ditto
13219
13220 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13223
13224         * text2.C (openStuff): reintroduce this method (which had been
13225         nuked in NEW_INSETS frenzy).
13226
13227         * lyxfunc.C (Dispatch): when an action has not been handled, use
13228         its name in the error message, not its number.
13229
13230         * paragraph.C (inInset): change method name to begin with lowercase.
13231
13232         * undo_funcs.C:
13233         * text2.C: updates because of this.
13234
13235 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * ToolbarDefaults.C (add): add spaces in error message
13238
13239 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13242         (readLyXformat2): rename return_par to first_par, use lyxlex's
13243         pushToken and remove the manual push handling.
13244         (parseSingleLyXformat2Token): add another ert comp. variable:
13245         in_tabular, rename return_par to first_par. handle newlines better
13246
13247 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13248
13249         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13250
13251 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * text2.C (getParFromID): removed
13254
13255         * buffer.C (getParFromID): new method moved form lyxtext.
13256         * BufferView2.C (insertErrors): adjust
13257         (setCursorFromRow): adjust
13258         * BufferView_pimpl.C (restorePosition): adjust
13259         * lyxfunc.C (Dispatch): adjust
13260         * undo_funcs.C (textUndo): adjust
13261         (textRedo): adjust
13262         (textHandleUndo): adjust
13263         (textHandleUndo): adjust
13264
13265 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * buffer.C: up' the LYX_FORMAT
13268
13269         * lyxfont.h: turn NO_LATEX on as default
13270
13271         * buffer.C (insertErtContents): new methods of tex style compability.
13272         (parseSingleLyXformat2Token): use it several places.
13273         * tabular.C (OldFormatRead): and here
13274
13275 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13276
13277         * text2.C: remove some commented code.
13278         reindent file.
13279
13280         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13281         * trans.C: changes because of the above.
13282
13283 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * text2.C (setCounter): Fix counters bug with bibliography layout.
13286
13287 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13290         own member functions
13291         (simpleTeXSpecialChars): ditto
13292
13293 2001-07-06  Juergen Vigna  <jug@sad.it>
13294
13295         * a lot of files: changed the access to LyXText::status and the
13296         call of undo-functions.
13297
13298         * undo.[Ch]: added a inset_id to the undo informations.
13299
13300         * undo_funcs.[Ch]: added and moved here all undo functions.
13301
13302         * lyxtext.h: give the status enum a weight, made status_ a private
13303         variable and made accessor functions for it, removed the whole bunch
13304         of undo-functions as they are now in their own file, make some
13305         functions publically available. Added function ownerParagraph with
13306         int parameter.
13307
13308         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13309         made InInset() a const function, added getParFromID() function.
13310
13311         * buffer.[Ch]: added const version for inset_iterator functions,
13312         added getInsetFromID() function.
13313
13314         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13315         changed undo functions for new version.
13316
13317 2001-07-05  Juergen Vigna  <jug@sad.it>
13318
13319         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13320         unknow mechanism does not call the proper constructor but only this
13321         one also if I request the other!?
13322
13323 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13324
13325         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13326
13327         * text2.C (LyXText): use initialization lists.
13328
13329         * lyxtext.h (Selection): initialize set_ and mark_
13330         (init): remove method
13331
13332 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13333
13334         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13335
13336 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * screen.[Ch]: change method names to begin with lowercase
13339
13340         * BufferView_pimpl.C (updateScrollbar): simplify further and
13341         hopefully make it a bit faster.
13342
13343 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13346         calling directly xforms functions.
13347
13348         * Painter.C (Painter):
13349         * lyx_cb.C (MenuWrite):
13350         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13351         fl_display.
13352
13353         * lyx_gui.C: remove bogus guiruntime extern declaration.
13354
13355 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13358         in NEW_INSETS
13359         (redoDrawingOfParagraph): ditto
13360         (redoParagraphs): ditto
13361         (cutSelection): don't create a object for CutAndPaste use the
13362         static method directly
13363         (pasteSelection): ditto
13364
13365         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13366         LyXview (+ rename)
13367
13368 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * modifications to some other files because of this.
13371
13372         * Makefile.am (lyx_SOURCES): add XFormsView
13373
13374         * XFormsView.[Ch]: new files
13375
13376         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13377         the main window. Move the gui dependent stuff to XFormsView
13378
13379 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * tabular.C (GetCellInset): update cur_cell also in the row/col
13382         version of this function.
13383
13384         * lyxfunc.C: no need to include figure_form.h here.
13385
13386         * FontLoader.h:
13387         * lyxfunc.h:
13388         * lyxscreen.h:
13389         * text2.C:
13390         * lyxvc.C: no need to include forms.h here.
13391
13392 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13395
13396         * lyxfunc.C (Dispatch):
13397         * Spacing.C (set):
13398         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13399         constructor argument.
13400
13401 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * paragraph.C (Paragraph): dont't clear, and just set layout.
13404         (makeSameLayout): use params's copy contructor.
13405
13406         * ParagraphParameters.[Ch] (makeSame): delete method
13407
13408 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * Variables.[Ch]: fix indentation, rename set to isSet
13411
13412 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * lyxfunc.C (Dispatch): fix typo
13415
13416 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13419         upper_bound.
13420
13421         * bufferlist.C: include assert.h for emergencyWrite().
13422
13423 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13426           give up at last (bug #425202) !
13427
13428 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * lyx_gui_misc.C:
13431         * sp_form.h:
13432         * sp_form.C:
13433         * spellchecker.h:
13434         * spellchecker.C: strip spellchecker options and bring up
13435           preferences tab instead
13436
13437 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13440         the istringstream constructor
13441
13442 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * paragraph.C (getLayout): fix return value
13445
13446         * paragraph.h: do not declare getLayout as inline.
13447
13448         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13449
13450 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * lyxcursor.h (operator<): new func
13453         (operator>): new func
13454         (operator>=): new func
13455         (operator<=): new func
13456
13457         * text.C (changeCase): use selection.start and selection.end
13458         (changeRegionCase): require from to be <= to. Require par to be a
13459         valid paragraph.
13460
13461         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13462
13463 2001-06-27  Juergen Vigna  <jug@sad.it>
13464
13465         * text.C (cursorLeftOneWord): changed to return the cursor and added
13466         overlay with BufferView * parameter which calls this one.
13467         (getWord): added
13468         (selectWord): use new getWord function.
13469         (changeCase): renamed from changeWordCase as and extended to work
13470         also on selections.
13471
13472         * lyxtext.h: added enum word_location
13473
13474         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13475         changeCase as this operates now also on selections.
13476
13477 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13478
13479         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13480
13481         * many files: send debug output to Debug::INFO instead of
13482         Debug::ANY.
13483
13484         * converter.C (View):
13485         (Convert):
13486         (Move): send debug output to Debug::FILES instead of console.
13487
13488 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13489
13490         * lyxfunc.C (getStatus): use func_status
13491
13492         * func_status.h: new header, describing the results of
13493         LyXFunc::getStatus;
13494
13495         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13496         LFUN_MATH_HALIGN.
13497
13498 2001-06-25  The LyX Project  <jug@sad.it>
13499
13500         * buffer.C (sgmlOpenTag):
13501         (sgmlCloseTag):
13502         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13503
13504 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * text2.C: remove some dead code
13507
13508         * tabular.C (GetCellInset): store the last cell checked (gotten)
13509
13510         * tabular.h: add the helper for the speedup
13511
13512         * lyxtext.h: remove some dead code
13513
13514 2001-06-26  The LyX Project  <Asger>
13515
13516         * paragraph.C: Change export to LaTeX of alignment to
13517         \begin{center} and family for better roundtrip work with reLyX.
13518
13519         * Tune the math drawing a bit.
13520
13521 2001-06-25  The LyX Project  <Asger>
13522
13523         * LColor.C (LColor): New color for math background. New color
13524         for buttons.
13525
13526 2001-06-25  The LyX Project  <jug@sad.it>
13527
13528         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13529
13530         * lyxfunc.C (Open):
13531         * bufferlist.C (newFile): do not restrict to files ending with
13532         .lyx
13533
13534         * BufferView_pimpl.C (MenuInsertLyXFile):
13535
13536 2001-06-24  The LyX Project  <jug@sad.it>
13537
13538         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13539         of compare_no_case
13540
13541 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * lyxtext.h: rename most methods to begin with a small char.
13544         Lots of changes because of this.
13545
13546         * paragraph.C (Paragraph): do not call fitToSize
13547         (erase): call Pimpl::erase
13548         (insertChar): call Pimpl::insertChar
13549         (insertInset): call Pipl::insertInset
13550         (breakParagraph): do not call fitToSize
13551         (breakParagraphConservative): do not call fitToSize
13552         (fitToSize): remove method
13553
13554         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13555
13556 2001-06-24  The LyX Project  <Asger>
13557
13558         * Fix Qt compilation^2
13559
13560 2001-06-24  The LyX Project  <jug@sad.it>
13561
13562         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13563         depthHook(getDepth()-1).
13564
13565         * paragraph.h:
13566         * ParagraphParameters.h:
13567         * ParameterStruct.h: change type of depth to unsigned int ==
13568         depth_type. Many adaptations to other files before of that.
13569
13570 2001-06-24  The LyX Project  <Asger>
13571
13572         * Fix Qt compilation.
13573
13574 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * paragraph.h: renamed several methods to begin with small letter.
13577         several changes to many parts of the code because of this.
13578
13579 2001-06-23  The LyX Project  <jug@sad.it>
13580
13581         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13582         rewritten to discard all double spaces when KeepEmpty is off
13583         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13584         to only handle newlines but not fiddle with spaces and friends.
13585
13586         * lyxfunc.C (MenuNew): when doing 'new from template', use
13587         template_path as default directory
13588
13589 2001-06-23  The LyX Project  <Asger>
13590
13591         * Clean-up of header file includes all over
13592         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13593
13594 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13595
13596         * paragraph.h: renamed from lyxparagraph.h
13597
13598 2001-06-23  Asger  <lyx@violet.home.sad.it>
13599
13600         * Buffer.h: Removed Buffer::resize
13601         * BufferList.h: Removed BufferList::resize
13602         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13603         the document lazily when we change the width, or the font settings.
13604
13605 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13608
13609 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13610
13611         * buffer.h: remove out of date comment
13612
13613 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13614
13615         * lyxscreen.h:
13616         * screen.C: fix "theoretical" GC leak
13617
13618 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * LaTeX.C (scanAuxFile):
13621         (deplog): remove trailing \r when reading stream (useful under
13622         win32)
13623
13624 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13627         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13628         and BufferView::theLockingInset(Inset*), so should use them and not
13629         access bv_->text->the_locking_inset directly.
13630
13631         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13632
13633 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * Makefile.am:
13636         * tex-defs.h: remove old unused file
13637
13638 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * BufferView_pimpl.C: fix typo, remove minibuffer message
13641           when buffer has loaded
13642
13643 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13644
13645         * lyxfunc.C (Dispatch): use stringstream
13646         (MenuNew): use stringstream
13647         (Open): use stringstream
13648
13649         * importer.C (Import): use stringstream
13650
13651         * bufferview_funcs.C (CurrentState): use stringstream
13652
13653         * LaTeX.C (run): use stringstream
13654
13655         * BufferView_pimpl.C (savePosition): use stringstream
13656         (restorePosition): use stringstream
13657         (MenuInsertLyXFile): use stringstream
13658
13659 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13660
13661         * BufferView.C:
13662         * Bullet.C:
13663         * ColorHandler.C:
13664         * FontInfo.C:
13665         * FontLoader.C:
13666         * LColor.C:
13667         * LaTeXFeatures.C:
13668         * Painter.C:
13669         * gettext.C:
13670         * lyx_gui_misc.C:
13671         * lyxserver.C:
13672         * vspace.C: removed // -*- C++ -*- as first line.
13673
13674         * lyxfind.h:
13675         * version.h: added // -*- C++ -*- as first line.
13676
13677 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13680
13681         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13682         of string
13683
13684 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13687         of floats.
13688
13689 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * gettext.C: include LString.h even when --disable-nls is on.
13692
13693 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13694
13695         * converter.h (Get): changed argument type from int to
13696         FormatList::size_type to avoid unnecessary conversion.
13697
13698         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13699         before using it.
13700
13701 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13702
13703         * gettext.h: include LString.h even when --disable-nls is on.
13704
13705 2001-06-07  Juergen Vigna  <jug@sad.it>
13706
13707         * text.C (BreakAgain): subst spaces with tabs.
13708
13709         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13710         (resizeInsetsLyXText): set force on resizeLyXText.
13711
13712 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * gettext.h (gettext_init):
13715         (locale_init): use a real definition instead of a macro
13716
13717 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * Bufferview_pimpl.C:
13720         * LColor.h:
13721         * LColor.C: further lcolor tidies
13722
13723 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13724
13725         * BufferView_pimpl.C (updateScrollbar): simplify.
13726
13727         * BufferView2.C: don't include insets/insetinfo.h, change
13728         prototype for insertInset and call the Pimpl version. let
13729         updateInset call Pimpl version.
13730
13731         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13732         gotoInset to BufferView::Pimpl
13733
13734 2001-06-01  Juergen Vigna  <jug@sad.it>
13735
13736         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13737         inside a LockingInset (is the update needed at all?).
13738
13739 2001-05-31  Juergen Vigna  <jug@sad.it>
13740
13741         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13742         here not the old one otherwise how should we compare it afterwards
13743         if it's the same!
13744
13745 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * lyxfont.C:
13748         * tabular.C:
13749         * tabular-old.C:
13750         * FontInfo.C: bring C functions into global namespace when
13751         necessary
13752
13753 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * LString.h: make sure config.h has been loaded before LString.h.
13756
13757         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13758         (one for each char read by EatLine!).
13759
13760         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13761         variables.
13762
13763 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13766         to the same as the par we break from
13767
13768 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13771
13772         * MenuBackend.C (expand): also create menu entries for wide
13773         versions of the floats.
13774
13775         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13776
13777         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13778
13779         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13780         frontends/Makefile.am
13781
13782         * text2.C: adjust
13783         * text.C: adjust
13784
13785
13786         * tabular.C (getTokenValue): add std::
13787
13788         * tabular-old.C (getTokenValue): add std::
13789         (getTokenValue): ditto
13790         (getTokenValue): ditto
13791
13792         * screen.C (ToggleSelection): adjust
13793
13794         * lyxtext.h: put selection cursors inside a Selection struct.
13795
13796         * lyxfunc.C (moveCursorUpdate): adjust
13797
13798         * lyxfont.C (latexWriteStartChanges): add std::
13799
13800         * lyxfind.C: adjust
13801
13802         * font.h: delete with(char const *, LyXFont const &)
13803
13804         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13805
13806         * FontInfo.C (getFontname): add std::
13807
13808         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13809         (workAreaButtonPress): adjust
13810         (tripleClick): adjust
13811         (update): adjust
13812         (moveCursorUpdate): adjust
13813         (Dispatch): adjust
13814
13815         * BufferView2.C (gotoInset): adjust
13816
13817 2001-05-30  Juergen Vigna  <jug@sad.it>
13818
13819         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13820         to check pspell I add this as default as I now have new pspell
13821         libraries and they seem to use this.
13822
13823 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * text2.C (CutSelection): make the cursor valid before the call to
13826         ClearSelection.
13827
13828 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13831         relied on 0 terminated strings and other horrors. Bug found due to
13832         the new assert in lyxstring!
13833
13834         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13835         KP_ keys.
13836
13837 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13838
13839         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13840         to latinkeys.bind.
13841
13842         * lyxfunc.C (processKeySym): change method of getting to the
13843         self-insert char.
13844
13845         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13846         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13847         * BufferView_pimpl.[Ch]: here as private methods.
13848
13849 2001-05-28  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C (SetHeightOfRow): added the update() call again as it is
13852         needed to initialize inset dimensions!
13853
13854 2001-05-16  Juergen Vigna  <jug@sad.it>
13855
13856         * text2.C (SetCharFont): Add new function with BufferView * and
13857         bool toggleall parameters for setting insets internal fonts.
13858         (SetFont): Freeze the undo as we may change fonts in Insets and
13859         all this change should be inside only one Undo!
13860
13861         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13862         setting font's in insets as for them we have the SetFont function!
13863
13864 2001-05-15  Juergen Vigna  <jug@sad.it>
13865
13866         * text2.C (ClearSelection): to be sure we REALLY don't have any
13867         selection anymore!
13868
13869         * tabular.C (TeXCellPreamble): fixed the left border problem for
13870         multicolumn cells.
13871
13872 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13873
13874         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13875         dependancy file
13876
13877 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13878
13879         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13880         LFUN_BREAKPARAGRAPH.
13881
13882         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13883         help test to "internal only", similar for LFUN_INSERT_URL
13884
13885         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13886         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13887         auto_region_delete and deadkeys.
13888
13889 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13890
13891         * LColor.h:
13892         * LColor.C: remove some dead entries, tidy a little
13893
13894 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13897         commented code.
13898         (Dispatch): implement LFUN_ESCAPE
13899
13900         * commandtags.h: add LFUN_ESCAPE
13901
13902         * LyXAction.C (init): add entry for LFUN_ESCAPE
13903
13904         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13905         Remove commented code.
13906         (insertNote): moved here
13907         (open_new_inset): moved here
13908
13909         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13910         BufferView_pimpl
13911
13912 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * kbmap.C (findbinding): clean it up and make it work correctly.
13915
13916         * lyx_main.C (init): do not pass argc and argv as parameters
13917
13918 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13919
13920         * buffer.C: fix path for OS/2 & Win32
13921
13922         * lyx_gui.C:
13923         * lyx_main:
13924         * lyx_main.C: Added os:: class.
13925
13926         * os2_defines.h: update
13927
13928 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13931         better by trying again with reduced state.
13932
13933 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * lyxrc.C (read): print error about invalid key sequence only when
13936         debugging (because not all latinX keysyms are known to some X
13937         servers)
13938
13939         * kbsequence.C (getiso): add a few std:: qualifiers
13940         (getiso): comment out extra return statement.
13941
13942 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13943
13944         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13945         handling.
13946         (Dispatch): enhance the accent inset a bit. (not perfect)
13947
13948 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13951
13952 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * bufferlist.C (emergencyWrite): fix assert() call
13955
13956 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13957
13958         * text.C (InsertChar): Added trivial patch to only send the "you
13959         can not do multiple spaces this way" message once during a
13960         session.
13961
13962 2001-05-08  Baruch Even  <baruch@lyx.org>
13963
13964         * Makefile.am: Changed order of libraries to get LyX to link properly
13965         with the gnome frontend.
13966
13967 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13968
13969         * LaTeXFeatures.h: add a std:: qualifier
13970
13971 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * paragraph.C (String): use stringstream
13974
13975 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * paragraph.C (writeFile): remove footflag arg
13978
13979         * buffer.C (makeLaTeXFile): use stringstream
13980         (latexParagraphs): remove footnot gurba
13981
13982         * LaTeXFeatures.C (getPackages): use stringstream
13983         (getMacros): likewise
13984         (getTClassPreamble): likewise
13985         (getFloatDefinitions): new method
13986
13987         * paragraph.C (writeFile): reindent
13988         (Erase): reindent
13989
13990         * WorkArea.h: revert the xpos + etc changes.
13991
13992         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13993
13994         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13995
13996         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13997         (pasteSelection): likewise
13998         * text2.C (CreateUndo): likewise
13999
14000 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * minibuffer.C (peek_event): temporarily reduce the functionality
14003         of the minibuffer (to allow args on lfuns)
14004
14005         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14006         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14007
14008         * buffer.C (readInset): add compability reading of old float
14009         lists, add reading of new style float list.
14010         (readInset): avoid reevaluation of inscmd.getCmdName()
14011         (getLists): reindent
14012
14013         * MenuBackend.C (MenuItem): implement parsing of
14014         md_floatlistinsert and md_floatinsert.
14015         (expand::LastFiles): move initalizaton of iterators out of loop,
14016         avoid reevaluation.
14017         (expand::Documents): introduce typdedef vector<string> Strings,
14018         and use it.
14019         (expand::ExportFormats): introduce typedef vector<Format const *>
14020         Formats, and use it.
14021         (expand): implement FloatListInsert and FloatInsert.
14022
14023         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14024         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14025         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14026
14027         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14028         handling.
14029         (Dispatch::LFUN_FLOAT_LIST): implement
14030
14031 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14032
14033         * LaTeX.C (run): Fix problem with --export code.
14034
14035 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14036
14037         * BufferView.[Ch] (workarea): removed.
14038         (getClipboard) new method; wrapper for workarea()->getClipboard()
14039
14040         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14041         bug.
14042
14043         * WorkArea.h (width, height, xpos, ypos): These methods all
14044         returned the dimensions of the work_area sub-area of WorkArea,
14045         resulting in a position error if the WorkArea were resized. Now
14046         return the dimensions of the entire WorkArea.
14047
14048         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14049
14050 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14051
14052         * LaTeX.C (deplog): correct the syntax of regex reg1
14053
14054 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14055
14056         * undo.C: remove !NEW_INSETS cruft
14057
14058 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * text2.C: remove !NEW_INSETS cruft
14061
14062         * text.C: remove !NEW_INSETS cruft
14063
14064         * tabular.C: remove !NEW_INSETS cruft
14065
14066         * spellchecker.C: remove !NEW_INSETS cruft
14067
14068         * lyxtext.h: remove !NEW_INSETS cruft
14069
14070         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14071
14072         * lyxfunc.C: remove !NEW_INSETS cruft
14073
14074         * lyxfind.C: remove !NEW_INSETS cruft
14075
14076         * lyx_cb.C: remove !NEW_INSETS cruft
14077
14078         * figureForm.C: remove  !NEW_INSETS cruft
14079
14080         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14081
14082         * buffer.[Ch]: remove !NEW_INSETS cruft
14083
14084         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14085
14086         * CutAndPaste.C: remove !NEW_INSETS cruft
14087
14088         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14089
14090         * BufferView2.C: remove !NEW_INSETS cruft
14091
14092         * BufferView.h: remove !NEW_INSETS cruft
14093
14094 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * Lsstream.h: include LString.h before the sstream headers to
14097         fix problem with gcc 2.95.3 and lyxstring
14098
14099 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * lyx_main.C: add using directives when needed for C functions
14102         declared in std:: namespace.
14103
14104 2001-04-27  Juergen Vigna  <jug@sad.it>
14105
14106         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14107         (SetHeightOfRow): comment out the update call should not be needed!
14108
14109 2001-04-13  Juergen Vigna  <jug@sad.it>
14110
14111         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14112         (LyXTabular): tried to minimize operator= operations (and realized
14113         hopfully Lars wish).
14114
14115 2001-04-27  Juergen Vigna  <jug@sad.it>
14116
14117         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14118
14119 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14122
14123         * buffer.C (readInset): hack to make listof algorithm work
14124
14125         * BufferView_pimpl.C: hack to make listof algorithm work
14126
14127 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * LyXAction.C: removed all !NEW_INSETS cruft
14130         (init): moved lfun_item in method
14131
14132         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14133
14134 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14135
14136         * BufferView2.C (theLockingInset): white space.
14137
14138 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14139
14140         * minibuffer.C: include <iostream>
14141
14142         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14143
14144         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14145
14146         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14147
14148         * text.[Ch] (TransposeChars): new method
14149
14150 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14151
14152         * call message directly through LyXView instead of through LyXFunc
14153         * BufferView2.C: adjust
14154         * BufferView_pimpl.C: adjust
14155         * FontLoader.C: adjust
14156         * buffer.C: adjust
14157         * bufferview_funcs.C: adjust
14158         * converter.C: adjust
14159         * figureForm.C: adjust
14160         * importer.C: adjust
14161         * lyx_cb.C: adjust
14162         * lyx_gui_misc.C: adjust
14163         * lyxfunc.C: adjust
14164         * lyxvc.C: adjust
14165         * text2.C: adjust
14166         + more files in subdirs
14167
14168         * lyxparagraph.h (size): move up int file
14169         (GetLayout): ditto
14170
14171         * adjust all uses of Assert to lyx::Assert.
14172
14173         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14174         lyxfunctional in namespace lyx
14175         * layout.C (hasLayout): ditto
14176         (GetLayout): ditto
14177         (GetLayout): ditto
14178         (delete_layout): ditto
14179         (NumberOfClass): ditto
14180         * converter.C (GetFormat): ditto
14181         (GetNumber): ditto
14182         (Add): ditto
14183         (Delete): ditto
14184         (SetViewer): ditto
14185         * bufferlist.C (getFileNames): ditto
14186         (emergencyWriteAll): ditto
14187         (exists): ditto
14188         (getBuffer): ditto
14189         * MenuBackend.C (hasSubmenu): ditto
14190         (hasMenu): ditto
14191         (getMenu): ditto
14192         * BufferView_pimpl.C (getInsetByCode): ditto
14193
14194 2001-04-18  Juergen Vigna  <jug@sad.it>
14195
14196         * vspace.C (asLatexString): fixed the 100% problem.
14197
14198 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14199
14200         * lyxfunc.C (Dispatch):
14201         * minibuffer.C:
14202         * minibuffer.h: add a few std:: qualifiers
14203
14204 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * minibuffer.[Ch]: reimplement so that commands is initiated and
14207         run from lyxfunc, simplified som handling, and made the completion
14208         and history code for complete. wip.
14209
14210         * lyxfunc.C (processKeySym): call message
14211         (miniDispatch): new temporary method
14212         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14213         (LFUN_MESSAGE): implement
14214         (LFUN_MESSAGE_PUSH): implement
14215         (LFUN_MESSAGE_POP): implement
14216         (initMiniBuffer): the initial/defualt minibuffer message.
14217
14218         * lyxfont.[Ch]: inline some more getters
14219
14220         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14221
14222         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14223
14224         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14225         (AutoSave): use LFUN_MESSAGE
14226         (Reconfigure): ditto
14227
14228         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14229
14230         * figureForm.C: use LFUN_MESSAGE
14231
14232         * converter.C (runLaTeX): use LFUN_MESSAGE
14233
14234         * bufferview_funcs.C: use LFUN_MESSAGE
14235         (Melt): ditto
14236         (changeDepth): ditto
14237
14238         * bufferparams.h: use boost::
14239
14240         * bufferlist.h: inherit privately from noncopyable
14241
14242         * bufferlist.C (loadLyXFile): remove some commented code.
14243
14244         * buffer.C (runChktex): use LFUN_MESSAGE
14245
14246         * ShareContainer.h: inherit privately from noncopyable
14247
14248         * ParagraphParameters.[hC] (depth): inline it.
14249
14250         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14251         methods.
14252         (message): new method
14253         (messagePush): ditto
14254         (messagePop): ditto
14255         (show): init minibuffer
14256         (showState): direct call
14257
14258         * LaTeX.[Ch]: inherit privately from noncopyable
14259         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14260         instead of WriteStatus.
14261
14262         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14263
14264         * BufferView_pimpl.C (buffer): don't init minibuffer
14265         (workAreaButtonPress): use LFUN_MESSAGE
14266         (workAreaButtonRelease): ditto
14267         (savePosition): ditto
14268         (restorePosition): ditto
14269         (MenuInsertLyXFile): ditto
14270         (workAreaExpose): don't init minibuffer
14271         (update): remove commented code, simplify
14272
14273         * BufferView2.C (openStuff): use LFUN_MESSAGE
14274         (toggleFloat): ditto
14275         (menuUndo): ditto
14276         (menuRedo): ditto
14277         (copyEnvironment): ditto
14278         (pasteEnvironment): ditto
14279         (copy): ditto
14280         (cut): ditto
14281         (paste): ditto
14282         (gotoInset): ditto
14283         (updateInset): remove some commented code
14284
14285         * lastfiles.h: inherit privately from noncopyable
14286         * layout.h: ditto
14287         * lyx_gui.h: ditto
14288         * lyx_main.h: ditto
14289         * lyxlex.h: ditto
14290         * lyxlex_pimpl.h: ditto
14291
14292         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14293         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14294         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14295
14296         * LyXAction.h: inherit privately from noncopyable, add methods
14297         func_begin, func_end, returning iterators to the func map.
14298
14299         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14300         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14301         (func_begin): new method
14302         (func_end): new method
14303
14304         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14305         and not)
14306         (copySelection): ditto
14307         (pasteSelection): ditto
14308
14309         * BufferView.C: whitespace change
14310         * BufferView.h: inherit privately from noncopyable
14311
14312 2001-04-16  Allan Rae  <rae@lyx.org>
14313
14314         * tabular-old.C (l_getline):
14315         * spellchecker.C (sc_check_word):
14316         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14317         an unrecognised preprocessor directive.  So ensure they're wrapped.
14318
14319 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * src/exporter.C (Export): Give an error message when path to file
14322         contains spaces.
14323
14324 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * LaTeX.C (deplog): Always check that foundfile exists.
14327
14328 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * lyx_main.h:
14331         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14332
14333 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14334
14335         * tabular.[Ch] (getLabelList): implement new method
14336
14337         * minibuffer.h: comment ouf setTiimer
14338
14339         * minibuffer.C (ExecutingCB): constify res
14340         (peek_event): constify s
14341         (Set): constify ntext
14342         (Init): constify nicename
14343
14344         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14345
14346         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14347         (savePosition): use two params to Minibuffer::Set
14348         (restorePosition): ditto
14349
14350 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * lyx_main.C: include language.h
14353
14354         * Makefile.am (lyx_main.o): add language.h
14355
14356 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * exporter.C:
14359         * paragraph.C:
14360         * screen.C:
14361         * tabular.C:
14362         * CutAndPaste.C: include gettext.h
14363
14364         * lyxfont.h: remove old hack with ON and OFF.
14365
14366         * lyxparagraph.h:
14367         * lyxfont.h: do not include language.h...
14368
14369         * BufferView2.C:
14370         * LaTeXFeatures.C:
14371         * Painter.C:
14372         * bufferview_funcs.C:
14373         * font.C:
14374         * lyxfont.C:
14375         * text.C:
14376         * text2.C:
14377         * trans_mgr.C:
14378         * paragraph.C: ... but do it here instead
14379
14380 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14383
14384         * tabular.C: small reformat
14385
14386         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14387         NEW_INSETS version
14388         (GetChar): ditto
14389         (BreakParagraph): ditto
14390         (SetOnlyLayout): ditto
14391         (SetLayout): ditto
14392
14393         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14394         with one arg less.
14395
14396         * lastfiles.C: removed most using decl, add std:: where needed
14397
14398         * buffer.C: ws changes
14399
14400         * MenuBackend.C (class compare_format): put into anon namespace
14401         (expand): constify label, names, action, action2
14402         (expand):
14403
14404         * text.C (SingleWidth): constify font
14405         (IsBoundary): constify rtl2
14406         (GetVisibleRow): constify ww
14407
14408         * LaTeX.C (deplog): constify logfile
14409
14410         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14411         start_x, end_x
14412         (workAreaExpose): constify widthChange, heightChange
14413
14414         * lyxrow.C (par): moved
14415         (height): moved
14416         (next): moved
14417         * lyxrow.h: as inlines here
14418
14419         * lyxfont.h (shape): moved from lyxfont.C
14420         (emph): moved from lyxfont.C
14421
14422         * lyxfont.C (LyXFont): use initialization list for all
14423         constructors
14424         (shape): move to lyxfont.h as inline
14425         (emph): move to lyxfont.h as inline
14426
14427
14428 2001-04-04  Juergen Vigna  <jug@sad.it>
14429
14430         * vspace.C: had to include stdio.h for use of sscanf
14431
14432 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * BufferView.h:
14435         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14436         independent of xforms.
14437
14438 2001-04-02  Juergen Vigna  <jug@sad.it>
14439
14440         * spellchecker.C: fixed namespace placing!
14441
14442 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14445         the LyXParagraph * is 0.
14446
14447 2001-03-29  Juergen Vigna  <jug@sad.it>
14448
14449         * vspace.C: added support for %, c%, p%, l%.
14450         (stringFromUnit): added helper function.
14451         (asLatexString): changed to give right results for the %-values.
14452
14453         * buffer.C: convert the widthp in a width%.
14454
14455 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14458         figureForm.[Ch].
14459
14460         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14461         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14462
14463         * lyx_cb.[Ch]: see above.
14464
14465         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14466         form1.[Ch].
14467
14468         * form1.[Ch]:
14469         * lyx.[Ch]: replaced by figure_form.[Ch].
14470
14471         * lyx_gui.C:
14472         * lyx_gui_misc.C:
14473         * lyxfunc.C: changed headers associated with above changes.
14474
14475 2001-03-27  Juergen Vigna  <jug@sad.it>
14476
14477         * BufferView_pimpl.C: set the temporary cursor right!
14478
14479 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14480
14481         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14482
14483 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14484
14485         * LString.h: removed "using std::getline"!
14486
14487         * BufferView_pimpl.C (Dispatch): changes due to changes in
14488         InsetInclude::Params.
14489
14490         * buffer.C (tag_name): removed redundant break statements as they were
14491         producing lots of warnings with my compiler.
14492
14493 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14494
14495         * LString.h: add "using std::getline" when using the real <string>.
14496
14497 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14498
14499         * buffer.C: removed bitset usage.
14500         PAR_TAG moved to an anonymous name space.
14501         (tag_name): new funtion, also in the anonymous namespace.
14502         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14503         (makeDocBookFile): clean code. Completed transition from string arrays
14504         to string vectors.
14505         (SimpleDocBookOnePar): code clean.
14506
14507 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14508
14509         * tabular.C: add some comments.
14510
14511 2001-03-22  Juergen Vigna  <jug@sad.it>
14512
14513         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14514         compatibility read a bit and fixed bug with minipage in different
14515         depth.
14516
14517 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14518
14519         * buffer.C (pop_tag): removed.
14520         (push_tag): removed.
14521         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14522         array replaced with vector. Added support for CDATA sections.
14523         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14524         at any nest level.
14525         (makeDocBookFile): XML conformant declaration of CDATA section,
14526         fixed bug related to <emphasis> in the first paragraph char.
14527         (sgmlOpenTag): exclude empty tags.
14528         (sgmlCloseTag): ditto.
14529
14530         * buffer.h (pop_tag): removed.
14531         (push_tag): removed.
14532
14533 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         * language.h (Languages): added size_type and size().
14536
14537 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14538
14539         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14540         response on compability reading of minipages. One probliem is that
14541         the old usage of minipages was «flertydig»
14542
14543         * several files here and in subdirs: don't use static at file
14544         scope use anon namespaces instead.
14545
14546 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14547
14548         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14549         LaTeX output. This is necessary for Literate document
14550         processing.
14551
14552 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14553
14554         * buffer.C: insert hfill when needed.
14555
14556         * tabular.C (l_getline): use string::erase, small whitespace change.
14557
14558         * BufferView_pimpl.C: try the anon namespace.
14559         * WorkArea.C: ditto
14560
14561 2001-03-16  Juergen Vigna  <jug@sad.it>
14562
14563         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14564         otherwise it won't open options-dialogs.
14565
14566         * buffer.C: honor pextraWidth(p) on converting minipages.
14567
14568         * tabular.C (l_getline): changed the functions to strip trailing \r.
14569
14570 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14571
14572         * BufferView_pimpl.C:
14573         * minibuffer..C: added "using SigC::slot" declaration.
14574
14575 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14576
14577         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14578
14579         * text2.C: ditto
14580
14581         * text.C: ditto
14582
14583         * paragraph.C: ditto
14584
14585         * lyxtext.h: NO_PEXTRA
14586
14587         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14588
14589         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14590         * ParameterStruct.h: ditto
14591         * ParagraphParameters.h: ditto
14592         * lyxparagraph.h: ditto
14593
14594 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14595
14596         * buffer.C: add compability for minipage alignment.
14597         (latexParagraphs): remove unwanted pextra check.
14598
14599         * several files: remove CXX_WORKING_NAMESPACES
14600
14601         * buffer.C (pop_tag): tie is in namespace boost
14602
14603         * BufferView.h: noncopyable is in namespace boost
14604         * lyxlex.h: ditto
14605         * lyx_main.h: ditto
14606         * lyx_gui.h: ditto
14607         * layout.h: ditto
14608         * lastfiles.h: ditto
14609         * bufferlist.h: ditto
14610         * ShareContainer.h: ditto
14611         * LyXView.h: ditto
14612         * LyXAction.h: ditto
14613         * LaTeX.h: ditto
14614
14615 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * Merging changes from BRANCH_MVC back into HEAD.
14618
14619         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14620
14621 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14622
14623         * BufferView_pimpl.C: change from intl.C
14624
14625         * combox.h:
14626         * combox.C:
14627         * Makefile.am: move combox.*
14628
14629         * form1.h:
14630         * form1.C:
14631         * lyx_gui.C:
14632         * intl.h:
14633         * intl.C: remove dialog (covered by prefs)
14634
14635 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14636
14637         * lyxfunc.C (Dispatch): removed redundant break statement.
14638
14639 2001-03-14  Juergen Vigna  <jug@sad.it>
14640
14641         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14642
14643 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14644
14645         * buffer.C: add hack to fix compability reading of minipages.
14646
14647 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * buffer.C (getLists): Cleanup.
14650
14651 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * lyxfont.C (update): don't honor toggleall on font size.
14654
14655 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * bmtable.c:
14658         * bmtable.h:
14659         * Makefile.am: moved to frontends/xforms/
14660
14661         * lyx_gui_misc.C:
14662         * lyxfunc.C:
14663         * BufferView_pimpl.C: changes for moved mathpanel
14664
14665 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * gettext.h: fix gettext_init() in --disable-nls
14668
14669 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14672
14673 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14674
14675         * lyx.C:
14676         * lyx.h: strip external form
14677
14678 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14679
14680         * BufferView_pimpl.C: add comment, destroySplash()
14681
14682 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14683
14684         * BufferView_pimpl.C:
14685         * LyXAction.C:
14686         * buffer.C:
14687         * commandtags.h:
14688         * lyxfunc.C: use re-worked insetinclude
14689
14690 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14691
14692         * buffer.C: add using std::stringstream.
14693
14694         * lyx_cb.C: readd using std::ios.
14695
14696         * buffer.C: add using std::map.
14697
14698         * BufferView_pimpl.C: add using std::vector.
14699
14700         * ShareContainer.h: add std:: to swap.
14701
14702         * buffer.h: add some typedefs
14703         * buffer.C (getLists): use them
14704         (getLists): renamed from getTocList.
14705         add a counter for the different float types and use it in the
14706         generated string.
14707         (getLists): use the same counter for the NEW_INSETS and the "non"
14708         NEW_INSETS
14709
14710         * lyx_cb.h: remove unused items, includes, using etc.
14711
14712         * ShareContainer.h: remove some commented code, add more comments
14713         and "documentation".
14714
14715 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14716
14717         * buffer.C (getTocList): make the list also when NEW_INSETS is
14718         defined.
14719
14720         * buffer.h: remove TocType
14721
14722         * buffer.C (getTocList): change to return a map<string,
14723         vector<TocItem> >, implement for dynamic number of list.
14724
14725         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14726         * text2.C (PasteSelection): adjust
14727         * CutAndPaste.C (pasteSelection): adjust
14728
14729         * FloatList.C (FloatList): update from the new_insets branch.
14730         * Floating.[Ch]: ditto
14731         * LaTeXFeatures.C: ditto
14732         * buffer.C: ditto
14733         * lyxlex_pimpl.C: ditto
14734
14735         * paragraph.C (Last): remove when NEW_INSETS is defined.
14736
14737         * other file: changes because of the above.
14738
14739 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14740
14741         * lyxparagraph.h: rename next to next_, previous to previous_,
14742         make them private for NEW_INSETS. Rename Next() to next(),
14743         Previous() to previous().
14744
14745         * other files: changes because of the above.
14746
14747 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14748
14749         * BufferView.h:
14750         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14751         problem.
14752
14753 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * main.C (main): pass lyx_localedir to gettext_init().
14756
14757         * gettext.h: remove locale_init and gettext_init macros
14758
14759         * gettext.C (locale_init): new function
14760         (gettext_init): new function
14761
14762         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14763         setlocale().
14764
14765 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14766
14767         * Moved credits to frontends:
14768         * credits.[Ch]: removed
14769         * credits_form.[Ch]: removed
14770         * lyx_gui_misc.C: remove credits stuff
14771         * Makefile.am:
14772
14773 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14774
14775         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14776
14777         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14778         unneeded destructor.
14779
14780         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14781         a standalone pointer again.
14782
14783         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14784
14785 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14786
14787         * Makefile.am:
14788         * filedlg.h:
14789         * filedlg.C:
14790         * LyXAction.C:
14791         * ToolbarDefaults.C:
14792         * bufferlist.C:
14793         * commandtags.h:
14794         * form1.C:
14795         * form1.h:
14796         * lyx_cb.C:
14797         * lyx_cb.h:
14798         * lyxfunc.h:
14799         * lyxfunc.C:
14800         * BufferView_pimpl.C: use new file dialog in GUII
14801
14802         * lyx_cb.h:
14803         * lyx_cb.C: remove LayoutsCB to Toolbar
14804
14805 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * ShareContainer.h (get): add std:: qualifier
14808
14809 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * ShareContainer.h: define a proper ShareContainer::value_type
14812         type (and use typename to please compaq cxx)
14813
14814 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14815
14816         * lyxparagraph.h: move serveral local vars to
14817         ParameterStruct/ParagraphParameters., use ShareContainer in
14818         FontTable., make vars in FontTable private and add getter and
14819         setter.
14820
14821         * paragraph.C: changes because of the above.
14822
14823         * lyxfont.h: remove copy constructor and copy assignment. (the
14824         default ones is ok), move number inside FontBits. move inlines to
14825         lyxfont.C
14826
14827         * lyxfont.C: add number to initializaton of statics, move several
14828         inlines here. constify several local vars. some whitespace
14829         cleanup. Dont hide outerscope variables.
14830
14831         * Spacing.h: add two new constructors to match the set methods.
14832
14833         * ShareContainer.h: new file, will perhaps be moved to support
14834
14835         * ParameterStruct.h: new file
14836
14837         * ParagraphParameters.h: new file
14838
14839         * ParagraphParameters.C: new file
14840
14841         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14842         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14843
14844         * BufferView_pimpl.C: ParagraphParameter changes.
14845         * buffer.C: Likewise.
14846         * bufferview_funcs.C: Likewise.
14847         * text.C: Likewise.
14848         * text2.C: Likewise.
14849
14850 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * lyxfind.C (LyXReplace): do not redefine default argument in
14853         implementation.
14854         (IsStringInText): ditto
14855         (SearchForward): ditto
14856         (SearchBackward): ditto
14857
14858 2001-03-06  Juergen Vigna  <jug@sad.it>
14859
14860         * lyxfind.C (IsStringInText): put parentes around expressions.
14861
14862 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14863
14864         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14865
14866 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14867
14868         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14869
14870         * stl_string_fwd.h: add comment
14871
14872         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14873
14874         * tabular.h:
14875         * tabular.C: remove unused DocBook methods
14876
14877         * intl.C:
14878         * language.C:
14879         * paragraph.C:
14880         * buffer.C:
14881         killed DO_USE_DEFAULT_LANGUAGE
14882
14883 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * lyx_gui.C: do not include language.h.
14886
14887         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14888         arguments in function implementation.
14889
14890 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14891
14892         * BufferView_pimpl.C: add <ctime>
14893
14894 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14895
14896         * BufferView_pimpl.C: add using std::find_if
14897
14898 2001-02-27  José Matos  <jamatos@fep.up.pt>
14899
14900         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14901         by OnlyPath.
14902
14903 2001-02-11  José Matos  <jamatos@fep.up.pt>
14904
14905         * buffer.C (makeDocBookFile): command styles now have a parameter as
14906         "title" by default.
14907
14908 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14909
14910         * layout_forms.[Ch]: removed
14911         * lyx_cb.[Ch]: out character
14912         * lyx_gui.C: out character
14913         * lyx_gui_misc.C: out character
14914         * bufferview_funcs.C: : out character,
14915         added toggleall as parameter in ToggleAndShow
14916
14917 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14918
14919         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14920
14921         * text2.C (SetCurrentFont): Disable number property at boundary.
14922
14923 2001-02-26  Juergen Vigna  <jug@sad.it>
14924
14925         * lyxfunc.C (getStatus): added a string argument override function so
14926         that this is correctly called from LyXFunc::Dispatch if it contains a
14927         do_not_use_argument which is used!
14928         (Dispatch): added check for "custom" export and call appropriate func.
14929
14930 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14931
14932         * lyxrc.C: Add language_command_local, language_use_babel and
14933         language_global_options.
14934
14935         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14936
14937         * buffer.C (makeLaTeXFile): Use language_use_babel and
14938         language_global_options.
14939
14940 2001-02-23  Juergen Vigna  <jug@sad.it>
14941
14942         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14943         which works with LyXText and putted it inside BufferView. Here now we
14944         only call for that part the BufferView::Dispatch() function.
14945
14946         * BufferView.C (Dispatch): added.
14947
14948         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14949         functions which needs to use a LyXText over from LyXFunc.
14950         (MenuInsertLyXFile): added
14951         (getInsetByCode): added
14952         (moveCursorUpdate): added
14953         (static TEXT): added
14954
14955 2001-02-22  Juergen Vigna  <jug@sad.it>
14956
14957         * BufferView_pimpl.C (update): call a status update to see if LyXText
14958         needs it.
14959
14960 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14961
14962         * vc-backend.C (revert): implement for CVS
14963         (getLog): implement for CVS
14964
14965 2001-02-20  Juergen Vigna  <jug@sad.it>
14966
14967         * text2.C (ClearSelection): added BufferView param for inset_owner call
14968
14969         * lyxfunc.C (TEXT): added this function and use it instead of
14970         directly owner->view()-text of getLyXText().
14971
14972 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14973
14974         * src/layout_forms.C: out preamble
14975         * src/layout_forms.h: out preamble
14976         * src/lyx_cb.C: out preamble
14977         * src/lyx_cb.h: out preamble
14978         * src/lyx_gui.C: out preamble
14979         * src/lyx_gui_misc.C: out preamble
14980         * src/lyxfunc.C: connect with guii preamble
14981
14982 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14983
14984         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14985
14986 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14989         whether to run bibtex.
14990
14991 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14992
14993         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14994
14995 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14996
14997         * Makefile.am (lyx_SOURCES): removed bibforms.h
14998
14999         * vspace.h: doxygen
15000
15001         * text.C (GetVisibleRow): make several local vars const
15002
15003         * tabular.C: small cleanup.
15004
15005         * lyxserver.C (callback): use compare instead of strncmp
15006
15007         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15008         inlines to after class or to paragraph.C
15009
15010         * lyxfont.h: remove friend operator!=
15011
15012         * converter.h: move friend bool operator< to non friend and after
15013         class def.
15014
15015         * combox.h: small cleanup
15016
15017         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15018         to inlines after class def.
15019
15020         * buffer.C (pop_tag): use string operations instead of strcmp
15021
15022         * bmtable.c: doxygen, small cleanup
15023
15024         * LaTeX.h: remove friend operator==
15025
15026 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15027
15028         * screen.C:
15029         * lyxrc.[Ch]:
15030         * lyxfunc.C:
15031         * lyxfont.[Ch]:
15032         * lyx_cb.C:
15033         * intl.[Ch]:
15034         * commandtags.h:
15035         * buffer.C:
15036         * WorkArea.[Ch]:
15037         * LyXAction.C:
15038         * BufferView_pimpl.C:
15039         * BufferView.[Ch]: remove cruft
15040
15041 2001-02-14  Juergen Vigna  <jug@sad.it>
15042
15043         * lyxfunc.C: removed #if 0 unused code
15044
15045         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15046
15047         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15048
15049         * text2.C (SetSelection): added a BufferView * parameter
15050
15051 2001-02-13  Juergen Vigna  <jug@sad.it>
15052
15053         * lyxfunc.C (Dispatch): fixed protected blank problem.
15054         * BufferView2.C (protectedBlank): added LyxText * parameter.
15055
15056         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15057         (AppendColumn): same as above for column_info.
15058
15059         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15060         (moveCursorUpdate): use a LyXText param for support of InsetText.
15061
15062         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15063         (tripleClick): ditto
15064
15065         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15066
15067         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15068
15069         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15070
15071         * text2.C (SetSelection): set correct update status if inset_owner
15072         (ToggleFree): ditto
15073
15074 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15075
15076         * tabular.C: remove some commented code.
15077
15078 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * BufferView_pimpl.C: call hideSplash()
15081
15082         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15083
15084         * include_form.h:
15085         * bibforms.h: remove
15086
15087         * lyxfunc.C:
15088         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15089           add LFUN_CHILD_CREATE
15090
15091         * counters.h: fix tiny typo
15092
15093         * lyx_cb.C:
15094         * lyx.h:
15095         * lyx_gui.C:
15096         * lyx.C: move splash to frontends/xforms/
15097
15098         * lyx_gui_misc.C: move Include and Bibform to frontends
15099
15100         * lyxvc.h: clarify comment
15101
15102         * vspace.C: tiny housekeeping
15103
15104 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * text.C (PrepareToPrint): RTL Fix.
15107
15108         * paragraph.C (GetUChar): New method.
15109         (String):  Use GetUChar.
15110
15111         * buffer.C (asciiParagraph): Use GetUChar.
15112
15113 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15114
15115         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15116
15117 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15118
15119         * buffer.h:
15120         * buffer.C: rename to getLogName(), handle
15121           build log / latex log nicely
15122
15123 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * MenuBackend.C:
15126         * MenuBackend.h: remove support for reference menuitem type.
15127
15128 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * BufferView_pimpl.C: housekeeping
15131         * BufferView_pimpl.h:
15132         * LyXView.h:
15133         * Makefile.am:
15134         * Timeout.C:
15135         * Timeout.h:
15136         * minibuffer.h: move Timeout GUI-I
15137
15138 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * lyxrc.C (read): Update converters data-structures.
15141
15142 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15143
15144         * LaTeX.h (operator!=): add operator != for Aux_Info
15145
15146 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15149
15150         * LaTeXLog.C: deleted, useful code moved to Buffer
15151
15152         * buffer.h:
15153         * buffer.C: new function getLatexLogName()
15154
15155         * lyx_gui_misc.C:
15156         * lyx_gui.C:
15157         * lyxvc.C:
15158         * lyxvc.h:
15159         * lyxfunc.C: use frontends for LaTeX and VC logs
15160
15161 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * LaTeX.h: yet another std:: that Allan forgot.
15164
15165         * Variables.C (set): renamed from isset(), because this clashes
15166         with some HP-UX macros (grr).
15167
15168 2001-02-06  Allan Rae  <rae@lyx.org>
15169
15170         * LaTeX.h: Another bug fix.  Missing std:: this time.
15171
15172 2001-02-04  Allan Rae  <rae@lyx.org>
15173
15174         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15175         floats problem. I've left it commented out because it's not quite
15176         correct.  It should also test that the current object is a table or
15177         figure inset.  But I haven't gotten around to figuring out how to do
15178         that.  I *think* it'll be something like: "table" == inset.type()
15179
15180         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15181         bool.
15182
15183 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15186         all the citation/databases/styles in the auxilary file.
15187         (run): Rerun latex if there was a babel language error.
15188
15189 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15190
15191         * text.C (Backspace): Preserve the font when changing newline char
15192         with a space.
15193         (BreakParagraph): If the cursor is before a space, delete the space.
15194
15195         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15196
15197 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15198
15199         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15200         new argument (code).
15201         (ChangeCitationsIfUnique): New method.
15202
15203         * paragraph.C (GetPositionOfInset): Handle bibkey.
15204
15205 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * BufferView_pimpl.h: change type of Position::par_pos to
15208         LyXParagraph::size_type.
15209
15210 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15211
15212         * BufferView_pimpl.C (savePosition, restorePosition): Write
15213         messages to minibuffer.
15214
15215 2001-01-28  José Matos  <jamatos@fep.up.pt>
15216
15217         * buffer.C (makeDocBookFile): adds support for document language.
15218         A silly restriction on the name of LatexCommand types where removed.
15219         Added support for CDATA sections, allows to chars unescaped, used
15220         among others in code, to avoid escape < and >.
15221
15222 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15223
15224         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15225         saved positions instrad of a stack. Furthermore, a position is
15226         stored using paragraph id/paragraph position.
15227
15228         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15229         Remove LFUN_REF_BACK.
15230
15231 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * converter.C (dvipdfm_options): New method.
15234
15235 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15236
15237         * vspace.C (isValidLength): Fix for empty input string.
15238
15239 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * LyXAction.C (init): change description of LFUN_FIGURE to
15242         "Insert Graphics"
15243
15244 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * LaTeX.C: add using directive
15247
15248 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15249
15250         * MenuBackend.C (expand): Fix the sorting of the formats.
15251
15252 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * lyx_main.C: tiny error message fix
15255
15256 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15259         calling fl_initialize(). This fixes the problem with ',' as
15260         decimal separator in text files.
15261
15262 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15263
15264         * trans.C (process): Fix the keymap bug.
15265
15266 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15267
15268         * LaTeX.C (scanAuxFiles): New method. Provides support for
15269         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15270         (scanLogFile) Scan for "run BibTeX" messages.
15271
15272         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15273         OT1 font encoding. Also, load the aecompl package if the ae
15274         package is loaded.
15275
15276         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15277
15278 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * texrow.C (increasePos): turn two error messages into debug
15281         messages.
15282
15283 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15284
15285         * LaTeX.C (scanAux): Handle the \@input macro.
15286         (runBibTeX): Use scanAux().
15287
15288         * language.C (latex_options_): New field.
15289
15290         * LaTeXFeatures.C (getMacros): Add language macros.
15291
15292         * buffer.C (makeLaTeXFile): Small fix.
15293
15294 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15297
15298         * text2.C: add a using directive.
15299
15300 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15301
15302         * BufferView2.C:
15303         * lyx_gui_misc.h:
15304         * lyxfr1.C:
15305         * lyxfunc.C: kill LyXBell.
15306
15307 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15308
15309         * text.C (IsBoundary): Remove the error message
15310
15311         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15312
15313         * lyxrc.C (setDefaults): Correct initialization value for
15314         font_norm_type.
15315
15316 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15319         gotoError().
15320
15321         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15322         and GotoNextNote().
15323
15324         * src/LyXAction.C: Added reference-next.
15325
15326         * text.C (InsertChar): Use contains instead of strchr.
15327
15328         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15329
15330 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15331
15332         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15333         alignment commands (when needed).
15334
15335         * text.C (InsertChar): Add ':' to number separator chars.