]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
21caf701852ac376c6e6c1a55dde1a3fcd517e40
[lyx.git] / src / ChangeLog
1 2004-04-05  Angus Leeming  <leeming@lyx.org>
2
3         * lyxlength.[Ch] (unit_name et al.): const-correct.
4
5 2004-04-05  Angus Leeming  <leeming@lyx.org>
6
7         * BufferView_pimpl.C:
8         * buffer.C:
9         * counters.C:
10         * cursor.C:
11         * lyxfunc.C
12         * paragraph.C:
13         * pariterator.C:
14         * text.C:
15         * text2.C:
16         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
17
18 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * text3.C (getStatus): add LFUN_BEGINNINGBUF
21
22 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
23
24         * lyxfind.C: add a couple of inTexted() tests + other small fixes
25         * BufferView_pimpl.[Ch] (getStatus)
26         * BufferView.[Ch] (getStatus): add
27         * lyxfunc.C (getStatus): move lfuns handled in
28         BufferView::dispatch to te function above 
29         * Cursor.C (setSelection): set selection() = true
30
31 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
32
33         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
34
35 2004-03-31  Angus Leeming  <leeming@lyx.org>
36
37         * lyxfunc.C (dispatch): Fall through to the generic
38         Dialogs::show("preamble").
39
40 2004-03-31  Angus Leeming  <leeming@lyx.org>
41
42         * lyxfunc.C (dispatch): Fall through to the generic
43         Dialogs::show("spellchecker").
44
45 2004-03-31  Angus Leeming  <leeming@lyx.org>
46
47         * lyxfunc.C (getStatus, dispatch): changed invocation of the
48         preferences dialog.
49
50 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * BufferView.C
53         * cursor.[Ch]
54         * dociterator.[Ch]:
55         * insetiterator.[Ch]:
56         * lyxfind.C:
57         * lyxfunc.C:
58         * pariterator.[Ch]:
59         * text2.C:
60         * undo.[Ch]: s/DocumentIterator/DocIterator/g
61
62 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * BufferView.C (setCursor, putSelectionAt): call edit to open the
65         insets where we are putting the cursor.
66
67 2004-03-31  Angus Leeming  <leeming@lyx.org>
68
69         * lfuns.h:
70         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
71
72         * lyxrc.[Ch] (read, write): overloaded member functions taking
73         a std::[io]stream arguments.
74
75         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
76
77 2004-03-31  Angus Leeming  <leeming@lyx.org>
78
79         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
80         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
81
82         * lyxtextclass.C (load): if the text class couldn't be loaded, then
83         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
84
85 2004-03-31  Angus Leeming  <leeming@lyx.org>
86
87         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
88         the LFUN_ALL_INSETS_TOGGLE code.
89
90 2004-03-30  Angus Leeming  <leeming@lyx.org>
91
92         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
93         has died. Fall through to the generic Dialogs::show("document").
94         
95 2004-03-30  Angus Leeming  <leeming@lyx.org>
96
97         * lfuns.h:
98         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
99         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
100
101         * lyxfunc.C (getStatus, dispatch): define the actions for these
102         lfuns. Little more than a cut and pste job from ControlDocument.C
103
104         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
105
106 2004-03-30  Angus Leeming  <leeming@lyx.org>
107
108         * lfuns.h:
109         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
110         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
111
112         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
113         open/closed state of ollapsable insets. Usage:
114
115         all-inset-toggle <state> <name>, where
116         <state> == "open" || "closed" || "toggle" and
117         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
118
119         * lyxtext.h, text2.C (toggleInset): removed.
120
121         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
122         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
123         now passes LFUN_INSET_TOGGLE to the found inset.
124
125         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
126         is now invoked as "all-insets-toggle toggle branch".
127
128 2004-03-30  Angus Leeming  <leeming@lyx.org>
129
130         * dociterator.C:
131         * insetiterator.C:
132         * pariterator.[Ch]: added/corrected header blurb.
133
134 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * dociterator.[Ch]: add an inset_ member 
137         (backwardPos): implemented
138         (backwardPos, forwardPos): use inset_ when the stack is empty.
139         (doc_iterator_begin, doc_iterator_end): implemented
140         * pariterator.[Ch]: adjust, add begin, end
141         * insetiterator.[Ch]: adjust, add begin, end
142         * cursor.C: 
143         * document.C:
144         * BufferView.C:
145         * BufferView_pimpl.C:
146         * CutAndPaste.C: adjust
147
148 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * buffer.C: increment file format to 232.
151         * LaTeXFeatures.C: add bibtopic package.
152         * bufferparams.[Ch]: param \use_bibtopic.
153         
154         * lyxrc.[Ch]: add lyxrc bibtex_command
155         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
156         
157         * buffer.C: increment file format to 231.
158
159 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
160
161         * dociterator.C: implement forwardPar
162         * iterators.[Ch]: remove, replaced by
163         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
164         * BufferView.C:
165         * BufferView_pimpl.C:
166         * CutAndPaste.C:
167         * buffer.C:
168         * bufferview_funcs.C:
169         * cursor.C:
170         * lyxfind.C
171         * lyxfunc.C
172         * paragraph_funcs.C
173         * toc.C:  
174         * Makefile.am: adjust
175
176 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
177
178         * CutAndPaste.C (pasteSelection): fix 2 crashes
179         (eraseSelection): fix a crash
180         * paragraph_funcs.C: remove a warning
181
182 2004-03-28  Angus Leeming  <leeming@lyx.org>
183
184         * lfuns.h:
185         * LyXAction.C (init): new LFUN_PRINT.
186
187         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
188
189 2004-03-27  Angus Leeming  <leeming@lyx.org>
190
191         * lfuns.h:
192         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
193
194         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
195
196 2004-03-27  Angus Leeming  <leeming@lyx.org>
197
198         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
199         insetlist always contains non-null pointers to insets.
200
201 2004-03-26  Angus Leeming  <leeming@lyx.org>
202
203         * src/BufferView_pimpl.C:
204         * src/CutAndPaste.C:
205         * src/buffer.C:
206         * src/iterators.C:
207         * src/output_plaintext.C:
208         * src/outputparams.h:
209         * src/paragraph_funcs.C:
210         * src/rowpainter.C:
211         * src/text.C:
212         * src/text2.C:
213         * src/frontends/controllers/ControlErrorList.C:
214         * src/frontends/gtk/FileDialogPrivate.C:
215         * src/frontends/gtk/GPainter.C:
216         * src/frontends/gtk/GToolbar.C:
217         * src/frontends/qt2/QRef.C:
218         * src/mathed/math_scriptinset.C: squash compiler warnings.
219
220 2004-03-26  Angus Leeming  <leeming@lyx.org>
221
222         * ispell.C (LaunchIspell::start):
223         * lyx_cb.C (AutoSaveBuffer::start):
224         invoke run(DontWait) rather than runNonBlocking().
225
226 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
227
228         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
229
230 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * kbsequence.C (print): adjust
233
234         * kbmap.C (printKeySym): rename and change signature
235         (printKey): use LyXKeySym::print()
236
237 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * undo.C: add using std::advance to compile for stlport
240
241 2004-03-24  Angus Leeming  <leeming@lyx.org>
242
243         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
244         it leads to a crash when no buffer is present.
245
246 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247             Martin Vermeer  <martin.vermeer@hut.fi>
248
249         * lyxfunc.C (dispatch): 
250         * bufferparams.C (readToken): use the new LColor::setColor 
251
252         * LColor.[Ch] (setColor): new version that takes two strings as
253         argument and creates a new color entry if necessary
254
255 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
256
257         * buffer.C (makeLaTeXFile): if the main latex file that is
258         processed is usually a subdocument of some master, then pretend
259         for a while that it is actually the master
260
261 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
262
263         * buffer.C (getLabelList):
264         (getBibkeyList): use getMasterBuffer()
265         (getMasterBuffer): new method. Returns the main document in the
266         case where one is using included documents.
267
268 2004-03-25  André Pönitz  <poenitz@gmx.net>
269
270         * Makefile.am:
271         * iterators.[Ch]:
272         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
273
274         * ParagraphList_fwd.h: change ParagraphList to a std::vector
275
276         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
277         text*.C over here. Rename namespace CutAndPaste to lyx::cap
278
279         * ParameterStruct.h: merge with ParagraphParameters
280
281         * lyxtext.h: remove LyXText::parOffset() and getPar()
282
283         * text3.C: Remove all 'manual' update calls. We do now one per user
284         interaction which is completely sufficient.
285
286         * Bidi.C:
287         * BufferView.[Ch]:
288         * BufferView_pimpl.C:
289         * FontIterator.[Ch]:
290         * MenuBackend.C:
291         * ParagraphParameters.[Ch]:
292         * buffer.C:
293         * buffer.h:
294         * bufferlist.C:
295         * cursor.[Ch]:
296         * cursor_slice.[Ch]:
297         * dociterator.[Ch]:
298         * errorlist.[Ch]:
299         * factory.C:
300         * lfuns.h:
301         * lyxfind.C:
302         * lyxfunc.C:
303         * output_docbook.[Ch]:
304         * output_latex.[Ch]:
305         * output_linuxdoc.[Ch]:
306         * output_plaintext.[Ch]:
307         * paragraph.[Ch]:
308         * paragraph_funcs.[Ch]:
309         * paragraph_pimpl.[Ch]:
310         * rowpainter.C:
311         * tabular.[Ch]:
312         * text.C:
313         * text2.C:
314         * toc.C:
315         * undo.[Ch]: adjust
316
317         * frontends/controllers/ControlDocument.C:
318         * frontends/controllers/ControlErrorList.C:
319         * frontends/controllers/ControlSpellchecker.C:
320         * insets/inset.C:
321         * insets/inset.h:
322         * insets/insetbase.h:
323         * insets/insetbibitem.C:
324         * insets/insetbox.C:
325         * insets/insetbranch.C:
326         * insets/insetcaption.C:
327         * insets/insetcharstyle.C:
328         * insets/insetcharstyle.h:
329         * insets/insetcollapsable.C:
330         * insets/insetcollapsable.h:
331         * insets/insetert.C:
332         * insets/insetfloat.C:
333         * insets/insetfoot.C:
334         * insets/insetmarginal.C:
335         * insets/insetnote.C:
336         * insets/insetoptarg.C:
337         * insets/insettabular.C:
338         * insets/insettext.C:
339         * insets/insettext.h:
340         * insets/insetwrap.C:
341         * mathed/math_mboxinset.C:
342         * mathed/math_nestinset.C:
343         * mathed/math_scriptinset.C:
344         * mathed/math_scriptinset.h:
345         * support/types.h:
346
347 2004-03-24  Angus Leeming  <leeming@lyx.org>
348
349         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
350         deal with any child processes that have finished but are waiting to
351         communicate this fact to the rest of LyX.
352
353 2004-03-24  Angus Leeming  <leeming@lyx.org>
354
355         64-bit compile fixes.
356
357         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
358         (c-tor): pass lyx::pos_types rather than ints.
359
360         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
361         lyx::pos_type.
362
363         * text.C (Delete): compile fix.
364         (getPar): ensure that function declaration is the same as that in
365         the header file.
366
367 2004-03-23  Angus Leeming  <leeming@lyx.org>
368
369         * ispell.C (LaunchIspell):
370         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
371         a boost::shred_ptr rather than a std::auto_ptr.
372
373 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * lyxfunc.C (getStatus): handle read-only buffers correctly;
376         handle LFUN_FILE_INSERT_*
377
378         * lyxrc.C (setDefaults, getDescription, output, read):
379         * lyxrc.h: remove ps_command
380
381 2004-03-22  Angus Leeming  <leeming@lyx.org>
382
383         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
384         Ensure that error_handler is processed once only and that all data
385         is saved before attempting to output any warning messages.
386
387         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
388
389 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
390
391         * tabular.C (TeXRow): crash fix (from Kayvan and André)
392
393 2004-03-19  André Pönitz  <poenitz@gmx.net>
394
395         * cursor.[Ch] (reset): take main text inset as argument
396
397         * BufferView: adjust
398         * BufferView_pimpl.C: adjust
399
400         * paragraph.[Ch]: fix completely broken operator=()
401
402 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * LColor.C (getFromLyXName): make sure that the color name is used
405         as lowercase.
406
407 2004-03-17  Angus Leeming  <leeming@lyx.org>
408
409         * lfuns.h:
410         * LyXAction.C (init): remove LFUN_FORKS_KILL.
411
412         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
413         dialog and to kill a forked process.
414
415 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
416
417         * text2.C (setCursorFromCoordinates): fix font problem
418
419 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
422         bogus "rebuild cursor" code
423
424 2004-03-11  André Pönitz  <poenitz@gmx.net>
425
426         * buffer.[Ch]: use InsetText instead of LyXText as container for
427         the main lyx text.
428
429         * dociterator.[Ch]: drop the BufferView * member which is not needed
430         anymore after the change to buffer.C
431
432         * paragraph_funcs.C:
433         * text.C:
434         * text2.C:
435         * BufferView.[Ch]:
436         * BufferView_pimpl.[Ch]:
437         * cursor.[Ch]:
438         * cursor_slice.[Ch]: adjust
439
440         * text3.C: fix bug in mathDispatch
441
442 2004-03-08  André Pönitz  <poenitz@gmx.net>
443
444         * undo.[Ch]: use 'StableDocumentIterator' as base for
445         the Undo struct.
446
447 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
448
449         * LaTeXFeatures.C:
450         * bufferparams.[Ch]: add jurabib support and param.
451
452         * LaTeX.C: add FIXME/comment.
453
454 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * buffer.C: increment file format to 230.
457
458 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * cursor.C (dispatch): avoid infinite loops
461
462 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * rowpainter.C (paintSelection): fix x coordinates
465
466 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * text.C (rowBreakPoint): fix breaking before displayed insets
469
470 2004-03-01  André Pönitz  <poenitz@gmx.net>
471
472         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
473
474         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
475
476         * Makefile.am:
477         * BufferView.C:
478         * BufferView_pimpl.C:
479         * buffer.C:
480         * lyxfind.C:
481         * lyxfunc.C:
482         * text.C:
483         * text2.C:
484         * text3.C: adjust
485
486 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
487
488         * lyxtext.h:
489         * text.C:
490         * text2.C:
491         * rowpainter.C:
492         * BufferView_pimpl.C: rename textwidth -> maxwidth,
493         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
494
495 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * Bidi.[Ch] (computeTables): const correctness
498         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
499         fill_hfill, fill_label_hfill and x from Row
500         * lyxtext.h: prepareToPrint returns a RowMetrics
501         * rowPainter.C: adjust
502         * text.C (prepareToPrint): use width, not textWidth. adjust
503         (redoParagraphInternal, cursorX): adjust
504         * text2.C (getColumnNearX): adjust
505         (init): put a default value to the top LyXText::width
506
507 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
508
509         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
510
511 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * lyxtext.h: add FontIterator class
514
515         * text.C (FontIterator, operator*, operator->, operator++): add
516         (rowBreakPoint, setRowWidth): adjust (fixing a
517         rebreaking bug)
518
519 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * BufferView_pimpl.C (workAreaDispatch): allow also
522         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
523
524 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * text.C (rowBreakPoint): fix a bug showing with very large insets
527
528 2004-02-25  André Pönitz  <poenitz@gmx.net>
529
530         * text3.C:
531         * cursor.[Ch]: move some mathed specific code to mathed
532
533 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
534
535         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
536         use_tempdir in preferences
537         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
538         tempfile creation
539         * lyx_main.C: ensure that tempdir is valid
540         * lyxlex.h: correct typo
541         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
542         * paragraph.[Ch] (isMultiLingual): make const
543         * cursor.[Ch] (openable): make const
544
545 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
548
549 2004-02-20  André Pönitz  <poenitz@gmx.net>
550
551         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
552
553         * cursor.[Ch]: prepare for localized getStatus()
554
555         * lyxtext.h:
556         * tabular.C:
557         * text.C:
558         * text2.C:
559         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
560
561 2004-02-20  André Pönitz  <poenitz@gmx.net>
562
563         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
564
565 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * text2.C (setCursorFromCoordinates): switch to absolute coords
568         (cursorUp): adjust
569         (cursorDown): adjust
570         * text3.C (dispatch): adjust
571
572 2004-02-16  André Pönitz  <poenitz@gmx.net>
573
574         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
575           insets/ChangeLog)
576
577         * cursor_slice.[Ch]: remove unneeded acessor function
578
579         * lyxtext.h: rename rtl() to isRTL()
580
581         * rowpainter.C:
582         * tabular.C:
583         * text.C:
584         * text2.C:
585         * text3.C: adjust
586
587 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * rowpainter.C (paintSelection): coord fix
590
591 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
592
593         * Spacing.C: compile fix
594
595 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
596
597         * cursor.C (dispatch): restore current_ before returning
598
599 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
600
601         * text2.C (cursorUp, cursorDown): fix coords
602         (moveUp): fix crash
603
604 2004-02-12  André Pönitz  <poenitz@gmx.net>
605
606         * lyxtext.h:
607         * text.C:
608         * text2.C:
609         * text3.C: add LCursor & parameter to most cursor movement functions
610           remove usage of LyXText::cursorRow() and cursorPar()
611
612         * cursor.[Ch]: add textRow() needed members
613
614         * BufferView.C:
615         * BufferView_pimpl.C:
616         * paragraph.[Ch]:
617         * BufferView.C:
618         * BufferView_pimpl.C: adjust
619
620 2004-02-11  André Pönitz  <poenitz@gmx.net>
621
622         * lyxfunc.C:
623         * BufferView.[Ch]:
624         * BufferView_pimpl.C: shift undo/redo handling
625
626         * cursor.[Ch]: fix mathed crash
627
628         * lyxfind.C:
629         * lyxtext.h: move selectionAsText to LCursor
630
631         * output_latex.C:
632         * paragraph.C:
633         * text.C:
634         * text2.C:
635         * text3.C: adjust
636
637         * rowpainter.C: fix excessive drawing
638
639 2004-02-06  André Pönitz  <poenitz@gmx.net>
640
641         * BufferView.[Ch]:
642         * BufferView_pimpl.[Ch]:
643         * text3.C: move some text specific LFUN handling
644
645 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * text3.C (checkInsetHit): adjust coords
648         * text2.C (getColumnNearX): adjust coords
649         (edit): adjust coords
650         * text.C (getRowNearY): add two asserts
651
652 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
653
654         * converter.C:
655         * format.C: add using std::distance to compile on gcc 2.95/stlport
656
657 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
660
661 2004-02-04  André Pönitz  <poenitz@gmx.net>
662
663         * BufferView.[Ch] (insertInset):
664         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
665
666         * text2.C:
667         * text3.C: adjust
668
669 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
672         on the default clause of the switch
673         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
674         wasn't catched by LCursor::dispatch
675
676 2004-02-03  André Pönitz  <poenitz@gmx.net>
677
678         * BufferView.C:
679         * cursor.[Ch]: some additional asserts
680
681         * undo.[Ch]: remove LyXText dependency in interface
682
683         * lyxfunc.C: adjust
684
685         * lyxtext.h (firstPar, lastPar): remove dead functions
686
687         * text.C:
688         * text2.C:
689         * text3.C:
690         * paragraph.[Ch]: adjust
691
692 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
693
694         * lyxfind.C (find): fix argument order in call to ::find
695
696 2004-02-02  André Pönitz  <poenitz@gmx.net>
697
698         * cursor.[Ch]: remove direct access to anchor
699
700         * text.C: remove findText() hack
701
702 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
703
704         * iterators.[Ch] (lockPath): remove in favour of...
705         * BufferView.[Ch] (setCursor): this addition
706         * BufferView.C (putSelectionAt): adjust
707         * undo.C (performUndoOrRedo): adjust
708         * lyxfunc.C (dispatch): adjust
709
710 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * iterators.C (lockPath): add a missing slice
713         * undo.C (performUndoOrRedo): remove redundant positioning code
714
715 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
716
717         * vc-backend.C (scanMaster): ";" -> ';'
718
719 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
720
721         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
722         std::binary_function
723
724         * lyxtextclass.C (compare_name): rename to...
725         (LayoutNamesEqual): ...this
726
727         * lyxlex_pimpl.C (compare_tags): inherit from
728         std::binary_function, put back into anon namespace
729
730         * lyxfind.C (MatchString): inherig from std::binary_function
731         (findChange): use empty() istead of !size()
732
733         * format.C (FormatNamesEqual): new functor
734         (getFormat): use it
735         (getNumber): use it
736         (add): use it
737         (erase): use it
738         (setViewer): use it
739
740         * converter.C (compare_Converter): rename to...
741         (ConverterEqual): ...this, and fixup a bit.
742         (getConverter): use it, and make function const
743         (getNumber): use it, and make function const
744         (add): use it
745         (erase): use it:
746
747         * bufferlist.C: add using boost::bind
748
749         * MenuBackend.C (MenuNamesEqual): new functor
750         (hasMenu): use it, and make function const
751         (hasSubmenu): use nested bind to get rid of compare_memfun.
752
753 2004-01-30  André Pönitz  <poenitz@gmx.net>
754
755         * BufferView_pimpl.C:
756         * cursor.C:
757         * cursor.h:
758         * cursor_slice.[Ch]:
759         * lyxfunc.C:
760         * lyxtext.h:
761         * paragraph_funcs.C:
762         * paragraph_funcs.h:
763         * rowpainter.C:
764         * text.C:
765         * text2.C:
766         * text3.C: move some of the edit(x,y) handling to the insets
767         some coordinate changes.
768
769 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
770
771         * text.C: add using statements for std::advance and std::distance
772
773         * paragraph.C: add using statement for std::distance
774
775         * lyxfind.C: add using statement for std::advance
776
777         * cursor.C (region): remove std:: from swap
778         (openable): use nucleus in stead of operator->
779
780         * BufferView.C: add using statements for std::distance and std::swap
781
782 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
783
784         * iterators.C: Remove the pimple, move the needed structures to
785         the header file. Create accessor for the positions stack.
786         (asPosIterator): remove function
787
788         * PosIterator.C (PosIterator): move constructors to top of file
789         (PosIterator): reimplement the constructor taking a ParIterator in
790         terms of setFrom.
791         (setFrom): new function
792         (operator!=): inline it
793
794 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
795
796         * lyxfind.C (replaceAll): use std::advance
797
798         * iterators.h: inherit from std::iterator.
799
800         * PosIterator.C (advance, distance): remove
801         * PosIterator.h: interit from std::iterator.
802
803 2004-01-26  André Pönitz  <poenitz@gmx.net>
804
805         * BufferView.[Ch]:
806         * BufferView_pimpl.[Ch]:
807         * InsetList.[Ch]:
808         * PosIterator.[Ch]:
809         * buffer.h:
810         * bufferview_funcs.C:
811         * cursor.[Ch]:
812         * cursor_slice.h:
813         * factory.[Ch]:
814         * iterators.[Ch]:
815         * lyxfind.C:
816         * lyxfunc.C:
817         * lyxtext.h:
818         * output_docbook.C:
819         * output_latex.C:
820         * output_linuxdoc.C:
821         * output_plaintext.C:
822         * paragraph.[Ch]:
823         * paragraph_funcs.[Ch]:
824         * paragraph_pimpl.[Ch]:
825         * rowpainter.C:
826         * tabular.C:
827         * tabular.h:
828         * text.C:
829         * text2.C:
830         * text3.C: more IU:  dumps most of the rest of the mathcursor
831     implementation into cursor.[Ch]; "globalize" a bit of it.
832
833 2004-01-25  Angus Leeming  <leeming@lyx.org>
834
835         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
836
837 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
838
839         * LaTeXFeatures.h: add nice_ and nice() const
840         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
841
842 2004-01-20  André Pönitz  <poenitz@gmx.net>
843
844         * BufferView.[Ch]:
845         * BufferView_pimpl.C:
846         * PosIterator.C:
847         * bufferview_funcs.C:
848         * cursor.[Ch]:
849         * cursor_slice.[Ch]:
850         * factory.C:
851         * iterators.C:
852         * lyx_cb.C:
853         * lyxfind.C:
854         * lyxfunc.C:
855         * lyxtext.h:
856         * rowpainter.C:
857         * text.C:
858         * text2.C:
859         * text3.C:
860         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
861           LCursor and mathcursor parts to LCursor and InsetBase.
862
863 2004-01-15  André Pönitz  <poenitz@gmx.net>
864
865         * cursor_slice.[Ch]: add a few covienience functions
866
867         * funcrequest.[Ch]: remove BufferView * member
868
869         * BufferView_pimpl.C:
870         * cursor.C:
871         * factory.[Ch]:
872         * lyxfind.[Ch]:
873         * lyxfunc.C:
874         * lyxtext.h:
875         * text3.C:
876         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
877
878 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
881         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
882
883 2004-01-13  André Pönitz  <poenitz@gmx.net>
884
885         * textcursor.[Ch]:
886         * lyxtext.h: hide cursor and selection anchor behind accessor function
887
888         * BufferView.C:
889         * BufferView_pimpl.[Ch]:
890         * PosIterator.C:
891         * bufferview_funcs.C:
892         * cursor.h:
893         * lyxfind.C:
894         * lyxfunc.C:
895         * text.C:
896         * text2.C:
897         * text3.C:
898         * undo.C: adjust
899
900         * cursor.h:
901         * cursor_slice.[Ch]: some integer type changes for inset unification
902
903         * lyxcursor.[hC]: remove, it's CursorSlice now.
904
905         * Makefile.am:
906         * BufferView_pimpl.[Ch]:
907         * bufferview_funcs.C:
908         * cursor_slice.C:
909         * lyxtext.h:
910         * text.C:
911         * text2.C:
912         * text3.C:
913         * textcursor.[Ch]: adjust
914
915 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * text2.C (undoSpan): add and use
918         * text.C (breakParagraph): use undoSpan (fix bug 578)
919         * lyxtext.h: adjust
920
921 2004-01-08  Angus Leeming  <leeming@lyx.org>
922
923         * BufferView_pimpl.C (MenuInsertLyXFile):
924         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
925         * lyxfunc.C (menuNew, open, doImport):
926         FileFilterList change to the FileDialog open and save functions.
927
928 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
929
930         * ShareContainer.h: make isEqual and isUnique adaptable
931
932         * CutAndPaste.C: make resetOwnerAndChanges adaptable
933
934 2004-01-07  Angus Leeming  <leeming@lyx.org>
935
936         * LyXAction.C:
937         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
938
939         * BufferView_pimpl.C (dispatch): act on these LFUNs.
940
941         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
942         functions replacing find, replace and replaceAll.
943
944         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
945         LFUN_WORDFIND(FORWARD|BACKWARD).
946
947 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
948
949         * text.C (breakParagraph): remove an outdated #warning
950
951 2004-01-07  André Pönitz  <poenitz@gmx.net>
952
953         * lyxfind.C: somewhat clearer logic
954
955         * text.C: prevent crash in cursorX on unitialized row cache
956
957 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
958
959         * lyxcursor.[Ch] (operator>): add
960         * textcursor.C (selStart, selEnd): use std::min and std::max
961
962 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
963
964         * Chktex.C: include boost/format.hpp
965
966 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
967
968         * InsetList.C: replace functor MathcIt with adaptable functor
969         InsetTablePosLess
970         (insetIterator): modify accordingly
971
972         * BranchList.h: move the BranchNamesEqual functor here from...
973         * BranchList.C: ... to here
974
975         * BranchList.C: new BranchListEqual fuctor, use it. Remove
976         SameName and match.
977         (add): replace a finding loop with std::find_if.
978
979 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * output_docbook.C: moving LatexParam functionality into
982         .layout files
983
984 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
985
986         * buffer.C: increment format to 229.
987
988 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
989
990         * LaTeXFeatures.C:
991         * lyx_sty.[Ch]: remove minipageindent_def
992
993         * LyXAction.C:
994         * factory.C:
995         * lfuns.h:
996         * lyxfunc.C:
997         * text3.C: remove LFUN_INSET_MINIPAGE
998
999 2003-12-28  Angus Leeming  <leeming@lyx.org>
1000
1001         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1002
1003 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * text2.C (setParagraph): fix off-by-one crash
1006
1007 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * output_docbook.C: header stuff for AGU
1010
1011 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * text2.C (redoCursor): remove
1014         * text.C:
1015         * text3.C:
1016         * BufferView_pimpl.C: remove calls to redoCursor and
1017         setCursor(cursor.par(), cursor.pos()) all around
1018
1019 2003-12-15  Angus Leeming  <leeming@lyx.org>
1020
1021         * buffer.C: up the format to 228.
1022
1023 2003-12-15  André Pönitz  <poenitz@gmx.net>
1024
1025         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1026         slices
1027
1028         * Makefile.am:
1029
1030         * BufferView_pimpl.C:
1031         * cursor.[Ch]:
1032         * lyxcursor.[Ch]:
1033         * rowpainter.[Ch]:
1034         * lyxtext.h:
1035         * text.C:
1036         * text2.C:
1037         * text3.C: adjust
1038
1039 2003-12-15  Angus Leeming  <leeming@lyx.org>
1040
1041         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1042         than getFromGUIName to manipulate the color.
1043
1044 2003-12-14  Angus Leeming  <leeming@lyx.org>
1045
1046         * BranchList.[Ch]: minimize the API.
1047         (Branch::getBranch, getColor): now return a 'const &'.
1048         (Branch::setSelected) now returns a bool set to true if the
1049         selection status changes.
1050         (BranchList::clear, size, getColor, setColor, setSelected,
1051         allBranches, allSelected, separator): removed.
1052         (BranchList::find): new functions, returning the Branch with
1053         the given name.
1054         (BranchList::add, remove): return a bool indicating that
1055         the operation was successful.
1056
1057         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1058         new InsetBranch::isBranchSlected member function.
1059
1060         * LColor.[Ch]: mimimize the API.
1061         (fill): renamed as addColor and made private.
1062         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1063         versions of these functions taking a string arg have been removed.
1064
1065         * bufferparams.C (readToken):
1066         * lyxfunc.C (dispatch):
1067         * lyxrc.C (read): changes due to the altered BranchList and
1068         LColor APIs.
1069
1070         * factory.C (createInset, readInset): changes due to altered
1071         InsetBranch c-tor.
1072
1073 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1074
1075         * factory.C:
1076         * lyxfunc.C: remove insetminipage. "minipage-insert"
1077         now produces a frameless minipage box inset.
1078
1079 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * textcursor.[Ch] (selStart,selEnd): add new methods
1082         remove selection::start, end, use LyXCursor::operator<
1083         * lyxcursor.[Ch] (operator<): add
1084         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1085         * BufferView.[Ch] (unsetXSel): add
1086         * text2.C (clearSelection): use unsetXSel,adjust
1087         * text.C: adjust
1088         * text3.C: adjust
1089         * rowpainter.C: adjust
1090         * bufferview_funcs.C (put_selection_at): adjust
1091
1092 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * BufferView_pimpl.C: small coord. correction
1095
1096 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1097
1098         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1099         dragging over the splash screen.
1100
1101 2003-12-11  Angus Leeming  <leeming@lyx.org>
1102
1103         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1104         as it is now handled in LyXText::dispatch.
1105
1106         * text3.C (doInsertInset): remove a level of nesting.
1107
1108 2003-12-11  Angus Leeming  <leeming@lyx.org>
1109
1110         * factory.C (createInset): changes due to the changed interface to
1111         InsetCommandMailer::string2params.
1112
1113 2003-12-10  Angus Leeming  <leeming@lyx.org>
1114
1115         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1116         'dialog-show-new-inset <inset name>'
1117
1118 2003-12-10  Angus Leeming  <leeming@lyx.org>
1119
1120         * buffer.C: up the format to 227.
1121
1122         * factory.C: the box inset is now identified simply by 'Box'.
1123
1124 2003-12-10  Angus Leeming  <leeming@lyx.org>
1125
1126         * buffer.C: up the format to 226.
1127
1128         * factory.C: the note inset is now identified simply by 'Note'.
1129
1130 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1131
1132         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1133         when a pit is enough. Standarize a couple of loops.
1134
1135 2003-12-05  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1138         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1139         data to the re-worked "log" dialog.
1140
1141 2003-12-03  André Pönitz  <poenitz@gmx.net>
1142
1143         * PosIterator.C:
1144         * iterators.C:
1145         * lyxtext.h:
1146         * output_latex.C:
1147         * paragraph_funcs.C:
1148         * text.C:
1149         * text2.C: use Inset::getText instead of Inset::getParagraph
1150
1151 2003-12-03  André Pönitz  <poenitz@gmx.net>
1152
1153         * buffer.[Ch]:
1154         * lyxtext.h:
1155         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1156         InsetText::read() as LyXText::read()
1157
1158 2003-12-02  Angus Leeming  <leeming@lyx.org>
1159
1160         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1161         type. Add a comment in the implementation that the function uses
1162         the stream's bad() function rather than fail() as the std::streams
1163         would do.
1164
1165 2003-12-02  André Pönitz  <poenitz@gmx.net>
1166
1167         * lyxlex.[Ch]: make interface more similar to std::stream
1168
1169         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1170
1171 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1174
1175 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1176
1177         * vspace.[Ch]: remove VSpace::NONE
1178
1179 2003-12-01  André Pönitz  <poenitz@gmx.net>
1180
1181         * buffer.[Ch]:
1182         * lyxtext.h: move ParagraphList member to LyXText
1183         rename LyXText::ownerParagraphs to LyXText::paragraph
1184
1185         * CutAndPaste.C:
1186         * bufferview_funcs.C:
1187         * iterators.[Ch]:
1188         * lyx_cb.C:
1189         * paragraph.C:
1190         * rowpainter.C:
1191         * tabular.C:
1192         * text.C:
1193         * text2.C:
1194         * text3.C: adjust
1195
1196         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1197
1198         * undo.C: fix cursor positioning
1199
1200 2003-12-01  John Levon  <levon@movementarian.org>
1201
1202         * BufferView_pimpl.C: fix a crash on exit with
1203         a buffer open
1204
1205 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1206
1207         * BranchList.C: fix setSelected() method.
1208
1209 2003-11-28  André Pönitz  <poenitz@gmx.net>
1210
1211         * ParagraphParameters.[Ch]:
1212         * ParameterStruct.h: remove space above/below from Paragraph to
1213          InsetVSpace
1214
1215         * BufferView_pimpl.C:
1216         * factory.C:
1217         * lyxfunc.C:
1218         * lyxtext.h:
1219         * output_latex.C:
1220         * paragraph.C:
1221         * paragraph_funcs.C:
1222         * rowpainter.[Ch]:
1223         * text.C:
1224         * text2.C:
1225         * text3.C: adjust
1226
1227 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * factory.C: Syntax change for CharStyles
1230
1231 2003-11-28  André Pönitz  <poenitz@gmx.net>
1232
1233         * BufferView.[Ch]:
1234         * BufferView.[Ch]:
1235         * buffer.[Ch]:
1236         * buffer.[Ch]: move LyXText member
1237
1238 2003-11-28  André Pönitz  <poenitz@gmx.net>
1239
1240         * BufferView.[Ch]: make LyXText * text a private member
1241
1242         * BufferView_pimpl.C:
1243         * cursor.C:
1244         * iterators.C:
1245         * lyx_cb.C:
1246         * lyxfind.C:
1247         * lyxtext.h:
1248         * rowpainter.[Ch]:
1249         * text.C:
1250         * text2.C:
1251         * undo.C: adjust
1252
1253         * output_plaintext.C: cleanup
1254
1255 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * buffer.C:
1258         * lyxtextclass.[Ch]: parametrize SGML document header
1259
1260 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1261
1262         * converter.[Ch]:
1263         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1264         getFlavor().
1265
1266 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * text2.C (setFont): rework using PosIterator (no more recursive)
1269         (setCharFont): no more needed
1270         (setLayout): no more selection cursors fiddling (done by redoCursor)
1271         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1272         destroy remaining ones)
1273
1274 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1277         * lyxtext.h: ditto
1278         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1279         selection cursors
1280         * lyxfunc.C: adjust
1281         * text3.C: adjust + re-allow multi par depth changes
1282         * textcursor.C: simplify a bit
1283
1284 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1285
1286         * src/buffer.C:
1287         * src/lyxlayout.C:
1288         * src/lyxlayout.h:
1289         * src/lyxtext.h:
1290         * src/output_docbook.C:
1291         * src/output_latex.C:
1292         * src/paragraph.C:
1293         * src/paragraph.h:
1294         * src/sgml.C:
1295         * src/sgml.h:
1296         * src/text2.C: Introducing a number of tags parametrizing various
1297         XML formats that we may want to support
1298
1299 2003-11-25  André Pönitz  <poenitz@gmx.net>
1300
1301         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1302
1303         * lyxtext.h (leftMargin/rightMargin): simplify interface
1304
1305         * rowpainter.C:
1306         * text.C:
1307         * text2.C:
1308         * text3.C: adjust
1309
1310 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1311
1312         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1313         master file to any child files. Fixes bug 546.
1314
1315 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1318
1319 2003-11-24  André Pönitz  <poenitz@gmx.net>
1320
1321         * rowpainter.C: simplification
1322
1323         * text2.C (updateCounters): remove call to redoParagraph on
1324         changed labels as this is far too expensive.
1325
1326 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * converter.C (convert): fix a crash: this function gets
1329         called with buffer == 0 from importer code.
1330
1331 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1332
1333         * text3.C (cursorPrevious): make sure that we do not compare
1334         iterators form different containers.
1335         (cursorNext): ditto
1336
1337         * rowpainter.C (paintSelection): make sure that we do not compare
1338         iterators from different containers.
1339
1340         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1341         iterators from different ParagraphList containers.
1342         [NEXT] ditto
1343
1344         * text2.C (LyXText): change order of initialization slightly
1345         (operator=): new function. copy all variables except cache_par_
1346         (moveUp): make sure that we do not compare iterators from
1347         different ParagraphList constainers.
1348         (moveDown): ditto
1349
1350         * text.C (firstPar): new function
1351         (lastPar): new function
1352         (endPar): new function
1353
1354         * lyxtext.h: move things around and group public functions, public
1355         variables, private functions, private variables
1356
1357 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1358
1359         * factory.C: change call to InsetERT constructor to avoid
1360         additional invocation of method status
1361         * text2.C (toggleInset): remove redundant update() call
1362         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1363         instead of a Bufferview pointer
1364
1365 2003-11-21  André Pönitz  <poenitz@gmx.net>
1366
1367         * rowpainter.C: simplification
1368
1369 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * text3.C (dispatch): make possible to extend a word/row selection
1372         with the mouse
1373
1374 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1375
1376         * lyxtext.h: x0_,y0_ -> xo_,yo_
1377         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1378         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1379         * rowpainter.C (paintRows): paint full paragraphs
1380
1381 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1384         screen coordinates)
1385
1386 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1387
1388         * lyxtext.h: add x0_, y0_
1389         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1390         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1391
1392 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * text2.C (setCursorIntern): move the x_target update here *
1395         * text3.C: change some bv() to true/false in calls to
1396         cursorUp/Down/Right/Left
1397         * cursor.C: use helper function.
1398
1399 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1402         * paragraph_funcs.[Ch]: correct comment
1403         * rowpainter.C: do not paint selections away from bv->cursor()
1404         Fix a long standing selection painting bug.
1405         * text3.C: generalize mouse-selection code to LyXTexts other that
1406         top one
1407         * textcursor.C: do not use y coords if we can use par offsets
1408
1409 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1410
1411         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1412         cursor position after e.g. inset insert)
1413
1414 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1415
1416         * lyxfind.C (replace): adjust to locking removal + some
1417         code simplification
1418
1419 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1420
1421         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1422         of the path
1423
1424 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1425
1426         * lyxlayout.[Ch]:
1427         * output_docbook.C: XML sanitation: new layout
1428         parameters InnerTag and CommandDepth
1429
1430 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1431
1432         * BufferView_pimpl.C:
1433         * factory.C:
1434         * text3.C: Fix the insertion and modification of button-style
1435         insets
1436
1437 2003-11-13  André Pönitz  <poenitz@gmx.net>
1438
1439         * InsetList.[Ch]: remove deleteLyXText
1440
1441         * paragraph.[Ch]: cache beginOfBody position
1442
1443         * Bidi.C:
1444         * text.C:
1445         * text2.C:
1446         * text3.C: remove superfluous update() calls
1447
1448         * vspace.C: cleanup
1449
1450 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1453         * BufferView.C (fitLockedInsetCursor): remove
1454         * cursor.[Ch] (getDim): add
1455         * text.C (getRowNearY): add faster version
1456         * text3.C: remove some update calls
1457
1458 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1459
1460         * LaTeXFeatures.C:
1461         * LyXAction.C:
1462         * MenuBackend.C:
1463         * MenuBackend.h:
1464         * dispatchresult.h:
1465         * factory.C:
1466         * lfuns.h:
1467         * lyxfunc.C:
1468         * lyxtextclass.C:
1469         * lyxtextclass.h:
1470         * text3.C: The Character Style /XML short element patch.
1471
1472 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1473
1474         * text3.C:
1475         * factory.C: Small step to solving 'unable to insert some insets'
1476         problem
1477
1478 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1479
1480         * cursor.[Ch] (updatePos): new function for updating the y
1481         position of the tip inset
1482         * bufferview_funcs.C (put_selection_at):
1483         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1484
1485 2003-11-11  André Pönitz  <poenitz@gmx.net>
1486
1487         * text.C: remove big comment on invalid Paragraph pointers as it is
1488         not valid anymore
1489
1490 2003-11-11  André Pönitz  <poenitz@gmx.net>
1491
1492         * text_funcs.[Ch]: merge with ...
1493
1494         * text.C: ... this
1495
1496         * lyxtext.h:
1497         * text2.C:
1498         * text3.C: adjust
1499
1500         * Makefile.am: remove text_funcs.[Ch]
1501
1502 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1503
1504         * cursor.C (getPos): return absolute cached y coord
1505
1506         * BufferView_pimpl.C (fitCursor): new simplistic code
1507         (workAreaDispatch): add a fitCursor call
1508
1509 2003-11-10  André Pönitz  <poenitz@gmx.net>
1510
1511         * BufferView.[Ch]:
1512         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1513
1514 2003-11-10  André Pönitz  <poenitz@gmx.net>
1515
1516         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1517         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1518         indicate that the cursor needs to leave an inset
1519
1520         * lyxtext.h: remove inset locking
1521
1522         * cursor.[Ch]: re-implement functionality provided by inset locking
1523
1524         * BufferView.[Ch]:
1525         * BufferView_pimpl.[Ch]:
1526         * LyXAction.C:
1527         * bufferview_funcs.[Ch]:
1528         * factory.C:
1529         * funcrequest.[Ch]:
1530         * iterators.C:
1531         * lyx_cb.C:
1532         * lyxfind.C:
1533         * lyxfunc.C:
1534         * text.C:
1535         * text2.C:
1536         * text3.C:
1537         * undo.C: adjust
1538
1539 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1540
1541         * PosIterator.[Ch]: replace the stack with a vector, add inset
1542         accesor
1543         * iterators.[C]: adjust
1544
1545 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1546
1547         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1548         replaced
1549         * paragraph_funcs.C (readParToken): put the correct id in the
1550         error item, not the id of the top paragraph
1551
1552 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1553
1554         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1555         * bufferview_funcs.C (put_selection_at): use the above
1556
1557 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1558
1559         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1560
1561 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * output_linuxdoc.h:
1564         * output_plaintext.h:
1565         * output.h:
1566         * output_docbook.h: add #include statements
1567
1568 2003-11-05  José Matos  <jamatos@lyx.org>
1569
1570         * output_docbook.[Ch]:
1571         * output_latex.[Ch]:
1572         * output_linuxdoc.[Ch]:
1573         * output_plaintext.[Ch]: New files for output formats.
1574         * output.[Ch]: New file for helper functions.
1575
1576         * buffer.[Ch]:
1577         * paragraph_funcs.[Ch]: output functions moved to new files.
1578
1579         * outputparams.h: rename of latexrunparams.h
1580
1581         * LaTeX.[Ch]:
1582         * buffer.[Ch]:
1583         * bufferlist.[Ch]:
1584         * converter.[Ch]:
1585         * exporter.C:
1586         * paragraph.[Ch]:
1587         * paragraph_funcs.[Ch]:
1588         * paragraph_pimpl.[Ch]:
1589         * tabular.[Ch]: rename ascii to plaintext
1590         and LatexRunParams to OutputParams.
1591
1592 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1593
1594         * iterators.[Ch] (text): require bv argument
1595         * undo.C (recordUndo):
1596         * lyxfunc.C (dispatch):
1597         * bufferview_funcs.C (put_selection_at): adjust
1598
1599 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1600
1601         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1602
1603 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1604
1605         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1606         nestings
1607
1608 2003-11-04  André Pönitz  <poenitz@gmx.net>
1609
1610         * cursor.[Ch]: restructure
1611
1612         * BufferView.[Ch]:
1613         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1614
1615         * iterators.[Ch] (asCursor): remove
1616
1617         * lfuns.h: remove LFUN_INSET_EDIT
1618
1619         * lyxfunc.C:
1620         * tabular.C:
1621         * text.C:
1622         * text2.C:
1623         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1624
1625 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1626
1627         * lyxfind.[Ch]: complete overhaul
1628         * BufferView_pimpl.C:
1629         * lyxfunc.C: adjust
1630         * paragraph.[Ch] (insert): add
1631
1632 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * BufferView.[Ch]:
1635         * lyxtext.h:
1636         * text.C: remove dead spellcheck code
1637
1638 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1639
1640         * dispatchresult.h: add a val setter
1641
1642         * cursor.C (dispatch): use a tempvar for data_[i]
1643
1644 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * PosIterator.[Ch]: compile fix
1647
1648 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1649
1650         * text.C (cursorPar): deactivate the cursor cache
1651
1652 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1653
1654         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1655
1656 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * text3.C (dispatch): adjust for new DisptchResult semantics.
1659
1660         * lyxfunc.C (dispatch): handle update when return from
1661         Cursor::dispatch, adjust for new DispatchResult semantics.
1662
1663         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1664         DispatchResult(true) mean to not update. Add class functions for
1665         setting dispatched and update, as well as reading.
1666
1667         * cursor.C (dispatch): don't handle update here
1668
1669 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1672         * trans_mgr.C: adjust
1673
1674         * paragraph_funcs.C (readParToken): exception safety
1675
1676         * lyxvc.h: store the vcs pointer in a scoped_ptr
1677         * lyxvc.C: adjust
1678
1679         * lyxsocket.C (serverCallback): exception safety
1680
1681         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1682
1683         * ispell.C (clone): make it return a auto_ptr
1684
1685         * factory.C (createInset): exception safety
1686         (readInset): exception safety
1687
1688         * bufferlist.C (newBuffer): exception safety
1689
1690         * Thesaurus.C (Thesaurus): use initialization for aik_
1691
1692         * MenuBackend.C (expandToc): exception safety.
1693
1694 2003-11-03  André Pönitz  <poenitz@gmx.net>
1695
1696         * buffer.C:
1697         * buffer.h:
1698         * bufferview_funcs.C: remove getInsetFromId()
1699
1700         * lyxcursor.[Ch]:
1701         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1702
1703         * lyxfunc.C:
1704         * text2.C:
1705         * text3.C: adjust
1706
1707 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1708
1709         * PosIterator.C (distance, advance): new
1710         * bufferview_funcs.[Ch] (put_selection_at): new
1711         * iterators.[Ch] (lockPath): new
1712
1713 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1714
1715         * iterators.[Ch] (asPosIterator): added
1716         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1717         * PosIterator.[Ch]: added
1718
1719 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * text3.C:
1722         * lyxfunc.C:
1723         * cursor.C (dispatch):
1724         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1725
1726         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1727         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1728         contructor, add a class function dispatched. Remove operator>=
1729
1730 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * debug.C: only use the default constructor for debugstream
1733         (lyxerr) here.
1734
1735         * main.C (main): include debug.h and setup the lyxerr streambuf
1736         here.
1737
1738 2003-10-31  José Matos  <jamatos@lyx.org>
1739
1740         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1741
1742         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1743         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1744         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1745         * paragraph_pimpl.C (simpleTeXSpecialC):
1746         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1747         add LatexRunParams argument.
1748
1749         * exporter.C (Export): change call accordingly.
1750
1751         * latexrunparams.h: add new member to take care of the other backends.
1752 2003-10-30  José Matos  <jamatos@lyx.org>
1753
1754         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1755         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1756         factorise code for paragraph output.
1757         * buffer.[Ch]:
1758         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1759         move functions.
1760
1761 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1762
1763         * text3.C (dispatch):
1764         * lyxfunc.C (dispatch):
1765         * cursor.C (dispatch):
1766         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1767
1768         * dispatchresult.h: make the dispatch_result_t ctor explicit
1769
1770 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1771
1772         * sgml.[Ch]:
1773         * buffer.C: small refactoring of docbook stuff
1774
1775 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1778         meaning.
1779
1780 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1781
1782         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1783         operator dispatch_result_t, and operators for == != and >=
1784
1785         * cursor.C (dispatch): adjust for operator dispatch_result_t
1786         removal. comment out call to update
1787
1788         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1789
1790 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1791
1792         * text3.C:
1793         * text2.C:
1794         * text.C:
1795         * lyxtext.h:
1796         * lyxfunc.C:
1797         * cursor.C:
1798         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1799         (dispatch):
1800
1801         * dispatchresult.h: new file, DispatchResult broken out of
1802         insets/insetbase.h
1803
1804         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1805
1806 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1807
1808         * text.C (rowBreakPoint): put a hack inside #if 0
1809
1810 2003-10-28  André Pönitz  <poenitz@gmx.net>
1811
1812         * lyxtext.h:
1813         * metricsinfo.C:
1814         * paragraph_funcs.C:
1815         * rowpainter.C:
1816         * text.C:
1817         * text2.C: general cleanup (lots of small stuff)
1818
1819 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1820
1821         * text2.C (cursorEnd): simple fix to the "end key goes to one
1822         before the end on last row" bug
1823
1824 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1825
1826         * text.C (backspace): fix the "zombie characters"
1827
1828 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1831
1832 2003-10-27  André Pönitz  <poenitz@gmx.net>
1833
1834         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1835
1836         * factory.C: handle new InsetPagebreak, InsetLine
1837
1838         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1839         and move handling into new InsetPagebreak, InsetLine
1840
1841         * BufferView_pimpl.C:
1842         * LyXAction.C:
1843         * ParagraphParameters.C:
1844         * ParameterStruct.h:
1845         * lyxfunc.C:
1846         * lyxtext.h:
1847         * paragraph.C:
1848         * paragraph.h:
1849         * paragraph_funcs.C:
1850         * paragraph_pimpl.C:
1851         * rowpainter.C:
1852         * text.C:
1853         * text2.C:
1854         * text3.C: adjust
1855
1856 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1857
1858         * text.C:
1859         * lyxrow_funcs.[Ch]:
1860         * Bidi.C:
1861         * paragraph.C:
1862         * lyxtext.h:
1863         * rowpainter.C:
1864         * text2.C:
1865         * text3.C: remove lastPos uses in favour of Row::endpos
1866
1867 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * undo.C (performUndoOrRedo): fix two crashes by setting a
1870         cursor by hand and reordering some calls. Use bv->lockInset instead
1871         of inset->edit because the latter loses cursor information
1872
1873 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1874
1875         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1876         by Martin
1877         (rowBreakPoint): fix width. change point to point + 1.
1878         Add a missing check.
1879
1880 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1881
1882         * MenuBackend.C:
1883         * lyxfunc.C: fix (at least partly) the problems
1884         with the Nav menu and headers inside branch insets
1885         reported by Kayvan
1886
1887 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1888
1889         * paragraph.C (getChar): add strong asserts
1890
1891         * lyxrow_funcs.C (lastPos): remove hideous hack
1892
1893         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1894         (fill): adjust to that (avoid an infinite loop)
1895
1896 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1897
1898         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1899
1900 2003-10-23  André Pönitz  <poenitz@gmx.net>
1901
1902         * RowList_fwd.h: change list<> to vector<> to gain speed
1903         after suggestion from Alfredo
1904
1905 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1906
1907         * lyxtext.h: move the bidi stuff from here...
1908         * text.C: and here
1909         * text2.C: and here
1910         * Bidi.[Ch]: ... to here
1911
1912 2003-10-23  André Pönitz  <poenitz@gmx.net>
1913
1914         * lyxtext.h:
1915         * text.C (isLastRow, isFirstRow): new functions
1916
1917         * paragraph.h: new width cache member
1918
1919         * rowpainter.C: replace RowList::iterator with Row & where possible
1920
1921         * lyxfunc.C: replace several view()->text with a single call
1922
1923         * toc.C: fix 'unused' warning
1924
1925 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1928         when woring with stream::pos_type
1929         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1930
1931 2003-10-22  André Pönitz  <poenitz@gmx.net>
1932
1933         * lyxtext.h:
1934         * text.C: use Row & instead of RowList::iterator
1935
1936         * lyxrow.h: rename end() to endpos()
1937
1938         * rowpainter.C:
1939         * text.C:
1940         * text2.C: adjust
1941
1942 2003-10-22  Angus Leeming  <leeming@lyx.org>
1943
1944         * buffer.[Ch] (fully_loaded): new member function, returning true
1945         only when the file has been loaded fully.
1946         Used to prevent the premature generation of previews and by the
1947         citation inset to prevent computation of the natbib-style label.
1948
1949         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1950         templates are all set up.
1951
1952         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1953
1954 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1955
1956         * text.C: fixed an "oops" in the "is a bit silly"
1957         bug fix
1958
1959 2003-10-21  André Pönitz  <poenitz@gmx.net>
1960
1961         * FuncStatus.[Ch]: small stuff, whitespace
1962
1963         * lyxfont.[Ch]: operator<<() for debug reasons
1964
1965         * lyxfunc.C:
1966         * lyxrow_funcs.C:
1967         * lyxtext.h: whitespace, spelling
1968
1969         * paragraph.C: naming of variables
1970
1971         * text.C:
1972         * text2.C: small stuff
1973
1974
1975 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1976
1977         * text.C: (1) finish off the inset display() work;
1978         (2) fix the "is a bit silly" bug (accessing char
1979         past end of par).
1980
1981 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * text.C: re-introduce display() for insets, fixing the
1984         various bugs (stretch of line above, math inset
1985         positioning, ...)
1986
1987 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * text.C (rightMargin): remove spurious semicolon
1990
1991         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1992         1415)
1993
1994 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1995
1996         * text3.C: fix one crash due to wrong cursor def
1997
1998 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * vc-backend.C (scanMaster): make the regex static
2001
2002         * LaTeX.C (scanAuxFile): make the regexs static
2003
2004         * text3.C (doInsertInset, dispatch, dispatch):
2005         * text2.C (cursorUp, cursorDown):
2006         * text.C (selectNextWordToSpellcheck):
2007         * BufferView_pimpl.C (dispatch):
2008         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2009
2010 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * lyxsocket.C: include <cerrno>
2013
2014 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * lyxfunc.C (dispatch): remove textcache stuff
2017
2018         * bufferlist.C (release): remove textcache stuff
2019         (closeAll): ditto
2020
2021         * TextCache.C: delete file
2022         * TextCache.h: delete file
2023
2024         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2025
2026         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2027         delete of the bv_->text.
2028         (resizeCurrentBuffer): remove texcache stuff
2029         (workAreaResize): ditto
2030
2031 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2032
2033         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2034         action.
2035
2036 2003-10-16  André Pönitz  <poenitz@gmx.net>
2037
2038         * lyxrow.[Ch]:
2039         * paragraph.h:
2040         * rowpainter.C:
2041         * text.C:
2042         * text2.C:
2043         * text3.C: speed up by storing y positions per paragraph plus per-row
2044         offset instead of having a 'full' y position in the row.
2045
2046 2003-10-15  André Pönitz  <poenitz@gmx.net>
2047
2048         * iterators.[Ch]:
2049         * iterators.[Ch]:
2050         * undo.[Ch]: make undo aware of inner insets
2051
2052 2003-10-14  Angus Leeming  <leeming@lyx.org>
2053
2054         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2055         static member functions LyX::ref() and LyX::cref.
2056         (lastfiles): new accessor functions for the new lastfiles_ member var.
2057         (addLyXView, views_): add a new LyXView to the list of views_.
2058         (updateInset): loop over all LyXViews to call their own updateInset
2059         member function, returning a pointer to the Buffer owning the inset.
2060
2061         * BufferView_pimpl.C (loadLyXFile):
2062         * MenuBackend.C (expandLastfiles):
2063         * bufferlist.C (MenuWrite, QuitLyX):
2064         lastfiles is no longer a global variable.
2065         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2066
2067         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2068         static function. Access through LyX::cref().emergencyCleanup().
2069
2070 2003-10-14  André Pönitz  <poenitz@gmx.net>
2071
2072         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2073
2074         * undo.[Ch]: restoring part of 'undo in insets'
2075
2076         * Makefile.am:
2077         * undo_funcs.[Ch]: merge with undo.[Ch]
2078
2079         * tabular.C: small cleansing stuff
2080
2081 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2082
2083         * paragraph_funcs.C (readParToken): report unknown insets as error
2084         boxes. Use the outer paragraph as location (also for unknown
2085         tokens).
2086
2087         * factory.C (readInset): do not abort on reading an unknown inset.
2088         Eat it and return 0.
2089
2090 2003-10-13  Angus Leeming  <leeming@lyx.org>
2091
2092         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2093
2094         * lyxrc.C: displayTranslator is now a function,
2095         declared in GraphicsTypes.h.
2096
2097 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2098
2099         * format.C: new placeholder $$a to pass the socket address.
2100
2101         * bufferlist.[Ch]: new function getBufferFromTmp.
2102
2103         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2104           files in the temporary dir.
2105
2106 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2107
2108         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2109
2110         * Makefile.am: add lyxsocket.[Ch].
2111
2112         * lyx_main.C (error_handler): handle SIGPIPE.
2113
2114 2003-10-13  André Pönitz  <poenitz@gmx.net>
2115
2116         * BufferView_pimpl.C:
2117         * lyxtext.h:
2118         * text.C:
2119         * text2.C:
2120         * text3.C:
2121         * undo_funcs.[Ch]: use paroffset_type instead of
2122           ParagraphList::iterators to prevent multiple conversion
2123           (and get a more robust interface)
2124
2125 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2128         * lyxtext.h: ditto
2129         * text3.C (dispatch): ditto
2130
2131 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2134         move the onlyfile, use onlyfile instead of foundfile in a couple
2135         of places.
2136
2137         * DepTable.C (update): flush the error stream a bit more
2138
2139 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * lyxserver.C (callback): adjust
2142
2143         * lyxfunc.C (getStatus): add a missing brace in commented code
2144         (ensureBufferClean): reindent
2145         (dispatch): delete version taking a string
2146
2147 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2148
2149         * LaTeX.C (deplog): move found file handlig from here...
2150         (handleFoundFile): .. to new function here.
2151         (deplog): make sure to discover several files mentioned on the
2152         same log line.
2153
2154 2003-10-10  André Pönitz  <poenitz@gmx.net>
2155
2156         * lyxfunc.C:
2157         * lyxtext.h:
2158         * tabular.C:
2159         * text.C:
2160         * text2.C:
2161         * text3.C: fix some of the tabular crashes
2162
2163 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2164
2165         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2166
2167         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2168
2169 2003-10-09  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2172
2173         * BufferView.C:
2174         * BufferView_pimpl.C:
2175         * bufferview_funcs.C:
2176         * lyx_cb.C:
2177         * lyxcursor.C:
2178         * lyxfind.C:
2179         * lyxfunc.C:
2180         * lyxtext.h:
2181         * text.C:
2182         * text2.C:
2183         * text3.C:
2184         * text_funcs.[Ch]:
2185         * textcursor.[Ch]:
2186         * undo_funcs.C: adjust
2187
2188 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * text2.C (incrementItemDepth): new function, use a backtracking
2191         algorithm to discover the correct item depth.
2192         (resetEnumCounterIfNeeded): new function, use a backtracking
2193         algorithm to discover if counter reset is needed.
2194         (setCounter): use them. Simplify a bit. Add different labels for
2195         different item depths for itemize.
2196
2197         * paragraph.C (Paragraph): remove initialization of enumdepth
2198         (operator=): ditto
2199
2200         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2201         enumerate and itemize. Change the type of itemdepth to signed char.
2202
2203 2003-10-08  André Pönitz  <poenitz@gmx.net>
2204
2205         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2206           thing assignable.
2207         * text.C:
2208         * text2.C: adjust
2209
2210         * tabular.[Ch]: fix crash after 'row-insert'
2211
2212 2003-10-08  Angus Leeming  <leeming@lyx.org>
2213
2214         Fix doxygen warnings.
2215
2216         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2217         Remove CutAndPaste:: prefix from header file declaration.
2218
2219         * LColor.h (fill): remove LColor:: prefix from declaration.
2220
2221         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2222         use lyx::depth_type rather than Paragraph::depth_type so that
2223         header file and .C file match.
2224
2225         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2226
2227         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2228         * aspell.C: \file aspell_local.C -> \file aspell.C
2229         * gettext.C: \file gettext.C -> \file src/gettext.C
2230         * gettext.h: \file gettext.h -> \file src/gettext.h
2231         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2232         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2233         * text.C: \file text.C -> \file src/text.C
2234
2235         * toc.C: move comment so that doxygen is not confused.
2236
2237 2003-10-07  Angus Leeming  <leeming@lyx.org>
2238
2239         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2240
2241 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2242
2243         * aspell.C:
2244         * aspell_local.h: add forgotten std::string's.
2245
2246 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2247
2248         * LaTeXFeatures.C:
2249         * LyXAction.C:
2250         * factory.C:
2251         * lfuns.h:
2252         * lyxfunc.C:
2253         * text3.C: The Box patch. Fancybox support, minipage, parbox
2254
2255 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2256
2257         * CutAndPaste.h:
2258         * DepTable.h:
2259         * FloatList.h:
2260         * LaTeXFeatures.h:
2261         * ParagraphParameters.h:
2262         * TextCache.h:
2263         * Thesaurus.h:
2264         * bufferlist.h:
2265         * exporter.h:
2266         * importer.h:
2267         * lastfiles.h:
2268         * lyxfind.h:
2269         * lyxfont.h:
2270         * lyxlex.h:
2271         * lyxtextclasslist.h:
2272         * messages.h:
2273         * paragraph.h:
2274         * paragraph_pimpl.C:
2275         * textcursor.h: add <string> and other small fixes to make Lars'
2276         std::string patch compile with STLport.
2277
2278 2003-10-06  Angus Leeming  <leeming@lyx.org>
2279
2280         * LColor.h: Add missing #include <string>.
2281
2282 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * All most all file in all subdirs: Make <string> be the prefered
2285         way of getting to std::string, add using declarations.
2286
2287 2003-10-06  André Pönitz  <poenitz@gmx.net>
2288
2289         * metricsinfo.C: initialize LyXFont before changing attribute.
2290         (fixes the 'math in \emph is upright' bug)
2291
2292 2003-10-06  André Pönitz  <poenitz@gmx.net>
2293
2294         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2295
2296 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2297
2298         * graph.C:
2299         * paragraph_pimpl.C: Small fixes to build using STLport
2300
2301 2003-10-02  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxfunc.C:
2304         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2305
2306 2003-10-01  André Pönitz  <poenitz@gmx.net>
2307
2308         * factory.C: assert early
2309
2310 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * lyx_main.C: remove the global debug object
2313
2314         * debug.h: adjust for new debugstream
2315
2316         * debug.C: adjust for new debugstream and keep the global debug
2317         object here.
2318
2319 2003-09-22  Angus Leeming  <leeming@lyx.org>
2320
2321         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2322         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2323         an incomplete class LyXFont.
2324
2325 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2326
2327         * factory.C: bug fix in branches
2328
2329 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * lyxfunc.C (processKeySym): adjust
2332         (dispatch): adjust
2333         (dispatch): change arg name from ev to func, adjust
2334         (sendDispatchMessage): ditto
2335
2336         * lyx_main.C (defaultKeyBindings): adjust keybindings
2337         (deadKeyBindings): ditto
2338
2339         * kbsequence.C (addkey): return a FuncRequest
2340
2341         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2342
2343         * kbmap.C (bind): take a FuncRequest as arg, adjust
2344         (read): adjust
2345         (lookup): adjust
2346         (defkey): change to take a FuncRequest as arg, adjust
2347         (findbinding): take a FuncRequest as arg, adjust.
2348
2349         * funcrequest.h (operator=): added
2350
2351         * funcrequest.C (FuncRequest): default kb_action changed from
2352         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2353
2354         * buffer.C (dispatch): simplify
2355         (dispatch): adjust to take a FuncRequest as arg, adjust
2356
2357         * boost.C (assertion_failed): change assertion message slightly
2358
2359         * ToolbarBackend.C (read): simplify
2360
2361         * MenuBackend.C (binding): adjust call to findbinding, add a
2362         message if no binding is found.
2363         (read): simplify
2364         (expandToc): correct by adding a empty FuncRequest
2365
2366         * LyXAction.C: include <boost/assert.hpp>
2367         (isPseudoAction): delete function
2368         (LookupFunc): change name to...
2369         (lookupFunc): this. change return type to FuncRequest.
2370         (getActionName): take kb_action as arg, simplify
2371         (funcHasFlag): add an assert, simplify.
2372
2373 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * toc.C (action): return a FuncRequest, simplify
2376
2377         * lyxfunc.C (processKeySym): adjust
2378         (getStatus): delete version that takes an int.
2379         (getStatus): adjust
2380         (dispatch): delete version that takes action as int
2381         (dispatch): adjust
2382         (sendDispatchMessage): simplify and adjust
2383
2384         * funcrequest.C (getArg): take unsigned int as arg
2385
2386         * ToolbarBackend.C (read): adjust
2387         (add): delete version that takes func as a string.
2388         (getIton): take a FuncRequest as arg
2389
2390         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2391         action.
2392
2393         * MenuBackend.C (MenuItem): add a new construct that only takes a
2394         Kind, simplify the constructor use for submenus.
2395         (add): adjust
2396         (expandLastfiles): adjust
2397         (expandDocuments): adjust
2398         (expandFormats): adjust
2399         (expandFloatListInsert): adjust
2400         (expandFloatInsert): adjust
2401         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2402
2403         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2404         Remove class variables lyx_pseudo_map and lyx_arg_map
2405
2406         * LyXAction.C (searchActionArg): delete function
2407         (getPseudoAction): delete function
2408         (retrieveActionArg): delete function
2409         (LookupFunc): make it return kb_action, simplify.
2410         (getActionName): simplify
2411
2412         * factory.C (createInset): fix new bug
2413
2414 2003-09-19  Angus Leeming  <leeming@lyx.org>
2415
2416         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2417         masterFilename_ parameter in the include inset.
2418
2419         * factory.C (createInset): changes due to the changes to InsetInclude.
2420
2421 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2422
2423         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2424
2425 2003-09-18  Angus Leeming  <leeming@lyx.org>
2426
2427         * buffer.C:
2428         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2429         Inset::fillWithBibKeys.
2430         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2431
2432 2003-09-18  Angus Leeming  <leeming@lyx.org>
2433
2434         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2435         variables.
2436         (ctor): pass and store a 'Buffer const &'
2437         (buffer): new member function.
2438
2439         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2440         '*this' to the LaTeXFeatures ctor.
2441
2442 2003-09-18  Angus Leeming  <leeming@lyx.org>
2443
2444         * LColor.h:
2445         * lyxfont.C:
2446         * lyxfont.h:
2447         * lyxtext.h:
2448         * text.C: rename EnumLColor as LColor_color.
2449
2450 2003-09-18  Angus Leeming  <leeming@lyx.org>
2451
2452         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2453         remove #include "insets/insetbase.h" from cursor.h.
2454
2455 2003-09-18  Angus Leeming  <leeming@lyx.org>
2456
2457         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2458         InsetOld_code to remove #include "inset.h".
2459
2460         * iterators.C: add #include "insets/inset.h"
2461
2462 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2463
2464         * BufferView.C: remove more locking stuff that apparently doesn't
2465         do anything sensible.
2466
2467 2003-09-16  André Pönitz  <poenitz@gmx.net>
2468
2469         * paragraph.[Ch]:
2470         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2471           performance boost.
2472
2473 2003-09-16  Angus Leeming  <leeming@lyx.org>
2474
2475         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2476
2477         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2478         arg/return type.
2479
2480         * paragraph.h: remove #include "lyxfont.h". Forward declare
2481         LyXFont_size.
2482
2483 2003-09-16  Angus Leeming  <leeming@lyx.org>
2484
2485         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2486         of support/textutils.h.
2487         (isWord): move the contents of support/textutils.h's IsWordChar here.
2488
2489         * buffer.C:
2490         * lyxfind.C:
2491         * rowpainter.C:
2492         * text.C:
2493         * text2.C: add #include "paragraph.h".
2494
2495         * rowpainter.C:
2496         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2497
2498 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * main.C:
2501         * lyx_main.C:
2502         * lyx_cb.C:
2503         * buffer.C:
2504         * LaTeX.C: use namespace alias for lyx::support::os
2505
2506 2003-09-16  Angus Leeming  <leeming@lyx.org>
2507
2508         * bufferparams.C:
2509         * bufferview_funcs.C:
2510         * factory.C:
2511         * lyxfunc.C:
2512         * paragraph_pimpl.C:
2513         * rowpainter.C:
2514         * text.C: add #include "LColor.h".
2515
2516 2003-09-16  Angus Leeming  <leeming@lyx.org>
2517
2518         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2519         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2520         return LyXFont &.
2521         Store the FontBits::color variable as an int rather than as an
2522         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2523         file.
2524
2525         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2526         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2527         string calls together.
2528
2529         * lyxrc.C: add #include "LColor.h".
2530
2531 2003-09-15  Angus Leeming  <leeming@lyx.org>
2532
2533         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2534         a cow_ptr.
2535
2536 2003-09-15  Angus Leeming  <leeming@lyx.org>
2537
2538         * LColor.h: add an EnumLColor wrapper for LColor::color.
2539
2540         * lyxfont.[Ch] (color, setColor, realColor):
2541         * lyxtext.h, text.C (backgroundColor):
2542         pass EnumLColor args to/from the functions, rather than LColor::color
2543         ones.
2544
2545         * lyxfont.h:
2546         * lyxtext.h: forward declare EnumLColor.
2547
2548         * lyx_main.C: add #include "LColor.h".
2549
2550 2003-09-15  Angus Leeming  <leeming@lyx.org>
2551
2552         * .cvsignore: add lyx-gtk.
2553
2554 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * Chktex.C
2557         * LaTeX.C
2558         * LaTeXFeatures.C
2559         * ParagraphParameters.C
2560         * Spacing.C
2561         * buffer.C
2562         * bufferparams.C
2563         * bufferview_funcs.C
2564         * chset.C
2565         * counters.C
2566         * funcrequest.C
2567         * lyxfont.C
2568         * lyxgluelength.C
2569         * lyxlength.C
2570         * paragraph.C
2571         * paragraph_funcs.C
2572         * text3.C
2573         * vc-backend.C: remove usage of STRCONV
2574
2575 2003-09-15  Angus Leeming  <leeming@lyx.org>
2576
2577         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2578         explicitly define the color passed to the painter.
2579
2580 2003-09-15  Angus Leeming  <leeming@lyx.org>
2581
2582         * bufferparams.C (BufferParams): reorder member initializers to avoid
2583         compiler warning.
2584
2585 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2588         * text.C (updateRowPositions): remove an unusual nop
2589
2590 2003-09-12  André Pönitz  <poenitz@gmx.net>
2591
2592         * BufferView_pimpl.C:
2593         * Bullet.C:
2594         * layout.h:
2595         * lyxfunc.C:
2596         * lyxlayout.[Ch]:
2597         * lyxtextclass.C:
2598         * rowpainter.C:
2599         * text.C:
2600         * text2.C:
2601         * Counters.[Ch]: finish the 'automatic counters' job
2602
2603 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2604
2605         * aspell.C: include <boost/assert.cpp> (compile fix)
2606
2607 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2608
2609         * boost.C (assertion_failed): use lyx::support::abort instead of
2610         assert.
2611
2612 2003-09-10  Angus Leeming  <leeming@lyx.org>
2613
2614         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2615         with their _fwd progeny.
2616
2617 2003-09-09  Angus Leeming  <leeming@lyx.org>
2618
2619         134 files throughtout the source tree: replace 'using namespace abc;'
2620         directives with the appropriate 'using abc::xyz;' declarations.
2621
2622 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2623
2624         * boost.C (emergencyCleanup): moved here from LAssert.c
2625         (assertion_failed): new function, called by BOOST_ASSERT
2626
2627         * several files: change Assert to BOOST_ASSERT
2628
2629 2003-09-09  Angus Leeming  <leeming@lyx.org>
2630
2631         * buffer.[Ch]: Add an Impl class and move Buffer's member
2632         variables into it. As a result move several header files out of
2633         buffer.h.
2634
2635         Add header files to lots of .C files all over the tree as a result.
2636
2637 2003-09-09  Angus Leeming  <leeming@lyx.org>
2638
2639         * buffer.[Ch]: make Buffer's member variables private. Add
2640         accessor functions.
2641
2642         Lots of changes all over the tree as a result.
2643
2644 2003-09-08  Angus Leeming  <leeming@lyx.org>
2645
2646         * graph.C: #include <config.h>.
2647
2648 2003-09-08  Angus Leeming  <leeming@lyx.org>
2649
2650         * BranchList.C:
2651         * BufferView.C:
2652         * BufferView_pimpl.C:
2653         * CutAndPaste.C:
2654         * DepTable.C:
2655         * LaTeX.C:
2656         * LaTeXFeatures.C:
2657         * LyXAction.C:
2658         * MenuBackend.C:
2659         * TextCache.C:
2660         * aspell.C:
2661         * buffer.C:
2662         * bufferlist.C:
2663         * changes.C:
2664         * chset.C:
2665         * converter.C:
2666         * counters.C:
2667         * debug.C:
2668         * graph.C:
2669         * ispell.C:
2670         * lyx_cb.C:
2671         * lyxfind.C:
2672         * lyxfunc.C:
2673         * lyxlex_pimpl.C:
2674         * lyxrc.C:
2675         * lyxrow.C:
2676         * paragraph.C:
2677         * rowpainter.C:
2678         * texrow.C:
2679         * text.C:
2680         * text2.C:
2681         * toc.C: remove redundant using directives.
2682
2683 2003-09-07  Angus Leeming  <leeming@lyx.org>
2684
2685         * LaTeXFeatures.h: remove #include "support/types.h".
2686         * ToolbarBackend.h: remove #include <algorithm>.
2687         * changes.h: remove #include <ctime>.
2688         * debug.h: remove #include <iosfwd>.
2689         * graph.h: remove #include "support/std_string.h".
2690         * lyx_main.h: remove #include <csignal>.
2691         * lyxlex_pimpl.h: remove #include <fstream>.
2692         * sgml.h: remove #include <algorithm>, <utility>.
2693         * toc.h: remove #include "support/std_ostream.h".
2694         Add #include <iosfwd>.
2695
2696 2003-09-07  Angus Leeming  <leeming@lyx.org>
2697
2698         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2699
2700         * converter.h: forward declare LatexRunParams.
2701         * encoding.h: remove #include "lyxrc.h".
2702         * lyxtext.h: remove #include "LColor.h".
2703         * lyxtextclass.h: remove #include "support/types.h".
2704         * trans.h: remove #include "tex-accent.h".
2705         * trans_mgr.h: remove #include "tex-accent.h".
2706         * insets/inset.h: remove #include "support/types.h", <vector>.
2707         * insets/insetcollapsable.h: remove #include "LColor.h".
2708         * insets/insetinclude.h: remove #include "dimension.h".
2709         * insets/insetlatexaccent.h: remove #include "dimension.h".
2710         * insets/insetoptarg.h:: remove #include "insettext.h".
2711         * insets/insettext.h: remove #include "dimension.h",
2712         <boost/shared_ptr.hpp>
2713
2714         * insets/renderers.h: add #include "dimension.h".
2715         * insets/updatableinset.h: add #include "support/types.h".
2716
2717         * many .C files: Associated changes.
2718
2719 2003-09-06  Angus Leeming  <leeming@lyx.org>
2720
2721         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2722         one, inside testInvariant.
2723
2724         * PrinterParams.C: new file.
2725         * PrinterParams.[Ch]: move the function bodies out of line.
2726
2727 2003-09-06  Angus Leeming  <leeming@lyx.org>
2728
2729         * ParagraphParameters.h: forward declare ParameterStruct rather than
2730         including its header file.
2731         (depth): moved out-of-line.
2732
2733 2003-09-06  Angus Leeming  <leeming@lyx.org>
2734
2735         * BufferView_pimpl.h:
2736         * kbmap.h:
2737         * kbsequence.h:
2738         * lyxfunc.h: forward declare LyXKeySym rather than
2739         #include "frontends/LyXKeySym.h".
2740
2741         * BufferView_pimpl.C:
2742         * kbmap.C:
2743         * kbsequence.C:
2744         * lyxfunc.C: associated changes.
2745
2746 2003-09-06  Angus Leeming  <leeming@lyx.org>
2747
2748         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2749         As a result, can remove the #include "insets/inset.h" from BufferView.h
2750
2751 2003-09-06  Angus Leeming  <leeming@lyx.org>
2752
2753         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2754         As a result, can remove the #include "insets/inset.h" from BufferView.h
2755
2756 2003-09-06  Angus Leeming  <leeming@lyx.org>
2757
2758         * buffer_funcs.C:
2759         * buffer.h:
2760         * bufferlist.C:
2761         * BufferView.C:
2762         * bufferview_funcs.C:
2763         * BufferView_pimpl.C:
2764         * CutAndPaste.C:
2765         * lyx_cb.C:
2766         * lyxfunc.C:
2767         * paragraph.h:
2768         * ParagraphParameters.C:
2769         * tabular.C:
2770         * text3.C:
2771         * toc.C:
2772         * undo_funcs.C:
2773         * frontends/controllers/ControlDocument.C:
2774         * insets/insetcaption.C: rearrange the #includes into some sort of
2775         coherent order.
2776
2777         * buffer.h: remove #includes ErrorList.h, undo.h
2778
2779 2003-09-06  Angus Leeming  <leeming@lyx.org>
2780
2781         * support/types.h: add a 'depth_type' typedef, used to store the
2782         nesting depth of a paragraph.
2783
2784         * paragraph.h:
2785         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2786         defining explicitly.
2787
2788         * buffer.h:
2789         * paragraph_funcs.h:
2790         * ParagraphParameters.h:
2791         * sgml.h: use lyx::depth_type rather than Paragraph or
2792         ParameterStruct's depth_type.
2793
2794         * buffer.h
2795         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2796
2797         * BufferView.C:
2798         * BufferView_pimpl.C:
2799         * CutAndPaste.C:
2800         * ParagraphParameters.C:
2801         * buffer_funcs.C:
2802         * bufferlist.C:
2803         * bufferview_funcs.C:
2804         * lyx_cb.C:
2805         * lyxfunc.C:
2806         * tabular.C:
2807         * text3.C:
2808         * toc.C:
2809         * undo_funcs.C:
2810         * frontends/LyXView.C:
2811         * frontends/controllers/ControlDocument.C:
2812         * frontends/controllers/ControlErrorList.C:
2813         * insets/insetbibitem.C:
2814         * insets/insetbranch.C:
2815         * insets/insetcaption.C:
2816         * insets/insetcollapsable.C:
2817         * insets/insetenv.C:
2818         * insets/insetert.C:
2819         * insets/insetfloat.C:
2820         * insets/insetfoot.C:
2821         * insets/insetfootlike.C:
2822         * insets/insetnewline.C:
2823         * insets/insetquotes.C:
2824         * insets/insettabular.C:
2825         * insets/insettext.C:
2826         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2827
2828         * frontends/controllers/ControlChanges.C: #include "changes.h".
2829
2830 2003-09-06  Angus Leeming  <leeming@lyx.org>
2831
2832         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2833         than #including paragraph.h.
2834
2835         * ParagraphList.h:
2836         * RowList.h: deleted. Superfluous.
2837
2838         * CutAndPaste.h:
2839         * iterators.h:
2840         * lyxcursor.h:
2841         * lyxtext.h:
2842         * text_funcs.h:
2843         * undo.h:
2844         * undo_funcs.h:
2845         * insets/inset.h:
2846         * insets/insettext.h: use ParagraphList_fwd.h rather than
2847         ParagraphList.h.
2848
2849         * paragraph.h: don't forward declare ParagraphList.
2850
2851         * buffer.h:
2852         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2853         rather than ParagraphList.h. paragraph.h is still needed for the
2854         Paragraph::depth_type parameters.
2855
2856         * textcursor.h: enable it to compile stand-alone in light of the
2857         above changes.
2858
2859         * bufferview_funcs.C:
2860         * iterators.C:
2861         * lyxfunc.C:
2862         * lyxrow_funcs.C:
2863         * paragraph.C:
2864         * rowpainter.C:
2865         * text.C:
2866         * text2.C:
2867         * text3.C:
2868         * text_funcs.C:
2869         * textcursor.C:
2870         * undo.C:
2871         * frontends/controllers/ControlParagraph.C:
2872         * frontends/controllers/ControlTabular.C:
2873         * insets/insetmarginal.C:
2874         * insets/insetminipage.C:
2875         * insets/insetnote.C:
2876         * insets/insetoptarg.C: add header files needed to compile again.
2877
2878 2003-09-06  Angus Leeming  <leeming@lyx.org>
2879
2880         * RowList_fwd.h: new file, forward-declaring Row rather than
2881         #including lyxrow.h.
2882
2883         * lyxrow_funcs.h:
2884         * lyxtext.h:
2885         * paragraph.h:
2886         * insets/insettext.h: use it instead of RowList.h
2887
2888         * bufferview_funcs.C:
2889         * lyxfunc.C:
2890         * lyxrow_funcs.C:
2891         * paragraph.C:
2892         * rowpainter.C:
2893         * text.C:
2894         * text2.C:
2895         * text3.C: #include "RowList.h".
2896
2897 2003-09-05  Angus Leeming  <leeming@lyx.org>
2898
2899         * factory.C (createInset):
2900         * vspace.C (c-tor): replace sscanf call with an istringstream.
2901         * ispell.C: re-add missing HP/UX headers.
2902         * lyxserver.C: re-add missing  os2 headers.
2903
2904 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2905
2906         * BranchList.C:
2907         * graph.C:
2908         * ispell.C:
2909         * lastfiles.C:
2910         * lyx_cb.C:
2911         * lyxserver.C:
2912         * texrow.C:
2913         * text3.C: re-add missing system headers, needed for 2.95.2.
2914
2915 2003-09-05  Angus Leeming  <leeming@lyx.org>
2916
2917         Changes most place everywhere due to the removal of using directives
2918         from support/std_sstream.h.
2919
2920 2003-09-05  Angus Leeming  <leeming@lyx.org>
2921
2922         Replace LString.h with support/std_string.h,
2923         Lsstream.h with support/std_sstream.h,
2924         support/LIstream.h with support/std_istream.h,
2925         support/LOstream.h with support/std_ostream.h.
2926
2927         Changes resulting throughout the tree.
2928
2929 2003-09-05  Angus Leeming  <leeming@lyx.org>
2930
2931         * sgml.h: ensure that the header file can be compiled stand-alone.
2932         * *.C: strip out redundant #includes. (320 in total.)
2933
2934 2003-09-04  Angus Leeming  <leeming@lyx.org>
2935
2936         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2937         here (from getPackages).
2938
2939         * debug.[Ch]: add a new EXTERNAL tag.
2940
2941 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2942
2943         * text2.C (cursorEnd): simplify
2944         (setCursor): adjust
2945         (getColumnNearX): adjust
2946
2947         * text.C (computeBidiTables): adjust
2948         (fill): adjust
2949
2950         * rowpainter.C (paintChars): adjust
2951         (paintSelection): adjust
2952         (paintChangeBar): adjust
2953         (paintText): adjust
2954
2955         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2956         lastPos instead.
2957         (numberOfSeparators): adjust
2958
2959 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2960
2961         * LyXAction.C:
2962         * box.[Ch]:
2963         * lfuns.h:
2964         * lyxfunc.C:
2965         * text3.C: Restricts the mouse click functionality
2966         of insets like bibtex, include, toc and floatlist to the visible
2967         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2968         up the dialogs. Cursor has to be in front of the inset (i.e.
2969         start of row) for this to function.
2970
2971 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2972
2973         * bufferview_funcs.C (currentState): output row information
2974
2975 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2976
2977         * bufferview_funcs.C (currentState): output paragraph position
2978
2979 2003-09-04  Angus Leeming  <leeming@lyx.org>
2980
2981         * FloatList.h: move out #include "Floating.h".
2982         * LaTeX.h: move out #include "DepTable.h".
2983         * LyXAction.h: move out #include "funcrequest.h".
2984         * buffer.h: move out #include "author.h", "iterators.h".
2985         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2986         * lyx_main.h: move out #include "errorlist.h".
2987         * lyxfunc.h: move out #include "FuncStatus.h".
2988         * lyxtext: move out #include "lyxcursor.h".
2989         * paragraph_pimpl.h: move out #include "counters.h".
2990
2991 2003-09-03  Angus Leeming  <leeming@lyx.org>
2992
2993         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2994         preamble_snippets list, enabling us to add snippets to the preamble
2995         only if the snippet was not there already.
2996
2997 2003-09-04  Angus Leeming  <leeming@lyx.org>
2998
2999         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3000
3001 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3004         update
3005
3006 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3007
3008         * BranchList.C: point fix, earlier forgotten
3009
3010 2003-09-02  Angus Leeming  <leeming@lyx.org>
3011
3012         * box.C (contains): renamed from 'contained' after a fantastic
3013         amount of hot air.
3014
3015 2003-09-02  John Levon  <levon@movementarian.org>
3016
3017         * BufferView.C:
3018         * lyxcursor.h:
3019         * lyxcursor.C:
3020         * lyxfunc.C:
3021         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3022
3023 2003-09-02  John Levon  <levon@movementarian.org>
3024
3025         * text2.C: simplification of cursorEnd(), including partial
3026         fix for bug 1376
3027
3028 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * buffer.C (readFile): add a space
3031
3032 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3035
3036 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * buffer.C (readFile): new function, take a filename and a
3039         ParagraphList::iterator
3040         (readFile): adjust
3041         (readFile): adjust, make it private. don't use setStream, make
3042         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3043         always contain the filename.
3044
3045         * BufferView.C (insertLyXFile): simplify and make it work for
3046         gzipped files.
3047
3048 2003-08-30  John Levon  <levon@movementarian.org>
3049
3050         * Makefile.am: fix dist (from Kayvan)
3051
3052 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * most files: change to use const Buffer refs
3055
3056 2003-08-27  André Pönitz  <poenitz@gmx.net>
3057
3058         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3059         on top of ownerPar().
3060
3061 2003-08-27  John Levon  <levon@movementarian.org>
3062
3063         * funcrequest.C: properly initialise POD members
3064
3065 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3066
3067         * lyxtext.h (top_y): move top_y from here
3068         * text.C:
3069         * text2.C:
3070         * text3.C:
3071         * BufferView.[Ch]:
3072         * BufferView_pimpl.[Ch]: to here
3073         * frontends/screen.C:
3074         * insets/insettabular.C:
3075         * insets/insettext.C: adjust
3076         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3077
3078 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3079
3080         * BufferView.[Ch]:
3081         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3082
3083 2003-08-26  André Pönitz  <poenitz@gmx.net>
3084
3085         * paragraph_func.[Ch] (outerPar): new function
3086
3087         * paragraph.C:
3088         * paragraph_funcs.C:
3089         * paragraph_funcs.h:
3090         * paragraph_pimpl.C:
3091         * text2.C: remove Inset::par_owner
3092
3093 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3094
3095         * lyxrow_funcs.C:
3096         * lyxtext.h:
3097         * text.C:
3098         * text2.C: eliminates the needFullRow/display() stuff
3099         altogether, putting the logic in metrics/draw in the insets.
3100
3101 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * text2.C (redoParagraphInternal, redoParagraphs):
3104         * text.C (redoParagraph): add a call to updateRowPositions at the
3105         end of each 'metrics-like' call. Remove all others.
3106         (getRow): remove the 'y-computing' version.
3107         (getRowNearY): do not compute nor return the real y. Solve the
3108         'y < 0' problem and simplify.
3109
3110 2003-08-22  Angus Leeming  <leeming@lyx.org>
3111
3112         * *.[Ch]: clean-up of licence and author blurbs.
3113         Also move config.h out of a few .h files and into a few .C files.
3114
3115 2003-08-22  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxrow.[Ch]: add x_ and *fill_ members
3118
3119         * lyxtext.h:
3120         * text.C:
3121         * rowpainter.C:
3122         * text2.C: adjust/remove prepareToPrint() calls
3123
3124 2003-08-22  André Pönitz  <poenitz@gmx.net>
3125
3126         * lyxrow.[Ch]: add  end_ member
3127
3128         * lyxrow_funcs.C: use LyXRow::end_
3129
3130         * lyxtext.h (singleWidth): add LyXFont parameter
3131
3132         * rowpainter.C:
3133         * text2.C: adjust LyXText::singleWidth() calls
3134
3135         * text.C (redoParagraph): simplify row breaking logic
3136
3137
3138 2003-08-19  André Pönitz  <poenitz@gmx.net>
3139
3140         * funcrequest.C: initialize button_ member
3141
3142         * text3.C:
3143         * rowpainter.[Ch]: interface consolidation
3144
3145 2003-08-18  André Pönitz  <poenitz@gmx.net>
3146
3147         * BufferView.C:
3148         * BufferView_pimpl.C:
3149         * lyxfind.C:
3150         * paragraph_funcs.C:
3151         * rowpainter.C:
3152         * text3.C: remove LyXScreen::draw() and fitCursor calls
3153
3154         * BranchList.h: remove spurious semicolons
3155
3156         * MenuBackend.C: fix branchlist related crash
3157
3158 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3159
3160         * BranchList.[Ch]:
3161         * InsetList.[Ch]:
3162         * LColor.[Ch]:
3163         * LyXAction.C:
3164         * Makefile.am:
3165         * MenuBackend.[Ch]:
3166         * bufferparams.[Ch]:
3167         * factory.C:
3168         * lfuns.h:
3169         * lyxfunc.C:
3170         * text3.C: implements the 'branch inset'
3171         idea. This allows the output of various versions of a document
3172         from a single source version, selectively outputing or suppressing
3173         output of parts of the text.
3174         This implementation contains a 'branch list editor' in a separate
3175         tab of the document settings dialog. Branches are user definable
3176         and have a "display colour" to distinguish them on-screen.
3177
3178         ColorHandler was somewhat cleaned up.
3179         (1) make possible a dynamically growing LColor list by allowing
3180         the graphic context cache to grow along (vector);
3181         (2) eliminate an IMHO unnecessary step in colour allocation.
3182
3183 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3184
3185         * BufferView_pimpl.C: compile fix
3186
3187 2003-08-15  André Pönitz  <poenitz@gmx.net>
3188
3189         * rowpainter.C: remove extra metrics calls
3190
3191         * lyxtext.h: merge the two constructors into a single one,
3192           pass reference to owner's par list
3193
3194         * BufferView_pimpl.C:
3195         * text.C:
3196         * text2.C: adjust
3197
3198 2003-08-15  André Pönitz  <poenitz@gmx.net>
3199
3200         * lyxrow_funcs.[Ch]:
3201         * lyxtext.h:
3202         * paragraph.h:
3203         * paragraph_funcs.C:
3204         * rowpainter.C:
3205         * text.C:
3206         * text2.C:
3207         * text3.C:
3208         * text_funcs.C: split LyXText::rowlist_ into individual
3209         Paragraph::rows_ chunks
3210
3211         * BufferView.[Ch]:
3212         * BufferView_pimpl.[Ch]:
3213         * lyxfind.C:
3214         * lyxtext.h:
3215         * text3.C: remove toggleSelection()
3216
3217 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3218
3219         * bufferlist.C: beautify two alerts (shorter text of buttons)
3220         * buffer.C: Remove redundant ' ' from message
3221         * tabular.h:
3222         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3223         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3224         rename VALIGN_CENTER to VALIGN_MIDDLE
3225
3226 2003-08-11  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxtext.h (getPar):
3229         * text.C: new function
3230
3231 2003-08-11  André Pönitz  <poenitz@gmx.net>
3232
3233         * Makefile.am:
3234         * tracer.[Ch]: remove unneeded files
3235
3236         * InsetList.[Ch]: remove resizeInsetsLyXText()
3237
3238         * lyxtext.h:
3239         * text.C:
3240         * text2.C:
3241         * text3.C: merge insertParagraphs() and appendParagraph()
3242         remove breakAgain(), update()
3243
3244         * BufferView_pimpl.[Ch]:
3245         * bufferview_funcs.[Ch]:
3246         * lyxfunc.C:
3247         * paragraph.[Ch]:
3248         * rowpainter.C:
3249         * tabular.C: adjust after text & InsetList changes.
3250
3251 2003-08-08  André Pönitz  <poenitz@gmx.net>
3252
3253         * text.C (insertChar, backspace): replace rowlist fiddling
3254         with rebreak of full par
3255
3256         * lyxtext.h:
3257         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3258         checkParagraph, updateInset): removed
3259
3260 2003-08-07  André Pönitz  <poenitz@gmx.net>
3261
3262         * paragraph.C:
3263         * text3.C: merge some LFUN handlers, remove dead code
3264
3265 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3266
3267         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3268
3269 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3270
3271         * text2.C (DEPM): fix part of bug 1255 and 1256
3272
3273 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3274
3275         * BufferView_pimpl.C (workAreaDispatch): change to use
3276         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3277         that are no mouse related.
3278
3279 2003-08-05  André Pönitz  <poenitz@gmx.net>
3280
3281         * BufferView.[Ch]:
3282         * BufferView_pimpl.[Ch]:
3283         * bufferview_funcs.C:
3284         * text2.C:
3285         * text3.C: rip out "deep update"
3286
3287         * textcursor.[Ch] (last_sel_cursor): remove unused member
3288
3289 2003-08-04  André Pönitz  <poenitz@gmx.net>
3290
3291         * BufferView.[Ch]:
3292         * BufferView_pimpl.[Ch]:
3293         * ParagraphParameters.C:
3294         * bufferview_funcs.C:
3295         * lyx_cb.C:
3296         * lyxfind.C:
3297         * lyxfunc.C:
3298         * text.C:
3299         * text2.C:
3300         * text3.C: replace "complicated" BufferView::update(...) calls with
3301         simpler ones.
3302
3303         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3304
3305 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3306
3307         * Makefile.am (lyx_SOURCES): add paper.h
3308
3309 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3310
3311         * Makefile.am: move things around so that both lyx-qt and
3312         lyx-xforms can be built (according to --with-frontend). Then lyx
3313         is a symbolic link to lyx-[firstfrontend]
3314
3315 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3316
3317         * Always use std::endl with lyxerr
3318
3319 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3320
3321         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3322
3323 2003-08-01  André Pönitz  <poenitz@gmx.net>
3324
3325         * BufferView.[Ch]:
3326         * BufferView_pimpl.[Ch]:
3327         * lyxfunc.C:
3328         * text3.C: merge BufferView::repaint() and BufferView::update()
3329
3330 2003-08-01  José Matos  <jamatos@lyx.org>
3331
3332         * buffer.[Ch]: file_format is no longer a buffer data element.
3333
3334 2003-08-01  André Pönitz  <poenitz@gmx.net>
3335
3336         * BufferView.C:
3337         * lyxtext.h:
3338         * text.C:
3339         * text2.C: make redoParagraph more independent of current cursor
3340
3341         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3342         * text.C:
3343         * text2.C: remove unneeded members
3344
3345 2003-07-30  André Pönitz  <poenitz@gmx.net>
3346
3347         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3348
3349         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3350           create a single function...
3351
3352         * paragraph_funcs.C (moveItem): ... here.
3353
3354         * text.C:
3355           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3356
3357 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3358
3359         * LColor.[Ch]: Add comment and greyedout logical colors.
3360
3361 2003-07-30  André Pönitz  <poenitz@gmx.net>
3362
3363         * tabular.C: don't use Assert too heavily. This crashes where it
3364           shouldn't
3365
3366 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3367
3368         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3369         is disabled (bug 1232)
3370
3371 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3372
3373         * factory.C: limited 'arg' scope
3374
3375 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3376
3377         * factory.C: fixed Note submenu issues
3378
3379 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3380
3381         * factory.C: submenu for Note/Comment/Greyedout
3382
3383 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * lyx_main.C (LyX):
3386         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3387
3388 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3389
3390         * LaTeXFeatures.C:
3391         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3392         greyedout. Patch provided by Jürgen Spitzmüller.
3393
3394 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3395
3396         * kbmap.C (read): fix error message when reading bind files
3397
3398 2003-07-29  Angus Leeming  <leeming@lyx.org>
3399
3400         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3401         certainly does not do what it purports to do. I am doing it, and
3402         us, a favour by killing it.
3403
3404 2003-07-28  José Matos  <jamatos@lyx.org>
3405
3406         * buffer.C (readBody, do_writeFile):
3407         * paragraph.C(readParagraph): \end_document replaces \the_end.
3408
3409 2003-07-29  André Pönitz  <poenitz@gmx.net>
3410
3411         * BufferView.[Ch]:
3412         * BufferView_pimpl.[Ch]:
3413         * lyxfunc.C:
3414         * text2.C:
3415         * text3.C:
3416         * textcursor.[Ch]: remove toggleToggle & Co
3417
3418 2003-07-28  José Matos  <jamatos@fep.up.pt>
3419
3420         * buffer.C (readParagraph):
3421         * params_func (readParToken, readParagraph):
3422         * paragraph.C (write): \layout -> \begin_layout.
3423
3424 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * lyxlex_pimpl.C (setFile): clean up slightly.
3427
3428         * bufferparams.h: add compressed var
3429
3430         * buffer_funcs.C (readFile): adjust for LyXLex change
3431         (newFile): ditto + simplify
3432
3433         * buffer.C (writeFile): handle writing of compressed files
3434
3435         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3436         Check if the file is compressed and set a bufferparm if so.
3437
3438         * Makefile.am (lyx_LDADD): remove explicit -lz
3439
3440 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3441
3442         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3443         makeDocBookFile): put the real LyX version in the first line of
3444         the file
3445
3446         * version.h:
3447         * version.C.in: remove lyx_docversion
3448
3449         * tabular.C (write_attribute): add a template-based version to
3450         write enums properly
3451
3452 2003-07-28  André Pönitz  <poenitz@gmx.net>
3453
3454         * lyxtext.h:
3455         * text.C:
3456         * text2.C:
3457         * text3.C: use doubles again for x-coordinates. They are needed.
3458
3459 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * messages.C (getLocaleDir): use lyx_localedir()
3462
3463         * lyxlex_pimpl.C (setFile): compress stuff
3464
3465         * buffer.C (writeFile): add some compression stuff
3466         (do_writeFile): new func, dont call expliti close... will this
3467         breake anything?
3468
3469         * Makefile.am (lyx_LDADD): add -lz
3470
3471 2003-07-28  José Matos  <jamatos@fep.up.pt>
3472
3473         * buffer.C: increment file format.
3474         * paragraph_funcs (readParagraph, readParToken):
3475         * paragraph.C (readParagraph): add \end_layout.
3476
3477 2003-07-27  Angus Leeming  <leeming@lyx.org>
3478
3479         * Makefile.am: remove special casing for configure-time setting of
3480         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3481
3482         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3483         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3484
3485 2003-07-26  André Pönitz  <poenitz@gmx.net>
3486
3487         * paragraph_func.[Ch]:
3488         * paragraph.C (realizeFont): inline it whereever it is used
3489
3490         * rowpainter.C:
3491         * text.C:
3492         * text2.C:
3493         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3494
3495
3496 2003-07-26  André Pönitz  <poenitz@gmx.net>
3497
3498         *       lyxtext.h:
3499         * text.C:
3500         * text2.C: get rid of LyXText::need_break_row
3501
3502 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * toc.[Ch]: put namespace toc inside namespace lyx
3505
3506         * MenuBackend.C (expandToc2): adjust for lyx::toc
3507         (expandToc): ditto
3508
3509         * lyxfunc.C (dispatch): adjust for lyx::find
3510
3511         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3512         lyx::find instead. Reorganize a bit.
3513         (LyXReplace): rename to replace
3514         (LyXFind): rename to find
3515
3516         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3517         (dispatch): ditto
3518
3519 2003-07-26  André Pönitz  <poenitz@gmx.net>
3520
3521         * text.C (setHeightOfRow): restrict scope of temporary variable
3522
3523         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3524           code (never has been used?)
3525
3526 2003-07-27  Asger Alstrup  <alstrup@local>
3527
3528         * text.C (fill): Optimise algorithm to exploit that we can reuse
3529         the LyXFont for many characters.
3530         (setHeightOfRow): Same thing.
3531         (rowBreakPoint): Same thing.
3532
3533 2003-07-26  Asger Alstrup  <alstrup@local>
3534
3535         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3536
3537         * text.C (singleWidth): Spurious font copying in hot-spot
3538         singleWidth avoided. Reorder tests for arabic for efficiency.
3539
3540         * text.C (fill): handle empty paragraphs better.
3541
3542 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3543
3544         * ispell.C:
3545         * encoding.h: add includes
3546
3547         * lyxrc.C: remove reading of bind files
3548
3549         * lyx_main.C (init): setup bindings and menus only if we have a
3550         gui.
3551
3552         * kbmap.C (read): new method. Do the actual reading of bind
3553         files.
3554
3555         * converter.C (dvipdfm_options):
3556         * bufferparams.C:
3557         * lyxrc.C (read):
3558         (output): adapt PAPER_* enums.
3559
3560         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3561
3562         * bufferparams.h: remove paper-related enums from there
3563
3564         * paper.h: New file. A trivial header file to hold paper-related
3565         enums. It should later expand to contain many paper-related
3566         horrors access.
3567
3568         * lyxrc.C: declare extern displayTranslator
3569
3570 2003-07-27  José Matos  <jamatos@fep.up.pt>
3571
3572         * tabular.[Ch] (linuxdoc): add support for tables and figures
3573         (linuxdoc).
3574
3575 2003-07-27  José Matos  <jamatos@fep.up.pt>
3576
3577         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3578         consistency in both functions.
3579         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3580
3581 2003-07-26  Asger Alstrup  <alstrup@local>
3582
3583         * rowpainter.C (paintRows): Change algorithm to work directly on
3584         the insets rather than asking every character in the document
3585         whether its an inset.
3586
3587 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3588
3589         * buffer.C (openFileWrite): factorize some code
3590
3591 2003-07-26  Angus Leeming  <leeming@lyx.org>
3592
3593         * lyx_cb.C:
3594         * lyx_main.[Ch]: replace occurances of system_tempdir with
3595         os::getTmpDir().
3596
3597 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * rename Inset to InsetOld
3600
3601 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3602
3603         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3604         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3605         which I think is a bit clearer. EDIT is gone, since it was
3606         premature optimisation, and broken for mathed anyway.
3607         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3608         with cursor positioning in insets as well (math insets still do not
3609         work, but that's a different story anyway.) It mysteriously
3610         crashes sometimes with undo in the first paragraph, but I'm fairly
3611         confident that this is a compiler bug.
3612
3613 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * paragraph.C (Paragraph): adjust for new clone return type
3616         (operator==): ditto
3617         (copyIntoMinibuffer): ditto
3618
3619 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3620
3621         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3622         by not having a special case, and always doing a full rebreak of
3623         the document after undo.
3624
3625 2003-07-23  Angus Leeming  <leeming@lyx.org>
3626
3627         * factory.C (createInset): InsetExternal::setParams now takes a
3628         Buffer const * arg.
3629
3630 2003-07-23  Angus Leeming  <leeming@lyx.org>
3631
3632         * factory.C (createInset): changed interface to the external and
3633         graphics mailers' string2params functions.
3634
3635 2003-07-23  Angus Leeming  <leeming@lyx.org>
3636
3637         * factory.C (createInset): pass a
3638         Buffer const * parameter to InsetExternalMailer's string2params.
3639
3640 2003-07-22  John Levon  <levon@movementarian.org>
3641
3642         * Thesaurus.h: include the right aiksaurus header
3643
3644 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3645
3646         * MenuBackend.C (expand): check menu shortcuts unconditionally
3647
3648 2003-07-21  Angus Leeming  <leeming@lyx.org>
3649
3650         * factory.C (createInset): pass a
3651         buffer_path parameter to InsetGraphicsMailer's string2params.
3652
3653 2003-07-21  Angus Leeming  <leeming@lyx.org>
3654
3655         * BufferView_pimpl.C (buffer):
3656         * buffer.C (d-tor):
3657         * lyx_main.C (LyX):
3658         * lyxfunc.C (dispatch):
3659         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3660         rather than the grfx shortcut.
3661
3662 2003-07-21  André Pönitz  <poenitz@gmx.net>
3663
3664         * rowpainter.C: remove unused variables
3665
3666         * tabular_funcs.C:
3667         * tabular_funcs.h: move to tabular.C
3668         * Makefile.am: adjust
3669
3670         * tabular.[Ch]: basic optical cleaning
3671
3672         * author.h: pass references, not values
3673
3674 2003-07-18  André Pönitz  <poenitz@gmx.net>
3675
3676         * lyxtext.h:
3677         * metricsinfo.C:
3678         * metricsinfo.h:
3679         * rowpainter.C:
3680         * text.C:
3681         * text2.C:
3682         * text3.C: two-phase drawing for InsetText and InsetTabular
3683         some float -> int changes.
3684
3685 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * lyx_main.C: fix the fix
3688
3689 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * lyx_main.C: fix a crash in batch mode if no files specified
3692         * converter.C: ws
3693
3694 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * format.[Ch] (papersize): moved to BufferParams
3697         * converter.[Ch] (dvips_options): moved to BufferParams
3698         (dvipdfm_options): moved to anon namespace
3699         * bufferparams.[Ch]: added above functions.
3700
3701 2003-07-17  André Pönitz  <poenitz@gmx.net>
3702
3703         * lyxtext.h:
3704         * rowpainter.C:
3705         * text2.C: don't call inset->update() anymore
3706
3707         * metricsinfo.[Ch]: add convenience constructor
3708
3709 2003-07-16  André Pönitz  <poenitz@gmx.net>
3710
3711         * lyxcursor.[Ch]:
3712         * lyxfunc.[Ch]:
3713         * text.C:
3714         * text2.C: replace the LyXCursor::irow_ member with
3715          on-demand computation of the value
3716
3717 2003-07-16  John Levon  <levon@movementarian.org>
3718
3719         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3720
3721 2003-07-15  André Pönitz  <poenitz@gmx.net>
3722
3723         * text.C:
3724         * text2.C: remove no more needed refresh_row
3725
3726 2003-07-15  André Pönitz  <poenitz@gmx.net>
3727
3728         * lyxtext.h:
3729         * rowpainter.C:
3730         * text2.C:
3731         * text3.C: refresh_status tristate -> need_update bool
3732
3733 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * lyxtext.h (init): remove reinit argument (act as if always true)
3736         * text2.C: adjust to that
3737
3738 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3739
3740         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3741         * text3.C: use it to delete selections in some cases
3742         (bugs 441, 673, 702, 954).
3743
3744 2003-07-14  André Pönitz  <poenitz@gmx.net>
3745
3746         * rowpainter.[Ch]: reduce interface
3747
3748 2003-07-14  André Pönitz  <poenitz@gmx.net>
3749
3750         * BufferView_pimpl.C:
3751         * text2.C: adjust after removing unused BufferView * argument
3752
3753 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3754
3755         * text2.C (init): fix a crash fired on resize
3756
3757 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * buffer.[Ch]: added new closing signal
3760         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3761         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3762         BufferView::Pimpl via the closing the signal
3763
3764 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * buffer.[Ch]: take out all bv-related from buffer
3767         * BufferView.C:
3768         * BufferView_pimpl.[Ch]: connect to new signals
3769         * CutAndPaste.C: removed useless asserts
3770         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3771         * lyxvc.[Ch]:
3772         * vc-backend.[Ch]:
3773         * lyxfunc.C: moved view-related funciontality from vc here
3774         * paragraph.C: removed outdated comments
3775         * text.C: ws
3776
3777 2003-07-10  André Pönitz  <poenitz@gmx.net>
3778
3779         * BufferView_pimpl.C:
3780         * tabular.h:
3781         * tabular_funcs.C:
3782         * text.C:
3783         * text2.C: remove InsetText::InnerCache, clean up consequences
3784
3785 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3786
3787         * ispell.C: fix two typos in error messages
3788
3789 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3790
3791         * Extend Note inset to other forms of annotation like Comment
3792         and Greyedout. Right button click gives dialog.
3793
3794         Files modified or added (+):
3795
3796         * insetnote.[Ch]
3797         * FormNote.[Ch]      +
3798         * ControlNote.[Ch]   +
3799         * form_note.fd       +
3800         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3801         frontends/controllers
3802         * xforms/Dialogs.C
3803         * factory.C
3804
3805 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3806
3807         * aspell.C: add missing namespace lyx::support
3808
3809 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * BufferView.[Ch] (newFile): Add
3812         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3813         * LaTeX.[Ch] (message): added this signal and use it
3814         * buffer.[Ch] (busy, message): added these signals and use them
3815         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3816         * converter.C:
3817         * exporter.C:
3818         * format.C:
3819         * importer.C: use buffer signals instead of direct bv calling
3820         * lyx_cb.[Ch] (ShowMessage): removed
3821         * lyx_main.C:
3822         * lyxfunc.C:
3823         * paragraph_funcs.C:
3824         * text2.C: use buffer signals
3825
3826 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * introduce namespace lyx::graphics
3829
3830 2003-07-02  André Pönitz  <poenitz@gmx.net>
3831
3832         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3833
3834 2003-07-01  André Pönitz  <poenitz@gmx.net>
3835
3836         * text.C:
3837         * text2.C:
3838         * text3.C:
3839         * text_funcs.[Ch]:
3840         * textcursor.h:
3841         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3842           text*.C to text_func.C
3843
3844 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * introduce namespace lyx::support
3847
3848 2003-06-30  André Pönitz  <poenitz@gmx.net>
3849
3850         * Chktex.C:
3851         * funcrequest.C:
3852         * lyxtext.h:
3853         * text.C: re-enable --with-included-string
3854
3855 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * textcursor.C: add <config.h>
3858
3859         * text.C (getWord): remove const from word_location arg
3860
3861         * lyxvc.C (getLogFile): fix const type order
3862
3863         * lyxtext.h: remove const from word_location arg, add arg name
3864
3865         * lyxlayout.h: currect type on labeltype.
3866
3867         * importer.C: correct \file
3868
3869         * converter.C (intToFormat): use std:: on ret val, ws changes
3870
3871         * bufferlist.h: correct \file
3872
3873         * buffer.C (makeLinuxDocFile): fix const type order
3874         (makeDocBookFile): ditto
3875         (fillWithBibKeys): use std:: on stdlib args.
3876
3877         * CutAndPaste.C: fix authors.
3878         (availableSelections): use std:: on return vector
3879
3880 2003-06-27  André Pönitz  <poenitz@gmx.net>
3881
3882         * BufferView_pimpl.C:
3883         * bufferview_funcs.C:
3884         * lyxcursor.C:
3885         * lyxcursor.h:
3886         * lyxfunc.C:
3887         * lyxtext.h:
3888         * rowpainter.C:
3889         * text.C:
3890         * text2.C:
3891         * text3.C: remove LyXCursor::row_ member
3892
3893         * lyxtext.h:
3894         * text.C: rename fullRebreak() to partialRebreak() and implement
3895           a fullRebreak() that really bereks fully
3896
3897         * textcursor.h: new struct for cursor-related data
3898
3899 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3900
3901         * lyx_main.C (LyX): get full path of document loaded on the
3902         command line
3903
3904 2003-06-26  André Pönitz  <poenitz@gmx.net>
3905
3906         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3907           remove unused/broken operator>,<,>=.
3908
3909         *       text.C: remove only use of broken operator<= in an Assert().
3910
3911 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3912
3913         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3914         moved errorlist_.clear to showErrorList
3915
3916 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * converter.C (scanLog, runLaTeX):
3919         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3920         move the bv->showErrorList call to the callers
3921         * lyxfunc.C: i.e. here...
3922         * text2.C: and here
3923         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3924         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3925         namespace, the second to...
3926         * buffer_funcs (BufferFormat, parseErrors): added
3927         * errorlist.C (ErrorList(TeXErrors const &)): removed
3928
3929 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3930
3931         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3932
3933 2003-06-24  "Garst R. Reese" <reese@isn.net>
3934
3935         * debug.C: fix typo
3936
3937 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3938
3939         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3940
3941         * version.C.in: change docversion to 1.4
3942
3943 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * buffer.C: fix a bug just introduced
3946
3947 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * buffer.[Ch]: added the parseError signal and use it, removed
3950         sgmlError
3951         * BufferView.[Ch] (addError): moved to ...
3952         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3953         to the Buffer::parseError signal to catch (guess what) parse errors
3954         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3955
3956 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3957
3958         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3959         ability to create a buffer and to return an existing one from
3960         the list. Moved these functions to...
3961         * buffer_funcs.[Ch]: added
3962         * BufferView.[Ch] (loadLyXFile): added
3963         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3964         job removed from bufferlist::loadLyXFile.
3965         * buffer.C (setReadOnly): make it work without view
3966         (i.e added an if (users))
3967
3968 2003-06-19  Angus Leeming  <leeming@lyx.org>
3969
3970         * lfuns.h:
3971         * LyXAction.C (init):
3972         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3973         with LFUN_DIALOG_SHOW <name> <data>.
3974
3975 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3976
3977         * CutAndPaste.C (availableSelections): small compilation fix for
3978         ancient (gcc 2.9x) compilers
3979
3980 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * text3.C (cursorNext): add tmp var
3983
3984         * text2.C (updateCounters): for function calling out of for clause
3985         (replaceSelectionWithString): ditto
3986         (insertStringAsParagraphs): ditto
3987         (getColumnNearX): add tmp var
3988         (setCursorFromCoordinates): add tmp var
3989         (cursorDownParagraph): add tmp var
3990         (deleteEmptyParagraphMechanism): add tmp var
3991
3992         * text.C (insertChar): add tmp var
3993
3994         * rowpainter.C (paintDepthBar): add tmp var
3995
3996         * CutAndPaste.C (availableSelections): potentially check all
3997         paragraphs in a cut to fill the shown strings.
3998
3999 2003-06-18  André Pönitz  <poenitz@gmx.net>
4000
4001         * kbmap.[Ch]: use vector<> instead of list<>
4002
4003 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4004
4005         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4006         pasteSelection with index
4007
4008         * text2.C (pasteSelection): modify, call pasteSelection with index
4009
4010         * paragraph.C (asString): reimplement version with no interval to
4011         call the one with interval.
4012
4013         * lyxtext.h: add index arg to pasteSelection
4014
4015         * MenuBackend.C (MenuItem): handle PasteRecent
4016         (Menu::read::Menutags): add md_pasterecent
4017         (read): handle it
4018         (expandPasteRecent): new function
4019         (expand): use it
4020
4021         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4022
4023         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4024         the limited stack
4025         (availableSelections): new function
4026
4027 2003-06-17  Angus Leeming  <leeming@lyx.org>
4028
4029         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4030
4031 2003-06-17  Angus Leeming  <leeming@lyx.org>
4032
4033         * lfuns.h:
4034         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4035
4036         * lyxfunc.C (dispatch): invoke it.
4037
4038 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4039
4040         * iterators.C (operator++, ParPosition): reintroduce some
4041         const_cast for the benefit of older compilers.
4042
4043 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4044
4045         * text3.C (dispatch): do not modify clipboard when doing
4046         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4047         LFUN_DELETE_SKIP on a selection selection
4048
4049 2003-06-16  André Pönitz  <poenitz@gmx.net>
4050
4051         * BufferView.C:
4052         * buffer.C:
4053         * buffer.h:
4054         * paragraph.C:
4055         * tabular.[Ch]: IU of clone() and getLabelList();
4056
4057 2003-06-13  André Pönitz  <poenitz@gmx.net>
4058
4059         * tabular.h: compactification
4060
4061 2003-06-12  André Pönitz  <poenitz@gmx.net>
4062
4063         * tabular.C:
4064         * tabular.h:
4065         * tabular_funcs.h: some renaming plus whitespace
4066
4067 2003-06-12  André Pönitz  <poenitz@gmx.net>
4068
4069         * BufferView.C:
4070         * BufferView_pimpl.C:
4071         * CutAndPaste.C:
4072         * buffer.C:
4073         * iterators.[Ch]:
4074         * lyxfunc.C:
4075         * text.C:
4076         * toc.C: Return a Paragraph & for ParIterator::operator*()
4077
4078 2003-06-11  John Levon  <levon@movementarian.org>
4079
4080         * lyx_main.C:
4081         * ToolbarBackend.h:
4082         * ToolbarBackend.C: add "Toolbars" section and
4083         put the flags there
4084
4085 2003-06-10  Angus Leeming  <leeming@lyx.org>
4086
4087         * lfuns.h:
4088         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4089
4090         * lyxfunc.C (dispatch): invoke it.
4091
4092 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * main.C: protect <ios> with HAVE_IOS
4095         (main): protect sync_with_stdio with HAVE_IOS
4096
4097 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4098
4099         * text2.C (cutSelection): adjust
4100         (pasteSelection): adjust
4101
4102         * messages.C: handle get of empty string
4103
4104         * main.C (main): use sync_with_stdio(false)
4105
4106         * lyxfunc.C (dispatch): adjust
4107
4108         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4109         (WriteAs): remove unneeded BufferView arg.
4110
4111         * bufferparams.h: use correct types on papersize, papersize2 and
4112         paperpackage.
4113
4114         * bufferparams.C (readToken): adjust for type
4115         (writeLaTeX): add missing cases to switch.
4116
4117         * bufferlist.C (quitWriteBuffer): adjust
4118         (close): adjust
4119
4120         * buffer.C (asciiParagraph): remove some commented code.
4121
4122         * CutAndPaste.C: remove current_view extern variable.
4123         (cutSelection): add BufferParams arg.
4124         (eraseSelection): add BufferParams arg.
4125         (pasteSelection): add Buffer const & arg
4126
4127 2003-06-07  John Levon  <levon@movementarian.org>
4128
4129         * buffer.C:
4130         * paragraph_funcs.C:
4131         * paragraph_pimpl.C:
4132         * text.C:
4133         * text2.C:
4134         * paragraph.h:
4135         * paragraph.C: allow InsetERT to freely space lines,
4136         and some consolidation of code
4137
4138 2003-06-06  José Matos  <jamatos@fep.up.pt>
4139
4140         * buffer.C (makeDocBookFile): fix bug #821
4141
4142 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4145
4146 2003-06-04  Angus Leeming  <leeming@lyx.org>
4147
4148         * buffer.C: bump format to 224.
4149
4150 2003-06-05  André Pönitz  <poenitz@gmx.net>
4151
4152         * text2.C (redoParagraphs): remove two const_cast<>
4153
4154 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4155
4156         * ParagraphList.h: remove last remnants of NO_STD_LIST
4157
4158 2003-06-03  Angus Leeming  <leeming@lyx.org>
4159
4160         * factory.C (createInset): small change to the way InsetExternal's params
4161         are set.
4162
4163 2003-06-04  André Pönitz  <poenitz@gmx.net>
4164
4165         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4166
4167         * paragraph_pimpl.h:
4168         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4169
4170         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4171
4172         * undo_funcs.C: make some simple cases of undo work again
4173
4174 2003-06-03  John Levon  <levon@movementarian.org>
4175
4176         * ispell.C: HPUX doesn't have sys/select.h
4177         (from Albert Chin)
4178
4179 2003-06-03  John Levon  <levon@movementarian.org>
4180
4181         * CutAndPaste.C: update tabular and include inset
4182         buffer references
4183
4184         * buffer.h:
4185         * paragraph.h:
4186         * paragraph.C: remove owningBuffer(), don't pass Buffer
4187         to clone()
4188
4189         * factory.C: insetGraphicsParams changed
4190
4191 2003-06-02  John Levon  <levon@movementarian.org>
4192
4193         * LyXAction.C:
4194         * factory.C:
4195         * lfuns.h:
4196         * lyxfunc.C:
4197         * text3.C: remove insetparent
4198
4199 2003-06-02  John Levon  <levon@movementarian.org>
4200
4201         * buffer.h:
4202         * buffer.C: fix inset_iterator.end(), move out of line
4203         (bug 1149)
4204
4205 2003-06-01  John Levon  <levon@movementarian.org>
4206
4207         * text3.C: use a proper cut/paste when doing inset
4208         insert (from Jürgen Spitzmüller)
4209
4210 2003-06-01  John Levon  <levon@movementarian.org>
4211
4212         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4213
4214 2003-05-30  André Pönitz  <poenitz@gmx.net>
4215
4216         * rowpainter.C: unify second drawing phase
4217
4218 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * trans_mgr.C: remove one case of current_view
4221
4222         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4223
4224         * paragraph_funcs.h: remove paragraph.h include
4225
4226         * paragraph.h: delete NO_STD_LIST stuff
4227
4228         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4229
4230         * buffer.h: remove paragraph.h include
4231
4232         * ParagraphList.C: delete file
4233
4234         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4235
4236         * toc.C (getTocList): adjust
4237
4238         * paragraph_pimpl.C (validate): adjust
4239
4240         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4241
4242         * paragraph.C (Paragraph): adjust
4243         (getPositionOfInset): use const_iterator, adjust
4244         (bibitem): use const_iterator, adjust
4245         (setInsetOwner): adjust
4246
4247         * iterators.C (operator++): adjust
4248
4249         * InsetList.[Ch]: Replace selfmade iterator with standard
4250         vector::iterator also introduce const_iterator. Remove getPos,
4251         getInset and setInset from InsetTable. Adjust accordingly.
4252
4253         * BufferView.C (lockInset): adjust
4254         (ChangeInsets): adjust
4255
4256         * tabular.[Ch]: delete commented same_id functions
4257
4258 2003-05-28  John Levon  <levon@movementarian.org>
4259
4260         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4261
4262 2003-05-28  André Pönitz  <poenitz@gmx.net>
4263
4264         * metricsinfo.[Ch]: remove 'fullredraw' member
4265
4266 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4267
4268         * lyxtextclass.C (operator): remove caching.
4269
4270 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * text3.C: adjust
4273
4274         * text2.C (cursorBottom): adjust
4275         (setCounter): use ParagraphList::find, adjust
4276
4277         * text.C (workWidth): use ParagraphList::find, adjust
4278
4279         * lyxcursor.C (LyXCursor): adjust
4280
4281         * buffer.C (inset_iterator): adjust
4282
4283         * ParagraphList.h: make iterator(value_type) private, make
4284         ParagraphList a friend of iterator.
4285
4286         * ParagraphList.C (find): new function
4287
4288         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4289
4290 2003-05-27  André Pönitz  <poenitz@gmx.net>
4291
4292         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4293
4294 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4295
4296         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4297
4298 2003-05-26  John Levon  <levon@movementarian.org>
4299
4300         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4301
4302 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * remove same_id from function signatures, adjust.
4305
4306 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4309
4310         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4311
4312         * paragraph.C (Paragraph): get rid of same_ids parameter
4313
4314         * ParagraphList.C (insert): adjust
4315         (push_back): adjust
4316
4317 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * paragraph_funcs.C (breakParagraph): adjust
4320         (breakParagraphConservative): adjust
4321
4322         * buffer.C (readParagraph): adjust
4323
4324         * ParagraphList.C (insert): take a reference instead of a pointer
4325         (insert): adjust
4326
4327         * paragraph.[Ch] (id): new function
4328
4329         * bufferlist.C (newFile): adjust
4330
4331         * ParagraphList.C (ParagraphList): adjust
4332         (assign): adjust
4333         (push_back): take a reference instead of a pointer.
4334
4335         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4336
4337         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4338         instead.
4339
4340         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4341         set else use old code.
4342
4343         * ParagraphList.C: remove all NO_NEXT code and only compile this
4344         code of NO_STD_LIST is set.
4345
4346 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * BufferView_pimpl.C:
4349         * TextCache.C:
4350         * TextCache.h:
4351         * bufferlist.C:
4352         * errorlist.h:
4353         * format.C:
4354         * format.h:
4355         * graph.C:
4356         * lyxfunc.C:
4357         * lyxrc.C:
4358         * graphics/GraphicsConverter.C:
4359         * graphics/PreviewLoader.C: header adjustment
4360
4361 2003-05-23  Angus Leeming  <leeming@lyx.org>
4362
4363         * LaTeXFeatures.[Ch] (useBabel): new method.
4364         * bufferparams.C (writeLaTeX): use it.
4365
4366 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * ParagraphList.h (set): remove unused function.
4369
4370 2003-05-23  André Pönitz  <poenitz@gmx.net>
4371
4372         * BufferView.C:
4373         * BufferView_pimpl.C:
4374         * buffer.C:
4375         * buffer.h:
4376         * lyxfunc.C:
4377         * undo_funcs.C: setUndo reworked
4378
4379         * iterators.[Ch]: add access to topmost ParagraphList
4380
4381         * lyxtext.[Ch] (workWidth): add a const
4382
4383 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * texrow.[Ch] (increasePos): remove function
4386         * exporter.C (export): removed unused var and outdated comment
4387
4388 2003-05-23  Angus Leeming  <leeming@lyx.org>
4389
4390         * latexrunparams.h: rename fragile as moving_arg.
4391         * paragraph.C (simpleTeXOnePar): ditto.
4392         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4393
4394 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4397         (createUndo): ditto
4398         (textUndoOrRedo): comment out a currently unused var.
4399
4400         * paragraph.h (NO_NEXT): enable NO_NEXT
4401
4402         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4403
4404         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4405
4406         * exporter.C (Export): adjust for removeAutoInsets removal.
4407
4408         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4409
4410         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4411
4412         * BufferView.[Ch] (removeAutoInsets): delete function
4413
4414 2003-05-22  Angus Leeming  <leeming@lyx.org>
4415
4416         * latexrunparams.h: add a free_spacing variable.
4417
4418         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4419         to pass moving_arg, as the data is stored in runparams.fragile.
4420
4421         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4422         to Inset::latexOptional or to simpleTeXOnePar.
4423
4424         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4425         free_spacing arg to Inset::latexOptional.
4426
4427         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4428         free_spacing arg.
4429
4430 2003-05-22  Angus Leeming  <leeming@lyx.org>
4431
4432         * latexrunparams.h: add fragile and use_babel variables.
4433
4434         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4435         * buffer.C (makeLaTeXFile): store this returned value in
4436         runparams.use_babel, thus passing it to the inset::latex methods.
4437
4438         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4439         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4440
4441         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4442         longer has a fragile arg, as it is stored in runparams.fragile.
4443
4444         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4445         moving_arg parameter as the data is stored in runparams.fragile.
4446
4447         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4448         a fragile parameter as the data is stored in runparams.fragile.
4449
4450 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4453
4454 2003-05-22  Angus Leeming  <leeming@lyx.org>
4455
4456         * latexrunparams.h: add a 'bool nice' which defaults to false.
4457
4458         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4459         now encapsulated within runparams.
4460
4461         * bufferlist.C (updateIncludedTeXfiles):
4462         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4463
4464 2003-05-22  Angus Leeming  <leeming@lyx.org>
4465
4466         * latexrunparams.h: new file containing struct LatexRunParams.
4467         * Makefile.am: add new file.
4468
4469         * LaTeX.[Ch] (c-tor, run):
4470         * buffer.[Ch] (makeLaTeXFile):
4471         * bufferlist.[Ch] (updateIncludedTeXfiles):
4472         * converter.C (convert, scanLog):
4473         * converter.[Ch] (runLaTeX):
4474         * exporter.C (Export):
4475         * paragraph.[Ch] (simpleTeXOnePar):
4476         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4477         * paragraph_funcs.[Ch] (latexParagraphs):
4478         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4479         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4480         pass around a LatexRunParams parameter.
4481
4482 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * paragraph.[Ch]: remove unused constructor
4485
4486         * ParagraphList.C (erase): new function, taking two iterators
4487
4488 2003-05-22  André Pönitz  <poenitz@gmx.net>
4489
4490         * undo_funcs.C: remove duplicated code
4491
4492         * iterator.[Ch]: operator=
4493
4494 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * tabular.C (SetMultiColumn): ws changes
4497
4498         * rowpainter.C (paintFirst): get rid of a ->previous
4499
4500         * lyx_cb.C (getPossibleLabel): parlist simplification
4501
4502         * BufferView.C (ChangeInsets): simplify slightly.
4503
4504 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4505
4506         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4507         * lfuns.h: new LFUN_SPACE
4508         * lyxfunc.C: protected space has a new lfun
4509         * paragraph_funcs.C: read new space insets
4510         * text3.C:
4511         * factory.C: handle new space insets
4512
4513 2003-05-22  André Pönitz  <poenitz@gmx.net>
4514
4515         * BufferView.C:
4516         * BufferView_pimpl.C:
4517         * buffer.[Ch]:
4518         * lyxfunc.C:
4519         * undo_funcs.C: return a ParIterator from getParFromID.
4520
4521         * iterators.[Ch]: add two const's
4522
4523 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * toc.C (getTocList): adjust
4526
4527         * iterators.[Ch]: rework for parlist
4528
4529         * buffer.C (par_iterator_begin): adjust
4530         (par_iterator_end): adjust
4531
4532         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4533
4534         * BufferView.C (removeAutoInsets): adjust
4535         (ChangeInsets): adjust
4536
4537 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text.C (top_y): fix bug 1110
4540
4541 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * errorlist.[Ch]: added
4544         * buffer.C:
4545         * BufferView.[Ch]:
4546         * BufferView_pimpl.C:
4547         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4548         instead
4549
4550 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * Makefile.am: ensure that lyx is relinked upon changes to the
4553         various "convenience" libs.
4554
4555 2003-05-20  Angus Leeming  <leeming@lyx.org>
4556
4557         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4558         files are compiled in alphabetical order again.
4559
4560         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4561
4562 2003-05-19  Angus Leeming  <leeming@lyx.org>
4563
4564         * gettext.[Ch]: remove "char const * _(char const *)".
4565
4566 2003-05-19  André Pönitz  <poenitz@gmx.net>
4567
4568         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4569
4570         * Makefile.am:
4571         * BufferView.C:
4572         * DepTable.h:
4573         * LaTeXFeatures.C:
4574         * buffer.C:
4575         * lyxfont.C:
4576         * lyxlex.h:
4577         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4578
4579 2003-05-19  André Pönitz  <poenitz@gmx.net>
4580
4581         * buffer.C:
4582         * lyxlayout.[Ch]:
4583         * lyxtextclass.[Ch]:
4584         * paragraph.C:
4585         * paragraph_funcs.[Ch]:
4586         * text2.C:
4587         * text3.C: more insetenv work
4588
4589 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * ParagraphParameters.C (params2string): small bug fixed
4592
4593 2003-05-16  André Pönitz  <poenitz@gmx.net>
4594
4595         * debug.C:
4596         * bufferview_funcs.C: patch from Kornel Benko to prevent
4597           crash when _(...) is called twice in a statement
4598
4599 2003-05-16  André Pönitz  <poenitz@gmx.net>
4600
4601         * BufferView.C:
4602         * lyxfunc.C:
4603         * text.C:
4604         * text2.C:
4605         * text3.C:
4606         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4607
4608 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * lyx_main.C (init): remove spurious static_cast
4611
4612 2003-05-14  André Pönitz  <poenitz@gmx.net>
4613
4614         * BufferView.C: fix format string
4615
4616 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * BufferView.[Ch] (insertErrors): removed
4619         * BufferView.[Ch] (showErrorList): added
4620         * buffer.C (runChkTeX):
4621         * converter.C (scanLog): call showErrorList instead of inserterrors
4622
4623 2003-05-13  André Pönitz  <poenitz@gmx.net>
4624
4625         * BufferView_pimpl.C:
4626         * buffer.C:
4627         * bufferview_func.C:
4628         * MenuBackend.C:
4629         * lyxfunc.C:
4630         * lyxrc.C:
4631         * tex-accent.C:
4632         * text3.C:
4633         * toc.C:
4634         * tabular_funcs.h: tostr() from its own header
4635
4636         * ParagraphParameters.C:
4637         * ToolbarBackend.C:
4638         * bufferparams.C:
4639         * format.C:
4640         * lyxlex_pimpl.C:
4641         * text3.C: STRCONV()
4642
4643 2003-05-12  André Pönitz  <poenitz@gmx.net>
4644
4645         * BufferView.C:
4646         * BufferView_pimpl.C:
4647         * CutAndPaste.C:
4648         * LaTeX.C:
4649         * LaTeXFeatures.C:
4650         * ParagraphParameters.C:
4651         * buffer.C:
4652         * bufferlist.C:
4653         * bufferparams.C:
4654         * bufferview_funcs.C:
4655         * converter.C:
4656         * counters.C:
4657         * debug.C:
4658         * exporter.C:
4659         * format.C:
4660         * importer.C:
4661         * lyx_cb.C:
4662         * lyx_main.C:
4663         * lyxfont.C:
4664         * lyxfunc.C:
4665         * lyxvc.C:
4666         * paragraph.C:
4667         * paragraph_funcs.C:
4668         * tabular.C:
4669         * tabular_funcs.C:
4670         * text2.C:
4671         * text3.C:  boost::format -> bformat  all over the place
4672
4673
4674 2003-05-09  André Pönitz  <poenitz@gmx.net>
4675
4676         * LColor.[Ch]: Pimpl the #include <map> away
4677
4678 2003-05-09  John Levon  <levon@movementarian.org>
4679
4680         * bufferlist.C: never remove emergency saves
4681
4682 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * Makefile.am: better lib building
4685
4686 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4689         instead.
4690         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4691         (simpleTeXSpecialChars): adjust
4692         (simpleTeXSpecialChars): adjust
4693         * paragraph.C (simpleTeXOnePar): adjust
4694         * buffer.C (makeLaTeXFile): adjust
4695
4696         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4697
4698         * text2.C (changeDepth): parlist cleanup
4699         (getColumnNearX): ditto
4700
4701         * rowpainter.C (getLabelFont): parlist cleanup
4702
4703         * bufferlist.C (newFile): parlist cleanup
4704
4705         * CutAndPaste.C (eraseSelection): parlist cleanup
4706
4707         * BufferView_pimpl.C (trackChanges): parlist cleanup
4708         (dispatch): ditto
4709
4710         * BufferView.C (lockInset): parlist cleanup.
4711         (ChangeInsets): ditto
4712
4713 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * CutAndPaste.h: Update file header.
4716
4717         * CutAndPaste.C: Update file header.
4718         Store the parts cut out of the Document in a limited_stack.
4719         (copySelection): adjust
4720         (pasteSelection): new function, takes the index in the limited stack.
4721         (nrOfParagraphs): adjust
4722         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4723         simplify error inset insertion.
4724         (checkPastePossible): adjust
4725
4726 2003-05-06  John Levon  <levon@movementarian.org>
4727
4728         * text2.C: don't cast wrap inset to float
4729
4730 2003-05-05  André Pönitz  <poenitz@gmx.net>
4731
4732         * iterator.C:
4733         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4734
4735         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4736           few naked Paragraph *.
4737
4738 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4739
4740         * bufferparams.C: Output warning if a document with missing
4741         TeX document class is loaded
4742         * exporter.C: Disable TeX exports if the document class is missing
4743         * lyxtextclass.C:
4744         * lyxtextclass.h:
4745         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4746         isTeXClassAvailable()
4747
4748 2003-05-03  John Levon  <levon@movementarian.org>
4749
4750         * BufferView.h:
4751         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4752         explicit cursor show/hide
4753
4754         * BufferView_pimpl.h:
4755         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4756         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4757
4758         * lyxfunc.C: hide cursor before dispatching.
4759
4760         * lyx_cb.C:
4761         * lyxfind.C:
4762         * text.C:
4763         * text3.C: remove explicit cursor hides
4764
4765 2003-05-02  André Pönitz  <poenitz@gmx.net>
4766
4767         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4768
4769         * undo_funcs.C:
4770         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4771           linked lists
4772
4773         * text2.C: tiny whitespace
4774
4775 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * undo_funcs.C: almost only ws changes.
4778
4779         * ParagraphList.C (splice): just return if pl is empty.
4780
4781 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * ParagraphList.C (splice): new function.
4784
4785         * CutAndPaste.C (pasteSelection): use it
4786
4787 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * CutAndPaste.C (pasteSelection): remove the last next and
4790         previous from this file.
4791
4792 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * CutAndPaste.C (pasteSelection): more clean up, user proper
4795         ParagraphList functions for pasteing.
4796
4797         * ParagraphList.C (insert): new function, three arg insert
4798
4799 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * ParagraphList.C (insert): new function, three arg insert
4802
4803         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4804         not on paragraphs.
4805
4806 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4809
4810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4813
4814 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4817         (copySelection): clean up a bit.
4818         (pasteSelection): use make_pair
4819
4820         * ParagraphList.C (ParagraphList): implement copy constructor
4821         (operator=): implement, base on copy constructor.
4822         (assign): new func
4823
4824         * paragraph.C (erase): return a bool
4825
4826         * paragraph_pimpl.C (erasePos): remove function, move contents...
4827         (erase): ... here. Return a bool.
4828         (erase): call erase instead of erasePos.
4829
4830 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * ParagraphList.h: define PitPosPair
4833         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4834         ParagraphList, fix a bug on pasting multiple pars
4835         * text2.C: change interface to C&P
4836
4837 2003-04-30  André Pönitz  <poenitz@gmx.net>
4838
4839         * undo_func.C: revert part of yesterday's patch 2
4840
4841 2003-04-30  John Levon  <levon@movementarian.org>
4842
4843         * LColor.C: s/tabular/table/
4844
4845 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * text3.C (dispatch): do not convert iterator -> pointer
4848         * undo_funcs.C (setCursorParUndo): ditto
4849         * text_funcs.C (transposeChars): ditto
4850
4851         * text2.C (setLayout): ws changes only
4852
4853         * text.C (breakParagraph): do not convert iterator -> pointer
4854         (insertChar): ditto
4855         (acceptChange): ditto
4856         (rejectChange): ditto
4857         (changeCase): ditto
4858         (Delete): ditto
4859         (backspace): ditto
4860
4861         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4862         pointer
4863
4864 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * text3.C (gotoInset): YABG (yet another bad getChar)
4867
4868 2003-04-29  André Pönitz  <poenitz@gmx.net>
4869
4870         * paragraph.h: make operator= private unimplemented as long as
4871           it is unusable
4872
4873         * ParagraphList.C: whitespace
4874
4875         * paragraph.[Ch]:
4876         * paragraph_pimpl.[Ch]:
4877         * paragraph_funcs.C:
4878         * CutAndPaste.C:
4879         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4880
4881         * text2.C:
4882           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4883
4884 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4887         * paragraph.[Ch] (erase):
4888         * paragraph_pimpl.[Ch] (erase): change return type and value
4889         * text2.C (cutSelection): some rework
4890
4891 2003-04-28  John Levon  <levon@movementarian.org>
4892
4893         * bufferlist.C: changes for unsaved changes dialog
4894
4895 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * bufferlist.C (newFile): set language (messages_) for new
4898         documents also.
4899
4900         * buffer.C (readFile): ws changes only.
4901
4902 2003-04-28  André Pönitz  <poenitz@gmx.net>
4903
4904         * undo_funcs.C:
4905         * lyxfunc.C:
4906         * buffer.[Ch]:
4907         * BufferView_pimpl.C:
4908         * BufferView.C: getParFromID related ParagraphList::iterator changes
4909
4910 2003-04-28  André Pönitz  <poenitz@gmx.net>
4911
4912         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4913           Changes
4914
4915 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * messages.C: remove one more localedir class variable.
4918
4919 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * messages.C (getLocaleDir): singleton generation function
4922         (Pimpl): use it.
4923         (Messages): add a default constructor.
4924
4925         * main.C (main): do not setup localedir here, do not call
4926         gettext_init.
4927
4928         * gettext.C (_): use it.
4929         (gettext_init): delete funciton
4930
4931 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * gettext.C (getLyXMessages): new singleton generating function.
4934
4935         * buffer.C (updateDocLang): adjust
4936
4937         * Makefile.am (messages.o): add target
4938         (main.o): remove target
4939
4940 2003-04-27  John Levon  <levon@movementarian.org>
4941
4942         * bufferlist.C:
4943         * lyx_cb.C:
4944         * lyxfunc.C:
4945         * lyxvc.C: specify cancel button in Alert::prompt
4946
4947 2003-04-26  John Levon  <levon@movementarian.org>
4948
4949         * text3.C:
4950         * lyxfunc.C:
4951         * lfuns.h:
4952         * LyXAction.C: add LFUN_INSET_SETTINGS
4953
4954         * lyxfunc.C: don't enable tabular-feature when there's
4955         just any locking inset
4956
4957 2003-04-26  John Levon  <levon@movementarian.org>
4958
4959         * bufferlist.C: re-add Cancel to buffer close question
4960
4961         * lyxfunc.C: fix import UI a bit
4962
4963 2003-04-25  John Levon  <levon@movementarian.org>
4964
4965         * gettext.C: remove the broken asserts for now
4966
4967 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * messages.C: make case where setlocale cannot comply work better.
4970
4971         * buffer.C (updateDocLang): new function
4972         (changeLanguage): use it
4973         (readFile): use it
4974
4975         * text2.C (setCounter): use B_ a bit.
4976
4977         * lyxlayout.C (Read): be sure to trim the label strings.
4978
4979         * messages.C (Messages): fix typo in comment
4980
4981         * buffer.C (readFile): set message_ after file is loaded.
4982         (makeDocBookFile): remove double return
4983         (changeLanguage): reset message_ upon language change.
4984         (B_): new func, use this to get translated buffer strings.
4985
4986         * main.C: add myself and Jean Marc as authors.
4987
4988 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * messages.[hC]: pimplify Messages, and three different pimpls to be
4991         used in different circumstances.
4992
4993         * gettext.[Ch]: change for use with new message code.
4994
4995 2003-04-24 André Pönitz <poenitz@gmx.net>
4996
4997         * factory.C: support for eqref
4998
4999 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * messages.[Ch]: add missing char
5002
5003         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5004
5005         * messages.[Ch]: New files
5006
5007 2003-04-18  John Levon  <levon@movementarian.org>
5008
5009         * BufferView.h:
5010         * BufferView.C:
5011         * BufferView_pimpl.C:
5012         * lfuns.h:
5013         * LyXAction.C:
5014         * lyxtext.h:
5015         * text2.C: remove layout-copy/paste (bug 778)
5016
5017 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5020
5021 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5024         if they succeed. Act accordingly.
5025
5026 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * text2.C (setCharFont): adjust
5029         (setCounter): adjust
5030         (insertStringAsLines): adjust
5031
5032         * text.C (leftMargin): adjust
5033         (setHeightOfRow): adjust
5034
5035         * rowpainter.C (paintFirst): adjust
5036         (paintLast): adjust
5037
5038         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5039         (outerHook): ditto
5040         (isFirstInSequence): ditto
5041         (getEndLabel): ditto
5042         (outerFont): adjust
5043
5044         * paragraph.C (getParLanguage): comment out some hard stuff.
5045
5046         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5047         (sgmlError): ditto
5048         (simpleDocBookOnePar): ditto
5049         (makeDocBookFile): use ParagraphList::iterator
5050
5051         * CutAndPaste.C (pasteSelection): adjust
5052
5053 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * text2.C (getFont): adjust
5056         (getLayoutFont): adjust
5057         (getLabelFont): adjust
5058
5059         * paragraph_funcs.C (TeXOnePar): adjust
5060
5061         * buffer.C (simpleLinuxDocOnePar): adjust
5062         (simpleDocBookOnePar): adjust
5063
5064         * CutAndPaste.C (pasteSelection): adjust
5065
5066         * BufferView.C (getEncoding): adjust
5067
5068         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5069
5070 2003-04-16  John Levon  <levon@movementarian.org>
5071
5072         * lyxfind.C: use parlist stuff for search/changes
5073
5074 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5077
5078         * text2.C (deleteEmptyParagraphMechanism): adjust
5079
5080         * text2.[Ch] (ownerParagraph): delete func (both of them
5081
5082 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5085
5086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * ParagraphList.C: prepare for NO_NEXT
5089
5090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * text2.C (getFont): adjust
5093         (getLayoutFont): adjust
5094         (getLabelFont): adjust
5095
5096         * paragraph.C (getFont): adjust
5097         (getLabelFont): adjust
5098         (getLayoutFont): adjust
5099
5100         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5101
5102 2003-04-15  John Levon  <levon@movementarian.org>
5103
5104         From Angus Leeming
5105
5106         * lyx_main.C: handle Include in .ui files
5107
5108 2003-04-15  John Levon  <levon@movementarian.org>
5109
5110         * MenuBackend.C: make the doc files length shorter
5111
5112         * ToolbarBackend.h:
5113         * ToolbarBackend.C: handle toolbar placement flags,
5114         Minibuffer
5115
5116 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5119         adjust
5120
5121         * paragraph_funcs.C (TeXOnePar): adjust
5122
5123         * paragraph.C (getLabelFont): add outerfont arg, adjust
5124         (getLayoutFont): ditto
5125         (simpleTeXOnePar): adjust
5126
5127         * paragraph_pimpl.C (realizeFont): delete func
5128
5129 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5130
5131         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5132         row argument, constify cur argument.
5133
5134 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * text2.C (getFont): adjust
5137         (getLayoutFont): adjust
5138         (getLabelFont): adjust
5139
5140         * paragraph_funcs.C (TeXOnePar): adjust
5141         (outerFont): new func...
5142         (realizeFont): ...moved out from here, changed this to facilitate
5143         transition
5144
5145         * paragraph.C (getFont): take outerfont as arg, adjust
5146         (simpleTeXOnePar): add outerfont arg, adjust
5147
5148         * buffer.C (simpleLinuxDocOnePar): adjust
5149         (simpleDocBookOnePar): adjust
5150
5151         * CutAndPaste.C (pasteSelection): adjust
5152
5153         * BufferView.C (getEncoding): adjust
5154
5155 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * text2.C (setCharFont): adjust
5158         (setCounter): adjust
5159
5160         * text.C (leftMargin): adjust
5161         (setHeightOfRow): adjust
5162
5163         * rowpainter.C (paintFirst): adjust
5164         (paintLast): adjust
5165
5166         * paragraph_pimpl.C (realizeFont): adjust
5167
5168         * paragraph.C (isFirstInSequence): move from here...
5169         * paragraph_funcs.C (isFirstInSequence): ...to here
5170
5171         * paragraph.C (outerHook): move from here...
5172         * paragraph_funcs.C (outerHook): ...to here
5173
5174         * paragraph.C (depthHook): move from here...
5175         * paragraph_funcs.C (depthHook): ...to here
5176
5177         * paragraph.C (getEndLabel): move from here...
5178         * paragraph_funcs.C (getEndLabel): ...to here
5179
5180         * text2.C (realizeFont): move from here...
5181         * paragraph_funcs.C (realizeFont): ...to here
5182
5183 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5186
5187 2003-04-14  Angus Leeming  <leeming@lyx.org>
5188
5189         * LColor.[Ch]: scrap LColor mathcursor.
5190
5191 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * lyxlex.[Ch] (text): delete function
5194         * trans.C (Load): adjust
5195         * paragraph_funcs.C (readParToken): adjust
5196
5197 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5200         vector<char> instead of a char[].
5201
5202         * lyxlex_pimpl.C (getString): adjust
5203         (next): adjust
5204         (lex): use getString
5205         (eatLine): adjust
5206         (nextToken): adjust
5207
5208         * lyxlex.C (text): use pimpl_->getString()
5209         (getBool): ditto
5210         (findToken): ditto
5211
5212 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5215         (makeFontEntriesLayoutSpecific): temp var for par.size()
5216         (setLayout): temp var for ownerParagraphs().end()
5217         (fullRebreak): temp var for rows().end()
5218         (selectionAsString): temp var for boost::next(startpit), realize
5219         that the while really is a regular for loop.
5220         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5221         setCursor in one place.
5222         (setParagraph): temp vr for ownerParagraphs().end()
5223         (updateCounters): make the while loop a for loop
5224         (cutSelection): temp var for ownerParagraphs().end()
5225         (updateInset): make the do {} while() a regular for loop
5226         (getCursorX): use temp vars
5227         (setCurrentFont): use temp vars
5228         (getColumnNearX): use temp vars
5229
5230 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * text.C (transformChar): use temp var for getChar
5233         (computeBidiTables): use temp var for row->par()
5234         (fill): move temp vars for row->par() and pit->layout() earlier in
5235         the function.
5236         (labelFill): use temp var for row->par()
5237         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5238         asc and desc, realize that pit never changes and that firstpit is
5239         just a duplicate and not needed. Exchange rit->par() with pit in a
5240         lot of places.
5241         (breakAgain): use a temp var for boost::next(rit)
5242         (breakAgainOneRow): ditto
5243         (breakParagraph): use a temp var for rows().begin()
5244         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5245         (cursorRightOneWord): use temp var for cursor.par() and
5246         cursor.pos(), remove usage of tmpcursor.
5247         (cursorLeftOneWord): use temp var for cursor.par() and
5248         cursor.pos() only set cur at end of function.
5249
5250 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * text.C, text2.C: exchange all usage of Paragraph::next with
5253         boost::next(ParagraphList::iterator)
5254
5255         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5256
5257         * text2.C (cursorTop): simplify implementation
5258         (cursorBottom): ditto
5259         (setParagraph): use ParagraphList::iterator
5260         (setCurrentFont): adjust
5261         (getColumnNearX): adjust
5262         (cursorRight): adjust
5263         (cursorLeft): remove usage of Paragraph::previous
5264         (cursorUpParagraph): ditto
5265         (deleteEmptyParagraphMechanism): slight cleanup
5266
5267         * text.C (isBoundary): take a Paragraph const & instead of a
5268         pointer as arg.
5269         (addressBreakPoint): ditto
5270         (leftMargin): remove usage of Paragraph::previous.
5271         (setHeightOfRow): ditto
5272         (cursorLeftOneWord): ditto
5273         (selectNextWordToSpellcheck): ditto
5274         (Delete): ditto
5275         (backspace): ditto
5276         (breakParagraph): remove one usage of Paragraph::next
5277         (redoParagraph): ditto
5278         (acceptChange): ditto
5279         (insertChar): adjust
5280         (rowBreakPoint): adjust
5281
5282         * bufferview_funcs.C (toggleAndShow): adjust
5283
5284 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5287         methods to access it.
5288         * lyxtext.h:
5289         * text.C: Added updateRowPositions to compute all row positions.
5290         Make top_y and getRowNearY() to use the cached y position
5291
5292 2003-04-11  John Levon  <levon@movementarian.org>
5293
5294         * text.C (rowBreakPoint): reintroduce the labelEnd
5295         checks, code copied from the row fill stuff. Deep voodoo.
5296
5297         * text.C (fill): add a comment and debugging for the
5298         next poor soul.
5299
5300 2003-04-11  John Levon  <levon@movementarian.org>
5301
5302         * text.C: make sure fullrow insets get wrapped to the next line,
5303         even when they're in a manual label
5304
5305 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * text2.C (insertParagraph): make it take ParagraphList::iterator
5308         as arg.
5309         (setLayout): make it return ParagraphList::iterator
5310         (redoParagraphs): ditto
5311         (setCounter): ditto
5312         (checkParagraph): ditto
5313
5314         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5315
5316         * text2.C: adjust several funcs.
5317         (realizeFont): take a ParagraphList::iterator as arg.
5318         (getLayoutFont): ditto
5319         (getLabelFont): ditto
5320         (setCharFont): ditto
5321
5322         * text.C: adjust several funcs.
5323
5324 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * text.C (selectNextWordToSpellcheck): don't accidentally
5327         skip insets
5328
5329 2003-04-10  John Levon  <levon@movementarian.org>
5330
5331         * ToolbarBackend.C (getIcon): special handling for
5332         LFUN_MATH_DELIM
5333
5334 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * text2.C (cursorRight): a getChar assert fixed
5337
5338 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * text2.C (getFont): change to take a ParagraphList::iterator
5341         instead of Paragraph*
5342         Adjust several functions.
5343
5344         * text.C (transformChar): change to take a ParagraphList::iterator
5345         instead of Paragraph*
5346         (singleWidth): ditto
5347         Adjust several functions.
5348
5349         * rowpainter.C: adjust several functions
5350         * rowpainter.h:store a ParagraphList::iterator and not a
5351         Paragraph&.
5352
5353
5354 2003-04-09  John Levon  <levon@movementarian.org>
5355
5356         * lyxfunc.C:
5357         * lfuns.h:
5358         * LyXAction.h:
5359         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5360         and the "help" bits as well
5361
5362 2003-04-09  John Levon  <levon@movementarian.org>
5363
5364         * ToolbarBackend.h:
5365         * ToolbarBackend.C: allow multiple toolbars
5366
5367 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * undo_funcs.C (setCursorParUndo): adjust
5370
5371         * text_funcs.C (transposeChars): adjust
5372
5373         * text3.C (gotoNextInset): adjust
5374         (dispatch): adjust
5375
5376         * text2.C (setLayout): adjust
5377         (changeDepth): adjust
5378         (setFont): adjust
5379         (redoParagraphs): adjust
5380         (selectionAsString): adjust
5381         (setParagraph): adjust
5382         (insertInset): adjust
5383         (cutSelection): adjust
5384         (copySelection): adjust
5385         (pasteSelection): adjust
5386         (insertStringAsLines): adjust
5387         (updateInset): adjust
5388         (setCursor): change to take a ParagraphList::iterator parameter
5389         (setCursorIntern): change to take a ParagraphList::iterator parameter
5390         (setCurrentFont): adjust
5391         (cursorLeft): adjust
5392         (cursorRight): adjust
5393         (deleteEmptyParagraphMechanism): adjust
5394
5395         * text.C (breakParagraph): adjust
5396         (insertChar): adjust
5397         (acceptChange): adjust
5398         (rejectChange): adjust
5399         (selectNextWordToSpellcheck): adjust
5400         (changeCase): adjust
5401         (Delete): adjust
5402         (backspace): adjust
5403
5404         * lyxfind.C (SearchForward): adjust
5405         (SearchBackward): adjust
5406         (nextChange): adjust
5407
5408         * lyxcursor.C (par): adjust
5409
5410         * lyxcursor.h: store a ParagraphList::iterator instead of a
5411         Paragraph*
5412
5413         * lyx_cb.C (getPossibleLabel): adjust
5414
5415         * bufferview_funcs.C (toggleAndShow): adjust
5416
5417         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5418         (dispatch): adjust
5419
5420         * BufferView.C (removeAutoInsets): adjust
5421         (lockedInsetStoreUndo): adjust
5422
5423 2003-04-09  John Levon  <levon@movementarian.org>
5424
5425         * ToolbarBackend.C: try icon without argument
5426         if with argument fails
5427
5428 2003-04-08  John Levon  <levon@movementarian.org>
5429
5430         * ToolbarBackend.h:
5431         * ToolbarBackend.C: add getIcon(), handle tooltip,
5432         and change from "Icon" to "Item".
5433
5434 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * BufferView.C (lockInset): another bad getchar crunched
5437
5438 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5441         again)
5442
5443 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5444
5445         * lyxfind.C (searchForward, searchBackwards): bug 782
5446
5447 2003-04-07  John Levon  <levon@movementarian.org>
5448
5449         * paragraph.C: remove dead comment
5450
5451         * text.C: remove troublesome depth-fiddling code
5452         in leftMargin() and rightMargin() (bug 1017)
5453
5454         * text.C: fix breaking of rows in nested lists
5455         (bug 1004)
5456
5457         * text2.C (updateCounters): fix up depth values
5458         (bug 1013)
5459
5460 2003-04-07  John Levon  <levon@movementarian.org>
5461
5462         * BufferView_pimpl.C: clear message when doc finishes resizing,
5463         and after a mouse event
5464
5465         * lyxfunc.C: clear message after exiting inset
5466
5467 2003-04-07  John Levon  <levon@movementarian.org>
5468
5469         * bufferview_funcs.C: show math status not outside
5470         status in the statusbar
5471
5472 2003-04-07  John Levon  <levon@movementarian.org>
5473
5474         * lyxfunc.C: note status changed after a depth change
5475
5476 2003-04-04  Angus Leeming  <leeming@lyx.org>
5477
5478         * LaTeX.h: move AuxInfo operator==, != out of line.
5479         Remove LaTeX virtual destructor; nothing derives from it.
5480         Move operator()() out of public area and rename it startscript().
5481         Change protected for private.
5482
5483 2003-04-04  Angus Leeming  <leeming@lyx.org>
5484
5485         * lyxfunc.C:
5486         * text2.C: remove unneeded #includes.
5487
5488 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5489
5490         * text2.C (dEPM): fix the heigth of the next row
5491
5492 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5493
5494         * text.C: squashed an invalid getChar requester + some ws changes
5495
5496 2003-04-03  John Levon  <levon@movementarian.org>
5497
5498         * bufferview_funcs.h:
5499         * bufferview_funcs.C:
5500         * lyxfunc.C:
5501         * lyxtext.h:
5502         * text2.C: make getStatus work for the env depth lfuns
5503
5504 2003-04-03  John Levon  <levon@movementarian.org>
5505
5506         * bufferview_funcs.h:
5507         * bufferview_funcs.C:
5508         * lyxfunc.C:
5509         * lyxtext.h:
5510         * text2.C: parlistize decDepth(), by merging it with incDepth()
5511
5512 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * lyxrow.h: store a ParagraphList::iterator instead of a
5515         Paragraph* and adjust other class functions to suit.
5516
5517         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5518         above.
5519
5520 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * text2.C (setCursor): do not anchor to cursor row for the time being
5523
5524 2003-04-02  John Levon  <levon@movementarian.org>
5525
5526         * LyXAction.C:
5527         * lfuns.h:
5528         * lyx_main.C:
5529         * lyxtext.h:
5530         * text.C:
5531         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5532
5533 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * paragraph.h: make ParagraphList and ParagraphList::iterator
5536         friends of Paragraph.
5537
5538         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5539
5540         * ParagraphList.C: Use the private next_ and previous_ from
5541         Paragraph.
5542
5543 2003-04-01  John Levon  <levon@movementarian.org>
5544
5545         * ToolbarBackend.h:
5546         * ToolbarBackend.C:
5547         * Makefile.am: rename, remove defaults gunk
5548
5549         * MenuBackend.h:
5550         * MenuBackend.C: remove defaults gunk
5551
5552         * Languages.h:
5553         * Languages.C: remove defaults gunk
5554
5555         * lyx_main.h:
5556         * lyx_main.C: error out if files couldn't be found.
5557
5558 2003-04-02  John Levon  <levon@movementarian.org>
5559
5560         * text2.C: make incDepth() use parlist
5561
5562 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * undo_funcs.C (firstUndoParagraph): adjust
5565
5566         * text3.C (gotoInset): adjust
5567         (dispatch): adjust, and rewrite loop.
5568
5569         * text2.C (init): adjust, and rewrite loop.
5570         (redoParagraphs): adjust
5571         (updateInset): adjust, and rewrite loop.
5572         (deleteEmptyParagraphMechanism): adjust
5573
5574         * tabular.C (LyXTabular): adjust
5575         (SetMultiColumn): adjust
5576         (TeXRow): adjust
5577
5578         * lyxtext.[Ch] (ownerParagraph): delete function
5579         (ownerParagraphs): new function returns a ParagraphList.
5580
5581         * BufferView.C (removeAutoInsets): adjust
5582         (insertErrors): adjust
5583         (setCursorFromRow): adjust
5584
5585 2003-04-01  Angus Leeming  <leeming@lyx.org>
5586
5587         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5588         in the frontends.
5589
5590 2003-04-02  John Levon  <levon@movementarian.org>
5591
5592         * lyxtext.h:
5593         * text.C:
5594         * Makefile.am:
5595         * text_funcs.h:
5596         * text_funcs.C: make transposeChars a free function
5597
5598         * lyxrow_funcs.C: remove wrong comment
5599
5600 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * lyxtext.h: adjust
5603         * rowpainter.C: adjust
5604         * text.C: adjust
5605         * text2.C: adjust
5606         * text3.C: adjust
5607
5608         * lyxrow_funcs. [Ch]: new files
5609
5610         * lyxrow.[Ch]: remove next and previous pointers
5611         (next,previous): remove accessor functions
5612         (isParEnd): move to lyxrow_funcs
5613         (lastPos): move to lyxrow_funcs
5614         (nextRowIsAllInset): move to lyxrow_funcs
5615         (lastPrintablePos): move to lyxrow_funcs
5616         (numberOfSeparators): move to lyxrow_funcs
5617         (numberOfHfills): move to lyxrow_funcs
5618         (numberOfLabelHfills): move to lyxrow_funcs
5619         (hfillExpansion): move to lyxrow_funcs
5620
5621         * lyxfunc.C: adjust
5622
5623         * bufferview_funcs.C (toggleAndShow): adjust
5624
5625         * RowList.h: Remove class RowList from file leave just a
5626         std::list<Row>.
5627
5628         * RowList.C: delete file
5629
5630         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5631         and lyxrow_funcs.h
5632
5633 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * text3.C (cursorPrevious): adjust
5636         (cursorNext): adjust
5637         (dispatch): adjust
5638
5639         * text2.C (redoHeightOfParagraph): adjust
5640         (redoDrawingOfParagraph): adjust
5641         (setCursor): adjust
5642
5643         * text.C (breakParagraph): adjust
5644         (insertChar): adjust
5645         (backspace): adjust
5646
5647         * rowpainter.C (RowPainter): adjust
5648         (leftMargin): simplify and adjust
5649         (most rowpainter functions): adjust.
5650
5651         * rowpainter.h: store the row as RowList::iterator not as Row*
5652
5653         * lyxcursor.C (row): taka RowList::iterator as arg
5654         (irow): ditto
5655
5656         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5657         of Row*.
5658
5659 2003-04-01  Angus Leeming  <leeming@lyx.org>
5660
5661         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5662         stuff like bool Bool.
5663
5664 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5667         rewrite a loop
5668
5669 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5672         RowList::iterator.
5673
5674         * lyxtext.h (rows): drop one version and leve a const variant that
5675         returns a RowList::iterator.
5676
5677 2003-03-31  Angus Leeming  <leeming@lyx.org>
5678
5679         * text.C (fill): ensure that the signature is the same as that in the
5680         header file.
5681
5682 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * text2.C (redoParagraphs): adjust
5685         (updateCounters): adjust
5686         (checkParagraph): adjust
5687         (getColumnNearX): adjust and reformat a bit.
5688
5689         * text.C (top_y): adjust
5690         (workWidth): adjust
5691         (leftMargin): adjust
5692         (prepareToPrint): adjust
5693         (getRow): adjust
5694         (getRowNearY): adjust
5695
5696         * lyxtext.h: make rowlist_ mutable.
5697
5698         * RowList.h: add const_iterator
5699         * RowList.C: adjust for RowList::const_iterator.
5700
5701         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5702         adjust.
5703
5704 2003-03-31  John Levon  <levon@movementarian.org>
5705
5706         * lyxrc.h:
5707         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5708
5709         * lyx_main.C: set default fonts from using lyx_gui funcs
5710
5711         * exporter.C: pdf_mode moved from lyxrc
5712
5713         * lyx_cb.C:
5714         * lyxfunc.C: changes from above
5715
5716 2003-03-31  John Levon  <levon@movementarian.org>
5717
5718         * lyx_main.C: fix to the last fix
5719
5720 2003-03-31  John Levon  <levon@movementarian.org>
5721
5722         * bufferlist.C: "Load original" -> "Load Original"
5723
5724         * converter.C:
5725         * exporter.C:
5726         * importer.C:
5727         * lyx_main.C:
5728         * format.C: more Alert cleanups
5729
5730 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * text2.C (removeParagraph): make it take a RowList::iterator as
5733         arg, adjust.
5734         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5735         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5736
5737         * text.C (anchor_row): make it take a RowList::iterator as arg,
5738         adjust.
5739         (computeBidiTables): make it take a const reference to Row instead
5740         of Row pointer, adjust.
5741         (leftMargin): make it take a RowList::iterator as arg, adjust.
5742         (rowBreakPoint): adjust
5743         (breakAgainOneRow): make it take a RowList::iterator as arg,
5744         adjust.
5745         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5746
5747         * bufferview_funcs.C (toggleAndShow): adjust
5748
5749 2003-03-30  John Levon  <levon@movementarian.org>
5750
5751         * Makefile.am:
5752         * BoostFormat.h:
5753         * boost-inst.C: moved to support
5754
5755         * several files: changes as a result
5756
5757 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * text2.C (LyXText): adjust.
5760         (init): adjust
5761         (removeRow): make it take a RowList::iterator as arg, adjust.
5762         (fullRebreak): adjust
5763         (deleteEmptyParagraphMechanism): adjust
5764         (clearPaint): adjust
5765         (postPaint): adjust
5766
5767         * text.C (top_y): adjust
5768         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5769         (breakAgain): make it take a RowList::iterator as arg, adjust.
5770         (breakParagraph): adjust
5771         (insertChar): adjust
5772         (backspace): adjust
5773
5774         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5775         need_break_row, and refresh_row.
5776
5777         * text3.C (dispatch): adjust
5778
5779         * text2.C (checkParagraph): adjust
5780         (setCursor): adjust
5781         (setCursorFromCoordinates): adjust
5782
5783         * text.C (top_y): adjust
5784         (workWidth): adjust
5785         (getRow): make it return a RowList::iterator, adjust
5786         (getRowNearY): make it return a RowList::iterator, adjust
5787
5788         * text2.C (init): adjust
5789         (insertRow): remove function
5790         (insertParagraph): adjust
5791         (redoParagraphs): adjust
5792         (fullRebreak): adjust
5793         (updateCounters): adjust
5794
5795         * text.C (top_y): rewrite to use RowList iterators.
5796         (top_y): adjust
5797         (setHeightOfRow): rewrite to sue RowList iterators.
5798         (appendParagraph): adjust
5799         (breakAgain): adjust
5800         (breakAgainOneRow): adjust
5801         (breakParagraph): adjust
5802         (getRow): adjust
5803         (getRowNearY): adjust, and remove commented code.
5804
5805         * lyxtext.h (firstRow): delete function
5806         (lastRow): delete function
5807         (rows): new function (const and non-const versions.)
5808         (insertRow): delete function
5809
5810         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5811
5812 2003-03-29  John Levon  <levon@movementarian.org>
5813
5814         * BufferView_pimpl.C: always update scrollbar top
5815         because pasting text when we're anchored could mean we
5816         miss an update altogether
5817
5818 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * text2.C (init): use rowlist_.end() and not 0.
5821         (insertRow): change to take a RowList::iterator as arg, adjust
5822         for this.
5823         (insertParagraph): change to take a RowList::iterator as arg,
5824         adjust for this.
5825         (redoParagraphs): remove some debug msgs.
5826
5827         * text.C (appendParagraph): change to take a RowList::iterator
5828         arg, adjust for this.
5829         (breakAgain): add an assert
5830         (breakAgainOneRow): ditto
5831
5832 2003-03-29  John Levon  <levon@movementarian.org>
5833
5834         * text2.C: do not clear selection after inc/decDepth
5835         (bug 550)
5836
5837 2003-03-29  John Levon  <levon@movementarian.org>
5838
5839         * BufferView.C:
5840         * buffer.C: fix broken strerrors according to Lars
5841
5842 2003-03-29  John Levon  <levon@movementarian.org>
5843
5844         * converters.C: more Alert cleanups
5845
5846 2003-03-29  John Levon  <levon@movementarian.org>
5847
5848         * bufferview_funcs.C: remove pointless Alert
5849
5850         * buffer.C: fix confusing error message when
5851         a template is chmoded 000
5852
5853 2003-03-29  John Levon  <levon@movementarian.org>
5854
5855         * BufferView.C:
5856         * BufferView.h:
5857         * BufferView_pimpl.C: Alert fixes
5858
5859         * Makefile.am:
5860         * tabular.C:
5861         * tabular-old.C: remove unused table compat reading
5862
5863 2003-03-29  John Levon  <levon@movementarian.org>
5864
5865         * BufferView.C:
5866         * buffer.C:
5867         * lyx_cb.h:
5868         * lyx_cb.C: more Alert cleanups
5869
5870         * lyxfunc.C: don't allow chktex if not latex document
5871
5872 2003-03-29  John Levon  <levon@movementarian.org>
5873
5874         * lyx_cb.C:
5875         * BufferView.C:
5876         * buffer.C: warnings pushed down from support/,
5877         kill err_alert
5878
5879 2003-03-29  John Levon  <levon@movementarian.org>
5880
5881         * lyxfunc.C: safety check for C-r (revert)
5882
5883 2003-03-29  John Levon  <levon@movementarian.org>
5884
5885         * bufferlist.h:
5886         * bufferlist.C: several UI fixes using Alert::prompt.
5887         Fix the pointless looping quit code. Fix stupid revert
5888         behaviour (bug 938)
5889
5890         * lyxvc.h:
5891         * lyxvc.C:
5892         * lyx_cb.C: use Alert::prompt
5893
5894         * lyx_main.C: remove a silly question
5895
5896         * lyxfunc.C: remove a couple of silly questions,
5897         use Alert::prompt
5898
5899 2003-03-28  John Levon  <levon@movementarian.org>
5900
5901         * text2.C: fix bug 974 (End on empty par)
5902
5903 2003-03-28  John Levon  <levon@movementarian.org>
5904
5905         * BufferView_pimpl.C:
5906         * LyXAction.C:
5907         * lfuns.h: remove do-nothing math greek lfuns
5908
5909 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * lyxgluelength.h (isValidGlueLength): add default arg on
5912         parameter 2. Remove default arg from friend in class.
5913
5914         * lyxlength.h (isValidLength): add default arg on parameter 2.
5915         Remove default arg from friend in class.
5916
5917         * text2.C (LyXText): adjust, initialize refresh_row.
5918         (init): adjust
5919         (removeRow): adjust
5920         (insertRow): adjust
5921         (insertParagraph): adjst
5922         (redoParagraphs): adjust
5923         (fullRebreak): adjust
5924         (updateCounters): adjust
5925         (deleteEmptyParagraphMechanism): first attempt at fixing a
5926         crashing bug.
5927
5928         * text.C (top_y): adjust
5929         (setHeightOfRow): adjust
5930         (getRow): adjust
5931         (getRowNearY): adjust
5932
5933         * lyxtext.h: include RowList.h
5934         (~LyXText): not needed anymore, deleted.
5935         (firstRow): modify for RowList
5936         (lastRow): new function
5937         Delete firstrow and lastrow class variables, add a Rowlist
5938         rowlist_ class variable.
5939
5940         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5941         paragraph is empty.
5942
5943         * RowList.C (insert): fix case where it == begin().
5944
5945 2003-03-26  Angus Leeming  <leeming@lyx.org>
5946
5947         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5948         the thesaurus dialog.
5949
5950 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5953
5954         * RowList.[Ch]: new files
5955
5956         * ParagraphList.C (erase): handle the case where it == begin
5957         correctly.
5958
5959 2003-03-25  John Levon  <levon@movementarian.org>
5960
5961         * Makefile.am:
5962         * aspell_local.h:
5963         * aspell.C: add new aspell support
5964
5965         * lyxrc.h:
5966         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5967         have it accessible.
5968
5969 2003-03-25  Angus Leeming  <leeming@lyx.org>
5970
5971         * lfuns.h:
5972         * LyXAction.C (init): new LFUN_INSET_INSERT.
5973
5974         * BufferView_pimpl.C (dispatch): split out part of the
5975         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5976
5977         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5978         LFUN_INSET_APPLY.
5979
5980 2003-03-25  Angus Leeming  <leeming@lyx.org>
5981
5982         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5983
5984 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * text2.C:
5987         * text3.C: remove useless row->height(0)
5988
5989 2003-03-25  John Levon  <levon@movementarian.org>
5990
5991         * lyxtext.h:
5992         * text2.C:
5993         * text3.C: rename the refreshing stuff to better names
5994
5995 2003-03-24  John Levon  <levon@movementarian.org>
5996
5997         * BufferView_pimpl.h:
5998         * BufferView_pimpl.C: update layout choice on a mouse
5999         press/release
6000
6001 2003-03-23  John Levon  <levon@movementarian.org>
6002
6003         * Makefile.am: fix commandtags.h reference
6004
6005 2003-03-22  John Levon  <levon@movementarian.org>
6006
6007         * BufferView_pimpl.C:
6008         * lyxtext.h:
6009         * rowpainter.C:
6010         * rowpainter.h:
6011         * text.C:
6012         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6013
6014 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6015
6016         * lyxtext.h:
6017         * text.C: take the rtl methods out of line
6018
6019 2003-03-21 André Pönitz <poenitz@gmx.net>
6020
6021         * metricsinfo.[Ch]: new files containing structures to be passed around
6022         during the two-phase-drawing...
6023
6024 2003-03-21 André Pönitz <poenitz@gmx.net>
6025
6026         * lyxtextclass.C: read 'environment' tag.
6027
6028 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6029
6030         * text2.C (removeRow): fix bug 964
6031
6032 2003-03-20  John Levon  <levon@movementarian.org>
6033
6034         * rowpainter.C:
6035         * text.C:
6036         * text2.C: paint cleanups. Inset::update() dropped font
6037         parameter
6038
6039 2003-03-19  John Levon  <levon@movementarian.org>
6040
6041         * lyxfunc.C: only fitcursor/markDirty if available()
6042
6043 2003-03-19  John Levon  <levon@movementarian.org>
6044
6045         * commandtags.h: rename to ...
6046
6047         * lfuns.h: ... this, and renumber / cleanup
6048
6049 2003-03-19  John Levon  <levon@movementarian.org>
6050
6051         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6052         fit the cursor after an lfun
6053
6054         * BufferView.h:
6055         * BufferView.C:
6056         * BufferView_pimpl.h:
6057         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6058
6059         * LyXAction.C: layout-character should have ReadOnly
6060
6061         * ParagraphParameters.C:
6062         * buffer.C:
6063         * bufferview_funcs.C:
6064         * lyx_cb.C:
6065         * lyxfind.C:
6066         * lyxtext.h:
6067         * text.C:
6068         * text2.C:
6069         * text3.C:
6070         * undo_funcs.C: changes from above
6071
6072 2003-03-18  John Levon  <levon@movementarian.org>
6073
6074         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6075         remove it from update()
6076
6077         * lyxfunc.C: update layout choice after an lfun
6078
6079         * text3.C: remove extra updateLayoutChoice()s
6080
6081 2003-03-18  John Levon  <levon@movementarian.org>
6082
6083         * text.C: top_y change means full repaint, fix
6084         a drawing bug with cursor movement
6085
6086 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * lyxtext.h:
6089         * text.C:
6090         * text2.C: anchor row on setCursor
6091
6092 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6093
6094         * lyxtext.h: remove almost all mutable keywords
6095         * text.C:
6096         * text2.C:
6097         * text3.C: remove const keywords accordingly
6098
6099 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6102         anon namespace
6103         (TeXEnvironment): ditto
6104         (TeXOnePar): ditto
6105
6106 2003-03-17  John Levon  <levon@movementarian.org>
6107
6108         * text.C (rowBreakPoint): remove attempt to fix displayed
6109         math insets inside a manual label
6110
6111 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * lyxtext.h: remove BufferView* as first arg from almost all class
6114         functions.
6115         * other files: adjust.
6116
6117 2003-03-17  John Levon  <levon@movementarian.org>
6118
6119         * lyxtext.h:
6120         * undo_funcs.C:
6121         * text2.C: more paint cleanups
6122
6123         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6124
6125         * rowpainter.h:
6126         * rowpainter.C: remove "smart" background painting code
6127
6128 2003-03-16  John Levon  <levon@movementarian.org>
6129
6130         * lyxtext.h:
6131         * text.C:
6132         * text2.C:
6133         * text3.C: add helper functions for setting refresh_row/y
6134
6135 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6136
6137         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6138         newline inset which *can* get inserted in the pass_thru layouts.
6139         This is primarily for literate documents.
6140
6141 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6142
6143         * buffer.C: increment LYX_FORMAT to 223
6144
6145 2003-03-14 André Pönitz <poenitz@gmx.net>
6146
6147         * textclass.h: prepare for environment handling, ws changes
6148         * lyxlayout.C: read latexheader and latexfooter tags
6149
6150 2003-03-14  John Levon  <levon@movementarian.org>
6151
6152         * text2.C: rewrite ::status() a bit
6153
6154 2003-03-13  John Levon  <levon@movementarian.org>
6155
6156         * lyxtext.h: add some docs
6157
6158 2003-03-13  John Levon  <levon@movementarian.org>
6159
6160         * lyxtext.h:
6161         * text.C:
6162         * text2.C:
6163         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6164
6165 2003-03-13  John Levon  <levon@movementarian.org>
6166
6167         * text3.C: fix appendix redrawing
6168
6169 2003-03-13  John Levon  <levon@movementarian.org>
6170
6171         * text.C (setHeightOfRow):
6172         * rowpainter.h:
6173         * rowpainter.C: make appendix mark have the text
6174           "Appendix" so the user knows what it is
6175
6176         * LColor.h:
6177         * LColor.C: s/appendixline/appendix/ from above
6178
6179 2003-03-13  John Levon  <levon@movementarian.org>
6180
6181         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6182
6183         * text.C: fix a getChar(pos) bug properly
6184
6185 2003-03-13  Angus Leeming  <leeming@lyx.org>
6186
6187         * commandtags.h:
6188         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6189         Probably only temporary. Let's see how things pan out.
6190
6191         * BufferView.C (unlockInset):
6192         * BufferView_pimpl.C (fitCursor):
6193         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6194
6195         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6196         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6197
6198         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6199         new functions that convert ParagraphParameters to and from a string.
6200
6201         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6202         BufferView::Pimpl's dispatch.
6203         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6204
6205 2003-03-13 André Pönitz <poenitz@gmx.net>
6206
6207         * lyxfunc.C:
6208         * text3.C:
6209         * factory.C: make it aware of InsetEnv
6210
6211 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * text2.C (setCursor): never ask for one past last
6214         (setCursor): add some debugging messages.
6215
6216         * text.C (singleWidth): never ask for one past last
6217         (singleWidth): ditto
6218         (leftMargin): ditto
6219         (rightMargin): ditto
6220         (rowBreakPoint): ditto
6221         (setHeightOfRow): ditto
6222         (prepareToPrint): ditto
6223
6224         * rowpainter.C (paintBackground): never ask for one past last
6225         (paintText): never ask for one past last
6226
6227         * paragraph_pimpl.C (getChar): make the assert stricter, never
6228         allow the one past last pos to be taken
6229
6230         * paragraph.C (getChar): ws changes only
6231
6232         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6233         (numberOfSeparators): ditto
6234         (numberOfHfills): ditto
6235
6236 2003-03-12  John Levon  <levon@movementarian.org>
6237
6238         * author.h:
6239         * author.C:
6240         * bufferparams.h:
6241         * bufferparams.C:
6242         * paragraph_funcs.C: fix per-buffer authorlists
6243
6244 2003-03-12  John Levon  <levon@movementarian.org>
6245
6246         * text.C: fix newline in right address
6247
6248 2003-03-12  Angus Leeming  <leeming@lyx.org>
6249
6250         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6251         duplicate those in LyXFunc::dispatch.
6252
6253         * commandtags.h:
6254         * LyXAction.C:
6255         * ToolbarDefaults.C:
6256         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6257         Add LFUN_FONTFREE_UPDATE.
6258
6259         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6260         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6261
6262         * bufferview_func.[Ch]: several new functions to facilliate
6263         transfer of data to and from the character dialog.
6264
6265 2003-03-12  John Levon  <levon@movementarian.org>
6266
6267         * buffer.C:
6268         * paragraph.h:
6269         * paragraph.C:
6270         * paragraph_funcs.C:
6271         * paragraph_pimpl.C:
6272         * sgml.C:
6273         * tabular.C:
6274         * text.C:
6275         * text3.C: remove META_NEWLINE in favour of an inset
6276
6277         * rowpainter.h:
6278         * rowpainter.C: remove paintNewline (done by inset)
6279
6280 2003-03-12  John Levon  <levon@movementarian.org>
6281
6282         * paragraph_pimpl.C: complain about bad getChar()s
6283         for a while at least
6284
6285 2003-03-12  John Levon  <levon@movementarian.org>
6286
6287         * buffer.h:
6288         * buffer.C: move paragraph read into a separate function,
6289         a little renaming to reflect that.
6290
6291         * bufferparams.h:
6292         * bufferparams.C: remove the author_ids map, not necessary now
6293
6294         * factory.h:
6295         * factory.C: moved Buffer::readInset to here
6296
6297         * paragraph_funcs.h:
6298         * paragraph_funcs.C: readParagraph free function moved from
6299         buffer.C
6300
6301         * tabular.C: name change
6302
6303 2003-03-12  John Levon  <levon@movementarian.org>
6304
6305         * buffer.C:
6306         * ParagraphParameters.C: move par params input to
6307         a read() method
6308
6309         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6310         behave like a normal read from the stream wrt reading
6311         a line vs. a \\token
6312
6313 2003-03-12  John Levon  <levon@movementarian.org>
6314
6315         * paragraph.C:
6316         * ParagraphParameters.h:
6317         * ParagraphParameters.C: move output code to a
6318         ::write() method
6319
6320 2003-03-12  John Levon  <levon@movementarian.org>
6321
6322         * BufferView.C (insertLyXFile):
6323         * buffer.h:
6324         * buffer.C:
6325         * tabular.C: use a parlist iterator for creating the
6326           document.
6327
6328 2003-03-12  John Levon  <levon@movementarian.org>
6329
6330         * buffer.C: make current_change static local not
6331           static file-scope
6332
6333 2003-03-12  John Levon  <levon@movementarian.org>
6334
6335         * buffer.C: fix insertStringAsLines for change tracking
6336
6337 2003-03-12  John Levon  <levon@movementarian.org>
6338
6339         * BufferView.C:
6340         * tabular.C:
6341         * buffer.h:
6342         * buffer.C:
6343         * bufferparams.h:
6344         * bufferparams.C: move author list into params. Rename some
6345           functions. Move the header reading into a separate token
6346           loop. Move the header token reading into BufferParams.
6347
6348 2003-03-12  John Levon  <levon@movementarian.org>
6349
6350         * changes.C: put debug inside lyxerr.debugging() checks
6351
6352 2003-03-11 André Pönitz <poenitz@gmx.net>
6353
6354         * factory.C: make it aware of InsetHFill
6355
6356 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6357
6358         * buffer.C (latexParagraphs): move function from here...
6359         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6360         args.
6361
6362 2003-03-10  Angus Leeming  <leeming@lyx.org>
6363
6364         * LyXAction.C (init): fix bug in poplating array with multiple entries
6365         with the same LFUN (spotted by JMarc).
6366
6367 2003-03-10  John Levon  <levon@movementarian.org>
6368
6369         * text.C:
6370         * text2.C: move getColumnNearX() near its
6371         only call site
6372
6373 2003-03-10  John Levon  <levon@movementarian.org>
6374
6375         * text.C: fix break before a minipage
6376
6377 2003-03-10  John Levon  <levon@movementarian.org>
6378
6379         * text.C: fix the last commit
6380
6381 2003-03-09  John Levon  <levon@movementarian.org>
6382
6383         * lyxtext.h:
6384         * text.C:
6385         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6386         bug 365 (don't break before insets unless needed). Don't
6387         return a value > last under any circumstances.
6388
6389 2003-03-09  Angus Leeming  <leeming@lyx.org>
6390
6391         * BufferView_pimpl.C (trackChanges, dispatch): call
6392         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6393
6394 2003-03-09  Angus Leeming  <leeming@lyx.org>
6395
6396         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6397         than Dialogs::showAboutlyx().
6398
6399 2003-03-09  Angus Leeming  <leeming@lyx.org>
6400
6401         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6402         than Dialogs::showTabularCreate().
6403
6404 2003-03-09  John Levon  <levon@movementarian.org>
6405
6406         * lyxtext.h:
6407         * text.C:
6408         * text2.C: 3rd arg to nextBreakPoint was always the same.
6409           Use references.
6410
6411 2003-03-08  John Levon  <levon@movementarian.org>
6412
6413         * lyxrow.C:
6414         * paragraph.C:
6415         * paragraph.h:
6416         * rowpainter.C:
6417         * text.C:
6418         * text2.C: Remove the "main" bit from the "main body"
6419           notion.
6420
6421 2003-03-08  John Levon  <levon@movementarian.org>
6422
6423         * text.C (leftMargin): The left margin of an empty
6424         manual label paragraph should not include the label width
6425         string length.
6426
6427         * text.C (prepareToPrint): don't attempt to measure hfills
6428         for empty manual label paragraphs - the answer should be 0
6429
6430 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * CutAndPaste.C: remove commented code and reindent.
6433
6434 2003-03-08  John Levon  <levon@movementarian.org>
6435
6436         * lyxfunc.h:
6437         * lyxfunc.C: move reloadBuffer()
6438
6439         * BufferView.h:
6440         * BufferView.C: to here
6441
6442         * lyxvc.C: add comment
6443
6444         * vc-backend.h:
6445         * vc-backend.C: call bv->reload() to avoid
6446           getStatus() check on MENURELOAD
6447
6448 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6449
6450         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6451         to an old format .dep file.
6452
6453 2003-03-07  Angus Leeming  <leeming@lyx.org>
6454
6455         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6456         when the LFUN_MOUSE_RELEASE should have been handled by
6457         inset->localDispatch.
6458
6459 2003-03-07  Angus Leeming  <leeming@lyx.org>
6460
6461         * BufferView_pimpl.C (dispatch):
6462         * LyXAction.C (init):
6463         * ToolbarDefaults.C (init):
6464         * commandtags.h:
6465         * lyxfunc.C (getStatus):
6466         remove LFUN_INSET_GRAPHICS.
6467
6468         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6469
6470 2003-03-07  Angus Leeming  <leeming@lyx.org>
6471
6472         * commandtags.h:
6473         * LyXAction.C (init):
6474         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6475
6476         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6477
6478         * commandtags.h:
6479         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6480
6481         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6482         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6483
6484 2003-03-07  Angus Leeming  <leeming@lyx.org>
6485
6486         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6487         remove "ert".
6488
6489 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * ParagraphList.C (front): new function
6492         (back): implement
6493
6494 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6497         and top_row_offset_. removed var first_y.
6498         * text.C (top_y):
6499         * text2.C (LyXText, removeRow):
6500         * text3.C:
6501         * BufferView_pimpl.C:
6502         use these methods instead of using first_y
6503
6504 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * text2.C (pasteSelection): adjust for checkPastePossible
6507
6508         * CutAndPaste.C: remove Paragraph * buf and replace with
6509         ParagraphList paragraphs.
6510         (DeleteBuffer): delete
6511         (cutSelection): change the tc type to textclass_type
6512         (copySelection): change the tc type to textclass_type
6513         (copySelection): adjust for ParagraphList
6514         (pasteSelection): change the tc type to textclass_type
6515         (pasteSelection): adjust for Paragraphlist
6516         (nrOfParagraphs): simplify for ParagraphList
6517         (checkPastePossible): simplify for ParagraphList
6518         (checkPastePossible): remove unused arg
6519
6520         * ParagraphList.C (insert): handle the case where there are no
6521         paragraphs yet.
6522
6523         * CutAndPaste.h: make CutAndPaste a namespace.
6524
6525         * text3.C (dispatch): adjust
6526
6527         * text.C (breakParagraph): add a ParagraphList as arg
6528
6529         * paragraph_funcs.C (breakParagraph): change to take a
6530         BufferParams and a ParagraphList as args.
6531         (breakParagraphConservative): ditto
6532         (mergeParagraph): ditto
6533         (TeXDeeper): add a ParagraphList arg
6534         (TeXEnvironment): ditto
6535         (TeXOnePar): ditto
6536
6537         * buffer.C (readLyXformat2): adjust
6538         (insertStringAsLines): adjust
6539         (latexParagraphs): adjust
6540
6541         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6542         (cutSelection): adjust
6543         (pasteSelection): adjust
6544
6545         * BufferView_pimpl.C (insertInset): adjust
6546
6547 2003-03-05  Angus Leeming  <leeming@lyx.org>
6548
6549         * commandtags.h:
6550         * LyXAction.C (init):
6551         * BufferView_pimpl.C (dispatch):
6552         * lyxfunc.C (getStatus):
6553         remove LFUN_CHILD_INSERT.
6554
6555         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6556
6557 2003-03-05  Angus Leeming  <leeming@lyx.org>
6558
6559         * commandtags.h:
6560         * LyXAction.C (init):
6561         * src/factory.C (createInset):
6562         * lyxfunc.C (getStatus):
6563         * text3.C (dispatch):
6564         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6565
6566         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6567
6568 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * ParagraphList.C (insert): handle insert right before end()
6571         (erase): fix cases where it can be first or last paragraph.
6572
6573 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6576         Paragraph::next and Paragraph::previous
6577         (TeXOnePar): ditto
6578
6579         * text.C (breakParagraph): adjust
6580
6581         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6582         BufferParams& as arg.
6583         (breakParagraph): use ParagraphList::insert
6584         (breakParagraphConservative): take a Buffer* instead of a
6585         BufferParams& as arg.
6586         (breakParagraphConservative): use ParagraphList::insert.
6587
6588         * buffer.C (insertStringAsLines): un-const it
6589         (insertStringAsLines): adjust
6590
6591         * ParagraphList.C (insert): new function
6592
6593         * CutAndPaste.C (pasteSelection): adjust
6594
6595         * text.C (backspace): adjust
6596
6597         * tabular.C (SetMultiColumn): adjust
6598
6599         * CutAndPaste.C (cutSelection): adjust
6600         (pasteSelection): adjust
6601
6602         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6603         Buffer const * as arg
6604
6605         * ParagraphList.C (erase): new function
6606         * paragraph_funcs.C (mergeParagraph): use it
6607         (mergeParagraph): make it take a Buffer* instead of a
6608         BufferParams* as arg
6609
6610         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6611         as arg
6612         (breakParagraphConservative): ditto
6613
6614         * paragraph.h: remove the breakParagraph friend
6615
6616         * paragraph.C (eraseIntern): new function
6617         (setChange): new function
6618
6619         * paragraph_funcs.C (mergeParagraph): make it take a
6620         ParagraphList::iterator instead of a Paragraph *, adjust
6621         accordingly.
6622
6623         * paragraph.h: move an #endif so that the change tracking stuff
6624         also works in the NO_NEXT case.
6625
6626 2003-03-04  Angus Leeming  <leeming@lyx.org>
6627
6628         * commandtags.h:
6629         * LyXAction.C: new LFUN_INSET_MODIFY.
6630
6631         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6632         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6633
6634 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * several files: ws changes only
6637
6638         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6639         (TeXEnvironment): ditto
6640         (TeXDeeper): ditto
6641
6642         * buffer.C (makeLaTeXFile): adjust
6643         (latexParagraphs): make it take ParagraphList::iterator as args
6644
6645 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * buffer.C (latexParagraphs): adjust
6648
6649         * paragraph.C (TeXOnePar): move function...
6650         (optArgInset): move function...
6651         (TeXEnvironment): move function...
6652         * paragraph_pimpl.C (TeXDeeper): move function...
6653         * paragraph_funcs.C: ...here
6654
6655         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6656
6657 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * buffer.C (readInset): remove compability code for old Figure and
6660         InsetInfo insets
6661
6662 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6663
6664         * buffer.C: ws changes
6665         (readInset):
6666
6667         * BufferView_pimpl.C: ditto
6668         * author.C: ditto
6669         * buffer.h: ditto
6670         * bufferlist.h: ditto
6671         * changes.h: ditto
6672         * lyxfunc.C: ditto
6673
6674 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6675
6676         * converter.[Ch]: split into itself +
6677         * graph.[Ch]
6678         * format.[Ch]
6679         * Makefile.am: += graph.[Ch] + format.[Ch]
6680         * MenuBackend.C
6681         * buffer.C
6682         * exporter.C
6683         * importer.C
6684         * lyx_main.C
6685         * lyxfunc.C
6686         * lyxrc.C: added #include "format.h"
6687
6688 2003-02-27  Angus Leeming  <leeming@lyx.org>
6689
6690         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6691           a label.
6692
6693         * factory.C (createInset): add "label" to the factory.
6694
6695         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6696           string and do no more.
6697
6698 2003-02-27  Angus Leeming  <leeming@lyx.org>
6699
6700         * commandtags.h:
6701         * LyXAction.C (init):
6702         * factory.C (createInset):
6703         * BufferView_pimpl.C (dispatch):
6704           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6705
6706         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6707
6708         * lyxfunc.C (dispatch):
6709         * text3.C (dispatch): pass name to params2string.
6710
6711 2003-02-26  Angus Leeming  <leeming@lyx.org>
6712
6713         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6714           blocks together.
6715           Rearrange the ~includes. Strip out the unnecessary ones.
6716
6717         * factory.C (createInset): reformat.
6718           create new insets for the various LFUN_XYZ_APPLY lfuns.
6719
6720 2003-02-26  John Levon  <levon@movementarian.org>
6721
6722         * lyxrow.h:
6723         * lyxrow.C: add isParStart,isParEnd helpers
6724
6725         * paragraph.h: make isInserted/DeletedText take refs
6726
6727         * paragraph_funcs.h:
6728         * paragraph_funcs.C: remove #if 0'd code
6729
6730         * lyxtext.h:
6731         * text3.C:
6732         * text2.C:
6733         * text.C: use lyxrow helpers above.
6734           Move draw and paint routines to RowPainter.
6735           Make several methods use refs not pointers.
6736           Make backgroundColor() const.
6737           Add markChangeInDraw(), isInInset().
6738           Merge changeRegionCase into changeCase.
6739           Make workWidth() shouldn't-happen code into an Assert.
6740
6741         * rowpainter.h:
6742         * rowpainter.C: new class for painting a row.
6743
6744         * vspace.h:
6745         * vspace.C: make inPixels take a ref
6746
6747 2003-02-26  Angus Leeming  <leeming@lyx.org>
6748
6749         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6750         LFUN_REF_APPLY.
6751
6752 2003-02-25  John Levon  <levon@movementarian.org>
6753
6754         * ispell.C: give the forked command a more accurate name
6755
6756 2003-02-22  John Levon  <levon@movementarian.org>
6757
6758         * toc.h:
6759         * toc.C: make TocItem store an id not a Paragraph *
6760           (bug #913)
6761
6762 2003-02-21  Angus Leeming  <leeming@lyx.org>
6763
6764         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6765           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6766           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6767           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6768           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6769           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6770
6771         * BufferView_pimpl.C (dispatch):
6772         * LyXAction.C (init):
6773         * factory.C (createInset):
6774         * lyxfunc.C (getStatus, dispatch):
6775         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6776
6777 2003-02-21  Angus Leeming  <leeming@lyx.org>
6778
6779         * BufferView_pimpl.C (MenuInsertLyXFile):
6780         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6781         * lyxfunc.C (menuNew, open, doImport):
6782           no longer pass a LyXView & to fileDlg.
6783
6784 2003-02-21  Angus Leeming  <leeming@lyx.org>
6785
6786         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6787         * LyXAction.C: change, BIBKEY to BIBITEM.
6788         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6789         Change InsetBibKey to InsetBibitem.
6790         Change BIBKEY_CODE to BIBITEM_CODE.
6791         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6792         * factory.C: replace insetbib.h with insetbibitem.h.
6793         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6794         * paragraph.C: replace insetbib.h with insetbibitem.h.
6795         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6796         Change bibkey() to bibitem().
6797         * text.C: remove insetbib.h.
6798         * text2.C: replace insetbib.h with insetbibitem.h.
6799         change bibkey() to bibitem().
6800         * text3.C: remove insetbib.h.
6801         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6802
6803 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6804
6805         * lyxrc.C (output): enclose user email in quotes (in case there are
6806         several words)
6807
6808 2003-02-18  John Levon  <levon@movementarian.org>
6809
6810         * buffer.h: add std::
6811
6812 2003-02-17  John Levon  <levon@movementarian.org>
6813
6814         * SpellBase.h:
6815         * ispell.h:
6816         * ispell.C:
6817         * pspell.h:
6818         * pspell.C: reworking. Especially in ispell, a large
6819           number of clean ups and bug fixes.
6820
6821         * lyxfunc.C: fix revert to behave sensibly
6822
6823 2003-02-17 André Pönitz <poenitz@gmx.net>
6824
6825         * LyXAction.C:
6826         * commandtags.h: new LFUN_INSERT_BIBKEY
6827
6828         * layout.h:
6829         * lyxlayout.C:
6830         * buffer.C:
6831         * factory.C:
6832         * text.C:
6833         * text2.C:
6834         * text3.C:
6835         * paragraph.[Ch]:
6836         * paragraph_func.C: remove special bibkey handling
6837
6838 2003-02-17  John Levon  <levon@movementarian.org>
6839
6840         * text.C (Delete): fix case where delete at the end of
6841           the very first paragraph would not merge the pars
6842
6843 2003-02-17  John Levon  <levon@movementarian.org>
6844
6845         * lyxrow.C: fix lastPrintablePos()
6846
6847 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6848
6849         * bufferparams.C (writeLaTeX): add a std:here
6850
6851         * buffer.C: and remove a using directive there
6852
6853 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6854
6855         * buffer.C (makeLaTeXFile): move the code that generates the
6856           preamble...
6857
6858         * bufferparams.C (writeLaTeX): ... in this new method
6859
6860         * LaTeXFeatures.C (getEncodingSet): make const
6861           (getLanguages): make const
6862
6863         * MenuBackend.C (binding): returns the binding associated to this
6864           action
6865           (add): sets the status of each item by calling getStatus. Adds
6866           some intelligence.
6867           (read): add support for OptSubMenu
6868           (expand): remove extra separator at the end of expanded menu
6869
6870 2003-02-15  John Levon  <levon@movementarian.org>
6871
6872         * BufferView.C:
6873         * BufferView_pimpl.C:
6874         * bufferlist.h:
6875         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6876           inset code that had no actual effect. Remove unneeded status
6877           code.
6878
6879 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6880
6881         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6882           in preamble
6883
6884 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6885
6886         * text.C (drawLengthMarker): also draw an arrow marker for
6887           symbolic lengths (medskip...)
6888
6889 2003-02-14  John Levon  <levon@movementarian.org>
6890
6891         * tabular.h:
6892         * tabular.C: better method names
6893
6894 2003-02-14  John Levon  <levon@movementarian.org>
6895
6896         * BufferView_pimpl.C:
6897         * bufferlist.C:
6898         * buffer.C:
6899         * converter.C:
6900         * lyx_cb.C:
6901         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6902           it's a more accurate name. Remove some pointless uses.
6903
6904 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6905
6906         * text2.C (LyXText): change order of initilizers to shut off
6907           warnings
6908
6909 2003-02-14  John Levon  <levon@movementarian.org>
6910
6911         * buffer.C: use ParIterator for getParFromID()
6912
6913         * paragraph.h:
6914         * paragraph.C:
6915         * paragraph_pimpl.h:
6916         * paragraph_pimpl.C: remove unused getParFromID()
6917
6918 2003-02-14  John Levon  <levon@movementarian.org>
6919
6920         * buffer.C: remove some very old #if 0'd parse code
6921
6922 2003-02-13  John Levon  <levon@movementarian.org>
6923
6924         * text.h:
6925         * text.C:
6926         * text2.C: move hfillExpansion(), numberOfSeparators(),
6927           rowLast(), rowLastPrintable(), numberofHfills(),
6928           numberOfLabelHfills() ...
6929
6930         * lyxrow.h:
6931         * lyxrow.C: ... to member functions here.
6932
6933         * paragraph.h:
6934         * paragraph.C:
6935         * lyxtext.h:
6936         * text.C: remove LyXText::beginningOfMainBody(), and call
6937           p->beginningOfMainBody() directly. Move the check for
6938           LABEL_MANUAL into the latter.
6939
6940         * text.h:
6941         * text.C:
6942         * text2.C:
6943         * vspace.C:
6944         * BufferView.h:
6945         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6946
6947         * text.h:
6948         * text.C:
6949         * text2.C:
6950         * text3.C:
6951         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6952           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6953
6954 2003-02-13  John Levon  <levon@movementarian.org>
6955
6956         * CutAndPaste.C: remove debug
6957
6958 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6959
6960         * paragraph.C (asString): remove two unused variables
6961
6962         * lyxtextclass.C (readTitleType):
6963           (Read):
6964           (LyXTextClass): handle new members titletype_ and titlename_
6965
6966         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6967
6968 2003-02-09  John Levon  <levon@movementarian.org>
6969
6970         * buffer.h:
6971         * buffer.C: replace hand-coded list with a map for the dep clean
6972
6973 2003-02-08  John Levon  <levon@movementarian.org>
6974
6975         * LaTeX.C: consolidate code into showRunMessage() helper
6976
6977 2003-02-08  John Levon  <levon@movementarian.org>
6978
6979         * lyxfind.C:
6980         * lyxtext.h:
6981         * text2.C:
6982         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6983           and pass the size in explicitly
6984
6985         * BufferView_pimpl.h:
6986         * BufferView_pimpl.C:
6987         * BufferView.h:
6988         * BufferView.C: add getCurrentChange()
6989
6990         * BufferView_pimpl.h:
6991         * BufferView_pimpl.C: handle change lfuns
6992
6993         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6994           for changes. Mark pasted paragraphs as new.
6995
6996         * support/lyxtime.h:
6997         * support/lyxtime.C:
6998         * DepTable.C: abstract time_t as lyx::time_type
6999
7000         * LColor.h:
7001         * LColor.C: add colours for new text, deleted text, changebars
7002
7003         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7004           package use "usenames" option.
7005
7006         * commandtags.h:
7007         * lyxfunc.C:
7008         * LyXAction.C: add change lfuns
7009
7010         * Makefile.am:
7011         * author.h:
7012         * author.C: author handling
7013
7014         * buffer.h:
7015         * buffer.C: add a per-buffer author list, with first entry as
7016           current author. Handle new .lyx tokens for change tracking. Output
7017           author list to .lyx file. Output dvipost stuff to .tex preamble.
7018           Bump lyx format to 222.
7019
7020         * bufferlist.h:
7021         * bufferlist.C: add setCurrentAuthor() to reset current author details
7022           in all buffers.
7023
7024         * bufferparams.h:
7025         * bufferparams.C: add param for tracking
7026
7027         * bufferview_funcs.C: output change info in minibuffer
7028
7029         * Makefile.am:
7030         * changes.h:
7031         * changes.C: add change-tracking structure
7032
7033         * debug.h:
7034         * debug.C: add CHANGES debug flag
7035
7036         * lyxfind.h:
7037         * lyxfind.C: add code for finding the next change piece
7038
7039         * lyxrc.h:
7040         * lyxrc.C: add user_name and user_email
7041
7042         * lyxrow.h:
7043         * lyxrow.C: add a metric for the top of the text line
7044
7045         * lyxtext.h:
7046         * text.C: implement accept/rejectChange()
7047
7048         * lyxtext.h:
7049         * text.C: paint changebars. Paint new/deleted text in the chosen
7050         colours. Strike through deleted text.
7051
7052         * paragraph.h:
7053         * paragraph.C:
7054         * paragraph_pimpl.h:
7055         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7056           in the current change to the insert functions. Rework erase to
7057           mark text as deleted, adding an eraseIntern() and a range-based
7058           erase(). Implement per-paragraph change lookup and
7059           accept/reject.
7060
7061         * paragraph_funcs.C: Fixup paste for change tracking.
7062
7063         * tabular.C: mark added row/columns as new.
7064
7065         * text.C: fix rowLast() to never return -1. Don't allow
7066           spellchecking of deleted text. Track transpose changes. Don't
7067           allow paragraph break or merge where appropriate.
7068
7069         * text2.C: leave cursor at end of selection after a cut.
7070
7071 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7072
7073         * text.C (getLengthMarkerHeight):
7074         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7075         visible on screen too.
7076
7077 2003-02-07  John Levon  <levon@movementarian.org>
7078
7079         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7080
7081 2003-02-05  Angus Leeming  <leeming@lyx.org>
7082
7083         * lyxserver.C (read_ready): revert my patch of 11 September last year
7084         as it sends PC cpu through the roof. Presumably this means that
7085         the lyxserver will no longer run on an Alpha...
7086
7087 2003-01-30  Angus Leeming  <leeming@lyx.org>
7088
7089         * factory.C (createInset): create an InsetCommandParam of type "index"
7090         and use it to 'do the right thing'.
7091
7092         * text2.C (getStringToIndex): ensure that cursor position is always
7093         reset to the reset_cursor position.
7094
7095 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7096
7097         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7098         disabled.
7099
7100 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7101
7102         * bufferview.C:
7103         * lyxcb.C:
7104         * lyxfunc.C: Output messages with identical spelling, punctuation,
7105         and spaces
7106
7107 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7108
7109         * MenuBackend.C (expandFormats): List only viewable export formats
7110         in "View" menu
7111
7112         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7113         message
7114
7115         * lyxfunc.C (getStatus): Make sure that formats other than
7116         "fax" can also be disabled
7117
7118 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7119
7120         * text3.C (dispatch): put the lfuns that insert insets in 3
7121         groups, and call doInsertInset with appropriate arguments.
7122         (doInsertInset): new function, that creates an inset and inserts
7123         it according to some boolean parameters.
7124
7125 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * buffer.C (readFile): remember to pass on 'par' when calling
7128         readFile recursively.
7129
7130 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7131
7132         * MenuBackend.C (expandFormats): add "..." to import formats.
7133
7134 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * paragraph.C (asString): Remove XForms RTL hacks.
7137
7138 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7139         * buffer.C: fix typo
7140
7141 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * Makefile.am (LIBS): delete var
7144         (lyx_LDADD): add @LIBS@ here instead.
7145
7146 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7147
7148         * Clarify the meaning of "wheel mouse jump"
7149
7150 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7151
7152         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7153         tabular in a float
7154
7155 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7156
7157         * importer.C (Loaders): do not preallocate 3 elements in the
7158         vector, since one ends up with 6 elements otherwise
7159
7160 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7161
7162         * DepTable.C (write): write the file name as last element of the
7163         .dep file (because it may contain spaces)
7164         (read): read info in the right order
7165
7166 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7167
7168         * paragraph_pimpl.C (simpleTeXBlanks):
7169         (simpleTeXSpecialChars):
7170         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7171
7172         * tabular.C (latex): add some missing case statements. Reindent.
7173
7174         * MenuBackend.C (expandToc): remove unused variable.
7175
7176 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7177
7178         * LColor.C:
7179         * LaTeX.C:
7180         * LyXAction.C:
7181         * MenuBackend.C:
7182         * buffer.C:
7183         * exporter.C:
7184         * lyxfunc.C:
7185         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7186         and the like.
7187
7188 2003-01-05  John Levon  <levon@movementarian.org>
7189
7190         * BufferView.h:
7191         * BufferView.C: add getEncoding()
7192
7193         * kbsequence.h:
7194         * kbsequence.C: do not store last keypress
7195
7196         * lyxfunc.h:
7197         * lyxfunc.C: store last keypress here instead. Pass encoding
7198           to getISOEncoded()
7199
7200 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7201
7202         * lyx_main.C (init): remove annoying error message when following
7203         symbolic links (bug #780)
7204
7205 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7206
7207         * text.C (insertChar):
7208         * lyxrc.C (getDescription): remove extra spaces
7209
7210 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7211
7212         * lyxrc.C (getDescription): remove extra spaces
7213
7214 2002-12-20  John Levon  <levon@movementarian.org>
7215
7216         * text3.C: hack fix for page up/down across tall rows
7217
7218 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7219
7220         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7221         not been invoked
7222
7223 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7224
7225         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7226         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7227         thesaurus is not compiled in
7228
7229 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7230
7231         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7232
7233 2002-12-16  Angus Leeming  <leeming@lyx.org>
7234
7235         * lyxrc.[Ch]:
7236         * lyx_main.C (init): remove override_x_deadkeys stuff.
7237
7238 2002-12-12  John Levon  <levon@movementarian.org>
7239
7240         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7241           insert. Only remove shift modifier under strict
7242           circumstances.
7243
7244 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * MenuBackend.C (expandToc): fix crash.
7247
7248 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * MenuBackend.C (expandToc): gettext on float names.
7251
7252 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7253
7254         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7255         implement bool empty() [bug 490]
7256
7257 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7260
7261 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * several files: ws changes
7264
7265 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * text2.C (setCounter): clean up a bit, use boost.format.
7268         (updateCounters): initialize par upon declaration.
7269
7270         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7271         if the layout exists. We do not just store the layout any more.
7272         (SwitchLayoutsBetweenClasses): use boost.format
7273
7274 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7275
7276         * converter.C (convert): if from and to files are the same, use a
7277         temporary files as intermediary
7278
7279 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7280
7281         * commandtags.h:
7282         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7283
7284 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7285
7286         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7287
7288 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * tabular.C (asciiPrintCell): use string(size, char) instead of
7291         explicit loop.
7292
7293         * sgml.C (openTag): fix order of arguments to string constructor
7294         (closeTag): ditto
7295
7296         * lyxfunc.C (dispatch): use boost.format
7297
7298         * lots of files: change "c" -> 'c'
7299
7300 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7301
7302         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7303
7304 2002-11-25  Angus Leeming  <leeming@lyx.org>
7305
7306         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7307
7308         * lyx_main.C (init): compile fix.
7309
7310 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * lyx_cb.C (start): boost.formatify
7313         do not include <iostream>
7314
7315         * lengthcommon.C: ws only
7316
7317         * boost-inst.C,BoostFormat.h: add more explict instantations
7318
7319 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * lots of files: handle USE_BOOST_FORMAT
7322
7323 2002-11-21  John Levon  <levon@movementarian.org>
7324
7325         * pspell.C: fix compile
7326
7327 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7328
7329         * lyxfunc.C (dispatch): use boost::format
7330         (open): ditto
7331         (doImport): ditto
7332
7333         * lyxfont.C (stateText): use boost::format
7334
7335         * lyx_main.C (LyX): use boost::format
7336         (init): ditto
7337         (queryUserLyXDir): ditto
7338         (readRcFile): ditto
7339         (parse_dbg): ditto
7340         (typedef boost::function): use the recommened syntax.
7341
7342         * importer.C (Import): use boost::format
7343
7344         * debug.C (showLevel): use boost::format
7345
7346         * converter.C (view): use boost::format
7347         (convert): ditto
7348         (move): ditto
7349         (scanLog): ditto
7350
7351         * bufferview_funcs.C (currentState): use boost::format
7352
7353         * bufferlist.C (emergencyWrite): use boost::format
7354
7355         * buffer.C (readLyXformat2): use boost::format
7356         (parseSingleLyXformat2Token): ditto
7357
7358         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7359
7360         * LaTeX.C (run): use boost::format
7361
7362         * Chktex.C (scanLogFile): use boost::format
7363
7364         * BufferView_pimpl.C (savePosition): use boost::format
7365         (restorePosition): ditto
7366         (MenuInsertLyXFile): ditto
7367
7368         * BoostFormat.h: help file for explicit instation.
7369
7370 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7371
7372         * tabular.C (latex): Support for block alignment in fixed width
7373         columns.
7374
7375 2002-11-17  John Levon  <levon@movementarian.org>
7376
7377         * BufferView_pimpl.C:
7378         * lyx_cb.C:
7379         * lyxfunc.C: split filedialog into open/save
7380
7381 2002-11-08  Juergen Vigna  <jug@sad.it>
7382
7383         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7384         by my last patch (hopefully).
7385
7386 2002-11-08  John Levon  <levon@movementarian.org>
7387
7388         * iterators.h:
7389         * iterators.C:
7390         * buffer.h:
7391         * buffer.C:
7392         * paragraph.h:
7393         * paragraph.C:
7394         * toc.h:
7395         * toc.C: ParConstIterator, and use it (from Lars)
7396
7397 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7398
7399         * lyxtextclass.[Ch]: revise and add doxygen comments
7400
7401 2002-11-07  John Levon  <levon@movementarian.org>
7402
7403         * text.C: fix progress value for spellchecker
7404
7405         * toc.C: fix navigate menu for insetwrap inside minipage
7406
7407         * paragraph_funcs.C: added FIXME for suspect code
7408
7409 2002-11-07  John Levon  <levon@movementarian.org>
7410
7411         * BufferView_pimpl.C: fix redrawing of insets
7412           on buffer switch
7413
7414 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7415
7416         * text2.C (updateCounters): fix bug 668
7417
7418 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7419
7420         * text3.C (dispatch): Do not make the buffer dirty when moving the
7421         cursor.
7422
7423 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * vc-backend.C: STRCONV
7426         (scanMaster): ditto
7427
7428         * text2.C (setCounter): STRCONV
7429
7430         * paragraph.C (asString): STRCONV
7431
7432         * lyxlength.C (asString): STRCONV
7433         (asLatexString): ditto
7434
7435         * lyxgluelength.C (asString): STRCONV
7436         (asLatexString): ditto
7437
7438         * lyxfunc.C (dispatch): STRCONV
7439         (open): ditto
7440
7441         * lyxfont.C (stateText): STRCONV
7442
7443         * importer.C (Import): STRCONV
7444
7445         * counters.C (labelItem): STRCONV
7446         (numberLabel): ditto
7447         (numberLabel): remove unused ostringstream o
7448
7449         * chset.C: STRCONV
7450         (loadFile): ditto
7451
7452         * bufferview_funcs.C (currentState): STRCONV
7453
7454         * buffer.C (readFile): STRCONV
7455         (asciiParagraph): ditto
7456         (makeLaTeXFile): ditto
7457
7458         * Spacing.C (writeEnvirBegin): STRCONV
7459
7460         * LaTeXFeatures.C (getLanguages): STRCONV
7461         (getPackages): ditto
7462         (getMacros): ditto
7463         (getBabelOptions): ditto
7464         (getTClassPreamble): ditto
7465         (getLyXSGMLEntities): ditto
7466         (getIncludedFiles): ditto
7467
7468         * LaTeX.C: STRCONV
7469         (run): ditto
7470         (scanAuxFile): ditto
7471         (deplog): ditto
7472
7473         * LString.h: add the STRCONV macros
7474
7475         * BufferView_pimpl.C (savePosition): STRCONV
7476         (restorePosition): ditto
7477         (MenuInsertLyXFile): ditto
7478
7479         * vc-backend.C (scanMaster): change from submatch[...] to
7480         submatch.str(...)
7481
7482         * funcrequest.C: include config.h
7483
7484         * factory.C: include config.h
7485
7486         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7487
7488         * box.C: include config.h
7489
7490         * LaTeX.C (scanAuxFile): change from submatch[...] to
7491         submatch.str(...)
7492         (deplog): ditto
7493
7494 2002-10-25  Angus Leeming  <leeming@lyx.org>
7495
7496         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7497
7498         * ispell.[Ch] (setError): new method.
7499         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7500         Use setError() insetead of goto END.
7501
7502         * lyx_cb.C (AutoSave): move out child process into new class
7503         AutoSaveBuffer.
7504
7505 2002-10-30  John Levon  <levon@movementarian.org>
7506
7507         * text3.C: make start appendix undoable
7508
7509 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7510
7511         * lyxlength.C (inPixels): Fix returned value.
7512
7513         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7514         environment.
7515
7516 2002-10-24  Angus Leeming  <leeming@lyx.org>
7517
7518         * lyxgluelength.h: no need to forward declare BufferParams
7519         or BufferView, so don't.
7520
7521 2002-10-21  John Levon  <levon@movementarian.org>
7522
7523         * BufferView.C: menuUndo ->undo, redo
7524
7525         * BufferView.h: document, remove dead, make some methods private
7526
7527         * paragraph_funcs.h:
7528         * paragraph_funcs.C:
7529         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7530
7531         * buffer.h:
7532         * buffer.C:
7533         * sgml.h:
7534         * sgml.C: move sgml open/close tag into sgml.C
7535
7536         * bufferview_funcs.h: unused prototype
7537
7538         * lyxfunc.h:
7539         * lyxfunc.C: remove unused
7540
7541         * lyxtext.h:
7542         * text.C: remove unused
7543
7544 2002-10-21  John Levon  <levon@movementarian.org>
7545
7546         * BufferView.h:
7547         * BufferView.C:
7548         * BufferView_pimpl.h:
7549         * BufferView_pimpl.C: fix mouse wheel handling based on
7550           patch from Darren Freeman
7551
7552 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7553
7554         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7555
7556 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7557
7558         * lyxlength.C (inPixels): Fix hanfling of negative length.
7559         Fix LyXLength::MU case.
7560
7561 2002-10-16  John Levon  <levon@movementarian.org>
7562
7563         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7564
7565 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7566
7567         * converter.C (view): add support for $$i (file name) and $$p
7568         (file path) for the viewer command. If $$i is not specified, then
7569         it is appended to the command (for compatibility with old syntax)
7570
7571 2002-10-14  Juergen Vigna  <jug@sad.it>
7572
7573         * undo_funcs.C (textHandleUndo): alter the order in which the
7574         new undopar is added to the LyXText, as we have to set first
7575         the right prev/next and then add it as otherwise the rebuild of
7576         LyXText is not correct. Also reset the cursor to the right paragraph,
7577         with this IMO we could remove the hack in "redoParagraphs()".
7578
7579 2002-10-09  Angus Leeming  <leeming@lyx.org>
7580
7581         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7582         to turn off an optimisation if a new inset is to be inserted.
7583
7584 2002-10-11 André Pönitz <poenitz@gmx.net>
7585
7586         * lyxtext.h: make some functions public to allow access
7587         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7588
7589 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7590
7591         * text3.C (dispatch): when changing layout, avoid an infinite loop
7592         [bug #652]
7593
7594 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7595
7596         * lyxrc.C (read): treat a viewer or converter command of "none" as
7597         if it were empty.
7598
7599         * MenuBackend.C (expandFormats): for an update, also allow the
7600         formats that are not viewable
7601
7602         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7603         script if it is newer than the lyxrc.defaults in user directory
7604
7605 2002-10-07 André Pönitz <poenitz@gmx.net>
7606
7607         * text.C: Vitaly Lipatov's small i18n fix
7608
7609 2002-09-25  Angus Leeming  <leeming@lyx.org>
7610
7611         * ispell.h: doxygen fix.
7612
7613 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7614
7615         * buffer.h (readFile): Add a new argument to the method, to allow
7616         reading of old-format templates.
7617
7618 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * toc.C (getTocList): Get TOC from InsetWrap.
7621
7622 2002-09-16  John Levon  <levon@movementarian.org>
7623
7624         * lyxfunc.C: check tabular for cut/copy too
7625
7626 2002-09-12  John Levon  <levon@movementarian.org>
7627
7628         * LyXAction.C: tidy
7629
7630         * factory.h:
7631         * factory.C: add header
7632
7633         * paragraph_funcs.h:
7634         * paragraph_funcs.C: cleanup
7635
7636 2002-09-11  John Levon  <levon@movementarian.org>
7637
7638         * PrinterParams.h: odd/even default to true
7639
7640 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7641
7642         * PrinterParams.h: update printer parameters for new xforms dialog
7643
7644 2002-09-11  Angus Leeming  <leeming@lyx.org>
7645
7646         * lyxserver.C (read_ready): re-write to make it more transparent
7647         and to make it work in coherent fashion under Tru64 Unix.
7648
7649 2002-09-11  André Pönitz <poenitz@gmx.net>
7650
7651         * commandtags.h:
7652         * LyXAction.C:
7653         * text3.C: implement LFUN_WORDSEL
7654
7655 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7658         make floatlist_ a boost::shared_ptr<FloatList>
7659
7660         * lyxtextclass.C: include FloatList.h
7661         (LyXTextClass): initialize floatlist_
7662         (TextClassTags): add TC_NOFLOAT
7663         (Read): match "nofloat" to TC_NOFLOAT and use it.
7664         (readFloat): modify call to floatlist_
7665         (floats): ditto
7666         (floats): ditto
7667
7668         * FloatList.[Ch] (FloatList): remove commented out float
7669         initialization.
7670         (erase): new function
7671
7672 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7673
7674         * MenuBackend.C (expandToc): fix crash when there is no document
7675         open
7676
7677 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7678
7679         * many files: Add insetwrap.
7680
7681 2002-09-09  John Levon  <levon@movementarian.org>
7682
7683         * text2.C: remove confusing and awkward depth wraparound
7684
7685 2002-09-09  John Levon  <levon@movementarian.org>
7686
7687         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7688
7689         * buffer.h:
7690         * buffer.C: remove getIncludeonlyList()
7691
7692         * paragraph.C:
7693         * lyxfunc.C: remove headers
7694
7695 2002-09-09  Juergen Vigna  <jug@sad.it>
7696
7697         * text.C (getColumnNearX): fix form Michael this is most
7698         probably a cut&paste bug.
7699
7700 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7703
7704         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7705         references, ws changes.
7706
7707         * text2.C (init): update counters after init
7708         (insertParagraph): no need to set counter on idividual paragraphs.
7709         (setCounter): access the counters object in the textclass object
7710         on in the buffer object.
7711         (updateCounters): ditto
7712
7713         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7714         shared_ptr<Counters> to avoid loading counters.h in all
7715         compilation units.
7716         (LyXTextClass): initialize ctrs_
7717         (TextClassTags): add TC_COUNTER, and ...
7718         (Read): use it here.
7719         (CounterTags): new tags
7720         (readCounter): new function
7721         (counters): new funtion
7722         (defaultLayoutName): return a const reference
7723
7724         * counters.C (Counters): remove contructor
7725         (newCounter): remove a couple of unneeded statements.
7726         (newCounter): simplify a bit.
7727         (numberLabel): some small formatting changes.
7728
7729         * buffer.[Ch]: remove all traces of counters, move the Counters
7730         object to the LyXTextClass.
7731
7732 2002-09-06  Alain Castera  <castera@in2p3.fr>
7733
7734         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7735         package to set the horizontal alignment on fixed width columns.
7736
7737         * lyx_sty.C:
7738         * lyx_sty.h: added tabularnewline macro def.
7739
7740         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7741
7742 2002-09-06  John Levon  <levon@movementarian.org>
7743
7744         * LyXAction.C: tooltips for sub/superscript
7745
7746         * MenuBackend.C: a bit more verbose
7747
7748         * lyxfunc.C: tiny clean
7749
7750         * undo_funcs.C: document undo_frozen
7751
7752 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * counters.C (Counters): add missing algorithm counter.
7755
7756         * text2.C (setCounter): lookup the counter with layouts latexname
7757         instead of by section number.
7758         (setCounter): use a hackish way to lookup the correct enum
7759         counter.
7760         a float name->type change
7761         reset enum couners with counter name directly instead of depth value.
7762
7763         * counters.C (Counters): remove the push_backs, change to use the
7764         float type not the float name.
7765         (labelItem): remove unused string, float name->type change
7766
7767         * counters.h: don't include vector, loose the enums and sects vectors
7768
7769 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7772         (Read): add float->TC_FLOAT to textclassTags
7773         (Read): and handle it in the switch
7774         (readFloat): new function
7775
7776         * FloatList.C (FloatList): comment out the hardcoded float
7777         definitions.
7778
7779         * lyxlayout.h: ws change.
7780
7781 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7782
7783         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7784
7785 2002-09-03  Angus Leeming  <leeming@lyx.org>
7786
7787         * BufferView_pimpl.h: qualified name is not allowed in member
7788         declaration: WorkArea & Pimpl::workarea() const;
7789
7790         * factory.C: added using std::endl directive.
7791
7792         * text3.C: added using std::find and std::vector directives.
7793
7794 2002-08-29  André Pönitz <poenitz@gmx.net>
7795
7796         * lyxtext.h:
7797         * text2.C: remove unused member number_of_rows
7798
7799         * Makefile.am:
7800         * BufferView2.C: remove file, move contents to...
7801         * BufferView.C: ... here
7802
7803         * BufferView_pimpl.C:
7804         * factory.C: move more inset creation to factory
7805
7806         * vspace.C: avoid direct usage of LyXText, ws changes
7807
7808         * BufferView.[Ch]:
7809                 don't provide direct access to WorkArea, use two simple
7810                 acessors haveSelction() and workHeight() instead
7811
7812
7813 2002-08-29  John Levon  <levon@movementarian.org>
7814
7815         * BufferView_pimpl.C (dispatch): do not continue when
7816           no buffer
7817
7818 2002-08-28  André Pönitz <poenitz@gmx.net>
7819
7820         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7821
7822         * BufferView.h:
7823         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7824
7825 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7826
7827         * buffer.C: increment LYX_FORMAT to 221
7828
7829         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7830         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7831
7832         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7833
7834         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7835
7836 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7837
7838         * factory.C (createInset): use LyXTextClass::floats
7839
7840         * MenuBackend.C (expandFloatListInsert):
7841         (expandFloatInsert):
7842         (expandToc):
7843
7844         * text2.C (setCounter):
7845
7846         * LaTeXFeatures.C (useFloat):
7847         (getFloatDefinitions):
7848
7849         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7850
7851         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7852         floatlist_, with accessor floats().
7853
7854         * FloatList.h: remove global FloatList
7855
7856 2002-08-26  André Pönitz <poenitz@gmx.net>
7857
7858         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7859
7860         * BufferView.h:
7861         * BufferView2.C:
7862         * BufferView_pimpl.C:
7863         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7864
7865 2002-08-25  John Levon  <levon@movementarian.org>
7866
7867         * LyXAction.C: fix margin note description
7868
7869 2002-08-24  John Levon  <levon@movementarian.org>
7870
7871         * buffer.C:
7872         * bufferlist.C:
7873         * bufferview_funcs.C:
7874         * lyxfont.C:
7875         * undo_funcs.C: cleanups
7876
7877         * lyxfunc.C: disable CUT/COPY when no selection
7878
7879 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7880
7881         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7882         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7883
7884         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7885         Add backward compatibility to "mono", "gray" and "no".
7886
7887 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7888
7889         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7890         (and file_format >= 200).
7891
7892 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7895
7896 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7897
7898         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7899
7900 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7901
7902         * BufferView_pimpl.C:
7903         * LyXAction.C:
7904         * buffer.C:
7905         * commandtags.h:
7906         * lyxfunc.C:
7907         * paragraph.[Ch]:
7908         * text2.C:
7909         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7910         inset and code to make it  work with the paragraph code. The inset
7911         can be anywhere in the paragraph, but will only do the expected
7912         thing in LaTeX if the layout file contains the parameter line
7913                         OptionalArgs    1
7914         (or more generally, a nonzero value) for that layout.
7915
7916 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * paragraph.h: remove the declaration of undefined counters class
7919         function.
7920
7921 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7922
7923         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7924         Dr. Richard Hawkins.
7925
7926 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7927
7928         * paragraph_funcs.h: remove some unneeded includes
7929
7930         * text.C (backspace): pasteParagraph now in global scipe
7931
7932         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7933         (pasteSelection): ditto
7934
7935         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7936         * paragraph_funcs.C (pasteParagraph): ... here
7937
7938 2002-08-20  André Pönitz <poenitz@gmx.net>
7939
7940         * commandtags.h: new LFUNs for swapping/copying table row/colums
7941
7942         * LyXAction.C:
7943         * lyxfunc.C: support for new lfuns
7944
7945 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7946
7947         * tabular.C:
7948         * buffer.[Ch]: remove NO_COMPABILITY stuff
7949
7950 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7951
7952         * boost.C (throw_exception): new file, with helper function for
7953         boost compiled without exceptions.
7954
7955         * paragraph.h:
7956         * lyxlength.C:
7957         * buffer.C:
7958         * ParameterStruct.h:
7959         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7960
7961         * bufferlist.C (emergencyWriteAll): use boost bind
7962
7963         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7964
7965         * text.C: include paragraph_funcs.h
7966         (breakParagraph): breakParagraph is now in global scope
7967
7968         * paragraph_funcs.[Ch]: new files
7969
7970         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7971         global scope
7972
7973         * buffer.C: include paragraph_funcs.h
7974         (insertStringAsLines): breakParagraph is now in global scope
7975
7976         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7977         paragraph_funcs.C
7978
7979         * CutAndPaste.C: include paragraph_funcs.h
7980         (cutSelection): breakParagraphConservative is now in global scope
7981         (pasteSelection): ditto
7982
7983         * buffer.h: declare oprator== and operator!= for
7984         Buffer::inset_iterator
7985
7986         * bufferlist.C (emergencyWrite): don't use fmt(...)
7987
7988         * text3.C: add using std::endl
7989
7990         * BufferView.C (moveCursorUpdate): remove default arg
7991
7992 2002-08-20  André Pönitz <poenitz@gmx.net>
7993
7994         * buffer.[Ch]: move inline functions to .C
7995
7996         * BufferView2.C:
7997         * BufferView_pimpl.C:
7998         * text.C:
7999         * buffer.[Ch]: use improved inset_iterator
8000
8001         * buffer.C:
8002         * paragraph.[Ch]: write one paragraph at a time
8003
8004 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8005
8006         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8007         style if style is not specified.
8008
8009 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * text2.C (setCounter): when searching for right label for a
8012         caption, make sure to recurse to parent insets (so that a caption
8013         in a minipage in a figure float works) (bug #568)
8014
8015 2002-08-20  André Pönitz <poenitz@gmx.net>
8016
8017         * text3.C: new file for LyXText::dispatch() and helpers
8018
8019         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8020
8021         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8022
8023 2002-08-19  André Pönitz <poenitz@gmx.net>
8024
8025         * lyxtext.h:
8026         * text.C: new LyXText::dispatch()
8027
8028         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8029
8030 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8031
8032         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8033
8034         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8035         Hebrew text.
8036
8037 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * Makefile.am: use $(variables) instead of @substitutions@
8040
8041 2002-08-15  André Pönitz <poenitz@gmx.net>
8042
8043         * lyxfunc.C:
8044         * BufferView_pimpl.C: streamlining mathed <-> outer world
8045         interaction
8046
8047         * commandtags.h:
8048         * LyXAction.C: remove unused LFUN_MATH
8049
8050 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8053
8054 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * paragraph.C (Paragraph): reformat a bit
8057         (cutIntoMinibuffer): use builtin InsetList function instad of
8058         doing it manually.
8059         (getInset): ditto
8060
8061         * buffer.C: include boost/bind.hpp, add using std::for_each
8062         (writeFileAscii): use ParagraphList iterators
8063         (validate): use for_each for validate traversal of paragraphs
8064         (getBibkeyList): use ParagraphList iterators
8065         (resizeInsets): use for_each to resizeInsetsLyXText for all
8066         paragraphs.
8067         (getParFromID): use ParagraphList iterators
8068
8069         * BufferView2.C (lockInset): use paragraph list and iterators
8070
8071 2002-08-14  John Levon  <levon@movementarian.org>
8072
8073         * lyxserver.C: remove spurious xforms include
8074
8075 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8076
8077         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8078
8079 2002-08-13  André Pönitz <poenitz@gmx.net>
8080
8081         * LyXAction.[Ch]:
8082         * lyxfunc.C: further cleaning
8083
8084 2002-08-13  André Pönitz <poenitz@gmx.net>
8085
8086         * funcrequest.h: new constructor
8087
8088         * funcrequest.C: move stuff here from .h
8089
8090         * Makefile.am:
8091         * BufferView_pimpl.C:
8092         * LyXAction.C:
8093         * toc.C:
8094         * lyxfunc.C: subsequent changes
8095
8096         * lyxfunc.h: new view() member function
8097
8098         * lyxfunc.C: subsequent changes
8099
8100 2002-08-13  Angus Leeming  <leeming@lyx.org>
8101
8102         * BufferView2.C:
8103         * BufferView_pimpl.C:
8104         * buffer.C:
8105         * converter.C:
8106         * importer.C:
8107         * lyxfunc.C:
8108         * lyxvc.C:
8109         * toc.C:
8110         * vc-backend.C:
8111         changes due to the changed LyXView interface that now returns references
8112         to member variables not pointers.
8113
8114 2002-08-13  Angus Leeming  <leeming@lyx.org>
8115
8116         * WordLangTuple (word, lang_code): return references to strings,
8117         not strings.
8118
8119         * BufferView.h:
8120         * SpellBase.h:
8121         * lyxtext.h: forward-declare WordLangTuple.
8122
8123         * BufferView2.C:
8124         * ispell.C:
8125         * pspell.C:
8126         * text.C: #include "WordLangTuple.h".
8127
8128         * lyxtext.h:
8129         * text.C: (selectNextWordToSpellcheck): constify return type.
8130
8131 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8132
8133         * buffer.C:
8134         * buffer.h:
8135         * lyxtext.h:
8136         * paragraph.C:
8137         * paragraph_pimpl.h:
8138         * text.C:
8139         * text2.C:
8140         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8141         suggested by Angus.
8142         Made updateCounter always count from start of buffer, and removed
8143         second argument (par).
8144         Reverted floats number display to '#'. Perhaps I'll try again when the
8145         code base is sanitized a bit.
8146
8147 2002-08-12  Angus Leeming  <leeming@lyx.org>
8148
8149         * buffer.[Ch] (getLabelList): constify.
8150
8151 2002-08-07  André Pönitz <poenitz@gmx.net>
8152
8153         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8154
8155         * funcrequest.h: extension to keep mouse (x,y) position
8156
8157 2002-08-12  Juergen Vigna  <jug@sad.it>
8158
8159         * BufferView2.C (insertErrors): forbid undo when inserting error
8160         insets.
8161
8162         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8163
8164 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * ParagraphList.[Ch]: new files
8167
8168         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8169
8170         * BufferView2.C (lockInset): ParagraphList changes
8171         * toc.C: ditto
8172         * text2.C: ditto
8173         * bufferlist.C: ditto
8174         * buffer.h: ditto
8175         * buffer.C: ditto
8176
8177 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8180         unused class variable counter_,
8181
8182         * paragraph.[Ch] (getFirstCounter): delete unused function
8183
8184         * counters.C: include LAssert.h
8185         (reset): add a new function with no arg, change other version to
8186         not have def. arg and to not allow empty arg.
8187
8188         * text2.C (setCounter): remove empty arg from call to Counters::reset
8189
8190 2002-08-11  John Levon  <levon@movementarian.org>
8191
8192         * Makefile.am: add WordLangTuple.h
8193
8194 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8197         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8198
8199         * insets/insettext.C: InsetList changes
8200
8201         * graphics/GraphicsSupport.C (operator()): InsetList changes
8202
8203         * toc.C (getTocList): InsetList changes
8204
8205         * paragraph_pimpl.[Ch]: InsetList changes
8206
8207         * paragraph.[Ch]: InsetList changes
8208
8209         * buffer.C (inset_iterator): InsetList changes
8210         (setParagraph): ditto
8211         * buffer.h (inset_iterator): ditto
8212         * iterators.C (operator++): ditto
8213         * iterators.h: ditto
8214
8215         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8216
8217         * InsetList.[Ch]: new files, most InsetList handling moved out of
8218         paragraph.C.
8219
8220         * BufferView2.C (removeAutoInsets): InsetList changes
8221         (lockInset): ditto
8222         (ChangeInsets): ditto
8223
8224 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * paragraph_pimpl.h (empty): new function
8227
8228         * paragraph.[Ch] (empty): new function
8229
8230         * other files: use the new Paragraph::empty function
8231
8232 2002-08-09  John Levon  <levon@movementarian.org>
8233
8234         * lyxtext.h: remove unused refresh_height
8235
8236 2002-08-09  John Levon  <levon@movementarian.org>
8237
8238         * Makefile.am:
8239         * sgml.h:
8240         * sgml.C:
8241         * buffer.C:
8242         * paragraph.h:
8243         * paragraph.C: move sgml char escaping out of paragraph
8244
8245         * paragraph.h:
8246         * paragraph.C: remove id setter
8247
8248         * buffer.C:
8249         * paragraph.C:
8250         * paragraph_pimpl.C: remove dead tex_code_break_column
8251
8252         * bufferview_funcs.C: small cleanup
8253
8254         * lyxfunc.C: remove dead proto
8255
8256         * lyxtext.h: make some stuff private. Remove some dead stuff.
8257
8258         * lyxgluelength.C: make as[LyX]String() readable
8259
8260 2002-08-08  John Levon  <levon@movementarian.org>
8261
8262         * LyXAction.h:
8263         * LyXAction.C:
8264         * MenuBackend.C:
8265         * ToolbarDefaults.C:
8266         * lyxfunc.C:
8267         * lyxrc.C:
8268         * toc.C: lyxaction cleanup
8269
8270 2002-08-08  John Levon  <levon@movementarian.org>
8271
8272         * BufferView2.C: small cleanup
8273
8274         * lyxfind.h:
8275         * lyxfind.C: move unnecessary header into the .C
8276
8277 2002-08-08  John Levon  <levon@movementarian.org>
8278
8279         * funcrequest.h: just tedious nonsense
8280
8281         * lyx_main.h:
8282         * lyx_main.C: cleanups
8283
8284         * buffer.C:
8285         * vspace.C: remove dead header lyx_main.h
8286
8287 2002-08-07  Angus Leeming  <leeming@lyx.org>
8288
8289         * Paragraph.[Ch]:
8290         * paragraph_pimpl.h:
8291         Forward declare class Counters in paragraph.h by moving the ctrs member
8292         variable into Paragraph::Pimpl.
8293         (counters): new method, returning a reference to pimpl_->ctrs.
8294
8295         * text2.C: ensuing changes.
8296
8297 2002-08-07  John Levon  <levon@movementarian.org>
8298
8299         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8300
8301         * BufferView_pimpl.C: announce X selection on double/triple
8302           click
8303
8304         * lyx_main.C: use correct bool in batch dispatch
8305
8306         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8307
8308 2002-08-07  André Pönitz <poenitz@gmx.net>
8309
8310         * funcrequest.h: new class to wrap a kb_action and its argument
8311
8312         * BufferView.[Ch]:
8313         * BufferView_pimpl[Ch]:
8314         * LaTeX.C:
8315         * LyXAction.[Ch]:
8316         * lyxfunc.[Ch]:
8317         * lyxrc.C: subsequent changes
8318
8319
8320 2002-08-07  John Levon  <levon@movementarian.org>
8321
8322         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8323           document options change.
8324
8325 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8326
8327         * counters.[Ch]
8328         * text2.C
8329         * paragraph.[Ch]
8330         * makefile.am: move counters functionality over from
8331         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8332
8333 2002-08-06  John Levon  <levon@movementarian.org>
8334
8335         * WordLangTuple.h: new file for word + language code tuple
8336
8337         * SpellBase.h:
8338         * pspell.h:
8339         * pspell.C:
8340         * ispell.h:
8341         * ispell.C:
8342         * lyxtext.h:
8343         * text.C:
8344         * text2.C:
8345         * BufferView.h:
8346         * BufferView2.C: use WordLangTuple
8347
8348         * layout.h:
8349         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8350
8351 2002-08-06  John Levon  <levon@movementarian.org>
8352
8353         * lyx_main.C: fix cmdline batch handling
8354
8355 2002-08-06  André Pönitz <poenitz@gmx.net>
8356
8357         * lyxrc.C: set default for show_banner to true
8358
8359 2002-08-06  John Levon  <levon@movementarian.org>
8360
8361         * pspell.C: fix a crash, and allow new aspell to work
8362
8363 2002-08-06  John Levon  <levon@movementarian.org>
8364
8365         * lyxfunc.C:
8366         * kbmap.C: small cleanup
8367
8368         * vspace.h:
8369         * vspace.C: add const
8370
8371 2002-08-05  John Levon  <levon@movementarian.org>
8372
8373         * LyXAction.C: back to tabular-insert
8374
8375 2002-08-04  John Levon  <levon@movementarian.org>
8376
8377         * BufferView.h:
8378         * BufferView.C: cosmetic change
8379
8380         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8381
8382         * bufferlist.C:
8383         * buffer.h:
8384         * buffer.C:
8385         * lyxcb.h:
8386         * lyxcb.C:
8387         * lyxserver.C:
8388         * lyxvc.C:
8389         * vc-backend.C:
8390         * BufferView2.C: purge all "Lyx" not "LyX" strings
8391
8392         * lyxcursor.h:
8393         * lyxcursor.C: attempt to add some documentation
8394
8395         * lyxfunc.C:
8396         * commandtags.h:
8397         * LyXAction.C:
8398         * ToolbarDefaults.C:
8399         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8400           merge with LFUN_TABULAR_INSERT
8401
8402         * Makefile.am:
8403         * SpellBase.h:
8404         * ispell.h:
8405         * ispell.C:
8406         * pspell.h:
8407         * pspell.C: split up i/pspell implementations into separate
8408           files, many cleanups
8409
8410         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8411
8412         * text2.C: some cleanup
8413
8414         * lyxfunc.C: don't check for isp_command == "none" any more, it
8415           didn't make any sense
8416
8417 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8418
8419         * counters.[Ch]
8420         * text2.C
8421         * paragraph.[Ch]
8422         * makefile.am: move counters functionality over
8423         from text2.C/paragraph.[Ch] to counters.[Ch], and
8424         make proper C++.
8425 2002-08-02  John Levon  <levon@movementarian.org>
8426
8427         * buffer.C: s/lyxconvert/lyx2lyx/
8428
8429 2002-08-02  Angus Leeming  <leeming@lyx.org>
8430
8431         * lyxlex.C: revert John's change as it breaks reading of the user
8432         preamble.
8433
8434 2002-08-02  Angus Leeming  <leeming@lyx.org>
8435
8436         * importer.C (Import):
8437         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8438         changes due to LyXView::view() now returning a boost::shared_ptr.
8439
8440 2002-08-02  John Levon  <levon@movementarian.org>
8441
8442         * lyxlex.C: small cleanup
8443
8444 2002-08-02  John Levon  <levon@movementarian.org>
8445
8446         * text2.C (status): small cleanup, no logic change
8447
8448 2002-08-01  John Levon  <levon@movementarian.org>
8449
8450         * buffer.h:
8451         * buffer.C (writeFile): don't output alerts, caller
8452           handles this
8453
8454         * bufferlist.C:
8455         * lyx_cb.C: from above
8456
8457         * lyxfunc.C: allow to open non-existent files
8458
8459 2002-07-31  John Levon  <levon@movementarian.org>
8460
8461         * lyxserver.C: don't let incidental errors get
8462           in the way (errno)
8463
8464 2002-07-30  John Levon  <levon@movementarian.org>
8465
8466         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8467
8468 2002-07-30  John Levon  <levon@movementarian.org>
8469
8470         * lyxserver.h:
8471         * lyxserver.C: remove I/O callback too
8472
8473 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8474
8475         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8476         log.
8477
8478 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * many files: strip,frontStrip -> trim,ltrim,rtrim
8481
8482 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * PrinterParams.h: remove extern containsOnly, and include
8485         support/lstrings.h instead.
8486
8487         * LaTeX.C (scanAuxFile): modify because of strip changes
8488         (deplog): ditto
8489         * buffer.C (makeLaTeXFile): ditto
8490         * bufferparams.C (writeFile): ditt
8491         * lyxfont.C (stateText): ditto
8492         * lyxserver.C (read_ready): ditto
8493         * vc-backend.C (scanMaster): ditto
8494
8495         * BufferView_pimpl.h: ws changes
8496
8497         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8498
8499 2002-07-26  André Pönitz <poenitz@gmx.net>
8500
8501         * kb_sequence.C: remove unnedred usings
8502
8503 2002-07-26  Juergen Vigna  <jug@sad.it>
8504
8505         * lyxfind.C (LyXReplace): we have to check better if the returned
8506         text is not of theLockingInset()->getLockingInset().
8507
8508 2002-07-25  Juergen Vigna  <jug@sad.it>
8509
8510         * lyxfind.C (LyXReplace): don't replace if we don't get the
8511         right LyXText.
8512
8513         * undo_funcs.C (createUndo): remove debugging code.
8514
8515 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8516
8517         * buffer.C (parseSingleLyXformat2Token): Use default placement
8518         when reading old floats.
8519
8520         * FloatList.C (FloatList): Change the default placement of figure
8521         and tables to "tbp".
8522
8523 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8524
8525         * MenuBackend.C: using std::max
8526
8527 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8528
8529         * MenuBackend.C (expandToc):
8530         (expandToc2): code moved from xforms menu frontend. It is now
8531         generic and TOCs are transparent to menu frontends.
8532
8533 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8534
8535         * toc.C (getTocList): protect against buf=0
8536
8537         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8538         Menu as first parameter. Now, this calls itself recursively to
8539         expand a whole tree (this will be useful for TOC handling)
8540         (expandFloatInsert): remove 'wide' version of floats
8541
8542         * MenuBackend.h (submenuname): returns the name of the submenu.
8543         (submenu): returns the submenu itself, provided it has been
8544         created by MenuBackend::expand
8545
8546 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8549         insets which have noFontChange == true. (bug #172)
8550
8551 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * BufferView_pimpl.C: add connection objects and use them...
8554         (Pimpl): here.
8555
8556 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8557
8558         * MenuBackend.C (expandLastfiles):
8559         (expandDocuments):
8560         (expandFormats):
8561         (expandFloatListInsert):
8562         (expandFloatInsert):
8563         (expand): split expand in parts
8564
8565 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * lyx_gui.C: use lyx_gui::exit()
8568
8569 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * LyXAction.C: show the failing pseudo action
8572
8573 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8574
8575         * buffer.C (readFile): Run the lyxconvert script in order to read
8576         old files.
8577
8578 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * LyXAction.C:
8581         * commandtags.h:
8582         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8583
8584 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * LyXAction.C:
8587         * commandtags.h:
8588         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8589
8590 2002-07-22  Herbert Voss  <voss@lyx.org>
8591
8592         * lengthcommon.C:
8593         * lyxlength.[Ch]: add support for the vertical lengths
8594
8595 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * toc.[Ch]: std:: fixes
8598
8599 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8600
8601         * lyxrc.C: do not include lyx_main.h
8602
8603         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8604         for layouts
8605
8606         * lyxrc.C:
8607         * encoding.C:
8608         * bufferlist.C:
8609         * BufferView2.C: include "lyxlex.h"
8610
8611         * tabular.h:
8612         * bufferparams.h: do not #include "lyxlex.h"
8613
8614         * lyxtextclasslist.C (Add): remove method
8615         (classlist): renamed to classlist_
8616
8617         * paragraph_pimpl.C:
8618         * paragraph.C:
8619         * text2.C:
8620         * CutAndPaste.C:
8621         * bufferview_funcs.C:
8622         * bufferlist.C:
8623         * text.C:
8624         * LaTeXFeatures.C:
8625         * buffer.C:
8626         * toc.C (getTocList): use BufferParams::getLyXTextClass
8627
8628         * toc.C (getTocList): use InsetFloat::addToToc
8629
8630         * toc.[Ch]: new files, containing helper functions to handle table
8631         of contents
8632
8633         * lyxfunc.C (dispatch): no need to remove spaces around command
8634         given as a string
8635         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8636         first command of the sequence; it is not very clever, but I do not
8637         have a better idea, actually
8638
8639         * LyXAction.C (LookupFunc): make sure to remove space at the
8640         beginning and end of the command
8641
8642 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8643
8644         * MenuBackend.C (getMenubar): new method: return the menubar of
8645         this menu set
8646         (read): treat differently reading of menu and menubar (in
8647         particular, the menubar has no name now)
8648         (Menu::menubar): remove
8649
8650         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8651         saving is finished
8652
8653 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8654
8655         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8656         a bibitem inset in a RTL paragraph.
8657
8658 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * paragraph_pimpl.C: constify
8661
8662         * BufferView_pimpl.C:
8663         * LaTeX.C:
8664         * lyxfunc.C: fix dispatch in a nicer way
8665
8666 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8667
8668         * lyxfunc.C (dispatch):
8669         * BufferView_pimpl.C:
8670         * BufferView_pimpl.h:
8671         * BufferView.C:
8672         * BufferView.h: rename Dispatch() to dispatch()
8673
8674         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8675
8676         * lyxlayout.C (Read): honor DependsOn tag
8677
8678         * lyxlayout.[Ch] (depends_on): new method
8679
8680         * version.C.in: update lyx_docversion
8681
8682         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8683
8684         * paragraph.C (validate): remove from here...
8685         * paragraph_pimpl.C (validate): ... and move here
8686         (isTextAt): make it const
8687
8688         * buffer.C (getLists): ws cleanup
8689
8690 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8691
8692         * language.C (read): Use iso8859-1 encoding in latex_lang
8693         (this prevents LyX from crashing when using iso10646-1 encoding).
8694
8695 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * text2.C (toggleInset): if cursor is inside an inset, close the
8698         inset and leave cursor _after_ it
8699
8700 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * lyxfunc.C: move minibuffer completion handling out of here
8703
8704 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * BufferView_pimpl.C:
8707         * LaTeX.C: fix dispatch calls
8708
8709 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * text.C (drawChars): Fix Arabic text rendering.
8712
8713 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8714
8715         * LyXAction.C:
8716         * commandtags.h:
8717         * lyxfunc.C: remove message-push/pop
8718
8719         * lyxserver.C:
8720         * lyxfunc.h:
8721         * lyxfunc.C: rationalise some code by removing verboseDispatch
8722           in favour of a bool argument to dispatch()
8723
8724 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * lyx_main.C (init): make sure to read symlinks as absolute paths
8727
8728 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8729
8730         * lyxfunc.h:
8731         * lyxfunc.C: no need for commandshortcut to be a member
8732
8733 2002-07-15  André Pönitz <poenitz@gmx.net>
8734
8735         * converter.C: add support for $$s (scripts from lib/scripts dir)
8736         * lyx_main.C: white space
8737
8738 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * bufferlist.C:
8741         * lyxrc.h:
8742         * lyxrc.C: remove second exit confirmation
8743
8744 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8745
8746         * BufferView.h:
8747         * BufferView.C:
8748         * BufferView2.C:
8749         * BufferView_pimpl.h:
8750         * BufferView_pimpl.C:
8751         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8752
8753 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8754
8755         * MenuBackend.C (expand): add numeric shortcuts to document menu
8756
8757         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8758
8759 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8760
8761         * lyxfont.C (setLyXFamily):
8762         (setLyXSeries):
8763         (setLyXShape):
8764         (setLyXSize):
8765         (setLyXMisc):
8766         (lyxRead):
8767         * debug.C (value):
8768         * buffer.C (asciiParagraph): use ascii_lowercase
8769
8770 2002-07-15  Mike Fabian  <mfabian@suse.de>
8771
8772         * lyxlex_pimpl.C (search_kw):
8773         * lyxlex.C (getLongString):
8774         * converter.h (operator<):
8775         * converter.C (operator<):
8776         * buffer.C (parseSingleLyXformat2Token):
8777         (asciiParagraph):
8778         * ToolbarDefaults.C (read):
8779         * MenuBackend.C (checkShortcuts):
8780         (read):
8781         * LColor.C (getFromGUIName):
8782         (getFromLyXName): use the compare_ascii_no_case instead of
8783         compare_no_case, because in turkish, 'i' is not the lowercase
8784         version of 'I', and thus turkish locale breaks parsing of tags.
8785
8786 2002-07-16  Angus Leeming  <leeming@lyx.org>
8787
8788         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8789         now takes a Buffer const & argument.
8790
8791 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * BufferView.C (resize): check there's a buffer to resize
8794
8795 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8796
8797         * lyxfunc.C: remove dead code
8798
8799         * lyxserver.h:
8800         * lyxserver.C: use lyx_guii::set_read_callback
8801
8802 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8803
8804         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8805         an inset in a RTL paragraph.
8806
8807 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * lyxfunc.C: repaint after a font size update
8810
8811 2002-07-15  André Pönitz <poenitz@gmx.net>
8812
8813         * lyxlength.C: inBP should be able to return negative values
8814
8815 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * lyxfunc.C: use lyx_gui::update_fonts()
8818
8819 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * lyxfunc.C: use lyx_gui::update_color()
8822
8823 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8824
8825         * bufferlist.C:
8826         * lyxfunc.h:
8827         * lyxfunc.C:
8828         * lyxrc.h:
8829         * lyxrc.C: remove file->new asks for name option, and let
8830           buffer-new take an argument
8831
8832 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * BufferView_pimpl.C: remove unneeded extra repaint()
8835
8836 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8837
8838         * LyXAction.C: allow command-sequence with NoBuffer
8839
8840         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8841
8842 2002-07-10  Angus Leeming  <leeming@lyx.org>
8843
8844         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8845
8846 2002-07-09  Angus Leeming  <leeming@lyx.org>
8847
8848         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8849
8850 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8851
8852         * lengthcommon.h: whitespace
8853
8854         * lyxfunc.C: update scrollbar after goto paragraph
8855
8856         * lyxtext.h: factor out page break drawing, and fix it so
8857           page break/added space paints as selected nicely
8858
8859 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8860
8861         * BufferView_pimpl.C: add FIXMEs, clean up a little
8862
8863 2002-07-09  André Pönitz <poenitz@gmx.net>
8864
8865         * lyxfont.[Ch]: support for wasy symbols
8866
8867 2002-07-08  André Pönitz <poenitz@gmx.net>
8868
8869         * BufferView_pimpl.C: apply John's patch for #93.
8870
8871 2002-07-05  Angus Leeming  <leeming@lyx.org>
8872
8873         * BufferView_pimpl.C (buffer): generate previews if desired.
8874
8875         * LColor.h: add "preview" to the color enum.
8876
8877         * LColor.C (LColor): add a corresponding entry to the items array.
8878
8879         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8880         with this buffer.
8881
8882 2002-07-05  Angus Leeming  <leeming@lyx.org>
8883
8884         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8885         The body of the code is now in the method that is passed an ostream &
8886         rather than a file name.
8887         Pass an additional only_preamble parameter, useful for the forthcoming
8888         preview stuff.
8889
8890 2002-07-03  André Pönitz <poenitz@gmx.net>
8891
8892         * lyxfunc.C: simplify getStatus() a bit for math stuff
8893
8894 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8895
8896         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8897
8898 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * text.C (changeRegionCase): do not change case of all the
8901         document when region ends at paragraph end (bug #461)
8902
8903 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * paragraph.C (startTeXParParams):
8906         (endTeXParParams): add \protect when necessary
8907
8908 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8909
8910         * BufferView_pimpl.C (workAreaExpose): remove warning
8911
8912 2002-06-27  Angus Leeming  <leeming@lyx.org>
8913
8914         * Makefile.am: add lyxlayout_ptr_fwd.h.
8915
8916 2002-06-26  André Pönitz <poenitz@gmx.net>
8917
8918         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8919
8920 2002-06-25  Angus Leeming  <leeming@lyx.org>
8921
8922         * lyxfunc.C (dispatch): Comment out the call to
8923         grfx::GCache::changeDisplay. The method no longer exists now that the
8924         pixmap generation part of the graphics loader has been moved into
8925         InsetGraphics.
8926
8927 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8928
8929         * text2.C: layout as layout
8930
8931         * text.C: layout as layout
8932
8933         * tabular.C (OldFormatRead): layout as layout
8934
8935         * paragraph_pimpl.C (TeXDeeper): layout as layout
8936         (realizeFont): layout as layout
8937
8938         * paragraph.C (writeFile): layout as layout
8939         (validate): layout as layout
8940         (getFont): layout as layout
8941         (getLabelFont): layout as layout
8942         (getLayoutFont): layout as layout
8943         (breakParagraph): layout as layout
8944         (stripLeadingSpaces): layout as layout
8945         (getEndLabel): layout as layout
8946         (getMaxDepthAfter): layout as layout
8947         (applyLayout): layout as layout
8948         (TeXOnePar): layout as layout
8949         (simpleTeXOnePar): layout as layout
8950         (TeXEnvironment): layout as layout
8951         (layout): layout as layout
8952         (layout): layout as layout
8953
8954         * lyxtextclass.C (compare_name): new functor to work with
8955         shared_ptr, layout as layout
8956         (Read): layout as layout
8957         (hasLayout): layout as layout
8958         (operator): layout as layout
8959         (delete_layout): layout as layout
8960         (defaultLayout): layout as layout
8961
8962         * lyxlayout_ptr_fwd.h: new file
8963
8964         * lyxlayout.C (Read): layout as layout
8965
8966         * lyx_cb.C (MenuInsertLabel): layout as layout
8967
8968         * bufferlist.C (newFile): layout as layout
8969
8970         * buffer.C (readLyXformat2): layout as layout
8971         (parseSingleLyXformat2Token): layout as layout
8972         (insertStringAsLines): layout as layout
8973         (asciiParagraph): layout as layout
8974         (latexParagraphs): layout as layout
8975         (makeLinuxDocFile): layout as layout
8976         (simpleLinuxDocOnePar): layout as layout
8977         (makeDocBookFile): layout as layout
8978         (simpleDocBookOnePar): layout as layout
8979         (getLists): layout as layout
8980
8981         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8982
8983         * CutAndPaste.C (cutSelection): layout as layout
8984         (pasteSelection): layout as layout
8985         (SwitchLayoutsBetweenClasses): layout as layout
8986
8987         * BufferView_pimpl.C (Dispatch): layout as layout
8988         (smartQuote): layout as layout
8989
8990         * BufferView2.C (unlockInset): layout as layout
8991
8992 2002-06-24  André Pönitz <poenitz@gmx.net>
8993
8994         * lyxfunc.C: fix #487
8995
8996 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * lyxrc.h:
8999         * lyxrc.C:
9000         * lyxfunc.C: remove display_shortcuts, show_banner
9001
9002 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * Buffer_pimpl.C: oops, update on resize
9005
9006 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * buffer.C:
9009         * converter.C:
9010         * exporter.C:
9011         * lyxfunc.C:
9012         * BufferView.h:
9013         * BufferView.C: use repaint()
9014
9015         * BufferView_pimpl.h:
9016         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9017           as it's a clearer description. Remove superfluous
9018           redraws.
9019
9020 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * text.C: fix bug 488. Not ideal, but getting
9023           getWord() to work properly for the insets that
9024           matter is more difficult ...
9025
9026 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9027
9028         * BufferView_pimpl.C:
9029         * LyXAction.C:
9030         * commandtags.h:
9031         * lyxfunc.C: remove the six million index lyxfuncs to just
9032           one, and DTRT (bug 458)
9033
9034 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * BufferView.h:
9037         * BufferView.C:
9038         * BufferView_pimpl.h:
9039         * BufferView_pimpl.C: clean up resize() stuff,
9040           and unnecessary updateScreen()s
9041
9042 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * BufferView.h:
9045         * BufferView.C:
9046         * BufferView_pimpl.h:
9047         * BufferView_pimpl.C:
9048         * lyxfind.h:
9049         * lyxfind.C:
9050         * minibuffer.C: remove focus management of workarea,
9051           not needed. Use screen's greyOut()
9052
9053 2002-06-17  Herbert Voss  <voss@lyx.org>
9054
9055         * converter.C: (convert) do not post a message, when converting
9056         fails, let the calling function decide what to do in this case
9057
9058 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * lyxfunc.C: tidy up a little
9061
9062 2002-06-16    <alstrup@diku.dk>
9063
9064         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9065         Got rid of FORMS_H_LOCATION include. Now we are
9066         GUII.
9067
9068 2002-06-15  LyX Development team  <lyx@rilke>
9069
9070         * buffer.[Ch] (sgmlOpenTag):
9071         (sgmlCloseTag): Added support for avoiding pernicious mixed
9072         content. Return number of lines written.
9073
9074         (makeLinuxDocFile):
9075         (makeDocBookFile): Fixed calls to sgml*Tag.
9076         Simple white space clean.
9077
9078         (simpleDocBookOnePar): Simple white space clean.
9079
9080         * tabular.[Ch] (docBook): Renamed to docbook and got another
9081         argument to related with the pernicious mixed content.
9082
9083         (docbookRow): Fixed calls for docbook inset method.
9084
9085 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9086
9087         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9088         so it's X11 independent.
9089
9090         * kb*.[Ch]: ditto.
9091
9092         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9093
9094 2002-06-15  Lyx Development team  <lyx@electronia>
9095
9096         * intl.h: Renamed getTrans to getTransManager.
9097
9098 2002-06-14  Angus Leeming  <leeming@lyx.org>
9099
9100         * Makefile.am: nuke forgotten stl_string_fwd.h.
9101
9102 2002-06-12  Angus Leeming  <leeming@lyx.org>
9103
9104         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9105
9106 2002-06-13  Angus Leeming  <leeming@lyx.org>
9107
9108         * LaTeX.C:
9109         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9110
9111 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9112
9113         * kbmap.C (getiso): add support for cyrillic and greek
9114
9115 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * BufferView.h:
9118         * BufferView.C:
9119         * BufferView_pimpl.h:
9120         * BufferView_pimpl.C: move bogus scrolling logic
9121           to xforms
9122
9123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * lyxfunc.C:
9126         * BufferView_pimpl.C: view->resize() change
9127
9128 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9129
9130         * BufferView_pimpl.C: topCursorVisible
9131           prototype change
9132
9133 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9134
9135         * Makefile.am:
9136         * lyx_gui.h:
9137         * lyx_gui.C: move to frontends/
9138
9139         * main.C:
9140         * lyx_main.h:
9141         * lyx_main.C: changes from above
9142
9143 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * intl.C:
9146         * intl.h:
9147         * kbmap.C:
9148         * kbsequence.C:
9149         * lyx_cb.C:
9150         * lyx_main.C: minor tidy
9151
9152 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * BufferView_pimpl.h:
9155         * BufferView_pimpl.C:
9156         * BufferView.h:
9157         * BufferView.C: make painter() const,
9158           remove dead code
9159
9160         * BufferView2.C: use screen() accessor
9161
9162         * lyx_main.h:
9163         * lyx_main.C: some minor cleanup
9164
9165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * BufferView_pimpl.h:
9168         * BufferView_pimpl.C: remove enter/leaveView,
9169           use workHeight()
9170
9171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * BufferView.h:
9174         * BufferView.C:
9175         * BufferView2.C:
9176         * BufferView_pimpl.h:
9177         * BufferView_pimpl.C: only construct screen once,
9178           rename
9179
9180         * lyxrc.C: remove pointless comment
9181
9182 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * BufferView.h:
9185         * BufferView.C: remove active() and belowMouse()
9186
9187         * BufferView_pimpl.h:
9188         * BufferView_pimpl.C: use workarea() not workarea_,
9189           and make it use a scoped_ptr instead
9190
9191 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * lyx_gui.C: add debug message on BadWindow
9194
9195 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9196
9197         * sp_spell.C: fdopen is not part of the C++ standard.
9198
9199         * paragraph.C (InsetIterator): use >= instead of ==
9200
9201 2002-06-07  Angus Leeming  <leeming@lyx.org>
9202
9203         Fixes needed to compile with Compaq cxx 6.5.
9204         * BufferView_pimpl.C:
9205         * DepTable.C:
9206         * buffer.C:
9207         * converter.C:
9208         * encoding.C:
9209         * lyx_gui.C:
9210         * lyx_main.C:
9211         * lyxtextclasslist.C:
9212         * minibuffer.C:
9213         * sp_spell.C:
9214         * tabular_funcs.C:
9215         * vc-backend.C:
9216         all c-library variables have been moved into namespace std. Wrap
9217         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9218
9219         * lyxlength.C:
9220         * tabular-old.C:
9221         * tabular.C:
9222         Add a using std::abs declaration.
9223
9224         * kbmap.h (modifier_pair):
9225         * paragraph.h (InsetTable, InsetList):
9226         * lyxfont.h (FontBits):
9227         type definition made public.
9228
9229         * bufferlist.C (emergencyWriteAll): the compiler complains that
9230         there is more than one possible lyx::class_fun template to choose from.
9231         I re-named the void specialisation as lyx::void_class_fun.
9232
9233         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9234
9235         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9236         the compiler is is unable to find tostr in write_attribute.
9237
9238 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * buffer.C (sgmlError): hide #warning
9241
9242 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9243
9244         * xtl/*: get rid of xtl, which is not in use anyway
9245
9246         * LyXAction.C (init):
9247         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9248         were unimplemented xtl experimentation
9249
9250 2002-06-04  André Pönitz <poenitz@gmx.net>
9251
9252         * lyxfunc.C: disable array operation on simple formulae
9253
9254 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * converter.C: constify a bit
9257
9258 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * lyx_gui.C: check xforms version correctly
9261
9262 2002-04-30  Herbert Voss  <voss@lyx.org>
9263
9264         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9265         "keep" option
9266
9267 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9270           attempt to register it with a VCS)
9271
9272 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * lyx_main.C (init): honor variables LYX_DIR_13x and
9275         LYX_USERDIR_13x
9276
9277 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * buffer.h:
9280         * buffer.C:
9281         * lyx_main.C: fix a crash on bad command line,
9282           and give a useful exit status on error
9283
9284         * lyxfunc.C (doImport): allow -i lyx to work
9285
9286 2002-03-30  André Pönitz <poenitz@gmx.net>
9287
9288         * lyxfunc.C: mathed font changes
9289
9290 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9291
9292         * LaTeX.C:
9293         * importer.h:
9294         * importer.C:
9295         * lyx_sty.h:
9296         * lyx_sty.C:
9297         * lyxlex.C:
9298         * lyxrow.h:
9299         * lyxtext.h:
9300         * paragraph.h:
9301         * paragraph.C:
9302         * texrow.h:
9303         * texrow.C:
9304         * text.C:
9305         * trans_mgr.h: srcdocs, and some minor cleanups
9306
9307 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9308
9309         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9310         call getFont all the time)
9311
9312 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * switch from SigC signals to boost::signals
9315
9316 2002-05-29  André Pönitz <poenitz@gmx.net>
9317
9318         * paragraph_pimpl.C (getChar): don't call size() too often...
9319
9320 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9321
9322         * paragraph_pimpl.C (insertChar): do not try to update tables when
9323         appending (pos == size())
9324
9325         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9326         in order to reduce drastically the number of comparisons needed to
9327         parse a large document
9328
9329 2002-05-29  André Pönitz <poenitz@gmx.net>
9330
9331         * text.C:
9332         * text2.C:
9333         * lyxtextclass.C:
9334         * sp_pspell.h:
9335         * textclasslist.[Ch]:
9336         * sp_ispell.h: whitespace change
9337
9338 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9339
9340         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9341         lyxaction directly now.
9342
9343 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * trans.C:
9346         * lyxfont.C:
9347         * lyxvc.C: remove unused headers
9348
9349 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9350
9351         * Makefile.am:
9352         * buffer.h:
9353         * undostack.h:
9354         * undostack.C:
9355         * undo_funcs.h:
9356         * undo_funcs.C: some cleanups. Use shared_ptr
9357           and a template for the undo stacks.
9358
9359 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9360
9361         * BufferView_pimpl.h:
9362         * BufferView_pimpl.C:
9363         * kbmap.h:
9364         * kbmap.C:
9365         * kbsequence.h:
9366         * kbsequence.C:
9367         * lyxfunc.h:
9368         * lyxfunc.C:
9369         * text2.C: use key_state/mouse_state
9370
9371 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9372
9373         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9374         and LSubstring
9375
9376         * chset.C: change include order
9377         (loadFile): use boost regex and get rid of LRegex and LSubstring
9378
9379         * Makefile.am (BOOST_LIBS): new variable
9380         (lyx_LDADD): use it
9381
9382         * LaTeX.C: change include order.
9383         (scanAuxFile): use boost regex and get rid of LRegex and
9384         LSubstring
9385         (deplog): ditto
9386
9387 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * ColorHandler.h:
9390         * ColorHandler.C:
9391         * FontInfo.h:
9392         * FontInfo.C: moved to frontends/xforms/
9393
9394         * FontLoader.h:
9395         * FontLoader.C: moved into frontends for GUIIzation
9396
9397         * Makefile.am:
9398         * lyx_gui.C:
9399         * lyxfont.C:
9400         * lyxfunc.C: changes from above
9401
9402 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9403
9404         * LColor.C: remove spurious X include
9405
9406         * BufferView_pimpl.C:
9407         * Makefile.am:
9408         * font.h:
9409         * font.C:
9410         * text.C:
9411         * text2.C: move font metrics to frontends/
9412
9413 2002-05-24  Juergen Vigna  <jug@sad.it>
9414
9415         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9416         setting the undo_cursor.
9417
9418         * ParagraphParameters.h: include local includes first.
9419
9420 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * BufferView_pimpl.C:
9423         * BufferView_pimpl.h:
9424         * Makefile.am:
9425         * WorkArea.h:
9426         * WorkArea.C:
9427         * screen.C: move WorkArea into frontends/
9428
9429         * lyxscreen.h:
9430         * screen.C:
9431         * text.C:
9432         * BufferView.C:
9433         * BufferView2.C: move LyXScreen into frontends/
9434
9435         * lyxlookup.h:
9436         * lyxlookup.C:
9437         * lyx_gui.C: move lyxlookup into frontends/xforms/
9438
9439 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * BufferView2.C:
9442         * BufferView_pimpl.C:
9443         * FontLoader.C:
9444         * LyXView.h:
9445         * LyXView.C:
9446         * Makefile.am:
9447         * WorkArea.C:
9448         * XFormsView.h:
9449         * XFormsView.C:
9450         * buffer.C:
9451         * bufferlist.C:
9452         * bufferview_funcs.C:
9453         * converter.C:
9454         * importer.C:
9455         * lyx_cb.C:
9456         * lyx_gui.C:
9457         * lyx_main.C:
9458         * lyx_find.C:
9459         * lyxfunc.C:
9460         * lyxvc.C:
9461         * minibuffer.C:
9462         * text.C:
9463         * text2.C:
9464         * trans.C:
9465         * vc-backend.C: move LyX/XFormsView into frontends/
9466
9467 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * Makefile.am:
9470         * PainterBase.C:
9471         * PainterBase.h:
9472         * Painter.C:
9473         * Painter.h:
9474         * WorkArea.C:
9475         * WorkArea.h:
9476         * screen.C:
9477         * tabular.C:
9478         * text.C:
9479         * text2.C: move Painter to frontends/
9480
9481 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9482
9483         * buffer.C: comment out some some code that depend upon lyx_format
9484         < 220
9485
9486         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9487         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9488
9489         * buffer.h (NO_COMPABILITY): turn off compability
9490
9491         * ColorHandler.C: include scoped_array.hpp
9492
9493         * font.C: Use more specific smart_ptr header.
9494         * Painter.C: ditto
9495         * gettext.C: ditto
9496         * ShareContainer.h: ditto
9497         * lyx_main.h: ditto
9498         * kbmap.h: ditto
9499         * FontInfo.h: ditto
9500         * BufferView_pimpl.h: ditto
9501         * ColorHandler.h: ditto
9502
9503         * kbmap.C (defkey): change call to shared_ptr::reset
9504
9505 2002-05-21  Juergen Vigna  <jug@sad.it>
9506
9507         * buffer.C (insertErtContents): fix to insert ert asis if it is
9508         non empty. Skip it completely if it contains only whitespaces.
9509
9510 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * BufferView_pimpl.C:
9513         * BufferView2.C: clear selection on paste (bug 393)
9514
9515 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9516
9517         * DepTable.C: include ctime
9518
9519 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9520
9521         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9522
9523 2002-05-14  Juergen Vigna  <jug@sad.it>
9524
9525         * text.C (breakParagraph): fixed function to honor the keepempty
9526         layout in the right maner and also to permit the right breaking
9527         algorithm on empty or non empyt keepempty paragraphs.
9528
9529         * paragraph.C (breakParagraph): we have to check also if the par
9530         is really empty (!size()) for isempty otherwise we do the wrong
9531         paragraph break.
9532
9533 2002-05-10  Juergen Vigna  <jug@sad.it>
9534
9535         * buffer.[Ch] : The following are only changes to the ert
9536         compatibility read reading old LaTeX layout and font stuff and
9537         convert it to ERTInsets.
9538
9539         * buffer.h: added isErtInset().
9540
9541         * buffer.C (struct ErtComp): add a fromlayout bool to check
9542         if we're inside a LaTeX layout.
9543         (isErtInset): new helper function.
9544         (insertErtContents): look for other ert insets before this one
9545         and insert the contents there, so that we don't have subsequent
9546         ERT insets with nothing between them. This way we create only one
9547         inset with multiple paragraphs. Also check if we don't insert only
9548         spaces ' ' as they are ignored anyway afterwards in the .tex file
9549         so if we have only spaces we will ignore this latex part in the
9550         new file.
9551         (parseSingleLyXformat2Token \\layout): better compatibility when
9552         reading layout-latex stuff.
9553         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9554         language tag.
9555         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9556         stuff after reading the inset only get the information back from
9557         the stack.
9558
9559 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9560
9561         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9562
9563         * LaTeXFeatures.C (getBabelOptions): New method.
9564
9565 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * BufferView_pimpl.C (Dispatch): work around missing argument for
9568         'layout'
9569
9570 2002-05-08  Juergen Vigna  <jug@sad.it>
9571
9572         * text.C (leftMargin): handle paragraph leftindent.
9573
9574         * paragraph.C (writeFile): write the new \\leftindent tag.
9575         (validate): handle leftindent code.
9576         (TeXEnvironment): handle paragraphleftindent code again.
9577
9578         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9579
9580         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9581         for paragrap_extra indent code and new token \\leftindent.
9582         (latexParagraphs): handle the leftindent as environment.
9583
9584         * ParameterStruct.h: added leftindent support.
9585
9586         * ParagraphParameters.C (leftIndent): added support functions for
9587         the paragraph left indent.
9588
9589         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9590         more appropriate.
9591
9592 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9593
9594         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9595         inside insetERT.
9596
9597         * text.C (computeBidiTables): No bidi in insetERT.
9598
9599         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9600         in RTL documents.
9601
9602 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * version.C.in: pre 5
9605
9606 2002-05-02  José Matos  <jamatos@fep.up.pt>
9607         * buffer.C (makeDocBookFile): white space changes, add newline to
9608         command styles.
9609         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9610
9611         * tabular.C (docBook): fix typo.
9612
9613 2002-05-03  Juergen Vigna  <jug@sad.it>
9614
9615         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9616         change in LyXText as we can not be sure it was not freed.
9617         (drawOneRow): remove unused code.
9618
9619         * text.C (drawInset): redo the calculation of the need_break_row as
9620         it could have a row which was already freed.
9621         (draw): look at the return value of drawInset and return false if
9622         it also returned false.
9623         (paintRowText): look at the return value of draw and return false if
9624         it also returned false.
9625
9626         * lyxtext.h: added bool return type to drawInset() and draw() so that
9627         if we have a change in the row so that the rowbreak has to be redone
9628         we abort drawing as it will be called again.
9629
9630 2002-05-02  Juergen Vigna  <jug@sad.it>
9631
9632         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9633         a change in the maintext also if we're inside an inset.
9634         (Dispatch): set the cursor again after a break line and after the
9635         screen has been updated as it could be we're in a different row.
9636
9637         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9638         to set the cursor behind the pargraph with > size().
9639         (setCursor): check also for the same paragraph when checking where
9640         to put the cursor if we have a NFR inset.
9641
9642         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9643         parts of layout read further up as it still was in the wrong
9644         position.
9645
9646 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9647
9648         * screen.C (drawFromTo): change sine fullRebreak always return
9649         true.
9650
9651         * buffer.C (parseSingleLyXformat2Token): reindent some
9652
9653         * BufferView_pimpl.C (update): change since fullRebreak always
9654         return true.
9655         (Dispatch): git rid of the last hardcoded "Standard"s.
9656
9657 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9658
9659         * text2.[Ch] (fullRebreak): make it return void now that we always
9660         returned true.
9661
9662 2002-04-30  Juergen Vigna  <jug@sad.it>
9663
9664         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9665         ert compatibility check for "latex" layout.
9666
9667 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9668
9669         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9670         minipages: use col% instead of p%, and also use the current font.
9671         (makeLaTeXFile): Fix use babel condition.
9672         (parseSingleLyXformat2Token): Correct font when reading old floats.
9673
9674 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9675
9676         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9677         inserting list of floats.
9678
9679 2002-04-25  Herbert Voss  <voss@lyx.org>
9680
9681         * MenuBackend.C (expand): don't add the graphics extensions to the
9682         export menu
9683
9684 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9687         non-existing layout, do not complain if it was the default layout
9688         of the original class (bug #342)
9689
9690 2002-04-24  Juergen Vigna  <jug@sad.it>
9691
9692         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9693         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9694
9695 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9696
9697         * buffer.C (getBibkeyList): If using \bibliography, return the
9698         option field with the reference itself. Enables us to provide natbib
9699         support when using \bibliography.
9700
9701 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9702
9703         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9704
9705         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9706         natbib is provided by the LaTeX class.
9707
9708 2002-04-23  Juergen Vigna  <jug@sad.it>
9709
9710         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9711         Wakeup functions.
9712
9713         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9714
9715 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9718
9719         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9720         ensuremath around textordmasculine, textordfeminine and
9721         textdegree.
9722
9723 2002-04-19  Juergen Vigna  <jug@sad.it>
9724
9725         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9726         reinitializing the buffer otherwise row-dimensions may be wrong.
9727         (update): reset also the selection cursors if they do exits otherwise
9728         their x/y positions may be wrong.
9729
9730         * text2.C (cursorDown): don't enter the inset if we came from a row
9731         above and are one row over the inset.
9732
9733         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9734         really leaving an inset.
9735
9736 2002-04-18  Juergen Vigna  <jug@sad.it>
9737
9738         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9739         of the selected paragraph does not have the selected layout also if
9740         the last one had!
9741
9742         * text2.C (setLayout): fixed bug which did not change last selected
9743         paragraph.
9744
9745         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9746         changed the read and substituted \\end_float with \\end_inset!
9747
9748         * BufferView_pimpl.C (cursorPrevious):
9749         (cursorNext): fixed to make it work with rows heigher than the work
9750         area without moving the cursor only the draw of the row.
9751         (workAreaMotionNotify): fix jumping over high rows.
9752
9753 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9754
9755         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9756         Ressler.
9757
9758 2002-04-16  Juergen Vigna  <jug@sad.it>
9759
9760         * text2.C (setCursor): set also the irow().
9761         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9762         (cursorUp):
9763         (cursorDown): support for locking an inset if the x_fix value goes
9764         inside it. That way I can transverse insets too with cursor up/down.
9765
9766         * lyxrow.h: added irow helper function same as other (i) functions.
9767
9768         * BufferView_pimpl.C (cursorPrevious):
9769         (cursorNext): fixed for insets!
9770
9771 2002-04-15  Juergen Vigna  <jug@sad.it>
9772
9773         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9774         position otherwise it is wrong in some cases.
9775
9776         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9777         inside the inset before the call.
9778
9779 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9780
9781         * buffer.[Ch] (getBibkeyList): make it const.
9782
9783 2002-04-12  Juergen Vigna  <jug@sad.it>
9784
9785         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9786
9787         * text2.C (getCursorX): new helper function
9788         (setCursor): compute also ix_
9789         (setCursorFromCoordinates): set also ix.
9790
9791         * lyxcursor.h: added ix_ and helper functions.
9792
9793         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9794
9795         * buffer.C (insertStringAsLines): dont break paragraph if the this
9796         paragraph is inside an inset which does not permit it!
9797
9798         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9799         also with no chars on this paragraph.
9800         (paintRowText): only paint stuff if it's inside the workarea!
9801
9802         * paragraph.C (breakParagraph): honor keepempty flag and break the
9803         paragraph always below not above.
9804
9805         * BufferView2.C (unlockInset): update the paragraph layout on inset
9806         unlock as we changed paragraph in such a case.
9807
9808         * lyxfind.C (LyXFind): clear the former selection if not found!
9809
9810         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9811         again called in insertChar().
9812
9813         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9814         an inset which uses the whole row!
9815         (rightMargin): ditto.
9816         (insertChar): force a rebreak if we inserted an inset!
9817
9818 2002-03-28  Herbert Voss  <voss@lyx.org>
9819
9820         * lyxlength.[Ch]: add inBP() to get the right PS-point
9821         units (BigPoint). With inPixels we have rounding errors
9822
9823 2002-04-11  Juergen Vigna  <jug@sad.it>
9824
9825         * text2.C (setCursorFromCoordinates): set iy to the right value.
9826         (setCursor): add check if row->previous exists!
9827
9828         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9829         an old float_type as this was the case in the old code!
9830
9831         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9832
9833         * BufferView2.C (showLockedInsetCursor): use iy
9834         (fitLockedInsetCursor): ditto
9835
9836         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9837         locked insets as there we have the right value now.
9838
9839         * lyxcursor.C: added iy_ variable and iy functions to set to the
9840         baseline of cursor-y of the locked inset.
9841
9842         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9843         (setCursor): fixed for insets which need a full row.
9844
9845         * text.C (rowLastPrintable): don't ignore the last space when before
9846         an inset which needs a full row.
9847         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9848         as last character of a row when before a inset which needs a full row.
9849
9850 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * version.C.in: update date
9853
9854         * text2.C (fullRebreak): try to always return true and see what
9855         happens...
9856
9857 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * MenuBackend.C (expand): use Floating::listName
9860
9861         * FloatList.C (FloatList): add listName argument to the built-in
9862         floats
9863
9864         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9865         text associated with the float.
9866
9867 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9870
9871 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9872
9873         * ShareContainer.h: add a couple of missing typenames.
9874
9875 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9876
9877         * lyxrc.C (getDescription): use _() correctly rather than N_().
9878
9879 2002-03-28  Herbert Voss  <voss@lyx.org>
9880
9881         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9882         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9883
9884 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9885
9886         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9887         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9888
9889 2002-03-29  Juergen Vigna  <jug@sad.it>
9890
9891         * lyxfunc.C (dispatch): add a missing fitCursor call.
9892
9893         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9894         it was scrolled by a cursor move, so return the bool status.
9895
9896         * BufferView.C (fitCursor): return the bool flag also to the outside
9897         world as this is needed.
9898
9899         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9900
9901         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9902         call the edit() as it is not needed (and wrong) IMO.
9903         (workAreaButtonPress): set the screen_first variable before evt.
9904         unlock the inset as this may change screen_first and then we have
9905         a wrong y position for the click!
9906
9907 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * MenuBackend.C (expand): another translation that I missed
9910
9911 2002-03-28  Juergen Vigna  <jug@sad.it>
9912
9913         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9914
9915         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9916
9917 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9920
9921         * MenuBackend.C (expand): fix export/view/update when there is no
9922         document open.
9923
9924 2002-03-27  Herbert Voss  <voss@lyx.org>
9925
9926         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9927         and text%
9928
9929 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * bufferview_funcs.C (currentState): only show paragraph number
9932         for is DEVEL_VERSION is set.
9933
9934         * lyxfunc.C (dispatch): put warning in INFO channel
9935
9936         * MenuBackend.C (expand): translate the name of floats
9937
9938         * FloatList.C (FloatList): mark the float names for translation
9939
9940         * converter.C (convert): use LibScriptSearch
9941
9942 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * MenuBackend.C (defaults): fix default menu (we might as well get
9945         rid of it...)
9946
9947 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9948
9949         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9950         directory.
9951
9952 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * lyxvc.C: reorder includes.
9955
9956 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9959           properly
9960
9961 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * CutAndPaste.C: change layouts earlier on paste
9964           to avoid crashing when calling getFont()
9965
9966 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9969         irritating #error.
9970
9971 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9972
9973         * WorkArea.C: remove 'Pending' debug message.
9974
9975         * most files: ws cleanup
9976
9977         * buffer.[Ch]: ws changes
9978
9979         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9980
9981 2002-03-21  Juergen Vigna  <jug@sad.it>
9982
9983         * tabular.C (SetMultiColumn): collapse also the contents of the
9984         cells and set the last border right. Added a Buffer const * param.
9985
9986 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9989         linking or not.
9990
9991 2002-03-19  Juergen Vigna  <jug@sad.it>
9992
9993         * text2.C (clearSelection): reset also xsel_cache.
9994
9995         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9996         where it needs to be called (John tells us to do so too :)
9997         (selectionLost): reset sel_cache.
9998
9999         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10000
10001 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * text2.C (setCursorIntern): put debuging code in INSETS channel
10004
10005 2002-03-19  André Pönitz <poenitz@gmx.net>
10006
10007         * lyxfunc.C: tiny whitespace change
10008
10009 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * ToolbarDefaults.C (init):
10012         * LyXAction.C (init):
10013         * commandtags.h:
10014         * BufferView_pimpl.C (Dispatch):
10015         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10016
10017 2002-03-19  Allan Rae  <rae@lyx.org>
10018
10019         * exporter.C (Export): removeAutoInsets before doing anything else.
10020         While I've just introduced a dependency on BufferView this really is
10021         the best place to clean the buffer otherwise you need to cleanup in
10022         a dozen places before calling export or cleanup in a dozen functions
10023         that export calls.
10024
10025         * converter.C (runLaTeX):
10026         (scanLog): Better handling of removeAutoInsets and screen updates.
10027
10028         * lyxfunc.C (dispatch): small whitespace changes
10029
10030 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * WorkArea.C (C_WorkAreaEvent): return a value.
10033         (event_cb): return 1 if we handled the event, 0 otherwise.
10034
10035         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10036
10037 2002-03-18  Juergen Vigna  <jug@sad.it>
10038
10039         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10040         (GetAdditionalWidth): ditto.
10041         (RightLine): ditto.
10042         (LeftLine): ditto.
10043
10044         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10045         inset if we're there actually (probably not used right now but this
10046         is the direction to go for unifying code).
10047         (paste): disable code to clear the selection.
10048
10049         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10050         inside an InsetText and move the check further up as it is in the
10051         wrong place.
10052
10053         * text2.C (pasteSelection): set a selection over the pasted text.
10054
10055 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10056
10057         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10058         and libgraphics to build on Cygwin.
10059
10060 2002-03-15  Juergen Vigna  <jug@sad.it>
10061
10062         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10063         inserting an Inset into the paragraph. I know this is not the best
10064         fix but we already use current_view in CutAndPaste so we will remove
10065         all of it's using at the same time.
10066
10067         * buffer.C (sgmlError): deactivated function till it is rewritten in
10068         the right mode, now it can create problems.
10069
10070         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10071         before accessing it.
10072
10073 2002-03-14  Juergen Vigna  <jug@sad.it>
10074
10075         * undo_funcs.C (textHandleUndo): do the right thing when updating
10076         the inset after the undo/redo.
10077
10078         * text2.C (setCursor): just some testcode for #44 not ready yet.
10079
10080         * undo_funcs.C (textHandleUndo): set the next() and previous()
10081         pointers of the paragraph to 0 before deleting otherwise we have
10082         problems with the Paragraph::[destructor].
10083
10084         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10085         on a paragraph insertion.
10086
10087 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10088
10089         * buffer.C (asciiParagraph): use += operator for char append to
10090         string.
10091
10092         * paragraph.C (getFontSettings): compare >= not just >
10093         (highestFontInRange): ditto
10094         (setFont): ditto
10095
10096 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10097
10098         * paragraph.C: change several algorithm to be more appripriate for
10099         the problem domain. This is lookip in FontList and in the InsetList.
10100
10101 2002-03-13  André Pönitz <poenitz@gmx.net>
10102
10103         * commandtags.h:
10104         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10105
10106 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * commandtags.h:
10109         * LyXAction.C:
10110         * lyxfunc.C:
10111         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10112
10113 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10114
10115         * Painter.C (display): anon helper function, adjust code for this
10116         change.
10117         (pixmap): remove function.
10118
10119         * Painter.h: remove private display variable.
10120
10121         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10122
10123 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10124
10125         * WorkArea.[Ch]: remove figinset_canvas cruft.
10126
10127 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10128
10129         * lyxtextclass.C (operator): add one item cache optimization.
10130
10131         * bufferlist.h: doxy changes
10132
10133         * bufferlist.C: ws changes
10134
10135         * DepTable.[Ch] (ext_exist): place const in the right spot.
10136
10137         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10138         call resizeInsets.
10139         (workAreaExpose): call resizeInsets when the with BufferView changes.
10140         (Dispatch): adjust for protectedBlank removal
10141         (specialChar): call updateInset if the insert went ok.
10142
10143         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10144         specialChar instead.
10145
10146         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10147
10148         * BufferView.h: doxy change
10149
10150         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10151
10152         * lyxtextclass.C (operator[]): remove non-const version
10153         (defaultLayout): remove non-const version
10154
10155 2002-03-12  Juergen Vigna  <jug@sad.it>
10156
10157         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10158         did resize the LyXText too.
10159
10160         * buffer.C (readLyXformat2): set layout information on newly allocated
10161         paragraphs.
10162
10163         * tabular.C (OldFormatRead): set layout information on the paragraph.
10164
10165 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10166
10167         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10168
10169 2002-03-11  Juergen Vigna  <jug@sad.it>
10170
10171         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10172         plainly wrong.
10173         (resizeCurrentBuffer): force also the insets to resize themselfes.
10174         (moveCursorUpdate): fixed up for InsetText.
10175
10176 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10177
10178         * commandtags.h:
10179         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10180         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10181         value of Dialogs::tooltipsEnabled().
10182         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10183
10184 2002-03-08  Juergen Vigna  <jug@sad.it>
10185
10186         * BufferView_pimpl.C (updateInset): update inset inside inset also
10187         if it isn't inside theLockingInset().
10188
10189 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10190
10191         * buffer.C (asciiParagraph): redo some of the word and line length
10192         handling.
10193         (getLists): look for Caption instead of caption.
10194
10195 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * buffer.C (Buffer): initialize niceFile to true
10198         (makeLaTeXFile):
10199         (makeLinuxDocFile):
10200         (makeDocBookFile): make sure niceFile is true on exit
10201
10202 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10205
10206 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10207
10208         * LyXSendto.C: remove.
10209         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10210         * lyx_gui.C: remove now-redundant comment.
10211         * ColorHandler.h: remove forward declaration of class WorkArea.
10212         * lyxfunc.C: remove #include "WorkArea.h".
10213
10214 2002-03-07  Juergen Vigna  <jug@sad.it>
10215
10216         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10217         got moved away with the DEPM and also set the inset_owner always
10218         right which before could have been omitted.
10219
10220 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10223         wanted layout is not found.
10224
10225 2002-03-07  Juergen Vigna  <jug@sad.it>
10226
10227         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10228
10229 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * paragraph.C (breakParagraph): use default layout not layout of
10232         prev paragraph.
10233         (Paragraph): clear ParagraphParameters.
10234
10235 2002-03-06  Juergen Vigna  <jug@sad.it>
10236
10237         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10238         otherwise it would not be a valid lenght. Fixed a special case in
10239         the minipage compatibility read where we end the document with a
10240         minipage.
10241
10242         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10243         was set as it could be 0 for InsetTexts first entry.
10244
10245 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * paragraph.C (writeFile): if layout is empty write out
10248         defaultLayoutName().
10249
10250         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10251         file without named layout we set layout to defaultLayoutName().
10252
10253 2002-03-06  Juergen Vigna  <jug@sad.it>
10254
10255         * CutAndPaste.C (copySelection): set layout for new paragraph.
10256
10257         * text.C (prepareToPrint): leave ERT inset left aligned
10258         (leftMargin): don't indent paragraphs inside ERT insets
10259
10260 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10261
10262         * paragraph.C (breakParagraph): dont call clear do the work manually
10263
10264         * paragraph.[Ch] (clear): remove function
10265
10266 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10267
10268         * paragraph.C (Paragraph): dont call clear, the work has already
10269         been done.
10270
10271         * lyxtextclass.C (operator): assert if n is empty
10272
10273         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10274         work manually instead.
10275
10276 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * BufferView_pimpl.C: protect selectionLost against text == 0
10279
10280 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * text.C (breakParagraph): fix a setting layout to '0' problem.
10283
10284 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10285
10286         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10287         final location of file, for the included files, and graphics.
10288
10289 2002-03-05  Juergen Vigna  <jug@sad.it>
10290
10291         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10292
10293 2002-03-04  Juergen Vigna  <jug@sad.it>
10294
10295         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10296
10297         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10298         last column of multicolumn cells.
10299         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10300
10301 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10302
10303         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10304         file if it doesn't go to a temporary file.
10305
10306         * buffer.C (sgmlOpenTag):
10307         (sgmlCloseTag):  remove extra newline insertion.
10308
10309 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * text.C (getRowNearY): comment out debug msg
10312
10313 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10314
10315         * text2.C: first -> first_y
10316
10317         * text.C (getRowNearY): add some attemts at a possible
10318         optimization, not working.
10319
10320         * tabular.[Ch]: add BufferParams to several function so that newly
10321         created paragraph can be initialized to he default layotu for the
10322         buffers textclass.
10323
10324         * tabular-old.C (ReadOld): add buf->params to call of Init
10325
10326         * screen.C: rename text->first to text->first_y
10327
10328         * paragraph.C (breakParagraph): always set layout in the broken
10329         paragraph
10330
10331         * lyxtextclass.C (Read): remove lowercase
10332         (hasLayout): ditto
10333         (operator): ditto
10334         (delete_layout): ditto
10335
10336         * lyxtext.h: rename first -> first_y
10337
10338         * lyxlayout.C (Read): remove lowercase
10339         (name): ditto
10340         (setName): ditto
10341         (obsoleted_by): ditto
10342
10343         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10344
10345         * buffer.C (insertErtContents): add params are to InsetERT
10346         (parseSingleLyXformat2Token): add code to check if a paragraphs
10347         layout really exist.
10348         (parseSingleLyXformat2Token): add params to several inset
10349         constructors
10350         (asciiParagraph): remove lowercase, do the layout comparisons with
10351         no_case
10352
10353         * BufferView_pimpl.C (cursorNext): first -> first_y
10354         (resizeCurrentBuffer): first -> first_y
10355         (updateScrollbar): first -> first_y
10356         (scrollCB): first -> first_y
10357         (workAreaMotionNotify): first -> first_y
10358         (workAreaButtonPress): first -> first_y
10359         (checkInsetHit): first -> first_y
10360         (cursorPrevious): first -> first_y
10361         (cursorNext): first -> first_y
10362         (Dispatch): add buffer_->params to severl inset contructors
10363
10364 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * lyxlayout.C (Read): remove some debug info that I forgot.
10367
10368         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10369         clean up the code slightly.
10370         (makeLinuxDocFile): ditto
10371         (makeDocBookFile): ditto
10372
10373         * text2.C: layout as string
10374
10375         * text.C: layout as string
10376
10377         * paragraph_pimpl.C: layout as string
10378
10379         * paragraph.[Ch]: layout as string
10380
10381         * lyxtextclasslist.[Ch]: layout as string
10382
10383         * lyxtextclass.[Ch]: layout as string
10384
10385         * lyxtext.h: layout as string
10386
10387         * lyxlayout.[Ch]: layout as string
10388
10389         * lyx_cb.C: layout as string
10390
10391         * bufferview_funcs.C: layout as string
10392
10393         * bufferparams.C: layout as string
10394
10395         * buffer.C: layout as string
10396
10397         * LyXView.[Ch]: layout as string
10398
10399         * LaTeXFeatures.[Ch]: layout as string
10400
10401         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10402
10403         * BufferView_pimpl.C: change current_layout to string, remove
10404         lyx::layout_type.
10405         (Dispatch):
10406         (smartQuote):
10407         (insertInset):
10408         (workAreaButtonRelease): layout as string
10409
10410         * BufferView2.C (unlockInset): adjust
10411
10412         * vspace.C (asLatexCommand): use an explict temp variable.
10413
10414 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * Makefile.am: use FRONTEND_*
10417
10418 2002-03-01  Juergen Vigna  <jug@sad.it>
10419
10420         * tabular.C (SetWidthOfMulticolCell): changed to something better
10421         I hope but still work in progress.
10422         (recalculateMulticolumnsOfColumn): renamed function from
10423         recalculateMulticolCells as it is more appropriate now.
10424         (SetWidthOfCell): calculate multicols better.
10425
10426 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10427
10428         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10429
10430         * lyxfunc.C (processKeySym): print sequence also if it is
10431         `deleted' (complete)
10432
10433         * kbsequence.C (print): print sequence even if it is deleted
10434         (complete would be a better word, actually).
10435
10436         * lyxfunc.C (dispatch): print complete options after a prefix key
10437
10438         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10439
10440 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10441
10442         * text2.C (setCharFont): eliminate setCharFont code duplication.
10443
10444 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10447         LFUN_TABULAR_FEATURE (bug #177)
10448
10449 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * Makefile.am: remove figure.h
10452
10453 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10454
10455         * Bufferview_pimpl.C:
10456         * CutAndPasteC:
10457         * LaTeX.C:
10458         * LyXSendto.C:
10459         * buffer.C:
10460         * bufferlist.C:
10461         * converter.C:
10462         * language.C:
10463         * lyxfunc.C:
10464         * lyxvc.C:
10465         * paragraph.C:
10466         * text.C:
10467         * text2.C: remove #include "lyx_gui_misc.h".
10468
10469         * LaTeX.C: added #include <cstdio>
10470
10471 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10474         that the paragraph following this one can have.
10475
10476         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10477
10478         * vspace.C (asLatexCommand): fix bogus gcc warning
10479
10480         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10481
10482 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10483
10484         * text2.C (setLayout): get rid of redundant code
10485
10486 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10487
10488         * text2.C (incDepth): make sure depth cannot be increased beyond
10489         reasonable values.
10490
10491 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10492
10493         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10494         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10495
10496         * PainterBase.h (image):
10497         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10498         a LyXImage const *.
10499
10500 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * BufferView.C:
10503         * BufferView.h:
10504         * BufferView_pimpl.C:
10505         * BufferView_pimpl.h:
10506         * LaTeXFeatures.C:
10507         * LyXAction.C:
10508         * LyXView.C:
10509         * Makefile.am:
10510         * UpdateList.h:
10511         * UpdateList.C:
10512         * buffer.C:
10513         * figure.h:
10514         * figureForm.C:
10515         * figureForm.h:
10516         * figure_form.C:
10517         * figure_form.h:
10518         * lyx_cb.C:
10519         * lyx_gui.C:
10520         * lyx_gui_misc.C:
10521         * lyxfunc.C:
10522         * sp_base.h:
10523         * sp_ispell.h:
10524         * sp_pspell.h:
10525         * sp_spell.C: remove fig inset, and the crap house of
10526           cards that follows it
10527
10528 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10529
10530         * Makefile.am:
10531         * lyxserver.C:
10532         * os2_defines.h:
10533         * os2_errortable.h:
10534         * nt_defines.h: move .h into support/
10535
10536         * vms_defines.h: remove
10537
10538         * WorkArea.C: add space in debug output
10539
10540         * text2.C:
10541         * paragraph.C:
10542         * buffer.C: add WITH_WARNINGS
10543
10544         * vc-backend.h:
10545         * vc-backend.C:
10546         * bufferlist.C: s/retrive/retrieve/, add docs
10547
10548         * vspace.h:
10549         * vspace.C:
10550         * kbmap.h:
10551         * lyxlength.h:
10552         * lyxgluelength.h:
10553         * length_common.h:
10554         * chset.h:
10555         * chset.C: add docs
10556
10557         * lyxgui.C: add ID to X error handler
10558
10559         * lyxtestclass.c: fix typo
10560
10561 2002-02-26  Juergen Vigna  <jug@sad.it>
10562
10563         * tabular_funcs.C (write_attribute): changed so that some default
10564         attributes are not written at all.
10565         (getTokenValue): set default values before trying to read the
10566         value so we have the return value always set as default if we don't
10567         find the token we search for.
10568
10569         * tabular.C (Write): write bools as bools not as strings!
10570
10571 2002-02-22  Juergen Vigna  <jug@sad.it>
10572
10573         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10574         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10575
10576         * text.C (leftMargin): don't add an indent for paragraphs inside
10577         tabular cells (fix #208).
10578
10579 2002-02-21  José Matos  <jamatos@fep.up.pt>
10580
10581         * tabular.C (docBook): fixed support for long tables.
10582
10583 2002-02-20  Juergen Vigna  <jug@sad.it>
10584
10585         * text2.C (getFont): get the drawing font of the Inset if this
10586         paragraph is inside an inset (only important for InsetERT for now).
10587
10588         * buffer.C (insertErtContents): use new lanugage params in ERT
10589         constructor.
10590
10591         * CutAndPaste.C: commenting out seemingly uneeded code.
10592
10593 2002-02-19  Allan Rae  <rae@lyx.org>
10594
10595         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10596         Iterators might be simple to use but they also get invalidated.
10597         (removeAutoInsets): renamed saved cursor tracking variables and added
10598         some comments to clarify what everything does.
10599
10600 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10601
10602         * Chktex.C:
10603         * LaTeX.C:
10604         * LyXSendto.C:
10605         * converter.C:
10606         * lyx_cb.C:
10607         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10608         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10609
10610         * lyxfunc.C:
10611         * vc-backend.h: remove #include "support/syscall.h"
10612
10613         * LaTeX.C:
10614         * LyXSendto.C:
10615         * converter.C: rearrange #includes in Lars' approved fashion.
10616
10617         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10618         forward declare class Timeout in the header file.
10619
10620         * XFormsView.C: changes due to the above.
10621
10622         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10623         similar to LyXView.
10624
10625         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10626         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10627
10628 2002-02-18  José Matos  <jamatos@fep.up.pt>
10629
10630         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10631         insets contents.
10632
10633 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10634
10635         * a lot of small ws changes
10636         * add a lot of using std::XXX
10637         * use std construcs some places where approp.
10638         * use some exisint stuff from lyxfunctional where approp.
10639         * Make file changes to use partial linking (lets test this now...)
10640
10641 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10642
10643         * Chktex.C:
10644         * buffer.C:
10645         remove #include "support/syscontr.h" as it's redundant. Always has been.
10646
10647         * Chktex.C:
10648         * LaTeX.C:
10649         * LyXSendto.C:
10650         * converter.C:
10651         * lyx_cb.C:
10652         * vc-backend.C:
10653         change Systemcalls::System to Systemcalls::Wait and
10654         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10655         No change of functionality, just reflects the stripped down Systemcalls
10656         class.
10657
10658 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * debug.[Ch]: add a GRAPHICS type to the enum.
10661
10662 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10663
10664         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10665
10666         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10667         there is an inset.
10668
10669 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10670
10671         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10672         match the changes below.
10673
10674         * text2.C (toggleInset): if there is not editable inset at cursor
10675         position, try to see if cursor is _inside_ a collapsable inset
10676         and close it.
10677
10678 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10681         document menu has a nice checkbox
10682
10683 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * lyxlength.C (asLatexString): change PW to output as percent of
10686         \textwidth.
10687
10688         * lengthcommon.C: change '%' to 't%'
10689
10690         * lyxfunc.C (dispatch): a few comments from Martin
10691
10692 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * WorkArea.h:
10695         * WorkArea.C:
10696         * BufferView_pimpl.h:
10697         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10698           the X selection.
10699
10700 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * vspace.C (inPixels): fix compiler warning
10703
10704 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * lyxfunc.C (getStatus): fix status message for disabled commands.
10707
10708 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * BufferView_pimpl.C: fix crash on close buffer
10711         during selection (#227)
10712
10713 2002-01-27  Herbert Voss  <voss@lyx.org>
10714
10715         * buffer.C: link old Figure to new graphic inset
10716
10717 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * FontLoader.C (getFontinfo): Change the latex font names in order
10720         to match the names of type1inst.
10721
10722 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10725
10726         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10727         (extchanged): ditto
10728         (ext_exist): ditto
10729         (remove_files_with_extension): ditto
10730         (remove_file): ditto
10731         (write): ditto
10732
10733         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10734         document is smaller than the work area height. Do not initialize
10735         static variables to 0.
10736
10737 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10740
10741         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10742         LFUN_LAYOUT_PARAGRAPHS.
10743
10744         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10745         tabular. It is possible to provide a possible cell, which will
10746         typically be the actcell from the corresponding insettabular
10747
10748         * lyxfunc.C (getStatus): small cleanup; disable
10749         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10750         true
10751
10752 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10755
10756         * paragraph.C (startTeXParParams):
10757         (endTeXParParams): new methods. The LaTeX code to
10758         start/end paragraph formatting
10759         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10760         empty (fixes bug #200)
10761
10762         * vspace.C (inPixels): adapt to the change below
10763         (inPixels): [later] more cleanups (remove unused variables)
10764
10765         * lyxlength.C (inPixels): change to use a width and a height as
10766         parameter.
10767
10768 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10769
10770         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10771         Replaced with \paperwidth
10772
10773         * DepTable.C (insert): add std:: qualifier
10774
10775 2002-01-18  Allan Rae  <rae@lyx.org>
10776
10777         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10778         updated also?
10779
10780         * text.C (drawInset): Turned out I didn't know enough about how
10781         rebreaking worked.  This fixes most of the redraw problems.  I see
10782         an occasional cursor trail when a line is broken now and the cursor
10783         placement can seem out by a few pixels also after a rebreak.
10784
10785 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * buffer.C (parseSingleLyXformat2Token): update because minipage
10788         width is now a LyXLength
10789
10790         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10791
10792         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10793         math insets
10794
10795 2002-01-17  Juergen Vigna  <jug@sad.it>
10796
10797         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10798
10799         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10800         is set correctly and the inset is updated correctly.
10801
10802 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10803
10804         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10805         the beginning of the loop.
10806
10807 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * lyxrc.C: improve help for use_scalable_fonts
10810
10811 2002-01-17  Allan Rae  <rae@lyx.org>
10812
10813         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10814
10815 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10816
10817         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10818         make sure to set their inset_owner to the right value (bug #171)
10819
10820 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10821
10822         * DepTable.h
10823         * DepTable.C: Implement mtime checking to reduce time spent doing
10824         CRCs.
10825
10826 2002-01-16  Juergen Vigna  <jug@sad.it>
10827
10828         * tabular.C (GetAdditionalHeight): one of error fixed.
10829
10830         * lyxrc.C (output): small fix in writing use_pspell.
10831
10832 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10833
10834         * sp_base.h: #include LString.h
10835
10836 2002-01-16  Allan Rae  <rae@lyx.org>
10837
10838         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10839         Can someone check this please?
10840
10841         * text.C (drawInset): It was possible that p.row would be removed by
10842         breakAgainOneRow upsetting a few other settings.  There may be another
10843         small tweak possible by setting need_break_row = 0 when p.row has been
10844         removed but I don't know enough about the logic here.
10845
10846 2002-01-15  Allan Rae  <rae@lyx.org>
10847
10848         * text.C (insertChar): removed conditional truism.
10849
10850         * BufferView2.C (removeAutoInsets): More tweaks.
10851         cur_par_prev could be a stray pointer.  Check for trailing empty line
10852         in case last line was cur_par and only had an error inset on it.
10853
10854 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10857         absolute
10858
10859         * vc-backend.C (most methods):
10860         * exporter.C (Export):
10861         * converter.C (convert):
10862         (runLaTeX):
10863         * LyXSendto.C (SendtoApplyCB):
10864         * lyxfunc.C (dispatch):
10865         (menuNew):
10866         (open):
10867         (doImport):
10868         * lyx_cb.C (AutoSave):
10869         (InsertAsciiFile):
10870         * BufferView_pimpl.C (MenuInsertLyXFile):
10871         * buffer.C (runChktex): use Buffer::filePath().
10872
10873         * buffer.h: rename filename to filename_; rename filepath to
10874         filepath_ and make it private
10875         (filePath): new method
10876
10877         * buffer.C (writeFile): use fileName()
10878         (getLatexName):
10879
10880         * lyx_main.C (init): fix starting  of LyX when the binary is a
10881         link from so,ewhere else.
10882
10883         * minibuffer.C: include <cctype> for isprint
10884
10885 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10886
10887         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10888         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10889         name clash with InsetCollapsable's width function.
10890
10891 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10892
10893         * lastfiles.C: include <iterator>
10894
10895 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10896
10897         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10898         std::count.
10899
10900         * buffer.C (makeLaTeXFile): ditto.
10901         Also make loop operation more transparent.
10902
10903 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * ToolbarDefaults.C: remove trailing comma closing namespace.
10906
10907         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10908
10909         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10910         as in WorkArea.
10911
10912         * trans.C (Load): comment out unused variable, allowed.
10913
10914 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * minibuffer.[Ch] (append_char): new method to recieve input from the
10917         drop-down completion browser. If a key was pressed, then recieve this
10918         char and append it to the existing string.
10919         (peek_event): modify the positioning data passed to the completion
10920         browser so that it can be placed above the minibuffer rather than below.
10921 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10922
10923         * LyXAction.C (init): alloe error-next for readonly documents.
10924
10925         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10926         count.
10927
10928 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * bufferlist.C (readFile): create the buffer _after_ checking that
10931         the file exists.
10932
10933         * lyxfunc.C (verboseDispatch): fix handling of arguments
10934
10935         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10936
10937         * lyxrc.C: use string::erase() instead of initializing to "".
10938
10939
10940 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * BufferView_pimpl.h:
10943         * BufferView_pimpl.C:
10944         * WorkArea.h:
10945         * WorkArea.C:
10946         * text2.C: tell X when we have made a selection for copying
10947
10948 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10949
10950         * BufferView_pimpl.C (MenuInsertLyXFile):
10951         * lyxfunc.C (menuNew):
10952         (open):
10953         (doImport): add shortcuts to directory buttons
10954
10955         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10956         open a float)
10957
10958         * lyxfunc.C (setStatusMessage):
10959         (getStatusMessage): new methods
10960         (getStatus):use setStatusMessage instead of setErrorMessage
10961         (dispatch): when function is disabled, set error message here
10962         [instead of in getStatus previously]
10963
10964         * BufferView_pimpl.C (workAreaButtonRelease): update
10965         toolbar/menubar here too.
10966
10967 2002-01-13  Allan Rae  <rae@lyx.org>
10968
10969         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10970         Now seems indestructible.  Remaining task is to audit all other
10971         code affected by deleteEmptyParagraphMechanism.  One small quirk
10972         left is that an empty document with an error in the preamble can
10973         be made to report an error but no error box appears.  I don't know
10974         where it goes.
10975         (removeAutoInsets): Improved comments.
10976
10977 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * Thesaurus.h:
10980         * Thesaurus.C: update for Aiksaurus 0.14
10981
10982 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * text2.C (firstParagraph): removed member function, all uses
10985         replaces with ownerParagraph
10986         (redoParagraphs): here
10987         (updateInset): here
10988         (toggleAppendix): here
10989         * BufferView2.C (insertErrors): here
10990         (setCursorFromRow): here
10991
10992 2002-01-13  Allan Rae  <rae@lyx.org>
10993
10994         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10995         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10996         There is still a way to segfault this although you may have to do this
10997         multiple times: Have an InsetERT with an unknown command in it.
10998         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10999         <down-arrow>, <Enter> again, View->DVI, BANG!
11000
11001         * text2.C (setCursor):
11002         (deleteEmptyParagraphMechanism):
11003         * lyxtext.h (setCursor):
11004         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11005         Making use of the return value may help fix other bugs.
11006
11007 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11008
11009         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11010
11011         * LyXView.C (updateMenubar): call MenuBar::update here
11012         (updateToolbar): but not here
11013         (showState): do not update toolbar/menubar
11014
11015         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11016         should need to care about that.
11017
11018         * lyxfunc.C (verboseDispatch): simplify a bit
11019         (getStatus): have a version which takes a pseudoaction, and
11020         another which requires a (kb_action,string).
11021
11022         * LyXAction.C (retrieveActionArg): make it work also when action
11023         is not a pseudo-action.
11024         (getActionName): simplify a bit
11025         (helpText):
11026
11027 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * lyxfunc.C (verboseDispatch): new families of methods with
11030         several ways to specify a command and a bool to indicate whether
11031         the command name and shortcut should be displayed in minibuffer
11032         (eventually, we could extend that to a finer bitmask like
11033         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11034         (dispatch): the pristine dispatch command which just, well,
11035         dispatchs! Note it still sets its result to minibuffer; I'm not
11036         sure we want that.
11037
11038         * lyxfunc.h: remove setHintMessage
11039
11040         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11041
11042 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * BufferView_pimpl.C (specialChar): delete new inset if we have
11045         not been able to insert it.
11046
11047         * kbmap.C: revert to using int instead of kb_action, since all we
11048         are dealing with is pseudo-actions.
11049
11050         * LyXAction.C (searchActionArg): change to return int instead of
11051         kb_action, since the result is a pseudoaction.
11052
11053 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11054
11055         * buffer.C (insertErtContents): Fix (partially) the font bug.
11056
11057 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11058
11059         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11060         as the other one is broken on my machine!
11061
11062 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11063
11064         * commandtags.h:
11065         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11066
11067 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11068
11069         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11070         reflect their actual use. Provide compatibility code for older lyxrc
11071         files.
11072
11073         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11074         FL_NORMAL_STYLE.
11075         change names of popup font variables in line with the changes to lyxrc.C
11076
11077 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11078
11079         * buffer.C (asciiParagraph): avoid outputing a word twice after
11080         an inset.
11081
11082         * lyxrc.C (getDescription): document that document_path and
11083         template_path can be empty.
11084
11085 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11086
11087         * LaTeXFeatures.C (getMacros):
11088         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11089
11090         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11091
11092         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11093         getPackages.
11094         (getPackages): rename feature "floats" to "float". Use an array to
11095         iterate over 'simple' features (i.e. just a \usepackage). Add
11096         handling of "amsmath" (renamed from "amsstyle").
11097
11098 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11099
11100         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11101         features list.
11102
11103 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11106         FuncStaus::FuncStatus & FuncStaus::some_method().
11107
11108 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11109
11110         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11111         of the func_satus stuff. Edited and massaged in various ways by
11112         JMarc.
11113
11114         * lyxfunc.C (getStatus): use FuncStatus
11115
11116 2002-01-08  Juergen Vigna  <jug@sad.it>
11117
11118         * text.C (nextBreakPoint): use function Inset::isChar().
11119
11120         * paragraph.C (TeXOnePar): use function
11121         Inset::forceDefaultParagraphs.
11122
11123         * buffer.C (latexParagraphs): use function
11124         Inset::forceDefaultParagraphs.
11125
11126 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11127
11128         * lyx_gui.C (init): set the style of the menu popups to
11129         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11130
11131 2002-01-07  Juergen Vigna  <jug@sad.it>
11132
11133         * text.C (setHeightOfRow): small fix
11134         (prepareToPrint): don't look at alignment if we don't have the place
11135         for doing it.
11136
11137 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * box.C: New file. Move the Box methods and functions out of box.h,
11140         following Lars' suggestion.
11141
11142 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11143
11144         * box.h: #include "support/LOstream.h", needed for inlined function.
11145
11146         * lyxtextclass.C:
11147         * lyxtextclasslist.C: added some using std declarations.
11148
11149 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * box.h: make signed dimensions to allow insets wider than
11152           the screen (bug #162)
11153
11154         * BufferView_pimpl.C: add some insetHit debug
11155
11156 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * vc-backend.C: add FIXME
11159
11160 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * lyxfunc.C (getStatus): enable code for showing math font status
11163         in toolbar/menu.
11164
11165 2002-01-07  Juergen Vigna  <jug@sad.it>
11166
11167         * text.C (nextBreakPoint): removed debug output not needed anymore.
11168
11169 2002-01-06  Juergen Vigna  <jug@sad.it>
11170
11171         * text.C (nextBreakPoint): fixed up this function we had this bug
11172         since ever but now hopefully we break row better.
11173         (insertChar): we have to check if an inset is the next char as it
11174         could now happen that a large inset is causing a break.
11175
11176 2002-01-05  Juergen Vigna  <jug@sad.it>
11177
11178         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11179         if it doesn't like to be drawed.
11180
11181 2002-01-04  Juergen Vigna  <jug@sad.it>
11182
11183         * BufferView2.C (lockInset): forgot to set a cursor.
11184
11185         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11186
11187 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11188
11189         * FormMathsPanel.C:
11190         * FormMathsPanel.h
11191         * MathsSymbols.C:
11192         * form_maths_panel.C:
11193         * form_maths_panel.h:
11194         * form_maths_panel.fd: implemented sub- and super- buttons in math
11195         panel.
11196
11197         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11198         (or ^ space) to be used as in TeX (req'd by André).
11199
11200         * lyxfunc.C: Allow ^ and _ again to be used both as
11201         super/subscript (mathed) and as themselves (in text).
11202
11203 2002-01-03  Allan Rae  <rae@lyx.org>
11204
11205         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11206         "LyX" or the filename of the current buffer if it has one.  This is a
11207         modified form of John Levon's patch.
11208
11209         * XFormsView.C (setWindowTitle): also set icon title.
11210
11211         * LyXView.h (setWindowTitle): signature changed.
11212         * XFormsView.h (setWindowTitle): ditto.
11213
11214 2002-01-02  Juergen Vigna  <jug@sad.it>
11215
11216         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11217
11218 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * screen.C (topCursorVisible): introduce a temp var for
11221         text->cursor.row(), handle the case where this row is null. (kindo
11222         hachish)
11223
11224         * text2.C (setCursor): add a couple of asserts.
11225
11226         * paragraph.h (inset_iterator): add -> operator
11227
11228         * paragraph.[Ch] (autoDeleteInsets): remove member function
11229
11230         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11231         cursor pos correctly and handle inset deletion by itself.
11232         (insertErrors): move iterator declaration out of for expression
11233
11234         * lyxtextclass.C: add <algorithm>
11235
11236         * Makefile.am: added the new files to sources, removed layout.C
11237
11238         * layout.C: removed file
11239
11240         * layout.h: remove LYX_DUMMY_LAYOUT
11241
11242         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11243         layout.
11244
11245         * lyxlayout.[Ch]:
11246         * lyxtextclass.[Ch]:
11247         * lyxtextclasslist.[Ch]: new files
11248
11249         * include order changes to a lot of files, also changes because of
11250         the six new files.
11251
11252 2001-12-27  Juergen Vigna  <jug@sad.it>
11253
11254         * buffer.C (asciiParagraph): more fixes.
11255
11256         * tabular.C (ascii): make ascii export support export of only the
11257         data separated by a column-delimiter.
11258         (ascii): better support for ascii export.
11259
11260         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11261
11262 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11263
11264         * tabular_funcs.C: use a "using std::getline" instead of the
11265         previous fix from Angus (necessary for cxx + lyxstring)
11266
11267 2001-12-24  Juergen Vigna  <jug@sad.it>
11268
11269         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11270
11271         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11272         problems. First check a minipage also if we have some ert-contents
11273         (not only on par->size(), second set the right depth of the paragraph
11274         on the relink to the root-paragraph-list!
11275
11276         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11277         which then did not anymore update the main paragraphs on undo/redo!
11278
11279 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11280
11281         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11282         code. Support all font-changing funcs (even those which are not in
11283         menu currently). Support for reporting font settings in
11284         mathed (disabled until Andre provides a function on mathed's side).
11285
11286         * func_status.h (toggle): small helper function to set toggle
11287         state on a flag.
11288
11289 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11290
11291         * tabular_funcs.C: getline -> std::getline
11292
11293 2001-12-21  Juergen Vigna  <jug@sad.it>
11294
11295         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11296         accessed and could be 0 (I couldn't generate this but it seems
11297         Michael could!).
11298
11299 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11302         * tabular_funcs.h: here and include iosfwd
11303
11304 2001-12-20  Juergen Vigna  <jug@sad.it>
11305
11306         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11307         inside inset but undo_par was.
11308
11309 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * Thesaurus.C: always include <config.h> in sources.
11312
11313         * Painter.h:
11314         * lyxlookup.h:
11315         * box.h: do not include <config.h> in header files
11316
11317         * text.C (paintLastRow): remove unused variable
11318
11319         * text.C (transformChar):
11320         (insertChar):
11321         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11322
11323         * Painter.C (text):
11324         * font.C (width): rewrite to use uppercase() instead of
11325         islower/toupper.
11326
11327         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11328
11329 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * lyxfind.C: clean up of find failure position change
11332
11333 2001-12-20  Juergen Vigna  <jug@sad.it>
11334
11335         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11336
11337         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11338         (TeXRow): added to LaTeX a single tabular row.
11339         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11340         (Latex): simplified and finally good LT-h/f support.
11341         (various_functions): just small adaptions for LT-h/f support.
11342
11343         * tabular_funcs.[hC]: added and moved here all not classfunctions
11344         of LyXTabular.
11345
11346 2001-12-19  Juergen Vigna  <jug@sad.it>
11347
11348         * tabular.[Ch]: better support for longtabular options (not finished
11349         yet!)
11350
11351 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * text.C (paintLastRow): use the label font instead of the font of
11354         the last character to compute the size of *_BOX. This makes more
11355         sense and avoids a crash with empty paragraphs.
11356         Use Painter::rectangle to draw EMPTY_BOX.
11357
11358 2001-12-19  Juergen Vigna  <jug@sad.it>
11359
11360         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11361         the paragraphs if the replaced paragraph is not the first one!
11362         Tried to delete not used paragraphs but does not work yet so for
11363         now it's inside #ifdef's and by default off!
11364
11365 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * MenuBackend.C: include "lyx_main.h" instead of declaring
11368         lastfiles (actually was declared as LastFiles* instead of a
11369         scoped_ptr).
11370
11371 2001-12-17  Juergen Vigna  <jug@sad.it>
11372
11373         * tabular.C (AppendColumn): applied John's fix
11374
11375 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * BufferView.h:
11378         * BufferView.C:
11379         * BufferView_pimpl.h:
11380         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11381
11382         * Makefile.am:
11383         * box.h: new start of class for above
11384
11385         * lyxfunc.C: ignore space-only minibuffer dispatches.
11386           Show the command name when it doesn't exist
11387
11388         * minibuffer.C: don't add empty lines to the history
11389
11390         * minibuffer.C: add a space on dropdown completion
11391
11392 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * text.C: fix line above/below drawing in insets
11395
11396 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * lyxlength.C (LyXLength): Initialize private variables.
11399
11400 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11401
11402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11403         when inserting error insets.
11404
11405 2001-12-13  Juergen Vigna  <jug@sad.it>
11406
11407         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11408         actually sometimes the before-paragraph.
11409         (setUndo): don't clear the redostack if we're not actually undoing!
11410
11411 2001-12-06  Juergen Vigna  <jug@sad.it>
11412
11413         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11414         and fixed redoing of main paragraph, so we can use it now ;)
11415
11416         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11417
11418 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11421         Juergen's request
11422
11423 2001-12-13  André Pönitz <poenitz@gmx.net>
11424
11425         * undostack.[Ch]:
11426         * undo_func.C: minor cleanup
11427
11428 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11431         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11432         font in urw-fonts package which is marked as -urw-fontspecific and
11433         does not work (incidentally, changing the encoding in the
11434         fonts.dir of this package to -adobe-fontspecific fixes the
11435         problem).
11436
11437         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11438         is a crash when undoing first paragraph (Juergen, please take a
11439         look). THis does not mean the undo fix is wrong, just that it
11440         uncovers problems.
11441
11442         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11443         the (Paragraph*) version when needed instead of duplicating the
11444         code.
11445
11446         * text.C (workWidth): use Inset::parOwner to find out where the
11447         inset has been inserted. This is a huge performance gain for large
11448         documents with lots of insets. If Inset::parOwner is not set, fall
11449         back on the brute force method
11450
11451         * paragraph_pimpl.C (insertInset):
11452         * paragraph.C (Paragraph):
11453         (cutIntoMinibuffer): set parOwner of insets when
11454         inserting/removing them
11455
11456         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11457
11458 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11459
11460         * commandtags.h:
11461         * LyXAction.C:
11462         * lyx_main.C:
11463         * lyxfunc.C:
11464         * mathed/formulabase.C:
11465         * mathed/math_cursor.[Ch]:
11466         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11467
11468
11469 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * lyxlength.[Ch] (operator!=): new function
11472
11473 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * text.C (workWidth): use Inset::parOwner to find out where the
11476         inset has been inserted. This is a huge performance gain for large
11477         documents with lots of insets. If Inset::parOwner is not set, fall
11478         back on the brute force method
11479
11480         * paragraph_pimpl.C (insertInset):
11481         * paragraph.C (Paragraph):
11482         (cutIntoMinibuffer): set parOwner of insets when
11483         inserting/removing them
11484
11485         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11486
11487 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * tabular-old.C (getTokenValue):
11490         * tabular.C (getTokenValue):
11491         (write_attribute): new versions for LyXLength
11492         (everywhere): adjust the use of widths
11493
11494         * tabular.h: change the type of widths from string to LyXLength
11495
11496 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11497
11498         * paragraph.C: fixed missing line number count when exporting
11499         Environments to LaTeX file
11500
11501         * buffer.C: added informational message for checking line numbers.
11502
11503 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11506         paragraph, do the 'double space' part, but not the 'empty
11507         paragraph' one.
11508
11509         * text.C (workWidth): small optimization
11510         (getLengthMarkerHeight): use minimal size for negative lengths.
11511
11512 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11513
11514         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11515
11516         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11517
11518 2001-12-11  André Pönitz <poenitz@gmx.net>
11519
11520         * FontLoader.C:
11521         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11522
11523 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * text2.C: keep selection on a setFont()
11526
11527 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * lyx_cb.C: another bv->text misuse, from insert label
11530
11531 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * kbsequence.h:
11534         * kbsequence.C: re-instate nmodifier mask
11535
11536 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * lyx_main.h: make lyxGUI private.
11539
11540 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * lyxfind.C: place the cursor correctly on failed search
11543
11544 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * text.C (getLengthMarkerHeight): for small heights, the arrows
11547         are not always on top/bottom of the text
11548         (drawLengthMarker): smaller arrows; take the left margin in
11549         account; draw also vfills.
11550         (paintFirstRow):
11551         (paintLastRow): remove special code for vfill and standard spaces,
11552         since everything is handled in drawLengthMarker now.
11553
11554 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11555
11556         * buffer.C (insertErtContents): try to handle font and language
11557         interaction a bit better.g
11558
11559         * ColorHandler.C (updateColor): change the hash to cover the whole
11560         LColor enum, ws cleanup
11561         (getGCLinepars): ditto
11562         (getGCLinepars): only lookup in the linecache once.
11563
11564 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11565
11566         * iterators.C (operator++): Make the iterator more robust
11567
11568         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11569         (John's patch)
11570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11571
11572 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * lyxtext.h:
11575         * text.C: better added space drawing
11576
11577 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * LyXView.C:
11580         * BufferView2.C: fix layout combo update on inset unlock
11581
11582 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * Makefile.am: don't compile unused files
11585
11586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * lyxfunc.C:
11589         * commandtags.h:
11590         * LyXAction.C: remove old LFUN_LAYOUTNO
11591
11592 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * paragraph_pimpl.h:
11595         * paragraph_pimpl.C: isTextAt() doesn't need font param
11596
11597 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * lyxlex.h:
11600         * lyxlex.C: little cleanup
11601
11602 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView_pimpl.C: fix insertAscii for insets
11605
11606 2001-12-05  Juergen Vigna  <jug@sad.it>
11607
11608         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11609         set the right font on the "multi" paragraph paste!
11610
11611 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * trans_decl.h:
11614         * trans_mgr.[Ch]:
11615         * trans.[Ch]:
11616         * lyxgluelength.C:
11617         * lyxlength.C: remove out-commented code.
11618
11619         * BufferView_pimpl:
11620         * CutAndPaste.C:
11621         * DepTable.C:
11622         * buffer.C:
11623         * chset.C:
11624         * lastfiles.C:
11625         * lyxlex.C:
11626         * lyxlex_pimpl.C:
11627         * lyxserver.C:
11628         * screen.C:
11629         * tabular-old.C:
11630         * tabular.C:
11631         * text.C:
11632         * trans_mgr.C:
11633         * vc-backend.C: change "while(" to "while ("
11634
11635         * lyxlength.[Ch]: add zero function to check if length is zero or
11636         not
11637         * lyxgluelength.C: use it
11638
11639 2001-12-05  Allan Rae  <rae@lyx.org>
11640
11641         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11642         Works for 2.95.3, from what I understand of Garst's reports this should
11643         work for other g++ versions.  We're screwed if the abs(int) definition
11644         changed between bugfix releases of gcc.
11645
11646 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * text.C: fix chapter label offset !
11649
11650 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lyxtext.h:
11653         * text.C: fix hfill at end of line, clean up
11654
11655 2001-12-04  Juergen Vigna  <jug@sad.it>
11656
11657         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11658         that we force an update of the inset and it's owners if neccessary.
11659
11660 2001-12-03  Juergen Vigna  <jug@sad.it>
11661
11662         * text.C (rowLast): simplified code
11663
11664 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * lyxfunc.C: fix show options on timeout
11667
11668 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * screen.C (topCursorVisible): scroll half a page when the cursor
11671         reached top of bottom of screen
11672
11673 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * minibuffer.C: deactivate on loss of focus
11676
11677 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * vspace.[Ch] (operator!=): add operator.
11680
11681 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView_pimpl.C: refuse to open an inset when
11684         there's a selection.
11685
11686 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11687
11688         * BufferView_pimpl.C: allow to click on RHS of full row insets
11689
11690 2001-11-30  Juergen Vigna  <jug@sad.it>
11691
11692         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11693         insets for undo reasons.
11694
11695 2001-11-28  André Pönitz <poenitz@gmx.net>
11696
11697         * vspace.[Ch]: cosmetical changes
11698
11699 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * LyXAction.h:
11702         * LyXAction.C:
11703         * lyxfunc.h:
11704         * lyxfunc.C:
11705         * kbmap.h:
11706         * kbmap.C:
11707         * lyxrc.C:
11708         * kbsequence.h:
11709         * kbsequence.C: part re-write of old kb code
11710
11711         * Painter.C:
11712         * WorkArea.C: remove Lgb_bug_find_hack
11713
11714 2001-11-30  José Matos <jamatos@fep.up.pt>
11715
11716         * buffer.C (makeDocBookFile): add a comment to point a hack.
11717         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11718         Fixed a double write of labels.
11719
11720 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11721
11722         * LaTeX.C:
11723         * LaTeX.h Fixed bug in LaTeX class where it would not
11724         re-run latex if no depfiles were changed, but the .dvi was removed.
11725
11726 2001-11-28  André Pönitz <poenitz@gmx.net>
11727
11728         * all the files from the change on 2001/11/26:
11729         use lyx::layout_type instead of LyXTextClass::size_type
11730         use lyx::textclass_type instead of LyXTextClassList::size_type
11731
11732 2001-11-29  Juergen Vigna  <jug@sad.it>
11733
11734         * text.C: added support for paragraph::isFreeSpacing()
11735
11736         * buffer.C: same as above
11737
11738         * paragraph.h: inserted isFreeSpacing() function to enable
11739         FreeSpacing inside InsetERT.
11740
11741         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11742         of the paragraph's in the cut/copy buffer to 0!
11743
11744         * text2.C (removeRow): remove the assert as it can!
11745
11746         * lyxtext.h: added helper function firstRow returning firstrow and
11747         made firstrow private again.
11748
11749         * BufferView2.C (lockInset): don't relock if we're already locked!
11750
11751         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11752         the only paragraph.
11753         (removeRow): added Assert::(firstrow)
11754
11755         * debug.C: forgot to add INSETTEXT here.
11756
11757 2001-11-28  Juergen Vigna  <jug@sad.it>
11758
11759         * sp_spell.C (initialize): changed error text to more general
11760         spellchecker command use (not only ispell!)
11761
11762         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11763
11764         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11765
11766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * vspace.C: initialise lyxgluelength on failure
11769
11770 2001-11-28  Allan Rae  <rae@lyx.org>
11771
11772         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11773         declaration & definition that looks like a function declaration.
11774
11775 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * BufferView2.C (copy):
11778         (copyEnvironment): do not clear the selection when doing a copy.
11779
11780         * text.C (paintFirstRow): compilation fix
11781
11782 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11783
11784         * tabular.C (Latex): correct line count when writing latex.
11785
11786 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * paragraph_pimpl.h:
11789         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11790           bug a bit
11791
11792 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * text.C:
11795         * LColor.h:
11796         * LColor.C: change vfillline->added_space
11797
11798         * text.C: add markers and text for added space
11799
11800         * vspace.C: fix comment
11801
11802 2001-11-28  André Pönitz <poenitz@gmx.net>
11803
11804         * paragraph.C: whitespace changes
11805         * all the other files from the change on 2001/11/26:
11806         change *::pos_type into lyx::pos_type
11807
11808 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11809
11810         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11811         language of the document when inserting error insets.
11812
11813 2001-11-26  André Pönitz <poenitz@gmx.net>
11814
11815         * BufferView_pimpl.[Ch]:
11816         *       CutAndPaste.C:
11817         * buffer.[Ch]:
11818         * lyxcursor.[Ch]:
11819         * lyxfind.C:
11820         * lyxfunc.C:
11821         * lyxrow.[Ch]:
11822         * paragraph.[Ch]:
11823         * paragraph_pimpl.[Ch]:
11824         * sp_spell.C:
11825         * text.C:
11826         * text2.C: reduce header dependencies, introduce type for positions
11827
11828 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * <various>: change to use Alert.h
11831
11832 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11835         when encountering an unknown token.
11836         (readLyXformat2): Show an error message if there were unknown tokens.
11837
11838 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * BufferView2.C:
11841         * BufferView_pimpl.C:
11842         * buffer.C:
11843         * paragraph.h:
11844         * text.C:
11845         * text2.C: use par->isInset()
11846
11847 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * paragraph_pimpl.h:
11850         * paragraph_pimpl.C: cleanup
11851
11852 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11853
11854         * text2.C (removeRow):
11855         * text.C (setHeightOfRow): remove useless (and costly) call to
11856         getRow.
11857
11858 2001-11-20  Allan Rae  <rae@lyx.org>
11859
11860         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11861         Now need Inset*::checkInsertChar() to return true for appropriate
11862         cases so that the characters in the minibuffer will actually be
11863         inserted.
11864
11865 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * text.C: change the order of the includes.
11868         (workWidth): initialize it at once.
11869         (workWidth): make maxw unsigned
11870         (setHeightOfRow): remove unused variable (inset)
11871         (selectSelectedWord): remove unused variable (inset)
11872         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11873
11874 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11875
11876         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11877         server is not running.
11878         (openConnection):
11879         (closeConnection): add debug info when server is disabled.
11880
11881         * ColorHandler.C (getGCForeground): send debug message to GUI
11882         channel.
11883
11884         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11885
11886         * kbmap.C (bind): modify because return conventions of
11887         kb_sequence::parse have changed.
11888
11889         * kbsequence.C (parse): only ignore spaces and not any stupid
11890         control character. This avoids tests like s[i] <= ' ', which are
11891         guaranteed to fail with 8bit characters and signed chars.
11892         Change return code to string::npos when there have been no error
11893         (0 was a bad idea when error is at first character)
11894
11895 2001-11-14  José Matos  <jamatos@fep.up.pt>
11896
11897         * buffer.h:
11898         * buffer.C (simpleDocBookOnePar): removed unused argument.
11899
11900 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11903         insets which are part of a word. Paragraph::isLetter takes care of
11904         that now. Use Paragraph::isInset to identify insets.
11905         (selectSelectedWord): do not test for hyphenation break.
11906
11907         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11908         that protected spaces are considered as spaces.
11909
11910         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11911         Inset::isLetter.
11912
11913 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * lyxserver.h:
11916         * lyxserver.C: fix it. and small cleanup.
11917
11918 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * BufferView_pimpl.C: use inline helpers
11921
11922         * LaTeXFeatures.h:
11923         * LaTeXFeatures.C: fix typos
11924
11925         * Spacing.h:
11926         * Spacing.C: move spacing_string into class
11927
11928         * ToolbarDefaults.C: move stuff into namespace anon
11929
11930         * layout.h: update enum
11931
11932         * lyxfunc.C: use better debug
11933
11934         * minibuffer.h: fix typo
11935
11936         * debug.h:
11937         * debug.C:
11938         * WorkArea.C: add and use Debug::WORKAREA
11939
11940         * lyxtext.h:
11941         * text.C:
11942         * text2.C: code re-organisation, inline helpers
11943
11944 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11945
11946         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11947         std::vector.empty().
11948
11949 2001-11-09  Allan Rae  <rae@lyx.org>
11950
11951         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11952         '\n's after tables.  Tabular and ERT inset work now makes this no
11953         longer necessary.
11954
11955 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * minibuffer.h:
11958         * minibuffer.C: fix crash, improve drop-down completion
11959
11960 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * lyxserver.h:
11963         * lyxserver.C: invalidate fd's when doing endPipe()
11964
11965 2001-11-08  José Matos  <jamatos@fep.up.pt>
11966
11967         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11968         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11969
11970         * paragraph.h:
11971         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11972
11973 2001-11-07  José Matos  <jamatos@fep.up.pt>
11974
11975         * buffer.h:
11976         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11977         const qualifier.
11978
11979         * buffer.C (sgmlOpenTag):
11980         * buffer.C (sgmlCloseTag): removed debug info.
11981
11982         * buffer.h (sgmlOpenTag):
11983         * buffer.h (sgmlCloseTag): made public.
11984
11985 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11986
11987         * buffer.C (saveParamsAsDefaults):
11988         * lyx_cb.C (MenuLayoutSave): remove
11989
11990         * LyXAction.C (init):
11991         * commandtags.h:
11992         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11993
11994 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * buffer.C (setPaperStuff): removed from here...
11997
11998         * bufferparams.C (setPaperStuff): ... and moved there.
11999
12000 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * minibuffer.h:
12003         * minibuffer.C:
12004         * XFormsView.C: add support for drop-down completion
12005
12006 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12007
12008         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12009         commands.
12010
12011 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12012
12013         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12014         disabled.
12015
12016 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * lyx_main.C: change ref to known bugs
12019
12020 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12021
12022         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12023         to work around older babel problems.
12024
12025 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12026
12027         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12028
12029 2001-10-24  Juergen Vigna  <jug@sad.it>
12030
12031         * tabular-old.C (ReadOld): below variable changes reflected.
12032
12033         * tabular.[Ch]: added ltType struct for longtable header/footer
12034         defines and changed all instances where they are used. Added
12035         future support for double top/bottom rows.
12036
12037 2001-10-24  José Matos  <jamatos@fep.up.pt>
12038
12039         * buffer.h (docbookHandleCaption):
12040         * buffer.C (docbookHandleCaption): removed unused function.
12041         (makeDocBookFile): moved docbook supported version to v4.1.
12042
12043 2001-10-24  José Matos  <jamatos@fep.up.pt>
12044
12045         * tabular.h:
12046         * tabular.C (docbookRow): new function to export docbook code of a row.
12047         (DocBook): now honors the longtable flags.
12048
12049 2001-10-23  José Matos  <jamatos@fep.up.pt>
12050
12051         * LaTeXFeatures.h:
12052         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12053         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12054
12055         * buffer.C (makeLinuxDocFile):
12056         (makeDocBookFile): reworked the preamble, more clean, and with
12057         support for lyx defined entities. Changed the document declaration
12058         to be more XML friendly.
12059
12060         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12061         if we need to output XML that should be done with a filter.
12062
12063 2001-10-22  Juergen Vigna  <jug@sad.it>
12064
12065         * sp_pspell.h (class PSpell): add alive function needed in the
12066         controller to see if the spellchecker could be started.
12067
12068 2001-10-22  Juergen Vigna  <jug@sad.it>
12069
12070         * buffer.C (insertStringAsLines): modify the font for inserting
12071         chars in certain conditions by calling checkInsertChar(font).
12072
12073 2001-10-19  Juergen Vigna  <jug@sad.it>
12074
12075         * text.C (workWidth): use getRow instead of wrong algorithm.
12076         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12077
12078 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * lyxserver.h:
12081         * lyxserver.C:
12082         * lyx_main.h:
12083         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12084
12085 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12086
12087         * text.C (workWidth): do not search for the exact row when
12088         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12089         optimization for big documents.
12090
12091 2001-10-18  Juergen Vigna  <jug@sad.it>
12092
12093         * text.C (workWidth): new function with added Inset * parameter.
12094
12095 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12096
12097         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12098
12099         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12100         change return type of getColumnNearX.
12101
12102
12103         * text.C (changeRegionCase): use uppercase/lowercase instead of
12104         toupper/tolower.
12105         (leftMargin):
12106         (rightMargin): simplify code by factoring out the uses of
12107         textclasslist.
12108         (labelFill):
12109         (numberOfHfills):
12110         (setHeightOfRow):
12111         (appendParagraph): use Paragraph::size_type
12112
12113 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12114
12115         * vspace.C (asLatexString): add a missing break
12116
12117 2001-10-15  Herbert Voss  <voss@perce.de>
12118
12119         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12120
12121 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12122
12123         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12124         is not available.
12125
12126 2001-10-10  André Pönitz <poenitz@gmx.net>
12127
12128         * lyxfunc.C: removed greek_kb_flag.
12129
12130 2001-10-10  Herbert Voss  <voss@perce.de>
12131
12132         * lyx_main.C: delete global string help_lyxdir.
12133
12134 2001-10-09  Herbert Voss  <voss@perce.de>
12135
12136         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12137
12138         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12139
12140         * lyx_main.C: added global string help_lyxdir.
12141
12142         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12143
12144 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12145
12146         * lyxrc.C (set_font_norm_type): support iso8859-4
12147
12148 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12149
12150         * LaTeX.C (deplog): add another regex for MikTeX
12151
12152 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12153
12154         * lyxrc.C (set_font_norm_type): support iso8859-3
12155
12156 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12159
12160         * LaTeXFeatures.C: remove special case of french and index
12161
12162         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12163         before \begin{document}). This solves several incompatibilities.
12164
12165 2001-10-03  Garst Reese  <reese@isn.net>
12166
12167         * lyx_cb.C: change CheckTex error msg.
12168
12169 2001-10-03  José Matos  <jamatos@fep.up.pt>
12170
12171         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12172
12173 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * .cvsignore: update
12176
12177         * lyx_main.C (commandLineVersionInfo): use new style version info.
12178
12179         * buffer.C (writeFile):
12180         (makeLaTeXFile):
12181         (makeLinuxDocFile):
12182         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12183
12184         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12185
12186         * version.h: update to use stuff in version.C
12187
12188         * version.C.in: new file. Contains version information determined
12189         at compile time. This is a merging of version.h and
12190         version_info.h.in.
12191
12192 2001-10-03  Juergen Vigna  <jug@sad.it>
12193
12194         * BufferView_pimpl.C (update): don't change "dirty" status in
12195         updateInset call.
12196
12197 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * WorkArea.C (c-tor): re-position version string slightly.
12200
12201 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12202
12203         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12204         revert to previous code.
12205
12206         WorkArea.[Ch]: (show, destroySplash): methods removed.
12207
12208         WorkArea.C: rework code so that it's an amalgam of the codes before and
12209         after the splash screen was moved to WorkArea.
12210
12211 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12212
12213         * lyxrc.C (read):
12214         * vspace.C (inPixels):
12215         (lyx_advance):
12216         * kbmap.C (bind):
12217         * buffer.C (insertStringAsLines):
12218         (asciiParagraph): fix types to be large enough
12219
12220         * lyxlex_pimpl.h: change member status from short to int
12221
12222         * layout.h: fix type of endlabeltype
12223
12224         * kbmap.C (bind):
12225         * kbsequence.C (parse): change return type to string::size_type
12226
12227         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12228         variable
12229
12230         * Bullet.C (bulletSize):
12231         (bulletEntry): do not use short ints as parameters
12232
12233         * BufferView2.C (insertLyXFile): change a char to an int.
12234
12235         * WorkArea.C (WorkArea): remove unneeded floats in computation
12236
12237 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12238
12239         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12240
12241         * paragraph.C (asString): Do not ignore newline/hfill chars when
12242         copying to the clipboard.
12243
12244 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12245
12246         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12247         after a multi-line inset.
12248
12249 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12250
12251         * paragraph.C (validate): Set NeedLyXFootnoteCode
12252
12253 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12256         and decrease-error to decrease.
12257
12258 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12261         it more readable (should be equivalent)
12262
12263 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12264
12265         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12266
12267 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12270         of a cursor (row, etc.) after a character has been deleted
12271         (deleteEmptyParagraphMechanism): call the method above on _all_
12272         cursors held by the LyXText when a double space has been
12273         detected/deleted.
12274
12275 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12278         pixmap.
12279         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12280
12281         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12282         background. Use greyOut() and the new show() methods to toggle between
12283         the foreground and background. Add code to remove the splash after
12284         its initial showing.
12285
12286         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12287         (create_forms): no longer call Dialogs::showSplash.
12288
12289 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * .cvsignore: add version_info.h
12292
12293 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * version_info.h.in: new file
12296
12297         * Makefile.am: add version_info.h.in
12298
12299         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12300         version_info.h instead of VERSION_INFO
12301
12302 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12303
12304         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12305         The ERT inset now returns string().
12306
12307 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * lyxtext.h, text.C (selectNextWord): renamed as
12310         selectNextWordToSpellcheck.
12311
12312         * text.C (selectNextWordToSpellcheck): Modified to not select
12313         words inside an ERT inset.
12314
12315 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12316
12317         * lyx_cb.C (MenuLayoutSave): change a bit the question
12318
12319         * sp_base.h: include <sys/types.h>
12320
12321 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12324
12325 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12326
12327         * several files: fix typos in user-visible strings
12328
12329 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * text2.C (pasteSelection): do not set the selection, since it
12332         will be cleared later. Actually, the intent was to fix the way the
12333         selection was set, but I figured rmoving the code was just as good.
12334
12335 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12336
12337         * FontLoader.C (available): Check if font is available without
12338         loading the font.
12339
12340 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12341
12342         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12343
12344 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * lyxrc.[Ch]: added display_graphics variable and associated code.
12347
12348 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12349
12350         * bufferparams.C (hasClassDefaults): new method. Returns true if
12351         the buffer parameters correspond to known class defaults
12352
12353 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12354
12355         * XFormsView.C (show): set minimum size to the main window.
12356
12357 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12358
12359         * text2.C (copySelection):
12360         (cutSelection):
12361         * lyxfind.C (LyXReplace):
12362         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12363         LyXText::selectionAsString.
12364
12365         * paragraph.C (asString): add "label" argument to the second form
12366
12367         * text2.C (selectionAsString): add "label" argument and pass it to
12368         Paragraph::asString.
12369
12370 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * lyx_main.C (commandLineHelp): remove version information
12373
12374 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12375
12376         * lyx_main.C: add -version commandline option
12377
12378 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12379
12380         * paragraph.h: make the optional constructor arg required instead.
12381         some modifications to other files because of this.
12382
12383         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12384
12385         * lyxserver.C (C_LyXComm_callback): make it static
12386
12387         * lyx_main.C (error_handler): make it static
12388
12389         * lyx_gui.C (LyX_XErrHandler): make it static
12390
12391         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12392
12393         * WorkArea.C: make the extern "C" methods static.
12394
12395         * Makefile.am (lyx_LDADD): simplify
12396
12397 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12400         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12401
12402         * LyXAction.C (init):
12403         * lyxfunc.C (dispatch): associated code removal.
12404
12405 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12406
12407         * lyxfont.h (isSymbolFont): shut off warning
12408
12409         * text.C (setHeightOfRow):
12410         (getVisibleRow): fix crash with empty paragraphs which have a
12411         bottom line
12412
12413 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12414
12415         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12416         code.
12417
12418 2001-09-04  José Matos  <jamatos@fep.up.pt>
12419         * buffer.C
12420         * buffer.h
12421         * tabular.C (docbook): rename docBook method to docbook.
12422
12423 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12424
12425         * Makefile.am: add dependencies to main.o.
12426
12427 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12428
12429         * FontLoader.C (available): Return false if !lyxrc.use_gui
12430
12431 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12432
12433         * FontInfo.C (query):
12434         * converter.C (view):
12435         * importer.C (Import):
12436         * exporter.C (Export): Can not -> cannot.
12437
12438 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12439
12440         * BufferView_pimpl.C: allow to create index inset even if
12441           string is empty
12442
12443 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12444
12445         * buffer.C (getLists): replace boost::tie code with an explicit pair
12446         as boost::tie can break some compilers.
12447
12448         * iterators.h: Added a std:: declaration to the return type of
12449         ParIterator::size.
12450
12451 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12454           case.
12455
12456 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12457
12458         * iterators.[Ch]: New files. Provide paragraph iterators.
12459
12460         * buffer.C (changeLanguage): Use paragraph iterators.
12461         (isMultiLingual): ditto
12462
12463         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12464
12465 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12466
12467         * FontLoader.C: Support for cmr font.
12468
12469 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12470
12471         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12472         (available): New method.
12473
12474         * FontInfo.C (getFontname): Use scalable fonts even when
12475         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12476         found.
12477
12478 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * converter.C (Formats::view): reverted! Incorrect fix.
12481
12482 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * converter.C (Formats::view): only output the -paper option
12485         if the dvi viewer is xdvi, thereby fixing bug #233429.
12486
12487 2001-08-23  Herbert Voss  <voss@perce>
12488
12489         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12490
12491 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12492
12493         * Spacing.h (Spacing): Set space to Default on in the default
12494         constructor.
12495
12496 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * vc-backend.h (RCS::versionString): add RCS to version
12499         (CVS::versionString): add CVS to version
12500
12501         * vc-backend.C (scanMaster): do not add CVS to version.
12502         (scanMaster): do not add RCS to version
12503
12504         * lyxvc.C (versionString): new method
12505
12506         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12507
12508 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * Spacing.C (set): initialize fval
12511
12512 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12513
12514         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12515         " or \.
12516
12517 2001-08-16  Juergen Vigna  <jug@sad.it>
12518
12519         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12520
12521 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * BufferView_pimpl.C:
12524         * figureForm.C:
12525         * lyxtext.h:
12526         * text2.C: setParagraph takes linespacing now
12527
12528 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * LyxAction.C: add internal LFUN_CITATION_INSERT
12531
12532         * LyXView.C: actually apply fix
12533
12534         * bufferlist.C: fix open non-existent file
12535
12536         * lyxfind.C: fix indentation
12537
12538         * lyxfunc.C: remove unneeded assert, fix typo
12539
12540 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * MenuBackend.C: use "Floatname List"
12543
12544 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12545
12546         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12547         when converting LaTeX layout to insetERT.
12548         Generate a non-collapsed float when reading old float
12549
12550 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12551
12552         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12553         ERT insets.
12554
12555 2001-08-13  Juergen Vigna  <jug@sad.it>
12556
12557         * text.C (fill): return 0 instead of 20 as this seems to be the more
12558         correct value.
12559
12560 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12561
12562         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12563         lyxrc.font_norm.
12564
12565 2001-08-13  Juergen Vigna  <jug@sad.it>
12566
12567         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12568         casesensitive off.
12569         (SearchBackward): comment out the unlocking of the inset_owner this
12570         should not be needed!
12571
12572 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12573
12574         * Many files: Remove inherit_language, and add latex_language
12575
12576         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12577         collapsible insets.
12578
12579 2001-08-10  Juergen Vigna  <jug@sad.it>
12580
12581         * text.C (prepareToPrint): fixed hfill-width in draw!
12582
12583         * BufferView2.C (selectLastWord): save the selection cursor as this
12584         now is cleared in the function LyXText::clearSelection!
12585
12586 2001-08-08  Juergen Vigna  <jug@sad.it>
12587
12588         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12589         BACKSPACE type functions.
12590
12591         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12592         is only cutted from the document but not put in the cut-buffer, where
12593         still the old stuff should be.
12594
12595         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12596
12597         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12598
12599         * tabular.C (SetWidthOfCell): fixed special case where the width
12600         was not updated!
12601         (LeftLine): handle '|' in align_special.
12602         (RightLine): ditto
12603         (LeftAlreadyDrawed): ditto
12604         (SetWidthOfCell): ditto
12605
12606 2001-08-07  Juergen Vigna  <jug@sad.it>
12607
12608         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12609
12610 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12613         * lyxlex.[hC]: ditto
12614
12615 2001-08-06  Juergen Vigna  <jug@sad.it>
12616
12617         * text.C (getVisibleRow): fix up row clearing a bit.
12618
12619 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * minibuffer.C: make sure the X server sees the changes in the input.
12622
12623 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * paragraph.C (getFont): split into...
12626         (getLabelFont): this
12627         (getLayoutFont): and this
12628         * paragraph_pimpl.C (realizeFont): calling this
12629
12630         * text2.C (getFont): split into...
12631         (getLayoutFont): this
12632         (getLabelFont): and this
12633         (realizeFont): all three calling this
12634
12635         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12636         files where used.
12637
12638 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12641
12642 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12643
12644         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12645         layouts from the Quote inset insertion.
12646
12647 2001-08-03  Juergen Vigna  <jug@sad.it>
12648
12649         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12650
12651         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12652         only if status not is already CHANGED_IN_DRAW (second level).
12653
12654         * text.C (draw): don't set the need_break_row when inside an
12655         InsetText LyXText.
12656
12657 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * buffer.C (parseSingleLyXformat2Token): handle more latex
12660         conversion cases.
12661
12662         * bufferview_funcs.[hC]: change function names to
12663         begin with small char, adjust other files.
12664
12665 2001-08-02  André Pönitz <poenitz@gmx.net>
12666
12667         * lyxfunc.C:
12668         BufferView_pimpl.C: remove broken special code for math-greek
12669
12670 2001-08-02  Juergen Vigna  <jug@sad.it>
12671
12672         * BufferView_pimpl.C (update): redone this function so that we
12673         update the text again if there was a CHANGE_IN_DRAW.
12674
12675         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12676         (drawFromTo): added a new internal bool which is used by draw() and
12677         redraw() function.
12678         (general): some cursor drawing problems fixed.
12679
12680 2001-08-01  Juergen Vigna  <jug@sad.it>
12681
12682         * lyxfind.C (LyXFind): fixed
12683         (SearchForward): ditto
12684         (SearchBackward): ditto
12685
12686         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12687         spurius drawing of the cursor in the main area.
12688
12689         * text2.C (status): small fix which could lead to a segfault!
12690         (clearSelection): remove unneeded BufferView param.
12691
12692 2001-08-01  André Pönitz <poenitz@gmx.net>
12693
12694         * lyxfunc.C: small change due to changed mathed interface
12695
12696 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12697
12698         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12699
12700 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyxfunc.c: fail gracefully if file doesn't exist
12703
12704         * LyXSendto.C:
12705         * buffer.C:
12706         * lyxfunc.C:
12707         * BufferView_pimpl.C: IsDirWriteable() proto changed
12708
12709         * LyXView.C: fix updateWindowTitle() to store the last title
12710
12711 2001-07-31  Juergen Vigna  <jug@sad.it>
12712
12713         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12714         the font (wrong since using of Paragraph::highestFontInRange).
12715
12716         * paragraph.C (highestFontInRange): added a default_size parameter.
12717
12718         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12719         (setHeightOfRow): reformat
12720
12721 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * converter.[hC] + affected files: move to (inital-char)lowercase
12724         function names.
12725
12726         * ParagraphParameters.C (ParagraphParameters): remove commented code
12727
12728         * PainterBase.[Ch]: remove commented code
12729
12730         * LaTeXFeatures.h: add "bool floats" for float.sty
12731
12732         * LaTeXFeatures.C (LaTeXFeatures): init floats
12733         (require): handle float
12734         (getPackages): do it with floats
12735
12736 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * BufferView_pimpl.C (Dispatch): improve handling of
12739         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12740
12741         * commandtags.h: #include lyxfont.h here temporarily to avoid
12742         keybinding bug.
12743
12744         * bufferlist.h: include LString.h here.
12745
12746 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * text2.C (getStringToIndex): new method.
12749
12750 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12751
12752         * *: Reduced header file dependencies all over.
12753
12754 2001-07-30  Baruch Even  <baruch@lyx.org>
12755
12756         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12757
12758 2001-07-29  Baruch Even  <baruch@lyx.org>
12759
12760         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12761
12762 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * ParameterStruct.h (endif): add a default constructor to make
12765         sure that all variables is initialized.
12766
12767         * ParagraphParameters.C (ParagraphParameters): adjust
12768
12769 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12772         index; also, check that there is something to index, and that it
12773         does not span over several paragraphs.
12774         (doubleClick): use WHOLE_WORD_STRICT for double click.
12775
12776         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12777
12778         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12779         scheme.
12780
12781 2001-07-26  Baruch Even  <baruch@lyx.org>
12782
12783         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12784         an InsetFig figure, backwards compatible reading of old figure code.
12785
12786 2001-07-27  Juergen Vigna  <jug@sad.it>
12787
12788         * text2.C: font.realize function adaption.
12789
12790         * text.C (draw): add a warnings lyxerr text if needed.
12791
12792         * layout.C: font.realize function adaption.
12793
12794         * language.C: add inherit_language and implement it's handlings
12795
12796         * bufferview_funcs.C (StyleReset): remove language parameter from
12797         font creation (should be language_inherit now).
12798
12799         * bufferparams.C (writeFile): handle ignore_language.
12800
12801         * paragraph.C (getFontSettings): the language has to be resolved
12802         otherwise we have problems in LyXFont!
12803
12804         * lyxfont.C (lyxWriteChanges): added document_language parameter
12805         (update): removed unneeded language parameter
12806
12807         * paragraph.C (validate): fixed wrong output of color-package when
12808         using interface colors for certain fonts in certain environments,
12809         which should not seen as that on the final output.
12810
12811 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * BufferView_pimpl.C:
12814         * Thesaurus.h:
12815         * Thesaurus.C:
12816         * Makefile.am:
12817         * commandtags.h:
12818         * LyXAction.C: add thesaurus support
12819
12820         * lyxfind.h:
12821         * lyxfind.C: add "once" parameter, for thesaurus, to not
12822           move to the next match
12823
12824 2001-07-26  Juergen Vigna  <jug@sad.it>
12825
12826         * lyxfont.C (realize): honor ignore_language too!
12827         (resolved): ditto.
12828
12829         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12830
12831         * text.C (draw): one place more for ignore_language to not draw
12832         itself!
12833
12834 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12837
12838 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12841         the minipage conversion problem.
12842
12843 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12846         insert an inset.
12847
12848 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * BufferView.h: don't forward declare WorkArea
12851
12852         * BufferView.C: don't include WorkArea.h
12853
12854 2001-07-25  André Pönitz <poenitz@gmx.net>
12855
12856         * commandtags.h:
12857         * LyXAction.C:
12858         * lyxfunc.C:  new LFUN 'math-space'
12859
12860         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12861
12862 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * text2.C (toggleInset): call open/close
12865
12866 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * lyxfunc.C (dispatch): add debug for the disabled case
12869
12870         * font.C (buttonText): make similar to rectText
12871
12872         * buffer.C (readInset): comment out parsing of insetlist and
12873         insttheorem
12874
12875         * PainterBase.C (rectText): small correction
12876
12877         * BufferView_pimpl.C: comment out insettheorem and insetlist
12878         * LyXAction.C: ditto
12879         * commandtags.h: ditto
12880
12881 2001-07-24  Juergen Vigna  <jug@sad.it>
12882
12883         * text.C (draw): honor the ignore_language.
12884
12885         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12886
12887 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12890         char inset.
12891
12892 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12893
12894         * lyxtext.h: remove unused (and unimplemented) methods
12895
12896 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12897
12898         * text.C (getVisibleRow): honor background color
12899
12900         * PainterBase.h:
12901         * Painter.h: remove default color argument for fillRectangle
12902
12903         * text.C (backgroundColor): new method
12904
12905 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * text.C (getVisibleRow): adjust
12908
12909         * font.[Ch] (rectText): new method, metrics
12910         (buttonText): new method, metrics
12911
12912         * PainterBase.[hC]: make rectText and buttonText always draw and take
12913         fewer paramteres.
12914
12915 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12916
12917         * ToolbarDefaults.C (read):
12918         * MenuBackend.C (read): allow escaping in all strings
12919
12920         * BufferView_pimpl.C (insertAndEditInset): new method.
12921         (Dispatch): use insertAndEditInset whenever appropriate.
12922
12923         * BufferView_pimpl.C (insertNote): removed
12924
12925         * BufferView_pimpl.C (smartQuote): new method, moved from
12926         BufferView; if an insetquote cannot be inserted, insert a '"'
12927         character instead.
12928
12929         * BufferView2.C: remove insertCorrectQuote();
12930
12931         * lyxfunc.C (getStatus): Add support for all remaingin
12932         inset-insert lfuns.
12933
12934         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12935
12936         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12937         command (necessary to pass " as parameter of self-insert.
12938
12939         * text.C (selectWordWhenUnderCursor):
12940         (selectWord): add word_location parameter
12941         (selectWordWhenUnderCursor): same + remove special code for word
12942         boundary.
12943         (selectNextWord): use kind() to guess type of insetspecialchar,
12944         not latex().
12945
12946         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12947         (insertErtContents): create ert insets as collapsed.
12948         (readInset): better compatibility code for Info inset.
12949
12950 2001-07-20  Juergen Vigna  <jug@sad.it>
12951
12952         * lyxfunc.C (dispatch): use always LyXFind now!
12953
12954         * text2.C (init): add a reinit flag so that the LyXText can be
12955         reinited instead of deleted and reallocated (used in InsetText).
12956
12957         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12958
12959         * text.C: ditto
12960
12961         * text2.C: ditto
12962
12963 2001-07-18  Juergen Vigna  <jug@sad.it>
12964
12965         * text.C (selectNextWord): handle insets inside inset by calling
12966         always the bv->text functions so that we can go up the_locking_inset!
12967
12968         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12969         in strange locations when inside an inset!
12970
12971         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12972         handling to include insets.
12973
12974         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12975
12976 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * LyXAction.C (init):
12979         * commandtags.h:
12980         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12981         LIGATURE_BREAK, since the name is so stupid.
12982
12983 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12986         InsetInfos.
12987
12988         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12989
12990         * sp_form.[Ch]: remove.
12991
12992         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12993
12994         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12995         InsetInfo.
12996
12997         * src/buffer.C (readInset): ditto.
12998
12999 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13000
13001         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13002         menuSeparator(), endOfSentenceDot(), ldots() and
13003         hyphenationPoint(), which are therefore removed.
13004         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13005
13006         * LyXAction.C (init):
13007         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13008
13009         * paragraph.C (getWord): removed.
13010
13011         * BufferView_pimpl.C (Dispatch): use last word or selection for
13012         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13013
13014         * lyx_main.C (queryUserLyXDir): do not ask before creating
13015         user_dir, except if it has been named explicitely.
13016
13017 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13020         a document of zero size.
13021
13022 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13025         approriately in the c-tor and in require().
13026         (getPackages): output the appropriate LaTeX for natbib support.
13027
13028         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13029         variables "use_natbib" and "use_numerical_citations" when reading the
13030         LyX file.
13031         (readInset): read the various natbib cite commands.
13032         (validate): white-space change.
13033
13034         * bufferparams.[Ch]: new variables "bool use_natbib" and
13035         "bool use_numerical_citations".
13036         (writeFile): output them in the LyX file.
13037
13038 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13039
13040         * lyxfunc.C (getStatus): add support for all the inset insertion
13041         commands.
13042
13043         * text2.C (insertInset):
13044         * paragraph.C (insetAllowed):
13045         * BufferView_pimpl.C (insertInset): update to take in account the
13046         renaming of insertInsetAllowed
13047
13048         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13049
13050         * text2.C (getInset): new method. returns inset at cursor position.
13051
13052         * BufferView_pimpl.C (Dispatch): changes because of this.
13053
13054         * LyXAction.C (init): rename open-stuff to inset-toggle.
13055
13056         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13057
13058         * text2.C (toggleInset): renamed from openStuff; use
13059         Inset::open().
13060
13061 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13062
13063         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13064
13065         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13066
13067 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13068
13069         * buffer.C (readLyXformat2): Add filename to the error dialog
13070
13071 2001-07-18  Juergen Vigna  <jug@sad.it>
13072
13073         * tabular.C (GetCellNumber): put an assert here instead of the check!
13074
13075 2001-07-17  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (toggleSelection): adapted too.
13078
13079         * text.C (selectNextWord): adapted for use with insets.
13080         (selectSelectedWord): ditto
13081
13082 2001-07-17  Juergen Vigna  <jug@sad.it>
13083
13084         * sp_spell.C (PSpell): fix initialitation order.
13085
13086 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13087
13088         * paragraph.C: spacing
13089
13090 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13091
13092         * sp_spell.C: repair language selection for pspell
13093
13094 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * lyxfunc.h: change more methods to begin with lower char.
13097
13098 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13101         for unknown layouts.
13102
13103 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * buffer.C (readLyXformat2): Generate an error dialog if there are
13106         unknown layouts.
13107
13108 2001-07-16  Juergen Vigna  <jug@sad.it>
13109
13110         * sp_spell.C: always compile ISpell part.
13111
13112         * lyxrc.C: added use_pspell entry and it's handling.
13113
13114 2001-07-13  Juergen Vigna  <jug@sad.it>
13115
13116         * sp_spell.C: removed double includes.
13117
13118 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13119
13120         Consistent use of Lsstream.h:
13121         * Lsstream.h: added using std::stringstream for consistencies sake.
13122
13123         * buffer.C: removed using std::stringstream
13124
13125         * lyxfont.C (stateText):
13126         * paragraph.C (asString):
13127         * text.C (selectNextWord, selectSelectedWord):
13128         * text2.C (setCounter):
13129         * vspace.C (asString, asLatexString):
13130         std::ostringstream -> ostringstream.
13131
13132 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13133
13134         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13135         * commandtags.h: add LFUN_HELP_ABOUTLYX
13136         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13137
13138 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13139
13140         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13141         cursorToggle()
13142         * lyx_gui_misc.C: remove spellchecker
13143         * lyxfunc.C: showSpellchecker
13144         * sp_base.h: added
13145         * sp_ispell.h: added
13146         * sp_pspell.h: added
13147         * sp_spell.C: added
13148         * sp_form.[Ch]: removed
13149         * spellchecker.[Ch]: removed
13150
13151 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13152
13153         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13154         is set.
13155         (simpleTeXSpecialChars): Simply print the input character without
13156         any special translation if pass_thru is set.
13157
13158         * layout.h: Added bool pass_thru to layout class for being able to
13159         implement pass through of a paragraph for Literate Programming.
13160
13161         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13162         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13163         * layout.C (Read): add "passthru" to list of layout tags and add
13164         code to set the pass_thru boolean when it is read.
13165
13166 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * trans_decl.h: remove allowed from KmodInfo
13169
13170         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13171         remove allowed code
13172         (Load): adjust
13173
13174         * paragraph_pimpl.C (erase): use boost::prior
13175
13176         * Painter.C (text): use data() instead of c_str() when length is
13177         also provided.
13178         * WorkArea.C (putClipboard): ditto
13179         * font.h (width): ditto
13180
13181         * BufferView2.C: use it-> instead of (*it). for iterators
13182         * texrow.C: ditto
13183         * paragraph_pimpl.C: ditto
13184         * paragraph.C: ditto
13185         * minibuffer.C: ditto
13186         * language.C: ditto
13187         * kbmap.C: ditto
13188         * encoding.C: ditto
13189         * counters.C: ditto
13190         * converter.C: ditto
13191         * chset.C: ditto
13192         * Variables.C: ditto
13193         * TextCache.C: ditto
13194         * MenuBackend.C: ditto
13195         * LyXAction.C: ditto
13196         * LColor.C: ditto
13197         * FloatList.C: ditto
13198         * DepTable.C: ditto
13199         * ColorHandler.C (LyXColorHandler): ditto
13200
13201 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13204
13205         * text2.C (openStuff): reintroduce this method (which had been
13206         nuked in NEW_INSETS frenzy).
13207
13208         * lyxfunc.C (Dispatch): when an action has not been handled, use
13209         its name in the error message, not its number.
13210
13211         * paragraph.C (inInset): change method name to begin with lowercase.
13212
13213         * undo_funcs.C:
13214         * text2.C: updates because of this.
13215
13216 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * ToolbarDefaults.C (add): add spaces in error message
13219
13220 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13223         (readLyXformat2): rename return_par to first_par, use lyxlex's
13224         pushToken and remove the manual push handling.
13225         (parseSingleLyXformat2Token): add another ert comp. variable:
13226         in_tabular, rename return_par to first_par. handle newlines better
13227
13228 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13231
13232 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * text2.C (getParFromID): removed
13235
13236         * buffer.C (getParFromID): new method moved form lyxtext.
13237         * BufferView2.C (insertErrors): adjust
13238         (setCursorFromRow): adjust
13239         * BufferView_pimpl.C (restorePosition): adjust
13240         * lyxfunc.C (Dispatch): adjust
13241         * undo_funcs.C (textUndo): adjust
13242         (textRedo): adjust
13243         (textHandleUndo): adjust
13244         (textHandleUndo): adjust
13245
13246 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * buffer.C: up' the LYX_FORMAT
13249
13250         * lyxfont.h: turn NO_LATEX on as default
13251
13252         * buffer.C (insertErtContents): new methods of tex style compability.
13253         (parseSingleLyXformat2Token): use it several places.
13254         * tabular.C (OldFormatRead): and here
13255
13256 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * text2.C: remove some commented code.
13259         reindent file.
13260
13261         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13262         * trans.C: changes because of the above.
13263
13264 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13265
13266         * text2.C (setCounter): Fix counters bug with bibliography layout.
13267
13268 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13271         own member functions
13272         (simpleTeXSpecialChars): ditto
13273
13274 2001-07-06  Juergen Vigna  <jug@sad.it>
13275
13276         * a lot of files: changed the access to LyXText::status and the
13277         call of undo-functions.
13278
13279         * undo.[Ch]: added a inset_id to the undo informations.
13280
13281         * undo_funcs.[Ch]: added and moved here all undo functions.
13282
13283         * lyxtext.h: give the status enum a weight, made status_ a private
13284         variable and made accessor functions for it, removed the whole bunch
13285         of undo-functions as they are now in their own file, make some
13286         functions publically available. Added function ownerParagraph with
13287         int parameter.
13288
13289         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13290         made InInset() a const function, added getParFromID() function.
13291
13292         * buffer.[Ch]: added const version for inset_iterator functions,
13293         added getInsetFromID() function.
13294
13295         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13296         changed undo functions for new version.
13297
13298 2001-07-05  Juergen Vigna  <jug@sad.it>
13299
13300         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13301         unknow mechanism does not call the proper constructor but only this
13302         one also if I request the other!?
13303
13304 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13307
13308         * text2.C (LyXText): use initialization lists.
13309
13310         * lyxtext.h (Selection): initialize set_ and mark_
13311         (init): remove method
13312
13313 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13314
13315         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13316
13317 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * screen.[Ch]: change method names to begin with lowercase
13320
13321         * BufferView_pimpl.C (updateScrollbar): simplify further and
13322         hopefully make it a bit faster.
13323
13324 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13327         calling directly xforms functions.
13328
13329         * Painter.C (Painter):
13330         * lyx_cb.C (MenuWrite):
13331         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13332         fl_display.
13333
13334         * lyx_gui.C: remove bogus guiruntime extern declaration.
13335
13336 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13339         in NEW_INSETS
13340         (redoDrawingOfParagraph): ditto
13341         (redoParagraphs): ditto
13342         (cutSelection): don't create a object for CutAndPaste use the
13343         static method directly
13344         (pasteSelection): ditto
13345
13346         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13347         LyXview (+ rename)
13348
13349 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * modifications to some other files because of this.
13352
13353         * Makefile.am (lyx_SOURCES): add XFormsView
13354
13355         * XFormsView.[Ch]: new files
13356
13357         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13358         the main window. Move the gui dependent stuff to XFormsView
13359
13360 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * tabular.C (GetCellInset): update cur_cell also in the row/col
13363         version of this function.
13364
13365         * lyxfunc.C: no need to include figure_form.h here.
13366
13367         * FontLoader.h:
13368         * lyxfunc.h:
13369         * lyxscreen.h:
13370         * text2.C:
13371         * lyxvc.C: no need to include forms.h here.
13372
13373 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13374
13375         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13376
13377         * lyxfunc.C (Dispatch):
13378         * Spacing.C (set):
13379         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13380         constructor argument.
13381
13382 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * paragraph.C (Paragraph): dont't clear, and just set layout.
13385         (makeSameLayout): use params's copy contructor.
13386
13387         * ParagraphParameters.[Ch] (makeSame): delete method
13388
13389 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13390
13391         * Variables.[Ch]: fix indentation, rename set to isSet
13392
13393 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * lyxfunc.C (Dispatch): fix typo
13396
13397 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13400         upper_bound.
13401
13402         * bufferlist.C: include assert.h for emergencyWrite().
13403
13404 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13407           give up at last (bug #425202) !
13408
13409 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * lyx_gui_misc.C:
13412         * sp_form.h:
13413         * sp_form.C:
13414         * spellchecker.h:
13415         * spellchecker.C: strip spellchecker options and bring up
13416           preferences tab instead
13417
13418 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13421         the istringstream constructor
13422
13423 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13424
13425         * paragraph.C (getLayout): fix return value
13426
13427         * paragraph.h: do not declare getLayout as inline.
13428
13429         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13430
13431 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13432
13433         * lyxcursor.h (operator<): new func
13434         (operator>): new func
13435         (operator>=): new func
13436         (operator<=): new func
13437
13438         * text.C (changeCase): use selection.start and selection.end
13439         (changeRegionCase): require from to be <= to. Require par to be a
13440         valid paragraph.
13441
13442         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13443
13444 2001-06-27  Juergen Vigna  <jug@sad.it>
13445
13446         * text.C (cursorLeftOneWord): changed to return the cursor and added
13447         overlay with BufferView * parameter which calls this one.
13448         (getWord): added
13449         (selectWord): use new getWord function.
13450         (changeCase): renamed from changeWordCase as and extended to work
13451         also on selections.
13452
13453         * lyxtext.h: added enum word_location
13454
13455         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13456         changeCase as this operates now also on selections.
13457
13458 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13459
13460         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13461
13462         * many files: send debug output to Debug::INFO instead of
13463         Debug::ANY.
13464
13465         * converter.C (View):
13466         (Convert):
13467         (Move): send debug output to Debug::FILES instead of console.
13468
13469 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13470
13471         * lyxfunc.C (getStatus): use func_status
13472
13473         * func_status.h: new header, describing the results of
13474         LyXFunc::getStatus;
13475
13476         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13477         LFUN_MATH_HALIGN.
13478
13479 2001-06-25  The LyX Project  <jug@sad.it>
13480
13481         * buffer.C (sgmlOpenTag):
13482         (sgmlCloseTag):
13483         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13484
13485 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * text2.C: remove some dead code
13488
13489         * tabular.C (GetCellInset): store the last cell checked (gotten)
13490
13491         * tabular.h: add the helper for the speedup
13492
13493         * lyxtext.h: remove some dead code
13494
13495 2001-06-26  The LyX Project  <Asger>
13496
13497         * paragraph.C: Change export to LaTeX of alignment to
13498         \begin{center} and family for better roundtrip work with reLyX.
13499
13500         * Tune the math drawing a bit.
13501
13502 2001-06-25  The LyX Project  <Asger>
13503
13504         * LColor.C (LColor): New color for math background. New color
13505         for buttons.
13506
13507 2001-06-25  The LyX Project  <jug@sad.it>
13508
13509         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13510
13511         * lyxfunc.C (Open):
13512         * bufferlist.C (newFile): do not restrict to files ending with
13513         .lyx
13514
13515         * BufferView_pimpl.C (MenuInsertLyXFile):
13516
13517 2001-06-24  The LyX Project  <jug@sad.it>
13518
13519         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13520         of compare_no_case
13521
13522 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * lyxtext.h: rename most methods to begin with a small char.
13525         Lots of changes because of this.
13526
13527         * paragraph.C (Paragraph): do not call fitToSize
13528         (erase): call Pimpl::erase
13529         (insertChar): call Pimpl::insertChar
13530         (insertInset): call Pipl::insertInset
13531         (breakParagraph): do not call fitToSize
13532         (breakParagraphConservative): do not call fitToSize
13533         (fitToSize): remove method
13534
13535         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13536
13537 2001-06-24  The LyX Project  <Asger>
13538
13539         * Fix Qt compilation^2
13540
13541 2001-06-24  The LyX Project  <jug@sad.it>
13542
13543         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13544         depthHook(getDepth()-1).
13545
13546         * paragraph.h:
13547         * ParagraphParameters.h:
13548         * ParameterStruct.h: change type of depth to unsigned int ==
13549         depth_type. Many adaptations to other files before of that.
13550
13551 2001-06-24  The LyX Project  <Asger>
13552
13553         * Fix Qt compilation.
13554
13555 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13556
13557         * paragraph.h: renamed several methods to begin with small letter.
13558         several changes to many parts of the code because of this.
13559
13560 2001-06-23  The LyX Project  <jug@sad.it>
13561
13562         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13563         rewritten to discard all double spaces when KeepEmpty is off
13564         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13565         to only handle newlines but not fiddle with spaces and friends.
13566
13567         * lyxfunc.C (MenuNew): when doing 'new from template', use
13568         template_path as default directory
13569
13570 2001-06-23  The LyX Project  <Asger>
13571
13572         * Clean-up of header file includes all over
13573         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13574
13575 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * paragraph.h: renamed from lyxparagraph.h
13578
13579 2001-06-23  Asger  <lyx@violet.home.sad.it>
13580
13581         * Buffer.h: Removed Buffer::resize
13582         * BufferList.h: Removed BufferList::resize
13583         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13584         the document lazily when we change the width, or the font settings.
13585
13586 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13589
13590 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * buffer.h: remove out of date comment
13593
13594 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * lyxscreen.h:
13597         * screen.C: fix "theoretical" GC leak
13598
13599 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13600
13601         * LaTeX.C (scanAuxFile):
13602         (deplog): remove trailing \r when reading stream (useful under
13603         win32)
13604
13605 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13606
13607         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13608         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13609         and BufferView::theLockingInset(Inset*), so should use them and not
13610         access bv_->text->the_locking_inset directly.
13611
13612         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13613
13614 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * Makefile.am:
13617         * tex-defs.h: remove old unused file
13618
13619 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * BufferView_pimpl.C: fix typo, remove minibuffer message
13622           when buffer has loaded
13623
13624 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * lyxfunc.C (Dispatch): use stringstream
13627         (MenuNew): use stringstream
13628         (Open): use stringstream
13629
13630         * importer.C (Import): use stringstream
13631
13632         * bufferview_funcs.C (CurrentState): use stringstream
13633
13634         * LaTeX.C (run): use stringstream
13635
13636         * BufferView_pimpl.C (savePosition): use stringstream
13637         (restorePosition): use stringstream
13638         (MenuInsertLyXFile): use stringstream
13639
13640 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13641
13642         * BufferView.C:
13643         * Bullet.C:
13644         * ColorHandler.C:
13645         * FontInfo.C:
13646         * FontLoader.C:
13647         * LColor.C:
13648         * LaTeXFeatures.C:
13649         * Painter.C:
13650         * gettext.C:
13651         * lyx_gui_misc.C:
13652         * lyxserver.C:
13653         * vspace.C: removed // -*- C++ -*- as first line.
13654
13655         * lyxfind.h:
13656         * version.h: added // -*- C++ -*- as first line.
13657
13658 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13661
13662         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13663         of string
13664
13665 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13668         of floats.
13669
13670 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * gettext.C: include LString.h even when --disable-nls is on.
13673
13674 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * converter.h (Get): changed argument type from int to
13677         FormatList::size_type to avoid unnecessary conversion.
13678
13679         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13680         before using it.
13681
13682 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * gettext.h: include LString.h even when --disable-nls is on.
13685
13686 2001-06-07  Juergen Vigna  <jug@sad.it>
13687
13688         * text.C (BreakAgain): subst spaces with tabs.
13689
13690         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13691         (resizeInsetsLyXText): set force on resizeLyXText.
13692
13693 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * gettext.h (gettext_init):
13696         (locale_init): use a real definition instead of a macro
13697
13698 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * Bufferview_pimpl.C:
13701         * LColor.h:
13702         * LColor.C: further lcolor tidies
13703
13704 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * BufferView_pimpl.C (updateScrollbar): simplify.
13707
13708         * BufferView2.C: don't include insets/insetinfo.h, change
13709         prototype for insertInset and call the Pimpl version. let
13710         updateInset call Pimpl version.
13711
13712         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13713         gotoInset to BufferView::Pimpl
13714
13715 2001-06-01  Juergen Vigna  <jug@sad.it>
13716
13717         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13718         inside a LockingInset (is the update needed at all?).
13719
13720 2001-05-31  Juergen Vigna  <jug@sad.it>
13721
13722         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13723         here not the old one otherwise how should we compare it afterwards
13724         if it's the same!
13725
13726 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * lyxfont.C:
13729         * tabular.C:
13730         * tabular-old.C:
13731         * FontInfo.C: bring C functions into global namespace when
13732         necessary
13733
13734 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * LString.h: make sure config.h has been loaded before LString.h.
13737
13738         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13739         (one for each char read by EatLine!).
13740
13741         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13742         variables.
13743
13744 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13747         to the same as the par we break from
13748
13749 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13752
13753         * MenuBackend.C (expand): also create menu entries for wide
13754         versions of the floats.
13755
13756         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13757
13758         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13759
13760         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13761         frontends/Makefile.am
13762
13763         * text2.C: adjust
13764         * text.C: adjust
13765
13766
13767         * tabular.C (getTokenValue): add std::
13768
13769         * tabular-old.C (getTokenValue): add std::
13770         (getTokenValue): ditto
13771         (getTokenValue): ditto
13772
13773         * screen.C (ToggleSelection): adjust
13774
13775         * lyxtext.h: put selection cursors inside a Selection struct.
13776
13777         * lyxfunc.C (moveCursorUpdate): adjust
13778
13779         * lyxfont.C (latexWriteStartChanges): add std::
13780
13781         * lyxfind.C: adjust
13782
13783         * font.h: delete with(char const *, LyXFont const &)
13784
13785         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13786
13787         * FontInfo.C (getFontname): add std::
13788
13789         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13790         (workAreaButtonPress): adjust
13791         (tripleClick): adjust
13792         (update): adjust
13793         (moveCursorUpdate): adjust
13794         (Dispatch): adjust
13795
13796         * BufferView2.C (gotoInset): adjust
13797
13798 2001-05-30  Juergen Vigna  <jug@sad.it>
13799
13800         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13801         to check pspell I add this as default as I now have new pspell
13802         libraries and they seem to use this.
13803
13804 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * text2.C (CutSelection): make the cursor valid before the call to
13807         ClearSelection.
13808
13809 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13812         relied on 0 terminated strings and other horrors. Bug found due to
13813         the new assert in lyxstring!
13814
13815         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13816         KP_ keys.
13817
13818 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13821         to latinkeys.bind.
13822
13823         * lyxfunc.C (processKeySym): change method of getting to the
13824         self-insert char.
13825
13826         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13827         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13828         * BufferView_pimpl.[Ch]: here as private methods.
13829
13830 2001-05-28  Juergen Vigna  <jug@sad.it>
13831
13832         * text.C (SetHeightOfRow): added the update() call again as it is
13833         needed to initialize inset dimensions!
13834
13835 2001-05-16  Juergen Vigna  <jug@sad.it>
13836
13837         * text2.C (SetCharFont): Add new function with BufferView * and
13838         bool toggleall parameters for setting insets internal fonts.
13839         (SetFont): Freeze the undo as we may change fonts in Insets and
13840         all this change should be inside only one Undo!
13841
13842         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13843         setting font's in insets as for them we have the SetFont function!
13844
13845 2001-05-15  Juergen Vigna  <jug@sad.it>
13846
13847         * text2.C (ClearSelection): to be sure we REALLY don't have any
13848         selection anymore!
13849
13850         * tabular.C (TeXCellPreamble): fixed the left border problem for
13851         multicolumn cells.
13852
13853 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13856         dependancy file
13857
13858 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13861         LFUN_BREAKPARAGRAPH.
13862
13863         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13864         help test to "internal only", similar for LFUN_INSERT_URL
13865
13866         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13867         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13868         auto_region_delete and deadkeys.
13869
13870 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * LColor.h:
13873         * LColor.C: remove some dead entries, tidy a little
13874
13875 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13876
13877         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13878         commented code.
13879         (Dispatch): implement LFUN_ESCAPE
13880
13881         * commandtags.h: add LFUN_ESCAPE
13882
13883         * LyXAction.C (init): add entry for LFUN_ESCAPE
13884
13885         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13886         Remove commented code.
13887         (insertNote): moved here
13888         (open_new_inset): moved here
13889
13890         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13891         BufferView_pimpl
13892
13893 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * kbmap.C (findbinding): clean it up and make it work correctly.
13896
13897         * lyx_main.C (init): do not pass argc and argv as parameters
13898
13899 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13900
13901         * buffer.C: fix path for OS/2 & Win32
13902
13903         * lyx_gui.C:
13904         * lyx_main:
13905         * lyx_main.C: Added os:: class.
13906
13907         * os2_defines.h: update
13908
13909 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13912         better by trying again with reduced state.
13913
13914 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * lyxrc.C (read): print error about invalid key sequence only when
13917         debugging (because not all latinX keysyms are known to some X
13918         servers)
13919
13920         * kbsequence.C (getiso): add a few std:: qualifiers
13921         (getiso): comment out extra return statement.
13922
13923 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13926         handling.
13927         (Dispatch): enhance the accent inset a bit. (not perfect)
13928
13929 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13932
13933 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * bufferlist.C (emergencyWrite): fix assert() call
13936
13937 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13938
13939         * text.C (InsertChar): Added trivial patch to only send the "you
13940         can not do multiple spaces this way" message once during a
13941         session.
13942
13943 2001-05-08  Baruch Even  <baruch@lyx.org>
13944
13945         * Makefile.am: Changed order of libraries to get LyX to link properly
13946         with the gnome frontend.
13947
13948 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13949
13950         * LaTeXFeatures.h: add a std:: qualifier
13951
13952 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * paragraph.C (String): use stringstream
13955
13956 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * paragraph.C (writeFile): remove footflag arg
13959
13960         * buffer.C (makeLaTeXFile): use stringstream
13961         (latexParagraphs): remove footnot gurba
13962
13963         * LaTeXFeatures.C (getPackages): use stringstream
13964         (getMacros): likewise
13965         (getTClassPreamble): likewise
13966         (getFloatDefinitions): new method
13967
13968         * paragraph.C (writeFile): reindent
13969         (Erase): reindent
13970
13971         * WorkArea.h: revert the xpos + etc changes.
13972
13973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13974
13975         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13976
13977         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13978         (pasteSelection): likewise
13979         * text2.C (CreateUndo): likewise
13980
13981 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * minibuffer.C (peek_event): temporarily reduce the functionality
13984         of the minibuffer (to allow args on lfuns)
13985
13986         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13987         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13988
13989         * buffer.C (readInset): add compability reading of old float
13990         lists, add reading of new style float list.
13991         (readInset): avoid reevaluation of inscmd.getCmdName()
13992         (getLists): reindent
13993
13994         * MenuBackend.C (MenuItem): implement parsing of
13995         md_floatlistinsert and md_floatinsert.
13996         (expand::LastFiles): move initalizaton of iterators out of loop,
13997         avoid reevaluation.
13998         (expand::Documents): introduce typdedef vector<string> Strings,
13999         and use it.
14000         (expand::ExportFormats): introduce typedef vector<Format const *>
14001         Formats, and use it.
14002         (expand): implement FloatListInsert and FloatInsert.
14003
14004         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14005         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14006         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14007
14008         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14009         handling.
14010         (Dispatch::LFUN_FLOAT_LIST): implement
14011
14012 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14013
14014         * LaTeX.C (run): Fix problem with --export code.
14015
14016 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14017
14018         * BufferView.[Ch] (workarea): removed.
14019         (getClipboard) new method; wrapper for workarea()->getClipboard()
14020
14021         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14022         bug.
14023
14024         * WorkArea.h (width, height, xpos, ypos): These methods all
14025         returned the dimensions of the work_area sub-area of WorkArea,
14026         resulting in a position error if the WorkArea were resized. Now
14027         return the dimensions of the entire WorkArea.
14028
14029         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14030
14031 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14032
14033         * LaTeX.C (deplog): correct the syntax of regex reg1
14034
14035 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * undo.C: remove !NEW_INSETS cruft
14038
14039 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14040
14041         * text2.C: remove !NEW_INSETS cruft
14042
14043         * text.C: remove !NEW_INSETS cruft
14044
14045         * tabular.C: remove !NEW_INSETS cruft
14046
14047         * spellchecker.C: remove !NEW_INSETS cruft
14048
14049         * lyxtext.h: remove !NEW_INSETS cruft
14050
14051         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14052
14053         * lyxfunc.C: remove !NEW_INSETS cruft
14054
14055         * lyxfind.C: remove !NEW_INSETS cruft
14056
14057         * lyx_cb.C: remove !NEW_INSETS cruft
14058
14059         * figureForm.C: remove  !NEW_INSETS cruft
14060
14061         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14062
14063         * buffer.[Ch]: remove !NEW_INSETS cruft
14064
14065         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14066
14067         * CutAndPaste.C: remove !NEW_INSETS cruft
14068
14069         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14070
14071         * BufferView2.C: remove !NEW_INSETS cruft
14072
14073         * BufferView.h: remove !NEW_INSETS cruft
14074
14075 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14076
14077         * Lsstream.h: include LString.h before the sstream headers to
14078         fix problem with gcc 2.95.3 and lyxstring
14079
14080 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * lyx_main.C: add using directives when needed for C functions
14083         declared in std:: namespace.
14084
14085 2001-04-27  Juergen Vigna  <jug@sad.it>
14086
14087         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14088         (SetHeightOfRow): comment out the update call should not be needed!
14089
14090 2001-04-13  Juergen Vigna  <jug@sad.it>
14091
14092         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14093         (LyXTabular): tried to minimize operator= operations (and realized
14094         hopfully Lars wish).
14095
14096 2001-04-27  Juergen Vigna  <jug@sad.it>
14097
14098         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14099
14100 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14103
14104         * buffer.C (readInset): hack to make listof algorithm work
14105
14106         * BufferView_pimpl.C: hack to make listof algorithm work
14107
14108 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * LyXAction.C: removed all !NEW_INSETS cruft
14111         (init): moved lfun_item in method
14112
14113         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14114
14115 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14116
14117         * BufferView2.C (theLockingInset): white space.
14118
14119 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * minibuffer.C: include <iostream>
14122
14123         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14124
14125         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14126
14127         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14128
14129         * text.[Ch] (TransposeChars): new method
14130
14131 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14132
14133         * call message directly through LyXView instead of through LyXFunc
14134         * BufferView2.C: adjust
14135         * BufferView_pimpl.C: adjust
14136         * FontLoader.C: adjust
14137         * buffer.C: adjust
14138         * bufferview_funcs.C: adjust
14139         * converter.C: adjust
14140         * figureForm.C: adjust
14141         * importer.C: adjust
14142         * lyx_cb.C: adjust
14143         * lyx_gui_misc.C: adjust
14144         * lyxfunc.C: adjust
14145         * lyxvc.C: adjust
14146         * text2.C: adjust
14147         + more files in subdirs
14148
14149         * lyxparagraph.h (size): move up int file
14150         (GetLayout): ditto
14151
14152         * adjust all uses of Assert to lyx::Assert.
14153
14154         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14155         lyxfunctional in namespace lyx
14156         * layout.C (hasLayout): ditto
14157         (GetLayout): ditto
14158         (GetLayout): ditto
14159         (delete_layout): ditto
14160         (NumberOfClass): ditto
14161         * converter.C (GetFormat): ditto
14162         (GetNumber): ditto
14163         (Add): ditto
14164         (Delete): ditto
14165         (SetViewer): ditto
14166         * bufferlist.C (getFileNames): ditto
14167         (emergencyWriteAll): ditto
14168         (exists): ditto
14169         (getBuffer): ditto
14170         * MenuBackend.C (hasSubmenu): ditto
14171         (hasMenu): ditto
14172         (getMenu): ditto
14173         * BufferView_pimpl.C (getInsetByCode): ditto
14174
14175 2001-04-18  Juergen Vigna  <jug@sad.it>
14176
14177         * vspace.C (asLatexString): fixed the 100% problem.
14178
14179 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * lyxfunc.C (Dispatch):
14182         * minibuffer.C:
14183         * minibuffer.h: add a few std:: qualifiers
14184
14185 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * minibuffer.[Ch]: reimplement so that commands is initiated and
14188         run from lyxfunc, simplified som handling, and made the completion
14189         and history code for complete. wip.
14190
14191         * lyxfunc.C (processKeySym): call message
14192         (miniDispatch): new temporary method
14193         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14194         (LFUN_MESSAGE): implement
14195         (LFUN_MESSAGE_PUSH): implement
14196         (LFUN_MESSAGE_POP): implement
14197         (initMiniBuffer): the initial/defualt minibuffer message.
14198
14199         * lyxfont.[Ch]: inline some more getters
14200
14201         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14202
14203         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14204
14205         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14206         (AutoSave): use LFUN_MESSAGE
14207         (Reconfigure): ditto
14208
14209         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14210
14211         * figureForm.C: use LFUN_MESSAGE
14212
14213         * converter.C (runLaTeX): use LFUN_MESSAGE
14214
14215         * bufferview_funcs.C: use LFUN_MESSAGE
14216         (Melt): ditto
14217         (changeDepth): ditto
14218
14219         * bufferparams.h: use boost::
14220
14221         * bufferlist.h: inherit privately from noncopyable
14222
14223         * bufferlist.C (loadLyXFile): remove some commented code.
14224
14225         * buffer.C (runChktex): use LFUN_MESSAGE
14226
14227         * ShareContainer.h: inherit privately from noncopyable
14228
14229         * ParagraphParameters.[hC] (depth): inline it.
14230
14231         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14232         methods.
14233         (message): new method
14234         (messagePush): ditto
14235         (messagePop): ditto
14236         (show): init minibuffer
14237         (showState): direct call
14238
14239         * LaTeX.[Ch]: inherit privately from noncopyable
14240         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14241         instead of WriteStatus.
14242
14243         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14244
14245         * BufferView_pimpl.C (buffer): don't init minibuffer
14246         (workAreaButtonPress): use LFUN_MESSAGE
14247         (workAreaButtonRelease): ditto
14248         (savePosition): ditto
14249         (restorePosition): ditto
14250         (MenuInsertLyXFile): ditto
14251         (workAreaExpose): don't init minibuffer
14252         (update): remove commented code, simplify
14253
14254         * BufferView2.C (openStuff): use LFUN_MESSAGE
14255         (toggleFloat): ditto
14256         (menuUndo): ditto
14257         (menuRedo): ditto
14258         (copyEnvironment): ditto
14259         (pasteEnvironment): ditto
14260         (copy): ditto
14261         (cut): ditto
14262         (paste): ditto
14263         (gotoInset): ditto
14264         (updateInset): remove some commented code
14265
14266         * lastfiles.h: inherit privately from noncopyable
14267         * layout.h: ditto
14268         * lyx_gui.h: ditto
14269         * lyx_main.h: ditto
14270         * lyxlex.h: ditto
14271         * lyxlex_pimpl.h: ditto
14272
14273         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14274         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14275         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14276
14277         * LyXAction.h: inherit privately from noncopyable, add methods
14278         func_begin, func_end, returning iterators to the func map.
14279
14280         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14281         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14282         (func_begin): new method
14283         (func_end): new method
14284
14285         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14286         and not)
14287         (copySelection): ditto
14288         (pasteSelection): ditto
14289
14290         * BufferView.C: whitespace change
14291         * BufferView.h: inherit privately from noncopyable
14292
14293 2001-04-16  Allan Rae  <rae@lyx.org>
14294
14295         * tabular-old.C (l_getline):
14296         * spellchecker.C (sc_check_word):
14297         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14298         an unrecognised preprocessor directive.  So ensure they're wrapped.
14299
14300 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * src/exporter.C (Export): Give an error message when path to file
14303         contains spaces.
14304
14305 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14306
14307         * LaTeX.C (deplog): Always check that foundfile exists.
14308
14309 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14310
14311         * lyx_main.h:
14312         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14313
14314 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * tabular.[Ch] (getLabelList): implement new method
14317
14318         * minibuffer.h: comment ouf setTiimer
14319
14320         * minibuffer.C (ExecutingCB): constify res
14321         (peek_event): constify s
14322         (Set): constify ntext
14323         (Init): constify nicename
14324
14325         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14326
14327         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14328         (savePosition): use two params to Minibuffer::Set
14329         (restorePosition): ditto
14330
14331 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * lyx_main.C: include language.h
14334
14335         * Makefile.am (lyx_main.o): add language.h
14336
14337 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * exporter.C:
14340         * paragraph.C:
14341         * screen.C:
14342         * tabular.C:
14343         * CutAndPaste.C: include gettext.h
14344
14345         * lyxfont.h: remove old hack with ON and OFF.
14346
14347         * lyxparagraph.h:
14348         * lyxfont.h: do not include language.h...
14349
14350         * BufferView2.C:
14351         * LaTeXFeatures.C:
14352         * Painter.C:
14353         * bufferview_funcs.C:
14354         * font.C:
14355         * lyxfont.C:
14356         * text.C:
14357         * text2.C:
14358         * trans_mgr.C:
14359         * paragraph.C: ... but do it here instead
14360
14361 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14364
14365         * tabular.C: small reformat
14366
14367         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14368         NEW_INSETS version
14369         (GetChar): ditto
14370         (BreakParagraph): ditto
14371         (SetOnlyLayout): ditto
14372         (SetLayout): ditto
14373
14374         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14375         with one arg less.
14376
14377         * lastfiles.C: removed most using decl, add std:: where needed
14378
14379         * buffer.C: ws changes
14380
14381         * MenuBackend.C (class compare_format): put into anon namespace
14382         (expand): constify label, names, action, action2
14383         (expand):
14384
14385         * text.C (SingleWidth): constify font
14386         (IsBoundary): constify rtl2
14387         (GetVisibleRow): constify ww
14388
14389         * LaTeX.C (deplog): constify logfile
14390
14391         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14392         start_x, end_x
14393         (workAreaExpose): constify widthChange, heightChange
14394
14395         * lyxrow.C (par): moved
14396         (height): moved
14397         (next): moved
14398         * lyxrow.h: as inlines here
14399
14400         * lyxfont.h (shape): moved from lyxfont.C
14401         (emph): moved from lyxfont.C
14402
14403         * lyxfont.C (LyXFont): use initialization list for all
14404         constructors
14405         (shape): move to lyxfont.h as inline
14406         (emph): move to lyxfont.h as inline
14407
14408
14409 2001-04-04  Juergen Vigna  <jug@sad.it>
14410
14411         * vspace.C: had to include stdio.h for use of sscanf
14412
14413 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * BufferView.h:
14416         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14417         independent of xforms.
14418
14419 2001-04-02  Juergen Vigna  <jug@sad.it>
14420
14421         * spellchecker.C: fixed namespace placing!
14422
14423 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14424
14425         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14426         the LyXParagraph * is 0.
14427
14428 2001-03-29  Juergen Vigna  <jug@sad.it>
14429
14430         * vspace.C: added support for %, c%, p%, l%.
14431         (stringFromUnit): added helper function.
14432         (asLatexString): changed to give right results for the %-values.
14433
14434         * buffer.C: convert the widthp in a width%.
14435
14436 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14437
14438         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14439         figureForm.[Ch].
14440
14441         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14442         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14443
14444         * lyx_cb.[Ch]: see above.
14445
14446         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14447         form1.[Ch].
14448
14449         * form1.[Ch]:
14450         * lyx.[Ch]: replaced by figure_form.[Ch].
14451
14452         * lyx_gui.C:
14453         * lyx_gui_misc.C:
14454         * lyxfunc.C: changed headers associated with above changes.
14455
14456 2001-03-27  Juergen Vigna  <jug@sad.it>
14457
14458         * BufferView_pimpl.C: set the temporary cursor right!
14459
14460 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14463
14464 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14465
14466         * LString.h: removed "using std::getline"!
14467
14468         * BufferView_pimpl.C (Dispatch): changes due to changes in
14469         InsetInclude::Params.
14470
14471         * buffer.C (tag_name): removed redundant break statements as they were
14472         producing lots of warnings with my compiler.
14473
14474 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * LString.h: add "using std::getline" when using the real <string>.
14477
14478 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14479
14480         * buffer.C: removed bitset usage.
14481         PAR_TAG moved to an anonymous name space.
14482         (tag_name): new funtion, also in the anonymous namespace.
14483         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14484         (makeDocBookFile): clean code. Completed transition from string arrays
14485         to string vectors.
14486         (SimpleDocBookOnePar): code clean.
14487
14488 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14489
14490         * tabular.C: add some comments.
14491
14492 2001-03-22  Juergen Vigna  <jug@sad.it>
14493
14494         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14495         compatibility read a bit and fixed bug with minipage in different
14496         depth.
14497
14498 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14499
14500         * buffer.C (pop_tag): removed.
14501         (push_tag): removed.
14502         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14503         array replaced with vector. Added support for CDATA sections.
14504         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14505         at any nest level.
14506         (makeDocBookFile): XML conformant declaration of CDATA section,
14507         fixed bug related to <emphasis> in the first paragraph char.
14508         (sgmlOpenTag): exclude empty tags.
14509         (sgmlCloseTag): ditto.
14510
14511         * buffer.h (pop_tag): removed.
14512         (push_tag): removed.
14513
14514 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14515
14516         * language.h (Languages): added size_type and size().
14517
14518 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14519
14520         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14521         response on compability reading of minipages. One probliem is that
14522         the old usage of minipages was «flertydig»
14523
14524         * several files here and in subdirs: don't use static at file
14525         scope use anon namespaces instead.
14526
14527 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14528
14529         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14530         LaTeX output. This is necessary for Literate document
14531         processing.
14532
14533 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14534
14535         * buffer.C: insert hfill when needed.
14536
14537         * tabular.C (l_getline): use string::erase, small whitespace change.
14538
14539         * BufferView_pimpl.C: try the anon namespace.
14540         * WorkArea.C: ditto
14541
14542 2001-03-16  Juergen Vigna  <jug@sad.it>
14543
14544         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14545         otherwise it won't open options-dialogs.
14546
14547         * buffer.C: honor pextraWidth(p) on converting minipages.
14548
14549         * tabular.C (l_getline): changed the functions to strip trailing \r.
14550
14551 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14552
14553         * BufferView_pimpl.C:
14554         * minibuffer..C: added "using SigC::slot" declaration.
14555
14556 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14557
14558         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14559
14560         * text2.C: ditto
14561
14562         * text.C: ditto
14563
14564         * paragraph.C: ditto
14565
14566         * lyxtext.h: NO_PEXTRA
14567
14568         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14569
14570         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14571         * ParameterStruct.h: ditto
14572         * ParagraphParameters.h: ditto
14573         * lyxparagraph.h: ditto
14574
14575 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14576
14577         * buffer.C: add compability for minipage alignment.
14578         (latexParagraphs): remove unwanted pextra check.
14579
14580         * several files: remove CXX_WORKING_NAMESPACES
14581
14582         * buffer.C (pop_tag): tie is in namespace boost
14583
14584         * BufferView.h: noncopyable is in namespace boost
14585         * lyxlex.h: ditto
14586         * lyx_main.h: ditto
14587         * lyx_gui.h: ditto
14588         * layout.h: ditto
14589         * lastfiles.h: ditto
14590         * bufferlist.h: ditto
14591         * ShareContainer.h: ditto
14592         * LyXView.h: ditto
14593         * LyXAction.h: ditto
14594         * LaTeX.h: ditto
14595
14596 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14597
14598         * Merging changes from BRANCH_MVC back into HEAD.
14599
14600         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14601
14602 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * BufferView_pimpl.C: change from intl.C
14605
14606         * combox.h:
14607         * combox.C:
14608         * Makefile.am: move combox.*
14609
14610         * form1.h:
14611         * form1.C:
14612         * lyx_gui.C:
14613         * intl.h:
14614         * intl.C: remove dialog (covered by prefs)
14615
14616 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14617
14618         * lyxfunc.C (Dispatch): removed redundant break statement.
14619
14620 2001-03-14  Juergen Vigna  <jug@sad.it>
14621
14622         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14623
14624 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14625
14626         * buffer.C: add hack to fix compability reading of minipages.
14627
14628 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * buffer.C (getLists): Cleanup.
14631
14632 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14633
14634         * lyxfont.C (update): don't honor toggleall on font size.
14635
14636 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14637
14638         * bmtable.c:
14639         * bmtable.h:
14640         * Makefile.am: moved to frontends/xforms/
14641
14642         * lyx_gui_misc.C:
14643         * lyxfunc.C:
14644         * BufferView_pimpl.C: changes for moved mathpanel
14645
14646 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14647
14648         * gettext.h: fix gettext_init() in --disable-nls
14649
14650 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14653
14654 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * lyx.C:
14657         * lyx.h: strip external form
14658
14659 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * BufferView_pimpl.C: add comment, destroySplash()
14662
14663 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * BufferView_pimpl.C:
14666         * LyXAction.C:
14667         * buffer.C:
14668         * commandtags.h:
14669         * lyxfunc.C: use re-worked insetinclude
14670
14671 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14672
14673         * buffer.C: add using std::stringstream.
14674
14675         * lyx_cb.C: readd using std::ios.
14676
14677         * buffer.C: add using std::map.
14678
14679         * BufferView_pimpl.C: add using std::vector.
14680
14681         * ShareContainer.h: add std:: to swap.
14682
14683         * buffer.h: add some typedefs
14684         * buffer.C (getLists): use them
14685         (getLists): renamed from getTocList.
14686         add a counter for the different float types and use it in the
14687         generated string.
14688         (getLists): use the same counter for the NEW_INSETS and the "non"
14689         NEW_INSETS
14690
14691         * lyx_cb.h: remove unused items, includes, using etc.
14692
14693         * ShareContainer.h: remove some commented code, add more comments
14694         and "documentation".
14695
14696 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14697
14698         * buffer.C (getTocList): make the list also when NEW_INSETS is
14699         defined.
14700
14701         * buffer.h: remove TocType
14702
14703         * buffer.C (getTocList): change to return a map<string,
14704         vector<TocItem> >, implement for dynamic number of list.
14705
14706         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14707         * text2.C (PasteSelection): adjust
14708         * CutAndPaste.C (pasteSelection): adjust
14709
14710         * FloatList.C (FloatList): update from the new_insets branch.
14711         * Floating.[Ch]: ditto
14712         * LaTeXFeatures.C: ditto
14713         * buffer.C: ditto
14714         * lyxlex_pimpl.C: ditto
14715
14716         * paragraph.C (Last): remove when NEW_INSETS is defined.
14717
14718         * other file: changes because of the above.
14719
14720 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14721
14722         * lyxparagraph.h: rename next to next_, previous to previous_,
14723         make them private for NEW_INSETS. Rename Next() to next(),
14724         Previous() to previous().
14725
14726         * other files: changes because of the above.
14727
14728 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * BufferView.h:
14731         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14732         problem.
14733
14734 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * main.C (main): pass lyx_localedir to gettext_init().
14737
14738         * gettext.h: remove locale_init and gettext_init macros
14739
14740         * gettext.C (locale_init): new function
14741         (gettext_init): new function
14742
14743         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14744         setlocale().
14745
14746 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14747
14748         * Moved credits to frontends:
14749         * credits.[Ch]: removed
14750         * credits_form.[Ch]: removed
14751         * lyx_gui_misc.C: remove credits stuff
14752         * Makefile.am:
14753
14754 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14755
14756         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14757
14758         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14759         unneeded destructor.
14760
14761         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14762         a standalone pointer again.
14763
14764         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14765
14766 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * Makefile.am:
14769         * filedlg.h:
14770         * filedlg.C:
14771         * LyXAction.C:
14772         * ToolbarDefaults.C:
14773         * bufferlist.C:
14774         * commandtags.h:
14775         * form1.C:
14776         * form1.h:
14777         * lyx_cb.C:
14778         * lyx_cb.h:
14779         * lyxfunc.h:
14780         * lyxfunc.C:
14781         * BufferView_pimpl.C: use new file dialog in GUII
14782
14783         * lyx_cb.h:
14784         * lyx_cb.C: remove LayoutsCB to Toolbar
14785
14786 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * ShareContainer.h (get): add std:: qualifier
14789
14790 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * ShareContainer.h: define a proper ShareContainer::value_type
14793         type (and use typename to please compaq cxx)
14794
14795 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14796
14797         * lyxparagraph.h: move serveral local vars to
14798         ParameterStruct/ParagraphParameters., use ShareContainer in
14799         FontTable., make vars in FontTable private and add getter and
14800         setter.
14801
14802         * paragraph.C: changes because of the above.
14803
14804         * lyxfont.h: remove copy constructor and copy assignment. (the
14805         default ones is ok), move number inside FontBits. move inlines to
14806         lyxfont.C
14807
14808         * lyxfont.C: add number to initializaton of statics, move several
14809         inlines here. constify several local vars. some whitespace
14810         cleanup. Dont hide outerscope variables.
14811
14812         * Spacing.h: add two new constructors to match the set methods.
14813
14814         * ShareContainer.h: new file, will perhaps be moved to support
14815
14816         * ParameterStruct.h: new file
14817
14818         * ParagraphParameters.h: new file
14819
14820         * ParagraphParameters.C: new file
14821
14822         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14823         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14824
14825         * BufferView_pimpl.C: ParagraphParameter changes.
14826         * buffer.C: Likewise.
14827         * bufferview_funcs.C: Likewise.
14828         * text.C: Likewise.
14829         * text2.C: Likewise.
14830
14831 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * lyxfind.C (LyXReplace): do not redefine default argument in
14834         implementation.
14835         (IsStringInText): ditto
14836         (SearchForward): ditto
14837         (SearchBackward): ditto
14838
14839 2001-03-06  Juergen Vigna  <jug@sad.it>
14840
14841         * lyxfind.C (IsStringInText): put parentes around expressions.
14842
14843 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14844
14845         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14846
14847 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14850
14851         * stl_string_fwd.h: add comment
14852
14853         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14854
14855         * tabular.h:
14856         * tabular.C: remove unused DocBook methods
14857
14858         * intl.C:
14859         * language.C:
14860         * paragraph.C:
14861         * buffer.C:
14862         killed DO_USE_DEFAULT_LANGUAGE
14863
14864 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * lyx_gui.C: do not include language.h.
14867
14868         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14869         arguments in function implementation.
14870
14871 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14872
14873         * BufferView_pimpl.C: add <ctime>
14874
14875 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14876
14877         * BufferView_pimpl.C: add using std::find_if
14878
14879 2001-02-27  José Matos  <jamatos@fep.up.pt>
14880
14881         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14882         by OnlyPath.
14883
14884 2001-02-11  José Matos  <jamatos@fep.up.pt>
14885
14886         * buffer.C (makeDocBookFile): command styles now have a parameter as
14887         "title" by default.
14888
14889 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14890
14891         * layout_forms.[Ch]: removed
14892         * lyx_cb.[Ch]: out character
14893         * lyx_gui.C: out character
14894         * lyx_gui_misc.C: out character
14895         * bufferview_funcs.C: : out character,
14896         added toggleall as parameter in ToggleAndShow
14897
14898 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14901
14902         * text2.C (SetCurrentFont): Disable number property at boundary.
14903
14904 2001-02-26  Juergen Vigna  <jug@sad.it>
14905
14906         * lyxfunc.C (getStatus): added a string argument override function so
14907         that this is correctly called from LyXFunc::Dispatch if it contains a
14908         do_not_use_argument which is used!
14909         (Dispatch): added check for "custom" export and call appropriate func.
14910
14911 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14912
14913         * lyxrc.C: Add language_command_local, language_use_babel and
14914         language_global_options.
14915
14916         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14917
14918         * buffer.C (makeLaTeXFile): Use language_use_babel and
14919         language_global_options.
14920
14921 2001-02-23  Juergen Vigna  <jug@sad.it>
14922
14923         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14924         which works with LyXText and putted it inside BufferView. Here now we
14925         only call for that part the BufferView::Dispatch() function.
14926
14927         * BufferView.C (Dispatch): added.
14928
14929         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14930         functions which needs to use a LyXText over from LyXFunc.
14931         (MenuInsertLyXFile): added
14932         (getInsetByCode): added
14933         (moveCursorUpdate): added
14934         (static TEXT): added
14935
14936 2001-02-22  Juergen Vigna  <jug@sad.it>
14937
14938         * BufferView_pimpl.C (update): call a status update to see if LyXText
14939         needs it.
14940
14941 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14942
14943         * vc-backend.C (revert): implement for CVS
14944         (getLog): implement for CVS
14945
14946 2001-02-20  Juergen Vigna  <jug@sad.it>
14947
14948         * text2.C (ClearSelection): added BufferView param for inset_owner call
14949
14950         * lyxfunc.C (TEXT): added this function and use it instead of
14951         directly owner->view()-text of getLyXText().
14952
14953 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14954
14955         * src/layout_forms.C: out preamble
14956         * src/layout_forms.h: out preamble
14957         * src/lyx_cb.C: out preamble
14958         * src/lyx_cb.h: out preamble
14959         * src/lyx_gui.C: out preamble
14960         * src/lyx_gui_misc.C: out preamble
14961         * src/lyxfunc.C: connect with guii preamble
14962
14963 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14964
14965         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14966
14967 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14970         whether to run bibtex.
14971
14972 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14975
14976 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14977
14978         * Makefile.am (lyx_SOURCES): removed bibforms.h
14979
14980         * vspace.h: doxygen
14981
14982         * text.C (GetVisibleRow): make several local vars const
14983
14984         * tabular.C: small cleanup.
14985
14986         * lyxserver.C (callback): use compare instead of strncmp
14987
14988         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14989         inlines to after class or to paragraph.C
14990
14991         * lyxfont.h: remove friend operator!=
14992
14993         * converter.h: move friend bool operator< to non friend and after
14994         class def.
14995
14996         * combox.h: small cleanup
14997
14998         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14999         to inlines after class def.
15000
15001         * buffer.C (pop_tag): use string operations instead of strcmp
15002
15003         * bmtable.c: doxygen, small cleanup
15004
15005         * LaTeX.h: remove friend operator==
15006
15007 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15008
15009         * screen.C:
15010         * lyxrc.[Ch]:
15011         * lyxfunc.C:
15012         * lyxfont.[Ch]:
15013         * lyx_cb.C:
15014         * intl.[Ch]:
15015         * commandtags.h:
15016         * buffer.C:
15017         * WorkArea.[Ch]:
15018         * LyXAction.C:
15019         * BufferView_pimpl.C:
15020         * BufferView.[Ch]: remove cruft
15021
15022 2001-02-14  Juergen Vigna  <jug@sad.it>
15023
15024         * lyxfunc.C: removed #if 0 unused code
15025
15026         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15027
15028         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15029
15030         * text2.C (SetSelection): added a BufferView * parameter
15031
15032 2001-02-13  Juergen Vigna  <jug@sad.it>
15033
15034         * lyxfunc.C (Dispatch): fixed protected blank problem.
15035         * BufferView2.C (protectedBlank): added LyxText * parameter.
15036
15037         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15038         (AppendColumn): same as above for column_info.
15039
15040         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15041         (moveCursorUpdate): use a LyXText param for support of InsetText.
15042
15043         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15044         (tripleClick): ditto
15045
15046         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15047
15048         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15049
15050         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15051
15052         * text2.C (SetSelection): set correct update status if inset_owner
15053         (ToggleFree): ditto
15054
15055 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15056
15057         * tabular.C: remove some commented code.
15058
15059 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * BufferView_pimpl.C: call hideSplash()
15062
15063         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15064
15065         * include_form.h:
15066         * bibforms.h: remove
15067
15068         * lyxfunc.C:
15069         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15070           add LFUN_CHILD_CREATE
15071
15072         * counters.h: fix tiny typo
15073
15074         * lyx_cb.C:
15075         * lyx.h:
15076         * lyx_gui.C:
15077         * lyx.C: move splash to frontends/xforms/
15078
15079         * lyx_gui_misc.C: move Include and Bibform to frontends
15080
15081         * lyxvc.h: clarify comment
15082
15083         * vspace.C: tiny housekeeping
15084
15085 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15086
15087         * text.C (PrepareToPrint): RTL Fix.
15088
15089         * paragraph.C (GetUChar): New method.
15090         (String):  Use GetUChar.
15091
15092         * buffer.C (asciiParagraph): Use GetUChar.
15093
15094 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15097
15098 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * buffer.h:
15101         * buffer.C: rename to getLogName(), handle
15102           build log / latex log nicely
15103
15104 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * MenuBackend.C:
15107         * MenuBackend.h: remove support for reference menuitem type.
15108
15109 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15110
15111         * BufferView_pimpl.C: housekeeping
15112         * BufferView_pimpl.h:
15113         * LyXView.h:
15114         * Makefile.am:
15115         * Timeout.C:
15116         * Timeout.h:
15117         * minibuffer.h: move Timeout GUI-I
15118
15119 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * lyxrc.C (read): Update converters data-structures.
15122
15123 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15124
15125         * LaTeX.h (operator!=): add operator != for Aux_Info
15126
15127 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15130
15131         * LaTeXLog.C: deleted, useful code moved to Buffer
15132
15133         * buffer.h:
15134         * buffer.C: new function getLatexLogName()
15135
15136         * lyx_gui_misc.C:
15137         * lyx_gui.C:
15138         * lyxvc.C:
15139         * lyxvc.h:
15140         * lyxfunc.C: use frontends for LaTeX and VC logs
15141
15142 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * LaTeX.h: yet another std:: that Allan forgot.
15145
15146         * Variables.C (set): renamed from isset(), because this clashes
15147         with some HP-UX macros (grr).
15148
15149 2001-02-06  Allan Rae  <rae@lyx.org>
15150
15151         * LaTeX.h: Another bug fix.  Missing std:: this time.
15152
15153 2001-02-04  Allan Rae  <rae@lyx.org>
15154
15155         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15156         floats problem. I've left it commented out because it's not quite
15157         correct.  It should also test that the current object is a table or
15158         figure inset.  But I haven't gotten around to figuring out how to do
15159         that.  I *think* it'll be something like: "table" == inset.type()
15160
15161         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15162         bool.
15163
15164 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15165
15166         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15167         all the citation/databases/styles in the auxilary file.
15168         (run): Rerun latex if there was a babel language error.
15169
15170 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15171
15172         * text.C (Backspace): Preserve the font when changing newline char
15173         with a space.
15174         (BreakParagraph): If the cursor is before a space, delete the space.
15175
15176         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15177
15178 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15179
15180         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15181         new argument (code).
15182         (ChangeCitationsIfUnique): New method.
15183
15184         * paragraph.C (GetPositionOfInset): Handle bibkey.
15185
15186 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * BufferView_pimpl.h: change type of Position::par_pos to
15189         LyXParagraph::size_type.
15190
15191 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15192
15193         * BufferView_pimpl.C (savePosition, restorePosition): Write
15194         messages to minibuffer.
15195
15196 2001-01-28  José Matos  <jamatos@fep.up.pt>
15197
15198         * buffer.C (makeDocBookFile): adds support for document language.
15199         A silly restriction on the name of LatexCommand types where removed.
15200         Added support for CDATA sections, allows to chars unescaped, used
15201         among others in code, to avoid escape < and >.
15202
15203 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15204
15205         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15206         saved positions instrad of a stack. Furthermore, a position is
15207         stored using paragraph id/paragraph position.
15208
15209         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15210         Remove LFUN_REF_BACK.
15211
15212 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15213
15214         * converter.C (dvipdfm_options): New method.
15215
15216 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * vspace.C (isValidLength): Fix for empty input string.
15219
15220 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * LyXAction.C (init): change description of LFUN_FIGURE to
15223         "Insert Graphics"
15224
15225 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * LaTeX.C: add using directive
15228
15229 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15230
15231         * MenuBackend.C (expand): Fix the sorting of the formats.
15232
15233 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15234
15235         * lyx_main.C: tiny error message fix
15236
15237 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15240         calling fl_initialize(). This fixes the problem with ',' as
15241         decimal separator in text files.
15242
15243 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * trans.C (process): Fix the keymap bug.
15246
15247 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15248
15249         * LaTeX.C (scanAuxFiles): New method. Provides support for
15250         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15251         (scanLogFile) Scan for "run BibTeX" messages.
15252
15253         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15254         OT1 font encoding. Also, load the aecompl package if the ae
15255         package is loaded.
15256
15257         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15258
15259 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * texrow.C (increasePos): turn two error messages into debug
15262         messages.
15263
15264 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * LaTeX.C (scanAux): Handle the \@input macro.
15267         (runBibTeX): Use scanAux().
15268
15269         * language.C (latex_options_): New field.
15270
15271         * LaTeXFeatures.C (getMacros): Add language macros.
15272
15273         * buffer.C (makeLaTeXFile): Small fix.
15274
15275 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15278
15279         * text2.C: add a using directive.
15280
15281 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15282
15283         * BufferView2.C:
15284         * lyx_gui_misc.h:
15285         * lyxfr1.C:
15286         * lyxfunc.C: kill LyXBell.
15287
15288 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * text.C (IsBoundary): Remove the error message
15291
15292         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15293
15294         * lyxrc.C (setDefaults): Correct initialization value for
15295         font_norm_type.
15296
15297 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15298
15299         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15300         gotoError().
15301
15302         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15303         and GotoNextNote().
15304
15305         * src/LyXAction.C: Added reference-next.
15306
15307         * text.C (InsertChar): Use contains instead of strchr.
15308
15309         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15310
15311 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15312
15313         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15314         alignment commands (when needed).
15315
15316         * text.C (InsertChar): Add ':' to number separator chars.