]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8db9bff1729588d06ccb6bcc1e3e6c4f4f59660a
[lyx.git] / src / ChangeLog
1
2 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * lyxfind.C: add a couple of inTexted() tests + other small fixes
5         * BufferView_pimpl.[Ch] (getStatus)
6         * BufferView.[Ch] (getStatus): add
7         * lyxfunc.C (getStatus): move lfuns handled in
8         BufferView::dispatch to te function above 
9         * Cursor.C (setSelection): set selection() = true
10
11 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
14
15 2004-03-31  Angus Leeming  <leeming@lyx.org>
16
17         * lyxfunc.C (dispatch): Fall through to the generic
18         Dialogs::show("preamble").
19
20 2004-03-31  Angus Leeming  <leeming@lyx.org>
21
22         * lyxfunc.C (dispatch): Fall through to the generic
23         Dialogs::show("spellchecker").
24
25 2004-03-31  Angus Leeming  <leeming@lyx.org>
26
27         * lyxfunc.C (getStatus, dispatch): changed invocation of the
28         preferences dialog.
29
30 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * BufferView.C
33         * cursor.[Ch]
34         * dociterator.[Ch]:
35         * insetiterator.[Ch]:
36         * lyxfind.C:
37         * lyxfunc.C:
38         * pariterator.[Ch]:
39         * text2.C:
40         * undo.[Ch]: s/DocumentIterator/DocIterator/g
41
42 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * BufferView.C (setCursor, putSelectionAt): call edit to open the
45         insets where we are putting the cursor.
46
47 2004-03-31  Angus Leeming  <leeming@lyx.org>
48
49         * lfuns.h:
50         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
51
52         * lyxrc.[Ch] (read, write): overloaded member functions taking
53         a std::[io]stream arguments.
54
55         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
56
57 2004-03-31  Angus Leeming  <leeming@lyx.org>
58
59         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
60         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
61
62         * lyxtextclass.C (load): if the text class couldn't be loaded, then
63         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
64
65 2004-03-31  Angus Leeming  <leeming@lyx.org>
66
67         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
68         the LFUN_ALL_INSETS_TOGGLE code.
69
70 2004-03-30  Angus Leeming  <leeming@lyx.org>
71
72         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
73         has died. Fall through to the generic Dialogs::show("document").
74         
75 2004-03-30  Angus Leeming  <leeming@lyx.org>
76
77         * lfuns.h:
78         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
79         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
80
81         * lyxfunc.C (getStatus, dispatch): define the actions for these
82         lfuns. Little more than a cut and pste job from ControlDocument.C
83
84         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
85
86 2004-03-30  Angus Leeming  <leeming@lyx.org>
87
88         * lfuns.h:
89         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
90         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
91
92         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
93         open/closed state of ollapsable insets. Usage:
94
95         all-inset-toggle <state> <name>, where
96         <state> == "open" || "closed" || "toggle" and
97         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
98
99         * lyxtext.h, text2.C (toggleInset): removed.
100
101         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
102         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
103         now passes LFUN_INSET_TOGGLE to the found inset.
104
105         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
106         is now invoked as "all-insets-toggle toggle branch".
107
108 2004-03-30  Angus Leeming  <leeming@lyx.org>
109
110         * dociterator.C:
111         * insetiterator.C:
112         * pariterator.[Ch]: added/corrected header blurb.
113
114 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * dociterator.[Ch]: add an inset_ member 
117         (backwardPos): implemented
118         (backwardPos, forwardPos): use inset_ when the stack is empty.
119         (doc_iterator_begin, doc_iterator_end): implemented
120         * pariterator.[Ch]: adjust, add begin, end
121         * insetiterator.[Ch]: adjust, add begin, end
122         * cursor.C: 
123         * document.C:
124         * BufferView.C:
125         * BufferView_pimpl.C:
126         * CutAndPaste.C: adjust
127
128 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * buffer.C: increment file format to 232.
131         * LaTeXFeatures.C: add bibtopic package.
132         * bufferparams.[Ch]: param \use_bibtopic.
133         
134         * lyxrc.[Ch]: add lyxrc bibtex_command
135         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
136         
137         * buffer.C: increment file format to 231.
138
139 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
140
141         * dociterator.C: implement forwardPar
142         * iterators.[Ch]: remove, replaced by
143         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
144         * BufferView.C:
145         * BufferView_pimpl.C:
146         * CutAndPaste.C:
147         * buffer.C:
148         * bufferview_funcs.C:
149         * cursor.C:
150         * lyxfind.C
151         * lyxfunc.C
152         * paragraph_funcs.C
153         * toc.C:  
154         * Makefile.am: adjust
155
156 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
157
158         * CutAndPaste.C (pasteSelection): fix 2 crashes
159         (eraseSelection): fix a crash
160         * paragraph_funcs.C: remove a warning
161
162 2004-03-28  Angus Leeming  <leeming@lyx.org>
163
164         * lfuns.h:
165         * LyXAction.C (init): new LFUN_PRINT.
166
167         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
168
169 2004-03-27  Angus Leeming  <leeming@lyx.org>
170
171         * lfuns.h:
172         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
173
174         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
175
176 2004-03-27  Angus Leeming  <leeming@lyx.org>
177
178         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
179         insetlist always contains non-null pointers to insets.
180
181 2004-03-26  Angus Leeming  <leeming@lyx.org>
182
183         * src/BufferView_pimpl.C:
184         * src/CutAndPaste.C:
185         * src/buffer.C:
186         * src/iterators.C:
187         * src/output_plaintext.C:
188         * src/outputparams.h:
189         * src/paragraph_funcs.C:
190         * src/rowpainter.C:
191         * src/text.C:
192         * src/text2.C:
193         * src/frontends/controllers/ControlErrorList.C:
194         * src/frontends/gtk/FileDialogPrivate.C:
195         * src/frontends/gtk/GPainter.C:
196         * src/frontends/gtk/GToolbar.C:
197         * src/frontends/qt2/QRef.C:
198         * src/mathed/math_scriptinset.C: squash compiler warnings.
199
200 2004-03-26  Angus Leeming  <leeming@lyx.org>
201
202         * ispell.C (LaunchIspell::start):
203         * lyx_cb.C (AutoSaveBuffer::start):
204         invoke run(DontWait) rather than runNonBlocking().
205
206 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
207
208         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
209
210 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * kbsequence.C (print): adjust
213
214         * kbmap.C (printKeySym): rename and change signature
215         (printKey): use LyXKeySym::print()
216
217 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * undo.C: add using std::advance to compile for stlport
220
221 2004-03-24  Angus Leeming  <leeming@lyx.org>
222
223         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
224         it leads to a crash when no buffer is present.
225
226 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227             Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * lyxfunc.C (dispatch): 
230         * bufferparams.C (readToken): use the new LColor::setColor 
231
232         * LColor.[Ch] (setColor): new version that takes two strings as
233         argument and creates a new color entry if necessary
234
235 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
236
237         * buffer.C (makeLaTeXFile): if the main latex file that is
238         processed is usually a subdocument of some master, then pretend
239         for a while that it is actually the master
240
241 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
242
243         * buffer.C (getLabelList):
244         (getBibkeyList): use getMasterBuffer()
245         (getMasterBuffer): new method. Returns the main document in the
246         case where one is using included documents.
247
248 2004-03-25  André Pönitz  <poenitz@gmx.net>
249
250         * Makefile.am:
251         * iterators.[Ch]:
252         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
253
254         * ParagraphList_fwd.h: change ParagraphList to a std::vector
255
256         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
257         text*.C over here. Rename namespace CutAndPaste to lyx::cap
258
259         * ParameterStruct.h: merge with ParagraphParameters
260
261         * lyxtext.h: remove LyXText::parOffset() and getPar()
262
263         * text3.C: Remove all 'manual' update calls. We do now one per user
264         interaction which is completely sufficient.
265
266         * Bidi.C:
267         * BufferView.[Ch]:
268         * BufferView_pimpl.C:
269         * FontIterator.[Ch]:
270         * MenuBackend.C:
271         * ParagraphParameters.[Ch]:
272         * buffer.C:
273         * buffer.h:
274         * bufferlist.C:
275         * cursor.[Ch]:
276         * cursor_slice.[Ch]:
277         * dociterator.[Ch]:
278         * errorlist.[Ch]:
279         * factory.C:
280         * lfuns.h:
281         * lyxfind.C:
282         * lyxfunc.C:
283         * output_docbook.[Ch]:
284         * output_latex.[Ch]:
285         * output_linuxdoc.[Ch]:
286         * output_plaintext.[Ch]:
287         * paragraph.[Ch]:
288         * paragraph_funcs.[Ch]:
289         * paragraph_pimpl.[Ch]:
290         * rowpainter.C:
291         * tabular.[Ch]:
292         * text.C:
293         * text2.C:
294         * toc.C:
295         * undo.[Ch]: adjust
296
297         * frontends/controllers/ControlDocument.C:
298         * frontends/controllers/ControlErrorList.C:
299         * frontends/controllers/ControlSpellchecker.C:
300         * insets/inset.C:
301         * insets/inset.h:
302         * insets/insetbase.h:
303         * insets/insetbibitem.C:
304         * insets/insetbox.C:
305         * insets/insetbranch.C:
306         * insets/insetcaption.C:
307         * insets/insetcharstyle.C:
308         * insets/insetcharstyle.h:
309         * insets/insetcollapsable.C:
310         * insets/insetcollapsable.h:
311         * insets/insetert.C:
312         * insets/insetfloat.C:
313         * insets/insetfoot.C:
314         * insets/insetmarginal.C:
315         * insets/insetnote.C:
316         * insets/insetoptarg.C:
317         * insets/insettabular.C:
318         * insets/insettext.C:
319         * insets/insettext.h:
320         * insets/insetwrap.C:
321         * mathed/math_mboxinset.C:
322         * mathed/math_nestinset.C:
323         * mathed/math_scriptinset.C:
324         * mathed/math_scriptinset.h:
325         * support/types.h:
326
327 2004-03-24  Angus Leeming  <leeming@lyx.org>
328
329         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
330         deal with any child processes that have finished but are waiting to
331         communicate this fact to the rest of LyX.
332
333 2004-03-24  Angus Leeming  <leeming@lyx.org>
334
335         64-bit compile fixes.
336
337         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
338         (c-tor): pass lyx::pos_types rather than ints.
339
340         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
341         lyx::pos_type.
342
343         * text.C (Delete): compile fix.
344         (getPar): ensure that function declaration is the same as that in
345         the header file.
346
347 2004-03-23  Angus Leeming  <leeming@lyx.org>
348
349         * ispell.C (LaunchIspell):
350         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
351         a boost::shred_ptr rather than a std::auto_ptr.
352
353 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * lyxfunc.C (getStatus): handle read-only buffers correctly;
356         handle LFUN_FILE_INSERT_*
357
358         * lyxrc.C (setDefaults, getDescription, output, read):
359         * lyxrc.h: remove ps_command
360
361 2004-03-22  Angus Leeming  <leeming@lyx.org>
362
363         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
364         Ensure that error_handler is processed once only and that all data
365         is saved before attempting to output any warning messages.
366
367         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
368
369 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
370
371         * tabular.C (TeXRow): crash fix (from Kayvan and André)
372
373 2004-03-19  André Pönitz  <poenitz@gmx.net>
374
375         * cursor.[Ch] (reset): take main text inset as argument
376
377         * BufferView: adjust
378         * BufferView_pimpl.C: adjust
379
380         * paragraph.[Ch]: fix completely broken operator=()
381
382 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * LColor.C (getFromLyXName): make sure that the color name is used
385         as lowercase.
386
387 2004-03-17  Angus Leeming  <leeming@lyx.org>
388
389         * lfuns.h:
390         * LyXAction.C (init): remove LFUN_FORKS_KILL.
391
392         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
393         dialog and to kill a forked process.
394
395 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
396
397         * text2.C (setCursorFromCoordinates): fix font problem
398
399 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
402         bogus "rebuild cursor" code
403
404 2004-03-11  André Pönitz  <poenitz@gmx.net>
405
406         * buffer.[Ch]: use InsetText instead of LyXText as container for
407         the main lyx text.
408
409         * dociterator.[Ch]: drop the BufferView * member which is not needed
410         anymore after the change to buffer.C
411
412         * paragraph_funcs.C:
413         * text.C:
414         * text2.C:
415         * BufferView.[Ch]:
416         * BufferView_pimpl.[Ch]:
417         * cursor.[Ch]:
418         * cursor_slice.[Ch]: adjust
419
420         * text3.C: fix bug in mathDispatch
421
422 2004-03-08  André Pönitz  <poenitz@gmx.net>
423
424         * undo.[Ch]: use 'StableDocumentIterator' as base for
425         the Undo struct.
426
427 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * LaTeXFeatures.C:
430         * bufferparams.[Ch]: add jurabib support and param.
431
432         * LaTeX.C: add FIXME/comment.
433
434 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
435
436         * buffer.C: increment file format to 230.
437
438 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * cursor.C (dispatch): avoid infinite loops
441
442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * rowpainter.C (paintSelection): fix x coordinates
445
446 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
447
448         * text.C (rowBreakPoint): fix breaking before displayed insets
449
450 2004-03-01  André Pönitz  <poenitz@gmx.net>
451
452         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
453
454         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
455
456         * Makefile.am:
457         * BufferView.C:
458         * BufferView_pimpl.C:
459         * buffer.C:
460         * lyxfind.C:
461         * lyxfunc.C:
462         * text.C:
463         * text2.C:
464         * text3.C: adjust
465
466 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * lyxtext.h:
469         * text.C:
470         * text2.C:
471         * rowpainter.C:
472         * BufferView_pimpl.C: rename textwidth -> maxwidth,
473         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
474
475 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
476
477         * Bidi.[Ch] (computeTables): const correctness
478         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
479         fill_hfill, fill_label_hfill and x from Row
480         * lyxtext.h: prepareToPrint returns a RowMetrics
481         * rowPainter.C: adjust
482         * text.C (prepareToPrint): use width, not textWidth. adjust
483         (redoParagraphInternal, cursorX): adjust
484         * text2.C (getColumnNearX): adjust
485         (init): put a default value to the top LyXText::width
486
487 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
490
491 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * lyxtext.h: add FontIterator class
494
495         * text.C (FontIterator, operator*, operator->, operator++): add
496         (rowBreakPoint, setRowWidth): adjust (fixing a
497         rebreaking bug)
498
499 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * BufferView_pimpl.C (workAreaDispatch): allow also
502         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
503
504 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * text.C (rowBreakPoint): fix a bug showing with very large insets
507
508 2004-02-25  André Pönitz  <poenitz@gmx.net>
509
510         * text3.C:
511         * cursor.[Ch]: move some mathed specific code to mathed
512
513 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
516         use_tempdir in preferences
517         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
518         tempfile creation
519         * lyx_main.C: ensure that tempdir is valid
520         * lyxlex.h: correct typo
521         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
522         * paragraph.[Ch] (isMultiLingual): make const
523         * cursor.[Ch] (openable): make const
524
525 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
526
527         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
528
529 2004-02-20  André Pönitz  <poenitz@gmx.net>
530
531         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
532
533         * cursor.[Ch]: prepare for localized getStatus()
534
535         * lyxtext.h:
536         * tabular.C:
537         * text.C:
538         * text2.C:
539         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
540
541 2004-02-20  André Pönitz  <poenitz@gmx.net>
542
543         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
544
545 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * text2.C (setCursorFromCoordinates): switch to absolute coords
548         (cursorUp): adjust
549         (cursorDown): adjust
550         * text3.C (dispatch): adjust
551
552 2004-02-16  André Pönitz  <poenitz@gmx.net>
553
554         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
555           insets/ChangeLog)
556
557         * cursor_slice.[Ch]: remove unneeded acessor function
558
559         * lyxtext.h: rename rtl() to isRTL()
560
561         * rowpainter.C:
562         * tabular.C:
563         * text.C:
564         * text2.C:
565         * text3.C: adjust
566
567 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * rowpainter.C (paintSelection): coord fix
570
571 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
572
573         * Spacing.C: compile fix
574
575 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * cursor.C (dispatch): restore current_ before returning
578
579 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
580
581         * text2.C (cursorUp, cursorDown): fix coords
582         (moveUp): fix crash
583
584 2004-02-12  André Pönitz  <poenitz@gmx.net>
585
586         * lyxtext.h:
587         * text.C:
588         * text2.C:
589         * text3.C: add LCursor & parameter to most cursor movement functions
590           remove usage of LyXText::cursorRow() and cursorPar()
591
592         * cursor.[Ch]: add textRow() needed members
593
594         * BufferView.C:
595         * BufferView_pimpl.C:
596         * paragraph.[Ch]:
597         * BufferView.C:
598         * BufferView_pimpl.C: adjust
599
600 2004-02-11  André Pönitz  <poenitz@gmx.net>
601
602         * lyxfunc.C:
603         * BufferView.[Ch]:
604         * BufferView_pimpl.C: shift undo/redo handling
605
606         * cursor.[Ch]: fix mathed crash
607
608         * lyxfind.C:
609         * lyxtext.h: move selectionAsText to LCursor
610
611         * output_latex.C:
612         * paragraph.C:
613         * text.C:
614         * text2.C:
615         * text3.C: adjust
616
617         * rowpainter.C: fix excessive drawing
618
619 2004-02-06  André Pönitz  <poenitz@gmx.net>
620
621         * BufferView.[Ch]:
622         * BufferView_pimpl.[Ch]:
623         * text3.C: move some text specific LFUN handling
624
625 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
626
627         * text3.C (checkInsetHit): adjust coords
628         * text2.C (getColumnNearX): adjust coords
629         (edit): adjust coords
630         * text.C (getRowNearY): add two asserts
631
632 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
633
634         * converter.C:
635         * format.C: add using std::distance to compile on gcc 2.95/stlport
636
637 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
638
639         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
640
641 2004-02-04  André Pönitz  <poenitz@gmx.net>
642
643         * BufferView.[Ch] (insertInset):
644         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
645
646         * text2.C:
647         * text3.C: adjust
648
649 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
650
651         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
652         on the default clause of the switch
653         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
654         wasn't catched by LCursor::dispatch
655
656 2004-02-03  André Pönitz  <poenitz@gmx.net>
657
658         * BufferView.C:
659         * cursor.[Ch]: some additional asserts
660
661         * undo.[Ch]: remove LyXText dependency in interface
662
663         * lyxfunc.C: adjust
664
665         * lyxtext.h (firstPar, lastPar): remove dead functions
666
667         * text.C:
668         * text2.C:
669         * text3.C:
670         * paragraph.[Ch]: adjust
671
672 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * lyxfind.C (find): fix argument order in call to ::find
675
676 2004-02-02  André Pönitz  <poenitz@gmx.net>
677
678         * cursor.[Ch]: remove direct access to anchor
679
680         * text.C: remove findText() hack
681
682 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * iterators.[Ch] (lockPath): remove in favour of...
685         * BufferView.[Ch] (setCursor): this addition
686         * BufferView.C (putSelectionAt): adjust
687         * undo.C (performUndoOrRedo): adjust
688         * lyxfunc.C (dispatch): adjust
689
690 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * iterators.C (lockPath): add a missing slice
693         * undo.C (performUndoOrRedo): remove redundant positioning code
694
695 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * vc-backend.C (scanMaster): ";" -> ';'
698
699 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
700
701         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
702         std::binary_function
703
704         * lyxtextclass.C (compare_name): rename to...
705         (LayoutNamesEqual): ...this
706
707         * lyxlex_pimpl.C (compare_tags): inherit from
708         std::binary_function, put back into anon namespace
709
710         * lyxfind.C (MatchString): inherig from std::binary_function
711         (findChange): use empty() istead of !size()
712
713         * format.C (FormatNamesEqual): new functor
714         (getFormat): use it
715         (getNumber): use it
716         (add): use it
717         (erase): use it
718         (setViewer): use it
719
720         * converter.C (compare_Converter): rename to...
721         (ConverterEqual): ...this, and fixup a bit.
722         (getConverter): use it, and make function const
723         (getNumber): use it, and make function const
724         (add): use it
725         (erase): use it:
726
727         * bufferlist.C: add using boost::bind
728
729         * MenuBackend.C (MenuNamesEqual): new functor
730         (hasMenu): use it, and make function const
731         (hasSubmenu): use nested bind to get rid of compare_memfun.
732
733 2004-01-30  André Pönitz  <poenitz@gmx.net>
734
735         * BufferView_pimpl.C:
736         * cursor.C:
737         * cursor.h:
738         * cursor_slice.[Ch]:
739         * lyxfunc.C:
740         * lyxtext.h:
741         * paragraph_funcs.C:
742         * paragraph_funcs.h:
743         * rowpainter.C:
744         * text.C:
745         * text2.C:
746         * text3.C: move some of the edit(x,y) handling to the insets
747         some coordinate changes.
748
749 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
750
751         * text.C: add using statements for std::advance and std::distance
752
753         * paragraph.C: add using statement for std::distance
754
755         * lyxfind.C: add using statement for std::advance
756
757         * cursor.C (region): remove std:: from swap
758         (openable): use nucleus in stead of operator->
759
760         * BufferView.C: add using statements for std::distance and std::swap
761
762 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
763
764         * iterators.C: Remove the pimple, move the needed structures to
765         the header file. Create accessor for the positions stack.
766         (asPosIterator): remove function
767
768         * PosIterator.C (PosIterator): move constructors to top of file
769         (PosIterator): reimplement the constructor taking a ParIterator in
770         terms of setFrom.
771         (setFrom): new function
772         (operator!=): inline it
773
774 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
775
776         * lyxfind.C (replaceAll): use std::advance
777
778         * iterators.h: inherit from std::iterator.
779
780         * PosIterator.C (advance, distance): remove
781         * PosIterator.h: interit from std::iterator.
782
783 2004-01-26  André Pönitz  <poenitz@gmx.net>
784
785         * BufferView.[Ch]:
786         * BufferView_pimpl.[Ch]:
787         * InsetList.[Ch]:
788         * PosIterator.[Ch]:
789         * buffer.h:
790         * bufferview_funcs.C:
791         * cursor.[Ch]:
792         * cursor_slice.h:
793         * factory.[Ch]:
794         * iterators.[Ch]:
795         * lyxfind.C:
796         * lyxfunc.C:
797         * lyxtext.h:
798         * output_docbook.C:
799         * output_latex.C:
800         * output_linuxdoc.C:
801         * output_plaintext.C:
802         * paragraph.[Ch]:
803         * paragraph_funcs.[Ch]:
804         * paragraph_pimpl.[Ch]:
805         * rowpainter.C:
806         * tabular.C:
807         * tabular.h:
808         * text.C:
809         * text2.C:
810         * text3.C: more IU:  dumps most of the rest of the mathcursor
811     implementation into cursor.[Ch]; "globalize" a bit of it.
812
813 2004-01-25  Angus Leeming  <leeming@lyx.org>
814
815         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
816
817 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
818
819         * LaTeXFeatures.h: add nice_ and nice() const
820         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
821
822 2004-01-20  André Pönitz  <poenitz@gmx.net>
823
824         * BufferView.[Ch]:
825         * BufferView_pimpl.C:
826         * PosIterator.C:
827         * bufferview_funcs.C:
828         * cursor.[Ch]:
829         * cursor_slice.[Ch]:
830         * factory.C:
831         * iterators.C:
832         * lyx_cb.C:
833         * lyxfind.C:
834         * lyxfunc.C:
835         * lyxtext.h:
836         * rowpainter.C:
837         * text.C:
838         * text2.C:
839         * text3.C:
840         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
841           LCursor and mathcursor parts to LCursor and InsetBase.
842
843 2004-01-15  André Pönitz  <poenitz@gmx.net>
844
845         * cursor_slice.[Ch]: add a few covienience functions
846
847         * funcrequest.[Ch]: remove BufferView * member
848
849         * BufferView_pimpl.C:
850         * cursor.C:
851         * factory.[Ch]:
852         * lyxfind.[Ch]:
853         * lyxfunc.C:
854         * lyxtext.h:
855         * text3.C:
856         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
857
858 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
861         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
862
863 2004-01-13  André Pönitz  <poenitz@gmx.net>
864
865         * textcursor.[Ch]:
866         * lyxtext.h: hide cursor and selection anchor behind accessor function
867
868         * BufferView.C:
869         * BufferView_pimpl.[Ch]:
870         * PosIterator.C:
871         * bufferview_funcs.C:
872         * cursor.h:
873         * lyxfind.C:
874         * lyxfunc.C:
875         * text.C:
876         * text2.C:
877         * text3.C:
878         * undo.C: adjust
879
880         * cursor.h:
881         * cursor_slice.[Ch]: some integer type changes for inset unification
882
883         * lyxcursor.[hC]: remove, it's CursorSlice now.
884
885         * Makefile.am:
886         * BufferView_pimpl.[Ch]:
887         * bufferview_funcs.C:
888         * cursor_slice.C:
889         * lyxtext.h:
890         * text.C:
891         * text2.C:
892         * text3.C:
893         * textcursor.[Ch]: adjust
894
895 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * text2.C (undoSpan): add and use
898         * text.C (breakParagraph): use undoSpan (fix bug 578)
899         * lyxtext.h: adjust
900
901 2004-01-08  Angus Leeming  <leeming@lyx.org>
902
903         * BufferView_pimpl.C (MenuInsertLyXFile):
904         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
905         * lyxfunc.C (menuNew, open, doImport):
906         FileFilterList change to the FileDialog open and save functions.
907
908 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
909
910         * ShareContainer.h: make isEqual and isUnique adaptable
911
912         * CutAndPaste.C: make resetOwnerAndChanges adaptable
913
914 2004-01-07  Angus Leeming  <leeming@lyx.org>
915
916         * LyXAction.C:
917         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
918
919         * BufferView_pimpl.C (dispatch): act on these LFUNs.
920
921         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
922         functions replacing find, replace and replaceAll.
923
924         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
925         LFUN_WORDFIND(FORWARD|BACKWARD).
926
927 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text.C (breakParagraph): remove an outdated #warning
930
931 2004-01-07  André Pönitz  <poenitz@gmx.net>
932
933         * lyxfind.C: somewhat clearer logic
934
935         * text.C: prevent crash in cursorX on unitialized row cache
936
937 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * lyxcursor.[Ch] (operator>): add
940         * textcursor.C (selStart, selEnd): use std::min and std::max
941
942 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
943
944         * Chktex.C: include boost/format.hpp
945
946 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
947
948         * InsetList.C: replace functor MathcIt with adaptable functor
949         InsetTablePosLess
950         (insetIterator): modify accordingly
951
952         * BranchList.h: move the BranchNamesEqual functor here from...
953         * BranchList.C: ... to here
954
955         * BranchList.C: new BranchListEqual fuctor, use it. Remove
956         SameName and match.
957         (add): replace a finding loop with std::find_if.
958
959 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
960
961         * output_docbook.C: moving LatexParam functionality into
962         .layout files
963
964 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
965
966         * buffer.C: increment format to 229.
967
968 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
969
970         * LaTeXFeatures.C:
971         * lyx_sty.[Ch]: remove minipageindent_def
972
973         * LyXAction.C:
974         * factory.C:
975         * lfuns.h:
976         * lyxfunc.C:
977         * text3.C: remove LFUN_INSET_MINIPAGE
978
979 2003-12-28  Angus Leeming  <leeming@lyx.org>
980
981         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
982
983 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
984
985         * text2.C (setParagraph): fix off-by-one crash
986
987 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
988
989         * output_docbook.C: header stuff for AGU
990
991 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
992
993         * text2.C (redoCursor): remove
994         * text.C:
995         * text3.C:
996         * BufferView_pimpl.C: remove calls to redoCursor and
997         setCursor(cursor.par(), cursor.pos()) all around
998
999 2003-12-15  Angus Leeming  <leeming@lyx.org>
1000
1001         * buffer.C: up the format to 228.
1002
1003 2003-12-15  André Pönitz  <poenitz@gmx.net>
1004
1005         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1006         slices
1007
1008         * Makefile.am:
1009
1010         * BufferView_pimpl.C:
1011         * cursor.[Ch]:
1012         * lyxcursor.[Ch]:
1013         * rowpainter.[Ch]:
1014         * lyxtext.h:
1015         * text.C:
1016         * text2.C:
1017         * text3.C: adjust
1018
1019 2003-12-15  Angus Leeming  <leeming@lyx.org>
1020
1021         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1022         than getFromGUIName to manipulate the color.
1023
1024 2003-12-14  Angus Leeming  <leeming@lyx.org>
1025
1026         * BranchList.[Ch]: minimize the API.
1027         (Branch::getBranch, getColor): now return a 'const &'.
1028         (Branch::setSelected) now returns a bool set to true if the
1029         selection status changes.
1030         (BranchList::clear, size, getColor, setColor, setSelected,
1031         allBranches, allSelected, separator): removed.
1032         (BranchList::find): new functions, returning the Branch with
1033         the given name.
1034         (BranchList::add, remove): return a bool indicating that
1035         the operation was successful.
1036
1037         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1038         new InsetBranch::isBranchSlected member function.
1039
1040         * LColor.[Ch]: mimimize the API.
1041         (fill): renamed as addColor and made private.
1042         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1043         versions of these functions taking a string arg have been removed.
1044
1045         * bufferparams.C (readToken):
1046         * lyxfunc.C (dispatch):
1047         * lyxrc.C (read): changes due to the altered BranchList and
1048         LColor APIs.
1049
1050         * factory.C (createInset, readInset): changes due to altered
1051         InsetBranch c-tor.
1052
1053 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1054
1055         * factory.C:
1056         * lyxfunc.C: remove insetminipage. "minipage-insert"
1057         now produces a frameless minipage box inset.
1058
1059 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1060
1061         * textcursor.[Ch] (selStart,selEnd): add new methods
1062         remove selection::start, end, use LyXCursor::operator<
1063         * lyxcursor.[Ch] (operator<): add
1064         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1065         * BufferView.[Ch] (unsetXSel): add
1066         * text2.C (clearSelection): use unsetXSel,adjust
1067         * text.C: adjust
1068         * text3.C: adjust
1069         * rowpainter.C: adjust
1070         * bufferview_funcs.C (put_selection_at): adjust
1071
1072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * BufferView_pimpl.C: small coord. correction
1075
1076 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1079         dragging over the splash screen.
1080
1081 2003-12-11  Angus Leeming  <leeming@lyx.org>
1082
1083         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1084         as it is now handled in LyXText::dispatch.
1085
1086         * text3.C (doInsertInset): remove a level of nesting.
1087
1088 2003-12-11  Angus Leeming  <leeming@lyx.org>
1089
1090         * factory.C (createInset): changes due to the changed interface to
1091         InsetCommandMailer::string2params.
1092
1093 2003-12-10  Angus Leeming  <leeming@lyx.org>
1094
1095         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1096         'dialog-show-new-inset <inset name>'
1097
1098 2003-12-10  Angus Leeming  <leeming@lyx.org>
1099
1100         * buffer.C: up the format to 227.
1101
1102         * factory.C: the box inset is now identified simply by 'Box'.
1103
1104 2003-12-10  Angus Leeming  <leeming@lyx.org>
1105
1106         * buffer.C: up the format to 226.
1107
1108         * factory.C: the note inset is now identified simply by 'Note'.
1109
1110 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1111
1112         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1113         when a pit is enough. Standarize a couple of loops.
1114
1115 2003-12-05  Angus Leeming  <leeming@lyx.org>
1116
1117         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1118         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1119         data to the re-worked "log" dialog.
1120
1121 2003-12-03  André Pönitz  <poenitz@gmx.net>
1122
1123         * PosIterator.C:
1124         * iterators.C:
1125         * lyxtext.h:
1126         * output_latex.C:
1127         * paragraph_funcs.C:
1128         * text.C:
1129         * text2.C: use Inset::getText instead of Inset::getParagraph
1130
1131 2003-12-03  André Pönitz  <poenitz@gmx.net>
1132
1133         * buffer.[Ch]:
1134         * lyxtext.h:
1135         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1136         InsetText::read() as LyXText::read()
1137
1138 2003-12-02  Angus Leeming  <leeming@lyx.org>
1139
1140         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1141         type. Add a comment in the implementation that the function uses
1142         the stream's bad() function rather than fail() as the std::streams
1143         would do.
1144
1145 2003-12-02  André Pönitz  <poenitz@gmx.net>
1146
1147         * lyxlex.[Ch]: make interface more similar to std::stream
1148
1149         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1150
1151 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1154
1155 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1156
1157         * vspace.[Ch]: remove VSpace::NONE
1158
1159 2003-12-01  André Pönitz  <poenitz@gmx.net>
1160
1161         * buffer.[Ch]:
1162         * lyxtext.h: move ParagraphList member to LyXText
1163         rename LyXText::ownerParagraphs to LyXText::paragraph
1164
1165         * CutAndPaste.C:
1166         * bufferview_funcs.C:
1167         * iterators.[Ch]:
1168         * lyx_cb.C:
1169         * paragraph.C:
1170         * rowpainter.C:
1171         * tabular.C:
1172         * text.C:
1173         * text2.C:
1174         * text3.C: adjust
1175
1176         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1177
1178         * undo.C: fix cursor positioning
1179
1180 2003-12-01  John Levon  <levon@movementarian.org>
1181
1182         * BufferView_pimpl.C: fix a crash on exit with
1183         a buffer open
1184
1185 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1186
1187         * BranchList.C: fix setSelected() method.
1188
1189 2003-11-28  André Pönitz  <poenitz@gmx.net>
1190
1191         * ParagraphParameters.[Ch]:
1192         * ParameterStruct.h: remove space above/below from Paragraph to
1193          InsetVSpace
1194
1195         * BufferView_pimpl.C:
1196         * factory.C:
1197         * lyxfunc.C:
1198         * lyxtext.h:
1199         * output_latex.C:
1200         * paragraph.C:
1201         * paragraph_funcs.C:
1202         * rowpainter.[Ch]:
1203         * text.C:
1204         * text2.C:
1205         * text3.C: adjust
1206
1207 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1208
1209         * factory.C: Syntax change for CharStyles
1210
1211 2003-11-28  André Pönitz  <poenitz@gmx.net>
1212
1213         * BufferView.[Ch]:
1214         * BufferView.[Ch]:
1215         * buffer.[Ch]:
1216         * buffer.[Ch]: move LyXText member
1217
1218 2003-11-28  André Pönitz  <poenitz@gmx.net>
1219
1220         * BufferView.[Ch]: make LyXText * text a private member
1221
1222         * BufferView_pimpl.C:
1223         * cursor.C:
1224         * iterators.C:
1225         * lyx_cb.C:
1226         * lyxfind.C:
1227         * lyxtext.h:
1228         * rowpainter.[Ch]:
1229         * text.C:
1230         * text2.C:
1231         * undo.C: adjust
1232
1233         * output_plaintext.C: cleanup
1234
1235 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1236
1237         * buffer.C:
1238         * lyxtextclass.[Ch]: parametrize SGML document header
1239
1240 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * converter.[Ch]:
1243         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1244         getFlavor().
1245
1246 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1247
1248         * text2.C (setFont): rework using PosIterator (no more recursive)
1249         (setCharFont): no more needed
1250         (setLayout): no more selection cursors fiddling (done by redoCursor)
1251         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1252         destroy remaining ones)
1253
1254 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1255
1256         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1257         * lyxtext.h: ditto
1258         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1259         selection cursors
1260         * lyxfunc.C: adjust
1261         * text3.C: adjust + re-allow multi par depth changes
1262         * textcursor.C: simplify a bit
1263
1264 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1265
1266         * src/buffer.C:
1267         * src/lyxlayout.C:
1268         * src/lyxlayout.h:
1269         * src/lyxtext.h:
1270         * src/output_docbook.C:
1271         * src/output_latex.C:
1272         * src/paragraph.C:
1273         * src/paragraph.h:
1274         * src/sgml.C:
1275         * src/sgml.h:
1276         * src/text2.C: Introducing a number of tags parametrizing various
1277         XML formats that we may want to support
1278
1279 2003-11-25  André Pönitz  <poenitz@gmx.net>
1280
1281         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1282
1283         * lyxtext.h (leftMargin/rightMargin): simplify interface
1284
1285         * rowpainter.C:
1286         * text.C:
1287         * text2.C:
1288         * text3.C: adjust
1289
1290 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1291
1292         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1293         master file to any child files. Fixes bug 546.
1294
1295 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1296
1297         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1298
1299 2003-11-24  André Pönitz  <poenitz@gmx.net>
1300
1301         * rowpainter.C: simplification
1302
1303         * text2.C (updateCounters): remove call to redoParagraph on
1304         changed labels as this is far too expensive.
1305
1306 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * converter.C (convert): fix a crash: this function gets
1309         called with buffer == 0 from importer code.
1310
1311 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1312
1313         * text3.C (cursorPrevious): make sure that we do not compare
1314         iterators form different containers.
1315         (cursorNext): ditto
1316
1317         * rowpainter.C (paintSelection): make sure that we do not compare
1318         iterators from different containers.
1319
1320         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1321         iterators from different ParagraphList containers.
1322         [NEXT] ditto
1323
1324         * text2.C (LyXText): change order of initialization slightly
1325         (operator=): new function. copy all variables except cache_par_
1326         (moveUp): make sure that we do not compare iterators from
1327         different ParagraphList constainers.
1328         (moveDown): ditto
1329
1330         * text.C (firstPar): new function
1331         (lastPar): new function
1332         (endPar): new function
1333
1334         * lyxtext.h: move things around and group public functions, public
1335         variables, private functions, private variables
1336
1337 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1338
1339         * factory.C: change call to InsetERT constructor to avoid
1340         additional invocation of method status
1341         * text2.C (toggleInset): remove redundant update() call
1342         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1343         instead of a Bufferview pointer
1344
1345 2003-11-21  André Pönitz  <poenitz@gmx.net>
1346
1347         * rowpainter.C: simplification
1348
1349 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * text3.C (dispatch): make possible to extend a word/row selection
1352         with the mouse
1353
1354 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1355
1356         * lyxtext.h: x0_,y0_ -> xo_,yo_
1357         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1358         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1359         * rowpainter.C (paintRows): paint full paragraphs
1360
1361 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1364         screen coordinates)
1365
1366 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1367
1368         * lyxtext.h: add x0_, y0_
1369         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1370         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1371
1372 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * text2.C (setCursorIntern): move the x_target update here *
1375         * text3.C: change some bv() to true/false in calls to
1376         cursorUp/Down/Right/Left
1377         * cursor.C: use helper function.
1378
1379 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1382         * paragraph_funcs.[Ch]: correct comment
1383         * rowpainter.C: do not paint selections away from bv->cursor()
1384         Fix a long standing selection painting bug.
1385         * text3.C: generalize mouse-selection code to LyXTexts other that
1386         top one
1387         * textcursor.C: do not use y coords if we can use par offsets
1388
1389 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1390
1391         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1392         cursor position after e.g. inset insert)
1393
1394 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * lyxfind.C (replace): adjust to locking removal + some
1397         code simplification
1398
1399 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1402         of the path
1403
1404 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * lyxlayout.[Ch]:
1407         * output_docbook.C: XML sanitation: new layout
1408         parameters InnerTag and CommandDepth
1409
1410 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1411
1412         * BufferView_pimpl.C:
1413         * factory.C:
1414         * text3.C: Fix the insertion and modification of button-style
1415         insets
1416
1417 2003-11-13  André Pönitz  <poenitz@gmx.net>
1418
1419         * InsetList.[Ch]: remove deleteLyXText
1420
1421         * paragraph.[Ch]: cache beginOfBody position
1422
1423         * Bidi.C:
1424         * text.C:
1425         * text2.C:
1426         * text3.C: remove superfluous update() calls
1427
1428         * vspace.C: cleanup
1429
1430 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1433         * BufferView.C (fitLockedInsetCursor): remove
1434         * cursor.[Ch] (getDim): add
1435         * text.C (getRowNearY): add faster version
1436         * text3.C: remove some update calls
1437
1438 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1439
1440         * LaTeXFeatures.C:
1441         * LyXAction.C:
1442         * MenuBackend.C:
1443         * MenuBackend.h:
1444         * dispatchresult.h:
1445         * factory.C:
1446         * lfuns.h:
1447         * lyxfunc.C:
1448         * lyxtextclass.C:
1449         * lyxtextclass.h:
1450         * text3.C: The Character Style /XML short element patch.
1451
1452 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1453
1454         * text3.C:
1455         * factory.C: Small step to solving 'unable to insert some insets'
1456         problem
1457
1458 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * cursor.[Ch] (updatePos): new function for updating the y
1461         position of the tip inset
1462         * bufferview_funcs.C (put_selection_at):
1463         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1464
1465 2003-11-11  André Pönitz  <poenitz@gmx.net>
1466
1467         * text.C: remove big comment on invalid Paragraph pointers as it is
1468         not valid anymore
1469
1470 2003-11-11  André Pönitz  <poenitz@gmx.net>
1471
1472         * text_funcs.[Ch]: merge with ...
1473
1474         * text.C: ... this
1475
1476         * lyxtext.h:
1477         * text2.C:
1478         * text3.C: adjust
1479
1480         * Makefile.am: remove text_funcs.[Ch]
1481
1482 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1483
1484         * cursor.C (getPos): return absolute cached y coord
1485
1486         * BufferView_pimpl.C (fitCursor): new simplistic code
1487         (workAreaDispatch): add a fitCursor call
1488
1489 2003-11-10  André Pönitz  <poenitz@gmx.net>
1490
1491         * BufferView.[Ch]:
1492         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1493
1494 2003-11-10  André Pönitz  <poenitz@gmx.net>
1495
1496         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1497         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1498         indicate that the cursor needs to leave an inset
1499
1500         * lyxtext.h: remove inset locking
1501
1502         * cursor.[Ch]: re-implement functionality provided by inset locking
1503
1504         * BufferView.[Ch]:
1505         * BufferView_pimpl.[Ch]:
1506         * LyXAction.C:
1507         * bufferview_funcs.[Ch]:
1508         * factory.C:
1509         * funcrequest.[Ch]:
1510         * iterators.C:
1511         * lyx_cb.C:
1512         * lyxfind.C:
1513         * lyxfunc.C:
1514         * text.C:
1515         * text2.C:
1516         * text3.C:
1517         * undo.C: adjust
1518
1519 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1520
1521         * PosIterator.[Ch]: replace the stack with a vector, add inset
1522         accesor
1523         * iterators.[C]: adjust
1524
1525 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1526
1527         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1528         replaced
1529         * paragraph_funcs.C (readParToken): put the correct id in the
1530         error item, not the id of the top paragraph
1531
1532 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1533
1534         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1535         * bufferview_funcs.C (put_selection_at): use the above
1536
1537 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1538
1539         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1540
1541 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * output_linuxdoc.h:
1544         * output_plaintext.h:
1545         * output.h:
1546         * output_docbook.h: add #include statements
1547
1548 2003-11-05  José Matos  <jamatos@lyx.org>
1549
1550         * output_docbook.[Ch]:
1551         * output_latex.[Ch]:
1552         * output_linuxdoc.[Ch]:
1553         * output_plaintext.[Ch]: New files for output formats.
1554         * output.[Ch]: New file for helper functions.
1555
1556         * buffer.[Ch]:
1557         * paragraph_funcs.[Ch]: output functions moved to new files.
1558
1559         * outputparams.h: rename of latexrunparams.h
1560
1561         * LaTeX.[Ch]:
1562         * buffer.[Ch]:
1563         * bufferlist.[Ch]:
1564         * converter.[Ch]:
1565         * exporter.C:
1566         * paragraph.[Ch]:
1567         * paragraph_funcs.[Ch]:
1568         * paragraph_pimpl.[Ch]:
1569         * tabular.[Ch]: rename ascii to plaintext
1570         and LatexRunParams to OutputParams.
1571
1572 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1573
1574         * iterators.[Ch] (text): require bv argument
1575         * undo.C (recordUndo):
1576         * lyxfunc.C (dispatch):
1577         * bufferview_funcs.C (put_selection_at): adjust
1578
1579 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1580
1581         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1582
1583 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1584
1585         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1586         nestings
1587
1588 2003-11-04  André Pönitz  <poenitz@gmx.net>
1589
1590         * cursor.[Ch]: restructure
1591
1592         * BufferView.[Ch]:
1593         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1594
1595         * iterators.[Ch] (asCursor): remove
1596
1597         * lfuns.h: remove LFUN_INSET_EDIT
1598
1599         * lyxfunc.C:
1600         * tabular.C:
1601         * text.C:
1602         * text2.C:
1603         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1604
1605 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1606
1607         * lyxfind.[Ch]: complete overhaul
1608         * BufferView_pimpl.C:
1609         * lyxfunc.C: adjust
1610         * paragraph.[Ch] (insert): add
1611
1612 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1613
1614         * BufferView.[Ch]:
1615         * lyxtext.h:
1616         * text.C: remove dead spellcheck code
1617
1618 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * dispatchresult.h: add a val setter
1621
1622         * cursor.C (dispatch): use a tempvar for data_[i]
1623
1624 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * PosIterator.[Ch]: compile fix
1627
1628 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * text.C (cursorPar): deactivate the cursor cache
1631
1632 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1635
1636 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * text3.C (dispatch): adjust for new DisptchResult semantics.
1639
1640         * lyxfunc.C (dispatch): handle update when return from
1641         Cursor::dispatch, adjust for new DispatchResult semantics.
1642
1643         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1644         DispatchResult(true) mean to not update. Add class functions for
1645         setting dispatched and update, as well as reading.
1646
1647         * cursor.C (dispatch): don't handle update here
1648
1649 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1652         * trans_mgr.C: adjust
1653
1654         * paragraph_funcs.C (readParToken): exception safety
1655
1656         * lyxvc.h: store the vcs pointer in a scoped_ptr
1657         * lyxvc.C: adjust
1658
1659         * lyxsocket.C (serverCallback): exception safety
1660
1661         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1662
1663         * ispell.C (clone): make it return a auto_ptr
1664
1665         * factory.C (createInset): exception safety
1666         (readInset): exception safety
1667
1668         * bufferlist.C (newBuffer): exception safety
1669
1670         * Thesaurus.C (Thesaurus): use initialization for aik_
1671
1672         * MenuBackend.C (expandToc): exception safety.
1673
1674 2003-11-03  André Pönitz  <poenitz@gmx.net>
1675
1676         * buffer.C:
1677         * buffer.h:
1678         * bufferview_funcs.C: remove getInsetFromId()
1679
1680         * lyxcursor.[Ch]:
1681         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1682
1683         * lyxfunc.C:
1684         * text2.C:
1685         * text3.C: adjust
1686
1687 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1688
1689         * PosIterator.C (distance, advance): new
1690         * bufferview_funcs.[Ch] (put_selection_at): new
1691         * iterators.[Ch] (lockPath): new
1692
1693 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1694
1695         * iterators.[Ch] (asPosIterator): added
1696         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1697         * PosIterator.[Ch]: added
1698
1699 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * text3.C:
1702         * lyxfunc.C:
1703         * cursor.C (dispatch):
1704         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1705
1706         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1707         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1708         contructor, add a class function dispatched. Remove operator>=
1709
1710 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1711
1712         * debug.C: only use the default constructor for debugstream
1713         (lyxerr) here.
1714
1715         * main.C (main): include debug.h and setup the lyxerr streambuf
1716         here.
1717
1718 2003-10-31  José Matos  <jamatos@lyx.org>
1719
1720         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1721
1722         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1723         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1724         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1725         * paragraph_pimpl.C (simpleTeXSpecialC):
1726         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1727         add LatexRunParams argument.
1728
1729         * exporter.C (Export): change call accordingly.
1730
1731         * latexrunparams.h: add new member to take care of the other backends.
1732 2003-10-30  José Matos  <jamatos@lyx.org>
1733
1734         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1735         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1736         factorise code for paragraph output.
1737         * buffer.[Ch]:
1738         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1739         move functions.
1740
1741 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * text3.C (dispatch):
1744         * lyxfunc.C (dispatch):
1745         * cursor.C (dispatch):
1746         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1747
1748         * dispatchresult.h: make the dispatch_result_t ctor explicit
1749
1750 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1751
1752         * sgml.[Ch]:
1753         * buffer.C: small refactoring of docbook stuff
1754
1755 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1756
1757         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1758         meaning.
1759
1760 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1761
1762         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1763         operator dispatch_result_t, and operators for == != and >=
1764
1765         * cursor.C (dispatch): adjust for operator dispatch_result_t
1766         removal. comment out call to update
1767
1768         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1769
1770 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1771
1772         * text3.C:
1773         * text2.C:
1774         * text.C:
1775         * lyxtext.h:
1776         * lyxfunc.C:
1777         * cursor.C:
1778         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1779         (dispatch):
1780
1781         * dispatchresult.h: new file, DispatchResult broken out of
1782         insets/insetbase.h
1783
1784         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1785
1786 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1787
1788         * text.C (rowBreakPoint): put a hack inside #if 0
1789
1790 2003-10-28  André Pönitz  <poenitz@gmx.net>
1791
1792         * lyxtext.h:
1793         * metricsinfo.C:
1794         * paragraph_funcs.C:
1795         * rowpainter.C:
1796         * text.C:
1797         * text2.C: general cleanup (lots of small stuff)
1798
1799 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1800
1801         * text2.C (cursorEnd): simple fix to the "end key goes to one
1802         before the end on last row" bug
1803
1804 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * text.C (backspace): fix the "zombie characters"
1807
1808 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1811
1812 2003-10-27  André Pönitz  <poenitz@gmx.net>
1813
1814         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1815
1816         * factory.C: handle new InsetPagebreak, InsetLine
1817
1818         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1819         and move handling into new InsetPagebreak, InsetLine
1820
1821         * BufferView_pimpl.C:
1822         * LyXAction.C:
1823         * ParagraphParameters.C:
1824         * ParameterStruct.h:
1825         * lyxfunc.C:
1826         * lyxtext.h:
1827         * paragraph.C:
1828         * paragraph.h:
1829         * paragraph_funcs.C:
1830         * paragraph_pimpl.C:
1831         * rowpainter.C:
1832         * text.C:
1833         * text2.C:
1834         * text3.C: adjust
1835
1836 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1837
1838         * text.C:
1839         * lyxrow_funcs.[Ch]:
1840         * Bidi.C:
1841         * paragraph.C:
1842         * lyxtext.h:
1843         * rowpainter.C:
1844         * text2.C:
1845         * text3.C: remove lastPos uses in favour of Row::endpos
1846
1847 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * undo.C (performUndoOrRedo): fix two crashes by setting a
1850         cursor by hand and reordering some calls. Use bv->lockInset instead
1851         of inset->edit because the latter loses cursor information
1852
1853 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1856         by Martin
1857         (rowBreakPoint): fix width. change point to point + 1.
1858         Add a missing check.
1859
1860 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1861
1862         * MenuBackend.C:
1863         * lyxfunc.C: fix (at least partly) the problems
1864         with the Nav menu and headers inside branch insets
1865         reported by Kayvan
1866
1867 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * paragraph.C (getChar): add strong asserts
1870
1871         * lyxrow_funcs.C (lastPos): remove hideous hack
1872
1873         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1874         (fill): adjust to that (avoid an infinite loop)
1875
1876 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1879
1880 2003-10-23  André Pönitz  <poenitz@gmx.net>
1881
1882         * RowList_fwd.h: change list<> to vector<> to gain speed
1883         after suggestion from Alfredo
1884
1885 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * lyxtext.h: move the bidi stuff from here...
1888         * text.C: and here
1889         * text2.C: and here
1890         * Bidi.[Ch]: ... to here
1891
1892 2003-10-23  André Pönitz  <poenitz@gmx.net>
1893
1894         * lyxtext.h:
1895         * text.C (isLastRow, isFirstRow): new functions
1896
1897         * paragraph.h: new width cache member
1898
1899         * rowpainter.C: replace RowList::iterator with Row & where possible
1900
1901         * lyxfunc.C: replace several view()->text with a single call
1902
1903         * toc.C: fix 'unused' warning
1904
1905 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1906
1907         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1908         when woring with stream::pos_type
1909         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1910
1911 2003-10-22  André Pönitz  <poenitz@gmx.net>
1912
1913         * lyxtext.h:
1914         * text.C: use Row & instead of RowList::iterator
1915
1916         * lyxrow.h: rename end() to endpos()
1917
1918         * rowpainter.C:
1919         * text.C:
1920         * text2.C: adjust
1921
1922 2003-10-22  Angus Leeming  <leeming@lyx.org>
1923
1924         * buffer.[Ch] (fully_loaded): new member function, returning true
1925         only when the file has been loaded fully.
1926         Used to prevent the premature generation of previews and by the
1927         citation inset to prevent computation of the natbib-style label.
1928
1929         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1930         templates are all set up.
1931
1932         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1933
1934 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * text.C: fixed an "oops" in the "is a bit silly"
1937         bug fix
1938
1939 2003-10-21  André Pönitz  <poenitz@gmx.net>
1940
1941         * FuncStatus.[Ch]: small stuff, whitespace
1942
1943         * lyxfont.[Ch]: operator<<() for debug reasons
1944
1945         * lyxfunc.C:
1946         * lyxrow_funcs.C:
1947         * lyxtext.h: whitespace, spelling
1948
1949         * paragraph.C: naming of variables
1950
1951         * text.C:
1952         * text2.C: small stuff
1953
1954
1955 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1956
1957         * text.C: (1) finish off the inset display() work;
1958         (2) fix the "is a bit silly" bug (accessing char
1959         past end of par).
1960
1961 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1962
1963         * text.C: re-introduce display() for insets, fixing the
1964         various bugs (stretch of line above, math inset
1965         positioning, ...)
1966
1967 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * text.C (rightMargin): remove spurious semicolon
1970
1971         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1972         1415)
1973
1974 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1975
1976         * text3.C: fix one crash due to wrong cursor def
1977
1978 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * vc-backend.C (scanMaster): make the regex static
1981
1982         * LaTeX.C (scanAuxFile): make the regexs static
1983
1984         * text3.C (doInsertInset, dispatch, dispatch):
1985         * text2.C (cursorUp, cursorDown):
1986         * text.C (selectNextWordToSpellcheck):
1987         * BufferView_pimpl.C (dispatch):
1988         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1989
1990 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1991
1992         * lyxsocket.C: include <cerrno>
1993
1994 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1995
1996         * lyxfunc.C (dispatch): remove textcache stuff
1997
1998         * bufferlist.C (release): remove textcache stuff
1999         (closeAll): ditto
2000
2001         * TextCache.C: delete file
2002         * TextCache.h: delete file
2003
2004         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2005
2006         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2007         delete of the bv_->text.
2008         (resizeCurrentBuffer): remove texcache stuff
2009         (workAreaResize): ditto
2010
2011 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2014         action.
2015
2016 2003-10-16  André Pönitz  <poenitz@gmx.net>
2017
2018         * lyxrow.[Ch]:
2019         * paragraph.h:
2020         * rowpainter.C:
2021         * text.C:
2022         * text2.C:
2023         * text3.C: speed up by storing y positions per paragraph plus per-row
2024         offset instead of having a 'full' y position in the row.
2025
2026 2003-10-15  André Pönitz  <poenitz@gmx.net>
2027
2028         * iterators.[Ch]:
2029         * iterators.[Ch]:
2030         * undo.[Ch]: make undo aware of inner insets
2031
2032 2003-10-14  Angus Leeming  <leeming@lyx.org>
2033
2034         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2035         static member functions LyX::ref() and LyX::cref.
2036         (lastfiles): new accessor functions for the new lastfiles_ member var.
2037         (addLyXView, views_): add a new LyXView to the list of views_.
2038         (updateInset): loop over all LyXViews to call their own updateInset
2039         member function, returning a pointer to the Buffer owning the inset.
2040
2041         * BufferView_pimpl.C (loadLyXFile):
2042         * MenuBackend.C (expandLastfiles):
2043         * bufferlist.C (MenuWrite, QuitLyX):
2044         lastfiles is no longer a global variable.
2045         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2046
2047         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2048         static function. Access through LyX::cref().emergencyCleanup().
2049
2050 2003-10-14  André Pönitz  <poenitz@gmx.net>
2051
2052         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2053
2054         * undo.[Ch]: restoring part of 'undo in insets'
2055
2056         * Makefile.am:
2057         * undo_funcs.[Ch]: merge with undo.[Ch]
2058
2059         * tabular.C: small cleansing stuff
2060
2061 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * paragraph_funcs.C (readParToken): report unknown insets as error
2064         boxes. Use the outer paragraph as location (also for unknown
2065         tokens).
2066
2067         * factory.C (readInset): do not abort on reading an unknown inset.
2068         Eat it and return 0.
2069
2070 2003-10-13  Angus Leeming  <leeming@lyx.org>
2071
2072         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2073
2074         * lyxrc.C: displayTranslator is now a function,
2075         declared in GraphicsTypes.h.
2076
2077 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2078
2079         * format.C: new placeholder $$a to pass the socket address.
2080
2081         * bufferlist.[Ch]: new function getBufferFromTmp.
2082
2083         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2084           files in the temporary dir.
2085
2086 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2087
2088         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2089
2090         * Makefile.am: add lyxsocket.[Ch].
2091
2092         * lyx_main.C (error_handler): handle SIGPIPE.
2093
2094 2003-10-13  André Pönitz  <poenitz@gmx.net>
2095
2096         * BufferView_pimpl.C:
2097         * lyxtext.h:
2098         * text.C:
2099         * text2.C:
2100         * text3.C:
2101         * undo_funcs.[Ch]: use paroffset_type instead of
2102           ParagraphList::iterators to prevent multiple conversion
2103           (and get a more robust interface)
2104
2105 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2106
2107         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2108         * lyxtext.h: ditto
2109         * text3.C (dispatch): ditto
2110
2111 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2114         move the onlyfile, use onlyfile instead of foundfile in a couple
2115         of places.
2116
2117         * DepTable.C (update): flush the error stream a bit more
2118
2119 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2120
2121         * lyxserver.C (callback): adjust
2122
2123         * lyxfunc.C (getStatus): add a missing brace in commented code
2124         (ensureBufferClean): reindent
2125         (dispatch): delete version taking a string
2126
2127 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * LaTeX.C (deplog): move found file handlig from here...
2130         (handleFoundFile): .. to new function here.
2131         (deplog): make sure to discover several files mentioned on the
2132         same log line.
2133
2134 2003-10-10  André Pönitz  <poenitz@gmx.net>
2135
2136         * lyxfunc.C:
2137         * lyxtext.h:
2138         * tabular.C:
2139         * text.C:
2140         * text2.C:
2141         * text3.C: fix some of the tabular crashes
2142
2143 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2144
2145         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2146
2147         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2148
2149 2003-10-09  André Pönitz  <poenitz@gmx.net>
2150
2151         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2152
2153         * BufferView.C:
2154         * BufferView_pimpl.C:
2155         * bufferview_funcs.C:
2156         * lyx_cb.C:
2157         * lyxcursor.C:
2158         * lyxfind.C:
2159         * lyxfunc.C:
2160         * lyxtext.h:
2161         * text.C:
2162         * text2.C:
2163         * text3.C:
2164         * text_funcs.[Ch]:
2165         * textcursor.[Ch]:
2166         * undo_funcs.C: adjust
2167
2168 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * text2.C (incrementItemDepth): new function, use a backtracking
2171         algorithm to discover the correct item depth.
2172         (resetEnumCounterIfNeeded): new function, use a backtracking
2173         algorithm to discover if counter reset is needed.
2174         (setCounter): use them. Simplify a bit. Add different labels for
2175         different item depths for itemize.
2176
2177         * paragraph.C (Paragraph): remove initialization of enumdepth
2178         (operator=): ditto
2179
2180         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2181         enumerate and itemize. Change the type of itemdepth to signed char.
2182
2183 2003-10-08  André Pönitz  <poenitz@gmx.net>
2184
2185         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2186           thing assignable.
2187         * text.C:
2188         * text2.C: adjust
2189
2190         * tabular.[Ch]: fix crash after 'row-insert'
2191
2192 2003-10-08  Angus Leeming  <leeming@lyx.org>
2193
2194         Fix doxygen warnings.
2195
2196         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2197         Remove CutAndPaste:: prefix from header file declaration.
2198
2199         * LColor.h (fill): remove LColor:: prefix from declaration.
2200
2201         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2202         use lyx::depth_type rather than Paragraph::depth_type so that
2203         header file and .C file match.
2204
2205         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2206
2207         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2208         * aspell.C: \file aspell_local.C -> \file aspell.C
2209         * gettext.C: \file gettext.C -> \file src/gettext.C
2210         * gettext.h: \file gettext.h -> \file src/gettext.h
2211         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2212         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2213         * text.C: \file text.C -> \file src/text.C
2214
2215         * toc.C: move comment so that doxygen is not confused.
2216
2217 2003-10-07  Angus Leeming  <leeming@lyx.org>
2218
2219         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2220
2221 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2222
2223         * aspell.C:
2224         * aspell_local.h: add forgotten std::string's.
2225
2226 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2227
2228         * LaTeXFeatures.C:
2229         * LyXAction.C:
2230         * factory.C:
2231         * lfuns.h:
2232         * lyxfunc.C:
2233         * text3.C: The Box patch. Fancybox support, minipage, parbox
2234
2235 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2236
2237         * CutAndPaste.h:
2238         * DepTable.h:
2239         * FloatList.h:
2240         * LaTeXFeatures.h:
2241         * ParagraphParameters.h:
2242         * TextCache.h:
2243         * Thesaurus.h:
2244         * bufferlist.h:
2245         * exporter.h:
2246         * importer.h:
2247         * lastfiles.h:
2248         * lyxfind.h:
2249         * lyxfont.h:
2250         * lyxlex.h:
2251         * lyxtextclasslist.h:
2252         * messages.h:
2253         * paragraph.h:
2254         * paragraph_pimpl.C:
2255         * textcursor.h: add <string> and other small fixes to make Lars'
2256         std::string patch compile with STLport.
2257
2258 2003-10-06  Angus Leeming  <leeming@lyx.org>
2259
2260         * LColor.h: Add missing #include <string>.
2261
2262 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * All most all file in all subdirs: Make <string> be the prefered
2265         way of getting to std::string, add using declarations.
2266
2267 2003-10-06  André Pönitz  <poenitz@gmx.net>
2268
2269         * metricsinfo.C: initialize LyXFont before changing attribute.
2270         (fixes the 'math in \emph is upright' bug)
2271
2272 2003-10-06  André Pönitz  <poenitz@gmx.net>
2273
2274         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2275
2276 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * graph.C:
2279         * paragraph_pimpl.C: Small fixes to build using STLport
2280
2281 2003-10-02  André Pönitz  <poenitz@gmx.net>
2282
2283         * lyxfunc.C:
2284         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2285
2286 2003-10-01  André Pönitz  <poenitz@gmx.net>
2287
2288         * factory.C: assert early
2289
2290 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * lyx_main.C: remove the global debug object
2293
2294         * debug.h: adjust for new debugstream
2295
2296         * debug.C: adjust for new debugstream and keep the global debug
2297         object here.
2298
2299 2003-09-22  Angus Leeming  <leeming@lyx.org>
2300
2301         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2302         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2303         an incomplete class LyXFont.
2304
2305 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * factory.C: bug fix in branches
2308
2309 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * lyxfunc.C (processKeySym): adjust
2312         (dispatch): adjust
2313         (dispatch): change arg name from ev to func, adjust
2314         (sendDispatchMessage): ditto
2315
2316         * lyx_main.C (defaultKeyBindings): adjust keybindings
2317         (deadKeyBindings): ditto
2318
2319         * kbsequence.C (addkey): return a FuncRequest
2320
2321         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2322
2323         * kbmap.C (bind): take a FuncRequest as arg, adjust
2324         (read): adjust
2325         (lookup): adjust
2326         (defkey): change to take a FuncRequest as arg, adjust
2327         (findbinding): take a FuncRequest as arg, adjust.
2328
2329         * funcrequest.h (operator=): added
2330
2331         * funcrequest.C (FuncRequest): default kb_action changed from
2332         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2333
2334         * buffer.C (dispatch): simplify
2335         (dispatch): adjust to take a FuncRequest as arg, adjust
2336
2337         * boost.C (assertion_failed): change assertion message slightly
2338
2339         * ToolbarBackend.C (read): simplify
2340
2341         * MenuBackend.C (binding): adjust call to findbinding, add a
2342         message if no binding is found.
2343         (read): simplify
2344         (expandToc): correct by adding a empty FuncRequest
2345
2346         * LyXAction.C: include <boost/assert.hpp>
2347         (isPseudoAction): delete function
2348         (LookupFunc): change name to...
2349         (lookupFunc): this. change return type to FuncRequest.
2350         (getActionName): take kb_action as arg, simplify
2351         (funcHasFlag): add an assert, simplify.
2352
2353 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * toc.C (action): return a FuncRequest, simplify
2356
2357         * lyxfunc.C (processKeySym): adjust
2358         (getStatus): delete version that takes an int.
2359         (getStatus): adjust
2360         (dispatch): delete version that takes action as int
2361         (dispatch): adjust
2362         (sendDispatchMessage): simplify and adjust
2363
2364         * funcrequest.C (getArg): take unsigned int as arg
2365
2366         * ToolbarBackend.C (read): adjust
2367         (add): delete version that takes func as a string.
2368         (getIton): take a FuncRequest as arg
2369
2370         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2371         action.
2372
2373         * MenuBackend.C (MenuItem): add a new construct that only takes a
2374         Kind, simplify the constructor use for submenus.
2375         (add): adjust
2376         (expandLastfiles): adjust
2377         (expandDocuments): adjust
2378         (expandFormats): adjust
2379         (expandFloatListInsert): adjust
2380         (expandFloatInsert): adjust
2381         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2382
2383         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2384         Remove class variables lyx_pseudo_map and lyx_arg_map
2385
2386         * LyXAction.C (searchActionArg): delete function
2387         (getPseudoAction): delete function
2388         (retrieveActionArg): delete function
2389         (LookupFunc): make it return kb_action, simplify.
2390         (getActionName): simplify
2391
2392         * factory.C (createInset): fix new bug
2393
2394 2003-09-19  Angus Leeming  <leeming@lyx.org>
2395
2396         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2397         masterFilename_ parameter in the include inset.
2398
2399         * factory.C (createInset): changes due to the changes to InsetInclude.
2400
2401 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2402
2403         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2404
2405 2003-09-18  Angus Leeming  <leeming@lyx.org>
2406
2407         * buffer.C:
2408         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2409         Inset::fillWithBibKeys.
2410         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2411
2412 2003-09-18  Angus Leeming  <leeming@lyx.org>
2413
2414         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2415         variables.
2416         (ctor): pass and store a 'Buffer const &'
2417         (buffer): new member function.
2418
2419         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2420         '*this' to the LaTeXFeatures ctor.
2421
2422 2003-09-18  Angus Leeming  <leeming@lyx.org>
2423
2424         * LColor.h:
2425         * lyxfont.C:
2426         * lyxfont.h:
2427         * lyxtext.h:
2428         * text.C: rename EnumLColor as LColor_color.
2429
2430 2003-09-18  Angus Leeming  <leeming@lyx.org>
2431
2432         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2433         remove #include "insets/insetbase.h" from cursor.h.
2434
2435 2003-09-18  Angus Leeming  <leeming@lyx.org>
2436
2437         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2438         InsetOld_code to remove #include "inset.h".
2439
2440         * iterators.C: add #include "insets/inset.h"
2441
2442 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2443
2444         * BufferView.C: remove more locking stuff that apparently doesn't
2445         do anything sensible.
2446
2447 2003-09-16  André Pönitz  <poenitz@gmx.net>
2448
2449         * paragraph.[Ch]:
2450         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2451           performance boost.
2452
2453 2003-09-16  Angus Leeming  <leeming@lyx.org>
2454
2455         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2456
2457         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2458         arg/return type.
2459
2460         * paragraph.h: remove #include "lyxfont.h". Forward declare
2461         LyXFont_size.
2462
2463 2003-09-16  Angus Leeming  <leeming@lyx.org>
2464
2465         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2466         of support/textutils.h.
2467         (isWord): move the contents of support/textutils.h's IsWordChar here.
2468
2469         * buffer.C:
2470         * lyxfind.C:
2471         * rowpainter.C:
2472         * text.C:
2473         * text2.C: add #include "paragraph.h".
2474
2475         * rowpainter.C:
2476         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2477
2478 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * main.C:
2481         * lyx_main.C:
2482         * lyx_cb.C:
2483         * buffer.C:
2484         * LaTeX.C: use namespace alias for lyx::support::os
2485
2486 2003-09-16  Angus Leeming  <leeming@lyx.org>
2487
2488         * bufferparams.C:
2489         * bufferview_funcs.C:
2490         * factory.C:
2491         * lyxfunc.C:
2492         * paragraph_pimpl.C:
2493         * rowpainter.C:
2494         * text.C: add #include "LColor.h".
2495
2496 2003-09-16  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2499         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2500         return LyXFont &.
2501         Store the FontBits::color variable as an int rather than as an
2502         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2503         file.
2504
2505         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2506         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2507         string calls together.
2508
2509         * lyxrc.C: add #include "LColor.h".
2510
2511 2003-09-15  Angus Leeming  <leeming@lyx.org>
2512
2513         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2514         a cow_ptr.
2515
2516 2003-09-15  Angus Leeming  <leeming@lyx.org>
2517
2518         * LColor.h: add an EnumLColor wrapper for LColor::color.
2519
2520         * lyxfont.[Ch] (color, setColor, realColor):
2521         * lyxtext.h, text.C (backgroundColor):
2522         pass EnumLColor args to/from the functions, rather than LColor::color
2523         ones.
2524
2525         * lyxfont.h:
2526         * lyxtext.h: forward declare EnumLColor.
2527
2528         * lyx_main.C: add #include "LColor.h".
2529
2530 2003-09-15  Angus Leeming  <leeming@lyx.org>
2531
2532         * .cvsignore: add lyx-gtk.
2533
2534 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2535
2536         * Chktex.C
2537         * LaTeX.C
2538         * LaTeXFeatures.C
2539         * ParagraphParameters.C
2540         * Spacing.C
2541         * buffer.C
2542         * bufferparams.C
2543         * bufferview_funcs.C
2544         * chset.C
2545         * counters.C
2546         * funcrequest.C
2547         * lyxfont.C
2548         * lyxgluelength.C
2549         * lyxlength.C
2550         * paragraph.C
2551         * paragraph_funcs.C
2552         * text3.C
2553         * vc-backend.C: remove usage of STRCONV
2554
2555 2003-09-15  Angus Leeming  <leeming@lyx.org>
2556
2557         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2558         explicitly define the color passed to the painter.
2559
2560 2003-09-15  Angus Leeming  <leeming@lyx.org>
2561
2562         * bufferparams.C (BufferParams): reorder member initializers to avoid
2563         compiler warning.
2564
2565 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2566
2567         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2568         * text.C (updateRowPositions): remove an unusual nop
2569
2570 2003-09-12  André Pönitz  <poenitz@gmx.net>
2571
2572         * BufferView_pimpl.C:
2573         * Bullet.C:
2574         * layout.h:
2575         * lyxfunc.C:
2576         * lyxlayout.[Ch]:
2577         * lyxtextclass.C:
2578         * rowpainter.C:
2579         * text.C:
2580         * text2.C:
2581         * Counters.[Ch]: finish the 'automatic counters' job
2582
2583 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2584
2585         * aspell.C: include <boost/assert.cpp> (compile fix)
2586
2587 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2588
2589         * boost.C (assertion_failed): use lyx::support::abort instead of
2590         assert.
2591
2592 2003-09-10  Angus Leeming  <leeming@lyx.org>
2593
2594         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2595         with their _fwd progeny.
2596
2597 2003-09-09  Angus Leeming  <leeming@lyx.org>
2598
2599         134 files throughtout the source tree: replace 'using namespace abc;'
2600         directives with the appropriate 'using abc::xyz;' declarations.
2601
2602 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2603
2604         * boost.C (emergencyCleanup): moved here from LAssert.c
2605         (assertion_failed): new function, called by BOOST_ASSERT
2606
2607         * several files: change Assert to BOOST_ASSERT
2608
2609 2003-09-09  Angus Leeming  <leeming@lyx.org>
2610
2611         * buffer.[Ch]: Add an Impl class and move Buffer's member
2612         variables into it. As a result move several header files out of
2613         buffer.h.
2614
2615         Add header files to lots of .C files all over the tree as a result.
2616
2617 2003-09-09  Angus Leeming  <leeming@lyx.org>
2618
2619         * buffer.[Ch]: make Buffer's member variables private. Add
2620         accessor functions.
2621
2622         Lots of changes all over the tree as a result.
2623
2624 2003-09-08  Angus Leeming  <leeming@lyx.org>
2625
2626         * graph.C: #include <config.h>.
2627
2628 2003-09-08  Angus Leeming  <leeming@lyx.org>
2629
2630         * BranchList.C:
2631         * BufferView.C:
2632         * BufferView_pimpl.C:
2633         * CutAndPaste.C:
2634         * DepTable.C:
2635         * LaTeX.C:
2636         * LaTeXFeatures.C:
2637         * LyXAction.C:
2638         * MenuBackend.C:
2639         * TextCache.C:
2640         * aspell.C:
2641         * buffer.C:
2642         * bufferlist.C:
2643         * changes.C:
2644         * chset.C:
2645         * converter.C:
2646         * counters.C:
2647         * debug.C:
2648         * graph.C:
2649         * ispell.C:
2650         * lyx_cb.C:
2651         * lyxfind.C:
2652         * lyxfunc.C:
2653         * lyxlex_pimpl.C:
2654         * lyxrc.C:
2655         * lyxrow.C:
2656         * paragraph.C:
2657         * rowpainter.C:
2658         * texrow.C:
2659         * text.C:
2660         * text2.C:
2661         * toc.C: remove redundant using directives.
2662
2663 2003-09-07  Angus Leeming  <leeming@lyx.org>
2664
2665         * LaTeXFeatures.h: remove #include "support/types.h".
2666         * ToolbarBackend.h: remove #include <algorithm>.
2667         * changes.h: remove #include <ctime>.
2668         * debug.h: remove #include <iosfwd>.
2669         * graph.h: remove #include "support/std_string.h".
2670         * lyx_main.h: remove #include <csignal>.
2671         * lyxlex_pimpl.h: remove #include <fstream>.
2672         * sgml.h: remove #include <algorithm>, <utility>.
2673         * toc.h: remove #include "support/std_ostream.h".
2674         Add #include <iosfwd>.
2675
2676 2003-09-07  Angus Leeming  <leeming@lyx.org>
2677
2678         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2679
2680         * converter.h: forward declare LatexRunParams.
2681         * encoding.h: remove #include "lyxrc.h".
2682         * lyxtext.h: remove #include "LColor.h".
2683         * lyxtextclass.h: remove #include "support/types.h".
2684         * trans.h: remove #include "tex-accent.h".
2685         * trans_mgr.h: remove #include "tex-accent.h".
2686         * insets/inset.h: remove #include "support/types.h", <vector>.
2687         * insets/insetcollapsable.h: remove #include "LColor.h".
2688         * insets/insetinclude.h: remove #include "dimension.h".
2689         * insets/insetlatexaccent.h: remove #include "dimension.h".
2690         * insets/insetoptarg.h:: remove #include "insettext.h".
2691         * insets/insettext.h: remove #include "dimension.h",
2692         <boost/shared_ptr.hpp>
2693
2694         * insets/renderers.h: add #include "dimension.h".
2695         * insets/updatableinset.h: add #include "support/types.h".
2696
2697         * many .C files: Associated changes.
2698
2699 2003-09-06  Angus Leeming  <leeming@lyx.org>
2700
2701         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2702         one, inside testInvariant.
2703
2704         * PrinterParams.C: new file.
2705         * PrinterParams.[Ch]: move the function bodies out of line.
2706
2707 2003-09-06  Angus Leeming  <leeming@lyx.org>
2708
2709         * ParagraphParameters.h: forward declare ParameterStruct rather than
2710         including its header file.
2711         (depth): moved out-of-line.
2712
2713 2003-09-06  Angus Leeming  <leeming@lyx.org>
2714
2715         * BufferView_pimpl.h:
2716         * kbmap.h:
2717         * kbsequence.h:
2718         * lyxfunc.h: forward declare LyXKeySym rather than
2719         #include "frontends/LyXKeySym.h".
2720
2721         * BufferView_pimpl.C:
2722         * kbmap.C:
2723         * kbsequence.C:
2724         * lyxfunc.C: associated changes.
2725
2726 2003-09-06  Angus Leeming  <leeming@lyx.org>
2727
2728         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2729         As a result, can remove the #include "insets/inset.h" from BufferView.h
2730
2731 2003-09-06  Angus Leeming  <leeming@lyx.org>
2732
2733         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2734         As a result, can remove the #include "insets/inset.h" from BufferView.h
2735
2736 2003-09-06  Angus Leeming  <leeming@lyx.org>
2737
2738         * buffer_funcs.C:
2739         * buffer.h:
2740         * bufferlist.C:
2741         * BufferView.C:
2742         * bufferview_funcs.C:
2743         * BufferView_pimpl.C:
2744         * CutAndPaste.C:
2745         * lyx_cb.C:
2746         * lyxfunc.C:
2747         * paragraph.h:
2748         * ParagraphParameters.C:
2749         * tabular.C:
2750         * text3.C:
2751         * toc.C:
2752         * undo_funcs.C:
2753         * frontends/controllers/ControlDocument.C:
2754         * insets/insetcaption.C: rearrange the #includes into some sort of
2755         coherent order.
2756
2757         * buffer.h: remove #includes ErrorList.h, undo.h
2758
2759 2003-09-06  Angus Leeming  <leeming@lyx.org>
2760
2761         * support/types.h: add a 'depth_type' typedef, used to store the
2762         nesting depth of a paragraph.
2763
2764         * paragraph.h:
2765         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2766         defining explicitly.
2767
2768         * buffer.h:
2769         * paragraph_funcs.h:
2770         * ParagraphParameters.h:
2771         * sgml.h: use lyx::depth_type rather than Paragraph or
2772         ParameterStruct's depth_type.
2773
2774         * buffer.h
2775         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2776
2777         * BufferView.C:
2778         * BufferView_pimpl.C:
2779         * CutAndPaste.C:
2780         * ParagraphParameters.C:
2781         * buffer_funcs.C:
2782         * bufferlist.C:
2783         * bufferview_funcs.C:
2784         * lyx_cb.C:
2785         * lyxfunc.C:
2786         * tabular.C:
2787         * text3.C:
2788         * toc.C:
2789         * undo_funcs.C:
2790         * frontends/LyXView.C:
2791         * frontends/controllers/ControlDocument.C:
2792         * frontends/controllers/ControlErrorList.C:
2793         * insets/insetbibitem.C:
2794         * insets/insetbranch.C:
2795         * insets/insetcaption.C:
2796         * insets/insetcollapsable.C:
2797         * insets/insetenv.C:
2798         * insets/insetert.C:
2799         * insets/insetfloat.C:
2800         * insets/insetfoot.C:
2801         * insets/insetfootlike.C:
2802         * insets/insetnewline.C:
2803         * insets/insetquotes.C:
2804         * insets/insettabular.C:
2805         * insets/insettext.C:
2806         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2807
2808         * frontends/controllers/ControlChanges.C: #include "changes.h".
2809
2810 2003-09-06  Angus Leeming  <leeming@lyx.org>
2811
2812         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2813         than #including paragraph.h.
2814
2815         * ParagraphList.h:
2816         * RowList.h: deleted. Superfluous.
2817
2818         * CutAndPaste.h:
2819         * iterators.h:
2820         * lyxcursor.h:
2821         * lyxtext.h:
2822         * text_funcs.h:
2823         * undo.h:
2824         * undo_funcs.h:
2825         * insets/inset.h:
2826         * insets/insettext.h: use ParagraphList_fwd.h rather than
2827         ParagraphList.h.
2828
2829         * paragraph.h: don't forward declare ParagraphList.
2830
2831         * buffer.h:
2832         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2833         rather than ParagraphList.h. paragraph.h is still needed for the
2834         Paragraph::depth_type parameters.
2835
2836         * textcursor.h: enable it to compile stand-alone in light of the
2837         above changes.
2838
2839         * bufferview_funcs.C:
2840         * iterators.C:
2841         * lyxfunc.C:
2842         * lyxrow_funcs.C:
2843         * paragraph.C:
2844         * rowpainter.C:
2845         * text.C:
2846         * text2.C:
2847         * text3.C:
2848         * text_funcs.C:
2849         * textcursor.C:
2850         * undo.C:
2851         * frontends/controllers/ControlParagraph.C:
2852         * frontends/controllers/ControlTabular.C:
2853         * insets/insetmarginal.C:
2854         * insets/insetminipage.C:
2855         * insets/insetnote.C:
2856         * insets/insetoptarg.C: add header files needed to compile again.
2857
2858 2003-09-06  Angus Leeming  <leeming@lyx.org>
2859
2860         * RowList_fwd.h: new file, forward-declaring Row rather than
2861         #including lyxrow.h.
2862
2863         * lyxrow_funcs.h:
2864         * lyxtext.h:
2865         * paragraph.h:
2866         * insets/insettext.h: use it instead of RowList.h
2867
2868         * bufferview_funcs.C:
2869         * lyxfunc.C:
2870         * lyxrow_funcs.C:
2871         * paragraph.C:
2872         * rowpainter.C:
2873         * text.C:
2874         * text2.C:
2875         * text3.C: #include "RowList.h".
2876
2877 2003-09-05  Angus Leeming  <leeming@lyx.org>
2878
2879         * factory.C (createInset):
2880         * vspace.C (c-tor): replace sscanf call with an istringstream.
2881         * ispell.C: re-add missing HP/UX headers.
2882         * lyxserver.C: re-add missing  os2 headers.
2883
2884 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2885
2886         * BranchList.C:
2887         * graph.C:
2888         * ispell.C:
2889         * lastfiles.C:
2890         * lyx_cb.C:
2891         * lyxserver.C:
2892         * texrow.C:
2893         * text3.C: re-add missing system headers, needed for 2.95.2.
2894
2895 2003-09-05  Angus Leeming  <leeming@lyx.org>
2896
2897         Changes most place everywhere due to the removal of using directives
2898         from support/std_sstream.h.
2899
2900 2003-09-05  Angus Leeming  <leeming@lyx.org>
2901
2902         Replace LString.h with support/std_string.h,
2903         Lsstream.h with support/std_sstream.h,
2904         support/LIstream.h with support/std_istream.h,
2905         support/LOstream.h with support/std_ostream.h.
2906
2907         Changes resulting throughout the tree.
2908
2909 2003-09-05  Angus Leeming  <leeming@lyx.org>
2910
2911         * sgml.h: ensure that the header file can be compiled stand-alone.
2912         * *.C: strip out redundant #includes. (320 in total.)
2913
2914 2003-09-04  Angus Leeming  <leeming@lyx.org>
2915
2916         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2917         here (from getPackages).
2918
2919         * debug.[Ch]: add a new EXTERNAL tag.
2920
2921 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2922
2923         * text2.C (cursorEnd): simplify
2924         (setCursor): adjust
2925         (getColumnNearX): adjust
2926
2927         * text.C (computeBidiTables): adjust
2928         (fill): adjust
2929
2930         * rowpainter.C (paintChars): adjust
2931         (paintSelection): adjust
2932         (paintChangeBar): adjust
2933         (paintText): adjust
2934
2935         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2936         lastPos instead.
2937         (numberOfSeparators): adjust
2938
2939 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2940
2941         * LyXAction.C:
2942         * box.[Ch]:
2943         * lfuns.h:
2944         * lyxfunc.C:
2945         * text3.C: Restricts the mouse click functionality
2946         of insets like bibtex, include, toc and floatlist to the visible
2947         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2948         up the dialogs. Cursor has to be in front of the inset (i.e.
2949         start of row) for this to function.
2950
2951 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2952
2953         * bufferview_funcs.C (currentState): output row information
2954
2955 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2956
2957         * bufferview_funcs.C (currentState): output paragraph position
2958
2959 2003-09-04  Angus Leeming  <leeming@lyx.org>
2960
2961         * FloatList.h: move out #include "Floating.h".
2962         * LaTeX.h: move out #include "DepTable.h".
2963         * LyXAction.h: move out #include "funcrequest.h".
2964         * buffer.h: move out #include "author.h", "iterators.h".
2965         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2966         * lyx_main.h: move out #include "errorlist.h".
2967         * lyxfunc.h: move out #include "FuncStatus.h".
2968         * lyxtext: move out #include "lyxcursor.h".
2969         * paragraph_pimpl.h: move out #include "counters.h".
2970
2971 2003-09-03  Angus Leeming  <leeming@lyx.org>
2972
2973         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2974         preamble_snippets list, enabling us to add snippets to the preamble
2975         only if the snippet was not there already.
2976
2977 2003-09-04  Angus Leeming  <leeming@lyx.org>
2978
2979         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2980
2981 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2982
2983         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2984         update
2985
2986 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2987
2988         * BranchList.C: point fix, earlier forgotten
2989
2990 2003-09-02  Angus Leeming  <leeming@lyx.org>
2991
2992         * box.C (contains): renamed from 'contained' after a fantastic
2993         amount of hot air.
2994
2995 2003-09-02  John Levon  <levon@movementarian.org>
2996
2997         * BufferView.C:
2998         * lyxcursor.h:
2999         * lyxcursor.C:
3000         * lyxfunc.C:
3001         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3002
3003 2003-09-02  John Levon  <levon@movementarian.org>
3004
3005         * text2.C: simplification of cursorEnd(), including partial
3006         fix for bug 1376
3007
3008 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * buffer.C (readFile): add a space
3011
3012 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3015
3016 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * buffer.C (readFile): new function, take a filename and a
3019         ParagraphList::iterator
3020         (readFile): adjust
3021         (readFile): adjust, make it private. don't use setStream, make
3022         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3023         always contain the filename.
3024
3025         * BufferView.C (insertLyXFile): simplify and make it work for
3026         gzipped files.
3027
3028 2003-08-30  John Levon  <levon@movementarian.org>
3029
3030         * Makefile.am: fix dist (from Kayvan)
3031
3032 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * most files: change to use const Buffer refs
3035
3036 2003-08-27  André Pönitz  <poenitz@gmx.net>
3037
3038         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3039         on top of ownerPar().
3040
3041 2003-08-27  John Levon  <levon@movementarian.org>
3042
3043         * funcrequest.C: properly initialise POD members
3044
3045 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3046
3047         * lyxtext.h (top_y): move top_y from here
3048         * text.C:
3049         * text2.C:
3050         * text3.C:
3051         * BufferView.[Ch]:
3052         * BufferView_pimpl.[Ch]: to here
3053         * frontends/screen.C:
3054         * insets/insettabular.C:
3055         * insets/insettext.C: adjust
3056         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3057
3058 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3059
3060         * BufferView.[Ch]:
3061         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3062
3063 2003-08-26  André Pönitz  <poenitz@gmx.net>
3064
3065         * paragraph_func.[Ch] (outerPar): new function
3066
3067         * paragraph.C:
3068         * paragraph_funcs.C:
3069         * paragraph_funcs.h:
3070         * paragraph_pimpl.C:
3071         * text2.C: remove Inset::par_owner
3072
3073 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3074
3075         * lyxrow_funcs.C:
3076         * lyxtext.h:
3077         * text.C:
3078         * text2.C: eliminates the needFullRow/display() stuff
3079         altogether, putting the logic in metrics/draw in the insets.
3080
3081 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3082
3083         * text2.C (redoParagraphInternal, redoParagraphs):
3084         * text.C (redoParagraph): add a call to updateRowPositions at the
3085         end of each 'metrics-like' call. Remove all others.
3086         (getRow): remove the 'y-computing' version.
3087         (getRowNearY): do not compute nor return the real y. Solve the
3088         'y < 0' problem and simplify.
3089
3090 2003-08-22  Angus Leeming  <leeming@lyx.org>
3091
3092         * *.[Ch]: clean-up of licence and author blurbs.
3093         Also move config.h out of a few .h files and into a few .C files.
3094
3095 2003-08-22  André Pönitz  <poenitz@gmx.net>
3096
3097         * lyxrow.[Ch]: add x_ and *fill_ members
3098
3099         * lyxtext.h:
3100         * text.C:
3101         * rowpainter.C:
3102         * text2.C: adjust/remove prepareToPrint() calls
3103
3104 2003-08-22  André Pönitz  <poenitz@gmx.net>
3105
3106         * lyxrow.[Ch]: add  end_ member
3107
3108         * lyxrow_funcs.C: use LyXRow::end_
3109
3110         * lyxtext.h (singleWidth): add LyXFont parameter
3111
3112         * rowpainter.C:
3113         * text2.C: adjust LyXText::singleWidth() calls
3114
3115         * text.C (redoParagraph): simplify row breaking logic
3116
3117
3118 2003-08-19  André Pönitz  <poenitz@gmx.net>
3119
3120         * funcrequest.C: initialize button_ member
3121
3122         * text3.C:
3123         * rowpainter.[Ch]: interface consolidation
3124
3125 2003-08-18  André Pönitz  <poenitz@gmx.net>
3126
3127         * BufferView.C:
3128         * BufferView_pimpl.C:
3129         * lyxfind.C:
3130         * paragraph_funcs.C:
3131         * rowpainter.C:
3132         * text3.C: remove LyXScreen::draw() and fitCursor calls
3133
3134         * BranchList.h: remove spurious semicolons
3135
3136         * MenuBackend.C: fix branchlist related crash
3137
3138 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3139
3140         * BranchList.[Ch]:
3141         * InsetList.[Ch]:
3142         * LColor.[Ch]:
3143         * LyXAction.C:
3144         * Makefile.am:
3145         * MenuBackend.[Ch]:
3146         * bufferparams.[Ch]:
3147         * factory.C:
3148         * lfuns.h:
3149         * lyxfunc.C:
3150         * text3.C: implements the 'branch inset'
3151         idea. This allows the output of various versions of a document
3152         from a single source version, selectively outputing or suppressing
3153         output of parts of the text.
3154         This implementation contains a 'branch list editor' in a separate
3155         tab of the document settings dialog. Branches are user definable
3156         and have a "display colour" to distinguish them on-screen.
3157
3158         ColorHandler was somewhat cleaned up.
3159         (1) make possible a dynamically growing LColor list by allowing
3160         the graphic context cache to grow along (vector);
3161         (2) eliminate an IMHO unnecessary step in colour allocation.
3162
3163 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3164
3165         * BufferView_pimpl.C: compile fix
3166
3167 2003-08-15  André Pönitz  <poenitz@gmx.net>
3168
3169         * rowpainter.C: remove extra metrics calls
3170
3171         * lyxtext.h: merge the two constructors into a single one,
3172           pass reference to owner's par list
3173
3174         * BufferView_pimpl.C:
3175         * text.C:
3176         * text2.C: adjust
3177
3178 2003-08-15  André Pönitz  <poenitz@gmx.net>
3179
3180         * lyxrow_funcs.[Ch]:
3181         * lyxtext.h:
3182         * paragraph.h:
3183         * paragraph_funcs.C:
3184         * rowpainter.C:
3185         * text.C:
3186         * text2.C:
3187         * text3.C:
3188         * text_funcs.C: split LyXText::rowlist_ into individual
3189         Paragraph::rows_ chunks
3190
3191         * BufferView.[Ch]:
3192         * BufferView_pimpl.[Ch]:
3193         * lyxfind.C:
3194         * lyxtext.h:
3195         * text3.C: remove toggleSelection()
3196
3197 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3198
3199         * bufferlist.C: beautify two alerts (shorter text of buttons)
3200         * buffer.C: Remove redundant ' ' from message
3201         * tabular.h:
3202         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3203         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3204         rename VALIGN_CENTER to VALIGN_MIDDLE
3205
3206 2003-08-11  André Pönitz  <poenitz@gmx.net>
3207
3208         * lyxtext.h (getPar):
3209         * text.C: new function
3210
3211 2003-08-11  André Pönitz  <poenitz@gmx.net>
3212
3213         * Makefile.am:
3214         * tracer.[Ch]: remove unneeded files
3215
3216         * InsetList.[Ch]: remove resizeInsetsLyXText()
3217
3218         * lyxtext.h:
3219         * text.C:
3220         * text2.C:
3221         * text3.C: merge insertParagraphs() and appendParagraph()
3222         remove breakAgain(), update()
3223
3224         * BufferView_pimpl.[Ch]:
3225         * bufferview_funcs.[Ch]:
3226         * lyxfunc.C:
3227         * paragraph.[Ch]:
3228         * rowpainter.C:
3229         * tabular.C: adjust after text & InsetList changes.
3230
3231 2003-08-08  André Pönitz  <poenitz@gmx.net>
3232
3233         * text.C (insertChar, backspace): replace rowlist fiddling
3234         with rebreak of full par
3235
3236         * lyxtext.h:
3237         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3238         checkParagraph, updateInset): removed
3239
3240 2003-08-07  André Pönitz  <poenitz@gmx.net>
3241
3242         * paragraph.C:
3243         * text3.C: merge some LFUN handlers, remove dead code
3244
3245 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3246
3247         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3248
3249 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * text2.C (DEPM): fix part of bug 1255 and 1256
3252
3253 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3254
3255         * BufferView_pimpl.C (workAreaDispatch): change to use
3256         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3257         that are no mouse related.
3258
3259 2003-08-05  André Pönitz  <poenitz@gmx.net>
3260
3261         * BufferView.[Ch]:
3262         * BufferView_pimpl.[Ch]:
3263         * bufferview_funcs.C:
3264         * text2.C:
3265         * text3.C: rip out "deep update"
3266
3267         * textcursor.[Ch] (last_sel_cursor): remove unused member
3268
3269 2003-08-04  André Pönitz  <poenitz@gmx.net>
3270
3271         * BufferView.[Ch]:
3272         * BufferView_pimpl.[Ch]:
3273         * ParagraphParameters.C:
3274         * bufferview_funcs.C:
3275         * lyx_cb.C:
3276         * lyxfind.C:
3277         * lyxfunc.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C: replace "complicated" BufferView::update(...) calls with
3281         simpler ones.
3282
3283         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3284
3285 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3286
3287         * Makefile.am (lyx_SOURCES): add paper.h
3288
3289 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3290
3291         * Makefile.am: move things around so that both lyx-qt and
3292         lyx-xforms can be built (according to --with-frontend). Then lyx
3293         is a symbolic link to lyx-[firstfrontend]
3294
3295 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3296
3297         * Always use std::endl with lyxerr
3298
3299 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3300
3301         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3302
3303 2003-08-01  André Pönitz  <poenitz@gmx.net>
3304
3305         * BufferView.[Ch]:
3306         * BufferView_pimpl.[Ch]:
3307         * lyxfunc.C:
3308         * text3.C: merge BufferView::repaint() and BufferView::update()
3309
3310 2003-08-01  José Matos  <jamatos@lyx.org>
3311
3312         * buffer.[Ch]: file_format is no longer a buffer data element.
3313
3314 2003-08-01  André Pönitz  <poenitz@gmx.net>
3315
3316         * BufferView.C:
3317         * lyxtext.h:
3318         * text.C:
3319         * text2.C: make redoParagraph more independent of current cursor
3320
3321         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3322         * text.C:
3323         * text2.C: remove unneeded members
3324
3325 2003-07-30  André Pönitz  <poenitz@gmx.net>
3326
3327         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3328
3329         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3330           create a single function...
3331
3332         * paragraph_funcs.C (moveItem): ... here.
3333
3334         * text.C:
3335           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3336
3337 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3338
3339         * LColor.[Ch]: Add comment and greyedout logical colors.
3340
3341 2003-07-30  André Pönitz  <poenitz@gmx.net>
3342
3343         * tabular.C: don't use Assert too heavily. This crashes where it
3344           shouldn't
3345
3346 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3349         is disabled (bug 1232)
3350
3351 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3352
3353         * factory.C: limited 'arg' scope
3354
3355 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * factory.C: fixed Note submenu issues
3358
3359 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * factory.C: submenu for Note/Comment/Greyedout
3362
3363 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * lyx_main.C (LyX):
3366         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3367
3368 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * LaTeXFeatures.C:
3371         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3372         greyedout. Patch provided by Jürgen Spitzmüller.
3373
3374 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3375
3376         * kbmap.C (read): fix error message when reading bind files
3377
3378 2003-07-29  Angus Leeming  <leeming@lyx.org>
3379
3380         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3381         certainly does not do what it purports to do. I am doing it, and
3382         us, a favour by killing it.
3383
3384 2003-07-28  José Matos  <jamatos@lyx.org>
3385
3386         * buffer.C (readBody, do_writeFile):
3387         * paragraph.C(readParagraph): \end_document replaces \the_end.
3388
3389 2003-07-29  André Pönitz  <poenitz@gmx.net>
3390
3391         * BufferView.[Ch]:
3392         * BufferView_pimpl.[Ch]:
3393         * lyxfunc.C:
3394         * text2.C:
3395         * text3.C:
3396         * textcursor.[Ch]: remove toggleToggle & Co
3397
3398 2003-07-28  José Matos  <jamatos@fep.up.pt>
3399
3400         * buffer.C (readParagraph):
3401         * params_func (readParToken, readParagraph):
3402         * paragraph.C (write): \layout -> \begin_layout.
3403
3404 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * lyxlex_pimpl.C (setFile): clean up slightly.
3407
3408         * bufferparams.h: add compressed var
3409
3410         * buffer_funcs.C (readFile): adjust for LyXLex change
3411         (newFile): ditto + simplify
3412
3413         * buffer.C (writeFile): handle writing of compressed files
3414
3415         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3416         Check if the file is compressed and set a bufferparm if so.
3417
3418         * Makefile.am (lyx_LDADD): remove explicit -lz
3419
3420 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3421
3422         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3423         makeDocBookFile): put the real LyX version in the first line of
3424         the file
3425
3426         * version.h:
3427         * version.C.in: remove lyx_docversion
3428
3429         * tabular.C (write_attribute): add a template-based version to
3430         write enums properly
3431
3432 2003-07-28  André Pönitz  <poenitz@gmx.net>
3433
3434         * lyxtext.h:
3435         * text.C:
3436         * text2.C:
3437         * text3.C: use doubles again for x-coordinates. They are needed.
3438
3439 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * messages.C (getLocaleDir): use lyx_localedir()
3442
3443         * lyxlex_pimpl.C (setFile): compress stuff
3444
3445         * buffer.C (writeFile): add some compression stuff
3446         (do_writeFile): new func, dont call expliti close... will this
3447         breake anything?
3448
3449         * Makefile.am (lyx_LDADD): add -lz
3450
3451 2003-07-28  José Matos  <jamatos@fep.up.pt>
3452
3453         * buffer.C: increment file format.
3454         * paragraph_funcs (readParagraph, readParToken):
3455         * paragraph.C (readParagraph): add \end_layout.
3456
3457 2003-07-27  Angus Leeming  <leeming@lyx.org>
3458
3459         * Makefile.am: remove special casing for configure-time setting of
3460         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3461
3462         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3463         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3464
3465 2003-07-26  André Pönitz  <poenitz@gmx.net>
3466
3467         * paragraph_func.[Ch]:
3468         * paragraph.C (realizeFont): inline it whereever it is used
3469
3470         * rowpainter.C:
3471         * text.C:
3472         * text2.C:
3473         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3474
3475
3476 2003-07-26  André Pönitz  <poenitz@gmx.net>
3477
3478         *       lyxtext.h:
3479         * text.C:
3480         * text2.C: get rid of LyXText::need_break_row
3481
3482 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * toc.[Ch]: put namespace toc inside namespace lyx
3485
3486         * MenuBackend.C (expandToc2): adjust for lyx::toc
3487         (expandToc): ditto
3488
3489         * lyxfunc.C (dispatch): adjust for lyx::find
3490
3491         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3492         lyx::find instead. Reorganize a bit.
3493         (LyXReplace): rename to replace
3494         (LyXFind): rename to find
3495
3496         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3497         (dispatch): ditto
3498
3499 2003-07-26  André Pönitz  <poenitz@gmx.net>
3500
3501         * text.C (setHeightOfRow): restrict scope of temporary variable
3502
3503         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3504           code (never has been used?)
3505
3506 2003-07-27  Asger Alstrup  <alstrup@local>
3507
3508         * text.C (fill): Optimise algorithm to exploit that we can reuse
3509         the LyXFont for many characters.
3510         (setHeightOfRow): Same thing.
3511         (rowBreakPoint): Same thing.
3512
3513 2003-07-26  Asger Alstrup  <alstrup@local>
3514
3515         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3516
3517         * text.C (singleWidth): Spurious font copying in hot-spot
3518         singleWidth avoided. Reorder tests for arabic for efficiency.
3519
3520         * text.C (fill): handle empty paragraphs better.
3521
3522 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523
3524         * ispell.C:
3525         * encoding.h: add includes
3526
3527         * lyxrc.C: remove reading of bind files
3528
3529         * lyx_main.C (init): setup bindings and menus only if we have a
3530         gui.
3531
3532         * kbmap.C (read): new method. Do the actual reading of bind
3533         files.
3534
3535         * converter.C (dvipdfm_options):
3536         * bufferparams.C:
3537         * lyxrc.C (read):
3538         (output): adapt PAPER_* enums.
3539
3540         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3541
3542         * bufferparams.h: remove paper-related enums from there
3543
3544         * paper.h: New file. A trivial header file to hold paper-related
3545         enums. It should later expand to contain many paper-related
3546         horrors access.
3547
3548         * lyxrc.C: declare extern displayTranslator
3549
3550 2003-07-27  José Matos  <jamatos@fep.up.pt>
3551
3552         * tabular.[Ch] (linuxdoc): add support for tables and figures
3553         (linuxdoc).
3554
3555 2003-07-27  José Matos  <jamatos@fep.up.pt>
3556
3557         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3558         consistency in both functions.
3559         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3560
3561 2003-07-26  Asger Alstrup  <alstrup@local>
3562
3563         * rowpainter.C (paintRows): Change algorithm to work directly on
3564         the insets rather than asking every character in the document
3565         whether its an inset.
3566
3567 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * buffer.C (openFileWrite): factorize some code
3570
3571 2003-07-26  Angus Leeming  <leeming@lyx.org>
3572
3573         * lyx_cb.C:
3574         * lyx_main.[Ch]: replace occurances of system_tempdir with
3575         os::getTmpDir().
3576
3577 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * rename Inset to InsetOld
3580
3581 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3582
3583         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3584         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3585         which I think is a bit clearer. EDIT is gone, since it was
3586         premature optimisation, and broken for mathed anyway.
3587         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3588         with cursor positioning in insets as well (math insets still do not
3589         work, but that's a different story anyway.) It mysteriously
3590         crashes sometimes with undo in the first paragraph, but I'm fairly
3591         confident that this is a compiler bug.
3592
3593 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * paragraph.C (Paragraph): adjust for new clone return type
3596         (operator==): ditto
3597         (copyIntoMinibuffer): ditto
3598
3599 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3600
3601         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3602         by not having a special case, and always doing a full rebreak of
3603         the document after undo.
3604
3605 2003-07-23  Angus Leeming  <leeming@lyx.org>
3606
3607         * factory.C (createInset): InsetExternal::setParams now takes a
3608         Buffer const * arg.
3609
3610 2003-07-23  Angus Leeming  <leeming@lyx.org>
3611
3612         * factory.C (createInset): changed interface to the external and
3613         graphics mailers' string2params functions.
3614
3615 2003-07-23  Angus Leeming  <leeming@lyx.org>
3616
3617         * factory.C (createInset): pass a
3618         Buffer const * parameter to InsetExternalMailer's string2params.
3619
3620 2003-07-22  John Levon  <levon@movementarian.org>
3621
3622         * Thesaurus.h: include the right aiksaurus header
3623
3624 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3625
3626         * MenuBackend.C (expand): check menu shortcuts unconditionally
3627
3628 2003-07-21  Angus Leeming  <leeming@lyx.org>
3629
3630         * factory.C (createInset): pass a
3631         buffer_path parameter to InsetGraphicsMailer's string2params.
3632
3633 2003-07-21  Angus Leeming  <leeming@lyx.org>
3634
3635         * BufferView_pimpl.C (buffer):
3636         * buffer.C (d-tor):
3637         * lyx_main.C (LyX):
3638         * lyxfunc.C (dispatch):
3639         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3640         rather than the grfx shortcut.
3641
3642 2003-07-21  André Pönitz  <poenitz@gmx.net>
3643
3644         * rowpainter.C: remove unused variables
3645
3646         * tabular_funcs.C:
3647         * tabular_funcs.h: move to tabular.C
3648         * Makefile.am: adjust
3649
3650         * tabular.[Ch]: basic optical cleaning
3651
3652         * author.h: pass references, not values
3653
3654 2003-07-18  André Pönitz  <poenitz@gmx.net>
3655
3656         * lyxtext.h:
3657         * metricsinfo.C:
3658         * metricsinfo.h:
3659         * rowpainter.C:
3660         * text.C:
3661         * text2.C:
3662         * text3.C: two-phase drawing for InsetText and InsetTabular
3663         some float -> int changes.
3664
3665 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * lyx_main.C: fix the fix
3668
3669 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * lyx_main.C: fix a crash in batch mode if no files specified
3672         * converter.C: ws
3673
3674 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * format.[Ch] (papersize): moved to BufferParams
3677         * converter.[Ch] (dvips_options): moved to BufferParams
3678         (dvipdfm_options): moved to anon namespace
3679         * bufferparams.[Ch]: added above functions.
3680
3681 2003-07-17  André Pönitz  <poenitz@gmx.net>
3682
3683         * lyxtext.h:
3684         * rowpainter.C:
3685         * text2.C: don't call inset->update() anymore
3686
3687         * metricsinfo.[Ch]: add convenience constructor
3688
3689 2003-07-16  André Pönitz  <poenitz@gmx.net>
3690
3691         * lyxcursor.[Ch]:
3692         * lyxfunc.[Ch]:
3693         * text.C:
3694         * text2.C: replace the LyXCursor::irow_ member with
3695          on-demand computation of the value
3696
3697 2003-07-16  John Levon  <levon@movementarian.org>
3698
3699         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3700
3701 2003-07-15  André Pönitz  <poenitz@gmx.net>
3702
3703         * text.C:
3704         * text2.C: remove no more needed refresh_row
3705
3706 2003-07-15  André Pönitz  <poenitz@gmx.net>
3707
3708         * lyxtext.h:
3709         * rowpainter.C:
3710         * text2.C:
3711         * text3.C: refresh_status tristate -> need_update bool
3712
3713 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * lyxtext.h (init): remove reinit argument (act as if always true)
3716         * text2.C: adjust to that
3717
3718 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3719
3720         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3721         * text3.C: use it to delete selections in some cases
3722         (bugs 441, 673, 702, 954).
3723
3724 2003-07-14  André Pönitz  <poenitz@gmx.net>
3725
3726         * rowpainter.[Ch]: reduce interface
3727
3728 2003-07-14  André Pönitz  <poenitz@gmx.net>
3729
3730         * BufferView_pimpl.C:
3731         * text2.C: adjust after removing unused BufferView * argument
3732
3733 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * text2.C (init): fix a crash fired on resize
3736
3737 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * buffer.[Ch]: added new closing signal
3740         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3741         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3742         BufferView::Pimpl via the closing the signal
3743
3744 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3745
3746         * buffer.[Ch]: take out all bv-related from buffer
3747         * BufferView.C:
3748         * BufferView_pimpl.[Ch]: connect to new signals
3749         * CutAndPaste.C: removed useless asserts
3750         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3751         * lyxvc.[Ch]:
3752         * vc-backend.[Ch]:
3753         * lyxfunc.C: moved view-related funciontality from vc here
3754         * paragraph.C: removed outdated comments
3755         * text.C: ws
3756
3757 2003-07-10  André Pönitz  <poenitz@gmx.net>
3758
3759         * BufferView_pimpl.C:
3760         * tabular.h:
3761         * tabular_funcs.C:
3762         * text.C:
3763         * text2.C: remove InsetText::InnerCache, clean up consequences
3764
3765 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3766
3767         * ispell.C: fix two typos in error messages
3768
3769 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3770
3771         * Extend Note inset to other forms of annotation like Comment
3772         and Greyedout. Right button click gives dialog.
3773
3774         Files modified or added (+):
3775
3776         * insetnote.[Ch]
3777         * FormNote.[Ch]      +
3778         * ControlNote.[Ch]   +
3779         * form_note.fd       +
3780         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3781         frontends/controllers
3782         * xforms/Dialogs.C
3783         * factory.C
3784
3785 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3786
3787         * aspell.C: add missing namespace lyx::support
3788
3789 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * BufferView.[Ch] (newFile): Add
3792         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3793         * LaTeX.[Ch] (message): added this signal and use it
3794         * buffer.[Ch] (busy, message): added these signals and use them
3795         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3796         * converter.C:
3797         * exporter.C:
3798         * format.C:
3799         * importer.C: use buffer signals instead of direct bv calling
3800         * lyx_cb.[Ch] (ShowMessage): removed
3801         * lyx_main.C:
3802         * lyxfunc.C:
3803         * paragraph_funcs.C:
3804         * text2.C: use buffer signals
3805
3806 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3807
3808         * introduce namespace lyx::graphics
3809
3810 2003-07-02  André Pönitz  <poenitz@gmx.net>
3811
3812         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3813
3814 2003-07-01  André Pönitz  <poenitz@gmx.net>
3815
3816         * text.C:
3817         * text2.C:
3818         * text3.C:
3819         * text_funcs.[Ch]:
3820         * textcursor.h:
3821         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3822           text*.C to text_func.C
3823
3824 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * introduce namespace lyx::support
3827
3828 2003-06-30  André Pönitz  <poenitz@gmx.net>
3829
3830         * Chktex.C:
3831         * funcrequest.C:
3832         * lyxtext.h:
3833         * text.C: re-enable --with-included-string
3834
3835 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * textcursor.C: add <config.h>
3838
3839         * text.C (getWord): remove const from word_location arg
3840
3841         * lyxvc.C (getLogFile): fix const type order
3842
3843         * lyxtext.h: remove const from word_location arg, add arg name
3844
3845         * lyxlayout.h: currect type on labeltype.
3846
3847         * importer.C: correct \file
3848
3849         * converter.C (intToFormat): use std:: on ret val, ws changes
3850
3851         * bufferlist.h: correct \file
3852
3853         * buffer.C (makeLinuxDocFile): fix const type order
3854         (makeDocBookFile): ditto
3855         (fillWithBibKeys): use std:: on stdlib args.
3856
3857         * CutAndPaste.C: fix authors.
3858         (availableSelections): use std:: on return vector
3859
3860 2003-06-27  André Pönitz  <poenitz@gmx.net>
3861
3862         * BufferView_pimpl.C:
3863         * bufferview_funcs.C:
3864         * lyxcursor.C:
3865         * lyxcursor.h:
3866         * lyxfunc.C:
3867         * lyxtext.h:
3868         * rowpainter.C:
3869         * text.C:
3870         * text2.C:
3871         * text3.C: remove LyXCursor::row_ member
3872
3873         * lyxtext.h:
3874         * text.C: rename fullRebreak() to partialRebreak() and implement
3875           a fullRebreak() that really bereks fully
3876
3877         * textcursor.h: new struct for cursor-related data
3878
3879 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * lyx_main.C (LyX): get full path of document loaded on the
3882         command line
3883
3884 2003-06-26  André Pönitz  <poenitz@gmx.net>
3885
3886         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3887           remove unused/broken operator>,<,>=.
3888
3889         *       text.C: remove only use of broken operator<= in an Assert().
3890
3891 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3894         moved errorlist_.clear to showErrorList
3895
3896 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * converter.C (scanLog, runLaTeX):
3899         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3900         move the bv->showErrorList call to the callers
3901         * lyxfunc.C: i.e. here...
3902         * text2.C: and here
3903         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3904         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3905         namespace, the second to...
3906         * buffer_funcs (BufferFormat, parseErrors): added
3907         * errorlist.C (ErrorList(TeXErrors const &)): removed
3908
3909 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3910
3911         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3912
3913 2003-06-24  "Garst R. Reese" <reese@isn.net>
3914
3915         * debug.C: fix typo
3916
3917 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3918
3919         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3920
3921         * version.C.in: change docversion to 1.4
3922
3923 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * buffer.C: fix a bug just introduced
3926
3927 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * buffer.[Ch]: added the parseError signal and use it, removed
3930         sgmlError
3931         * BufferView.[Ch] (addError): moved to ...
3932         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3933         to the Buffer::parseError signal to catch (guess what) parse errors
3934         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3935
3936 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3937
3938         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3939         ability to create a buffer and to return an existing one from
3940         the list. Moved these functions to...
3941         * buffer_funcs.[Ch]: added
3942         * BufferView.[Ch] (loadLyXFile): added
3943         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3944         job removed from bufferlist::loadLyXFile.
3945         * buffer.C (setReadOnly): make it work without view
3946         (i.e added an if (users))
3947
3948 2003-06-19  Angus Leeming  <leeming@lyx.org>
3949
3950         * lfuns.h:
3951         * LyXAction.C (init):
3952         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3953         with LFUN_DIALOG_SHOW <name> <data>.
3954
3955 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3956
3957         * CutAndPaste.C (availableSelections): small compilation fix for
3958         ancient (gcc 2.9x) compilers
3959
3960 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * text3.C (cursorNext): add tmp var
3963
3964         * text2.C (updateCounters): for function calling out of for clause
3965         (replaceSelectionWithString): ditto
3966         (insertStringAsParagraphs): ditto
3967         (getColumnNearX): add tmp var
3968         (setCursorFromCoordinates): add tmp var
3969         (cursorDownParagraph): add tmp var
3970         (deleteEmptyParagraphMechanism): add tmp var
3971
3972         * text.C (insertChar): add tmp var
3973
3974         * rowpainter.C (paintDepthBar): add tmp var
3975
3976         * CutAndPaste.C (availableSelections): potentially check all
3977         paragraphs in a cut to fill the shown strings.
3978
3979 2003-06-18  André Pönitz  <poenitz@gmx.net>
3980
3981         * kbmap.[Ch]: use vector<> instead of list<>
3982
3983 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3984
3985         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3986         pasteSelection with index
3987
3988         * text2.C (pasteSelection): modify, call pasteSelection with index
3989
3990         * paragraph.C (asString): reimplement version with no interval to
3991         call the one with interval.
3992
3993         * lyxtext.h: add index arg to pasteSelection
3994
3995         * MenuBackend.C (MenuItem): handle PasteRecent
3996         (Menu::read::Menutags): add md_pasterecent
3997         (read): handle it
3998         (expandPasteRecent): new function
3999         (expand): use it
4000
4001         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4002
4003         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4004         the limited stack
4005         (availableSelections): new function
4006
4007 2003-06-17  Angus Leeming  <leeming@lyx.org>
4008
4009         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4010
4011 2003-06-17  Angus Leeming  <leeming@lyx.org>
4012
4013         * lfuns.h:
4014         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4015
4016         * lyxfunc.C (dispatch): invoke it.
4017
4018 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4019
4020         * iterators.C (operator++, ParPosition): reintroduce some
4021         const_cast for the benefit of older compilers.
4022
4023 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4024
4025         * text3.C (dispatch): do not modify clipboard when doing
4026         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4027         LFUN_DELETE_SKIP on a selection selection
4028
4029 2003-06-16  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView.C:
4032         * buffer.C:
4033         * buffer.h:
4034         * paragraph.C:
4035         * tabular.[Ch]: IU of clone() and getLabelList();
4036
4037 2003-06-13  André Pönitz  <poenitz@gmx.net>
4038
4039         * tabular.h: compactification
4040
4041 2003-06-12  André Pönitz  <poenitz@gmx.net>
4042
4043         * tabular.C:
4044         * tabular.h:
4045         * tabular_funcs.h: some renaming plus whitespace
4046
4047 2003-06-12  André Pönitz  <poenitz@gmx.net>
4048
4049         * BufferView.C:
4050         * BufferView_pimpl.C:
4051         * CutAndPaste.C:
4052         * buffer.C:
4053         * iterators.[Ch]:
4054         * lyxfunc.C:
4055         * text.C:
4056         * toc.C: Return a Paragraph & for ParIterator::operator*()
4057
4058 2003-06-11  John Levon  <levon@movementarian.org>
4059
4060         * lyx_main.C:
4061         * ToolbarBackend.h:
4062         * ToolbarBackend.C: add "Toolbars" section and
4063         put the flags there
4064
4065 2003-06-10  Angus Leeming  <leeming@lyx.org>
4066
4067         * lfuns.h:
4068         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4069
4070         * lyxfunc.C (dispatch): invoke it.
4071
4072 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * main.C: protect <ios> with HAVE_IOS
4075         (main): protect sync_with_stdio with HAVE_IOS
4076
4077 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4078
4079         * text2.C (cutSelection): adjust
4080         (pasteSelection): adjust
4081
4082         * messages.C: handle get of empty string
4083
4084         * main.C (main): use sync_with_stdio(false)
4085
4086         * lyxfunc.C (dispatch): adjust
4087
4088         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4089         (WriteAs): remove unneeded BufferView arg.
4090
4091         * bufferparams.h: use correct types on papersize, papersize2 and
4092         paperpackage.
4093
4094         * bufferparams.C (readToken): adjust for type
4095         (writeLaTeX): add missing cases to switch.
4096
4097         * bufferlist.C (quitWriteBuffer): adjust
4098         (close): adjust
4099
4100         * buffer.C (asciiParagraph): remove some commented code.
4101
4102         * CutAndPaste.C: remove current_view extern variable.
4103         (cutSelection): add BufferParams arg.
4104         (eraseSelection): add BufferParams arg.
4105         (pasteSelection): add Buffer const & arg
4106
4107 2003-06-07  John Levon  <levon@movementarian.org>
4108
4109         * buffer.C:
4110         * paragraph_funcs.C:
4111         * paragraph_pimpl.C:
4112         * text.C:
4113         * text2.C:
4114         * paragraph.h:
4115         * paragraph.C: allow InsetERT to freely space lines,
4116         and some consolidation of code
4117
4118 2003-06-06  José Matos  <jamatos@fep.up.pt>
4119
4120         * buffer.C (makeDocBookFile): fix bug #821
4121
4122 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4123
4124         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4125
4126 2003-06-04  Angus Leeming  <leeming@lyx.org>
4127
4128         * buffer.C: bump format to 224.
4129
4130 2003-06-05  André Pönitz  <poenitz@gmx.net>
4131
4132         * text2.C (redoParagraphs): remove two const_cast<>
4133
4134 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4135
4136         * ParagraphList.h: remove last remnants of NO_STD_LIST
4137
4138 2003-06-03  Angus Leeming  <leeming@lyx.org>
4139
4140         * factory.C (createInset): small change to the way InsetExternal's params
4141         are set.
4142
4143 2003-06-04  André Pönitz  <poenitz@gmx.net>
4144
4145         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4146
4147         * paragraph_pimpl.h:
4148         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4149
4150         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4151
4152         * undo_funcs.C: make some simple cases of undo work again
4153
4154 2003-06-03  John Levon  <levon@movementarian.org>
4155
4156         * ispell.C: HPUX doesn't have sys/select.h
4157         (from Albert Chin)
4158
4159 2003-06-03  John Levon  <levon@movementarian.org>
4160
4161         * CutAndPaste.C: update tabular and include inset
4162         buffer references
4163
4164         * buffer.h:
4165         * paragraph.h:
4166         * paragraph.C: remove owningBuffer(), don't pass Buffer
4167         to clone()
4168
4169         * factory.C: insetGraphicsParams changed
4170
4171 2003-06-02  John Levon  <levon@movementarian.org>
4172
4173         * LyXAction.C:
4174         * factory.C:
4175         * lfuns.h:
4176         * lyxfunc.C:
4177         * text3.C: remove insetparent
4178
4179 2003-06-02  John Levon  <levon@movementarian.org>
4180
4181         * buffer.h:
4182         * buffer.C: fix inset_iterator.end(), move out of line
4183         (bug 1149)
4184
4185 2003-06-01  John Levon  <levon@movementarian.org>
4186
4187         * text3.C: use a proper cut/paste when doing inset
4188         insert (from Jürgen Spitzmüller)
4189
4190 2003-06-01  John Levon  <levon@movementarian.org>
4191
4192         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4193
4194 2003-05-30  André Pönitz  <poenitz@gmx.net>
4195
4196         * rowpainter.C: unify second drawing phase
4197
4198 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * trans_mgr.C: remove one case of current_view
4201
4202         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4203
4204         * paragraph_funcs.h: remove paragraph.h include
4205
4206         * paragraph.h: delete NO_STD_LIST stuff
4207
4208         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4209
4210         * buffer.h: remove paragraph.h include
4211
4212         * ParagraphList.C: delete file
4213
4214         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4215
4216         * toc.C (getTocList): adjust
4217
4218         * paragraph_pimpl.C (validate): adjust
4219
4220         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4221
4222         * paragraph.C (Paragraph): adjust
4223         (getPositionOfInset): use const_iterator, adjust
4224         (bibitem): use const_iterator, adjust
4225         (setInsetOwner): adjust
4226
4227         * iterators.C (operator++): adjust
4228
4229         * InsetList.[Ch]: Replace selfmade iterator with standard
4230         vector::iterator also introduce const_iterator. Remove getPos,
4231         getInset and setInset from InsetTable. Adjust accordingly.
4232
4233         * BufferView.C (lockInset): adjust
4234         (ChangeInsets): adjust
4235
4236         * tabular.[Ch]: delete commented same_id functions
4237
4238 2003-05-28  John Levon  <levon@movementarian.org>
4239
4240         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4241
4242 2003-05-28  André Pönitz  <poenitz@gmx.net>
4243
4244         * metricsinfo.[Ch]: remove 'fullredraw' member
4245
4246 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4247
4248         * lyxtextclass.C (operator): remove caching.
4249
4250 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text3.C: adjust
4253
4254         * text2.C (cursorBottom): adjust
4255         (setCounter): use ParagraphList::find, adjust
4256
4257         * text.C (workWidth): use ParagraphList::find, adjust
4258
4259         * lyxcursor.C (LyXCursor): adjust
4260
4261         * buffer.C (inset_iterator): adjust
4262
4263         * ParagraphList.h: make iterator(value_type) private, make
4264         ParagraphList a friend of iterator.
4265
4266         * ParagraphList.C (find): new function
4267
4268         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4269
4270 2003-05-27  André Pönitz  <poenitz@gmx.net>
4271
4272         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4273
4274 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4275
4276         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4277
4278 2003-05-26  John Levon  <levon@movementarian.org>
4279
4280         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4281
4282 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * remove same_id from function signatures, adjust.
4285
4286 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4289
4290         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4291
4292         * paragraph.C (Paragraph): get rid of same_ids parameter
4293
4294         * ParagraphList.C (insert): adjust
4295         (push_back): adjust
4296
4297 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * paragraph_funcs.C (breakParagraph): adjust
4300         (breakParagraphConservative): adjust
4301
4302         * buffer.C (readParagraph): adjust
4303
4304         * ParagraphList.C (insert): take a reference instead of a pointer
4305         (insert): adjust
4306
4307         * paragraph.[Ch] (id): new function
4308
4309         * bufferlist.C (newFile): adjust
4310
4311         * ParagraphList.C (ParagraphList): adjust
4312         (assign): adjust
4313         (push_back): take a reference instead of a pointer.
4314
4315         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4316
4317         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4318         instead.
4319
4320         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4321         set else use old code.
4322
4323         * ParagraphList.C: remove all NO_NEXT code and only compile this
4324         code of NO_STD_LIST is set.
4325
4326 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * BufferView_pimpl.C:
4329         * TextCache.C:
4330         * TextCache.h:
4331         * bufferlist.C:
4332         * errorlist.h:
4333         * format.C:
4334         * format.h:
4335         * graph.C:
4336         * lyxfunc.C:
4337         * lyxrc.C:
4338         * graphics/GraphicsConverter.C:
4339         * graphics/PreviewLoader.C: header adjustment
4340
4341 2003-05-23  Angus Leeming  <leeming@lyx.org>
4342
4343         * LaTeXFeatures.[Ch] (useBabel): new method.
4344         * bufferparams.C (writeLaTeX): use it.
4345
4346 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * ParagraphList.h (set): remove unused function.
4349
4350 2003-05-23  André Pönitz  <poenitz@gmx.net>
4351
4352         * BufferView.C:
4353         * BufferView_pimpl.C:
4354         * buffer.C:
4355         * buffer.h:
4356         * lyxfunc.C:
4357         * undo_funcs.C: setUndo reworked
4358
4359         * iterators.[Ch]: add access to topmost ParagraphList
4360
4361         * lyxtext.[Ch] (workWidth): add a const
4362
4363 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * texrow.[Ch] (increasePos): remove function
4366         * exporter.C (export): removed unused var and outdated comment
4367
4368 2003-05-23  Angus Leeming  <leeming@lyx.org>
4369
4370         * latexrunparams.h: rename fragile as moving_arg.
4371         * paragraph.C (simpleTeXOnePar): ditto.
4372         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4373
4374 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4377         (createUndo): ditto
4378         (textUndoOrRedo): comment out a currently unused var.
4379
4380         * paragraph.h (NO_NEXT): enable NO_NEXT
4381
4382         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4383
4384         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4385
4386         * exporter.C (Export): adjust for removeAutoInsets removal.
4387
4388         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4389
4390         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4391
4392         * BufferView.[Ch] (removeAutoInsets): delete function
4393
4394 2003-05-22  Angus Leeming  <leeming@lyx.org>
4395
4396         * latexrunparams.h: add a free_spacing variable.
4397
4398         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4399         to pass moving_arg, as the data is stored in runparams.fragile.
4400
4401         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4402         to Inset::latexOptional or to simpleTeXOnePar.
4403
4404         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4405         free_spacing arg to Inset::latexOptional.
4406
4407         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4408         free_spacing arg.
4409
4410 2003-05-22  Angus Leeming  <leeming@lyx.org>
4411
4412         * latexrunparams.h: add fragile and use_babel variables.
4413
4414         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4415         * buffer.C (makeLaTeXFile): store this returned value in
4416         runparams.use_babel, thus passing it to the inset::latex methods.
4417
4418         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4419         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4420
4421         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4422         longer has a fragile arg, as it is stored in runparams.fragile.
4423
4424         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4425         moving_arg parameter as the data is stored in runparams.fragile.
4426
4427         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4428         a fragile parameter as the data is stored in runparams.fragile.
4429
4430 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4433
4434 2003-05-22  Angus Leeming  <leeming@lyx.org>
4435
4436         * latexrunparams.h: add a 'bool nice' which defaults to false.
4437
4438         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4439         now encapsulated within runparams.
4440
4441         * bufferlist.C (updateIncludedTeXfiles):
4442         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4443
4444 2003-05-22  Angus Leeming  <leeming@lyx.org>
4445
4446         * latexrunparams.h: new file containing struct LatexRunParams.
4447         * Makefile.am: add new file.
4448
4449         * LaTeX.[Ch] (c-tor, run):
4450         * buffer.[Ch] (makeLaTeXFile):
4451         * bufferlist.[Ch] (updateIncludedTeXfiles):
4452         * converter.C (convert, scanLog):
4453         * converter.[Ch] (runLaTeX):
4454         * exporter.C (Export):
4455         * paragraph.[Ch] (simpleTeXOnePar):
4456         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4457         * paragraph_funcs.[Ch] (latexParagraphs):
4458         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4459         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4460         pass around a LatexRunParams parameter.
4461
4462 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * paragraph.[Ch]: remove unused constructor
4465
4466         * ParagraphList.C (erase): new function, taking two iterators
4467
4468 2003-05-22  André Pönitz  <poenitz@gmx.net>
4469
4470         * undo_funcs.C: remove duplicated code
4471
4472         * iterator.[Ch]: operator=
4473
4474 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * tabular.C (SetMultiColumn): ws changes
4477
4478         * rowpainter.C (paintFirst): get rid of a ->previous
4479
4480         * lyx_cb.C (getPossibleLabel): parlist simplification
4481
4482         * BufferView.C (ChangeInsets): simplify slightly.
4483
4484 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4485
4486         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4487         * lfuns.h: new LFUN_SPACE
4488         * lyxfunc.C: protected space has a new lfun
4489         * paragraph_funcs.C: read new space insets
4490         * text3.C:
4491         * factory.C: handle new space insets
4492
4493 2003-05-22  André Pönitz  <poenitz@gmx.net>
4494
4495         * BufferView.C:
4496         * BufferView_pimpl.C:
4497         * buffer.[Ch]:
4498         * lyxfunc.C:
4499         * undo_funcs.C: return a ParIterator from getParFromID.
4500
4501         * iterators.[Ch]: add two const's
4502
4503 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * toc.C (getTocList): adjust
4506
4507         * iterators.[Ch]: rework for parlist
4508
4509         * buffer.C (par_iterator_begin): adjust
4510         (par_iterator_end): adjust
4511
4512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4513
4514         * BufferView.C (removeAutoInsets): adjust
4515         (ChangeInsets): adjust
4516
4517 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4518
4519         * text.C (top_y): fix bug 1110
4520
4521 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * errorlist.[Ch]: added
4524         * buffer.C:
4525         * BufferView.[Ch]:
4526         * BufferView_pimpl.C:
4527         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4528         instead
4529
4530 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * Makefile.am: ensure that lyx is relinked upon changes to the
4533         various "convenience" libs.
4534
4535 2003-05-20  Angus Leeming  <leeming@lyx.org>
4536
4537         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4538         files are compiled in alphabetical order again.
4539
4540         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4541
4542 2003-05-19  Angus Leeming  <leeming@lyx.org>
4543
4544         * gettext.[Ch]: remove "char const * _(char const *)".
4545
4546 2003-05-19  André Pönitz  <poenitz@gmx.net>
4547
4548         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4549
4550         * Makefile.am:
4551         * BufferView.C:
4552         * DepTable.h:
4553         * LaTeXFeatures.C:
4554         * buffer.C:
4555         * lyxfont.C:
4556         * lyxlex.h:
4557         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4558
4559 2003-05-19  André Pönitz  <poenitz@gmx.net>
4560
4561         * buffer.C:
4562         * lyxlayout.[Ch]:
4563         * lyxtextclass.[Ch]:
4564         * paragraph.C:
4565         * paragraph_funcs.[Ch]:
4566         * text2.C:
4567         * text3.C: more insetenv work
4568
4569 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * ParagraphParameters.C (params2string): small bug fixed
4572
4573 2003-05-16  André Pönitz  <poenitz@gmx.net>
4574
4575         * debug.C:
4576         * bufferview_funcs.C: patch from Kornel Benko to prevent
4577           crash when _(...) is called twice in a statement
4578
4579 2003-05-16  André Pönitz  <poenitz@gmx.net>
4580
4581         * BufferView.C:
4582         * lyxfunc.C:
4583         * text.C:
4584         * text2.C:
4585         * text3.C:
4586         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4587
4588 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4589
4590         * lyx_main.C (init): remove spurious static_cast
4591
4592 2003-05-14  André Pönitz  <poenitz@gmx.net>
4593
4594         * BufferView.C: fix format string
4595
4596 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * BufferView.[Ch] (insertErrors): removed
4599         * BufferView.[Ch] (showErrorList): added
4600         * buffer.C (runChkTeX):
4601         * converter.C (scanLog): call showErrorList instead of inserterrors
4602
4603 2003-05-13  André Pönitz  <poenitz@gmx.net>
4604
4605         * BufferView_pimpl.C:
4606         * buffer.C:
4607         * bufferview_func.C:
4608         * MenuBackend.C:
4609         * lyxfunc.C:
4610         * lyxrc.C:
4611         * tex-accent.C:
4612         * text3.C:
4613         * toc.C:
4614         * tabular_funcs.h: tostr() from its own header
4615
4616         * ParagraphParameters.C:
4617         * ToolbarBackend.C:
4618         * bufferparams.C:
4619         * format.C:
4620         * lyxlex_pimpl.C:
4621         * text3.C: STRCONV()
4622
4623 2003-05-12  André Pönitz  <poenitz@gmx.net>
4624
4625         * BufferView.C:
4626         * BufferView_pimpl.C:
4627         * CutAndPaste.C:
4628         * LaTeX.C:
4629         * LaTeXFeatures.C:
4630         * ParagraphParameters.C:
4631         * buffer.C:
4632         * bufferlist.C:
4633         * bufferparams.C:
4634         * bufferview_funcs.C:
4635         * converter.C:
4636         * counters.C:
4637         * debug.C:
4638         * exporter.C:
4639         * format.C:
4640         * importer.C:
4641         * lyx_cb.C:
4642         * lyx_main.C:
4643         * lyxfont.C:
4644         * lyxfunc.C:
4645         * lyxvc.C:
4646         * paragraph.C:
4647         * paragraph_funcs.C:
4648         * tabular.C:
4649         * tabular_funcs.C:
4650         * text2.C:
4651         * text3.C:  boost::format -> bformat  all over the place
4652
4653
4654 2003-05-09  André Pönitz  <poenitz@gmx.net>
4655
4656         * LColor.[Ch]: Pimpl the #include <map> away
4657
4658 2003-05-09  John Levon  <levon@movementarian.org>
4659
4660         * bufferlist.C: never remove emergency saves
4661
4662 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * Makefile.am: better lib building
4665
4666 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4669         instead.
4670         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4671         (simpleTeXSpecialChars): adjust
4672         (simpleTeXSpecialChars): adjust
4673         * paragraph.C (simpleTeXOnePar): adjust
4674         * buffer.C (makeLaTeXFile): adjust
4675
4676         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4677
4678         * text2.C (changeDepth): parlist cleanup
4679         (getColumnNearX): ditto
4680
4681         * rowpainter.C (getLabelFont): parlist cleanup
4682
4683         * bufferlist.C (newFile): parlist cleanup
4684
4685         * CutAndPaste.C (eraseSelection): parlist cleanup
4686
4687         * BufferView_pimpl.C (trackChanges): parlist cleanup
4688         (dispatch): ditto
4689
4690         * BufferView.C (lockInset): parlist cleanup.
4691         (ChangeInsets): ditto
4692
4693 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * CutAndPaste.h: Update file header.
4696
4697         * CutAndPaste.C: Update file header.
4698         Store the parts cut out of the Document in a limited_stack.
4699         (copySelection): adjust
4700         (pasteSelection): new function, takes the index in the limited stack.
4701         (nrOfParagraphs): adjust
4702         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4703         simplify error inset insertion.
4704         (checkPastePossible): adjust
4705
4706 2003-05-06  John Levon  <levon@movementarian.org>
4707
4708         * text2.C: don't cast wrap inset to float
4709
4710 2003-05-05  André Pönitz  <poenitz@gmx.net>
4711
4712         * iterator.C:
4713         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4714
4715         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4716           few naked Paragraph *.
4717
4718 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4719
4720         * bufferparams.C: Output warning if a document with missing
4721         TeX document class is loaded
4722         * exporter.C: Disable TeX exports if the document class is missing
4723         * lyxtextclass.C:
4724         * lyxtextclass.h:
4725         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4726         isTeXClassAvailable()
4727
4728 2003-05-03  John Levon  <levon@movementarian.org>
4729
4730         * BufferView.h:
4731         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4732         explicit cursor show/hide
4733
4734         * BufferView_pimpl.h:
4735         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4736         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4737
4738         * lyxfunc.C: hide cursor before dispatching.
4739
4740         * lyx_cb.C:
4741         * lyxfind.C:
4742         * text.C:
4743         * text3.C: remove explicit cursor hides
4744
4745 2003-05-02  André Pönitz  <poenitz@gmx.net>
4746
4747         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4748
4749         * undo_funcs.C:
4750         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4751           linked lists
4752
4753         * text2.C: tiny whitespace
4754
4755 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * undo_funcs.C: almost only ws changes.
4758
4759         * ParagraphList.C (splice): just return if pl is empty.
4760
4761 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * ParagraphList.C (splice): new function.
4764
4765         * CutAndPaste.C (pasteSelection): use it
4766
4767 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4768
4769         * CutAndPaste.C (pasteSelection): remove the last next and
4770         previous from this file.
4771
4772 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * CutAndPaste.C (pasteSelection): more clean up, user proper
4775         ParagraphList functions for pasteing.
4776
4777         * ParagraphList.C (insert): new function, three arg insert
4778
4779 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * ParagraphList.C (insert): new function, three arg insert
4782
4783         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4784         not on paragraphs.
4785
4786 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4789
4790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4793
4794 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4797         (copySelection): clean up a bit.
4798         (pasteSelection): use make_pair
4799
4800         * ParagraphList.C (ParagraphList): implement copy constructor
4801         (operator=): implement, base on copy constructor.
4802         (assign): new func
4803
4804         * paragraph.C (erase): return a bool
4805
4806         * paragraph_pimpl.C (erasePos): remove function, move contents...
4807         (erase): ... here. Return a bool.
4808         (erase): call erase instead of erasePos.
4809
4810 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * ParagraphList.h: define PitPosPair
4813         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4814         ParagraphList, fix a bug on pasting multiple pars
4815         * text2.C: change interface to C&P
4816
4817 2003-04-30  André Pönitz  <poenitz@gmx.net>
4818
4819         * undo_func.C: revert part of yesterday's patch 2
4820
4821 2003-04-30  John Levon  <levon@movementarian.org>
4822
4823         * LColor.C: s/tabular/table/
4824
4825 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * text3.C (dispatch): do not convert iterator -> pointer
4828         * undo_funcs.C (setCursorParUndo): ditto
4829         * text_funcs.C (transposeChars): ditto
4830
4831         * text2.C (setLayout): ws changes only
4832
4833         * text.C (breakParagraph): do not convert iterator -> pointer
4834         (insertChar): ditto
4835         (acceptChange): ditto
4836         (rejectChange): ditto
4837         (changeCase): ditto
4838         (Delete): ditto
4839         (backspace): ditto
4840
4841         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4842         pointer
4843
4844 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * text3.C (gotoInset): YABG (yet another bad getChar)
4847
4848 2003-04-29  André Pönitz  <poenitz@gmx.net>
4849
4850         * paragraph.h: make operator= private unimplemented as long as
4851           it is unusable
4852
4853         * ParagraphList.C: whitespace
4854
4855         * paragraph.[Ch]:
4856         * paragraph_pimpl.[Ch]:
4857         * paragraph_funcs.C:
4858         * CutAndPaste.C:
4859         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4860
4861         * text2.C:
4862           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4863
4864 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4867         * paragraph.[Ch] (erase):
4868         * paragraph_pimpl.[Ch] (erase): change return type and value
4869         * text2.C (cutSelection): some rework
4870
4871 2003-04-28  John Levon  <levon@movementarian.org>
4872
4873         * bufferlist.C: changes for unsaved changes dialog
4874
4875 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * bufferlist.C (newFile): set language (messages_) for new
4878         documents also.
4879
4880         * buffer.C (readFile): ws changes only.
4881
4882 2003-04-28  André Pönitz  <poenitz@gmx.net>
4883
4884         * undo_funcs.C:
4885         * lyxfunc.C:
4886         * buffer.[Ch]:
4887         * BufferView_pimpl.C:
4888         * BufferView.C: getParFromID related ParagraphList::iterator changes
4889
4890 2003-04-28  André Pönitz  <poenitz@gmx.net>
4891
4892         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4893           Changes
4894
4895 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * messages.C: remove one more localedir class variable.
4898
4899 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * messages.C (getLocaleDir): singleton generation function
4902         (Pimpl): use it.
4903         (Messages): add a default constructor.
4904
4905         * main.C (main): do not setup localedir here, do not call
4906         gettext_init.
4907
4908         * gettext.C (_): use it.
4909         (gettext_init): delete funciton
4910
4911 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * gettext.C (getLyXMessages): new singleton generating function.
4914
4915         * buffer.C (updateDocLang): adjust
4916
4917         * Makefile.am (messages.o): add target
4918         (main.o): remove target
4919
4920 2003-04-27  John Levon  <levon@movementarian.org>
4921
4922         * bufferlist.C:
4923         * lyx_cb.C:
4924         * lyxfunc.C:
4925         * lyxvc.C: specify cancel button in Alert::prompt
4926
4927 2003-04-26  John Levon  <levon@movementarian.org>
4928
4929         * text3.C:
4930         * lyxfunc.C:
4931         * lfuns.h:
4932         * LyXAction.C: add LFUN_INSET_SETTINGS
4933
4934         * lyxfunc.C: don't enable tabular-feature when there's
4935         just any locking inset
4936
4937 2003-04-26  John Levon  <levon@movementarian.org>
4938
4939         * bufferlist.C: re-add Cancel to buffer close question
4940
4941         * lyxfunc.C: fix import UI a bit
4942
4943 2003-04-25  John Levon  <levon@movementarian.org>
4944
4945         * gettext.C: remove the broken asserts for now
4946
4947 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * messages.C: make case where setlocale cannot comply work better.
4950
4951         * buffer.C (updateDocLang): new function
4952         (changeLanguage): use it
4953         (readFile): use it
4954
4955         * text2.C (setCounter): use B_ a bit.
4956
4957         * lyxlayout.C (Read): be sure to trim the label strings.
4958
4959         * messages.C (Messages): fix typo in comment
4960
4961         * buffer.C (readFile): set message_ after file is loaded.
4962         (makeDocBookFile): remove double return
4963         (changeLanguage): reset message_ upon language change.
4964         (B_): new func, use this to get translated buffer strings.
4965
4966         * main.C: add myself and Jean Marc as authors.
4967
4968 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * messages.[hC]: pimplify Messages, and three different pimpls to be
4971         used in different circumstances.
4972
4973         * gettext.[Ch]: change for use with new message code.
4974
4975 2003-04-24 André Pönitz <poenitz@gmx.net>
4976
4977         * factory.C: support for eqref
4978
4979 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * messages.[Ch]: add missing char
4982
4983         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4984
4985         * messages.[Ch]: New files
4986
4987 2003-04-18  John Levon  <levon@movementarian.org>
4988
4989         * BufferView.h:
4990         * BufferView.C:
4991         * BufferView_pimpl.C:
4992         * lfuns.h:
4993         * LyXAction.C:
4994         * lyxtext.h:
4995         * text2.C: remove layout-copy/paste (bug 778)
4996
4997 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5000
5001 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5004         if they succeed. Act accordingly.
5005
5006 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * text2.C (setCharFont): adjust
5009         (setCounter): adjust
5010         (insertStringAsLines): adjust
5011
5012         * text.C (leftMargin): adjust
5013         (setHeightOfRow): adjust
5014
5015         * rowpainter.C (paintFirst): adjust
5016         (paintLast): adjust
5017
5018         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5019         (outerHook): ditto
5020         (isFirstInSequence): ditto
5021         (getEndLabel): ditto
5022         (outerFont): adjust
5023
5024         * paragraph.C (getParLanguage): comment out some hard stuff.
5025
5026         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5027         (sgmlError): ditto
5028         (simpleDocBookOnePar): ditto
5029         (makeDocBookFile): use ParagraphList::iterator
5030
5031         * CutAndPaste.C (pasteSelection): adjust
5032
5033 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * text2.C (getFont): adjust
5036         (getLayoutFont): adjust
5037         (getLabelFont): adjust
5038
5039         * paragraph_funcs.C (TeXOnePar): adjust
5040
5041         * buffer.C (simpleLinuxDocOnePar): adjust
5042         (simpleDocBookOnePar): adjust
5043
5044         * CutAndPaste.C (pasteSelection): adjust
5045
5046         * BufferView.C (getEncoding): adjust
5047
5048         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5049
5050 2003-04-16  John Levon  <levon@movementarian.org>
5051
5052         * lyxfind.C: use parlist stuff for search/changes
5053
5054 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5057
5058         * text2.C (deleteEmptyParagraphMechanism): adjust
5059
5060         * text2.[Ch] (ownerParagraph): delete func (both of them
5061
5062 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5065
5066 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * ParagraphList.C: prepare for NO_NEXT
5069
5070 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * text2.C (getFont): adjust
5073         (getLayoutFont): adjust
5074         (getLabelFont): adjust
5075
5076         * paragraph.C (getFont): adjust
5077         (getLabelFont): adjust
5078         (getLayoutFont): adjust
5079
5080         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5081
5082 2003-04-15  John Levon  <levon@movementarian.org>
5083
5084         From Angus Leeming
5085
5086         * lyx_main.C: handle Include in .ui files
5087
5088 2003-04-15  John Levon  <levon@movementarian.org>
5089
5090         * MenuBackend.C: make the doc files length shorter
5091
5092         * ToolbarBackend.h:
5093         * ToolbarBackend.C: handle toolbar placement flags,
5094         Minibuffer
5095
5096 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5099         adjust
5100
5101         * paragraph_funcs.C (TeXOnePar): adjust
5102
5103         * paragraph.C (getLabelFont): add outerfont arg, adjust
5104         (getLayoutFont): ditto
5105         (simpleTeXOnePar): adjust
5106
5107         * paragraph_pimpl.C (realizeFont): delete func
5108
5109 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5112         row argument, constify cur argument.
5113
5114 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * text2.C (getFont): adjust
5117         (getLayoutFont): adjust
5118         (getLabelFont): adjust
5119
5120         * paragraph_funcs.C (TeXOnePar): adjust
5121         (outerFont): new func...
5122         (realizeFont): ...moved out from here, changed this to facilitate
5123         transition
5124
5125         * paragraph.C (getFont): take outerfont as arg, adjust
5126         (simpleTeXOnePar): add outerfont arg, adjust
5127
5128         * buffer.C (simpleLinuxDocOnePar): adjust
5129         (simpleDocBookOnePar): adjust
5130
5131         * CutAndPaste.C (pasteSelection): adjust
5132
5133         * BufferView.C (getEncoding): adjust
5134
5135 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * text2.C (setCharFont): adjust
5138         (setCounter): adjust
5139
5140         * text.C (leftMargin): adjust
5141         (setHeightOfRow): adjust
5142
5143         * rowpainter.C (paintFirst): adjust
5144         (paintLast): adjust
5145
5146         * paragraph_pimpl.C (realizeFont): adjust
5147
5148         * paragraph.C (isFirstInSequence): move from here...
5149         * paragraph_funcs.C (isFirstInSequence): ...to here
5150
5151         * paragraph.C (outerHook): move from here...
5152         * paragraph_funcs.C (outerHook): ...to here
5153
5154         * paragraph.C (depthHook): move from here...
5155         * paragraph_funcs.C (depthHook): ...to here
5156
5157         * paragraph.C (getEndLabel): move from here...
5158         * paragraph_funcs.C (getEndLabel): ...to here
5159
5160         * text2.C (realizeFont): move from here...
5161         * paragraph_funcs.C (realizeFont): ...to here
5162
5163 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5166
5167 2003-04-14  Angus Leeming  <leeming@lyx.org>
5168
5169         * LColor.[Ch]: scrap LColor mathcursor.
5170
5171 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * lyxlex.[Ch] (text): delete function
5174         * trans.C (Load): adjust
5175         * paragraph_funcs.C (readParToken): adjust
5176
5177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5180         vector<char> instead of a char[].
5181
5182         * lyxlex_pimpl.C (getString): adjust
5183         (next): adjust
5184         (lex): use getString
5185         (eatLine): adjust
5186         (nextToken): adjust
5187
5188         * lyxlex.C (text): use pimpl_->getString()
5189         (getBool): ditto
5190         (findToken): ditto
5191
5192 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5195         (makeFontEntriesLayoutSpecific): temp var for par.size()
5196         (setLayout): temp var for ownerParagraphs().end()
5197         (fullRebreak): temp var for rows().end()
5198         (selectionAsString): temp var for boost::next(startpit), realize
5199         that the while really is a regular for loop.
5200         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5201         setCursor in one place.
5202         (setParagraph): temp vr for ownerParagraphs().end()
5203         (updateCounters): make the while loop a for loop
5204         (cutSelection): temp var for ownerParagraphs().end()
5205         (updateInset): make the do {} while() a regular for loop
5206         (getCursorX): use temp vars
5207         (setCurrentFont): use temp vars
5208         (getColumnNearX): use temp vars
5209
5210 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text.C (transformChar): use temp var for getChar
5213         (computeBidiTables): use temp var for row->par()
5214         (fill): move temp vars for row->par() and pit->layout() earlier in
5215         the function.
5216         (labelFill): use temp var for row->par()
5217         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5218         asc and desc, realize that pit never changes and that firstpit is
5219         just a duplicate and not needed. Exchange rit->par() with pit in a
5220         lot of places.
5221         (breakAgain): use a temp var for boost::next(rit)
5222         (breakAgainOneRow): ditto
5223         (breakParagraph): use a temp var for rows().begin()
5224         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5225         (cursorRightOneWord): use temp var for cursor.par() and
5226         cursor.pos(), remove usage of tmpcursor.
5227         (cursorLeftOneWord): use temp var for cursor.par() and
5228         cursor.pos() only set cur at end of function.
5229
5230 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * text.C, text2.C: exchange all usage of Paragraph::next with
5233         boost::next(ParagraphList::iterator)
5234
5235         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5236
5237         * text2.C (cursorTop): simplify implementation
5238         (cursorBottom): ditto
5239         (setParagraph): use ParagraphList::iterator
5240         (setCurrentFont): adjust
5241         (getColumnNearX): adjust
5242         (cursorRight): adjust
5243         (cursorLeft): remove usage of Paragraph::previous
5244         (cursorUpParagraph): ditto
5245         (deleteEmptyParagraphMechanism): slight cleanup
5246
5247         * text.C (isBoundary): take a Paragraph const & instead of a
5248         pointer as arg.
5249         (addressBreakPoint): ditto
5250         (leftMargin): remove usage of Paragraph::previous.
5251         (setHeightOfRow): ditto
5252         (cursorLeftOneWord): ditto
5253         (selectNextWordToSpellcheck): ditto
5254         (Delete): ditto
5255         (backspace): ditto
5256         (breakParagraph): remove one usage of Paragraph::next
5257         (redoParagraph): ditto
5258         (acceptChange): ditto
5259         (insertChar): adjust
5260         (rowBreakPoint): adjust
5261
5262         * bufferview_funcs.C (toggleAndShow): adjust
5263
5264 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5267         methods to access it.
5268         * lyxtext.h:
5269         * text.C: Added updateRowPositions to compute all row positions.
5270         Make top_y and getRowNearY() to use the cached y position
5271
5272 2003-04-11  John Levon  <levon@movementarian.org>
5273
5274         * text.C (rowBreakPoint): reintroduce the labelEnd
5275         checks, code copied from the row fill stuff. Deep voodoo.
5276
5277         * text.C (fill): add a comment and debugging for the
5278         next poor soul.
5279
5280 2003-04-11  John Levon  <levon@movementarian.org>
5281
5282         * text.C: make sure fullrow insets get wrapped to the next line,
5283         even when they're in a manual label
5284
5285 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * text2.C (insertParagraph): make it take ParagraphList::iterator
5288         as arg.
5289         (setLayout): make it return ParagraphList::iterator
5290         (redoParagraphs): ditto
5291         (setCounter): ditto
5292         (checkParagraph): ditto
5293
5294         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5295
5296         * text2.C: adjust several funcs.
5297         (realizeFont): take a ParagraphList::iterator as arg.
5298         (getLayoutFont): ditto
5299         (getLabelFont): ditto
5300         (setCharFont): ditto
5301
5302         * text.C: adjust several funcs.
5303
5304 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5305
5306         * text.C (selectNextWordToSpellcheck): don't accidentally
5307         skip insets
5308
5309 2003-04-10  John Levon  <levon@movementarian.org>
5310
5311         * ToolbarBackend.C (getIcon): special handling for
5312         LFUN_MATH_DELIM
5313
5314 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * text2.C (cursorRight): a getChar assert fixed
5317
5318 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * text2.C (getFont): change to take a ParagraphList::iterator
5321         instead of Paragraph*
5322         Adjust several functions.
5323
5324         * text.C (transformChar): change to take a ParagraphList::iterator
5325         instead of Paragraph*
5326         (singleWidth): ditto
5327         Adjust several functions.
5328
5329         * rowpainter.C: adjust several functions
5330         * rowpainter.h:store a ParagraphList::iterator and not a
5331         Paragraph&.
5332
5333
5334 2003-04-09  John Levon  <levon@movementarian.org>
5335
5336         * lyxfunc.C:
5337         * lfuns.h:
5338         * LyXAction.h:
5339         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5340         and the "help" bits as well
5341
5342 2003-04-09  John Levon  <levon@movementarian.org>
5343
5344         * ToolbarBackend.h:
5345         * ToolbarBackend.C: allow multiple toolbars
5346
5347 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * undo_funcs.C (setCursorParUndo): adjust
5350
5351         * text_funcs.C (transposeChars): adjust
5352
5353         * text3.C (gotoNextInset): adjust
5354         (dispatch): adjust
5355
5356         * text2.C (setLayout): adjust
5357         (changeDepth): adjust
5358         (setFont): adjust
5359         (redoParagraphs): adjust
5360         (selectionAsString): adjust
5361         (setParagraph): adjust
5362         (insertInset): adjust
5363         (cutSelection): adjust
5364         (copySelection): adjust
5365         (pasteSelection): adjust
5366         (insertStringAsLines): adjust
5367         (updateInset): adjust
5368         (setCursor): change to take a ParagraphList::iterator parameter
5369         (setCursorIntern): change to take a ParagraphList::iterator parameter
5370         (setCurrentFont): adjust
5371         (cursorLeft): adjust
5372         (cursorRight): adjust
5373         (deleteEmptyParagraphMechanism): adjust
5374
5375         * text.C (breakParagraph): adjust
5376         (insertChar): adjust
5377         (acceptChange): adjust
5378         (rejectChange): adjust
5379         (selectNextWordToSpellcheck): adjust
5380         (changeCase): adjust
5381         (Delete): adjust
5382         (backspace): adjust
5383
5384         * lyxfind.C (SearchForward): adjust
5385         (SearchBackward): adjust
5386         (nextChange): adjust
5387
5388         * lyxcursor.C (par): adjust
5389
5390         * lyxcursor.h: store a ParagraphList::iterator instead of a
5391         Paragraph*
5392
5393         * lyx_cb.C (getPossibleLabel): adjust
5394
5395         * bufferview_funcs.C (toggleAndShow): adjust
5396
5397         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5398         (dispatch): adjust
5399
5400         * BufferView.C (removeAutoInsets): adjust
5401         (lockedInsetStoreUndo): adjust
5402
5403 2003-04-09  John Levon  <levon@movementarian.org>
5404
5405         * ToolbarBackend.C: try icon without argument
5406         if with argument fails
5407
5408 2003-04-08  John Levon  <levon@movementarian.org>
5409
5410         * ToolbarBackend.h:
5411         * ToolbarBackend.C: add getIcon(), handle tooltip,
5412         and change from "Icon" to "Item".
5413
5414 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * BufferView.C (lockInset): another bad getchar crunched
5417
5418 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5421         again)
5422
5423 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5424
5425         * lyxfind.C (searchForward, searchBackwards): bug 782
5426
5427 2003-04-07  John Levon  <levon@movementarian.org>
5428
5429         * paragraph.C: remove dead comment
5430
5431         * text.C: remove troublesome depth-fiddling code
5432         in leftMargin() and rightMargin() (bug 1017)
5433
5434         * text.C: fix breaking of rows in nested lists
5435         (bug 1004)
5436
5437         * text2.C (updateCounters): fix up depth values
5438         (bug 1013)
5439
5440 2003-04-07  John Levon  <levon@movementarian.org>
5441
5442         * BufferView_pimpl.C: clear message when doc finishes resizing,
5443         and after a mouse event
5444
5445         * lyxfunc.C: clear message after exiting inset
5446
5447 2003-04-07  John Levon  <levon@movementarian.org>
5448
5449         * bufferview_funcs.C: show math status not outside
5450         status in the statusbar
5451
5452 2003-04-07  John Levon  <levon@movementarian.org>
5453
5454         * lyxfunc.C: note status changed after a depth change
5455
5456 2003-04-04  Angus Leeming  <leeming@lyx.org>
5457
5458         * LaTeX.h: move AuxInfo operator==, != out of line.
5459         Remove LaTeX virtual destructor; nothing derives from it.
5460         Move operator()() out of public area and rename it startscript().
5461         Change protected for private.
5462
5463 2003-04-04  Angus Leeming  <leeming@lyx.org>
5464
5465         * lyxfunc.C:
5466         * text2.C: remove unneeded #includes.
5467
5468 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5469
5470         * text2.C (dEPM): fix the heigth of the next row
5471
5472 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * text.C: squashed an invalid getChar requester + some ws changes
5475
5476 2003-04-03  John Levon  <levon@movementarian.org>
5477
5478         * bufferview_funcs.h:
5479         * bufferview_funcs.C:
5480         * lyxfunc.C:
5481         * lyxtext.h:
5482         * text2.C: make getStatus work for the env depth lfuns
5483
5484 2003-04-03  John Levon  <levon@movementarian.org>
5485
5486         * bufferview_funcs.h:
5487         * bufferview_funcs.C:
5488         * lyxfunc.C:
5489         * lyxtext.h:
5490         * text2.C: parlistize decDepth(), by merging it with incDepth()
5491
5492 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * lyxrow.h: store a ParagraphList::iterator instead of a
5495         Paragraph* and adjust other class functions to suit.
5496
5497         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5498         above.
5499
5500 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5501
5502         * text2.C (setCursor): do not anchor to cursor row for the time being
5503
5504 2003-04-02  John Levon  <levon@movementarian.org>
5505
5506         * LyXAction.C:
5507         * lfuns.h:
5508         * lyx_main.C:
5509         * lyxtext.h:
5510         * text.C:
5511         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5512
5513 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * paragraph.h: make ParagraphList and ParagraphList::iterator
5516         friends of Paragraph.
5517
5518         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5519
5520         * ParagraphList.C: Use the private next_ and previous_ from
5521         Paragraph.
5522
5523 2003-04-01  John Levon  <levon@movementarian.org>
5524
5525         * ToolbarBackend.h:
5526         * ToolbarBackend.C:
5527         * Makefile.am: rename, remove defaults gunk
5528
5529         * MenuBackend.h:
5530         * MenuBackend.C: remove defaults gunk
5531
5532         * Languages.h:
5533         * Languages.C: remove defaults gunk
5534
5535         * lyx_main.h:
5536         * lyx_main.C: error out if files couldn't be found.
5537
5538 2003-04-02  John Levon  <levon@movementarian.org>
5539
5540         * text2.C: make incDepth() use parlist
5541
5542 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * undo_funcs.C (firstUndoParagraph): adjust
5545
5546         * text3.C (gotoInset): adjust
5547         (dispatch): adjust, and rewrite loop.
5548
5549         * text2.C (init): adjust, and rewrite loop.
5550         (redoParagraphs): adjust
5551         (updateInset): adjust, and rewrite loop.
5552         (deleteEmptyParagraphMechanism): adjust
5553
5554         * tabular.C (LyXTabular): adjust
5555         (SetMultiColumn): adjust
5556         (TeXRow): adjust
5557
5558         * lyxtext.[Ch] (ownerParagraph): delete function
5559         (ownerParagraphs): new function returns a ParagraphList.
5560
5561         * BufferView.C (removeAutoInsets): adjust
5562         (insertErrors): adjust
5563         (setCursorFromRow): adjust
5564
5565 2003-04-01  Angus Leeming  <leeming@lyx.org>
5566
5567         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5568         in the frontends.
5569
5570 2003-04-02  John Levon  <levon@movementarian.org>
5571
5572         * lyxtext.h:
5573         * text.C:
5574         * Makefile.am:
5575         * text_funcs.h:
5576         * text_funcs.C: make transposeChars a free function
5577
5578         * lyxrow_funcs.C: remove wrong comment
5579
5580 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * lyxtext.h: adjust
5583         * rowpainter.C: adjust
5584         * text.C: adjust
5585         * text2.C: adjust
5586         * text3.C: adjust
5587
5588         * lyxrow_funcs. [Ch]: new files
5589
5590         * lyxrow.[Ch]: remove next and previous pointers
5591         (next,previous): remove accessor functions
5592         (isParEnd): move to lyxrow_funcs
5593         (lastPos): move to lyxrow_funcs
5594         (nextRowIsAllInset): move to lyxrow_funcs
5595         (lastPrintablePos): move to lyxrow_funcs
5596         (numberOfSeparators): move to lyxrow_funcs
5597         (numberOfHfills): move to lyxrow_funcs
5598         (numberOfLabelHfills): move to lyxrow_funcs
5599         (hfillExpansion): move to lyxrow_funcs
5600
5601         * lyxfunc.C: adjust
5602
5603         * bufferview_funcs.C (toggleAndShow): adjust
5604
5605         * RowList.h: Remove class RowList from file leave just a
5606         std::list<Row>.
5607
5608         * RowList.C: delete file
5609
5610         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5611         and lyxrow_funcs.h
5612
5613 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * text3.C (cursorPrevious): adjust
5616         (cursorNext): adjust
5617         (dispatch): adjust
5618
5619         * text2.C (redoHeightOfParagraph): adjust
5620         (redoDrawingOfParagraph): adjust
5621         (setCursor): adjust
5622
5623         * text.C (breakParagraph): adjust
5624         (insertChar): adjust
5625         (backspace): adjust
5626
5627         * rowpainter.C (RowPainter): adjust
5628         (leftMargin): simplify and adjust
5629         (most rowpainter functions): adjust.
5630
5631         * rowpainter.h: store the row as RowList::iterator not as Row*
5632
5633         * lyxcursor.C (row): taka RowList::iterator as arg
5634         (irow): ditto
5635
5636         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5637         of Row*.
5638
5639 2003-04-01  Angus Leeming  <leeming@lyx.org>
5640
5641         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5642         stuff like bool Bool.
5643
5644 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5647         rewrite a loop
5648
5649 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5652         RowList::iterator.
5653
5654         * lyxtext.h (rows): drop one version and leve a const variant that
5655         returns a RowList::iterator.
5656
5657 2003-03-31  Angus Leeming  <leeming@lyx.org>
5658
5659         * text.C (fill): ensure that the signature is the same as that in the
5660         header file.
5661
5662 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * text2.C (redoParagraphs): adjust
5665         (updateCounters): adjust
5666         (checkParagraph): adjust
5667         (getColumnNearX): adjust and reformat a bit.
5668
5669         * text.C (top_y): adjust
5670         (workWidth): adjust
5671         (leftMargin): adjust
5672         (prepareToPrint): adjust
5673         (getRow): adjust
5674         (getRowNearY): adjust
5675
5676         * lyxtext.h: make rowlist_ mutable.
5677
5678         * RowList.h: add const_iterator
5679         * RowList.C: adjust for RowList::const_iterator.
5680
5681         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5682         adjust.
5683
5684 2003-03-31  John Levon  <levon@movementarian.org>
5685
5686         * lyxrc.h:
5687         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5688
5689         * lyx_main.C: set default fonts from using lyx_gui funcs
5690
5691         * exporter.C: pdf_mode moved from lyxrc
5692
5693         * lyx_cb.C:
5694         * lyxfunc.C: changes from above
5695
5696 2003-03-31  John Levon  <levon@movementarian.org>
5697
5698         * lyx_main.C: fix to the last fix
5699
5700 2003-03-31  John Levon  <levon@movementarian.org>
5701
5702         * bufferlist.C: "Load original" -> "Load Original"
5703
5704         * converter.C:
5705         * exporter.C:
5706         * importer.C:
5707         * lyx_main.C:
5708         * format.C: more Alert cleanups
5709
5710 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * text2.C (removeParagraph): make it take a RowList::iterator as
5713         arg, adjust.
5714         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5715         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5716
5717         * text.C (anchor_row): make it take a RowList::iterator as arg,
5718         adjust.
5719         (computeBidiTables): make it take a const reference to Row instead
5720         of Row pointer, adjust.
5721         (leftMargin): make it take a RowList::iterator as arg, adjust.
5722         (rowBreakPoint): adjust
5723         (breakAgainOneRow): make it take a RowList::iterator as arg,
5724         adjust.
5725         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5726
5727         * bufferview_funcs.C (toggleAndShow): adjust
5728
5729 2003-03-30  John Levon  <levon@movementarian.org>
5730
5731         * Makefile.am:
5732         * BoostFormat.h:
5733         * boost-inst.C: moved to support
5734
5735         * several files: changes as a result
5736
5737 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * text2.C (LyXText): adjust.
5740         (init): adjust
5741         (removeRow): make it take a RowList::iterator as arg, adjust.
5742         (fullRebreak): adjust
5743         (deleteEmptyParagraphMechanism): adjust
5744         (clearPaint): adjust
5745         (postPaint): adjust
5746
5747         * text.C (top_y): adjust
5748         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5749         (breakAgain): make it take a RowList::iterator as arg, adjust.
5750         (breakParagraph): adjust
5751         (insertChar): adjust
5752         (backspace): adjust
5753
5754         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5755         need_break_row, and refresh_row.
5756
5757         * text3.C (dispatch): adjust
5758
5759         * text2.C (checkParagraph): adjust
5760         (setCursor): adjust
5761         (setCursorFromCoordinates): adjust
5762
5763         * text.C (top_y): adjust
5764         (workWidth): adjust
5765         (getRow): make it return a RowList::iterator, adjust
5766         (getRowNearY): make it return a RowList::iterator, adjust
5767
5768         * text2.C (init): adjust
5769         (insertRow): remove function
5770         (insertParagraph): adjust
5771         (redoParagraphs): adjust
5772         (fullRebreak): adjust
5773         (updateCounters): adjust
5774
5775         * text.C (top_y): rewrite to use RowList iterators.
5776         (top_y): adjust
5777         (setHeightOfRow): rewrite to sue RowList iterators.
5778         (appendParagraph): adjust
5779         (breakAgain): adjust
5780         (breakAgainOneRow): adjust
5781         (breakParagraph): adjust
5782         (getRow): adjust
5783         (getRowNearY): adjust, and remove commented code.
5784
5785         * lyxtext.h (firstRow): delete function
5786         (lastRow): delete function
5787         (rows): new function (const and non-const versions.)
5788         (insertRow): delete function
5789
5790         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5791
5792 2003-03-29  John Levon  <levon@movementarian.org>
5793
5794         * BufferView_pimpl.C: always update scrollbar top
5795         because pasting text when we're anchored could mean we
5796         miss an update altogether
5797
5798 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * text2.C (init): use rowlist_.end() and not 0.
5801         (insertRow): change to take a RowList::iterator as arg, adjust
5802         for this.
5803         (insertParagraph): change to take a RowList::iterator as arg,
5804         adjust for this.
5805         (redoParagraphs): remove some debug msgs.
5806
5807         * text.C (appendParagraph): change to take a RowList::iterator
5808         arg, adjust for this.
5809         (breakAgain): add an assert
5810         (breakAgainOneRow): ditto
5811
5812 2003-03-29  John Levon  <levon@movementarian.org>
5813
5814         * text2.C: do not clear selection after inc/decDepth
5815         (bug 550)
5816
5817 2003-03-29  John Levon  <levon@movementarian.org>
5818
5819         * BufferView.C:
5820         * buffer.C: fix broken strerrors according to Lars
5821
5822 2003-03-29  John Levon  <levon@movementarian.org>
5823
5824         * converters.C: more Alert cleanups
5825
5826 2003-03-29  John Levon  <levon@movementarian.org>
5827
5828         * bufferview_funcs.C: remove pointless Alert
5829
5830         * buffer.C: fix confusing error message when
5831         a template is chmoded 000
5832
5833 2003-03-29  John Levon  <levon@movementarian.org>
5834
5835         * BufferView.C:
5836         * BufferView.h:
5837         * BufferView_pimpl.C: Alert fixes
5838
5839         * Makefile.am:
5840         * tabular.C:
5841         * tabular-old.C: remove unused table compat reading
5842
5843 2003-03-29  John Levon  <levon@movementarian.org>
5844
5845         * BufferView.C:
5846         * buffer.C:
5847         * lyx_cb.h:
5848         * lyx_cb.C: more Alert cleanups
5849
5850         * lyxfunc.C: don't allow chktex if not latex document
5851
5852 2003-03-29  John Levon  <levon@movementarian.org>
5853
5854         * lyx_cb.C:
5855         * BufferView.C:
5856         * buffer.C: warnings pushed down from support/,
5857         kill err_alert
5858
5859 2003-03-29  John Levon  <levon@movementarian.org>
5860
5861         * lyxfunc.C: safety check for C-r (revert)
5862
5863 2003-03-29  John Levon  <levon@movementarian.org>
5864
5865         * bufferlist.h:
5866         * bufferlist.C: several UI fixes using Alert::prompt.
5867         Fix the pointless looping quit code. Fix stupid revert
5868         behaviour (bug 938)
5869
5870         * lyxvc.h:
5871         * lyxvc.C:
5872         * lyx_cb.C: use Alert::prompt
5873
5874         * lyx_main.C: remove a silly question
5875
5876         * lyxfunc.C: remove a couple of silly questions,
5877         use Alert::prompt
5878
5879 2003-03-28  John Levon  <levon@movementarian.org>
5880
5881         * text2.C: fix bug 974 (End on empty par)
5882
5883 2003-03-28  John Levon  <levon@movementarian.org>
5884
5885         * BufferView_pimpl.C:
5886         * LyXAction.C:
5887         * lfuns.h: remove do-nothing math greek lfuns
5888
5889 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * lyxgluelength.h (isValidGlueLength): add default arg on
5892         parameter 2. Remove default arg from friend in class.
5893
5894         * lyxlength.h (isValidLength): add default arg on parameter 2.
5895         Remove default arg from friend in class.
5896
5897         * text2.C (LyXText): adjust, initialize refresh_row.
5898         (init): adjust
5899         (removeRow): adjust
5900         (insertRow): adjust
5901         (insertParagraph): adjst
5902         (redoParagraphs): adjust
5903         (fullRebreak): adjust
5904         (updateCounters): adjust
5905         (deleteEmptyParagraphMechanism): first attempt at fixing a
5906         crashing bug.
5907
5908         * text.C (top_y): adjust
5909         (setHeightOfRow): adjust
5910         (getRow): adjust
5911         (getRowNearY): adjust
5912
5913         * lyxtext.h: include RowList.h
5914         (~LyXText): not needed anymore, deleted.
5915         (firstRow): modify for RowList
5916         (lastRow): new function
5917         Delete firstrow and lastrow class variables, add a Rowlist
5918         rowlist_ class variable.
5919
5920         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5921         paragraph is empty.
5922
5923         * RowList.C (insert): fix case where it == begin().
5924
5925 2003-03-26  Angus Leeming  <leeming@lyx.org>
5926
5927         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5928         the thesaurus dialog.
5929
5930 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5933
5934         * RowList.[Ch]: new files
5935
5936         * ParagraphList.C (erase): handle the case where it == begin
5937         correctly.
5938
5939 2003-03-25  John Levon  <levon@movementarian.org>
5940
5941         * Makefile.am:
5942         * aspell_local.h:
5943         * aspell.C: add new aspell support
5944
5945         * lyxrc.h:
5946         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5947         have it accessible.
5948
5949 2003-03-25  Angus Leeming  <leeming@lyx.org>
5950
5951         * lfuns.h:
5952         * LyXAction.C (init): new LFUN_INSET_INSERT.
5953
5954         * BufferView_pimpl.C (dispatch): split out part of the
5955         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5956
5957         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5958         LFUN_INSET_APPLY.
5959
5960 2003-03-25  Angus Leeming  <leeming@lyx.org>
5961
5962         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5963
5964 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5965
5966         * text2.C:
5967         * text3.C: remove useless row->height(0)
5968
5969 2003-03-25  John Levon  <levon@movementarian.org>
5970
5971         * lyxtext.h:
5972         * text2.C:
5973         * text3.C: rename the refreshing stuff to better names
5974
5975 2003-03-24  John Levon  <levon@movementarian.org>
5976
5977         * BufferView_pimpl.h:
5978         * BufferView_pimpl.C: update layout choice on a mouse
5979         press/release
5980
5981 2003-03-23  John Levon  <levon@movementarian.org>
5982
5983         * Makefile.am: fix commandtags.h reference
5984
5985 2003-03-22  John Levon  <levon@movementarian.org>
5986
5987         * BufferView_pimpl.C:
5988         * lyxtext.h:
5989         * rowpainter.C:
5990         * rowpainter.h:
5991         * text.C:
5992         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5993
5994 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * lyxtext.h:
5997         * text.C: take the rtl methods out of line
5998
5999 2003-03-21 André Pönitz <poenitz@gmx.net>
6000
6001         * metricsinfo.[Ch]: new files containing structures to be passed around
6002         during the two-phase-drawing...
6003
6004 2003-03-21 André Pönitz <poenitz@gmx.net>
6005
6006         * lyxtextclass.C: read 'environment' tag.
6007
6008 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * text2.C (removeRow): fix bug 964
6011
6012 2003-03-20  John Levon  <levon@movementarian.org>
6013
6014         * rowpainter.C:
6015         * text.C:
6016         * text2.C: paint cleanups. Inset::update() dropped font
6017         parameter
6018
6019 2003-03-19  John Levon  <levon@movementarian.org>
6020
6021         * lyxfunc.C: only fitcursor/markDirty if available()
6022
6023 2003-03-19  John Levon  <levon@movementarian.org>
6024
6025         * commandtags.h: rename to ...
6026
6027         * lfuns.h: ... this, and renumber / cleanup
6028
6029 2003-03-19  John Levon  <levon@movementarian.org>
6030
6031         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6032         fit the cursor after an lfun
6033
6034         * BufferView.h:
6035         * BufferView.C:
6036         * BufferView_pimpl.h:
6037         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6038
6039         * LyXAction.C: layout-character should have ReadOnly
6040
6041         * ParagraphParameters.C:
6042         * buffer.C:
6043         * bufferview_funcs.C:
6044         * lyx_cb.C:
6045         * lyxfind.C:
6046         * lyxtext.h:
6047         * text.C:
6048         * text2.C:
6049         * text3.C:
6050         * undo_funcs.C: changes from above
6051
6052 2003-03-18  John Levon  <levon@movementarian.org>
6053
6054         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6055         remove it from update()
6056
6057         * lyxfunc.C: update layout choice after an lfun
6058
6059         * text3.C: remove extra updateLayoutChoice()s
6060
6061 2003-03-18  John Levon  <levon@movementarian.org>
6062
6063         * text.C: top_y change means full repaint, fix
6064         a drawing bug with cursor movement
6065
6066 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6067
6068         * lyxtext.h:
6069         * text.C:
6070         * text2.C: anchor row on setCursor
6071
6072 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * lyxtext.h: remove almost all mutable keywords
6075         * text.C:
6076         * text2.C:
6077         * text3.C: remove const keywords accordingly
6078
6079 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6082         anon namespace
6083         (TeXEnvironment): ditto
6084         (TeXOnePar): ditto
6085
6086 2003-03-17  John Levon  <levon@movementarian.org>
6087
6088         * text.C (rowBreakPoint): remove attempt to fix displayed
6089         math insets inside a manual label
6090
6091 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * lyxtext.h: remove BufferView* as first arg from almost all class
6094         functions.
6095         * other files: adjust.
6096
6097 2003-03-17  John Levon  <levon@movementarian.org>
6098
6099         * lyxtext.h:
6100         * undo_funcs.C:
6101         * text2.C: more paint cleanups
6102
6103         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6104
6105         * rowpainter.h:
6106         * rowpainter.C: remove "smart" background painting code
6107
6108 2003-03-16  John Levon  <levon@movementarian.org>
6109
6110         * lyxtext.h:
6111         * text.C:
6112         * text2.C:
6113         * text3.C: add helper functions for setting refresh_row/y
6114
6115 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6116
6117         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6118         newline inset which *can* get inserted in the pass_thru layouts.
6119         This is primarily for literate documents.
6120
6121 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6122
6123         * buffer.C: increment LYX_FORMAT to 223
6124
6125 2003-03-14 André Pönitz <poenitz@gmx.net>
6126
6127         * textclass.h: prepare for environment handling, ws changes
6128         * lyxlayout.C: read latexheader and latexfooter tags
6129
6130 2003-03-14  John Levon  <levon@movementarian.org>
6131
6132         * text2.C: rewrite ::status() a bit
6133
6134 2003-03-13  John Levon  <levon@movementarian.org>
6135
6136         * lyxtext.h: add some docs
6137
6138 2003-03-13  John Levon  <levon@movementarian.org>
6139
6140         * lyxtext.h:
6141         * text.C:
6142         * text2.C:
6143         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6144
6145 2003-03-13  John Levon  <levon@movementarian.org>
6146
6147         * text3.C: fix appendix redrawing
6148
6149 2003-03-13  John Levon  <levon@movementarian.org>
6150
6151         * text.C (setHeightOfRow):
6152         * rowpainter.h:
6153         * rowpainter.C: make appendix mark have the text
6154           "Appendix" so the user knows what it is
6155
6156         * LColor.h:
6157         * LColor.C: s/appendixline/appendix/ from above
6158
6159 2003-03-13  John Levon  <levon@movementarian.org>
6160
6161         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6162
6163         * text.C: fix a getChar(pos) bug properly
6164
6165 2003-03-13  Angus Leeming  <leeming@lyx.org>
6166
6167         * commandtags.h:
6168         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6169         Probably only temporary. Let's see how things pan out.
6170
6171         * BufferView.C (unlockInset):
6172         * BufferView_pimpl.C (fitCursor):
6173         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6174
6175         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6176         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6177
6178         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6179         new functions that convert ParagraphParameters to and from a string.
6180
6181         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6182         BufferView::Pimpl's dispatch.
6183         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6184
6185 2003-03-13 André Pönitz <poenitz@gmx.net>
6186
6187         * lyxfunc.C:
6188         * text3.C:
6189         * factory.C: make it aware of InsetEnv
6190
6191 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * text2.C (setCursor): never ask for one past last
6194         (setCursor): add some debugging messages.
6195
6196         * text.C (singleWidth): never ask for one past last
6197         (singleWidth): ditto
6198         (leftMargin): ditto
6199         (rightMargin): ditto
6200         (rowBreakPoint): ditto
6201         (setHeightOfRow): ditto
6202         (prepareToPrint): ditto
6203
6204         * rowpainter.C (paintBackground): never ask for one past last
6205         (paintText): never ask for one past last
6206
6207         * paragraph_pimpl.C (getChar): make the assert stricter, never
6208         allow the one past last pos to be taken
6209
6210         * paragraph.C (getChar): ws changes only
6211
6212         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6213         (numberOfSeparators): ditto
6214         (numberOfHfills): ditto
6215
6216 2003-03-12  John Levon  <levon@movementarian.org>
6217
6218         * author.h:
6219         * author.C:
6220         * bufferparams.h:
6221         * bufferparams.C:
6222         * paragraph_funcs.C: fix per-buffer authorlists
6223
6224 2003-03-12  John Levon  <levon@movementarian.org>
6225
6226         * text.C: fix newline in right address
6227
6228 2003-03-12  Angus Leeming  <leeming@lyx.org>
6229
6230         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6231         duplicate those in LyXFunc::dispatch.
6232
6233         * commandtags.h:
6234         * LyXAction.C:
6235         * ToolbarDefaults.C:
6236         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6237         Add LFUN_FONTFREE_UPDATE.
6238
6239         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6240         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6241
6242         * bufferview_func.[Ch]: several new functions to facilliate
6243         transfer of data to and from the character dialog.
6244
6245 2003-03-12  John Levon  <levon@movementarian.org>
6246
6247         * buffer.C:
6248         * paragraph.h:
6249         * paragraph.C:
6250         * paragraph_funcs.C:
6251         * paragraph_pimpl.C:
6252         * sgml.C:
6253         * tabular.C:
6254         * text.C:
6255         * text3.C: remove META_NEWLINE in favour of an inset
6256
6257         * rowpainter.h:
6258         * rowpainter.C: remove paintNewline (done by inset)
6259
6260 2003-03-12  John Levon  <levon@movementarian.org>
6261
6262         * paragraph_pimpl.C: complain about bad getChar()s
6263         for a while at least
6264
6265 2003-03-12  John Levon  <levon@movementarian.org>
6266
6267         * buffer.h:
6268         * buffer.C: move paragraph read into a separate function,
6269         a little renaming to reflect that.
6270
6271         * bufferparams.h:
6272         * bufferparams.C: remove the author_ids map, not necessary now
6273
6274         * factory.h:
6275         * factory.C: moved Buffer::readInset to here
6276
6277         * paragraph_funcs.h:
6278         * paragraph_funcs.C: readParagraph free function moved from
6279         buffer.C
6280
6281         * tabular.C: name change
6282
6283 2003-03-12  John Levon  <levon@movementarian.org>
6284
6285         * buffer.C:
6286         * ParagraphParameters.C: move par params input to
6287         a read() method
6288
6289         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6290         behave like a normal read from the stream wrt reading
6291         a line vs. a \\token
6292
6293 2003-03-12  John Levon  <levon@movementarian.org>
6294
6295         * paragraph.C:
6296         * ParagraphParameters.h:
6297         * ParagraphParameters.C: move output code to a
6298         ::write() method
6299
6300 2003-03-12  John Levon  <levon@movementarian.org>
6301
6302         * BufferView.C (insertLyXFile):
6303         * buffer.h:
6304         * buffer.C:
6305         * tabular.C: use a parlist iterator for creating the
6306           document.
6307
6308 2003-03-12  John Levon  <levon@movementarian.org>
6309
6310         * buffer.C: make current_change static local not
6311           static file-scope
6312
6313 2003-03-12  John Levon  <levon@movementarian.org>
6314
6315         * buffer.C: fix insertStringAsLines for change tracking
6316
6317 2003-03-12  John Levon  <levon@movementarian.org>
6318
6319         * BufferView.C:
6320         * tabular.C:
6321         * buffer.h:
6322         * buffer.C:
6323         * bufferparams.h:
6324         * bufferparams.C: move author list into params. Rename some
6325           functions. Move the header reading into a separate token
6326           loop. Move the header token reading into BufferParams.
6327
6328 2003-03-12  John Levon  <levon@movementarian.org>
6329
6330         * changes.C: put debug inside lyxerr.debugging() checks
6331
6332 2003-03-11 André Pönitz <poenitz@gmx.net>
6333
6334         * factory.C: make it aware of InsetHFill
6335
6336 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6337
6338         * buffer.C (latexParagraphs): move function from here...
6339         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6340         args.
6341
6342 2003-03-10  Angus Leeming  <leeming@lyx.org>
6343
6344         * LyXAction.C (init): fix bug in poplating array with multiple entries
6345         with the same LFUN (spotted by JMarc).
6346
6347 2003-03-10  John Levon  <levon@movementarian.org>
6348
6349         * text.C:
6350         * text2.C: move getColumnNearX() near its
6351         only call site
6352
6353 2003-03-10  John Levon  <levon@movementarian.org>
6354
6355         * text.C: fix break before a minipage
6356
6357 2003-03-10  John Levon  <levon@movementarian.org>
6358
6359         * text.C: fix the last commit
6360
6361 2003-03-09  John Levon  <levon@movementarian.org>
6362
6363         * lyxtext.h:
6364         * text.C:
6365         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6366         bug 365 (don't break before insets unless needed). Don't
6367         return a value > last under any circumstances.
6368
6369 2003-03-09  Angus Leeming  <leeming@lyx.org>
6370
6371         * BufferView_pimpl.C (trackChanges, dispatch): call
6372         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6373
6374 2003-03-09  Angus Leeming  <leeming@lyx.org>
6375
6376         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6377         than Dialogs::showAboutlyx().
6378
6379 2003-03-09  Angus Leeming  <leeming@lyx.org>
6380
6381         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6382         than Dialogs::showTabularCreate().
6383
6384 2003-03-09  John Levon  <levon@movementarian.org>
6385
6386         * lyxtext.h:
6387         * text.C:
6388         * text2.C: 3rd arg to nextBreakPoint was always the same.
6389           Use references.
6390
6391 2003-03-08  John Levon  <levon@movementarian.org>
6392
6393         * lyxrow.C:
6394         * paragraph.C:
6395         * paragraph.h:
6396         * rowpainter.C:
6397         * text.C:
6398         * text2.C: Remove the "main" bit from the "main body"
6399           notion.
6400
6401 2003-03-08  John Levon  <levon@movementarian.org>
6402
6403         * text.C (leftMargin): The left margin of an empty
6404         manual label paragraph should not include the label width
6405         string length.
6406
6407         * text.C (prepareToPrint): don't attempt to measure hfills
6408         for empty manual label paragraphs - the answer should be 0
6409
6410 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * CutAndPaste.C: remove commented code and reindent.
6413
6414 2003-03-08  John Levon  <levon@movementarian.org>
6415
6416         * lyxfunc.h:
6417         * lyxfunc.C: move reloadBuffer()
6418
6419         * BufferView.h:
6420         * BufferView.C: to here
6421
6422         * lyxvc.C: add comment
6423
6424         * vc-backend.h:
6425         * vc-backend.C: call bv->reload() to avoid
6426           getStatus() check on MENURELOAD
6427
6428 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6429
6430         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6431         to an old format .dep file.
6432
6433 2003-03-07  Angus Leeming  <leeming@lyx.org>
6434
6435         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6436         when the LFUN_MOUSE_RELEASE should have been handled by
6437         inset->localDispatch.
6438
6439 2003-03-07  Angus Leeming  <leeming@lyx.org>
6440
6441         * BufferView_pimpl.C (dispatch):
6442         * LyXAction.C (init):
6443         * ToolbarDefaults.C (init):
6444         * commandtags.h:
6445         * lyxfunc.C (getStatus):
6446         remove LFUN_INSET_GRAPHICS.
6447
6448         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6449
6450 2003-03-07  Angus Leeming  <leeming@lyx.org>
6451
6452         * commandtags.h:
6453         * LyXAction.C (init):
6454         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6455
6456         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6457
6458         * commandtags.h:
6459         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6460
6461         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6462         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6463
6464 2003-03-07  Angus Leeming  <leeming@lyx.org>
6465
6466         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6467         remove "ert".
6468
6469 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * ParagraphList.C (front): new function
6472         (back): implement
6473
6474 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6475
6476         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6477         and top_row_offset_. removed var first_y.
6478         * text.C (top_y):
6479         * text2.C (LyXText, removeRow):
6480         * text3.C:
6481         * BufferView_pimpl.C:
6482         use these methods instead of using first_y
6483
6484 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * text2.C (pasteSelection): adjust for checkPastePossible
6487
6488         * CutAndPaste.C: remove Paragraph * buf and replace with
6489         ParagraphList paragraphs.
6490         (DeleteBuffer): delete
6491         (cutSelection): change the tc type to textclass_type
6492         (copySelection): change the tc type to textclass_type
6493         (copySelection): adjust for ParagraphList
6494         (pasteSelection): change the tc type to textclass_type
6495         (pasteSelection): adjust for Paragraphlist
6496         (nrOfParagraphs): simplify for ParagraphList
6497         (checkPastePossible): simplify for ParagraphList
6498         (checkPastePossible): remove unused arg
6499
6500         * ParagraphList.C (insert): handle the case where there are no
6501         paragraphs yet.
6502
6503         * CutAndPaste.h: make CutAndPaste a namespace.
6504
6505         * text3.C (dispatch): adjust
6506
6507         * text.C (breakParagraph): add a ParagraphList as arg
6508
6509         * paragraph_funcs.C (breakParagraph): change to take a
6510         BufferParams and a ParagraphList as args.
6511         (breakParagraphConservative): ditto
6512         (mergeParagraph): ditto
6513         (TeXDeeper): add a ParagraphList arg
6514         (TeXEnvironment): ditto
6515         (TeXOnePar): ditto
6516
6517         * buffer.C (readLyXformat2): adjust
6518         (insertStringAsLines): adjust
6519         (latexParagraphs): adjust
6520
6521         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6522         (cutSelection): adjust
6523         (pasteSelection): adjust
6524
6525         * BufferView_pimpl.C (insertInset): adjust
6526
6527 2003-03-05  Angus Leeming  <leeming@lyx.org>
6528
6529         * commandtags.h:
6530         * LyXAction.C (init):
6531         * BufferView_pimpl.C (dispatch):
6532         * lyxfunc.C (getStatus):
6533         remove LFUN_CHILD_INSERT.
6534
6535         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6536
6537 2003-03-05  Angus Leeming  <leeming@lyx.org>
6538
6539         * commandtags.h:
6540         * LyXAction.C (init):
6541         * src/factory.C (createInset):
6542         * lyxfunc.C (getStatus):
6543         * text3.C (dispatch):
6544         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6545
6546         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6547
6548 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * ParagraphList.C (insert): handle insert right before end()
6551         (erase): fix cases where it can be first or last paragraph.
6552
6553 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6556         Paragraph::next and Paragraph::previous
6557         (TeXOnePar): ditto
6558
6559         * text.C (breakParagraph): adjust
6560
6561         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6562         BufferParams& as arg.
6563         (breakParagraph): use ParagraphList::insert
6564         (breakParagraphConservative): take a Buffer* instead of a
6565         BufferParams& as arg.
6566         (breakParagraphConservative): use ParagraphList::insert.
6567
6568         * buffer.C (insertStringAsLines): un-const it
6569         (insertStringAsLines): adjust
6570
6571         * ParagraphList.C (insert): new function
6572
6573         * CutAndPaste.C (pasteSelection): adjust
6574
6575         * text.C (backspace): adjust
6576
6577         * tabular.C (SetMultiColumn): adjust
6578
6579         * CutAndPaste.C (cutSelection): adjust
6580         (pasteSelection): adjust
6581
6582         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6583         Buffer const * as arg
6584
6585         * ParagraphList.C (erase): new function
6586         * paragraph_funcs.C (mergeParagraph): use it
6587         (mergeParagraph): make it take a Buffer* instead of a
6588         BufferParams* as arg
6589
6590         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6591         as arg
6592         (breakParagraphConservative): ditto
6593
6594         * paragraph.h: remove the breakParagraph friend
6595
6596         * paragraph.C (eraseIntern): new function
6597         (setChange): new function
6598
6599         * paragraph_funcs.C (mergeParagraph): make it take a
6600         ParagraphList::iterator instead of a Paragraph *, adjust
6601         accordingly.
6602
6603         * paragraph.h: move an #endif so that the change tracking stuff
6604         also works in the NO_NEXT case.
6605
6606 2003-03-04  Angus Leeming  <leeming@lyx.org>
6607
6608         * commandtags.h:
6609         * LyXAction.C: new LFUN_INSET_MODIFY.
6610
6611         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6612         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6613
6614 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * several files: ws changes only
6617
6618         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6619         (TeXEnvironment): ditto
6620         (TeXDeeper): ditto
6621
6622         * buffer.C (makeLaTeXFile): adjust
6623         (latexParagraphs): make it take ParagraphList::iterator as args
6624
6625 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6626
6627         * buffer.C (latexParagraphs): adjust
6628
6629         * paragraph.C (TeXOnePar): move function...
6630         (optArgInset): move function...
6631         (TeXEnvironment): move function...
6632         * paragraph_pimpl.C (TeXDeeper): move function...
6633         * paragraph_funcs.C: ...here
6634
6635         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6636
6637 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * buffer.C (readInset): remove compability code for old Figure and
6640         InsetInfo insets
6641
6642 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * buffer.C: ws changes
6645         (readInset):
6646
6647         * BufferView_pimpl.C: ditto
6648         * author.C: ditto
6649         * buffer.h: ditto
6650         * bufferlist.h: ditto
6651         * changes.h: ditto
6652         * lyxfunc.C: ditto
6653
6654 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6655
6656         * converter.[Ch]: split into itself +
6657         * graph.[Ch]
6658         * format.[Ch]
6659         * Makefile.am: += graph.[Ch] + format.[Ch]
6660         * MenuBackend.C
6661         * buffer.C
6662         * exporter.C
6663         * importer.C
6664         * lyx_main.C
6665         * lyxfunc.C
6666         * lyxrc.C: added #include "format.h"
6667
6668 2003-02-27  Angus Leeming  <leeming@lyx.org>
6669
6670         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6671           a label.
6672
6673         * factory.C (createInset): add "label" to the factory.
6674
6675         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6676           string and do no more.
6677
6678 2003-02-27  Angus Leeming  <leeming@lyx.org>
6679
6680         * commandtags.h:
6681         * LyXAction.C (init):
6682         * factory.C (createInset):
6683         * BufferView_pimpl.C (dispatch):
6684           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6685
6686         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6687
6688         * lyxfunc.C (dispatch):
6689         * text3.C (dispatch): pass name to params2string.
6690
6691 2003-02-26  Angus Leeming  <leeming@lyx.org>
6692
6693         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6694           blocks together.
6695           Rearrange the ~includes. Strip out the unnecessary ones.
6696
6697         * factory.C (createInset): reformat.
6698           create new insets for the various LFUN_XYZ_APPLY lfuns.
6699
6700 2003-02-26  John Levon  <levon@movementarian.org>
6701
6702         * lyxrow.h:
6703         * lyxrow.C: add isParStart,isParEnd helpers
6704
6705         * paragraph.h: make isInserted/DeletedText take refs
6706
6707         * paragraph_funcs.h:
6708         * paragraph_funcs.C: remove #if 0'd code
6709
6710         * lyxtext.h:
6711         * text3.C:
6712         * text2.C:
6713         * text.C: use lyxrow helpers above.
6714           Move draw and paint routines to RowPainter.
6715           Make several methods use refs not pointers.
6716           Make backgroundColor() const.
6717           Add markChangeInDraw(), isInInset().
6718           Merge changeRegionCase into changeCase.
6719           Make workWidth() shouldn't-happen code into an Assert.
6720
6721         * rowpainter.h:
6722         * rowpainter.C: new class for painting a row.
6723
6724         * vspace.h:
6725         * vspace.C: make inPixels take a ref
6726
6727 2003-02-26  Angus Leeming  <leeming@lyx.org>
6728
6729         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6730         LFUN_REF_APPLY.
6731
6732 2003-02-25  John Levon  <levon@movementarian.org>
6733
6734         * ispell.C: give the forked command a more accurate name
6735
6736 2003-02-22  John Levon  <levon@movementarian.org>
6737
6738         * toc.h:
6739         * toc.C: make TocItem store an id not a Paragraph *
6740           (bug #913)
6741
6742 2003-02-21  Angus Leeming  <leeming@lyx.org>
6743
6744         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6745           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6746           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6747           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6748           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6749           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6750
6751         * BufferView_pimpl.C (dispatch):
6752         * LyXAction.C (init):
6753         * factory.C (createInset):
6754         * lyxfunc.C (getStatus, dispatch):
6755         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6756
6757 2003-02-21  Angus Leeming  <leeming@lyx.org>
6758
6759         * BufferView_pimpl.C (MenuInsertLyXFile):
6760         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6761         * lyxfunc.C (menuNew, open, doImport):
6762           no longer pass a LyXView & to fileDlg.
6763
6764 2003-02-21  Angus Leeming  <leeming@lyx.org>
6765
6766         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6767         * LyXAction.C: change, BIBKEY to BIBITEM.
6768         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6769         Change InsetBibKey to InsetBibitem.
6770         Change BIBKEY_CODE to BIBITEM_CODE.
6771         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6772         * factory.C: replace insetbib.h with insetbibitem.h.
6773         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6774         * paragraph.C: replace insetbib.h with insetbibitem.h.
6775         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6776         Change bibkey() to bibitem().
6777         * text.C: remove insetbib.h.
6778         * text2.C: replace insetbib.h with insetbibitem.h.
6779         change bibkey() to bibitem().
6780         * text3.C: remove insetbib.h.
6781         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6782
6783 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6784
6785         * lyxrc.C (output): enclose user email in quotes (in case there are
6786         several words)
6787
6788 2003-02-18  John Levon  <levon@movementarian.org>
6789
6790         * buffer.h: add std::
6791
6792 2003-02-17  John Levon  <levon@movementarian.org>
6793
6794         * SpellBase.h:
6795         * ispell.h:
6796         * ispell.C:
6797         * pspell.h:
6798         * pspell.C: reworking. Especially in ispell, a large
6799           number of clean ups and bug fixes.
6800
6801         * lyxfunc.C: fix revert to behave sensibly
6802
6803 2003-02-17 André Pönitz <poenitz@gmx.net>
6804
6805         * LyXAction.C:
6806         * commandtags.h: new LFUN_INSERT_BIBKEY
6807
6808         * layout.h:
6809         * lyxlayout.C:
6810         * buffer.C:
6811         * factory.C:
6812         * text.C:
6813         * text2.C:
6814         * text3.C:
6815         * paragraph.[Ch]:
6816         * paragraph_func.C: remove special bibkey handling
6817
6818 2003-02-17  John Levon  <levon@movementarian.org>
6819
6820         * text.C (Delete): fix case where delete at the end of
6821           the very first paragraph would not merge the pars
6822
6823 2003-02-17  John Levon  <levon@movementarian.org>
6824
6825         * lyxrow.C: fix lastPrintablePos()
6826
6827 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6828
6829         * bufferparams.C (writeLaTeX): add a std:here
6830
6831         * buffer.C: and remove a using directive there
6832
6833 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6834
6835         * buffer.C (makeLaTeXFile): move the code that generates the
6836           preamble...
6837
6838         * bufferparams.C (writeLaTeX): ... in this new method
6839
6840         * LaTeXFeatures.C (getEncodingSet): make const
6841           (getLanguages): make const
6842
6843         * MenuBackend.C (binding): returns the binding associated to this
6844           action
6845           (add): sets the status of each item by calling getStatus. Adds
6846           some intelligence.
6847           (read): add support for OptSubMenu
6848           (expand): remove extra separator at the end of expanded menu
6849
6850 2003-02-15  John Levon  <levon@movementarian.org>
6851
6852         * BufferView.C:
6853         * BufferView_pimpl.C:
6854         * bufferlist.h:
6855         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6856           inset code that had no actual effect. Remove unneeded status
6857           code.
6858
6859 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6860
6861         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6862           in preamble
6863
6864 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6865
6866         * text.C (drawLengthMarker): also draw an arrow marker for
6867           symbolic lengths (medskip...)
6868
6869 2003-02-14  John Levon  <levon@movementarian.org>
6870
6871         * tabular.h:
6872         * tabular.C: better method names
6873
6874 2003-02-14  John Levon  <levon@movementarian.org>
6875
6876         * BufferView_pimpl.C:
6877         * bufferlist.C:
6878         * buffer.C:
6879         * converter.C:
6880         * lyx_cb.C:
6881         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6882           it's a more accurate name. Remove some pointless uses.
6883
6884 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6885
6886         * text2.C (LyXText): change order of initilizers to shut off
6887           warnings
6888
6889 2003-02-14  John Levon  <levon@movementarian.org>
6890
6891         * buffer.C: use ParIterator for getParFromID()
6892
6893         * paragraph.h:
6894         * paragraph.C:
6895         * paragraph_pimpl.h:
6896         * paragraph_pimpl.C: remove unused getParFromID()
6897
6898 2003-02-14  John Levon  <levon@movementarian.org>
6899
6900         * buffer.C: remove some very old #if 0'd parse code
6901
6902 2003-02-13  John Levon  <levon@movementarian.org>
6903
6904         * text.h:
6905         * text.C:
6906         * text2.C: move hfillExpansion(), numberOfSeparators(),
6907           rowLast(), rowLastPrintable(), numberofHfills(),
6908           numberOfLabelHfills() ...
6909
6910         * lyxrow.h:
6911         * lyxrow.C: ... to member functions here.
6912
6913         * paragraph.h:
6914         * paragraph.C:
6915         * lyxtext.h:
6916         * text.C: remove LyXText::beginningOfMainBody(), and call
6917           p->beginningOfMainBody() directly. Move the check for
6918           LABEL_MANUAL into the latter.
6919
6920         * text.h:
6921         * text.C:
6922         * text2.C:
6923         * vspace.C:
6924         * BufferView.h:
6925         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6926
6927         * text.h:
6928         * text.C:
6929         * text2.C:
6930         * text3.C:
6931         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6932           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6933
6934 2003-02-13  John Levon  <levon@movementarian.org>
6935
6936         * CutAndPaste.C: remove debug
6937
6938 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6939
6940         * paragraph.C (asString): remove two unused variables
6941
6942         * lyxtextclass.C (readTitleType):
6943           (Read):
6944           (LyXTextClass): handle new members titletype_ and titlename_
6945
6946         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6947
6948 2003-02-09  John Levon  <levon@movementarian.org>
6949
6950         * buffer.h:
6951         * buffer.C: replace hand-coded list with a map for the dep clean
6952
6953 2003-02-08  John Levon  <levon@movementarian.org>
6954
6955         * LaTeX.C: consolidate code into showRunMessage() helper
6956
6957 2003-02-08  John Levon  <levon@movementarian.org>
6958
6959         * lyxfind.C:
6960         * lyxtext.h:
6961         * text2.C:
6962         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6963           and pass the size in explicitly
6964
6965         * BufferView_pimpl.h:
6966         * BufferView_pimpl.C:
6967         * BufferView.h:
6968         * BufferView.C: add getCurrentChange()
6969
6970         * BufferView_pimpl.h:
6971         * BufferView_pimpl.C: handle change lfuns
6972
6973         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6974           for changes. Mark pasted paragraphs as new.
6975
6976         * support/lyxtime.h:
6977         * support/lyxtime.C:
6978         * DepTable.C: abstract time_t as lyx::time_type
6979
6980         * LColor.h:
6981         * LColor.C: add colours for new text, deleted text, changebars
6982
6983         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6984           package use "usenames" option.
6985
6986         * commandtags.h:
6987         * lyxfunc.C:
6988         * LyXAction.C: add change lfuns
6989
6990         * Makefile.am:
6991         * author.h:
6992         * author.C: author handling
6993
6994         * buffer.h:
6995         * buffer.C: add a per-buffer author list, with first entry as
6996           current author. Handle new .lyx tokens for change tracking. Output
6997           author list to .lyx file. Output dvipost stuff to .tex preamble.
6998           Bump lyx format to 222.
6999
7000         * bufferlist.h:
7001         * bufferlist.C: add setCurrentAuthor() to reset current author details
7002           in all buffers.
7003
7004         * bufferparams.h:
7005         * bufferparams.C: add param for tracking
7006
7007         * bufferview_funcs.C: output change info in minibuffer
7008
7009         * Makefile.am:
7010         * changes.h:
7011         * changes.C: add change-tracking structure
7012
7013         * debug.h:
7014         * debug.C: add CHANGES debug flag
7015
7016         * lyxfind.h:
7017         * lyxfind.C: add code for finding the next change piece
7018
7019         * lyxrc.h:
7020         * lyxrc.C: add user_name and user_email
7021
7022         * lyxrow.h:
7023         * lyxrow.C: add a metric for the top of the text line
7024
7025         * lyxtext.h:
7026         * text.C: implement accept/rejectChange()
7027
7028         * lyxtext.h:
7029         * text.C: paint changebars. Paint new/deleted text in the chosen
7030         colours. Strike through deleted text.
7031
7032         * paragraph.h:
7033         * paragraph.C:
7034         * paragraph_pimpl.h:
7035         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7036           in the current change to the insert functions. Rework erase to
7037           mark text as deleted, adding an eraseIntern() and a range-based
7038           erase(). Implement per-paragraph change lookup and
7039           accept/reject.
7040
7041         * paragraph_funcs.C: Fixup paste for change tracking.
7042
7043         * tabular.C: mark added row/columns as new.
7044
7045         * text.C: fix rowLast() to never return -1. Don't allow
7046           spellchecking of deleted text. Track transpose changes. Don't
7047           allow paragraph break or merge where appropriate.
7048
7049         * text2.C: leave cursor at end of selection after a cut.
7050
7051 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7052
7053         * text.C (getLengthMarkerHeight):
7054         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7055         visible on screen too.
7056
7057 2003-02-07  John Levon  <levon@movementarian.org>
7058
7059         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7060
7061 2003-02-05  Angus Leeming  <leeming@lyx.org>
7062
7063         * lyxserver.C (read_ready): revert my patch of 11 September last year
7064         as it sends PC cpu through the roof. Presumably this means that
7065         the lyxserver will no longer run on an Alpha...
7066
7067 2003-01-30  Angus Leeming  <leeming@lyx.org>
7068
7069         * factory.C (createInset): create an InsetCommandParam of type "index"
7070         and use it to 'do the right thing'.
7071
7072         * text2.C (getStringToIndex): ensure that cursor position is always
7073         reset to the reset_cursor position.
7074
7075 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7076
7077         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7078         disabled.
7079
7080 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7081
7082         * bufferview.C:
7083         * lyxcb.C:
7084         * lyxfunc.C: Output messages with identical spelling, punctuation,
7085         and spaces
7086
7087 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7088
7089         * MenuBackend.C (expandFormats): List only viewable export formats
7090         in "View" menu
7091
7092         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7093         message
7094
7095         * lyxfunc.C (getStatus): Make sure that formats other than
7096         "fax" can also be disabled
7097
7098 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7099
7100         * text3.C (dispatch): put the lfuns that insert insets in 3
7101         groups, and call doInsertInset with appropriate arguments.
7102         (doInsertInset): new function, that creates an inset and inserts
7103         it according to some boolean parameters.
7104
7105 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * buffer.C (readFile): remember to pass on 'par' when calling
7108         readFile recursively.
7109
7110 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7111
7112         * MenuBackend.C (expandFormats): add "..." to import formats.
7113
7114 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7115
7116         * paragraph.C (asString): Remove XForms RTL hacks.
7117
7118 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7119         * buffer.C: fix typo
7120
7121 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * Makefile.am (LIBS): delete var
7124         (lyx_LDADD): add @LIBS@ here instead.
7125
7126 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7127
7128         * Clarify the meaning of "wheel mouse jump"
7129
7130 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7131
7132         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7133         tabular in a float
7134
7135 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7136
7137         * importer.C (Loaders): do not preallocate 3 elements in the
7138         vector, since one ends up with 6 elements otherwise
7139
7140 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7141
7142         * DepTable.C (write): write the file name as last element of the
7143         .dep file (because it may contain spaces)
7144         (read): read info in the right order
7145
7146 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7147
7148         * paragraph_pimpl.C (simpleTeXBlanks):
7149         (simpleTeXSpecialChars):
7150         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7151
7152         * tabular.C (latex): add some missing case statements. Reindent.
7153
7154         * MenuBackend.C (expandToc): remove unused variable.
7155
7156 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7157
7158         * LColor.C:
7159         * LaTeX.C:
7160         * LyXAction.C:
7161         * MenuBackend.C:
7162         * buffer.C:
7163         * exporter.C:
7164         * lyxfunc.C:
7165         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7166         and the like.
7167
7168 2003-01-05  John Levon  <levon@movementarian.org>
7169
7170         * BufferView.h:
7171         * BufferView.C: add getEncoding()
7172
7173         * kbsequence.h:
7174         * kbsequence.C: do not store last keypress
7175
7176         * lyxfunc.h:
7177         * lyxfunc.C: store last keypress here instead. Pass encoding
7178           to getISOEncoded()
7179
7180 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7181
7182         * lyx_main.C (init): remove annoying error message when following
7183         symbolic links (bug #780)
7184
7185 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * text.C (insertChar):
7188         * lyxrc.C (getDescription): remove extra spaces
7189
7190 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7191
7192         * lyxrc.C (getDescription): remove extra spaces
7193
7194 2002-12-20  John Levon  <levon@movementarian.org>
7195
7196         * text3.C: hack fix for page up/down across tall rows
7197
7198 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7199
7200         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7201         not been invoked
7202
7203 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7204
7205         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7206         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7207         thesaurus is not compiled in
7208
7209 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7210
7211         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7212
7213 2002-12-16  Angus Leeming  <leeming@lyx.org>
7214
7215         * lyxrc.[Ch]:
7216         * lyx_main.C (init): remove override_x_deadkeys stuff.
7217
7218 2002-12-12  John Levon  <levon@movementarian.org>
7219
7220         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7221           insert. Only remove shift modifier under strict
7222           circumstances.
7223
7224 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * MenuBackend.C (expandToc): fix crash.
7227
7228 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * MenuBackend.C (expandToc): gettext on float names.
7231
7232 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7233
7234         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7235         implement bool empty() [bug 490]
7236
7237 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7240
7241 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * several files: ws changes
7244
7245 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * text2.C (setCounter): clean up a bit, use boost.format.
7248         (updateCounters): initialize par upon declaration.
7249
7250         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7251         if the layout exists. We do not just store the layout any more.
7252         (SwitchLayoutsBetweenClasses): use boost.format
7253
7254 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7255
7256         * converter.C (convert): if from and to files are the same, use a
7257         temporary files as intermediary
7258
7259 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7260
7261         * commandtags.h:
7262         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7263
7264 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7267
7268 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * tabular.C (asciiPrintCell): use string(size, char) instead of
7271         explicit loop.
7272
7273         * sgml.C (openTag): fix order of arguments to string constructor
7274         (closeTag): ditto
7275
7276         * lyxfunc.C (dispatch): use boost.format
7277
7278         * lots of files: change "c" -> 'c'
7279
7280 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7281
7282         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7283
7284 2002-11-25  Angus Leeming  <leeming@lyx.org>
7285
7286         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7287
7288         * lyx_main.C (init): compile fix.
7289
7290 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * lyx_cb.C (start): boost.formatify
7293         do not include <iostream>
7294
7295         * lengthcommon.C: ws only
7296
7297         * boost-inst.C,BoostFormat.h: add more explict instantations
7298
7299 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * lots of files: handle USE_BOOST_FORMAT
7302
7303 2002-11-21  John Levon  <levon@movementarian.org>
7304
7305         * pspell.C: fix compile
7306
7307 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7308
7309         * lyxfunc.C (dispatch): use boost::format
7310         (open): ditto
7311         (doImport): ditto
7312
7313         * lyxfont.C (stateText): use boost::format
7314
7315         * lyx_main.C (LyX): use boost::format
7316         (init): ditto
7317         (queryUserLyXDir): ditto
7318         (readRcFile): ditto
7319         (parse_dbg): ditto
7320         (typedef boost::function): use the recommened syntax.
7321
7322         * importer.C (Import): use boost::format
7323
7324         * debug.C (showLevel): use boost::format
7325
7326         * converter.C (view): use boost::format
7327         (convert): ditto
7328         (move): ditto
7329         (scanLog): ditto
7330
7331         * bufferview_funcs.C (currentState): use boost::format
7332
7333         * bufferlist.C (emergencyWrite): use boost::format
7334
7335         * buffer.C (readLyXformat2): use boost::format
7336         (parseSingleLyXformat2Token): ditto
7337
7338         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7339
7340         * LaTeX.C (run): use boost::format
7341
7342         * Chktex.C (scanLogFile): use boost::format
7343
7344         * BufferView_pimpl.C (savePosition): use boost::format
7345         (restorePosition): ditto
7346         (MenuInsertLyXFile): ditto
7347
7348         * BoostFormat.h: help file for explicit instation.
7349
7350 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7351
7352         * tabular.C (latex): Support for block alignment in fixed width
7353         columns.
7354
7355 2002-11-17  John Levon  <levon@movementarian.org>
7356
7357         * BufferView_pimpl.C:
7358         * lyx_cb.C:
7359         * lyxfunc.C: split filedialog into open/save
7360
7361 2002-11-08  Juergen Vigna  <jug@sad.it>
7362
7363         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7364         by my last patch (hopefully).
7365
7366 2002-11-08  John Levon  <levon@movementarian.org>
7367
7368         * iterators.h:
7369         * iterators.C:
7370         * buffer.h:
7371         * buffer.C:
7372         * paragraph.h:
7373         * paragraph.C:
7374         * toc.h:
7375         * toc.C: ParConstIterator, and use it (from Lars)
7376
7377 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7378
7379         * lyxtextclass.[Ch]: revise and add doxygen comments
7380
7381 2002-11-07  John Levon  <levon@movementarian.org>
7382
7383         * text.C: fix progress value for spellchecker
7384
7385         * toc.C: fix navigate menu for insetwrap inside minipage
7386
7387         * paragraph_funcs.C: added FIXME for suspect code
7388
7389 2002-11-07  John Levon  <levon@movementarian.org>
7390
7391         * BufferView_pimpl.C: fix redrawing of insets
7392           on buffer switch
7393
7394 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7395
7396         * text2.C (updateCounters): fix bug 668
7397
7398 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7399
7400         * text3.C (dispatch): Do not make the buffer dirty when moving the
7401         cursor.
7402
7403 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * vc-backend.C: STRCONV
7406         (scanMaster): ditto
7407
7408         * text2.C (setCounter): STRCONV
7409
7410         * paragraph.C (asString): STRCONV
7411
7412         * lyxlength.C (asString): STRCONV
7413         (asLatexString): ditto
7414
7415         * lyxgluelength.C (asString): STRCONV
7416         (asLatexString): ditto
7417
7418         * lyxfunc.C (dispatch): STRCONV
7419         (open): ditto
7420
7421         * lyxfont.C (stateText): STRCONV
7422
7423         * importer.C (Import): STRCONV
7424
7425         * counters.C (labelItem): STRCONV
7426         (numberLabel): ditto
7427         (numberLabel): remove unused ostringstream o
7428
7429         * chset.C: STRCONV
7430         (loadFile): ditto
7431
7432         * bufferview_funcs.C (currentState): STRCONV
7433
7434         * buffer.C (readFile): STRCONV
7435         (asciiParagraph): ditto
7436         (makeLaTeXFile): ditto
7437
7438         * Spacing.C (writeEnvirBegin): STRCONV
7439
7440         * LaTeXFeatures.C (getLanguages): STRCONV
7441         (getPackages): ditto
7442         (getMacros): ditto
7443         (getBabelOptions): ditto
7444         (getTClassPreamble): ditto
7445         (getLyXSGMLEntities): ditto
7446         (getIncludedFiles): ditto
7447
7448         * LaTeX.C: STRCONV
7449         (run): ditto
7450         (scanAuxFile): ditto
7451         (deplog): ditto
7452
7453         * LString.h: add the STRCONV macros
7454
7455         * BufferView_pimpl.C (savePosition): STRCONV
7456         (restorePosition): ditto
7457         (MenuInsertLyXFile): ditto
7458
7459         * vc-backend.C (scanMaster): change from submatch[...] to
7460         submatch.str(...)
7461
7462         * funcrequest.C: include config.h
7463
7464         * factory.C: include config.h
7465
7466         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7467
7468         * box.C: include config.h
7469
7470         * LaTeX.C (scanAuxFile): change from submatch[...] to
7471         submatch.str(...)
7472         (deplog): ditto
7473
7474 2002-10-25  Angus Leeming  <leeming@lyx.org>
7475
7476         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7477
7478         * ispell.[Ch] (setError): new method.
7479         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7480         Use setError() insetead of goto END.
7481
7482         * lyx_cb.C (AutoSave): move out child process into new class
7483         AutoSaveBuffer.
7484
7485 2002-10-30  John Levon  <levon@movementarian.org>
7486
7487         * text3.C: make start appendix undoable
7488
7489 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7490
7491         * lyxlength.C (inPixels): Fix returned value.
7492
7493         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7494         environment.
7495
7496 2002-10-24  Angus Leeming  <leeming@lyx.org>
7497
7498         * lyxgluelength.h: no need to forward declare BufferParams
7499         or BufferView, so don't.
7500
7501 2002-10-21  John Levon  <levon@movementarian.org>
7502
7503         * BufferView.C: menuUndo ->undo, redo
7504
7505         * BufferView.h: document, remove dead, make some methods private
7506
7507         * paragraph_funcs.h:
7508         * paragraph_funcs.C:
7509         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7510
7511         * buffer.h:
7512         * buffer.C:
7513         * sgml.h:
7514         * sgml.C: move sgml open/close tag into sgml.C
7515
7516         * bufferview_funcs.h: unused prototype
7517
7518         * lyxfunc.h:
7519         * lyxfunc.C: remove unused
7520
7521         * lyxtext.h:
7522         * text.C: remove unused
7523
7524 2002-10-21  John Levon  <levon@movementarian.org>
7525
7526         * BufferView.h:
7527         * BufferView.C:
7528         * BufferView_pimpl.h:
7529         * BufferView_pimpl.C: fix mouse wheel handling based on
7530           patch from Darren Freeman
7531
7532 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7533
7534         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7535
7536 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7537
7538         * lyxlength.C (inPixels): Fix hanfling of negative length.
7539         Fix LyXLength::MU case.
7540
7541 2002-10-16  John Levon  <levon@movementarian.org>
7542
7543         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7544
7545 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7546
7547         * converter.C (view): add support for $$i (file name) and $$p
7548         (file path) for the viewer command. If $$i is not specified, then
7549         it is appended to the command (for compatibility with old syntax)
7550
7551 2002-10-14  Juergen Vigna  <jug@sad.it>
7552
7553         * undo_funcs.C (textHandleUndo): alter the order in which the
7554         new undopar is added to the LyXText, as we have to set first
7555         the right prev/next and then add it as otherwise the rebuild of
7556         LyXText is not correct. Also reset the cursor to the right paragraph,
7557         with this IMO we could remove the hack in "redoParagraphs()".
7558
7559 2002-10-09  Angus Leeming  <leeming@lyx.org>
7560
7561         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7562         to turn off an optimisation if a new inset is to be inserted.
7563
7564 2002-10-11 André Pönitz <poenitz@gmx.net>
7565
7566         * lyxtext.h: make some functions public to allow access
7567         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7568
7569 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7570
7571         * text3.C (dispatch): when changing layout, avoid an infinite loop
7572         [bug #652]
7573
7574 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7575
7576         * lyxrc.C (read): treat a viewer or converter command of "none" as
7577         if it were empty.
7578
7579         * MenuBackend.C (expandFormats): for an update, also allow the
7580         formats that are not viewable
7581
7582         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7583         script if it is newer than the lyxrc.defaults in user directory
7584
7585 2002-10-07 André Pönitz <poenitz@gmx.net>
7586
7587         * text.C: Vitaly Lipatov's small i18n fix
7588
7589 2002-09-25  Angus Leeming  <leeming@lyx.org>
7590
7591         * ispell.h: doxygen fix.
7592
7593 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7594
7595         * buffer.h (readFile): Add a new argument to the method, to allow
7596         reading of old-format templates.
7597
7598 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7599
7600         * toc.C (getTocList): Get TOC from InsetWrap.
7601
7602 2002-09-16  John Levon  <levon@movementarian.org>
7603
7604         * lyxfunc.C: check tabular for cut/copy too
7605
7606 2002-09-12  John Levon  <levon@movementarian.org>
7607
7608         * LyXAction.C: tidy
7609
7610         * factory.h:
7611         * factory.C: add header
7612
7613         * paragraph_funcs.h:
7614         * paragraph_funcs.C: cleanup
7615
7616 2002-09-11  John Levon  <levon@movementarian.org>
7617
7618         * PrinterParams.h: odd/even default to true
7619
7620 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7621
7622         * PrinterParams.h: update printer parameters for new xforms dialog
7623
7624 2002-09-11  Angus Leeming  <leeming@lyx.org>
7625
7626         * lyxserver.C (read_ready): re-write to make it more transparent
7627         and to make it work in coherent fashion under Tru64 Unix.
7628
7629 2002-09-11  André Pönitz <poenitz@gmx.net>
7630
7631         * commandtags.h:
7632         * LyXAction.C:
7633         * text3.C: implement LFUN_WORDSEL
7634
7635 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7638         make floatlist_ a boost::shared_ptr<FloatList>
7639
7640         * lyxtextclass.C: include FloatList.h
7641         (LyXTextClass): initialize floatlist_
7642         (TextClassTags): add TC_NOFLOAT
7643         (Read): match "nofloat" to TC_NOFLOAT and use it.
7644         (readFloat): modify call to floatlist_
7645         (floats): ditto
7646         (floats): ditto
7647
7648         * FloatList.[Ch] (FloatList): remove commented out float
7649         initialization.
7650         (erase): new function
7651
7652 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * MenuBackend.C (expandToc): fix crash when there is no document
7655         open
7656
7657 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7658
7659         * many files: Add insetwrap.
7660
7661 2002-09-09  John Levon  <levon@movementarian.org>
7662
7663         * text2.C: remove confusing and awkward depth wraparound
7664
7665 2002-09-09  John Levon  <levon@movementarian.org>
7666
7667         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7668
7669         * buffer.h:
7670         * buffer.C: remove getIncludeonlyList()
7671
7672         * paragraph.C:
7673         * lyxfunc.C: remove headers
7674
7675 2002-09-09  Juergen Vigna  <jug@sad.it>
7676
7677         * text.C (getColumnNearX): fix form Michael this is most
7678         probably a cut&paste bug.
7679
7680 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7683
7684         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7685         references, ws changes.
7686
7687         * text2.C (init): update counters after init
7688         (insertParagraph): no need to set counter on idividual paragraphs.
7689         (setCounter): access the counters object in the textclass object
7690         on in the buffer object.
7691         (updateCounters): ditto
7692
7693         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7694         shared_ptr<Counters> to avoid loading counters.h in all
7695         compilation units.
7696         (LyXTextClass): initialize ctrs_
7697         (TextClassTags): add TC_COUNTER, and ...
7698         (Read): use it here.
7699         (CounterTags): new tags
7700         (readCounter): new function
7701         (counters): new funtion
7702         (defaultLayoutName): return a const reference
7703
7704         * counters.C (Counters): remove contructor
7705         (newCounter): remove a couple of unneeded statements.
7706         (newCounter): simplify a bit.
7707         (numberLabel): some small formatting changes.
7708
7709         * buffer.[Ch]: remove all traces of counters, move the Counters
7710         object to the LyXTextClass.
7711
7712 2002-09-06  Alain Castera  <castera@in2p3.fr>
7713
7714         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7715         package to set the horizontal alignment on fixed width columns.
7716
7717         * lyx_sty.C:
7718         * lyx_sty.h: added tabularnewline macro def.
7719
7720         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7721
7722 2002-09-06  John Levon  <levon@movementarian.org>
7723
7724         * LyXAction.C: tooltips for sub/superscript
7725
7726         * MenuBackend.C: a bit more verbose
7727
7728         * lyxfunc.C: tiny clean
7729
7730         * undo_funcs.C: document undo_frozen
7731
7732 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * counters.C (Counters): add missing algorithm counter.
7735
7736         * text2.C (setCounter): lookup the counter with layouts latexname
7737         instead of by section number.
7738         (setCounter): use a hackish way to lookup the correct enum
7739         counter.
7740         a float name->type change
7741         reset enum couners with counter name directly instead of depth value.
7742
7743         * counters.C (Counters): remove the push_backs, change to use the
7744         float type not the float name.
7745         (labelItem): remove unused string, float name->type change
7746
7747         * counters.h: don't include vector, loose the enums and sects vectors
7748
7749 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7752         (Read): add float->TC_FLOAT to textclassTags
7753         (Read): and handle it in the switch
7754         (readFloat): new function
7755
7756         * FloatList.C (FloatList): comment out the hardcoded float
7757         definitions.
7758
7759         * lyxlayout.h: ws change.
7760
7761 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7762
7763         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7764
7765 2002-09-03  Angus Leeming  <leeming@lyx.org>
7766
7767         * BufferView_pimpl.h: qualified name is not allowed in member
7768         declaration: WorkArea & Pimpl::workarea() const;
7769
7770         * factory.C: added using std::endl directive.
7771
7772         * text3.C: added using std::find and std::vector directives.
7773
7774 2002-08-29  André Pönitz <poenitz@gmx.net>
7775
7776         * lyxtext.h:
7777         * text2.C: remove unused member number_of_rows
7778
7779         * Makefile.am:
7780         * BufferView2.C: remove file, move contents to...
7781         * BufferView.C: ... here
7782
7783         * BufferView_pimpl.C:
7784         * factory.C: move more inset creation to factory
7785
7786         * vspace.C: avoid direct usage of LyXText, ws changes
7787
7788         * BufferView.[Ch]:
7789                 don't provide direct access to WorkArea, use two simple
7790                 acessors haveSelction() and workHeight() instead
7791
7792
7793 2002-08-29  John Levon  <levon@movementarian.org>
7794
7795         * BufferView_pimpl.C (dispatch): do not continue when
7796           no buffer
7797
7798 2002-08-28  André Pönitz <poenitz@gmx.net>
7799
7800         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7801
7802         * BufferView.h:
7803         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7804
7805 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7806
7807         * buffer.C: increment LYX_FORMAT to 221
7808
7809         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7810         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7811
7812         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7813
7814         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7815
7816 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7817
7818         * factory.C (createInset): use LyXTextClass::floats
7819
7820         * MenuBackend.C (expandFloatListInsert):
7821         (expandFloatInsert):
7822         (expandToc):
7823
7824         * text2.C (setCounter):
7825
7826         * LaTeXFeatures.C (useFloat):
7827         (getFloatDefinitions):
7828
7829         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7830
7831         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7832         floatlist_, with accessor floats().
7833
7834         * FloatList.h: remove global FloatList
7835
7836 2002-08-26  André Pönitz <poenitz@gmx.net>
7837
7838         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7839
7840         * BufferView.h:
7841         * BufferView2.C:
7842         * BufferView_pimpl.C:
7843         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7844
7845 2002-08-25  John Levon  <levon@movementarian.org>
7846
7847         * LyXAction.C: fix margin note description
7848
7849 2002-08-24  John Levon  <levon@movementarian.org>
7850
7851         * buffer.C:
7852         * bufferlist.C:
7853         * bufferview_funcs.C:
7854         * lyxfont.C:
7855         * undo_funcs.C: cleanups
7856
7857         * lyxfunc.C: disable CUT/COPY when no selection
7858
7859 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7860
7861         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7862         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7863
7864         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7865         Add backward compatibility to "mono", "gray" and "no".
7866
7867 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7868
7869         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7870         (and file_format >= 200).
7871
7872 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7875
7876 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7879
7880 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7881
7882         * BufferView_pimpl.C:
7883         * LyXAction.C:
7884         * buffer.C:
7885         * commandtags.h:
7886         * lyxfunc.C:
7887         * paragraph.[Ch]:
7888         * text2.C:
7889         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7890         inset and code to make it  work with the paragraph code. The inset
7891         can be anywhere in the paragraph, but will only do the expected
7892         thing in LaTeX if the layout file contains the parameter line
7893                         OptionalArgs    1
7894         (or more generally, a nonzero value) for that layout.
7895
7896 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7897
7898         * paragraph.h: remove the declaration of undefined counters class
7899         function.
7900
7901 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7902
7903         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7904         Dr. Richard Hawkins.
7905
7906 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7907
7908         * paragraph_funcs.h: remove some unneeded includes
7909
7910         * text.C (backspace): pasteParagraph now in global scipe
7911
7912         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7913         (pasteSelection): ditto
7914
7915         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7916         * paragraph_funcs.C (pasteParagraph): ... here
7917
7918 2002-08-20  André Pönitz <poenitz@gmx.net>
7919
7920         * commandtags.h: new LFUNs for swapping/copying table row/colums
7921
7922         * LyXAction.C:
7923         * lyxfunc.C: support for new lfuns
7924
7925 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * tabular.C:
7928         * buffer.[Ch]: remove NO_COMPABILITY stuff
7929
7930 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7931
7932         * boost.C (throw_exception): new file, with helper function for
7933         boost compiled without exceptions.
7934
7935         * paragraph.h:
7936         * lyxlength.C:
7937         * buffer.C:
7938         * ParameterStruct.h:
7939         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7940
7941         * bufferlist.C (emergencyWriteAll): use boost bind
7942
7943         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7944
7945         * text.C: include paragraph_funcs.h
7946         (breakParagraph): breakParagraph is now in global scope
7947
7948         * paragraph_funcs.[Ch]: new files
7949
7950         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7951         global scope
7952
7953         * buffer.C: include paragraph_funcs.h
7954         (insertStringAsLines): breakParagraph is now in global scope
7955
7956         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7957         paragraph_funcs.C
7958
7959         * CutAndPaste.C: include paragraph_funcs.h
7960         (cutSelection): breakParagraphConservative is now in global scope
7961         (pasteSelection): ditto
7962
7963         * buffer.h: declare oprator== and operator!= for
7964         Buffer::inset_iterator
7965
7966         * bufferlist.C (emergencyWrite): don't use fmt(...)
7967
7968         * text3.C: add using std::endl
7969
7970         * BufferView.C (moveCursorUpdate): remove default arg
7971
7972 2002-08-20  André Pönitz <poenitz@gmx.net>
7973
7974         * buffer.[Ch]: move inline functions to .C
7975
7976         * BufferView2.C:
7977         * BufferView_pimpl.C:
7978         * text.C:
7979         * buffer.[Ch]: use improved inset_iterator
7980
7981         * buffer.C:
7982         * paragraph.[Ch]: write one paragraph at a time
7983
7984 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7985
7986         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7987         style if style is not specified.
7988
7989 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * text2.C (setCounter): when searching for right label for a
7992         caption, make sure to recurse to parent insets (so that a caption
7993         in a minipage in a figure float works) (bug #568)
7994
7995 2002-08-20  André Pönitz <poenitz@gmx.net>
7996
7997         * text3.C: new file for LyXText::dispatch() and helpers
7998
7999         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8000
8001         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8002
8003 2002-08-19  André Pönitz <poenitz@gmx.net>
8004
8005         * lyxtext.h:
8006         * text.C: new LyXText::dispatch()
8007
8008         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8009
8010 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8011
8012         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8013
8014         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8015         Hebrew text.
8016
8017 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8018
8019         * Makefile.am: use $(variables) instead of @substitutions@
8020
8021 2002-08-15  André Pönitz <poenitz@gmx.net>
8022
8023         * lyxfunc.C:
8024         * BufferView_pimpl.C: streamlining mathed <-> outer world
8025         interaction
8026
8027         * commandtags.h:
8028         * LyXAction.C: remove unused LFUN_MATH
8029
8030 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8033
8034 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * paragraph.C (Paragraph): reformat a bit
8037         (cutIntoMinibuffer): use builtin InsetList function instad of
8038         doing it manually.
8039         (getInset): ditto
8040
8041         * buffer.C: include boost/bind.hpp, add using std::for_each
8042         (writeFileAscii): use ParagraphList iterators
8043         (validate): use for_each for validate traversal of paragraphs
8044         (getBibkeyList): use ParagraphList iterators
8045         (resizeInsets): use for_each to resizeInsetsLyXText for all
8046         paragraphs.
8047         (getParFromID): use ParagraphList iterators
8048
8049         * BufferView2.C (lockInset): use paragraph list and iterators
8050
8051 2002-08-14  John Levon  <levon@movementarian.org>
8052
8053         * lyxserver.C: remove spurious xforms include
8054
8055 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8056
8057         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8058
8059 2002-08-13  André Pönitz <poenitz@gmx.net>
8060
8061         * LyXAction.[Ch]:
8062         * lyxfunc.C: further cleaning
8063
8064 2002-08-13  André Pönitz <poenitz@gmx.net>
8065
8066         * funcrequest.h: new constructor
8067
8068         * funcrequest.C: move stuff here from .h
8069
8070         * Makefile.am:
8071         * BufferView_pimpl.C:
8072         * LyXAction.C:
8073         * toc.C:
8074         * lyxfunc.C: subsequent changes
8075
8076         * lyxfunc.h: new view() member function
8077
8078         * lyxfunc.C: subsequent changes
8079
8080 2002-08-13  Angus Leeming  <leeming@lyx.org>
8081
8082         * BufferView2.C:
8083         * BufferView_pimpl.C:
8084         * buffer.C:
8085         * converter.C:
8086         * importer.C:
8087         * lyxfunc.C:
8088         * lyxvc.C:
8089         * toc.C:
8090         * vc-backend.C:
8091         changes due to the changed LyXView interface that now returns references
8092         to member variables not pointers.
8093
8094 2002-08-13  Angus Leeming  <leeming@lyx.org>
8095
8096         * WordLangTuple (word, lang_code): return references to strings,
8097         not strings.
8098
8099         * BufferView.h:
8100         * SpellBase.h:
8101         * lyxtext.h: forward-declare WordLangTuple.
8102
8103         * BufferView2.C:
8104         * ispell.C:
8105         * pspell.C:
8106         * text.C: #include "WordLangTuple.h".
8107
8108         * lyxtext.h:
8109         * text.C: (selectNextWordToSpellcheck): constify return type.
8110
8111 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8112
8113         * buffer.C:
8114         * buffer.h:
8115         * lyxtext.h:
8116         * paragraph.C:
8117         * paragraph_pimpl.h:
8118         * text.C:
8119         * text2.C:
8120         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8121         suggested by Angus.
8122         Made updateCounter always count from start of buffer, and removed
8123         second argument (par).
8124         Reverted floats number display to '#'. Perhaps I'll try again when the
8125         code base is sanitized a bit.
8126
8127 2002-08-12  Angus Leeming  <leeming@lyx.org>
8128
8129         * buffer.[Ch] (getLabelList): constify.
8130
8131 2002-08-07  André Pönitz <poenitz@gmx.net>
8132
8133         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8134
8135         * funcrequest.h: extension to keep mouse (x,y) position
8136
8137 2002-08-12  Juergen Vigna  <jug@sad.it>
8138
8139         * BufferView2.C (insertErrors): forbid undo when inserting error
8140         insets.
8141
8142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8143
8144 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * ParagraphList.[Ch]: new files
8147
8148         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8149
8150         * BufferView2.C (lockInset): ParagraphList changes
8151         * toc.C: ditto
8152         * text2.C: ditto
8153         * bufferlist.C: ditto
8154         * buffer.h: ditto
8155         * buffer.C: ditto
8156
8157 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8158
8159         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8160         unused class variable counter_,
8161
8162         * paragraph.[Ch] (getFirstCounter): delete unused function
8163
8164         * counters.C: include LAssert.h
8165         (reset): add a new function with no arg, change other version to
8166         not have def. arg and to not allow empty arg.
8167
8168         * text2.C (setCounter): remove empty arg from call to Counters::reset
8169
8170 2002-08-11  John Levon  <levon@movementarian.org>
8171
8172         * Makefile.am: add WordLangTuple.h
8173
8174 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8177         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8178
8179         * insets/insettext.C: InsetList changes
8180
8181         * graphics/GraphicsSupport.C (operator()): InsetList changes
8182
8183         * toc.C (getTocList): InsetList changes
8184
8185         * paragraph_pimpl.[Ch]: InsetList changes
8186
8187         * paragraph.[Ch]: InsetList changes
8188
8189         * buffer.C (inset_iterator): InsetList changes
8190         (setParagraph): ditto
8191         * buffer.h (inset_iterator): ditto
8192         * iterators.C (operator++): ditto
8193         * iterators.h: ditto
8194
8195         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8196
8197         * InsetList.[Ch]: new files, most InsetList handling moved out of
8198         paragraph.C.
8199
8200         * BufferView2.C (removeAutoInsets): InsetList changes
8201         (lockInset): ditto
8202         (ChangeInsets): ditto
8203
8204 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * paragraph_pimpl.h (empty): new function
8207
8208         * paragraph.[Ch] (empty): new function
8209
8210         * other files: use the new Paragraph::empty function
8211
8212 2002-08-09  John Levon  <levon@movementarian.org>
8213
8214         * lyxtext.h: remove unused refresh_height
8215
8216 2002-08-09  John Levon  <levon@movementarian.org>
8217
8218         * Makefile.am:
8219         * sgml.h:
8220         * sgml.C:
8221         * buffer.C:
8222         * paragraph.h:
8223         * paragraph.C: move sgml char escaping out of paragraph
8224
8225         * paragraph.h:
8226         * paragraph.C: remove id setter
8227
8228         * buffer.C:
8229         * paragraph.C:
8230         * paragraph_pimpl.C: remove dead tex_code_break_column
8231
8232         * bufferview_funcs.C: small cleanup
8233
8234         * lyxfunc.C: remove dead proto
8235
8236         * lyxtext.h: make some stuff private. Remove some dead stuff.
8237
8238         * lyxgluelength.C: make as[LyX]String() readable
8239
8240 2002-08-08  John Levon  <levon@movementarian.org>
8241
8242         * LyXAction.h:
8243         * LyXAction.C:
8244         * MenuBackend.C:
8245         * ToolbarDefaults.C:
8246         * lyxfunc.C:
8247         * lyxrc.C:
8248         * toc.C: lyxaction cleanup
8249
8250 2002-08-08  John Levon  <levon@movementarian.org>
8251
8252         * BufferView2.C: small cleanup
8253
8254         * lyxfind.h:
8255         * lyxfind.C: move unnecessary header into the .C
8256
8257 2002-08-08  John Levon  <levon@movementarian.org>
8258
8259         * funcrequest.h: just tedious nonsense
8260
8261         * lyx_main.h:
8262         * lyx_main.C: cleanups
8263
8264         * buffer.C:
8265         * vspace.C: remove dead header lyx_main.h
8266
8267 2002-08-07  Angus Leeming  <leeming@lyx.org>
8268
8269         * Paragraph.[Ch]:
8270         * paragraph_pimpl.h:
8271         Forward declare class Counters in paragraph.h by moving the ctrs member
8272         variable into Paragraph::Pimpl.
8273         (counters): new method, returning a reference to pimpl_->ctrs.
8274
8275         * text2.C: ensuing changes.
8276
8277 2002-08-07  John Levon  <levon@movementarian.org>
8278
8279         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8280
8281         * BufferView_pimpl.C: announce X selection on double/triple
8282           click
8283
8284         * lyx_main.C: use correct bool in batch dispatch
8285
8286         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8287
8288 2002-08-07  André Pönitz <poenitz@gmx.net>
8289
8290         * funcrequest.h: new class to wrap a kb_action and its argument
8291
8292         * BufferView.[Ch]:
8293         * BufferView_pimpl[Ch]:
8294         * LaTeX.C:
8295         * LyXAction.[Ch]:
8296         * lyxfunc.[Ch]:
8297         * lyxrc.C: subsequent changes
8298
8299
8300 2002-08-07  John Levon  <levon@movementarian.org>
8301
8302         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8303           document options change.
8304
8305 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8306
8307         * counters.[Ch]
8308         * text2.C
8309         * paragraph.[Ch]
8310         * makefile.am: move counters functionality over from
8311         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8312
8313 2002-08-06  John Levon  <levon@movementarian.org>
8314
8315         * WordLangTuple.h: new file for word + language code tuple
8316
8317         * SpellBase.h:
8318         * pspell.h:
8319         * pspell.C:
8320         * ispell.h:
8321         * ispell.C:
8322         * lyxtext.h:
8323         * text.C:
8324         * text2.C:
8325         * BufferView.h:
8326         * BufferView2.C: use WordLangTuple
8327
8328         * layout.h:
8329         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8330
8331 2002-08-06  John Levon  <levon@movementarian.org>
8332
8333         * lyx_main.C: fix cmdline batch handling
8334
8335 2002-08-06  André Pönitz <poenitz@gmx.net>
8336
8337         * lyxrc.C: set default for show_banner to true
8338
8339 2002-08-06  John Levon  <levon@movementarian.org>
8340
8341         * pspell.C: fix a crash, and allow new aspell to work
8342
8343 2002-08-06  John Levon  <levon@movementarian.org>
8344
8345         * lyxfunc.C:
8346         * kbmap.C: small cleanup
8347
8348         * vspace.h:
8349         * vspace.C: add const
8350
8351 2002-08-05  John Levon  <levon@movementarian.org>
8352
8353         * LyXAction.C: back to tabular-insert
8354
8355 2002-08-04  John Levon  <levon@movementarian.org>
8356
8357         * BufferView.h:
8358         * BufferView.C: cosmetic change
8359
8360         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8361
8362         * bufferlist.C:
8363         * buffer.h:
8364         * buffer.C:
8365         * lyxcb.h:
8366         * lyxcb.C:
8367         * lyxserver.C:
8368         * lyxvc.C:
8369         * vc-backend.C:
8370         * BufferView2.C: purge all "Lyx" not "LyX" strings
8371
8372         * lyxcursor.h:
8373         * lyxcursor.C: attempt to add some documentation
8374
8375         * lyxfunc.C:
8376         * commandtags.h:
8377         * LyXAction.C:
8378         * ToolbarDefaults.C:
8379         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8380           merge with LFUN_TABULAR_INSERT
8381
8382         * Makefile.am:
8383         * SpellBase.h:
8384         * ispell.h:
8385         * ispell.C:
8386         * pspell.h:
8387         * pspell.C: split up i/pspell implementations into separate
8388           files, many cleanups
8389
8390         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8391
8392         * text2.C: some cleanup
8393
8394         * lyxfunc.C: don't check for isp_command == "none" any more, it
8395           didn't make any sense
8396
8397 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8398
8399         * counters.[Ch]
8400         * text2.C
8401         * paragraph.[Ch]
8402         * makefile.am: move counters functionality over
8403         from text2.C/paragraph.[Ch] to counters.[Ch], and
8404         make proper C++.
8405 2002-08-02  John Levon  <levon@movementarian.org>
8406
8407         * buffer.C: s/lyxconvert/lyx2lyx/
8408
8409 2002-08-02  Angus Leeming  <leeming@lyx.org>
8410
8411         * lyxlex.C: revert John's change as it breaks reading of the user
8412         preamble.
8413
8414 2002-08-02  Angus Leeming  <leeming@lyx.org>
8415
8416         * importer.C (Import):
8417         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8418         changes due to LyXView::view() now returning a boost::shared_ptr.
8419
8420 2002-08-02  John Levon  <levon@movementarian.org>
8421
8422         * lyxlex.C: small cleanup
8423
8424 2002-08-02  John Levon  <levon@movementarian.org>
8425
8426         * text2.C (status): small cleanup, no logic change
8427
8428 2002-08-01  John Levon  <levon@movementarian.org>
8429
8430         * buffer.h:
8431         * buffer.C (writeFile): don't output alerts, caller
8432           handles this
8433
8434         * bufferlist.C:
8435         * lyx_cb.C: from above
8436
8437         * lyxfunc.C: allow to open non-existent files
8438
8439 2002-07-31  John Levon  <levon@movementarian.org>
8440
8441         * lyxserver.C: don't let incidental errors get
8442           in the way (errno)
8443
8444 2002-07-30  John Levon  <levon@movementarian.org>
8445
8446         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8447
8448 2002-07-30  John Levon  <levon@movementarian.org>
8449
8450         * lyxserver.h:
8451         * lyxserver.C: remove I/O callback too
8452
8453 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8454
8455         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8456         log.
8457
8458 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * many files: strip,frontStrip -> trim,ltrim,rtrim
8461
8462 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8463
8464         * PrinterParams.h: remove extern containsOnly, and include
8465         support/lstrings.h instead.
8466
8467         * LaTeX.C (scanAuxFile): modify because of strip changes
8468         (deplog): ditto
8469         * buffer.C (makeLaTeXFile): ditto
8470         * bufferparams.C (writeFile): ditt
8471         * lyxfont.C (stateText): ditto
8472         * lyxserver.C (read_ready): ditto
8473         * vc-backend.C (scanMaster): ditto
8474
8475         * BufferView_pimpl.h: ws changes
8476
8477         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8478
8479 2002-07-26  André Pönitz <poenitz@gmx.net>
8480
8481         * kb_sequence.C: remove unnedred usings
8482
8483 2002-07-26  Juergen Vigna  <jug@sad.it>
8484
8485         * lyxfind.C (LyXReplace): we have to check better if the returned
8486         text is not of theLockingInset()->getLockingInset().
8487
8488 2002-07-25  Juergen Vigna  <jug@sad.it>
8489
8490         * lyxfind.C (LyXReplace): don't replace if we don't get the
8491         right LyXText.
8492
8493         * undo_funcs.C (createUndo): remove debugging code.
8494
8495 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8496
8497         * buffer.C (parseSingleLyXformat2Token): Use default placement
8498         when reading old floats.
8499
8500         * FloatList.C (FloatList): Change the default placement of figure
8501         and tables to "tbp".
8502
8503 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8504
8505         * MenuBackend.C: using std::max
8506
8507 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * MenuBackend.C (expandToc):
8510         (expandToc2): code moved from xforms menu frontend. It is now
8511         generic and TOCs are transparent to menu frontends.
8512
8513 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8514
8515         * toc.C (getTocList): protect against buf=0
8516
8517         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8518         Menu as first parameter. Now, this calls itself recursively to
8519         expand a whole tree (this will be useful for TOC handling)
8520         (expandFloatInsert): remove 'wide' version of floats
8521
8522         * MenuBackend.h (submenuname): returns the name of the submenu.
8523         (submenu): returns the submenu itself, provided it has been
8524         created by MenuBackend::expand
8525
8526 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8529         insets which have noFontChange == true. (bug #172)
8530
8531 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8532
8533         * BufferView_pimpl.C: add connection objects and use them...
8534         (Pimpl): here.
8535
8536 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8537
8538         * MenuBackend.C (expandLastfiles):
8539         (expandDocuments):
8540         (expandFormats):
8541         (expandFloatListInsert):
8542         (expandFloatInsert):
8543         (expand): split expand in parts
8544
8545 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * lyx_gui.C: use lyx_gui::exit()
8548
8549 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * LyXAction.C: show the failing pseudo action
8552
8553 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8554
8555         * buffer.C (readFile): Run the lyxconvert script in order to read
8556         old files.
8557
8558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8559
8560         * LyXAction.C:
8561         * commandtags.h:
8562         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8563
8564 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * LyXAction.C:
8567         * commandtags.h:
8568         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8569
8570 2002-07-22  Herbert Voss  <voss@lyx.org>
8571
8572         * lengthcommon.C:
8573         * lyxlength.[Ch]: add support for the vertical lengths
8574
8575 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * toc.[Ch]: std:: fixes
8578
8579 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8580
8581         * lyxrc.C: do not include lyx_main.h
8582
8583         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8584         for layouts
8585
8586         * lyxrc.C:
8587         * encoding.C:
8588         * bufferlist.C:
8589         * BufferView2.C: include "lyxlex.h"
8590
8591         * tabular.h:
8592         * bufferparams.h: do not #include "lyxlex.h"
8593
8594         * lyxtextclasslist.C (Add): remove method
8595         (classlist): renamed to classlist_
8596
8597         * paragraph_pimpl.C:
8598         * paragraph.C:
8599         * text2.C:
8600         * CutAndPaste.C:
8601         * bufferview_funcs.C:
8602         * bufferlist.C:
8603         * text.C:
8604         * LaTeXFeatures.C:
8605         * buffer.C:
8606         * toc.C (getTocList): use BufferParams::getLyXTextClass
8607
8608         * toc.C (getTocList): use InsetFloat::addToToc
8609
8610         * toc.[Ch]: new files, containing helper functions to handle table
8611         of contents
8612
8613         * lyxfunc.C (dispatch): no need to remove spaces around command
8614         given as a string
8615         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8616         first command of the sequence; it is not very clever, but I do not
8617         have a better idea, actually
8618
8619         * LyXAction.C (LookupFunc): make sure to remove space at the
8620         beginning and end of the command
8621
8622 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8623
8624         * MenuBackend.C (getMenubar): new method: return the menubar of
8625         this menu set
8626         (read): treat differently reading of menu and menubar (in
8627         particular, the menubar has no name now)
8628         (Menu::menubar): remove
8629
8630         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8631         saving is finished
8632
8633 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8634
8635         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8636         a bibitem inset in a RTL paragraph.
8637
8638 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * paragraph_pimpl.C: constify
8641
8642         * BufferView_pimpl.C:
8643         * LaTeX.C:
8644         * lyxfunc.C: fix dispatch in a nicer way
8645
8646 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8647
8648         * lyxfunc.C (dispatch):
8649         * BufferView_pimpl.C:
8650         * BufferView_pimpl.h:
8651         * BufferView.C:
8652         * BufferView.h: rename Dispatch() to dispatch()
8653
8654         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8655
8656         * lyxlayout.C (Read): honor DependsOn tag
8657
8658         * lyxlayout.[Ch] (depends_on): new method
8659
8660         * version.C.in: update lyx_docversion
8661
8662         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8663
8664         * paragraph.C (validate): remove from here...
8665         * paragraph_pimpl.C (validate): ... and move here
8666         (isTextAt): make it const
8667
8668         * buffer.C (getLists): ws cleanup
8669
8670 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8671
8672         * language.C (read): Use iso8859-1 encoding in latex_lang
8673         (this prevents LyX from crashing when using iso10646-1 encoding).
8674
8675 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8676
8677         * text2.C (toggleInset): if cursor is inside an inset, close the
8678         inset and leave cursor _after_ it
8679
8680 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8681
8682         * lyxfunc.C: move minibuffer completion handling out of here
8683
8684 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * BufferView_pimpl.C:
8687         * LaTeX.C: fix dispatch calls
8688
8689 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8690
8691         * text.C (drawChars): Fix Arabic text rendering.
8692
8693 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8694
8695         * LyXAction.C:
8696         * commandtags.h:
8697         * lyxfunc.C: remove message-push/pop
8698
8699         * lyxserver.C:
8700         * lyxfunc.h:
8701         * lyxfunc.C: rationalise some code by removing verboseDispatch
8702           in favour of a bool argument to dispatch()
8703
8704 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * lyx_main.C (init): make sure to read symlinks as absolute paths
8707
8708 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8709
8710         * lyxfunc.h:
8711         * lyxfunc.C: no need for commandshortcut to be a member
8712
8713 2002-07-15  André Pönitz <poenitz@gmx.net>
8714
8715         * converter.C: add support for $$s (scripts from lib/scripts dir)
8716         * lyx_main.C: white space
8717
8718 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * bufferlist.C:
8721         * lyxrc.h:
8722         * lyxrc.C: remove second exit confirmation
8723
8724 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * BufferView.h:
8727         * BufferView.C:
8728         * BufferView2.C:
8729         * BufferView_pimpl.h:
8730         * BufferView_pimpl.C:
8731         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8732
8733 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * MenuBackend.C (expand): add numeric shortcuts to document menu
8736
8737         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8738
8739 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8740
8741         * lyxfont.C (setLyXFamily):
8742         (setLyXSeries):
8743         (setLyXShape):
8744         (setLyXSize):
8745         (setLyXMisc):
8746         (lyxRead):
8747         * debug.C (value):
8748         * buffer.C (asciiParagraph): use ascii_lowercase
8749
8750 2002-07-15  Mike Fabian  <mfabian@suse.de>
8751
8752         * lyxlex_pimpl.C (search_kw):
8753         * lyxlex.C (getLongString):
8754         * converter.h (operator<):
8755         * converter.C (operator<):
8756         * buffer.C (parseSingleLyXformat2Token):
8757         (asciiParagraph):
8758         * ToolbarDefaults.C (read):
8759         * MenuBackend.C (checkShortcuts):
8760         (read):
8761         * LColor.C (getFromGUIName):
8762         (getFromLyXName): use the compare_ascii_no_case instead of
8763         compare_no_case, because in turkish, 'i' is not the lowercase
8764         version of 'I', and thus turkish locale breaks parsing of tags.
8765
8766 2002-07-16  Angus Leeming  <leeming@lyx.org>
8767
8768         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8769         now takes a Buffer const & argument.
8770
8771 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * BufferView.C (resize): check there's a buffer to resize
8774
8775 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8776
8777         * lyxfunc.C: remove dead code
8778
8779         * lyxserver.h:
8780         * lyxserver.C: use lyx_guii::set_read_callback
8781
8782 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8783
8784         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8785         an inset in a RTL paragraph.
8786
8787 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * lyxfunc.C: repaint after a font size update
8790
8791 2002-07-15  André Pönitz <poenitz@gmx.net>
8792
8793         * lyxlength.C: inBP should be able to return negative values
8794
8795 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8796
8797         * lyxfunc.C: use lyx_gui::update_fonts()
8798
8799 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * lyxfunc.C: use lyx_gui::update_color()
8802
8803 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8804
8805         * bufferlist.C:
8806         * lyxfunc.h:
8807         * lyxfunc.C:
8808         * lyxrc.h:
8809         * lyxrc.C: remove file->new asks for name option, and let
8810           buffer-new take an argument
8811
8812 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * BufferView_pimpl.C: remove unneeded extra repaint()
8815
8816 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * LyXAction.C: allow command-sequence with NoBuffer
8819
8820         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8821
8822 2002-07-10  Angus Leeming  <leeming@lyx.org>
8823
8824         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8825
8826 2002-07-09  Angus Leeming  <leeming@lyx.org>
8827
8828         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8829
8830 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * lengthcommon.h: whitespace
8833
8834         * lyxfunc.C: update scrollbar after goto paragraph
8835
8836         * lyxtext.h: factor out page break drawing, and fix it so
8837           page break/added space paints as selected nicely
8838
8839 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * BufferView_pimpl.C: add FIXMEs, clean up a little
8842
8843 2002-07-09  André Pönitz <poenitz@gmx.net>
8844
8845         * lyxfont.[Ch]: support for wasy symbols
8846
8847 2002-07-08  André Pönitz <poenitz@gmx.net>
8848
8849         * BufferView_pimpl.C: apply John's patch for #93.
8850
8851 2002-07-05  Angus Leeming  <leeming@lyx.org>
8852
8853         * BufferView_pimpl.C (buffer): generate previews if desired.
8854
8855         * LColor.h: add "preview" to the color enum.
8856
8857         * LColor.C (LColor): add a corresponding entry to the items array.
8858
8859         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8860         with this buffer.
8861
8862 2002-07-05  Angus Leeming  <leeming@lyx.org>
8863
8864         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8865         The body of the code is now in the method that is passed an ostream &
8866         rather than a file name.
8867         Pass an additional only_preamble parameter, useful for the forthcoming
8868         preview stuff.
8869
8870 2002-07-03  André Pönitz <poenitz@gmx.net>
8871
8872         * lyxfunc.C: simplify getStatus() a bit for math stuff
8873
8874 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8875
8876         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8877
8878 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * text.C (changeRegionCase): do not change case of all the
8881         document when region ends at paragraph end (bug #461)
8882
8883 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8884
8885         * paragraph.C (startTeXParParams):
8886         (endTeXParParams): add \protect when necessary
8887
8888 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * BufferView_pimpl.C (workAreaExpose): remove warning
8891
8892 2002-06-27  Angus Leeming  <leeming@lyx.org>
8893
8894         * Makefile.am: add lyxlayout_ptr_fwd.h.
8895
8896 2002-06-26  André Pönitz <poenitz@gmx.net>
8897
8898         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8899
8900 2002-06-25  Angus Leeming  <leeming@lyx.org>
8901
8902         * lyxfunc.C (dispatch): Comment out the call to
8903         grfx::GCache::changeDisplay. The method no longer exists now that the
8904         pixmap generation part of the graphics loader has been moved into
8905         InsetGraphics.
8906
8907 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8908
8909         * text2.C: layout as layout
8910
8911         * text.C: layout as layout
8912
8913         * tabular.C (OldFormatRead): layout as layout
8914
8915         * paragraph_pimpl.C (TeXDeeper): layout as layout
8916         (realizeFont): layout as layout
8917
8918         * paragraph.C (writeFile): layout as layout
8919         (validate): layout as layout
8920         (getFont): layout as layout
8921         (getLabelFont): layout as layout
8922         (getLayoutFont): layout as layout
8923         (breakParagraph): layout as layout
8924         (stripLeadingSpaces): layout as layout
8925         (getEndLabel): layout as layout
8926         (getMaxDepthAfter): layout as layout
8927         (applyLayout): layout as layout
8928         (TeXOnePar): layout as layout
8929         (simpleTeXOnePar): layout as layout
8930         (TeXEnvironment): layout as layout
8931         (layout): layout as layout
8932         (layout): layout as layout
8933
8934         * lyxtextclass.C (compare_name): new functor to work with
8935         shared_ptr, layout as layout
8936         (Read): layout as layout
8937         (hasLayout): layout as layout
8938         (operator): layout as layout
8939         (delete_layout): layout as layout
8940         (defaultLayout): layout as layout
8941
8942         * lyxlayout_ptr_fwd.h: new file
8943
8944         * lyxlayout.C (Read): layout as layout
8945
8946         * lyx_cb.C (MenuInsertLabel): layout as layout
8947
8948         * bufferlist.C (newFile): layout as layout
8949
8950         * buffer.C (readLyXformat2): layout as layout
8951         (parseSingleLyXformat2Token): layout as layout
8952         (insertStringAsLines): layout as layout
8953         (asciiParagraph): layout as layout
8954         (latexParagraphs): layout as layout
8955         (makeLinuxDocFile): layout as layout
8956         (simpleLinuxDocOnePar): layout as layout
8957         (makeDocBookFile): layout as layout
8958         (simpleDocBookOnePar): layout as layout
8959         (getLists): layout as layout
8960
8961         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8962
8963         * CutAndPaste.C (cutSelection): layout as layout
8964         (pasteSelection): layout as layout
8965         (SwitchLayoutsBetweenClasses): layout as layout
8966
8967         * BufferView_pimpl.C (Dispatch): layout as layout
8968         (smartQuote): layout as layout
8969
8970         * BufferView2.C (unlockInset): layout as layout
8971
8972 2002-06-24  André Pönitz <poenitz@gmx.net>
8973
8974         * lyxfunc.C: fix #487
8975
8976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * lyxrc.h:
8979         * lyxrc.C:
8980         * lyxfunc.C: remove display_shortcuts, show_banner
8981
8982 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * Buffer_pimpl.C: oops, update on resize
8985
8986 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * buffer.C:
8989         * converter.C:
8990         * exporter.C:
8991         * lyxfunc.C:
8992         * BufferView.h:
8993         * BufferView.C: use repaint()
8994
8995         * BufferView_pimpl.h:
8996         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8997           as it's a clearer description. Remove superfluous
8998           redraws.
8999
9000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * text.C: fix bug 488. Not ideal, but getting
9003           getWord() to work properly for the insets that
9004           matter is more difficult ...
9005
9006 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * BufferView_pimpl.C:
9009         * LyXAction.C:
9010         * commandtags.h:
9011         * lyxfunc.C: remove the six million index lyxfuncs to just
9012           one, and DTRT (bug 458)
9013
9014 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * BufferView.h:
9017         * BufferView.C:
9018         * BufferView_pimpl.h:
9019         * BufferView_pimpl.C: clean up resize() stuff,
9020           and unnecessary updateScreen()s
9021
9022 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * BufferView.h:
9025         * BufferView.C:
9026         * BufferView_pimpl.h:
9027         * BufferView_pimpl.C:
9028         * lyxfind.h:
9029         * lyxfind.C:
9030         * minibuffer.C: remove focus management of workarea,
9031           not needed. Use screen's greyOut()
9032
9033 2002-06-17  Herbert Voss  <voss@lyx.org>
9034
9035         * converter.C: (convert) do not post a message, when converting
9036         fails, let the calling function decide what to do in this case
9037
9038 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * lyxfunc.C: tidy up a little
9041
9042 2002-06-16    <alstrup@diku.dk>
9043
9044         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9045         Got rid of FORMS_H_LOCATION include. Now we are
9046         GUII.
9047
9048 2002-06-15  LyX Development team  <lyx@rilke>
9049
9050         * buffer.[Ch] (sgmlOpenTag):
9051         (sgmlCloseTag): Added support for avoiding pernicious mixed
9052         content. Return number of lines written.
9053
9054         (makeLinuxDocFile):
9055         (makeDocBookFile): Fixed calls to sgml*Tag.
9056         Simple white space clean.
9057
9058         (simpleDocBookOnePar): Simple white space clean.
9059
9060         * tabular.[Ch] (docBook): Renamed to docbook and got another
9061         argument to related with the pernicious mixed content.
9062
9063         (docbookRow): Fixed calls for docbook inset method.
9064
9065 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9066
9067         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9068         so it's X11 independent.
9069
9070         * kb*.[Ch]: ditto.
9071
9072         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9073
9074 2002-06-15  Lyx Development team  <lyx@electronia>
9075
9076         * intl.h: Renamed getTrans to getTransManager.
9077
9078 2002-06-14  Angus Leeming  <leeming@lyx.org>
9079
9080         * Makefile.am: nuke forgotten stl_string_fwd.h.
9081
9082 2002-06-12  Angus Leeming  <leeming@lyx.org>
9083
9084         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9085
9086 2002-06-13  Angus Leeming  <leeming@lyx.org>
9087
9088         * LaTeX.C:
9089         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9090
9091 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9092
9093         * kbmap.C (getiso): add support for cyrillic and greek
9094
9095 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * BufferView.h:
9098         * BufferView.C:
9099         * BufferView_pimpl.h:
9100         * BufferView_pimpl.C: move bogus scrolling logic
9101           to xforms
9102
9103 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * lyxfunc.C:
9106         * BufferView_pimpl.C: view->resize() change
9107
9108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * BufferView_pimpl.C: topCursorVisible
9111           prototype change
9112
9113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * Makefile.am:
9116         * lyx_gui.h:
9117         * lyx_gui.C: move to frontends/
9118
9119         * main.C:
9120         * lyx_main.h:
9121         * lyx_main.C: changes from above
9122
9123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * intl.C:
9126         * intl.h:
9127         * kbmap.C:
9128         * kbsequence.C:
9129         * lyx_cb.C:
9130         * lyx_main.C: minor tidy
9131
9132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9133
9134         * BufferView_pimpl.h:
9135         * BufferView_pimpl.C:
9136         * BufferView.h:
9137         * BufferView.C: make painter() const,
9138           remove dead code
9139
9140         * BufferView2.C: use screen() accessor
9141
9142         * lyx_main.h:
9143         * lyx_main.C: some minor cleanup
9144
9145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * BufferView_pimpl.h:
9148         * BufferView_pimpl.C: remove enter/leaveView,
9149           use workHeight()
9150
9151 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * BufferView.h:
9154         * BufferView.C:
9155         * BufferView2.C:
9156         * BufferView_pimpl.h:
9157         * BufferView_pimpl.C: only construct screen once,
9158           rename
9159
9160         * lyxrc.C: remove pointless comment
9161
9162 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * BufferView.h:
9165         * BufferView.C: remove active() and belowMouse()
9166
9167         * BufferView_pimpl.h:
9168         * BufferView_pimpl.C: use workarea() not workarea_,
9169           and make it use a scoped_ptr instead
9170
9171 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9172
9173         * lyx_gui.C: add debug message on BadWindow
9174
9175 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9176
9177         * sp_spell.C: fdopen is not part of the C++ standard.
9178
9179         * paragraph.C (InsetIterator): use >= instead of ==
9180
9181 2002-06-07  Angus Leeming  <leeming@lyx.org>
9182
9183         Fixes needed to compile with Compaq cxx 6.5.
9184         * BufferView_pimpl.C:
9185         * DepTable.C:
9186         * buffer.C:
9187         * converter.C:
9188         * encoding.C:
9189         * lyx_gui.C:
9190         * lyx_main.C:
9191         * lyxtextclasslist.C:
9192         * minibuffer.C:
9193         * sp_spell.C:
9194         * tabular_funcs.C:
9195         * vc-backend.C:
9196         all c-library variables have been moved into namespace std. Wrap
9197         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9198
9199         * lyxlength.C:
9200         * tabular-old.C:
9201         * tabular.C:
9202         Add a using std::abs declaration.
9203
9204         * kbmap.h (modifier_pair):
9205         * paragraph.h (InsetTable, InsetList):
9206         * lyxfont.h (FontBits):
9207         type definition made public.
9208
9209         * bufferlist.C (emergencyWriteAll): the compiler complains that
9210         there is more than one possible lyx::class_fun template to choose from.
9211         I re-named the void specialisation as lyx::void_class_fun.
9212
9213         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9214
9215         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9216         the compiler is is unable to find tostr in write_attribute.
9217
9218 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * buffer.C (sgmlError): hide #warning
9221
9222 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * xtl/*: get rid of xtl, which is not in use anyway
9225
9226         * LyXAction.C (init):
9227         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9228         were unimplemented xtl experimentation
9229
9230 2002-06-04  André Pönitz <poenitz@gmx.net>
9231
9232         * lyxfunc.C: disable array operation on simple formulae
9233
9234 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * converter.C: constify a bit
9237
9238 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * lyx_gui.C: check xforms version correctly
9241
9242 2002-04-30  Herbert Voss  <voss@lyx.org>
9243
9244         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9245         "keep" option
9246
9247 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9250           attempt to register it with a VCS)
9251
9252 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * lyx_main.C (init): honor variables LYX_DIR_13x and
9255         LYX_USERDIR_13x
9256
9257 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * buffer.h:
9260         * buffer.C:
9261         * lyx_main.C: fix a crash on bad command line,
9262           and give a useful exit status on error
9263
9264         * lyxfunc.C (doImport): allow -i lyx to work
9265
9266 2002-03-30  André Pönitz <poenitz@gmx.net>
9267
9268         * lyxfunc.C: mathed font changes
9269
9270 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * LaTeX.C:
9273         * importer.h:
9274         * importer.C:
9275         * lyx_sty.h:
9276         * lyx_sty.C:
9277         * lyxlex.C:
9278         * lyxrow.h:
9279         * lyxtext.h:
9280         * paragraph.h:
9281         * paragraph.C:
9282         * texrow.h:
9283         * texrow.C:
9284         * text.C:
9285         * trans_mgr.h: srcdocs, and some minor cleanups
9286
9287 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9290         call getFont all the time)
9291
9292 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * switch from SigC signals to boost::signals
9295
9296 2002-05-29  André Pönitz <poenitz@gmx.net>
9297
9298         * paragraph_pimpl.C (getChar): don't call size() too often...
9299
9300 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9301
9302         * paragraph_pimpl.C (insertChar): do not try to update tables when
9303         appending (pos == size())
9304
9305         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9306         in order to reduce drastically the number of comparisons needed to
9307         parse a large document
9308
9309 2002-05-29  André Pönitz <poenitz@gmx.net>
9310
9311         * text.C:
9312         * text2.C:
9313         * lyxtextclass.C:
9314         * sp_pspell.h:
9315         * textclasslist.[Ch]:
9316         * sp_ispell.h: whitespace change
9317
9318 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9321         lyxaction directly now.
9322
9323 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * trans.C:
9326         * lyxfont.C:
9327         * lyxvc.C: remove unused headers
9328
9329 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * Makefile.am:
9332         * buffer.h:
9333         * undostack.h:
9334         * undostack.C:
9335         * undo_funcs.h:
9336         * undo_funcs.C: some cleanups. Use shared_ptr
9337           and a template for the undo stacks.
9338
9339 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * BufferView_pimpl.h:
9342         * BufferView_pimpl.C:
9343         * kbmap.h:
9344         * kbmap.C:
9345         * kbsequence.h:
9346         * kbsequence.C:
9347         * lyxfunc.h:
9348         * lyxfunc.C:
9349         * text2.C: use key_state/mouse_state
9350
9351 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9352
9353         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9354         and LSubstring
9355
9356         * chset.C: change include order
9357         (loadFile): use boost regex and get rid of LRegex and LSubstring
9358
9359         * Makefile.am (BOOST_LIBS): new variable
9360         (lyx_LDADD): use it
9361
9362         * LaTeX.C: change include order.
9363         (scanAuxFile): use boost regex and get rid of LRegex and
9364         LSubstring
9365         (deplog): ditto
9366
9367 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * ColorHandler.h:
9370         * ColorHandler.C:
9371         * FontInfo.h:
9372         * FontInfo.C: moved to frontends/xforms/
9373
9374         * FontLoader.h:
9375         * FontLoader.C: moved into frontends for GUIIzation
9376
9377         * Makefile.am:
9378         * lyx_gui.C:
9379         * lyxfont.C:
9380         * lyxfunc.C: changes from above
9381
9382 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9383
9384         * LColor.C: remove spurious X include
9385
9386         * BufferView_pimpl.C:
9387         * Makefile.am:
9388         * font.h:
9389         * font.C:
9390         * text.C:
9391         * text2.C: move font metrics to frontends/
9392
9393 2002-05-24  Juergen Vigna  <jug@sad.it>
9394
9395         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9396         setting the undo_cursor.
9397
9398         * ParagraphParameters.h: include local includes first.
9399
9400 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView_pimpl.C:
9403         * BufferView_pimpl.h:
9404         * Makefile.am:
9405         * WorkArea.h:
9406         * WorkArea.C:
9407         * screen.C: move WorkArea into frontends/
9408
9409         * lyxscreen.h:
9410         * screen.C:
9411         * text.C:
9412         * BufferView.C:
9413         * BufferView2.C: move LyXScreen into frontends/
9414
9415         * lyxlookup.h:
9416         * lyxlookup.C:
9417         * lyx_gui.C: move lyxlookup into frontends/xforms/
9418
9419 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * BufferView2.C:
9422         * BufferView_pimpl.C:
9423         * FontLoader.C:
9424         * LyXView.h:
9425         * LyXView.C:
9426         * Makefile.am:
9427         * WorkArea.C:
9428         * XFormsView.h:
9429         * XFormsView.C:
9430         * buffer.C:
9431         * bufferlist.C:
9432         * bufferview_funcs.C:
9433         * converter.C:
9434         * importer.C:
9435         * lyx_cb.C:
9436         * lyx_gui.C:
9437         * lyx_main.C:
9438         * lyx_find.C:
9439         * lyxfunc.C:
9440         * lyxvc.C:
9441         * minibuffer.C:
9442         * text.C:
9443         * text2.C:
9444         * trans.C:
9445         * vc-backend.C: move LyX/XFormsView into frontends/
9446
9447 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * Makefile.am:
9450         * PainterBase.C:
9451         * PainterBase.h:
9452         * Painter.C:
9453         * Painter.h:
9454         * WorkArea.C:
9455         * WorkArea.h:
9456         * screen.C:
9457         * tabular.C:
9458         * text.C:
9459         * text2.C: move Painter to frontends/
9460
9461 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9462
9463         * buffer.C: comment out some some code that depend upon lyx_format
9464         < 220
9465
9466         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9467         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9468
9469         * buffer.h (NO_COMPABILITY): turn off compability
9470
9471         * ColorHandler.C: include scoped_array.hpp
9472
9473         * font.C: Use more specific smart_ptr header.
9474         * Painter.C: ditto
9475         * gettext.C: ditto
9476         * ShareContainer.h: ditto
9477         * lyx_main.h: ditto
9478         * kbmap.h: ditto
9479         * FontInfo.h: ditto
9480         * BufferView_pimpl.h: ditto
9481         * ColorHandler.h: ditto
9482
9483         * kbmap.C (defkey): change call to shared_ptr::reset
9484
9485 2002-05-21  Juergen Vigna  <jug@sad.it>
9486
9487         * buffer.C (insertErtContents): fix to insert ert asis if it is
9488         non empty. Skip it completely if it contains only whitespaces.
9489
9490 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9491
9492         * BufferView_pimpl.C:
9493         * BufferView2.C: clear selection on paste (bug 393)
9494
9495 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * DepTable.C: include ctime
9498
9499 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9500
9501         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9502
9503 2002-05-14  Juergen Vigna  <jug@sad.it>
9504
9505         * text.C (breakParagraph): fixed function to honor the keepempty
9506         layout in the right maner and also to permit the right breaking
9507         algorithm on empty or non empyt keepempty paragraphs.
9508
9509         * paragraph.C (breakParagraph): we have to check also if the par
9510         is really empty (!size()) for isempty otherwise we do the wrong
9511         paragraph break.
9512
9513 2002-05-10  Juergen Vigna  <jug@sad.it>
9514
9515         * buffer.[Ch] : The following are only changes to the ert
9516         compatibility read reading old LaTeX layout and font stuff and
9517         convert it to ERTInsets.
9518
9519         * buffer.h: added isErtInset().
9520
9521         * buffer.C (struct ErtComp): add a fromlayout bool to check
9522         if we're inside a LaTeX layout.
9523         (isErtInset): new helper function.
9524         (insertErtContents): look for other ert insets before this one
9525         and insert the contents there, so that we don't have subsequent
9526         ERT insets with nothing between them. This way we create only one
9527         inset with multiple paragraphs. Also check if we don't insert only
9528         spaces ' ' as they are ignored anyway afterwards in the .tex file
9529         so if we have only spaces we will ignore this latex part in the
9530         new file.
9531         (parseSingleLyXformat2Token \\layout): better compatibility when
9532         reading layout-latex stuff.
9533         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9534         language tag.
9535         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9536         stuff after reading the inset only get the information back from
9537         the stack.
9538
9539 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9540
9541         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9542
9543         * LaTeXFeatures.C (getBabelOptions): New method.
9544
9545 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * BufferView_pimpl.C (Dispatch): work around missing argument for
9548         'layout'
9549
9550 2002-05-08  Juergen Vigna  <jug@sad.it>
9551
9552         * text.C (leftMargin): handle paragraph leftindent.
9553
9554         * paragraph.C (writeFile): write the new \\leftindent tag.
9555         (validate): handle leftindent code.
9556         (TeXEnvironment): handle paragraphleftindent code again.
9557
9558         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9559
9560         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9561         for paragrap_extra indent code and new token \\leftindent.
9562         (latexParagraphs): handle the leftindent as environment.
9563
9564         * ParameterStruct.h: added leftindent support.
9565
9566         * ParagraphParameters.C (leftIndent): added support functions for
9567         the paragraph left indent.
9568
9569         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9570         more appropriate.
9571
9572 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9573
9574         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9575         inside insetERT.
9576
9577         * text.C (computeBidiTables): No bidi in insetERT.
9578
9579         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9580         in RTL documents.
9581
9582 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9583
9584         * version.C.in: pre 5
9585
9586 2002-05-02  José Matos  <jamatos@fep.up.pt>
9587         * buffer.C (makeDocBookFile): white space changes, add newline to
9588         command styles.
9589         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9590
9591         * tabular.C (docBook): fix typo.
9592
9593 2002-05-03  Juergen Vigna  <jug@sad.it>
9594
9595         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9596         change in LyXText as we can not be sure it was not freed.
9597         (drawOneRow): remove unused code.
9598
9599         * text.C (drawInset): redo the calculation of the need_break_row as
9600         it could have a row which was already freed.
9601         (draw): look at the return value of drawInset and return false if
9602         it also returned false.
9603         (paintRowText): look at the return value of draw and return false if
9604         it also returned false.
9605
9606         * lyxtext.h: added bool return type to drawInset() and draw() so that
9607         if we have a change in the row so that the rowbreak has to be redone
9608         we abort drawing as it will be called again.
9609
9610 2002-05-02  Juergen Vigna  <jug@sad.it>
9611
9612         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9613         a change in the maintext also if we're inside an inset.
9614         (Dispatch): set the cursor again after a break line and after the
9615         screen has been updated as it could be we're in a different row.
9616
9617         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9618         to set the cursor behind the pargraph with > size().
9619         (setCursor): check also for the same paragraph when checking where
9620         to put the cursor if we have a NFR inset.
9621
9622         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9623         parts of layout read further up as it still was in the wrong
9624         position.
9625
9626 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * screen.C (drawFromTo): change sine fullRebreak always return
9629         true.
9630
9631         * buffer.C (parseSingleLyXformat2Token): reindent some
9632
9633         * BufferView_pimpl.C (update): change since fullRebreak always
9634         return true.
9635         (Dispatch): git rid of the last hardcoded "Standard"s.
9636
9637 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9638
9639         * text2.[Ch] (fullRebreak): make it return void now that we always
9640         returned true.
9641
9642 2002-04-30  Juergen Vigna  <jug@sad.it>
9643
9644         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9645         ert compatibility check for "latex" layout.
9646
9647 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9648
9649         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9650         minipages: use col% instead of p%, and also use the current font.
9651         (makeLaTeXFile): Fix use babel condition.
9652         (parseSingleLyXformat2Token): Correct font when reading old floats.
9653
9654 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9655
9656         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9657         inserting list of floats.
9658
9659 2002-04-25  Herbert Voss  <voss@lyx.org>
9660
9661         * MenuBackend.C (expand): don't add the graphics extensions to the
9662         export menu
9663
9664 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9665
9666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9667         non-existing layout, do not complain if it was the default layout
9668         of the original class (bug #342)
9669
9670 2002-04-24  Juergen Vigna  <jug@sad.it>
9671
9672         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9673         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9674
9675 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9676
9677         * buffer.C (getBibkeyList): If using \bibliography, return the
9678         option field with the reference itself. Enables us to provide natbib
9679         support when using \bibliography.
9680
9681 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9682
9683         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9684
9685         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9686         natbib is provided by the LaTeX class.
9687
9688 2002-04-23  Juergen Vigna  <jug@sad.it>
9689
9690         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9691         Wakeup functions.
9692
9693         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9694
9695 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9698
9699         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9700         ensuremath around textordmasculine, textordfeminine and
9701         textdegree.
9702
9703 2002-04-19  Juergen Vigna  <jug@sad.it>
9704
9705         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9706         reinitializing the buffer otherwise row-dimensions may be wrong.
9707         (update): reset also the selection cursors if they do exits otherwise
9708         their x/y positions may be wrong.
9709
9710         * text2.C (cursorDown): don't enter the inset if we came from a row
9711         above and are one row over the inset.
9712
9713         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9714         really leaving an inset.
9715
9716 2002-04-18  Juergen Vigna  <jug@sad.it>
9717
9718         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9719         of the selected paragraph does not have the selected layout also if
9720         the last one had!
9721
9722         * text2.C (setLayout): fixed bug which did not change last selected
9723         paragraph.
9724
9725         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9726         changed the read and substituted \\end_float with \\end_inset!
9727
9728         * BufferView_pimpl.C (cursorPrevious):
9729         (cursorNext): fixed to make it work with rows heigher than the work
9730         area without moving the cursor only the draw of the row.
9731         (workAreaMotionNotify): fix jumping over high rows.
9732
9733 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9736         Ressler.
9737
9738 2002-04-16  Juergen Vigna  <jug@sad.it>
9739
9740         * text2.C (setCursor): set also the irow().
9741         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9742         (cursorUp):
9743         (cursorDown): support for locking an inset if the x_fix value goes
9744         inside it. That way I can transverse insets too with cursor up/down.
9745
9746         * lyxrow.h: added irow helper function same as other (i) functions.
9747
9748         * BufferView_pimpl.C (cursorPrevious):
9749         (cursorNext): fixed for insets!
9750
9751 2002-04-15  Juergen Vigna  <jug@sad.it>
9752
9753         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9754         position otherwise it is wrong in some cases.
9755
9756         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9757         inside the inset before the call.
9758
9759 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9760
9761         * buffer.[Ch] (getBibkeyList): make it const.
9762
9763 2002-04-12  Juergen Vigna  <jug@sad.it>
9764
9765         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9766
9767         * text2.C (getCursorX): new helper function
9768         (setCursor): compute also ix_
9769         (setCursorFromCoordinates): set also ix.
9770
9771         * lyxcursor.h: added ix_ and helper functions.
9772
9773         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9774
9775         * buffer.C (insertStringAsLines): dont break paragraph if the this
9776         paragraph is inside an inset which does not permit it!
9777
9778         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9779         also with no chars on this paragraph.
9780         (paintRowText): only paint stuff if it's inside the workarea!
9781
9782         * paragraph.C (breakParagraph): honor keepempty flag and break the
9783         paragraph always below not above.
9784
9785         * BufferView2.C (unlockInset): update the paragraph layout on inset
9786         unlock as we changed paragraph in such a case.
9787
9788         * lyxfind.C (LyXFind): clear the former selection if not found!
9789
9790         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9791         again called in insertChar().
9792
9793         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9794         an inset which uses the whole row!
9795         (rightMargin): ditto.
9796         (insertChar): force a rebreak if we inserted an inset!
9797
9798 2002-03-28  Herbert Voss  <voss@lyx.org>
9799
9800         * lyxlength.[Ch]: add inBP() to get the right PS-point
9801         units (BigPoint). With inPixels we have rounding errors
9802
9803 2002-04-11  Juergen Vigna  <jug@sad.it>
9804
9805         * text2.C (setCursorFromCoordinates): set iy to the right value.
9806         (setCursor): add check if row->previous exists!
9807
9808         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9809         an old float_type as this was the case in the old code!
9810
9811         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9812
9813         * BufferView2.C (showLockedInsetCursor): use iy
9814         (fitLockedInsetCursor): ditto
9815
9816         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9817         locked insets as there we have the right value now.
9818
9819         * lyxcursor.C: added iy_ variable and iy functions to set to the
9820         baseline of cursor-y of the locked inset.
9821
9822         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9823         (setCursor): fixed for insets which need a full row.
9824
9825         * text.C (rowLastPrintable): don't ignore the last space when before
9826         an inset which needs a full row.
9827         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9828         as last character of a row when before a inset which needs a full row.
9829
9830 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9831
9832         * version.C.in: update date
9833
9834         * text2.C (fullRebreak): try to always return true and see what
9835         happens...
9836
9837 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * MenuBackend.C (expand): use Floating::listName
9840
9841         * FloatList.C (FloatList): add listName argument to the built-in
9842         floats
9843
9844         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9845         text associated with the float.
9846
9847 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9848
9849         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9850
9851 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9852
9853         * ShareContainer.h: add a couple of missing typenames.
9854
9855 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9856
9857         * lyxrc.C (getDescription): use _() correctly rather than N_().
9858
9859 2002-03-28  Herbert Voss  <voss@lyx.org>
9860
9861         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9862         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9863
9864 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9867         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9868
9869 2002-03-29  Juergen Vigna  <jug@sad.it>
9870
9871         * lyxfunc.C (dispatch): add a missing fitCursor call.
9872
9873         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9874         it was scrolled by a cursor move, so return the bool status.
9875
9876         * BufferView.C (fitCursor): return the bool flag also to the outside
9877         world as this is needed.
9878
9879         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9880
9881         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9882         call the edit() as it is not needed (and wrong) IMO.
9883         (workAreaButtonPress): set the screen_first variable before evt.
9884         unlock the inset as this may change screen_first and then we have
9885         a wrong y position for the click!
9886
9887 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9888
9889         * MenuBackend.C (expand): another translation that I missed
9890
9891 2002-03-28  Juergen Vigna  <jug@sad.it>
9892
9893         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9894
9895         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9896
9897 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9898
9899         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9900
9901         * MenuBackend.C (expand): fix export/view/update when there is no
9902         document open.
9903
9904 2002-03-27  Herbert Voss  <voss@lyx.org>
9905
9906         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9907         and text%
9908
9909 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * bufferview_funcs.C (currentState): only show paragraph number
9912         for is DEVEL_VERSION is set.
9913
9914         * lyxfunc.C (dispatch): put warning in INFO channel
9915
9916         * MenuBackend.C (expand): translate the name of floats
9917
9918         * FloatList.C (FloatList): mark the float names for translation
9919
9920         * converter.C (convert): use LibScriptSearch
9921
9922 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9923
9924         * MenuBackend.C (defaults): fix default menu (we might as well get
9925         rid of it...)
9926
9927 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9930         directory.
9931
9932 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * lyxvc.C: reorder includes.
9935
9936 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9939           properly
9940
9941 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9942
9943         * CutAndPaste.C: change layouts earlier on paste
9944           to avoid crashing when calling getFont()
9945
9946 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9947
9948         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9949         irritating #error.
9950
9951 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9952
9953         * WorkArea.C: remove 'Pending' debug message.
9954
9955         * most files: ws cleanup
9956
9957         * buffer.[Ch]: ws changes
9958
9959         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9960
9961 2002-03-21  Juergen Vigna  <jug@sad.it>
9962
9963         * tabular.C (SetMultiColumn): collapse also the contents of the
9964         cells and set the last border right. Added a Buffer const * param.
9965
9966 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9969         linking or not.
9970
9971 2002-03-19  Juergen Vigna  <jug@sad.it>
9972
9973         * text2.C (clearSelection): reset also xsel_cache.
9974
9975         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9976         where it needs to be called (John tells us to do so too :)
9977         (selectionLost): reset sel_cache.
9978
9979         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9980
9981 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9982
9983         * text2.C (setCursorIntern): put debuging code in INSETS channel
9984
9985 2002-03-19  André Pönitz <poenitz@gmx.net>
9986
9987         * lyxfunc.C: tiny whitespace change
9988
9989 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * ToolbarDefaults.C (init):
9992         * LyXAction.C (init):
9993         * commandtags.h:
9994         * BufferView_pimpl.C (Dispatch):
9995         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9996
9997 2002-03-19  Allan Rae  <rae@lyx.org>
9998
9999         * exporter.C (Export): removeAutoInsets before doing anything else.
10000         While I've just introduced a dependency on BufferView this really is
10001         the best place to clean the buffer otherwise you need to cleanup in
10002         a dozen places before calling export or cleanup in a dozen functions
10003         that export calls.
10004
10005         * converter.C (runLaTeX):
10006         (scanLog): Better handling of removeAutoInsets and screen updates.
10007
10008         * lyxfunc.C (dispatch): small whitespace changes
10009
10010 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * WorkArea.C (C_WorkAreaEvent): return a value.
10013         (event_cb): return 1 if we handled the event, 0 otherwise.
10014
10015         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10016
10017 2002-03-18  Juergen Vigna  <jug@sad.it>
10018
10019         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10020         (GetAdditionalWidth): ditto.
10021         (RightLine): ditto.
10022         (LeftLine): ditto.
10023
10024         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10025         inset if we're there actually (probably not used right now but this
10026         is the direction to go for unifying code).
10027         (paste): disable code to clear the selection.
10028
10029         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10030         inside an InsetText and move the check further up as it is in the
10031         wrong place.
10032
10033         * text2.C (pasteSelection): set a selection over the pasted text.
10034
10035 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10036
10037         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10038         and libgraphics to build on Cygwin.
10039
10040 2002-03-15  Juergen Vigna  <jug@sad.it>
10041
10042         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10043         inserting an Inset into the paragraph. I know this is not the best
10044         fix but we already use current_view in CutAndPaste so we will remove
10045         all of it's using at the same time.
10046
10047         * buffer.C (sgmlError): deactivated function till it is rewritten in
10048         the right mode, now it can create problems.
10049
10050         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10051         before accessing it.
10052
10053 2002-03-14  Juergen Vigna  <jug@sad.it>
10054
10055         * undo_funcs.C (textHandleUndo): do the right thing when updating
10056         the inset after the undo/redo.
10057
10058         * text2.C (setCursor): just some testcode for #44 not ready yet.
10059
10060         * undo_funcs.C (textHandleUndo): set the next() and previous()
10061         pointers of the paragraph to 0 before deleting otherwise we have
10062         problems with the Paragraph::[destructor].
10063
10064         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10065         on a paragraph insertion.
10066
10067 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * buffer.C (asciiParagraph): use += operator for char append to
10070         string.
10071
10072         * paragraph.C (getFontSettings): compare >= not just >
10073         (highestFontInRange): ditto
10074         (setFont): ditto
10075
10076 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10077
10078         * paragraph.C: change several algorithm to be more appripriate for
10079         the problem domain. This is lookip in FontList and in the InsetList.
10080
10081 2002-03-13  André Pönitz <poenitz@gmx.net>
10082
10083         * commandtags.h:
10084         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10085
10086 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * commandtags.h:
10089         * LyXAction.C:
10090         * lyxfunc.C:
10091         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10092
10093 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * Painter.C (display): anon helper function, adjust code for this
10096         change.
10097         (pixmap): remove function.
10098
10099         * Painter.h: remove private display variable.
10100
10101         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10102
10103 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10104
10105         * WorkArea.[Ch]: remove figinset_canvas cruft.
10106
10107 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * lyxtextclass.C (operator): add one item cache optimization.
10110
10111         * bufferlist.h: doxy changes
10112
10113         * bufferlist.C: ws changes
10114
10115         * DepTable.[Ch] (ext_exist): place const in the right spot.
10116
10117         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10118         call resizeInsets.
10119         (workAreaExpose): call resizeInsets when the with BufferView changes.
10120         (Dispatch): adjust for protectedBlank removal
10121         (specialChar): call updateInset if the insert went ok.
10122
10123         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10124         specialChar instead.
10125
10126         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10127
10128         * BufferView.h: doxy change
10129
10130         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10131
10132         * lyxtextclass.C (operator[]): remove non-const version
10133         (defaultLayout): remove non-const version
10134
10135 2002-03-12  Juergen Vigna  <jug@sad.it>
10136
10137         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10138         did resize the LyXText too.
10139
10140         * buffer.C (readLyXformat2): set layout information on newly allocated
10141         paragraphs.
10142
10143         * tabular.C (OldFormatRead): set layout information on the paragraph.
10144
10145 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10146
10147         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10148
10149 2002-03-11  Juergen Vigna  <jug@sad.it>
10150
10151         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10152         plainly wrong.
10153         (resizeCurrentBuffer): force also the insets to resize themselfes.
10154         (moveCursorUpdate): fixed up for InsetText.
10155
10156 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10157
10158         * commandtags.h:
10159         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10160         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10161         value of Dialogs::tooltipsEnabled().
10162         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10163
10164 2002-03-08  Juergen Vigna  <jug@sad.it>
10165
10166         * BufferView_pimpl.C (updateInset): update inset inside inset also
10167         if it isn't inside theLockingInset().
10168
10169 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10170
10171         * buffer.C (asciiParagraph): redo some of the word and line length
10172         handling.
10173         (getLists): look for Caption instead of caption.
10174
10175 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * buffer.C (Buffer): initialize niceFile to true
10178         (makeLaTeXFile):
10179         (makeLinuxDocFile):
10180         (makeDocBookFile): make sure niceFile is true on exit
10181
10182 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10185
10186 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10187
10188         * LyXSendto.C: remove.
10189         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10190         * lyx_gui.C: remove now-redundant comment.
10191         * ColorHandler.h: remove forward declaration of class WorkArea.
10192         * lyxfunc.C: remove #include "WorkArea.h".
10193
10194 2002-03-07  Juergen Vigna  <jug@sad.it>
10195
10196         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10197         got moved away with the DEPM and also set the inset_owner always
10198         right which before could have been omitted.
10199
10200 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10203         wanted layout is not found.
10204
10205 2002-03-07  Juergen Vigna  <jug@sad.it>
10206
10207         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10208
10209 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10210
10211         * paragraph.C (breakParagraph): use default layout not layout of
10212         prev paragraph.
10213         (Paragraph): clear ParagraphParameters.
10214
10215 2002-03-06  Juergen Vigna  <jug@sad.it>
10216
10217         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10218         otherwise it would not be a valid lenght. Fixed a special case in
10219         the minipage compatibility read where we end the document with a
10220         minipage.
10221
10222         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10223         was set as it could be 0 for InsetTexts first entry.
10224
10225 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * paragraph.C (writeFile): if layout is empty write out
10228         defaultLayoutName().
10229
10230         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10231         file without named layout we set layout to defaultLayoutName().
10232
10233 2002-03-06  Juergen Vigna  <jug@sad.it>
10234
10235         * CutAndPaste.C (copySelection): set layout for new paragraph.
10236
10237         * text.C (prepareToPrint): leave ERT inset left aligned
10238         (leftMargin): don't indent paragraphs inside ERT insets
10239
10240 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * paragraph.C (breakParagraph): dont call clear do the work manually
10243
10244         * paragraph.[Ch] (clear): remove function
10245
10246 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10247
10248         * paragraph.C (Paragraph): dont call clear, the work has already
10249         been done.
10250
10251         * lyxtextclass.C (operator): assert if n is empty
10252
10253         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10254         work manually instead.
10255
10256 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * BufferView_pimpl.C: protect selectionLost against text == 0
10259
10260 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10261
10262         * text.C (breakParagraph): fix a setting layout to '0' problem.
10263
10264 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10265
10266         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10267         final location of file, for the included files, and graphics.
10268
10269 2002-03-05  Juergen Vigna  <jug@sad.it>
10270
10271         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10272
10273 2002-03-04  Juergen Vigna  <jug@sad.it>
10274
10275         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10276
10277         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10278         last column of multicolumn cells.
10279         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10280
10281 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10282
10283         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10284         file if it doesn't go to a temporary file.
10285
10286         * buffer.C (sgmlOpenTag):
10287         (sgmlCloseTag):  remove extra newline insertion.
10288
10289 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290
10291         * text.C (getRowNearY): comment out debug msg
10292
10293 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * text2.C: first -> first_y
10296
10297         * text.C (getRowNearY): add some attemts at a possible
10298         optimization, not working.
10299
10300         * tabular.[Ch]: add BufferParams to several function so that newly
10301         created paragraph can be initialized to he default layotu for the
10302         buffers textclass.
10303
10304         * tabular-old.C (ReadOld): add buf->params to call of Init
10305
10306         * screen.C: rename text->first to text->first_y
10307
10308         * paragraph.C (breakParagraph): always set layout in the broken
10309         paragraph
10310
10311         * lyxtextclass.C (Read): remove lowercase
10312         (hasLayout): ditto
10313         (operator): ditto
10314         (delete_layout): ditto
10315
10316         * lyxtext.h: rename first -> first_y
10317
10318         * lyxlayout.C (Read): remove lowercase
10319         (name): ditto
10320         (setName): ditto
10321         (obsoleted_by): ditto
10322
10323         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10324
10325         * buffer.C (insertErtContents): add params are to InsetERT
10326         (parseSingleLyXformat2Token): add code to check if a paragraphs
10327         layout really exist.
10328         (parseSingleLyXformat2Token): add params to several inset
10329         constructors
10330         (asciiParagraph): remove lowercase, do the layout comparisons with
10331         no_case
10332
10333         * BufferView_pimpl.C (cursorNext): first -> first_y
10334         (resizeCurrentBuffer): first -> first_y
10335         (updateScrollbar): first -> first_y
10336         (scrollCB): first -> first_y
10337         (workAreaMotionNotify): first -> first_y
10338         (workAreaButtonPress): first -> first_y
10339         (checkInsetHit): first -> first_y
10340         (cursorPrevious): first -> first_y
10341         (cursorNext): first -> first_y
10342         (Dispatch): add buffer_->params to severl inset contructors
10343
10344 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * lyxlayout.C (Read): remove some debug info that I forgot.
10347
10348         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10349         clean up the code slightly.
10350         (makeLinuxDocFile): ditto
10351         (makeDocBookFile): ditto
10352
10353         * text2.C: layout as string
10354
10355         * text.C: layout as string
10356
10357         * paragraph_pimpl.C: layout as string
10358
10359         * paragraph.[Ch]: layout as string
10360
10361         * lyxtextclasslist.[Ch]: layout as string
10362
10363         * lyxtextclass.[Ch]: layout as string
10364
10365         * lyxtext.h: layout as string
10366
10367         * lyxlayout.[Ch]: layout as string
10368
10369         * lyx_cb.C: layout as string
10370
10371         * bufferview_funcs.C: layout as string
10372
10373         * bufferparams.C: layout as string
10374
10375         * buffer.C: layout as string
10376
10377         * LyXView.[Ch]: layout as string
10378
10379         * LaTeXFeatures.[Ch]: layout as string
10380
10381         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10382
10383         * BufferView_pimpl.C: change current_layout to string, remove
10384         lyx::layout_type.
10385         (Dispatch):
10386         (smartQuote):
10387         (insertInset):
10388         (workAreaButtonRelease): layout as string
10389
10390         * BufferView2.C (unlockInset): adjust
10391
10392         * vspace.C (asLatexCommand): use an explict temp variable.
10393
10394 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * Makefile.am: use FRONTEND_*
10397
10398 2002-03-01  Juergen Vigna  <jug@sad.it>
10399
10400         * tabular.C (SetWidthOfMulticolCell): changed to something better
10401         I hope but still work in progress.
10402         (recalculateMulticolumnsOfColumn): renamed function from
10403         recalculateMulticolCells as it is more appropriate now.
10404         (SetWidthOfCell): calculate multicols better.
10405
10406 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10409
10410         * lyxfunc.C (processKeySym): print sequence also if it is
10411         `deleted' (complete)
10412
10413         * kbsequence.C (print): print sequence even if it is deleted
10414         (complete would be a better word, actually).
10415
10416         * lyxfunc.C (dispatch): print complete options after a prefix key
10417
10418         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10419
10420 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10421
10422         * text2.C (setCharFont): eliminate setCharFont code duplication.
10423
10424 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10427         LFUN_TABULAR_FEATURE (bug #177)
10428
10429 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * Makefile.am: remove figure.h
10432
10433 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10434
10435         * Bufferview_pimpl.C:
10436         * CutAndPasteC:
10437         * LaTeX.C:
10438         * LyXSendto.C:
10439         * buffer.C:
10440         * bufferlist.C:
10441         * converter.C:
10442         * language.C:
10443         * lyxfunc.C:
10444         * lyxvc.C:
10445         * paragraph.C:
10446         * text.C:
10447         * text2.C: remove #include "lyx_gui_misc.h".
10448
10449         * LaTeX.C: added #include <cstdio>
10450
10451 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10454         that the paragraph following this one can have.
10455
10456         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10457
10458         * vspace.C (asLatexCommand): fix bogus gcc warning
10459
10460         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10461
10462 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10463
10464         * text2.C (setLayout): get rid of redundant code
10465
10466 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10467
10468         * text2.C (incDepth): make sure depth cannot be increased beyond
10469         reasonable values.
10470
10471 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10474         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10475
10476         * PainterBase.h (image):
10477         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10478         a LyXImage const *.
10479
10480 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * BufferView.C:
10483         * BufferView.h:
10484         * BufferView_pimpl.C:
10485         * BufferView_pimpl.h:
10486         * LaTeXFeatures.C:
10487         * LyXAction.C:
10488         * LyXView.C:
10489         * Makefile.am:
10490         * UpdateList.h:
10491         * UpdateList.C:
10492         * buffer.C:
10493         * figure.h:
10494         * figureForm.C:
10495         * figureForm.h:
10496         * figure_form.C:
10497         * figure_form.h:
10498         * lyx_cb.C:
10499         * lyx_gui.C:
10500         * lyx_gui_misc.C:
10501         * lyxfunc.C:
10502         * sp_base.h:
10503         * sp_ispell.h:
10504         * sp_pspell.h:
10505         * sp_spell.C: remove fig inset, and the crap house of
10506           cards that follows it
10507
10508 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * Makefile.am:
10511         * lyxserver.C:
10512         * os2_defines.h:
10513         * os2_errortable.h:
10514         * nt_defines.h: move .h into support/
10515
10516         * vms_defines.h: remove
10517
10518         * WorkArea.C: add space in debug output
10519
10520         * text2.C:
10521         * paragraph.C:
10522         * buffer.C: add WITH_WARNINGS
10523
10524         * vc-backend.h:
10525         * vc-backend.C:
10526         * bufferlist.C: s/retrive/retrieve/, add docs
10527
10528         * vspace.h:
10529         * vspace.C:
10530         * kbmap.h:
10531         * lyxlength.h:
10532         * lyxgluelength.h:
10533         * length_common.h:
10534         * chset.h:
10535         * chset.C: add docs
10536
10537         * lyxgui.C: add ID to X error handler
10538
10539         * lyxtestclass.c: fix typo
10540
10541 2002-02-26  Juergen Vigna  <jug@sad.it>
10542
10543         * tabular_funcs.C (write_attribute): changed so that some default
10544         attributes are not written at all.
10545         (getTokenValue): set default values before trying to read the
10546         value so we have the return value always set as default if we don't
10547         find the token we search for.
10548
10549         * tabular.C (Write): write bools as bools not as strings!
10550
10551 2002-02-22  Juergen Vigna  <jug@sad.it>
10552
10553         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10554         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10555
10556         * text.C (leftMargin): don't add an indent for paragraphs inside
10557         tabular cells (fix #208).
10558
10559 2002-02-21  José Matos  <jamatos@fep.up.pt>
10560
10561         * tabular.C (docBook): fixed support for long tables.
10562
10563 2002-02-20  Juergen Vigna  <jug@sad.it>
10564
10565         * text2.C (getFont): get the drawing font of the Inset if this
10566         paragraph is inside an inset (only important for InsetERT for now).
10567
10568         * buffer.C (insertErtContents): use new lanugage params in ERT
10569         constructor.
10570
10571         * CutAndPaste.C: commenting out seemingly uneeded code.
10572
10573 2002-02-19  Allan Rae  <rae@lyx.org>
10574
10575         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10576         Iterators might be simple to use but they also get invalidated.
10577         (removeAutoInsets): renamed saved cursor tracking variables and added
10578         some comments to clarify what everything does.
10579
10580 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10581
10582         * Chktex.C:
10583         * LaTeX.C:
10584         * LyXSendto.C:
10585         * converter.C:
10586         * lyx_cb.C:
10587         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10588         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10589
10590         * lyxfunc.C:
10591         * vc-backend.h: remove #include "support/syscall.h"
10592
10593         * LaTeX.C:
10594         * LyXSendto.C:
10595         * converter.C: rearrange #includes in Lars' approved fashion.
10596
10597         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10598         forward declare class Timeout in the header file.
10599
10600         * XFormsView.C: changes due to the above.
10601
10602         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10603         similar to LyXView.
10604
10605         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10606         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10607
10608 2002-02-18  José Matos  <jamatos@fep.up.pt>
10609
10610         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10611         insets contents.
10612
10613 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10614
10615         * a lot of small ws changes
10616         * add a lot of using std::XXX
10617         * use std construcs some places where approp.
10618         * use some exisint stuff from lyxfunctional where approp.
10619         * Make file changes to use partial linking (lets test this now...)
10620
10621 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10622
10623         * Chktex.C:
10624         * buffer.C:
10625         remove #include "support/syscontr.h" as it's redundant. Always has been.
10626
10627         * Chktex.C:
10628         * LaTeX.C:
10629         * LyXSendto.C:
10630         * converter.C:
10631         * lyx_cb.C:
10632         * vc-backend.C:
10633         change Systemcalls::System to Systemcalls::Wait and
10634         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10635         No change of functionality, just reflects the stripped down Systemcalls
10636         class.
10637
10638 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10639
10640         * debug.[Ch]: add a GRAPHICS type to the enum.
10641
10642 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10645
10646         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10647         there is an inset.
10648
10649 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10652         match the changes below.
10653
10654         * text2.C (toggleInset): if there is not editable inset at cursor
10655         position, try to see if cursor is _inside_ a collapsable inset
10656         and close it.
10657
10658 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10661         document menu has a nice checkbox
10662
10663 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * lyxlength.C (asLatexString): change PW to output as percent of
10666         \textwidth.
10667
10668         * lengthcommon.C: change '%' to 't%'
10669
10670         * lyxfunc.C (dispatch): a few comments from Martin
10671
10672 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * WorkArea.h:
10675         * WorkArea.C:
10676         * BufferView_pimpl.h:
10677         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10678           the X selection.
10679
10680 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * vspace.C (inPixels): fix compiler warning
10683
10684 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * lyxfunc.C (getStatus): fix status message for disabled commands.
10687
10688 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * BufferView_pimpl.C: fix crash on close buffer
10691         during selection (#227)
10692
10693 2002-01-27  Herbert Voss  <voss@lyx.org>
10694
10695         * buffer.C: link old Figure to new graphic inset
10696
10697 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * FontLoader.C (getFontinfo): Change the latex font names in order
10700         to match the names of type1inst.
10701
10702 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10705
10706         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10707         (extchanged): ditto
10708         (ext_exist): ditto
10709         (remove_files_with_extension): ditto
10710         (remove_file): ditto
10711         (write): ditto
10712
10713         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10714         document is smaller than the work area height. Do not initialize
10715         static variables to 0.
10716
10717 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10718
10719         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10720
10721         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10722         LFUN_LAYOUT_PARAGRAPHS.
10723
10724         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10725         tabular. It is possible to provide a possible cell, which will
10726         typically be the actcell from the corresponding insettabular
10727
10728         * lyxfunc.C (getStatus): small cleanup; disable
10729         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10730         true
10731
10732 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10733
10734         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10735
10736         * paragraph.C (startTeXParParams):
10737         (endTeXParParams): new methods. The LaTeX code to
10738         start/end paragraph formatting
10739         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10740         empty (fixes bug #200)
10741
10742         * vspace.C (inPixels): adapt to the change below
10743         (inPixels): [later] more cleanups (remove unused variables)
10744
10745         * lyxlength.C (inPixels): change to use a width and a height as
10746         parameter.
10747
10748 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10751         Replaced with \paperwidth
10752
10753         * DepTable.C (insert): add std:: qualifier
10754
10755 2002-01-18  Allan Rae  <rae@lyx.org>
10756
10757         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10758         updated also?
10759
10760         * text.C (drawInset): Turned out I didn't know enough about how
10761         rebreaking worked.  This fixes most of the redraw problems.  I see
10762         an occasional cursor trail when a line is broken now and the cursor
10763         placement can seem out by a few pixels also after a rebreak.
10764
10765 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * buffer.C (parseSingleLyXformat2Token): update because minipage
10768         width is now a LyXLength
10769
10770         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10771
10772         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10773         math insets
10774
10775 2002-01-17  Juergen Vigna  <jug@sad.it>
10776
10777         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10778
10779         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10780         is set correctly and the inset is updated correctly.
10781
10782 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10785         the beginning of the loop.
10786
10787 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * lyxrc.C: improve help for use_scalable_fonts
10790
10791 2002-01-17  Allan Rae  <rae@lyx.org>
10792
10793         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10794
10795 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10796
10797         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10798         make sure to set their inset_owner to the right value (bug #171)
10799
10800 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10801
10802         * DepTable.h
10803         * DepTable.C: Implement mtime checking to reduce time spent doing
10804         CRCs.
10805
10806 2002-01-16  Juergen Vigna  <jug@sad.it>
10807
10808         * tabular.C (GetAdditionalHeight): one of error fixed.
10809
10810         * lyxrc.C (output): small fix in writing use_pspell.
10811
10812 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10813
10814         * sp_base.h: #include LString.h
10815
10816 2002-01-16  Allan Rae  <rae@lyx.org>
10817
10818         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10819         Can someone check this please?
10820
10821         * text.C (drawInset): It was possible that p.row would be removed by
10822         breakAgainOneRow upsetting a few other settings.  There may be another
10823         small tweak possible by setting need_break_row = 0 when p.row has been
10824         removed but I don't know enough about the logic here.
10825
10826 2002-01-15  Allan Rae  <rae@lyx.org>
10827
10828         * text.C (insertChar): removed conditional truism.
10829
10830         * BufferView2.C (removeAutoInsets): More tweaks.
10831         cur_par_prev could be a stray pointer.  Check for trailing empty line
10832         in case last line was cur_par and only had an error inset on it.
10833
10834 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10837         absolute
10838
10839         * vc-backend.C (most methods):
10840         * exporter.C (Export):
10841         * converter.C (convert):
10842         (runLaTeX):
10843         * LyXSendto.C (SendtoApplyCB):
10844         * lyxfunc.C (dispatch):
10845         (menuNew):
10846         (open):
10847         (doImport):
10848         * lyx_cb.C (AutoSave):
10849         (InsertAsciiFile):
10850         * BufferView_pimpl.C (MenuInsertLyXFile):
10851         * buffer.C (runChktex): use Buffer::filePath().
10852
10853         * buffer.h: rename filename to filename_; rename filepath to
10854         filepath_ and make it private
10855         (filePath): new method
10856
10857         * buffer.C (writeFile): use fileName()
10858         (getLatexName):
10859
10860         * lyx_main.C (init): fix starting  of LyX when the binary is a
10861         link from so,ewhere else.
10862
10863         * minibuffer.C: include <cctype> for isprint
10864
10865 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10866
10867         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10868         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10869         name clash with InsetCollapsable's width function.
10870
10871 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * lastfiles.C: include <iterator>
10874
10875 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10876
10877         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10878         std::count.
10879
10880         * buffer.C (makeLaTeXFile): ditto.
10881         Also make loop operation more transparent.
10882
10883 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * ToolbarDefaults.C: remove trailing comma closing namespace.
10886
10887         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10888
10889         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10890         as in WorkArea.
10891
10892         * trans.C (Load): comment out unused variable, allowed.
10893
10894 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10895
10896         * minibuffer.[Ch] (append_char): new method to recieve input from the
10897         drop-down completion browser. If a key was pressed, then recieve this
10898         char and append it to the existing string.
10899         (peek_event): modify the positioning data passed to the completion
10900         browser so that it can be placed above the minibuffer rather than below.
10901 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10902
10903         * LyXAction.C (init): alloe error-next for readonly documents.
10904
10905         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10906         count.
10907
10908 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * bufferlist.C (readFile): create the buffer _after_ checking that
10911         the file exists.
10912
10913         * lyxfunc.C (verboseDispatch): fix handling of arguments
10914
10915         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10916
10917         * lyxrc.C: use string::erase() instead of initializing to "".
10918
10919
10920 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * BufferView_pimpl.h:
10923         * BufferView_pimpl.C:
10924         * WorkArea.h:
10925         * WorkArea.C:
10926         * text2.C: tell X when we have made a selection for copying
10927
10928 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * BufferView_pimpl.C (MenuInsertLyXFile):
10931         * lyxfunc.C (menuNew):
10932         (open):
10933         (doImport): add shortcuts to directory buttons
10934
10935         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10936         open a float)
10937
10938         * lyxfunc.C (setStatusMessage):
10939         (getStatusMessage): new methods
10940         (getStatus):use setStatusMessage instead of setErrorMessage
10941         (dispatch): when function is disabled, set error message here
10942         [instead of in getStatus previously]
10943
10944         * BufferView_pimpl.C (workAreaButtonRelease): update
10945         toolbar/menubar here too.
10946
10947 2002-01-13  Allan Rae  <rae@lyx.org>
10948
10949         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10950         Now seems indestructible.  Remaining task is to audit all other
10951         code affected by deleteEmptyParagraphMechanism.  One small quirk
10952         left is that an empty document with an error in the preamble can
10953         be made to report an error but no error box appears.  I don't know
10954         where it goes.
10955         (removeAutoInsets): Improved comments.
10956
10957 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * Thesaurus.h:
10960         * Thesaurus.C: update for Aiksaurus 0.14
10961
10962 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * text2.C (firstParagraph): removed member function, all uses
10965         replaces with ownerParagraph
10966         (redoParagraphs): here
10967         (updateInset): here
10968         (toggleAppendix): here
10969         * BufferView2.C (insertErrors): here
10970         (setCursorFromRow): here
10971
10972 2002-01-13  Allan Rae  <rae@lyx.org>
10973
10974         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10975         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10976         There is still a way to segfault this although you may have to do this
10977         multiple times: Have an InsetERT with an unknown command in it.
10978         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10979         <down-arrow>, <Enter> again, View->DVI, BANG!
10980
10981         * text2.C (setCursor):
10982         (deleteEmptyParagraphMechanism):
10983         * lyxtext.h (setCursor):
10984         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10985         Making use of the return value may help fix other bugs.
10986
10987 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10988
10989         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10990
10991         * LyXView.C (updateMenubar): call MenuBar::update here
10992         (updateToolbar): but not here
10993         (showState): do not update toolbar/menubar
10994
10995         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10996         should need to care about that.
10997
10998         * lyxfunc.C (verboseDispatch): simplify a bit
10999         (getStatus): have a version which takes a pseudoaction, and
11000         another which requires a (kb_action,string).
11001
11002         * LyXAction.C (retrieveActionArg): make it work also when action
11003         is not a pseudo-action.
11004         (getActionName): simplify a bit
11005         (helpText):
11006
11007 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11008
11009         * lyxfunc.C (verboseDispatch): new families of methods with
11010         several ways to specify a command and a bool to indicate whether
11011         the command name and shortcut should be displayed in minibuffer
11012         (eventually, we could extend that to a finer bitmask like
11013         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11014         (dispatch): the pristine dispatch command which just, well,
11015         dispatchs! Note it still sets its result to minibuffer; I'm not
11016         sure we want that.
11017
11018         * lyxfunc.h: remove setHintMessage
11019
11020         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11021
11022 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * BufferView_pimpl.C (specialChar): delete new inset if we have
11025         not been able to insert it.
11026
11027         * kbmap.C: revert to using int instead of kb_action, since all we
11028         are dealing with is pseudo-actions.
11029
11030         * LyXAction.C (searchActionArg): change to return int instead of
11031         kb_action, since the result is a pseudoaction.
11032
11033 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11034
11035         * buffer.C (insertErtContents): Fix (partially) the font bug.
11036
11037 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11038
11039         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11040         as the other one is broken on my machine!
11041
11042 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11043
11044         * commandtags.h:
11045         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11046
11047 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11048
11049         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11050         reflect their actual use. Provide compatibility code for older lyxrc
11051         files.
11052
11053         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11054         FL_NORMAL_STYLE.
11055         change names of popup font variables in line with the changes to lyxrc.C
11056
11057 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11058
11059         * buffer.C (asciiParagraph): avoid outputing a word twice after
11060         an inset.
11061
11062         * lyxrc.C (getDescription): document that document_path and
11063         template_path can be empty.
11064
11065 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * LaTeXFeatures.C (getMacros):
11068         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11069
11070         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11071
11072         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11073         getPackages.
11074         (getPackages): rename feature "floats" to "float". Use an array to
11075         iterate over 'simple' features (i.e. just a \usepackage). Add
11076         handling of "amsmath" (renamed from "amsstyle").
11077
11078 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11079
11080         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11081         features list.
11082
11083 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11086         FuncStaus::FuncStatus & FuncStaus::some_method().
11087
11088 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11089
11090         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11091         of the func_satus stuff. Edited and massaged in various ways by
11092         JMarc.
11093
11094         * lyxfunc.C (getStatus): use FuncStatus
11095
11096 2002-01-08  Juergen Vigna  <jug@sad.it>
11097
11098         * text.C (nextBreakPoint): use function Inset::isChar().
11099
11100         * paragraph.C (TeXOnePar): use function
11101         Inset::forceDefaultParagraphs.
11102
11103         * buffer.C (latexParagraphs): use function
11104         Inset::forceDefaultParagraphs.
11105
11106 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11107
11108         * lyx_gui.C (init): set the style of the menu popups to
11109         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11110
11111 2002-01-07  Juergen Vigna  <jug@sad.it>
11112
11113         * text.C (setHeightOfRow): small fix
11114         (prepareToPrint): don't look at alignment if we don't have the place
11115         for doing it.
11116
11117 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * box.C: New file. Move the Box methods and functions out of box.h,
11120         following Lars' suggestion.
11121
11122 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * box.h: #include "support/LOstream.h", needed for inlined function.
11125
11126         * lyxtextclass.C:
11127         * lyxtextclasslist.C: added some using std declarations.
11128
11129 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * box.h: make signed dimensions to allow insets wider than
11132           the screen (bug #162)
11133
11134         * BufferView_pimpl.C: add some insetHit debug
11135
11136 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * vc-backend.C: add FIXME
11139
11140 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11141
11142         * lyxfunc.C (getStatus): enable code for showing math font status
11143         in toolbar/menu.
11144
11145 2002-01-07  Juergen Vigna  <jug@sad.it>
11146
11147         * text.C (nextBreakPoint): removed debug output not needed anymore.
11148
11149 2002-01-06  Juergen Vigna  <jug@sad.it>
11150
11151         * text.C (nextBreakPoint): fixed up this function we had this bug
11152         since ever but now hopefully we break row better.
11153         (insertChar): we have to check if an inset is the next char as it
11154         could now happen that a large inset is causing a break.
11155
11156 2002-01-05  Juergen Vigna  <jug@sad.it>
11157
11158         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11159         if it doesn't like to be drawed.
11160
11161 2002-01-04  Juergen Vigna  <jug@sad.it>
11162
11163         * BufferView2.C (lockInset): forgot to set a cursor.
11164
11165         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11166
11167 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11168
11169         * FormMathsPanel.C:
11170         * FormMathsPanel.h
11171         * MathsSymbols.C:
11172         * form_maths_panel.C:
11173         * form_maths_panel.h:
11174         * form_maths_panel.fd: implemented sub- and super- buttons in math
11175         panel.
11176
11177         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11178         (or ^ space) to be used as in TeX (req'd by André).
11179
11180         * lyxfunc.C: Allow ^ and _ again to be used both as
11181         super/subscript (mathed) and as themselves (in text).
11182
11183 2002-01-03  Allan Rae  <rae@lyx.org>
11184
11185         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11186         "LyX" or the filename of the current buffer if it has one.  This is a
11187         modified form of John Levon's patch.
11188
11189         * XFormsView.C (setWindowTitle): also set icon title.
11190
11191         * LyXView.h (setWindowTitle): signature changed.
11192         * XFormsView.h (setWindowTitle): ditto.
11193
11194 2002-01-02  Juergen Vigna  <jug@sad.it>
11195
11196         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11197
11198 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * screen.C (topCursorVisible): introduce a temp var for
11201         text->cursor.row(), handle the case where this row is null. (kindo
11202         hachish)
11203
11204         * text2.C (setCursor): add a couple of asserts.
11205
11206         * paragraph.h (inset_iterator): add -> operator
11207
11208         * paragraph.[Ch] (autoDeleteInsets): remove member function
11209
11210         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11211         cursor pos correctly and handle inset deletion by itself.
11212         (insertErrors): move iterator declaration out of for expression
11213
11214         * lyxtextclass.C: add <algorithm>
11215
11216         * Makefile.am: added the new files to sources, removed layout.C
11217
11218         * layout.C: removed file
11219
11220         * layout.h: remove LYX_DUMMY_LAYOUT
11221
11222         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11223         layout.
11224
11225         * lyxlayout.[Ch]:
11226         * lyxtextclass.[Ch]:
11227         * lyxtextclasslist.[Ch]: new files
11228
11229         * include order changes to a lot of files, also changes because of
11230         the six new files.
11231
11232 2001-12-27  Juergen Vigna  <jug@sad.it>
11233
11234         * buffer.C (asciiParagraph): more fixes.
11235
11236         * tabular.C (ascii): make ascii export support export of only the
11237         data separated by a column-delimiter.
11238         (ascii): better support for ascii export.
11239
11240         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11241
11242 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11243
11244         * tabular_funcs.C: use a "using std::getline" instead of the
11245         previous fix from Angus (necessary for cxx + lyxstring)
11246
11247 2001-12-24  Juergen Vigna  <jug@sad.it>
11248
11249         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11250
11251         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11252         problems. First check a minipage also if we have some ert-contents
11253         (not only on par->size(), second set the right depth of the paragraph
11254         on the relink to the root-paragraph-list!
11255
11256         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11257         which then did not anymore update the main paragraphs on undo/redo!
11258
11259 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11262         code. Support all font-changing funcs (even those which are not in
11263         menu currently). Support for reporting font settings in
11264         mathed (disabled until Andre provides a function on mathed's side).
11265
11266         * func_status.h (toggle): small helper function to set toggle
11267         state on a flag.
11268
11269 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11270
11271         * tabular_funcs.C: getline -> std::getline
11272
11273 2001-12-21  Juergen Vigna  <jug@sad.it>
11274
11275         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11276         accessed and could be 0 (I couldn't generate this but it seems
11277         Michael could!).
11278
11279 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11282         * tabular_funcs.h: here and include iosfwd
11283
11284 2001-12-20  Juergen Vigna  <jug@sad.it>
11285
11286         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11287         inside inset but undo_par was.
11288
11289 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * Thesaurus.C: always include <config.h> in sources.
11292
11293         * Painter.h:
11294         * lyxlookup.h:
11295         * box.h: do not include <config.h> in header files
11296
11297         * text.C (paintLastRow): remove unused variable
11298
11299         * text.C (transformChar):
11300         (insertChar):
11301         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11302
11303         * Painter.C (text):
11304         * font.C (width): rewrite to use uppercase() instead of
11305         islower/toupper.
11306
11307         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11308
11309 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * lyxfind.C: clean up of find failure position change
11312
11313 2001-12-20  Juergen Vigna  <jug@sad.it>
11314
11315         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11316
11317         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11318         (TeXRow): added to LaTeX a single tabular row.
11319         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11320         (Latex): simplified and finally good LT-h/f support.
11321         (various_functions): just small adaptions for LT-h/f support.
11322
11323         * tabular_funcs.[hC]: added and moved here all not classfunctions
11324         of LyXTabular.
11325
11326 2001-12-19  Juergen Vigna  <jug@sad.it>
11327
11328         * tabular.[Ch]: better support for longtabular options (not finished
11329         yet!)
11330
11331 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * text.C (paintLastRow): use the label font instead of the font of
11334         the last character to compute the size of *_BOX. This makes more
11335         sense and avoids a crash with empty paragraphs.
11336         Use Painter::rectangle to draw EMPTY_BOX.
11337
11338 2001-12-19  Juergen Vigna  <jug@sad.it>
11339
11340         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11341         the paragraphs if the replaced paragraph is not the first one!
11342         Tried to delete not used paragraphs but does not work yet so for
11343         now it's inside #ifdef's and by default off!
11344
11345 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11346
11347         * MenuBackend.C: include "lyx_main.h" instead of declaring
11348         lastfiles (actually was declared as LastFiles* instead of a
11349         scoped_ptr).
11350
11351 2001-12-17  Juergen Vigna  <jug@sad.it>
11352
11353         * tabular.C (AppendColumn): applied John's fix
11354
11355 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * BufferView.h:
11358         * BufferView.C:
11359         * BufferView_pimpl.h:
11360         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11361
11362         * Makefile.am:
11363         * box.h: new start of class for above
11364
11365         * lyxfunc.C: ignore space-only minibuffer dispatches.
11366           Show the command name when it doesn't exist
11367
11368         * minibuffer.C: don't add empty lines to the history
11369
11370         * minibuffer.C: add a space on dropdown completion
11371
11372 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * text.C: fix line above/below drawing in insets
11375
11376 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * lyxlength.C (LyXLength): Initialize private variables.
11379
11380 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11381
11382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11383         when inserting error insets.
11384
11385 2001-12-13  Juergen Vigna  <jug@sad.it>
11386
11387         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11388         actually sometimes the before-paragraph.
11389         (setUndo): don't clear the redostack if we're not actually undoing!
11390
11391 2001-12-06  Juergen Vigna  <jug@sad.it>
11392
11393         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11394         and fixed redoing of main paragraph, so we can use it now ;)
11395
11396         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11397
11398 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11401         Juergen's request
11402
11403 2001-12-13  André Pönitz <poenitz@gmx.net>
11404
11405         * undostack.[Ch]:
11406         * undo_func.C: minor cleanup
11407
11408 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11411         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11412         font in urw-fonts package which is marked as -urw-fontspecific and
11413         does not work (incidentally, changing the encoding in the
11414         fonts.dir of this package to -adobe-fontspecific fixes the
11415         problem).
11416
11417         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11418         is a crash when undoing first paragraph (Juergen, please take a
11419         look). THis does not mean the undo fix is wrong, just that it
11420         uncovers problems.
11421
11422         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11423         the (Paragraph*) version when needed instead of duplicating the
11424         code.
11425
11426         * text.C (workWidth): use Inset::parOwner to find out where the
11427         inset has been inserted. This is a huge performance gain for large
11428         documents with lots of insets. If Inset::parOwner is not set, fall
11429         back on the brute force method
11430
11431         * paragraph_pimpl.C (insertInset):
11432         * paragraph.C (Paragraph):
11433         (cutIntoMinibuffer): set parOwner of insets when
11434         inserting/removing them
11435
11436         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11437
11438 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11439
11440         * commandtags.h:
11441         * LyXAction.C:
11442         * lyx_main.C:
11443         * lyxfunc.C:
11444         * mathed/formulabase.C:
11445         * mathed/math_cursor.[Ch]:
11446         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11447
11448
11449 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * lyxlength.[Ch] (operator!=): new function
11452
11453 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * text.C (workWidth): use Inset::parOwner to find out where the
11456         inset has been inserted. This is a huge performance gain for large
11457         documents with lots of insets. If Inset::parOwner is not set, fall
11458         back on the brute force method
11459
11460         * paragraph_pimpl.C (insertInset):
11461         * paragraph.C (Paragraph):
11462         (cutIntoMinibuffer): set parOwner of insets when
11463         inserting/removing them
11464
11465         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11466
11467 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11468
11469         * tabular-old.C (getTokenValue):
11470         * tabular.C (getTokenValue):
11471         (write_attribute): new versions for LyXLength
11472         (everywhere): adjust the use of widths
11473
11474         * tabular.h: change the type of widths from string to LyXLength
11475
11476 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11477
11478         * paragraph.C: fixed missing line number count when exporting
11479         Environments to LaTeX file
11480
11481         * buffer.C: added informational message for checking line numbers.
11482
11483 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11486         paragraph, do the 'double space' part, but not the 'empty
11487         paragraph' one.
11488
11489         * text.C (workWidth): small optimization
11490         (getLengthMarkerHeight): use minimal size for negative lengths.
11491
11492 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11493
11494         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11495
11496         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11497
11498 2001-12-11  André Pönitz <poenitz@gmx.net>
11499
11500         * FontLoader.C:
11501         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11502
11503 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * text2.C: keep selection on a setFont()
11506
11507 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyx_cb.C: another bv->text misuse, from insert label
11510
11511 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * kbsequence.h:
11514         * kbsequence.C: re-instate nmodifier mask
11515
11516 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11517
11518         * lyx_main.h: make lyxGUI private.
11519
11520 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * lyxfind.C: place the cursor correctly on failed search
11523
11524 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * text.C (getLengthMarkerHeight): for small heights, the arrows
11527         are not always on top/bottom of the text
11528         (drawLengthMarker): smaller arrows; take the left margin in
11529         account; draw also vfills.
11530         (paintFirstRow):
11531         (paintLastRow): remove special code for vfill and standard spaces,
11532         since everything is handled in drawLengthMarker now.
11533
11534 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * buffer.C (insertErtContents): try to handle font and language
11537         interaction a bit better.g
11538
11539         * ColorHandler.C (updateColor): change the hash to cover the whole
11540         LColor enum, ws cleanup
11541         (getGCLinepars): ditto
11542         (getGCLinepars): only lookup in the linecache once.
11543
11544 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * iterators.C (operator++): Make the iterator more robust
11547
11548         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11549         (John's patch)
11550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11551
11552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * lyxtext.h:
11555         * text.C: better added space drawing
11556
11557 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * LyXView.C:
11560         * BufferView2.C: fix layout combo update on inset unlock
11561
11562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * Makefile.am: don't compile unused files
11565
11566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * lyxfunc.C:
11569         * commandtags.h:
11570         * LyXAction.C: remove old LFUN_LAYOUTNO
11571
11572 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * paragraph_pimpl.h:
11575         * paragraph_pimpl.C: isTextAt() doesn't need font param
11576
11577 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * lyxlex.h:
11580         * lyxlex.C: little cleanup
11581
11582 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * BufferView_pimpl.C: fix insertAscii for insets
11585
11586 2001-12-05  Juergen Vigna  <jug@sad.it>
11587
11588         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11589         set the right font on the "multi" paragraph paste!
11590
11591 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * trans_decl.h:
11594         * trans_mgr.[Ch]:
11595         * trans.[Ch]:
11596         * lyxgluelength.C:
11597         * lyxlength.C: remove out-commented code.
11598
11599         * BufferView_pimpl:
11600         * CutAndPaste.C:
11601         * DepTable.C:
11602         * buffer.C:
11603         * chset.C:
11604         * lastfiles.C:
11605         * lyxlex.C:
11606         * lyxlex_pimpl.C:
11607         * lyxserver.C:
11608         * screen.C:
11609         * tabular-old.C:
11610         * tabular.C:
11611         * text.C:
11612         * trans_mgr.C:
11613         * vc-backend.C: change "while(" to "while ("
11614
11615         * lyxlength.[Ch]: add zero function to check if length is zero or
11616         not
11617         * lyxgluelength.C: use it
11618
11619 2001-12-05  Allan Rae  <rae@lyx.org>
11620
11621         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11622         Works for 2.95.3, from what I understand of Garst's reports this should
11623         work for other g++ versions.  We're screwed if the abs(int) definition
11624         changed between bugfix releases of gcc.
11625
11626 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * text.C: fix chapter label offset !
11629
11630 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * lyxtext.h:
11633         * text.C: fix hfill at end of line, clean up
11634
11635 2001-12-04  Juergen Vigna  <jug@sad.it>
11636
11637         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11638         that we force an update of the inset and it's owners if neccessary.
11639
11640 2001-12-03  Juergen Vigna  <jug@sad.it>
11641
11642         * text.C (rowLast): simplified code
11643
11644 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * lyxfunc.C: fix show options on timeout
11647
11648 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * screen.C (topCursorVisible): scroll half a page when the cursor
11651         reached top of bottom of screen
11652
11653 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * minibuffer.C: deactivate on loss of focus
11656
11657 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * vspace.[Ch] (operator!=): add operator.
11660
11661 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * BufferView_pimpl.C: refuse to open an inset when
11664         there's a selection.
11665
11666 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * BufferView_pimpl.C: allow to click on RHS of full row insets
11669
11670 2001-11-30  Juergen Vigna  <jug@sad.it>
11671
11672         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11673         insets for undo reasons.
11674
11675 2001-11-28  André Pönitz <poenitz@gmx.net>
11676
11677         * vspace.[Ch]: cosmetical changes
11678
11679 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * LyXAction.h:
11682         * LyXAction.C:
11683         * lyxfunc.h:
11684         * lyxfunc.C:
11685         * kbmap.h:
11686         * kbmap.C:
11687         * lyxrc.C:
11688         * kbsequence.h:
11689         * kbsequence.C: part re-write of old kb code
11690
11691         * Painter.C:
11692         * WorkArea.C: remove Lgb_bug_find_hack
11693
11694 2001-11-30  José Matos <jamatos@fep.up.pt>
11695
11696         * buffer.C (makeDocBookFile): add a comment to point a hack.
11697         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11698         Fixed a double write of labels.
11699
11700 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11701
11702         * LaTeX.C:
11703         * LaTeX.h Fixed bug in LaTeX class where it would not
11704         re-run latex if no depfiles were changed, but the .dvi was removed.
11705
11706 2001-11-28  André Pönitz <poenitz@gmx.net>
11707
11708         * all the files from the change on 2001/11/26:
11709         use lyx::layout_type instead of LyXTextClass::size_type
11710         use lyx::textclass_type instead of LyXTextClassList::size_type
11711
11712 2001-11-29  Juergen Vigna  <jug@sad.it>
11713
11714         * text.C: added support for paragraph::isFreeSpacing()
11715
11716         * buffer.C: same as above
11717
11718         * paragraph.h: inserted isFreeSpacing() function to enable
11719         FreeSpacing inside InsetERT.
11720
11721         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11722         of the paragraph's in the cut/copy buffer to 0!
11723
11724         * text2.C (removeRow): remove the assert as it can!
11725
11726         * lyxtext.h: added helper function firstRow returning firstrow and
11727         made firstrow private again.
11728
11729         * BufferView2.C (lockInset): don't relock if we're already locked!
11730
11731         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11732         the only paragraph.
11733         (removeRow): added Assert::(firstrow)
11734
11735         * debug.C: forgot to add INSETTEXT here.
11736
11737 2001-11-28  Juergen Vigna  <jug@sad.it>
11738
11739         * sp_spell.C (initialize): changed error text to more general
11740         spellchecker command use (not only ispell!)
11741
11742         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11743
11744         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11745
11746 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * vspace.C: initialise lyxgluelength on failure
11749
11750 2001-11-28  Allan Rae  <rae@lyx.org>
11751
11752         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11753         declaration & definition that looks like a function declaration.
11754
11755 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11756
11757         * BufferView2.C (copy):
11758         (copyEnvironment): do not clear the selection when doing a copy.
11759
11760         * text.C (paintFirstRow): compilation fix
11761
11762 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11763
11764         * tabular.C (Latex): correct line count when writing latex.
11765
11766 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * paragraph_pimpl.h:
11769         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11770           bug a bit
11771
11772 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * text.C:
11775         * LColor.h:
11776         * LColor.C: change vfillline->added_space
11777
11778         * text.C: add markers and text for added space
11779
11780         * vspace.C: fix comment
11781
11782 2001-11-28  André Pönitz <poenitz@gmx.net>
11783
11784         * paragraph.C: whitespace changes
11785         * all the other files from the change on 2001/11/26:
11786         change *::pos_type into lyx::pos_type
11787
11788 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11791         language of the document when inserting error insets.
11792
11793 2001-11-26  André Pönitz <poenitz@gmx.net>
11794
11795         * BufferView_pimpl.[Ch]:
11796         *       CutAndPaste.C:
11797         * buffer.[Ch]:
11798         * lyxcursor.[Ch]:
11799         * lyxfind.C:
11800         * lyxfunc.C:
11801         * lyxrow.[Ch]:
11802         * paragraph.[Ch]:
11803         * paragraph_pimpl.[Ch]:
11804         * sp_spell.C:
11805         * text.C:
11806         * text2.C: reduce header dependencies, introduce type for positions
11807
11808 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * <various>: change to use Alert.h
11811
11812 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11813
11814         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11815         when encountering an unknown token.
11816         (readLyXformat2): Show an error message if there were unknown tokens.
11817
11818 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * BufferView2.C:
11821         * BufferView_pimpl.C:
11822         * buffer.C:
11823         * paragraph.h:
11824         * text.C:
11825         * text2.C: use par->isInset()
11826
11827 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * paragraph_pimpl.h:
11830         * paragraph_pimpl.C: cleanup
11831
11832 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * text2.C (removeRow):
11835         * text.C (setHeightOfRow): remove useless (and costly) call to
11836         getRow.
11837
11838 2001-11-20  Allan Rae  <rae@lyx.org>
11839
11840         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11841         Now need Inset*::checkInsertChar() to return true for appropriate
11842         cases so that the characters in the minibuffer will actually be
11843         inserted.
11844
11845 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * text.C: change the order of the includes.
11848         (workWidth): initialize it at once.
11849         (workWidth): make maxw unsigned
11850         (setHeightOfRow): remove unused variable (inset)
11851         (selectSelectedWord): remove unused variable (inset)
11852         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11853
11854 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11855
11856         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11857         server is not running.
11858         (openConnection):
11859         (closeConnection): add debug info when server is disabled.
11860
11861         * ColorHandler.C (getGCForeground): send debug message to GUI
11862         channel.
11863
11864         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11865
11866         * kbmap.C (bind): modify because return conventions of
11867         kb_sequence::parse have changed.
11868
11869         * kbsequence.C (parse): only ignore spaces and not any stupid
11870         control character. This avoids tests like s[i] <= ' ', which are
11871         guaranteed to fail with 8bit characters and signed chars.
11872         Change return code to string::npos when there have been no error
11873         (0 was a bad idea when error is at first character)
11874
11875 2001-11-14  José Matos  <jamatos@fep.up.pt>
11876
11877         * buffer.h:
11878         * buffer.C (simpleDocBookOnePar): removed unused argument.
11879
11880 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11881
11882         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11883         insets which are part of a word. Paragraph::isLetter takes care of
11884         that now. Use Paragraph::isInset to identify insets.
11885         (selectSelectedWord): do not test for hyphenation break.
11886
11887         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11888         that protected spaces are considered as spaces.
11889
11890         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11891         Inset::isLetter.
11892
11893 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * lyxserver.h:
11896         * lyxserver.C: fix it. and small cleanup.
11897
11898 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView_pimpl.C: use inline helpers
11901
11902         * LaTeXFeatures.h:
11903         * LaTeXFeatures.C: fix typos
11904
11905         * Spacing.h:
11906         * Spacing.C: move spacing_string into class
11907
11908         * ToolbarDefaults.C: move stuff into namespace anon
11909
11910         * layout.h: update enum
11911
11912         * lyxfunc.C: use better debug
11913
11914         * minibuffer.h: fix typo
11915
11916         * debug.h:
11917         * debug.C:
11918         * WorkArea.C: add and use Debug::WORKAREA
11919
11920         * lyxtext.h:
11921         * text.C:
11922         * text2.C: code re-organisation, inline helpers
11923
11924 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11925
11926         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11927         std::vector.empty().
11928
11929 2001-11-09  Allan Rae  <rae@lyx.org>
11930
11931         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11932         '\n's after tables.  Tabular and ERT inset work now makes this no
11933         longer necessary.
11934
11935 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * minibuffer.h:
11938         * minibuffer.C: fix crash, improve drop-down completion
11939
11940 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * lyxserver.h:
11943         * lyxserver.C: invalidate fd's when doing endPipe()
11944
11945 2001-11-08  José Matos  <jamatos@fep.up.pt>
11946
11947         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11948         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11949
11950         * paragraph.h:
11951         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11952
11953 2001-11-07  José Matos  <jamatos@fep.up.pt>
11954
11955         * buffer.h:
11956         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11957         const qualifier.
11958
11959         * buffer.C (sgmlOpenTag):
11960         * buffer.C (sgmlCloseTag): removed debug info.
11961
11962         * buffer.h (sgmlOpenTag):
11963         * buffer.h (sgmlCloseTag): made public.
11964
11965 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * buffer.C (saveParamsAsDefaults):
11968         * lyx_cb.C (MenuLayoutSave): remove
11969
11970         * LyXAction.C (init):
11971         * commandtags.h:
11972         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11973
11974 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11975
11976         * buffer.C (setPaperStuff): removed from here...
11977
11978         * bufferparams.C (setPaperStuff): ... and moved there.
11979
11980 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11981
11982         * minibuffer.h:
11983         * minibuffer.C:
11984         * XFormsView.C: add support for drop-down completion
11985
11986 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11987
11988         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11989         commands.
11990
11991 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11994         disabled.
11995
11996 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * lyx_main.C: change ref to known bugs
11999
12000 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12001
12002         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12003         to work around older babel problems.
12004
12005 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12006
12007         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12008
12009 2001-10-24  Juergen Vigna  <jug@sad.it>
12010
12011         * tabular-old.C (ReadOld): below variable changes reflected.
12012
12013         * tabular.[Ch]: added ltType struct for longtable header/footer
12014         defines and changed all instances where they are used. Added
12015         future support for double top/bottom rows.
12016
12017 2001-10-24  José Matos  <jamatos@fep.up.pt>
12018
12019         * buffer.h (docbookHandleCaption):
12020         * buffer.C (docbookHandleCaption): removed unused function.
12021         (makeDocBookFile): moved docbook supported version to v4.1.
12022
12023 2001-10-24  José Matos  <jamatos@fep.up.pt>
12024
12025         * tabular.h:
12026         * tabular.C (docbookRow): new function to export docbook code of a row.
12027         (DocBook): now honors the longtable flags.
12028
12029 2001-10-23  José Matos  <jamatos@fep.up.pt>
12030
12031         * LaTeXFeatures.h:
12032         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12033         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12034
12035         * buffer.C (makeLinuxDocFile):
12036         (makeDocBookFile): reworked the preamble, more clean, and with
12037         support for lyx defined entities. Changed the document declaration
12038         to be more XML friendly.
12039
12040         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12041         if we need to output XML that should be done with a filter.
12042
12043 2001-10-22  Juergen Vigna  <jug@sad.it>
12044
12045         * sp_pspell.h (class PSpell): add alive function needed in the
12046         controller to see if the spellchecker could be started.
12047
12048 2001-10-22  Juergen Vigna  <jug@sad.it>
12049
12050         * buffer.C (insertStringAsLines): modify the font for inserting
12051         chars in certain conditions by calling checkInsertChar(font).
12052
12053 2001-10-19  Juergen Vigna  <jug@sad.it>
12054
12055         * text.C (workWidth): use getRow instead of wrong algorithm.
12056         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12057
12058 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * lyxserver.h:
12061         * lyxserver.C:
12062         * lyx_main.h:
12063         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12064
12065 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12066
12067         * text.C (workWidth): do not search for the exact row when
12068         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12069         optimization for big documents.
12070
12071 2001-10-18  Juergen Vigna  <jug@sad.it>
12072
12073         * text.C (workWidth): new function with added Inset * parameter.
12074
12075 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12076
12077         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12078
12079         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12080         change return type of getColumnNearX.
12081
12082
12083         * text.C (changeRegionCase): use uppercase/lowercase instead of
12084         toupper/tolower.
12085         (leftMargin):
12086         (rightMargin): simplify code by factoring out the uses of
12087         textclasslist.
12088         (labelFill):
12089         (numberOfHfills):
12090         (setHeightOfRow):
12091         (appendParagraph): use Paragraph::size_type
12092
12093 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * vspace.C (asLatexString): add a missing break
12096
12097 2001-10-15  Herbert Voss  <voss@perce.de>
12098
12099         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12100
12101 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12102
12103         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12104         is not available.
12105
12106 2001-10-10  André Pönitz <poenitz@gmx.net>
12107
12108         * lyxfunc.C: removed greek_kb_flag.
12109
12110 2001-10-10  Herbert Voss  <voss@perce.de>
12111
12112         * lyx_main.C: delete global string help_lyxdir.
12113
12114 2001-10-09  Herbert Voss  <voss@perce.de>
12115
12116         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12117
12118         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12119
12120         * lyx_main.C: added global string help_lyxdir.
12121
12122         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12123
12124 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12125
12126         * lyxrc.C (set_font_norm_type): support iso8859-4
12127
12128 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12129
12130         * LaTeX.C (deplog): add another regex for MikTeX
12131
12132 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12133
12134         * lyxrc.C (set_font_norm_type): support iso8859-3
12135
12136 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12137
12138         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12139
12140         * LaTeXFeatures.C: remove special case of french and index
12141
12142         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12143         before \begin{document}). This solves several incompatibilities.
12144
12145 2001-10-03  Garst Reese  <reese@isn.net>
12146
12147         * lyx_cb.C: change CheckTex error msg.
12148
12149 2001-10-03  José Matos  <jamatos@fep.up.pt>
12150
12151         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12152
12153 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * .cvsignore: update
12156
12157         * lyx_main.C (commandLineVersionInfo): use new style version info.
12158
12159         * buffer.C (writeFile):
12160         (makeLaTeXFile):
12161         (makeLinuxDocFile):
12162         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12163
12164         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12165
12166         * version.h: update to use stuff in version.C
12167
12168         * version.C.in: new file. Contains version information determined
12169         at compile time. This is a merging of version.h and
12170         version_info.h.in.
12171
12172 2001-10-03  Juergen Vigna  <jug@sad.it>
12173
12174         * BufferView_pimpl.C (update): don't change "dirty" status in
12175         updateInset call.
12176
12177 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         * WorkArea.C (c-tor): re-position version string slightly.
12180
12181 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12182
12183         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12184         revert to previous code.
12185
12186         WorkArea.[Ch]: (show, destroySplash): methods removed.
12187
12188         WorkArea.C: rework code so that it's an amalgam of the codes before and
12189         after the splash screen was moved to WorkArea.
12190
12191 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * lyxrc.C (read):
12194         * vspace.C (inPixels):
12195         (lyx_advance):
12196         * kbmap.C (bind):
12197         * buffer.C (insertStringAsLines):
12198         (asciiParagraph): fix types to be large enough
12199
12200         * lyxlex_pimpl.h: change member status from short to int
12201
12202         * layout.h: fix type of endlabeltype
12203
12204         * kbmap.C (bind):
12205         * kbsequence.C (parse): change return type to string::size_type
12206
12207         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12208         variable
12209
12210         * Bullet.C (bulletSize):
12211         (bulletEntry): do not use short ints as parameters
12212
12213         * BufferView2.C (insertLyXFile): change a char to an int.
12214
12215         * WorkArea.C (WorkArea): remove unneeded floats in computation
12216
12217 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12218
12219         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12220
12221         * paragraph.C (asString): Do not ignore newline/hfill chars when
12222         copying to the clipboard.
12223
12224 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12225
12226         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12227         after a multi-line inset.
12228
12229 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12230
12231         * paragraph.C (validate): Set NeedLyXFootnoteCode
12232
12233 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12236         and decrease-error to decrease.
12237
12238 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12241         it more readable (should be equivalent)
12242
12243 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12244
12245         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12246
12247 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12250         of a cursor (row, etc.) after a character has been deleted
12251         (deleteEmptyParagraphMechanism): call the method above on _all_
12252         cursors held by the LyXText when a double space has been
12253         detected/deleted.
12254
12255 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12258         pixmap.
12259         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12260
12261         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12262         background. Use greyOut() and the new show() methods to toggle between
12263         the foreground and background. Add code to remove the splash after
12264         its initial showing.
12265
12266         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12267         (create_forms): no longer call Dialogs::showSplash.
12268
12269 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * .cvsignore: add version_info.h
12272
12273 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * version_info.h.in: new file
12276
12277         * Makefile.am: add version_info.h.in
12278
12279         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12280         version_info.h instead of VERSION_INFO
12281
12282 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12285         The ERT inset now returns string().
12286
12287 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * lyxtext.h, text.C (selectNextWord): renamed as
12290         selectNextWordToSpellcheck.
12291
12292         * text.C (selectNextWordToSpellcheck): Modified to not select
12293         words inside an ERT inset.
12294
12295 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * lyx_cb.C (MenuLayoutSave): change a bit the question
12298
12299         * sp_base.h: include <sys/types.h>
12300
12301 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12304
12305 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12306
12307         * several files: fix typos in user-visible strings
12308
12309 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12310
12311         * text2.C (pasteSelection): do not set the selection, since it
12312         will be cleared later. Actually, the intent was to fix the way the
12313         selection was set, but I figured rmoving the code was just as good.
12314
12315 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * FontLoader.C (available): Check if font is available without
12318         loading the font.
12319
12320 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12321
12322         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12323
12324 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12325
12326         * lyxrc.[Ch]: added display_graphics variable and associated code.
12327
12328 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * bufferparams.C (hasClassDefaults): new method. Returns true if
12331         the buffer parameters correspond to known class defaults
12332
12333 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * XFormsView.C (show): set minimum size to the main window.
12336
12337 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12338
12339         * text2.C (copySelection):
12340         (cutSelection):
12341         * lyxfind.C (LyXReplace):
12342         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12343         LyXText::selectionAsString.
12344
12345         * paragraph.C (asString): add "label" argument to the second form
12346
12347         * text2.C (selectionAsString): add "label" argument and pass it to
12348         Paragraph::asString.
12349
12350 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12351
12352         * lyx_main.C (commandLineHelp): remove version information
12353
12354 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12355
12356         * lyx_main.C: add -version commandline option
12357
12358 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * paragraph.h: make the optional constructor arg required instead.
12361         some modifications to other files because of this.
12362
12363         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12364
12365         * lyxserver.C (C_LyXComm_callback): make it static
12366
12367         * lyx_main.C (error_handler): make it static
12368
12369         * lyx_gui.C (LyX_XErrHandler): make it static
12370
12371         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12372
12373         * WorkArea.C: make the extern "C" methods static.
12374
12375         * Makefile.am (lyx_LDADD): simplify
12376
12377 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12380         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12381
12382         * LyXAction.C (init):
12383         * lyxfunc.C (dispatch): associated code removal.
12384
12385 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12386
12387         * lyxfont.h (isSymbolFont): shut off warning
12388
12389         * text.C (setHeightOfRow):
12390         (getVisibleRow): fix crash with empty paragraphs which have a
12391         bottom line
12392
12393 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12394
12395         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12396         code.
12397
12398 2001-09-04  José Matos  <jamatos@fep.up.pt>
12399         * buffer.C
12400         * buffer.h
12401         * tabular.C (docbook): rename docBook method to docbook.
12402
12403 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12404
12405         * Makefile.am: add dependencies to main.o.
12406
12407 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * FontLoader.C (available): Return false if !lyxrc.use_gui
12410
12411 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12412
12413         * FontInfo.C (query):
12414         * converter.C (view):
12415         * importer.C (Import):
12416         * exporter.C (Export): Can not -> cannot.
12417
12418 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * BufferView_pimpl.C: allow to create index inset even if
12421           string is empty
12422
12423 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12424
12425         * buffer.C (getLists): replace boost::tie code with an explicit pair
12426         as boost::tie can break some compilers.
12427
12428         * iterators.h: Added a std:: declaration to the return type of
12429         ParIterator::size.
12430
12431 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12434           case.
12435
12436 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * iterators.[Ch]: New files. Provide paragraph iterators.
12439
12440         * buffer.C (changeLanguage): Use paragraph iterators.
12441         (isMultiLingual): ditto
12442
12443         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12444
12445 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * FontLoader.C: Support for cmr font.
12448
12449 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12450
12451         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12452         (available): New method.
12453
12454         * FontInfo.C (getFontname): Use scalable fonts even when
12455         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12456         found.
12457
12458 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * converter.C (Formats::view): reverted! Incorrect fix.
12461
12462 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * converter.C (Formats::view): only output the -paper option
12465         if the dvi viewer is xdvi, thereby fixing bug #233429.
12466
12467 2001-08-23  Herbert Voss  <voss@perce>
12468
12469         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12470
12471 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12472
12473         * Spacing.h (Spacing): Set space to Default on in the default
12474         constructor.
12475
12476 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * vc-backend.h (RCS::versionString): add RCS to version
12479         (CVS::versionString): add CVS to version
12480
12481         * vc-backend.C (scanMaster): do not add CVS to version.
12482         (scanMaster): do not add RCS to version
12483
12484         * lyxvc.C (versionString): new method
12485
12486         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12487
12488 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * Spacing.C (set): initialize fval
12491
12492 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12495         " or \.
12496
12497 2001-08-16  Juergen Vigna  <jug@sad.it>
12498
12499         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12500
12501 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * BufferView_pimpl.C:
12504         * figureForm.C:
12505         * lyxtext.h:
12506         * text2.C: setParagraph takes linespacing now
12507
12508 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * LyxAction.C: add internal LFUN_CITATION_INSERT
12511
12512         * LyXView.C: actually apply fix
12513
12514         * bufferlist.C: fix open non-existent file
12515
12516         * lyxfind.C: fix indentation
12517
12518         * lyxfunc.C: remove unneeded assert, fix typo
12519
12520 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * MenuBackend.C: use "Floatname List"
12523
12524 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12525
12526         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12527         when converting LaTeX layout to insetERT.
12528         Generate a non-collapsed float when reading old float
12529
12530 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12531
12532         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12533         ERT insets.
12534
12535 2001-08-13  Juergen Vigna  <jug@sad.it>
12536
12537         * text.C (fill): return 0 instead of 20 as this seems to be the more
12538         correct value.
12539
12540 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12541
12542         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12543         lyxrc.font_norm.
12544
12545 2001-08-13  Juergen Vigna  <jug@sad.it>
12546
12547         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12548         casesensitive off.
12549         (SearchBackward): comment out the unlocking of the inset_owner this
12550         should not be needed!
12551
12552 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * Many files: Remove inherit_language, and add latex_language
12555
12556         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12557         collapsible insets.
12558
12559 2001-08-10  Juergen Vigna  <jug@sad.it>
12560
12561         * text.C (prepareToPrint): fixed hfill-width in draw!
12562
12563         * BufferView2.C (selectLastWord): save the selection cursor as this
12564         now is cleared in the function LyXText::clearSelection!
12565
12566 2001-08-08  Juergen Vigna  <jug@sad.it>
12567
12568         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12569         BACKSPACE type functions.
12570
12571         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12572         is only cutted from the document but not put in the cut-buffer, where
12573         still the old stuff should be.
12574
12575         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12576
12577         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12578
12579         * tabular.C (SetWidthOfCell): fixed special case where the width
12580         was not updated!
12581         (LeftLine): handle '|' in align_special.
12582         (RightLine): ditto
12583         (LeftAlreadyDrawed): ditto
12584         (SetWidthOfCell): ditto
12585
12586 2001-08-07  Juergen Vigna  <jug@sad.it>
12587
12588         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12589
12590 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12593         * lyxlex.[hC]: ditto
12594
12595 2001-08-06  Juergen Vigna  <jug@sad.it>
12596
12597         * text.C (getVisibleRow): fix up row clearing a bit.
12598
12599 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * minibuffer.C: make sure the X server sees the changes in the input.
12602
12603 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * paragraph.C (getFont): split into...
12606         (getLabelFont): this
12607         (getLayoutFont): and this
12608         * paragraph_pimpl.C (realizeFont): calling this
12609
12610         * text2.C (getFont): split into...
12611         (getLayoutFont): this
12612         (getLabelFont): and this
12613         (realizeFont): all three calling this
12614
12615         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12616         files where used.
12617
12618 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12619
12620         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12621
12622 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12623
12624         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12625         layouts from the Quote inset insertion.
12626
12627 2001-08-03  Juergen Vigna  <jug@sad.it>
12628
12629         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12630
12631         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12632         only if status not is already CHANGED_IN_DRAW (second level).
12633
12634         * text.C (draw): don't set the need_break_row when inside an
12635         InsetText LyXText.
12636
12637 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * buffer.C (parseSingleLyXformat2Token): handle more latex
12640         conversion cases.
12641
12642         * bufferview_funcs.[hC]: change function names to
12643         begin with small char, adjust other files.
12644
12645 2001-08-02  André Pönitz <poenitz@gmx.net>
12646
12647         * lyxfunc.C:
12648         BufferView_pimpl.C: remove broken special code for math-greek
12649
12650 2001-08-02  Juergen Vigna  <jug@sad.it>
12651
12652         * BufferView_pimpl.C (update): redone this function so that we
12653         update the text again if there was a CHANGE_IN_DRAW.
12654
12655         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12656         (drawFromTo): added a new internal bool which is used by draw() and
12657         redraw() function.
12658         (general): some cursor drawing problems fixed.
12659
12660 2001-08-01  Juergen Vigna  <jug@sad.it>
12661
12662         * lyxfind.C (LyXFind): fixed
12663         (SearchForward): ditto
12664         (SearchBackward): ditto
12665
12666         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12667         spurius drawing of the cursor in the main area.
12668
12669         * text2.C (status): small fix which could lead to a segfault!
12670         (clearSelection): remove unneeded BufferView param.
12671
12672 2001-08-01  André Pönitz <poenitz@gmx.net>
12673
12674         * lyxfunc.C: small change due to changed mathed interface
12675
12676 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12677
12678         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12679
12680 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * lyxfunc.c: fail gracefully if file doesn't exist
12683
12684         * LyXSendto.C:
12685         * buffer.C:
12686         * lyxfunc.C:
12687         * BufferView_pimpl.C: IsDirWriteable() proto changed
12688
12689         * LyXView.C: fix updateWindowTitle() to store the last title
12690
12691 2001-07-31  Juergen Vigna  <jug@sad.it>
12692
12693         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12694         the font (wrong since using of Paragraph::highestFontInRange).
12695
12696         * paragraph.C (highestFontInRange): added a default_size parameter.
12697
12698         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12699         (setHeightOfRow): reformat
12700
12701 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * converter.[hC] + affected files: move to (inital-char)lowercase
12704         function names.
12705
12706         * ParagraphParameters.C (ParagraphParameters): remove commented code
12707
12708         * PainterBase.[Ch]: remove commented code
12709
12710         * LaTeXFeatures.h: add "bool floats" for float.sty
12711
12712         * LaTeXFeatures.C (LaTeXFeatures): init floats
12713         (require): handle float
12714         (getPackages): do it with floats
12715
12716 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * BufferView_pimpl.C (Dispatch): improve handling of
12719         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12720
12721         * commandtags.h: #include lyxfont.h here temporarily to avoid
12722         keybinding bug.
12723
12724         * bufferlist.h: include LString.h here.
12725
12726 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12727
12728         * text2.C (getStringToIndex): new method.
12729
12730 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12731
12732         * *: Reduced header file dependencies all over.
12733
12734 2001-07-30  Baruch Even  <baruch@lyx.org>
12735
12736         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12737
12738 2001-07-29  Baruch Even  <baruch@lyx.org>
12739
12740         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12741
12742 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12743
12744         * ParameterStruct.h (endif): add a default constructor to make
12745         sure that all variables is initialized.
12746
12747         * ParagraphParameters.C (ParagraphParameters): adjust
12748
12749 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12752         index; also, check that there is something to index, and that it
12753         does not span over several paragraphs.
12754         (doubleClick): use WHOLE_WORD_STRICT for double click.
12755
12756         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12757
12758         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12759         scheme.
12760
12761 2001-07-26  Baruch Even  <baruch@lyx.org>
12762
12763         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12764         an InsetFig figure, backwards compatible reading of old figure code.
12765
12766 2001-07-27  Juergen Vigna  <jug@sad.it>
12767
12768         * text2.C: font.realize function adaption.
12769
12770         * text.C (draw): add a warnings lyxerr text if needed.
12771
12772         * layout.C: font.realize function adaption.
12773
12774         * language.C: add inherit_language and implement it's handlings
12775
12776         * bufferview_funcs.C (StyleReset): remove language parameter from
12777         font creation (should be language_inherit now).
12778
12779         * bufferparams.C (writeFile): handle ignore_language.
12780
12781         * paragraph.C (getFontSettings): the language has to be resolved
12782         otherwise we have problems in LyXFont!
12783
12784         * lyxfont.C (lyxWriteChanges): added document_language parameter
12785         (update): removed unneeded language parameter
12786
12787         * paragraph.C (validate): fixed wrong output of color-package when
12788         using interface colors for certain fonts in certain environments,
12789         which should not seen as that on the final output.
12790
12791 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * BufferView_pimpl.C:
12794         * Thesaurus.h:
12795         * Thesaurus.C:
12796         * Makefile.am:
12797         * commandtags.h:
12798         * LyXAction.C: add thesaurus support
12799
12800         * lyxfind.h:
12801         * lyxfind.C: add "once" parameter, for thesaurus, to not
12802           move to the next match
12803
12804 2001-07-26  Juergen Vigna  <jug@sad.it>
12805
12806         * lyxfont.C (realize): honor ignore_language too!
12807         (resolved): ditto.
12808
12809         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12810
12811         * text.C (draw): one place more for ignore_language to not draw
12812         itself!
12813
12814 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12815
12816         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12817
12818 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12821         the minipage conversion problem.
12822
12823 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12826         insert an inset.
12827
12828 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * BufferView.h: don't forward declare WorkArea
12831
12832         * BufferView.C: don't include WorkArea.h
12833
12834 2001-07-25  André Pönitz <poenitz@gmx.net>
12835
12836         * commandtags.h:
12837         * LyXAction.C:
12838         * lyxfunc.C:  new LFUN 'math-space'
12839
12840         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12841
12842 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12843
12844         * text2.C (toggleInset): call open/close
12845
12846 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * lyxfunc.C (dispatch): add debug for the disabled case
12849
12850         * font.C (buttonText): make similar to rectText
12851
12852         * buffer.C (readInset): comment out parsing of insetlist and
12853         insttheorem
12854
12855         * PainterBase.C (rectText): small correction
12856
12857         * BufferView_pimpl.C: comment out insettheorem and insetlist
12858         * LyXAction.C: ditto
12859         * commandtags.h: ditto
12860
12861 2001-07-24  Juergen Vigna  <jug@sad.it>
12862
12863         * text.C (draw): honor the ignore_language.
12864
12865         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12866
12867 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12868
12869         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12870         char inset.
12871
12872 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12873
12874         * lyxtext.h: remove unused (and unimplemented) methods
12875
12876 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12877
12878         * text.C (getVisibleRow): honor background color
12879
12880         * PainterBase.h:
12881         * Painter.h: remove default color argument for fillRectangle
12882
12883         * text.C (backgroundColor): new method
12884
12885 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * text.C (getVisibleRow): adjust
12888
12889         * font.[Ch] (rectText): new method, metrics
12890         (buttonText): new method, metrics
12891
12892         * PainterBase.[hC]: make rectText and buttonText always draw and take
12893         fewer paramteres.
12894
12895 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12896
12897         * ToolbarDefaults.C (read):
12898         * MenuBackend.C (read): allow escaping in all strings
12899
12900         * BufferView_pimpl.C (insertAndEditInset): new method.
12901         (Dispatch): use insertAndEditInset whenever appropriate.
12902
12903         * BufferView_pimpl.C (insertNote): removed
12904
12905         * BufferView_pimpl.C (smartQuote): new method, moved from
12906         BufferView; if an insetquote cannot be inserted, insert a '"'
12907         character instead.
12908
12909         * BufferView2.C: remove insertCorrectQuote();
12910
12911         * lyxfunc.C (getStatus): Add support for all remaingin
12912         inset-insert lfuns.
12913
12914         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12915
12916         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12917         command (necessary to pass " as parameter of self-insert.
12918
12919         * text.C (selectWordWhenUnderCursor):
12920         (selectWord): add word_location parameter
12921         (selectWordWhenUnderCursor): same + remove special code for word
12922         boundary.
12923         (selectNextWord): use kind() to guess type of insetspecialchar,
12924         not latex().
12925
12926         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12927         (insertErtContents): create ert insets as collapsed.
12928         (readInset): better compatibility code for Info inset.
12929
12930 2001-07-20  Juergen Vigna  <jug@sad.it>
12931
12932         * lyxfunc.C (dispatch): use always LyXFind now!
12933
12934         * text2.C (init): add a reinit flag so that the LyXText can be
12935         reinited instead of deleted and reallocated (used in InsetText).
12936
12937         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12938
12939         * text.C: ditto
12940
12941         * text2.C: ditto
12942
12943 2001-07-18  Juergen Vigna  <jug@sad.it>
12944
12945         * text.C (selectNextWord): handle insets inside inset by calling
12946         always the bv->text functions so that we can go up the_locking_inset!
12947
12948         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12949         in strange locations when inside an inset!
12950
12951         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12952         handling to include insets.
12953
12954         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12955
12956 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * LyXAction.C (init):
12959         * commandtags.h:
12960         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12961         LIGATURE_BREAK, since the name is so stupid.
12962
12963 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12964
12965         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12966         InsetInfos.
12967
12968         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12969
12970         * sp_form.[Ch]: remove.
12971
12972         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12973
12974         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12975         InsetInfo.
12976
12977         * src/buffer.C (readInset): ditto.
12978
12979 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12980
12981         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12982         menuSeparator(), endOfSentenceDot(), ldots() and
12983         hyphenationPoint(), which are therefore removed.
12984         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12985
12986         * LyXAction.C (init):
12987         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12988
12989         * paragraph.C (getWord): removed.
12990
12991         * BufferView_pimpl.C (Dispatch): use last word or selection for
12992         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12993
12994         * lyx_main.C (queryUserLyXDir): do not ask before creating
12995         user_dir, except if it has been named explicitely.
12996
12997 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12998
12999         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13000         a document of zero size.
13001
13002 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13005         approriately in the c-tor and in require().
13006         (getPackages): output the appropriate LaTeX for natbib support.
13007
13008         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13009         variables "use_natbib" and "use_numerical_citations" when reading the
13010         LyX file.
13011         (readInset): read the various natbib cite commands.
13012         (validate): white-space change.
13013
13014         * bufferparams.[Ch]: new variables "bool use_natbib" and
13015         "bool use_numerical_citations".
13016         (writeFile): output them in the LyX file.
13017
13018 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13019
13020         * lyxfunc.C (getStatus): add support for all the inset insertion
13021         commands.
13022
13023         * text2.C (insertInset):
13024         * paragraph.C (insetAllowed):
13025         * BufferView_pimpl.C (insertInset): update to take in account the
13026         renaming of insertInsetAllowed
13027
13028         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13029
13030         * text2.C (getInset): new method. returns inset at cursor position.
13031
13032         * BufferView_pimpl.C (Dispatch): changes because of this.
13033
13034         * LyXAction.C (init): rename open-stuff to inset-toggle.
13035
13036         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13037
13038         * text2.C (toggleInset): renamed from openStuff; use
13039         Inset::open().
13040
13041 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13042
13043         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13044
13045         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13046
13047 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13048
13049         * buffer.C (readLyXformat2): Add filename to the error dialog
13050
13051 2001-07-18  Juergen Vigna  <jug@sad.it>
13052
13053         * tabular.C (GetCellNumber): put an assert here instead of the check!
13054
13055 2001-07-17  Juergen Vigna  <jug@sad.it>
13056
13057         * BufferView_pimpl.C (toggleSelection): adapted too.
13058
13059         * text.C (selectNextWord): adapted for use with insets.
13060         (selectSelectedWord): ditto
13061
13062 2001-07-17  Juergen Vigna  <jug@sad.it>
13063
13064         * sp_spell.C (PSpell): fix initialitation order.
13065
13066 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * paragraph.C: spacing
13069
13070 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13071
13072         * sp_spell.C: repair language selection for pspell
13073
13074 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * lyxfunc.h: change more methods to begin with lower char.
13077
13078 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13081         for unknown layouts.
13082
13083 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13084
13085         * buffer.C (readLyXformat2): Generate an error dialog if there are
13086         unknown layouts.
13087
13088 2001-07-16  Juergen Vigna  <jug@sad.it>
13089
13090         * sp_spell.C: always compile ISpell part.
13091
13092         * lyxrc.C: added use_pspell entry and it's handling.
13093
13094 2001-07-13  Juergen Vigna  <jug@sad.it>
13095
13096         * sp_spell.C: removed double includes.
13097
13098 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         Consistent use of Lsstream.h:
13101         * Lsstream.h: added using std::stringstream for consistencies sake.
13102
13103         * buffer.C: removed using std::stringstream
13104
13105         * lyxfont.C (stateText):
13106         * paragraph.C (asString):
13107         * text.C (selectNextWord, selectSelectedWord):
13108         * text2.C (setCounter):
13109         * vspace.C (asString, asLatexString):
13110         std::ostringstream -> ostringstream.
13111
13112 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13113
13114         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13115         * commandtags.h: add LFUN_HELP_ABOUTLYX
13116         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13117
13118 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13119
13120         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13121         cursorToggle()
13122         * lyx_gui_misc.C: remove spellchecker
13123         * lyxfunc.C: showSpellchecker
13124         * sp_base.h: added
13125         * sp_ispell.h: added
13126         * sp_pspell.h: added
13127         * sp_spell.C: added
13128         * sp_form.[Ch]: removed
13129         * spellchecker.[Ch]: removed
13130
13131 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13132
13133         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13134         is set.
13135         (simpleTeXSpecialChars): Simply print the input character without
13136         any special translation if pass_thru is set.
13137
13138         * layout.h: Added bool pass_thru to layout class for being able to
13139         implement pass through of a paragraph for Literate Programming.
13140
13141         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13142         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13143         * layout.C (Read): add "passthru" to list of layout tags and add
13144         code to set the pass_thru boolean when it is read.
13145
13146 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * trans_decl.h: remove allowed from KmodInfo
13149
13150         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13151         remove allowed code
13152         (Load): adjust
13153
13154         * paragraph_pimpl.C (erase): use boost::prior
13155
13156         * Painter.C (text): use data() instead of c_str() when length is
13157         also provided.
13158         * WorkArea.C (putClipboard): ditto
13159         * font.h (width): ditto
13160
13161         * BufferView2.C: use it-> instead of (*it). for iterators
13162         * texrow.C: ditto
13163         * paragraph_pimpl.C: ditto
13164         * paragraph.C: ditto
13165         * minibuffer.C: ditto
13166         * language.C: ditto
13167         * kbmap.C: ditto
13168         * encoding.C: ditto
13169         * counters.C: ditto
13170         * converter.C: ditto
13171         * chset.C: ditto
13172         * Variables.C: ditto
13173         * TextCache.C: ditto
13174         * MenuBackend.C: ditto
13175         * LyXAction.C: ditto
13176         * LColor.C: ditto
13177         * FloatList.C: ditto
13178         * DepTable.C: ditto
13179         * ColorHandler.C (LyXColorHandler): ditto
13180
13181 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13184
13185         * text2.C (openStuff): reintroduce this method (which had been
13186         nuked in NEW_INSETS frenzy).
13187
13188         * lyxfunc.C (Dispatch): when an action has not been handled, use
13189         its name in the error message, not its number.
13190
13191         * paragraph.C (inInset): change method name to begin with lowercase.
13192
13193         * undo_funcs.C:
13194         * text2.C: updates because of this.
13195
13196 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13197
13198         * ToolbarDefaults.C (add): add spaces in error message
13199
13200 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13203         (readLyXformat2): rename return_par to first_par, use lyxlex's
13204         pushToken and remove the manual push handling.
13205         (parseSingleLyXformat2Token): add another ert comp. variable:
13206         in_tabular, rename return_par to first_par. handle newlines better
13207
13208 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13211
13212 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * text2.C (getParFromID): removed
13215
13216         * buffer.C (getParFromID): new method moved form lyxtext.
13217         * BufferView2.C (insertErrors): adjust
13218         (setCursorFromRow): adjust
13219         * BufferView_pimpl.C (restorePosition): adjust
13220         * lyxfunc.C (Dispatch): adjust
13221         * undo_funcs.C (textUndo): adjust
13222         (textRedo): adjust
13223         (textHandleUndo): adjust
13224         (textHandleUndo): adjust
13225
13226 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * buffer.C: up' the LYX_FORMAT
13229
13230         * lyxfont.h: turn NO_LATEX on as default
13231
13232         * buffer.C (insertErtContents): new methods of tex style compability.
13233         (parseSingleLyXformat2Token): use it several places.
13234         * tabular.C (OldFormatRead): and here
13235
13236 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * text2.C: remove some commented code.
13239         reindent file.
13240
13241         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13242         * trans.C: changes because of the above.
13243
13244 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13245
13246         * text2.C (setCounter): Fix counters bug with bibliography layout.
13247
13248 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13251         own member functions
13252         (simpleTeXSpecialChars): ditto
13253
13254 2001-07-06  Juergen Vigna  <jug@sad.it>
13255
13256         * a lot of files: changed the access to LyXText::status and the
13257         call of undo-functions.
13258
13259         * undo.[Ch]: added a inset_id to the undo informations.
13260
13261         * undo_funcs.[Ch]: added and moved here all undo functions.
13262
13263         * lyxtext.h: give the status enum a weight, made status_ a private
13264         variable and made accessor functions for it, removed the whole bunch
13265         of undo-functions as they are now in their own file, make some
13266         functions publically available. Added function ownerParagraph with
13267         int parameter.
13268
13269         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13270         made InInset() a const function, added getParFromID() function.
13271
13272         * buffer.[Ch]: added const version for inset_iterator functions,
13273         added getInsetFromID() function.
13274
13275         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13276         changed undo functions for new version.
13277
13278 2001-07-05  Juergen Vigna  <jug@sad.it>
13279
13280         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13281         unknow mechanism does not call the proper constructor but only this
13282         one also if I request the other!?
13283
13284 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13287
13288         * text2.C (LyXText): use initialization lists.
13289
13290         * lyxtext.h (Selection): initialize set_ and mark_
13291         (init): remove method
13292
13293 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13294
13295         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13296
13297 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * screen.[Ch]: change method names to begin with lowercase
13300
13301         * BufferView_pimpl.C (updateScrollbar): simplify further and
13302         hopefully make it a bit faster.
13303
13304 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13307         calling directly xforms functions.
13308
13309         * Painter.C (Painter):
13310         * lyx_cb.C (MenuWrite):
13311         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13312         fl_display.
13313
13314         * lyx_gui.C: remove bogus guiruntime extern declaration.
13315
13316 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13319         in NEW_INSETS
13320         (redoDrawingOfParagraph): ditto
13321         (redoParagraphs): ditto
13322         (cutSelection): don't create a object for CutAndPaste use the
13323         static method directly
13324         (pasteSelection): ditto
13325
13326         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13327         LyXview (+ rename)
13328
13329 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * modifications to some other files because of this.
13332
13333         * Makefile.am (lyx_SOURCES): add XFormsView
13334
13335         * XFormsView.[Ch]: new files
13336
13337         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13338         the main window. Move the gui dependent stuff to XFormsView
13339
13340 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13341
13342         * tabular.C (GetCellInset): update cur_cell also in the row/col
13343         version of this function.
13344
13345         * lyxfunc.C: no need to include figure_form.h here.
13346
13347         * FontLoader.h:
13348         * lyxfunc.h:
13349         * lyxscreen.h:
13350         * text2.C:
13351         * lyxvc.C: no need to include forms.h here.
13352
13353 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13356
13357         * lyxfunc.C (Dispatch):
13358         * Spacing.C (set):
13359         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13360         constructor argument.
13361
13362 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C (Paragraph): dont't clear, and just set layout.
13365         (makeSameLayout): use params's copy contructor.
13366
13367         * ParagraphParameters.[Ch] (makeSame): delete method
13368
13369 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * Variables.[Ch]: fix indentation, rename set to isSet
13372
13373 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * lyxfunc.C (Dispatch): fix typo
13376
13377 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13378
13379         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13380         upper_bound.
13381
13382         * bufferlist.C: include assert.h for emergencyWrite().
13383
13384 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13387           give up at last (bug #425202) !
13388
13389 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13390
13391         * lyx_gui_misc.C:
13392         * sp_form.h:
13393         * sp_form.C:
13394         * spellchecker.h:
13395         * spellchecker.C: strip spellchecker options and bring up
13396           preferences tab instead
13397
13398 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13401         the istringstream constructor
13402
13403 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * paragraph.C (getLayout): fix return value
13406
13407         * paragraph.h: do not declare getLayout as inline.
13408
13409         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13410
13411 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * lyxcursor.h (operator<): new func
13414         (operator>): new func
13415         (operator>=): new func
13416         (operator<=): new func
13417
13418         * text.C (changeCase): use selection.start and selection.end
13419         (changeRegionCase): require from to be <= to. Require par to be a
13420         valid paragraph.
13421
13422         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13423
13424 2001-06-27  Juergen Vigna  <jug@sad.it>
13425
13426         * text.C (cursorLeftOneWord): changed to return the cursor and added
13427         overlay with BufferView * parameter which calls this one.
13428         (getWord): added
13429         (selectWord): use new getWord function.
13430         (changeCase): renamed from changeWordCase as and extended to work
13431         also on selections.
13432
13433         * lyxtext.h: added enum word_location
13434
13435         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13436         changeCase as this operates now also on selections.
13437
13438 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13439
13440         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13441
13442         * many files: send debug output to Debug::INFO instead of
13443         Debug::ANY.
13444
13445         * converter.C (View):
13446         (Convert):
13447         (Move): send debug output to Debug::FILES instead of console.
13448
13449 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13450
13451         * lyxfunc.C (getStatus): use func_status
13452
13453         * func_status.h: new header, describing the results of
13454         LyXFunc::getStatus;
13455
13456         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13457         LFUN_MATH_HALIGN.
13458
13459 2001-06-25  The LyX Project  <jug@sad.it>
13460
13461         * buffer.C (sgmlOpenTag):
13462         (sgmlCloseTag):
13463         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13464
13465 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * text2.C: remove some dead code
13468
13469         * tabular.C (GetCellInset): store the last cell checked (gotten)
13470
13471         * tabular.h: add the helper for the speedup
13472
13473         * lyxtext.h: remove some dead code
13474
13475 2001-06-26  The LyX Project  <Asger>
13476
13477         * paragraph.C: Change export to LaTeX of alignment to
13478         \begin{center} and family for better roundtrip work with reLyX.
13479
13480         * Tune the math drawing a bit.
13481
13482 2001-06-25  The LyX Project  <Asger>
13483
13484         * LColor.C (LColor): New color for math background. New color
13485         for buttons.
13486
13487 2001-06-25  The LyX Project  <jug@sad.it>
13488
13489         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13490
13491         * lyxfunc.C (Open):
13492         * bufferlist.C (newFile): do not restrict to files ending with
13493         .lyx
13494
13495         * BufferView_pimpl.C (MenuInsertLyXFile):
13496
13497 2001-06-24  The LyX Project  <jug@sad.it>
13498
13499         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13500         of compare_no_case
13501
13502 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * lyxtext.h: rename most methods to begin with a small char.
13505         Lots of changes because of this.
13506
13507         * paragraph.C (Paragraph): do not call fitToSize
13508         (erase): call Pimpl::erase
13509         (insertChar): call Pimpl::insertChar
13510         (insertInset): call Pipl::insertInset
13511         (breakParagraph): do not call fitToSize
13512         (breakParagraphConservative): do not call fitToSize
13513         (fitToSize): remove method
13514
13515         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13516
13517 2001-06-24  The LyX Project  <Asger>
13518
13519         * Fix Qt compilation^2
13520
13521 2001-06-24  The LyX Project  <jug@sad.it>
13522
13523         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13524         depthHook(getDepth()-1).
13525
13526         * paragraph.h:
13527         * ParagraphParameters.h:
13528         * ParameterStruct.h: change type of depth to unsigned int ==
13529         depth_type. Many adaptations to other files before of that.
13530
13531 2001-06-24  The LyX Project  <Asger>
13532
13533         * Fix Qt compilation.
13534
13535 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * paragraph.h: renamed several methods to begin with small letter.
13538         several changes to many parts of the code because of this.
13539
13540 2001-06-23  The LyX Project  <jug@sad.it>
13541
13542         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13543         rewritten to discard all double spaces when KeepEmpty is off
13544         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13545         to only handle newlines but not fiddle with spaces and friends.
13546
13547         * lyxfunc.C (MenuNew): when doing 'new from template', use
13548         template_path as default directory
13549
13550 2001-06-23  The LyX Project  <Asger>
13551
13552         * Clean-up of header file includes all over
13553         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13554
13555 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13556
13557         * paragraph.h: renamed from lyxparagraph.h
13558
13559 2001-06-23  Asger  <lyx@violet.home.sad.it>
13560
13561         * Buffer.h: Removed Buffer::resize
13562         * BufferList.h: Removed BufferList::resize
13563         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13564         the document lazily when we change the width, or the font settings.
13565
13566 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13569
13570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * buffer.h: remove out of date comment
13573
13574 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * lyxscreen.h:
13577         * screen.C: fix "theoretical" GC leak
13578
13579 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * LaTeX.C (scanAuxFile):
13582         (deplog): remove trailing \r when reading stream (useful under
13583         win32)
13584
13585 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13588         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13589         and BufferView::theLockingInset(Inset*), so should use them and not
13590         access bv_->text->the_locking_inset directly.
13591
13592         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13593
13594 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * Makefile.am:
13597         * tex-defs.h: remove old unused file
13598
13599 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13600
13601         * BufferView_pimpl.C: fix typo, remove minibuffer message
13602           when buffer has loaded
13603
13604 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * lyxfunc.C (Dispatch): use stringstream
13607         (MenuNew): use stringstream
13608         (Open): use stringstream
13609
13610         * importer.C (Import): use stringstream
13611
13612         * bufferview_funcs.C (CurrentState): use stringstream
13613
13614         * LaTeX.C (run): use stringstream
13615
13616         * BufferView_pimpl.C (savePosition): use stringstream
13617         (restorePosition): use stringstream
13618         (MenuInsertLyXFile): use stringstream
13619
13620 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * BufferView.C:
13623         * Bullet.C:
13624         * ColorHandler.C:
13625         * FontInfo.C:
13626         * FontLoader.C:
13627         * LColor.C:
13628         * LaTeXFeatures.C:
13629         * Painter.C:
13630         * gettext.C:
13631         * lyx_gui_misc.C:
13632         * lyxserver.C:
13633         * vspace.C: removed // -*- C++ -*- as first line.
13634
13635         * lyxfind.h:
13636         * version.h: added // -*- C++ -*- as first line.
13637
13638 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13639
13640         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13641
13642         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13643         of string
13644
13645 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13648         of floats.
13649
13650 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * gettext.C: include LString.h even when --disable-nls is on.
13653
13654 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13655
13656         * converter.h (Get): changed argument type from int to
13657         FormatList::size_type to avoid unnecessary conversion.
13658
13659         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13660         before using it.
13661
13662 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * gettext.h: include LString.h even when --disable-nls is on.
13665
13666 2001-06-07  Juergen Vigna  <jug@sad.it>
13667
13668         * text.C (BreakAgain): subst spaces with tabs.
13669
13670         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13671         (resizeInsetsLyXText): set force on resizeLyXText.
13672
13673 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * gettext.h (gettext_init):
13676         (locale_init): use a real definition instead of a macro
13677
13678 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13679
13680         * Bufferview_pimpl.C:
13681         * LColor.h:
13682         * LColor.C: further lcolor tidies
13683
13684 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * BufferView_pimpl.C (updateScrollbar): simplify.
13687
13688         * BufferView2.C: don't include insets/insetinfo.h, change
13689         prototype for insertInset and call the Pimpl version. let
13690         updateInset call Pimpl version.
13691
13692         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13693         gotoInset to BufferView::Pimpl
13694
13695 2001-06-01  Juergen Vigna  <jug@sad.it>
13696
13697         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13698         inside a LockingInset (is the update needed at all?).
13699
13700 2001-05-31  Juergen Vigna  <jug@sad.it>
13701
13702         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13703         here not the old one otherwise how should we compare it afterwards
13704         if it's the same!
13705
13706 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13707
13708         * lyxfont.C:
13709         * tabular.C:
13710         * tabular-old.C:
13711         * FontInfo.C: bring C functions into global namespace when
13712         necessary
13713
13714 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * LString.h: make sure config.h has been loaded before LString.h.
13717
13718         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13719         (one for each char read by EatLine!).
13720
13721         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13722         variables.
13723
13724 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13727         to the same as the par we break from
13728
13729 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13732
13733         * MenuBackend.C (expand): also create menu entries for wide
13734         versions of the floats.
13735
13736         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13737
13738         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13739
13740         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13741         frontends/Makefile.am
13742
13743         * text2.C: adjust
13744         * text.C: adjust
13745
13746
13747         * tabular.C (getTokenValue): add std::
13748
13749         * tabular-old.C (getTokenValue): add std::
13750         (getTokenValue): ditto
13751         (getTokenValue): ditto
13752
13753         * screen.C (ToggleSelection): adjust
13754
13755         * lyxtext.h: put selection cursors inside a Selection struct.
13756
13757         * lyxfunc.C (moveCursorUpdate): adjust
13758
13759         * lyxfont.C (latexWriteStartChanges): add std::
13760
13761         * lyxfind.C: adjust
13762
13763         * font.h: delete with(char const *, LyXFont const &)
13764
13765         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13766
13767         * FontInfo.C (getFontname): add std::
13768
13769         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13770         (workAreaButtonPress): adjust
13771         (tripleClick): adjust
13772         (update): adjust
13773         (moveCursorUpdate): adjust
13774         (Dispatch): adjust
13775
13776         * BufferView2.C (gotoInset): adjust
13777
13778 2001-05-30  Juergen Vigna  <jug@sad.it>
13779
13780         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13781         to check pspell I add this as default as I now have new pspell
13782         libraries and they seem to use this.
13783
13784 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * text2.C (CutSelection): make the cursor valid before the call to
13787         ClearSelection.
13788
13789 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13792         relied on 0 terminated strings and other horrors. Bug found due to
13793         the new assert in lyxstring!
13794
13795         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13796         KP_ keys.
13797
13798 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13801         to latinkeys.bind.
13802
13803         * lyxfunc.C (processKeySym): change method of getting to the
13804         self-insert char.
13805
13806         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13807         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13808         * BufferView_pimpl.[Ch]: here as private methods.
13809
13810 2001-05-28  Juergen Vigna  <jug@sad.it>
13811
13812         * text.C (SetHeightOfRow): added the update() call again as it is
13813         needed to initialize inset dimensions!
13814
13815 2001-05-16  Juergen Vigna  <jug@sad.it>
13816
13817         * text2.C (SetCharFont): Add new function with BufferView * and
13818         bool toggleall parameters for setting insets internal fonts.
13819         (SetFont): Freeze the undo as we may change fonts in Insets and
13820         all this change should be inside only one Undo!
13821
13822         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13823         setting font's in insets as for them we have the SetFont function!
13824
13825 2001-05-15  Juergen Vigna  <jug@sad.it>
13826
13827         * text2.C (ClearSelection): to be sure we REALLY don't have any
13828         selection anymore!
13829
13830         * tabular.C (TeXCellPreamble): fixed the left border problem for
13831         multicolumn cells.
13832
13833 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13834
13835         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13836         dependancy file
13837
13838 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13841         LFUN_BREAKPARAGRAPH.
13842
13843         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13844         help test to "internal only", similar for LFUN_INSERT_URL
13845
13846         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13847         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13848         auto_region_delete and deadkeys.
13849
13850 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * LColor.h:
13853         * LColor.C: remove some dead entries, tidy a little
13854
13855 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13858         commented code.
13859         (Dispatch): implement LFUN_ESCAPE
13860
13861         * commandtags.h: add LFUN_ESCAPE
13862
13863         * LyXAction.C (init): add entry for LFUN_ESCAPE
13864
13865         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13866         Remove commented code.
13867         (insertNote): moved here
13868         (open_new_inset): moved here
13869
13870         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13871         BufferView_pimpl
13872
13873 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * kbmap.C (findbinding): clean it up and make it work correctly.
13876
13877         * lyx_main.C (init): do not pass argc and argv as parameters
13878
13879 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13880
13881         * buffer.C: fix path for OS/2 & Win32
13882
13883         * lyx_gui.C:
13884         * lyx_main:
13885         * lyx_main.C: Added os:: class.
13886
13887         * os2_defines.h: update
13888
13889 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13892         better by trying again with reduced state.
13893
13894 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * lyxrc.C (read): print error about invalid key sequence only when
13897         debugging (because not all latinX keysyms are known to some X
13898         servers)
13899
13900         * kbsequence.C (getiso): add a few std:: qualifiers
13901         (getiso): comment out extra return statement.
13902
13903 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13904
13905         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13906         handling.
13907         (Dispatch): enhance the accent inset a bit. (not perfect)
13908
13909 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13912
13913 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * bufferlist.C (emergencyWrite): fix assert() call
13916
13917 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13918
13919         * text.C (InsertChar): Added trivial patch to only send the "you
13920         can not do multiple spaces this way" message once during a
13921         session.
13922
13923 2001-05-08  Baruch Even  <baruch@lyx.org>
13924
13925         * Makefile.am: Changed order of libraries to get LyX to link properly
13926         with the gnome frontend.
13927
13928 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * LaTeXFeatures.h: add a std:: qualifier
13931
13932 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * paragraph.C (String): use stringstream
13935
13936 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * paragraph.C (writeFile): remove footflag arg
13939
13940         * buffer.C (makeLaTeXFile): use stringstream
13941         (latexParagraphs): remove footnot gurba
13942
13943         * LaTeXFeatures.C (getPackages): use stringstream
13944         (getMacros): likewise
13945         (getTClassPreamble): likewise
13946         (getFloatDefinitions): new method
13947
13948         * paragraph.C (writeFile): reindent
13949         (Erase): reindent
13950
13951         * WorkArea.h: revert the xpos + etc changes.
13952
13953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13954
13955         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13956
13957         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13958         (pasteSelection): likewise
13959         * text2.C (CreateUndo): likewise
13960
13961 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * minibuffer.C (peek_event): temporarily reduce the functionality
13964         of the minibuffer (to allow args on lfuns)
13965
13966         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13967         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13968
13969         * buffer.C (readInset): add compability reading of old float
13970         lists, add reading of new style float list.
13971         (readInset): avoid reevaluation of inscmd.getCmdName()
13972         (getLists): reindent
13973
13974         * MenuBackend.C (MenuItem): implement parsing of
13975         md_floatlistinsert and md_floatinsert.
13976         (expand::LastFiles): move initalizaton of iterators out of loop,
13977         avoid reevaluation.
13978         (expand::Documents): introduce typdedef vector<string> Strings,
13979         and use it.
13980         (expand::ExportFormats): introduce typedef vector<Format const *>
13981         Formats, and use it.
13982         (expand): implement FloatListInsert and FloatInsert.
13983
13984         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13985         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13986         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13987
13988         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13989         handling.
13990         (Dispatch::LFUN_FLOAT_LIST): implement
13991
13992 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13993
13994         * LaTeX.C (run): Fix problem with --export code.
13995
13996 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * BufferView.[Ch] (workarea): removed.
13999         (getClipboard) new method; wrapper for workarea()->getClipboard()
14000
14001         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14002         bug.
14003
14004         * WorkArea.h (width, height, xpos, ypos): These methods all
14005         returned the dimensions of the work_area sub-area of WorkArea,
14006         resulting in a position error if the WorkArea were resized. Now
14007         return the dimensions of the entire WorkArea.
14008
14009         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14010
14011 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14012
14013         * LaTeX.C (deplog): correct the syntax of regex reg1
14014
14015 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14016
14017         * undo.C: remove !NEW_INSETS cruft
14018
14019 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * text2.C: remove !NEW_INSETS cruft
14022
14023         * text.C: remove !NEW_INSETS cruft
14024
14025         * tabular.C: remove !NEW_INSETS cruft
14026
14027         * spellchecker.C: remove !NEW_INSETS cruft
14028
14029         * lyxtext.h: remove !NEW_INSETS cruft
14030
14031         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14032
14033         * lyxfunc.C: remove !NEW_INSETS cruft
14034
14035         * lyxfind.C: remove !NEW_INSETS cruft
14036
14037         * lyx_cb.C: remove !NEW_INSETS cruft
14038
14039         * figureForm.C: remove  !NEW_INSETS cruft
14040
14041         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14042
14043         * buffer.[Ch]: remove !NEW_INSETS cruft
14044
14045         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14046
14047         * CutAndPaste.C: remove !NEW_INSETS cruft
14048
14049         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14050
14051         * BufferView2.C: remove !NEW_INSETS cruft
14052
14053         * BufferView.h: remove !NEW_INSETS cruft
14054
14055 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * Lsstream.h: include LString.h before the sstream headers to
14058         fix problem with gcc 2.95.3 and lyxstring
14059
14060 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * lyx_main.C: add using directives when needed for C functions
14063         declared in std:: namespace.
14064
14065 2001-04-27  Juergen Vigna  <jug@sad.it>
14066
14067         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14068         (SetHeightOfRow): comment out the update call should not be needed!
14069
14070 2001-04-13  Juergen Vigna  <jug@sad.it>
14071
14072         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14073         (LyXTabular): tried to minimize operator= operations (and realized
14074         hopfully Lars wish).
14075
14076 2001-04-27  Juergen Vigna  <jug@sad.it>
14077
14078         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14079
14080 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14083
14084         * buffer.C (readInset): hack to make listof algorithm work
14085
14086         * BufferView_pimpl.C: hack to make listof algorithm work
14087
14088 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * LyXAction.C: removed all !NEW_INSETS cruft
14091         (init): moved lfun_item in method
14092
14093         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14094
14095 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14096
14097         * BufferView2.C (theLockingInset): white space.
14098
14099 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * minibuffer.C: include <iostream>
14102
14103         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14104
14105         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14106
14107         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14108
14109         * text.[Ch] (TransposeChars): new method
14110
14111 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14112
14113         * call message directly through LyXView instead of through LyXFunc
14114         * BufferView2.C: adjust
14115         * BufferView_pimpl.C: adjust
14116         * FontLoader.C: adjust
14117         * buffer.C: adjust
14118         * bufferview_funcs.C: adjust
14119         * converter.C: adjust
14120         * figureForm.C: adjust
14121         * importer.C: adjust
14122         * lyx_cb.C: adjust
14123         * lyx_gui_misc.C: adjust
14124         * lyxfunc.C: adjust
14125         * lyxvc.C: adjust
14126         * text2.C: adjust
14127         + more files in subdirs
14128
14129         * lyxparagraph.h (size): move up int file
14130         (GetLayout): ditto
14131
14132         * adjust all uses of Assert to lyx::Assert.
14133
14134         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14135         lyxfunctional in namespace lyx
14136         * layout.C (hasLayout): ditto
14137         (GetLayout): ditto
14138         (GetLayout): ditto
14139         (delete_layout): ditto
14140         (NumberOfClass): ditto
14141         * converter.C (GetFormat): ditto
14142         (GetNumber): ditto
14143         (Add): ditto
14144         (Delete): ditto
14145         (SetViewer): ditto
14146         * bufferlist.C (getFileNames): ditto
14147         (emergencyWriteAll): ditto
14148         (exists): ditto
14149         (getBuffer): ditto
14150         * MenuBackend.C (hasSubmenu): ditto
14151         (hasMenu): ditto
14152         (getMenu): ditto
14153         * BufferView_pimpl.C (getInsetByCode): ditto
14154
14155 2001-04-18  Juergen Vigna  <jug@sad.it>
14156
14157         * vspace.C (asLatexString): fixed the 100% problem.
14158
14159 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * lyxfunc.C (Dispatch):
14162         * minibuffer.C:
14163         * minibuffer.h: add a few std:: qualifiers
14164
14165 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * minibuffer.[Ch]: reimplement so that commands is initiated and
14168         run from lyxfunc, simplified som handling, and made the completion
14169         and history code for complete. wip.
14170
14171         * lyxfunc.C (processKeySym): call message
14172         (miniDispatch): new temporary method
14173         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14174         (LFUN_MESSAGE): implement
14175         (LFUN_MESSAGE_PUSH): implement
14176         (LFUN_MESSAGE_POP): implement
14177         (initMiniBuffer): the initial/defualt minibuffer message.
14178
14179         * lyxfont.[Ch]: inline some more getters
14180
14181         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14182
14183         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14184
14185         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14186         (AutoSave): use LFUN_MESSAGE
14187         (Reconfigure): ditto
14188
14189         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14190
14191         * figureForm.C: use LFUN_MESSAGE
14192
14193         * converter.C (runLaTeX): use LFUN_MESSAGE
14194
14195         * bufferview_funcs.C: use LFUN_MESSAGE
14196         (Melt): ditto
14197         (changeDepth): ditto
14198
14199         * bufferparams.h: use boost::
14200
14201         * bufferlist.h: inherit privately from noncopyable
14202
14203         * bufferlist.C (loadLyXFile): remove some commented code.
14204
14205         * buffer.C (runChktex): use LFUN_MESSAGE
14206
14207         * ShareContainer.h: inherit privately from noncopyable
14208
14209         * ParagraphParameters.[hC] (depth): inline it.
14210
14211         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14212         methods.
14213         (message): new method
14214         (messagePush): ditto
14215         (messagePop): ditto
14216         (show): init minibuffer
14217         (showState): direct call
14218
14219         * LaTeX.[Ch]: inherit privately from noncopyable
14220         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14221         instead of WriteStatus.
14222
14223         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14224
14225         * BufferView_pimpl.C (buffer): don't init minibuffer
14226         (workAreaButtonPress): use LFUN_MESSAGE
14227         (workAreaButtonRelease): ditto
14228         (savePosition): ditto
14229         (restorePosition): ditto
14230         (MenuInsertLyXFile): ditto
14231         (workAreaExpose): don't init minibuffer
14232         (update): remove commented code, simplify
14233
14234         * BufferView2.C (openStuff): use LFUN_MESSAGE
14235         (toggleFloat): ditto
14236         (menuUndo): ditto
14237         (menuRedo): ditto
14238         (copyEnvironment): ditto
14239         (pasteEnvironment): ditto
14240         (copy): ditto
14241         (cut): ditto
14242         (paste): ditto
14243         (gotoInset): ditto
14244         (updateInset): remove some commented code
14245
14246         * lastfiles.h: inherit privately from noncopyable
14247         * layout.h: ditto
14248         * lyx_gui.h: ditto
14249         * lyx_main.h: ditto
14250         * lyxlex.h: ditto
14251         * lyxlex_pimpl.h: ditto
14252
14253         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14254         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14255         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14256
14257         * LyXAction.h: inherit privately from noncopyable, add methods
14258         func_begin, func_end, returning iterators to the func map.
14259
14260         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14261         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14262         (func_begin): new method
14263         (func_end): new method
14264
14265         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14266         and not)
14267         (copySelection): ditto
14268         (pasteSelection): ditto
14269
14270         * BufferView.C: whitespace change
14271         * BufferView.h: inherit privately from noncopyable
14272
14273 2001-04-16  Allan Rae  <rae@lyx.org>
14274
14275         * tabular-old.C (l_getline):
14276         * spellchecker.C (sc_check_word):
14277         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14278         an unrecognised preprocessor directive.  So ensure they're wrapped.
14279
14280 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14281
14282         * src/exporter.C (Export): Give an error message when path to file
14283         contains spaces.
14284
14285 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14286
14287         * LaTeX.C (deplog): Always check that foundfile exists.
14288
14289 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * lyx_main.h:
14292         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14293
14294 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14295
14296         * tabular.[Ch] (getLabelList): implement new method
14297
14298         * minibuffer.h: comment ouf setTiimer
14299
14300         * minibuffer.C (ExecutingCB): constify res
14301         (peek_event): constify s
14302         (Set): constify ntext
14303         (Init): constify nicename
14304
14305         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14306
14307         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14308         (savePosition): use two params to Minibuffer::Set
14309         (restorePosition): ditto
14310
14311 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * lyx_main.C: include language.h
14314
14315         * Makefile.am (lyx_main.o): add language.h
14316
14317 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * exporter.C:
14320         * paragraph.C:
14321         * screen.C:
14322         * tabular.C:
14323         * CutAndPaste.C: include gettext.h
14324
14325         * lyxfont.h: remove old hack with ON and OFF.
14326
14327         * lyxparagraph.h:
14328         * lyxfont.h: do not include language.h...
14329
14330         * BufferView2.C:
14331         * LaTeXFeatures.C:
14332         * Painter.C:
14333         * bufferview_funcs.C:
14334         * font.C:
14335         * lyxfont.C:
14336         * text.C:
14337         * text2.C:
14338         * trans_mgr.C:
14339         * paragraph.C: ... but do it here instead
14340
14341 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14344
14345         * tabular.C: small reformat
14346
14347         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14348         NEW_INSETS version
14349         (GetChar): ditto
14350         (BreakParagraph): ditto
14351         (SetOnlyLayout): ditto
14352         (SetLayout): ditto
14353
14354         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14355         with one arg less.
14356
14357         * lastfiles.C: removed most using decl, add std:: where needed
14358
14359         * buffer.C: ws changes
14360
14361         * MenuBackend.C (class compare_format): put into anon namespace
14362         (expand): constify label, names, action, action2
14363         (expand):
14364
14365         * text.C (SingleWidth): constify font
14366         (IsBoundary): constify rtl2
14367         (GetVisibleRow): constify ww
14368
14369         * LaTeX.C (deplog): constify logfile
14370
14371         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14372         start_x, end_x
14373         (workAreaExpose): constify widthChange, heightChange
14374
14375         * lyxrow.C (par): moved
14376         (height): moved
14377         (next): moved
14378         * lyxrow.h: as inlines here
14379
14380         * lyxfont.h (shape): moved from lyxfont.C
14381         (emph): moved from lyxfont.C
14382
14383         * lyxfont.C (LyXFont): use initialization list for all
14384         constructors
14385         (shape): move to lyxfont.h as inline
14386         (emph): move to lyxfont.h as inline
14387
14388
14389 2001-04-04  Juergen Vigna  <jug@sad.it>
14390
14391         * vspace.C: had to include stdio.h for use of sscanf
14392
14393 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * BufferView.h:
14396         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14397         independent of xforms.
14398
14399 2001-04-02  Juergen Vigna  <jug@sad.it>
14400
14401         * spellchecker.C: fixed namespace placing!
14402
14403 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14404
14405         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14406         the LyXParagraph * is 0.
14407
14408 2001-03-29  Juergen Vigna  <jug@sad.it>
14409
14410         * vspace.C: added support for %, c%, p%, l%.
14411         (stringFromUnit): added helper function.
14412         (asLatexString): changed to give right results for the %-values.
14413
14414         * buffer.C: convert the widthp in a width%.
14415
14416 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14419         figureForm.[Ch].
14420
14421         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14422         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14423
14424         * lyx_cb.[Ch]: see above.
14425
14426         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14427         form1.[Ch].
14428
14429         * form1.[Ch]:
14430         * lyx.[Ch]: replaced by figure_form.[Ch].
14431
14432         * lyx_gui.C:
14433         * lyx_gui_misc.C:
14434         * lyxfunc.C: changed headers associated with above changes.
14435
14436 2001-03-27  Juergen Vigna  <jug@sad.it>
14437
14438         * BufferView_pimpl.C: set the temporary cursor right!
14439
14440 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14441
14442         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14443
14444 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         * LString.h: removed "using std::getline"!
14447
14448         * BufferView_pimpl.C (Dispatch): changes due to changes in
14449         InsetInclude::Params.
14450
14451         * buffer.C (tag_name): removed redundant break statements as they were
14452         producing lots of warnings with my compiler.
14453
14454 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * LString.h: add "using std::getline" when using the real <string>.
14457
14458 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14459
14460         * buffer.C: removed bitset usage.
14461         PAR_TAG moved to an anonymous name space.
14462         (tag_name): new funtion, also in the anonymous namespace.
14463         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14464         (makeDocBookFile): clean code. Completed transition from string arrays
14465         to string vectors.
14466         (SimpleDocBookOnePar): code clean.
14467
14468 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14469
14470         * tabular.C: add some comments.
14471
14472 2001-03-22  Juergen Vigna  <jug@sad.it>
14473
14474         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14475         compatibility read a bit and fixed bug with minipage in different
14476         depth.
14477
14478 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14479
14480         * buffer.C (pop_tag): removed.
14481         (push_tag): removed.
14482         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14483         array replaced with vector. Added support for CDATA sections.
14484         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14485         at any nest level.
14486         (makeDocBookFile): XML conformant declaration of CDATA section,
14487         fixed bug related to <emphasis> in the first paragraph char.
14488         (sgmlOpenTag): exclude empty tags.
14489         (sgmlCloseTag): ditto.
14490
14491         * buffer.h (pop_tag): removed.
14492         (push_tag): removed.
14493
14494 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14495
14496         * language.h (Languages): added size_type and size().
14497
14498 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14499
14500         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14501         response on compability reading of minipages. One probliem is that
14502         the old usage of minipages was «flertydig»
14503
14504         * several files here and in subdirs: don't use static at file
14505         scope use anon namespaces instead.
14506
14507 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14508
14509         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14510         LaTeX output. This is necessary for Literate document
14511         processing.
14512
14513 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14514
14515         * buffer.C: insert hfill when needed.
14516
14517         * tabular.C (l_getline): use string::erase, small whitespace change.
14518
14519         * BufferView_pimpl.C: try the anon namespace.
14520         * WorkArea.C: ditto
14521
14522 2001-03-16  Juergen Vigna  <jug@sad.it>
14523
14524         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14525         otherwise it won't open options-dialogs.
14526
14527         * buffer.C: honor pextraWidth(p) on converting minipages.
14528
14529         * tabular.C (l_getline): changed the functions to strip trailing \r.
14530
14531 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14532
14533         * BufferView_pimpl.C:
14534         * minibuffer..C: added "using SigC::slot" declaration.
14535
14536 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14537
14538         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14539
14540         * text2.C: ditto
14541
14542         * text.C: ditto
14543
14544         * paragraph.C: ditto
14545
14546         * lyxtext.h: NO_PEXTRA
14547
14548         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14549
14550         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14551         * ParameterStruct.h: ditto
14552         * ParagraphParameters.h: ditto
14553         * lyxparagraph.h: ditto
14554
14555 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14556
14557         * buffer.C: add compability for minipage alignment.
14558         (latexParagraphs): remove unwanted pextra check.
14559
14560         * several files: remove CXX_WORKING_NAMESPACES
14561
14562         * buffer.C (pop_tag): tie is in namespace boost
14563
14564         * BufferView.h: noncopyable is in namespace boost
14565         * lyxlex.h: ditto
14566         * lyx_main.h: ditto
14567         * lyx_gui.h: ditto
14568         * layout.h: ditto
14569         * lastfiles.h: ditto
14570         * bufferlist.h: ditto
14571         * ShareContainer.h: ditto
14572         * LyXView.h: ditto
14573         * LyXAction.h: ditto
14574         * LaTeX.h: ditto
14575
14576 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * Merging changes from BRANCH_MVC back into HEAD.
14579
14580         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14581
14582 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * BufferView_pimpl.C: change from intl.C
14585
14586         * combox.h:
14587         * combox.C:
14588         * Makefile.am: move combox.*
14589
14590         * form1.h:
14591         * form1.C:
14592         * lyx_gui.C:
14593         * intl.h:
14594         * intl.C: remove dialog (covered by prefs)
14595
14596 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14597
14598         * lyxfunc.C (Dispatch): removed redundant break statement.
14599
14600 2001-03-14  Juergen Vigna  <jug@sad.it>
14601
14602         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14603
14604 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14605
14606         * buffer.C: add hack to fix compability reading of minipages.
14607
14608 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14609
14610         * buffer.C (getLists): Cleanup.
14611
14612 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * lyxfont.C (update): don't honor toggleall on font size.
14615
14616 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14617
14618         * bmtable.c:
14619         * bmtable.h:
14620         * Makefile.am: moved to frontends/xforms/
14621
14622         * lyx_gui_misc.C:
14623         * lyxfunc.C:
14624         * BufferView_pimpl.C: changes for moved mathpanel
14625
14626 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14627
14628         * gettext.h: fix gettext_init() in --disable-nls
14629
14630 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14631
14632         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14633
14634 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * lyx.C:
14637         * lyx.h: strip external form
14638
14639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * BufferView_pimpl.C: add comment, destroySplash()
14642
14643 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * BufferView_pimpl.C:
14646         * LyXAction.C:
14647         * buffer.C:
14648         * commandtags.h:
14649         * lyxfunc.C: use re-worked insetinclude
14650
14651 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14652
14653         * buffer.C: add using std::stringstream.
14654
14655         * lyx_cb.C: readd using std::ios.
14656
14657         * buffer.C: add using std::map.
14658
14659         * BufferView_pimpl.C: add using std::vector.
14660
14661         * ShareContainer.h: add std:: to swap.
14662
14663         * buffer.h: add some typedefs
14664         * buffer.C (getLists): use them
14665         (getLists): renamed from getTocList.
14666         add a counter for the different float types and use it in the
14667         generated string.
14668         (getLists): use the same counter for the NEW_INSETS and the "non"
14669         NEW_INSETS
14670
14671         * lyx_cb.h: remove unused items, includes, using etc.
14672
14673         * ShareContainer.h: remove some commented code, add more comments
14674         and "documentation".
14675
14676 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14677
14678         * buffer.C (getTocList): make the list also when NEW_INSETS is
14679         defined.
14680
14681         * buffer.h: remove TocType
14682
14683         * buffer.C (getTocList): change to return a map<string,
14684         vector<TocItem> >, implement for dynamic number of list.
14685
14686         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14687         * text2.C (PasteSelection): adjust
14688         * CutAndPaste.C (pasteSelection): adjust
14689
14690         * FloatList.C (FloatList): update from the new_insets branch.
14691         * Floating.[Ch]: ditto
14692         * LaTeXFeatures.C: ditto
14693         * buffer.C: ditto
14694         * lyxlex_pimpl.C: ditto
14695
14696         * paragraph.C (Last): remove when NEW_INSETS is defined.
14697
14698         * other file: changes because of the above.
14699
14700 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14701
14702         * lyxparagraph.h: rename next to next_, previous to previous_,
14703         make them private for NEW_INSETS. Rename Next() to next(),
14704         Previous() to previous().
14705
14706         * other files: changes because of the above.
14707
14708 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14709
14710         * BufferView.h:
14711         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14712         problem.
14713
14714 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * main.C (main): pass lyx_localedir to gettext_init().
14717
14718         * gettext.h: remove locale_init and gettext_init macros
14719
14720         * gettext.C (locale_init): new function
14721         (gettext_init): new function
14722
14723         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14724         setlocale().
14725
14726 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14727
14728         * Moved credits to frontends:
14729         * credits.[Ch]: removed
14730         * credits_form.[Ch]: removed
14731         * lyx_gui_misc.C: remove credits stuff
14732         * Makefile.am:
14733
14734 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14735
14736         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14737
14738         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14739         unneeded destructor.
14740
14741         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14742         a standalone pointer again.
14743
14744         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14745
14746 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * Makefile.am:
14749         * filedlg.h:
14750         * filedlg.C:
14751         * LyXAction.C:
14752         * ToolbarDefaults.C:
14753         * bufferlist.C:
14754         * commandtags.h:
14755         * form1.C:
14756         * form1.h:
14757         * lyx_cb.C:
14758         * lyx_cb.h:
14759         * lyxfunc.h:
14760         * lyxfunc.C:
14761         * BufferView_pimpl.C: use new file dialog in GUII
14762
14763         * lyx_cb.h:
14764         * lyx_cb.C: remove LayoutsCB to Toolbar
14765
14766 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14767
14768         * ShareContainer.h (get): add std:: qualifier
14769
14770 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * ShareContainer.h: define a proper ShareContainer::value_type
14773         type (and use typename to please compaq cxx)
14774
14775 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14776
14777         * lyxparagraph.h: move serveral local vars to
14778         ParameterStruct/ParagraphParameters., use ShareContainer in
14779         FontTable., make vars in FontTable private and add getter and
14780         setter.
14781
14782         * paragraph.C: changes because of the above.
14783
14784         * lyxfont.h: remove copy constructor and copy assignment. (the
14785         default ones is ok), move number inside FontBits. move inlines to
14786         lyxfont.C
14787
14788         * lyxfont.C: add number to initializaton of statics, move several
14789         inlines here. constify several local vars. some whitespace
14790         cleanup. Dont hide outerscope variables.
14791
14792         * Spacing.h: add two new constructors to match the set methods.
14793
14794         * ShareContainer.h: new file, will perhaps be moved to support
14795
14796         * ParameterStruct.h: new file
14797
14798         * ParagraphParameters.h: new file
14799
14800         * ParagraphParameters.C: new file
14801
14802         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14803         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14804
14805         * BufferView_pimpl.C: ParagraphParameter changes.
14806         * buffer.C: Likewise.
14807         * bufferview_funcs.C: Likewise.
14808         * text.C: Likewise.
14809         * text2.C: Likewise.
14810
14811 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * lyxfind.C (LyXReplace): do not redefine default argument in
14814         implementation.
14815         (IsStringInText): ditto
14816         (SearchForward): ditto
14817         (SearchBackward): ditto
14818
14819 2001-03-06  Juergen Vigna  <jug@sad.it>
14820
14821         * lyxfind.C (IsStringInText): put parentes around expressions.
14822
14823 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14824
14825         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14826
14827 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14830
14831         * stl_string_fwd.h: add comment
14832
14833         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14834
14835         * tabular.h:
14836         * tabular.C: remove unused DocBook methods
14837
14838         * intl.C:
14839         * language.C:
14840         * paragraph.C:
14841         * buffer.C:
14842         killed DO_USE_DEFAULT_LANGUAGE
14843
14844 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14845
14846         * lyx_gui.C: do not include language.h.
14847
14848         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14849         arguments in function implementation.
14850
14851 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14852
14853         * BufferView_pimpl.C: add <ctime>
14854
14855 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14856
14857         * BufferView_pimpl.C: add using std::find_if
14858
14859 2001-02-27  José Matos  <jamatos@fep.up.pt>
14860
14861         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14862         by OnlyPath.
14863
14864 2001-02-11  José Matos  <jamatos@fep.up.pt>
14865
14866         * buffer.C (makeDocBookFile): command styles now have a parameter as
14867         "title" by default.
14868
14869 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14870
14871         * layout_forms.[Ch]: removed
14872         * lyx_cb.[Ch]: out character
14873         * lyx_gui.C: out character
14874         * lyx_gui_misc.C: out character
14875         * bufferview_funcs.C: : out character,
14876         added toggleall as parameter in ToggleAndShow
14877
14878 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14879
14880         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14881
14882         * text2.C (SetCurrentFont): Disable number property at boundary.
14883
14884 2001-02-26  Juergen Vigna  <jug@sad.it>
14885
14886         * lyxfunc.C (getStatus): added a string argument override function so
14887         that this is correctly called from LyXFunc::Dispatch if it contains a
14888         do_not_use_argument which is used!
14889         (Dispatch): added check for "custom" export and call appropriate func.
14890
14891 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * lyxrc.C: Add language_command_local, language_use_babel and
14894         language_global_options.
14895
14896         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14897
14898         * buffer.C (makeLaTeXFile): Use language_use_babel and
14899         language_global_options.
14900
14901 2001-02-23  Juergen Vigna  <jug@sad.it>
14902
14903         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14904         which works with LyXText and putted it inside BufferView. Here now we
14905         only call for that part the BufferView::Dispatch() function.
14906
14907         * BufferView.C (Dispatch): added.
14908
14909         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14910         functions which needs to use a LyXText over from LyXFunc.
14911         (MenuInsertLyXFile): added
14912         (getInsetByCode): added
14913         (moveCursorUpdate): added
14914         (static TEXT): added
14915
14916 2001-02-22  Juergen Vigna  <jug@sad.it>
14917
14918         * BufferView_pimpl.C (update): call a status update to see if LyXText
14919         needs it.
14920
14921 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14922
14923         * vc-backend.C (revert): implement for CVS
14924         (getLog): implement for CVS
14925
14926 2001-02-20  Juergen Vigna  <jug@sad.it>
14927
14928         * text2.C (ClearSelection): added BufferView param for inset_owner call
14929
14930         * lyxfunc.C (TEXT): added this function and use it instead of
14931         directly owner->view()-text of getLyXText().
14932
14933 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14934
14935         * src/layout_forms.C: out preamble
14936         * src/layout_forms.h: out preamble
14937         * src/lyx_cb.C: out preamble
14938         * src/lyx_cb.h: out preamble
14939         * src/lyx_gui.C: out preamble
14940         * src/lyx_gui_misc.C: out preamble
14941         * src/lyxfunc.C: connect with guii preamble
14942
14943 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14944
14945         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14946
14947 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14948
14949         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14950         whether to run bibtex.
14951
14952 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14953
14954         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14955
14956 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14957
14958         * Makefile.am (lyx_SOURCES): removed bibforms.h
14959
14960         * vspace.h: doxygen
14961
14962         * text.C (GetVisibleRow): make several local vars const
14963
14964         * tabular.C: small cleanup.
14965
14966         * lyxserver.C (callback): use compare instead of strncmp
14967
14968         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14969         inlines to after class or to paragraph.C
14970
14971         * lyxfont.h: remove friend operator!=
14972
14973         * converter.h: move friend bool operator< to non friend and after
14974         class def.
14975
14976         * combox.h: small cleanup
14977
14978         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14979         to inlines after class def.
14980
14981         * buffer.C (pop_tag): use string operations instead of strcmp
14982
14983         * bmtable.c: doxygen, small cleanup
14984
14985         * LaTeX.h: remove friend operator==
14986
14987 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14988
14989         * screen.C:
14990         * lyxrc.[Ch]:
14991         * lyxfunc.C:
14992         * lyxfont.[Ch]:
14993         * lyx_cb.C:
14994         * intl.[Ch]:
14995         * commandtags.h:
14996         * buffer.C:
14997         * WorkArea.[Ch]:
14998         * LyXAction.C:
14999         * BufferView_pimpl.C:
15000         * BufferView.[Ch]: remove cruft
15001
15002 2001-02-14  Juergen Vigna  <jug@sad.it>
15003
15004         * lyxfunc.C: removed #if 0 unused code
15005
15006         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15007
15008         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15009
15010         * text2.C (SetSelection): added a BufferView * parameter
15011
15012 2001-02-13  Juergen Vigna  <jug@sad.it>
15013
15014         * lyxfunc.C (Dispatch): fixed protected blank problem.
15015         * BufferView2.C (protectedBlank): added LyxText * parameter.
15016
15017         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15018         (AppendColumn): same as above for column_info.
15019
15020         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15021         (moveCursorUpdate): use a LyXText param for support of InsetText.
15022
15023         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15024         (tripleClick): ditto
15025
15026         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15027
15028         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15029
15030         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15031
15032         * text2.C (SetSelection): set correct update status if inset_owner
15033         (ToggleFree): ditto
15034
15035 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15036
15037         * tabular.C: remove some commented code.
15038
15039 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15040
15041         * BufferView_pimpl.C: call hideSplash()
15042
15043         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15044
15045         * include_form.h:
15046         * bibforms.h: remove
15047
15048         * lyxfunc.C:
15049         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15050           add LFUN_CHILD_CREATE
15051
15052         * counters.h: fix tiny typo
15053
15054         * lyx_cb.C:
15055         * lyx.h:
15056         * lyx_gui.C:
15057         * lyx.C: move splash to frontends/xforms/
15058
15059         * lyx_gui_misc.C: move Include and Bibform to frontends
15060
15061         * lyxvc.h: clarify comment
15062
15063         * vspace.C: tiny housekeeping
15064
15065 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * text.C (PrepareToPrint): RTL Fix.
15068
15069         * paragraph.C (GetUChar): New method.
15070         (String):  Use GetUChar.
15071
15072         * buffer.C (asciiParagraph): Use GetUChar.
15073
15074 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15077
15078 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * buffer.h:
15081         * buffer.C: rename to getLogName(), handle
15082           build log / latex log nicely
15083
15084 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * MenuBackend.C:
15087         * MenuBackend.h: remove support for reference menuitem type.
15088
15089 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * BufferView_pimpl.C: housekeeping
15092         * BufferView_pimpl.h:
15093         * LyXView.h:
15094         * Makefile.am:
15095         * Timeout.C:
15096         * Timeout.h:
15097         * minibuffer.h: move Timeout GUI-I
15098
15099 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15100
15101         * lyxrc.C (read): Update converters data-structures.
15102
15103 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15104
15105         * LaTeX.h (operator!=): add operator != for Aux_Info
15106
15107 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15110
15111         * LaTeXLog.C: deleted, useful code moved to Buffer
15112
15113         * buffer.h:
15114         * buffer.C: new function getLatexLogName()
15115
15116         * lyx_gui_misc.C:
15117         * lyx_gui.C:
15118         * lyxvc.C:
15119         * lyxvc.h:
15120         * lyxfunc.C: use frontends for LaTeX and VC logs
15121
15122 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15123
15124         * LaTeX.h: yet another std:: that Allan forgot.
15125
15126         * Variables.C (set): renamed from isset(), because this clashes
15127         with some HP-UX macros (grr).
15128
15129 2001-02-06  Allan Rae  <rae@lyx.org>
15130
15131         * LaTeX.h: Another bug fix.  Missing std:: this time.
15132
15133 2001-02-04  Allan Rae  <rae@lyx.org>
15134
15135         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15136         floats problem. I've left it commented out because it's not quite
15137         correct.  It should also test that the current object is a table or
15138         figure inset.  But I haven't gotten around to figuring out how to do
15139         that.  I *think* it'll be something like: "table" == inset.type()
15140
15141         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15142         bool.
15143
15144 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15145
15146         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15147         all the citation/databases/styles in the auxilary file.
15148         (run): Rerun latex if there was a babel language error.
15149
15150 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * text.C (Backspace): Preserve the font when changing newline char
15153         with a space.
15154         (BreakParagraph): If the cursor is before a space, delete the space.
15155
15156         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15157
15158 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15161         new argument (code).
15162         (ChangeCitationsIfUnique): New method.
15163
15164         * paragraph.C (GetPositionOfInset): Handle bibkey.
15165
15166 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * BufferView_pimpl.h: change type of Position::par_pos to
15169         LyXParagraph::size_type.
15170
15171 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * BufferView_pimpl.C (savePosition, restorePosition): Write
15174         messages to minibuffer.
15175
15176 2001-01-28  José Matos  <jamatos@fep.up.pt>
15177
15178         * buffer.C (makeDocBookFile): adds support for document language.
15179         A silly restriction on the name of LatexCommand types where removed.
15180         Added support for CDATA sections, allows to chars unescaped, used
15181         among others in code, to avoid escape < and >.
15182
15183 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15186         saved positions instrad of a stack. Furthermore, a position is
15187         stored using paragraph id/paragraph position.
15188
15189         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15190         Remove LFUN_REF_BACK.
15191
15192 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15193
15194         * converter.C (dvipdfm_options): New method.
15195
15196 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15197
15198         * vspace.C (isValidLength): Fix for empty input string.
15199
15200 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15201
15202         * LyXAction.C (init): change description of LFUN_FIGURE to
15203         "Insert Graphics"
15204
15205 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * LaTeX.C: add using directive
15208
15209 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15210
15211         * MenuBackend.C (expand): Fix the sorting of the formats.
15212
15213 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15214
15215         * lyx_main.C: tiny error message fix
15216
15217 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15220         calling fl_initialize(). This fixes the problem with ',' as
15221         decimal separator in text files.
15222
15223 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15224
15225         * trans.C (process): Fix the keymap bug.
15226
15227 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * LaTeX.C (scanAuxFiles): New method. Provides support for
15230         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15231         (scanLogFile) Scan for "run BibTeX" messages.
15232
15233         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15234         OT1 font encoding. Also, load the aecompl package if the ae
15235         package is loaded.
15236
15237         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15238
15239 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * texrow.C (increasePos): turn two error messages into debug
15242         messages.
15243
15244 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * LaTeX.C (scanAux): Handle the \@input macro.
15247         (runBibTeX): Use scanAux().
15248
15249         * language.C (latex_options_): New field.
15250
15251         * LaTeXFeatures.C (getMacros): Add language macros.
15252
15253         * buffer.C (makeLaTeXFile): Small fix.
15254
15255 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15258
15259         * text2.C: add a using directive.
15260
15261 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15262
15263         * BufferView2.C:
15264         * lyx_gui_misc.h:
15265         * lyxfr1.C:
15266         * lyxfunc.C: kill LyXBell.
15267
15268 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * text.C (IsBoundary): Remove the error message
15271
15272         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15273
15274         * lyxrc.C (setDefaults): Correct initialization value for
15275         font_norm_type.
15276
15277 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15278
15279         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15280         gotoError().
15281
15282         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15283         and GotoNextNote().
15284
15285         * src/LyXAction.C: Added reference-next.
15286
15287         * text.C (InsertChar): Use contains instead of strchr.
15288
15289         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15290
15291 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15292
15293         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15294         alignment commands (when needed).
15295
15296         * text.C (InsertChar): Add ':' to number separator chars.