]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Convert the spellchecker dialog to the Dialog-based scheme.
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): Fall through to the generic
4         Dialogs::show("spellchecker").
5
6 2004-03-31  Angus Leeming  <leeming@lyx.org>
7
8         * lyxfunc.C (getStatus, dispatch): changed invocation of the
9         preferences dialog.
10
11 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
12
13         * BufferView.C
14         * cursor.[Ch]
15         * dociterator.[Ch]:
16         * insetiterator.[Ch]:
17         * lyxfind.C:
18         * lyxfunc.C:
19         * pariterator.[Ch]:
20         * text2.C:
21         * undo.[Ch]: s/DocumentIterator/DocIterator/g
22
23 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
24
25         * BufferView.C (setCursor, putSelectionAt): call edit to open the
26         insets where we are putting the cursor.
27
28 2004-03-31  Angus Leeming  <leeming@lyx.org>
29
30         * lfuns.h:
31         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
32
33         * lyxrc.[Ch] (read, write): overloaded member functions taking
34         a std::[io]stream arguments.
35
36         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
37
38 2004-03-31  Angus Leeming  <leeming@lyx.org>
39
40         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
41         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
42
43         * lyxtextclass.C (load): if the text class couldn't be loaded, then
44         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
45
46 2004-03-31  Angus Leeming  <leeming@lyx.org>
47
48         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
49         the LFUN_ALL_INSETS_TOGGLE code.
50
51 2004-03-30  Angus Leeming  <leeming@lyx.org>
52
53         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
54         has died. Fall through to the generic Dialogs::show("document").
55         
56 2004-03-30  Angus Leeming  <leeming@lyx.org>
57
58         * lfuns.h:
59         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
60         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
61
62         * lyxfunc.C (getStatus, dispatch): define the actions for these
63         lfuns. Little more than a cut and pste job from ControlDocument.C
64
65         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
66
67 2004-03-30  Angus Leeming  <leeming@lyx.org>
68
69         * lfuns.h:
70         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
71         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
72
73         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
74         open/closed state of ollapsable insets. Usage:
75
76         all-inset-toggle <state> <name>, where
77         <state> == "open" || "closed" || "toggle" and
78         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
79
80         * lyxtext.h, text2.C (toggleInset): removed.
81
82         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
83         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
84         now passes LFUN_INSET_TOGGLE to the found inset.
85
86         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
87         is now invoked as "all-insets-toggle toggle branch".
88
89 2004-03-30  Angus Leeming  <leeming@lyx.org>
90
91         * dociterator.C:
92         * insetiterator.C:
93         * pariterator.[Ch]: added/corrected header blurb.
94
95 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * dociterator.[Ch]: add an inset_ member 
98         (backwardPos): implemented
99         (backwardPos, forwardPos): use inset_ when the stack is empty.
100         (doc_iterator_begin, doc_iterator_end): implemented
101         * pariterator.[Ch]: adjust, add begin, end
102         * insetiterator.[Ch]: adjust, add begin, end
103         * cursor.C: 
104         * document.C:
105         * BufferView.C:
106         * BufferView_pimpl.C:
107         * CutAndPaste.C: adjust
108
109 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * buffer.C: increment file format to 232.
112         * LaTeXFeatures.C: add bibtopic package.
113         * bufferparams.[Ch]: param \use_bibtopic.
114         
115         * lyxrc.[Ch]: add lyxrc bibtex_command
116         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
117         
118         * buffer.C: increment file format to 231.
119
120 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * dociterator.C: implement forwardPar
123         * iterators.[Ch]: remove, replaced by
124         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
125         * BufferView.C:
126         * BufferView_pimpl.C:
127         * CutAndPaste.C:
128         * buffer.C:
129         * bufferview_funcs.C:
130         * cursor.C:
131         * lyxfind.C
132         * lyxfunc.C
133         * paragraph_funcs.C
134         * toc.C:  
135         * Makefile.am: adjust
136
137 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * CutAndPaste.C (pasteSelection): fix 2 crashes
140         (eraseSelection): fix a crash
141         * paragraph_funcs.C: remove a warning
142
143 2004-03-28  Angus Leeming  <leeming@lyx.org>
144
145         * lfuns.h:
146         * LyXAction.C (init): new LFUN_PRINT.
147
148         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
149
150 2004-03-27  Angus Leeming  <leeming@lyx.org>
151
152         * lfuns.h:
153         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
154
155         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
156
157 2004-03-27  Angus Leeming  <leeming@lyx.org>
158
159         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
160         insetlist always contains non-null pointers to insets.
161
162 2004-03-26  Angus Leeming  <leeming@lyx.org>
163
164         * src/BufferView_pimpl.C:
165         * src/CutAndPaste.C:
166         * src/buffer.C:
167         * src/iterators.C:
168         * src/output_plaintext.C:
169         * src/outputparams.h:
170         * src/paragraph_funcs.C:
171         * src/rowpainter.C:
172         * src/text.C:
173         * src/text2.C:
174         * src/frontends/controllers/ControlErrorList.C:
175         * src/frontends/gtk/FileDialogPrivate.C:
176         * src/frontends/gtk/GPainter.C:
177         * src/frontends/gtk/GToolbar.C:
178         * src/frontends/qt2/QRef.C:
179         * src/mathed/math_scriptinset.C: squash compiler warnings.
180
181 2004-03-26  Angus Leeming  <leeming@lyx.org>
182
183         * ispell.C (LaunchIspell::start):
184         * lyx_cb.C (AutoSaveBuffer::start):
185         invoke run(DontWait) rather than runNonBlocking().
186
187 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
190
191 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * kbsequence.C (print): adjust
194
195         * kbmap.C (printKeySym): rename and change signature
196         (printKey): use LyXKeySym::print()
197
198 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * undo.C: add using std::advance to compile for stlport
201
202 2004-03-24  Angus Leeming  <leeming@lyx.org>
203
204         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
205         it leads to a crash when no buffer is present.
206
207 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208             Martin Vermeer  <martin.vermeer@hut.fi>
209
210         * lyxfunc.C (dispatch): 
211         * bufferparams.C (readToken): use the new LColor::setColor 
212
213         * LColor.[Ch] (setColor): new version that takes two strings as
214         argument and creates a new color entry if necessary
215
216 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
217
218         * buffer.C (makeLaTeXFile): if the main latex file that is
219         processed is usually a subdocument of some master, then pretend
220         for a while that it is actually the master
221
222 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
223
224         * buffer.C (getLabelList):
225         (getBibkeyList): use getMasterBuffer()
226         (getMasterBuffer): new method. Returns the main document in the
227         case where one is using included documents.
228
229 2004-03-25  André Pönitz  <poenitz@gmx.net>
230
231         * Makefile.am:
232         * iterators.[Ch]:
233         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
234
235         * ParagraphList_fwd.h: change ParagraphList to a std::vector
236
237         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
238         text*.C over here. Rename namespace CutAndPaste to lyx::cap
239
240         * ParameterStruct.h: merge with ParagraphParameters
241
242         * lyxtext.h: remove LyXText::parOffset() and getPar()
243
244         * text3.C: Remove all 'manual' update calls. We do now one per user
245         interaction which is completely sufficient.
246
247         * Bidi.C:
248         * BufferView.[Ch]:
249         * BufferView_pimpl.C:
250         * FontIterator.[Ch]:
251         * MenuBackend.C:
252         * ParagraphParameters.[Ch]:
253         * buffer.C:
254         * buffer.h:
255         * bufferlist.C:
256         * cursor.[Ch]:
257         * cursor_slice.[Ch]:
258         * dociterator.[Ch]:
259         * errorlist.[Ch]:
260         * factory.C:
261         * lfuns.h:
262         * lyxfind.C:
263         * lyxfunc.C:
264         * output_docbook.[Ch]:
265         * output_latex.[Ch]:
266         * output_linuxdoc.[Ch]:
267         * output_plaintext.[Ch]:
268         * paragraph.[Ch]:
269         * paragraph_funcs.[Ch]:
270         * paragraph_pimpl.[Ch]:
271         * rowpainter.C:
272         * tabular.[Ch]:
273         * text.C:
274         * text2.C:
275         * toc.C:
276         * undo.[Ch]: adjust
277
278         * frontends/controllers/ControlDocument.C:
279         * frontends/controllers/ControlErrorList.C:
280         * frontends/controllers/ControlSpellchecker.C:
281         * insets/inset.C:
282         * insets/inset.h:
283         * insets/insetbase.h:
284         * insets/insetbibitem.C:
285         * insets/insetbox.C:
286         * insets/insetbranch.C:
287         * insets/insetcaption.C:
288         * insets/insetcharstyle.C:
289         * insets/insetcharstyle.h:
290         * insets/insetcollapsable.C:
291         * insets/insetcollapsable.h:
292         * insets/insetert.C:
293         * insets/insetfloat.C:
294         * insets/insetfoot.C:
295         * insets/insetmarginal.C:
296         * insets/insetnote.C:
297         * insets/insetoptarg.C:
298         * insets/insettabular.C:
299         * insets/insettext.C:
300         * insets/insettext.h:
301         * insets/insetwrap.C:
302         * mathed/math_mboxinset.C:
303         * mathed/math_nestinset.C:
304         * mathed/math_scriptinset.C:
305         * mathed/math_scriptinset.h:
306         * support/types.h:
307
308 2004-03-24  Angus Leeming  <leeming@lyx.org>
309
310         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
311         deal with any child processes that have finished but are waiting to
312         communicate this fact to the rest of LyX.
313
314 2004-03-24  Angus Leeming  <leeming@lyx.org>
315
316         64-bit compile fixes.
317
318         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
319         (c-tor): pass lyx::pos_types rather than ints.
320
321         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
322         lyx::pos_type.
323
324         * text.C (Delete): compile fix.
325         (getPar): ensure that function declaration is the same as that in
326         the header file.
327
328 2004-03-23  Angus Leeming  <leeming@lyx.org>
329
330         * ispell.C (LaunchIspell):
331         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
332         a boost::shred_ptr rather than a std::auto_ptr.
333
334 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lyxfunc.C (getStatus): handle read-only buffers correctly;
337         handle LFUN_FILE_INSERT_*
338
339         * lyxrc.C (setDefaults, getDescription, output, read):
340         * lyxrc.h: remove ps_command
341
342 2004-03-22  Angus Leeming  <leeming@lyx.org>
343
344         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
345         Ensure that error_handler is processed once only and that all data
346         is saved before attempting to output any warning messages.
347
348         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
349
350 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * tabular.C (TeXRow): crash fix (from Kayvan and André)
353
354 2004-03-19  André Pönitz  <poenitz@gmx.net>
355
356         * cursor.[Ch] (reset): take main text inset as argument
357
358         * BufferView: adjust
359         * BufferView_pimpl.C: adjust
360
361         * paragraph.[Ch]: fix completely broken operator=()
362
363 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * LColor.C (getFromLyXName): make sure that the color name is used
366         as lowercase.
367
368 2004-03-17  Angus Leeming  <leeming@lyx.org>
369
370         * lfuns.h:
371         * LyXAction.C (init): remove LFUN_FORKS_KILL.
372
373         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
374         dialog and to kill a forked process.
375
376 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * text2.C (setCursorFromCoordinates): fix font problem
379
380 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
383         bogus "rebuild cursor" code
384
385 2004-03-11  André Pönitz  <poenitz@gmx.net>
386
387         * buffer.[Ch]: use InsetText instead of LyXText as container for
388         the main lyx text.
389
390         * dociterator.[Ch]: drop the BufferView * member which is not needed
391         anymore after the change to buffer.C
392
393         * paragraph_funcs.C:
394         * text.C:
395         * text2.C:
396         * BufferView.[Ch]:
397         * BufferView_pimpl.[Ch]:
398         * cursor.[Ch]:
399         * cursor_slice.[Ch]: adjust
400
401         * text3.C: fix bug in mathDispatch
402
403 2004-03-08  André Pönitz  <poenitz@gmx.net>
404
405         * undo.[Ch]: use 'StableDocumentIterator' as base for
406         the Undo struct.
407
408 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
409
410         * LaTeXFeatures.C:
411         * bufferparams.[Ch]: add jurabib support and param.
412
413         * LaTeX.C: add FIXME/comment.
414
415 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
416
417         * buffer.C: increment file format to 230.
418
419 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * cursor.C (dispatch): avoid infinite loops
422
423 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
424
425         * rowpainter.C (paintSelection): fix x coordinates
426
427 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
428
429         * text.C (rowBreakPoint): fix breaking before displayed insets
430
431 2004-03-01  André Pönitz  <poenitz@gmx.net>
432
433         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
434
435         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
436
437         * Makefile.am:
438         * BufferView.C:
439         * BufferView_pimpl.C:
440         * buffer.C:
441         * lyxfind.C:
442         * lyxfunc.C:
443         * text.C:
444         * text2.C:
445         * text3.C: adjust
446
447 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * lyxtext.h:
450         * text.C:
451         * text2.C:
452         * rowpainter.C:
453         * BufferView_pimpl.C: rename textwidth -> maxwidth,
454         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
455
456 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * Bidi.[Ch] (computeTables): const correctness
459         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
460         fill_hfill, fill_label_hfill and x from Row
461         * lyxtext.h: prepareToPrint returns a RowMetrics
462         * rowPainter.C: adjust
463         * text.C (prepareToPrint): use width, not textWidth. adjust
464         (redoParagraphInternal, cursorX): adjust
465         * text2.C (getColumnNearX): adjust
466         (init): put a default value to the top LyXText::width
467
468 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
469
470         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
471
472 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * lyxtext.h: add FontIterator class
475
476         * text.C (FontIterator, operator*, operator->, operator++): add
477         (rowBreakPoint, setRowWidth): adjust (fixing a
478         rebreaking bug)
479
480 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * BufferView_pimpl.C (workAreaDispatch): allow also
483         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
484
485 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * text.C (rowBreakPoint): fix a bug showing with very large insets
488
489 2004-02-25  André Pönitz  <poenitz@gmx.net>
490
491         * text3.C:
492         * cursor.[Ch]: move some mathed specific code to mathed
493
494 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
497         use_tempdir in preferences
498         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
499         tempfile creation
500         * lyx_main.C: ensure that tempdir is valid
501         * lyxlex.h: correct typo
502         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
503         * paragraph.[Ch] (isMultiLingual): make const
504         * cursor.[Ch] (openable): make const
505
506 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
507
508         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
509
510 2004-02-20  André Pönitz  <poenitz@gmx.net>
511
512         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
513
514         * cursor.[Ch]: prepare for localized getStatus()
515
516         * lyxtext.h:
517         * tabular.C:
518         * text.C:
519         * text2.C:
520         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
521
522 2004-02-20  André Pönitz  <poenitz@gmx.net>
523
524         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
525
526 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * text2.C (setCursorFromCoordinates): switch to absolute coords
529         (cursorUp): adjust
530         (cursorDown): adjust
531         * text3.C (dispatch): adjust
532
533 2004-02-16  André Pönitz  <poenitz@gmx.net>
534
535         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
536           insets/ChangeLog)
537
538         * cursor_slice.[Ch]: remove unneeded acessor function
539
540         * lyxtext.h: rename rtl() to isRTL()
541
542         * rowpainter.C:
543         * tabular.C:
544         * text.C:
545         * text2.C:
546         * text3.C: adjust
547
548 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * rowpainter.C (paintSelection): coord fix
551
552 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
553
554         * Spacing.C: compile fix
555
556 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * cursor.C (dispatch): restore current_ before returning
559
560 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
561
562         * text2.C (cursorUp, cursorDown): fix coords
563         (moveUp): fix crash
564
565 2004-02-12  André Pönitz  <poenitz@gmx.net>
566
567         * lyxtext.h:
568         * text.C:
569         * text2.C:
570         * text3.C: add LCursor & parameter to most cursor movement functions
571           remove usage of LyXText::cursorRow() and cursorPar()
572
573         * cursor.[Ch]: add textRow() needed members
574
575         * BufferView.C:
576         * BufferView_pimpl.C:
577         * paragraph.[Ch]:
578         * BufferView.C:
579         * BufferView_pimpl.C: adjust
580
581 2004-02-11  André Pönitz  <poenitz@gmx.net>
582
583         * lyxfunc.C:
584         * BufferView.[Ch]:
585         * BufferView_pimpl.C: shift undo/redo handling
586
587         * cursor.[Ch]: fix mathed crash
588
589         * lyxfind.C:
590         * lyxtext.h: move selectionAsText to LCursor
591
592         * output_latex.C:
593         * paragraph.C:
594         * text.C:
595         * text2.C:
596         * text3.C: adjust
597
598         * rowpainter.C: fix excessive drawing
599
600 2004-02-06  André Pönitz  <poenitz@gmx.net>
601
602         * BufferView.[Ch]:
603         * BufferView_pimpl.[Ch]:
604         * text3.C: move some text specific LFUN handling
605
606 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * text3.C (checkInsetHit): adjust coords
609         * text2.C (getColumnNearX): adjust coords
610         (edit): adjust coords
611         * text.C (getRowNearY): add two asserts
612
613 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * converter.C:
616         * format.C: add using std::distance to compile on gcc 2.95/stlport
617
618 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
619
620         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
621
622 2004-02-04  André Pönitz  <poenitz@gmx.net>
623
624         * BufferView.[Ch] (insertInset):
625         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
626
627         * text2.C:
628         * text3.C: adjust
629
630 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
631
632         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
633         on the default clause of the switch
634         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
635         wasn't catched by LCursor::dispatch
636
637 2004-02-03  André Pönitz  <poenitz@gmx.net>
638
639         * BufferView.C:
640         * cursor.[Ch]: some additional asserts
641
642         * undo.[Ch]: remove LyXText dependency in interface
643
644         * lyxfunc.C: adjust
645
646         * lyxtext.h (firstPar, lastPar): remove dead functions
647
648         * text.C:
649         * text2.C:
650         * text3.C:
651         * paragraph.[Ch]: adjust
652
653 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
654
655         * lyxfind.C (find): fix argument order in call to ::find
656
657 2004-02-02  André Pönitz  <poenitz@gmx.net>
658
659         * cursor.[Ch]: remove direct access to anchor
660
661         * text.C: remove findText() hack
662
663 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
664
665         * iterators.[Ch] (lockPath): remove in favour of...
666         * BufferView.[Ch] (setCursor): this addition
667         * BufferView.C (putSelectionAt): adjust
668         * undo.C (performUndoOrRedo): adjust
669         * lyxfunc.C (dispatch): adjust
670
671 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
672
673         * iterators.C (lockPath): add a missing slice
674         * undo.C (performUndoOrRedo): remove redundant positioning code
675
676 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
677
678         * vc-backend.C (scanMaster): ";" -> ';'
679
680 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
681
682         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
683         std::binary_function
684
685         * lyxtextclass.C (compare_name): rename to...
686         (LayoutNamesEqual): ...this
687
688         * lyxlex_pimpl.C (compare_tags): inherit from
689         std::binary_function, put back into anon namespace
690
691         * lyxfind.C (MatchString): inherig from std::binary_function
692         (findChange): use empty() istead of !size()
693
694         * format.C (FormatNamesEqual): new functor
695         (getFormat): use it
696         (getNumber): use it
697         (add): use it
698         (erase): use it
699         (setViewer): use it
700
701         * converter.C (compare_Converter): rename to...
702         (ConverterEqual): ...this, and fixup a bit.
703         (getConverter): use it, and make function const
704         (getNumber): use it, and make function const
705         (add): use it
706         (erase): use it:
707
708         * bufferlist.C: add using boost::bind
709
710         * MenuBackend.C (MenuNamesEqual): new functor
711         (hasMenu): use it, and make function const
712         (hasSubmenu): use nested bind to get rid of compare_memfun.
713
714 2004-01-30  André Pönitz  <poenitz@gmx.net>
715
716         * BufferView_pimpl.C:
717         * cursor.C:
718         * cursor.h:
719         * cursor_slice.[Ch]:
720         * lyxfunc.C:
721         * lyxtext.h:
722         * paragraph_funcs.C:
723         * paragraph_funcs.h:
724         * rowpainter.C:
725         * text.C:
726         * text2.C:
727         * text3.C: move some of the edit(x,y) handling to the insets
728         some coordinate changes.
729
730 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * text.C: add using statements for std::advance and std::distance
733
734         * paragraph.C: add using statement for std::distance
735
736         * lyxfind.C: add using statement for std::advance
737
738         * cursor.C (region): remove std:: from swap
739         (openable): use nucleus in stead of operator->
740
741         * BufferView.C: add using statements for std::distance and std::swap
742
743 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
744
745         * iterators.C: Remove the pimple, move the needed structures to
746         the header file. Create accessor for the positions stack.
747         (asPosIterator): remove function
748
749         * PosIterator.C (PosIterator): move constructors to top of file
750         (PosIterator): reimplement the constructor taking a ParIterator in
751         terms of setFrom.
752         (setFrom): new function
753         (operator!=): inline it
754
755 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
756
757         * lyxfind.C (replaceAll): use std::advance
758
759         * iterators.h: inherit from std::iterator.
760
761         * PosIterator.C (advance, distance): remove
762         * PosIterator.h: interit from std::iterator.
763
764 2004-01-26  André Pönitz  <poenitz@gmx.net>
765
766         * BufferView.[Ch]:
767         * BufferView_pimpl.[Ch]:
768         * InsetList.[Ch]:
769         * PosIterator.[Ch]:
770         * buffer.h:
771         * bufferview_funcs.C:
772         * cursor.[Ch]:
773         * cursor_slice.h:
774         * factory.[Ch]:
775         * iterators.[Ch]:
776         * lyxfind.C:
777         * lyxfunc.C:
778         * lyxtext.h:
779         * output_docbook.C:
780         * output_latex.C:
781         * output_linuxdoc.C:
782         * output_plaintext.C:
783         * paragraph.[Ch]:
784         * paragraph_funcs.[Ch]:
785         * paragraph_pimpl.[Ch]:
786         * rowpainter.C:
787         * tabular.C:
788         * tabular.h:
789         * text.C:
790         * text2.C:
791         * text3.C: more IU:  dumps most of the rest of the mathcursor
792     implementation into cursor.[Ch]; "globalize" a bit of it.
793
794 2004-01-25  Angus Leeming  <leeming@lyx.org>
795
796         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
797
798 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
799
800         * LaTeXFeatures.h: add nice_ and nice() const
801         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
802
803 2004-01-20  André Pönitz  <poenitz@gmx.net>
804
805         * BufferView.[Ch]:
806         * BufferView_pimpl.C:
807         * PosIterator.C:
808         * bufferview_funcs.C:
809         * cursor.[Ch]:
810         * cursor_slice.[Ch]:
811         * factory.C:
812         * iterators.C:
813         * lyx_cb.C:
814         * lyxfind.C:
815         * lyxfunc.C:
816         * lyxtext.h:
817         * rowpainter.C:
818         * text.C:
819         * text2.C:
820         * text3.C:
821         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
822           LCursor and mathcursor parts to LCursor and InsetBase.
823
824 2004-01-15  André Pönitz  <poenitz@gmx.net>
825
826         * cursor_slice.[Ch]: add a few covienience functions
827
828         * funcrequest.[Ch]: remove BufferView * member
829
830         * BufferView_pimpl.C:
831         * cursor.C:
832         * factory.[Ch]:
833         * lyxfind.[Ch]:
834         * lyxfunc.C:
835         * lyxtext.h:
836         * text3.C:
837         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
838
839 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
840
841         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
842         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
843
844 2004-01-13  André Pönitz  <poenitz@gmx.net>
845
846         * textcursor.[Ch]:
847         * lyxtext.h: hide cursor and selection anchor behind accessor function
848
849         * BufferView.C:
850         * BufferView_pimpl.[Ch]:
851         * PosIterator.C:
852         * bufferview_funcs.C:
853         * cursor.h:
854         * lyxfind.C:
855         * lyxfunc.C:
856         * text.C:
857         * text2.C:
858         * text3.C:
859         * undo.C: adjust
860
861         * cursor.h:
862         * cursor_slice.[Ch]: some integer type changes for inset unification
863
864         * lyxcursor.[hC]: remove, it's CursorSlice now.
865
866         * Makefile.am:
867         * BufferView_pimpl.[Ch]:
868         * bufferview_funcs.C:
869         * cursor_slice.C:
870         * lyxtext.h:
871         * text.C:
872         * text2.C:
873         * text3.C:
874         * textcursor.[Ch]: adjust
875
876 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
877
878         * text2.C (undoSpan): add and use
879         * text.C (breakParagraph): use undoSpan (fix bug 578)
880         * lyxtext.h: adjust
881
882 2004-01-08  Angus Leeming  <leeming@lyx.org>
883
884         * BufferView_pimpl.C (MenuInsertLyXFile):
885         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
886         * lyxfunc.C (menuNew, open, doImport):
887         FileFilterList change to the FileDialog open and save functions.
888
889 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * ShareContainer.h: make isEqual and isUnique adaptable
892
893         * CutAndPaste.C: make resetOwnerAndChanges adaptable
894
895 2004-01-07  Angus Leeming  <leeming@lyx.org>
896
897         * LyXAction.C:
898         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
899
900         * BufferView_pimpl.C (dispatch): act on these LFUNs.
901
902         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
903         functions replacing find, replace and replaceAll.
904
905         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
906         LFUN_WORDFIND(FORWARD|BACKWARD).
907
908 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
909
910         * text.C (breakParagraph): remove an outdated #warning
911
912 2004-01-07  André Pönitz  <poenitz@gmx.net>
913
914         * lyxfind.C: somewhat clearer logic
915
916         * text.C: prevent crash in cursorX on unitialized row cache
917
918 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
919
920         * lyxcursor.[Ch] (operator>): add
921         * textcursor.C (selStart, selEnd): use std::min and std::max
922
923 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
924
925         * Chktex.C: include boost/format.hpp
926
927 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
928
929         * InsetList.C: replace functor MathcIt with adaptable functor
930         InsetTablePosLess
931         (insetIterator): modify accordingly
932
933         * BranchList.h: move the BranchNamesEqual functor here from...
934         * BranchList.C: ... to here
935
936         * BranchList.C: new BranchListEqual fuctor, use it. Remove
937         SameName and match.
938         (add): replace a finding loop with std::find_if.
939
940 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
941
942         * output_docbook.C: moving LatexParam functionality into
943         .layout files
944
945 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
946
947         * buffer.C: increment format to 229.
948
949 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
950
951         * LaTeXFeatures.C:
952         * lyx_sty.[Ch]: remove minipageindent_def
953
954         * LyXAction.C:
955         * factory.C:
956         * lfuns.h:
957         * lyxfunc.C:
958         * text3.C: remove LFUN_INSET_MINIPAGE
959
960 2003-12-28  Angus Leeming  <leeming@lyx.org>
961
962         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
963
964 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * text2.C (setParagraph): fix off-by-one crash
967
968 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
969
970         * output_docbook.C: header stuff for AGU
971
972 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
973
974         * text2.C (redoCursor): remove
975         * text.C:
976         * text3.C:
977         * BufferView_pimpl.C: remove calls to redoCursor and
978         setCursor(cursor.par(), cursor.pos()) all around
979
980 2003-12-15  Angus Leeming  <leeming@lyx.org>
981
982         * buffer.C: up the format to 228.
983
984 2003-12-15  André Pönitz  <poenitz@gmx.net>
985
986         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
987         slices
988
989         * Makefile.am:
990
991         * BufferView_pimpl.C:
992         * cursor.[Ch]:
993         * lyxcursor.[Ch]:
994         * rowpainter.[Ch]:
995         * lyxtext.h:
996         * text.C:
997         * text2.C:
998         * text3.C: adjust
999
1000 2003-12-15  Angus Leeming  <leeming@lyx.org>
1001
1002         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1003         than getFromGUIName to manipulate the color.
1004
1005 2003-12-14  Angus Leeming  <leeming@lyx.org>
1006
1007         * BranchList.[Ch]: minimize the API.
1008         (Branch::getBranch, getColor): now return a 'const &'.
1009         (Branch::setSelected) now returns a bool set to true if the
1010         selection status changes.
1011         (BranchList::clear, size, getColor, setColor, setSelected,
1012         allBranches, allSelected, separator): removed.
1013         (BranchList::find): new functions, returning the Branch with
1014         the given name.
1015         (BranchList::add, remove): return a bool indicating that
1016         the operation was successful.
1017
1018         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1019         new InsetBranch::isBranchSlected member function.
1020
1021         * LColor.[Ch]: mimimize the API.
1022         (fill): renamed as addColor and made private.
1023         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1024         versions of these functions taking a string arg have been removed.
1025
1026         * bufferparams.C (readToken):
1027         * lyxfunc.C (dispatch):
1028         * lyxrc.C (read): changes due to the altered BranchList and
1029         LColor APIs.
1030
1031         * factory.C (createInset, readInset): changes due to altered
1032         InsetBranch c-tor.
1033
1034 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * factory.C:
1037         * lyxfunc.C: remove insetminipage. "minipage-insert"
1038         now produces a frameless minipage box inset.
1039
1040 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * textcursor.[Ch] (selStart,selEnd): add new methods
1043         remove selection::start, end, use LyXCursor::operator<
1044         * lyxcursor.[Ch] (operator<): add
1045         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1046         * BufferView.[Ch] (unsetXSel): add
1047         * text2.C (clearSelection): use unsetXSel,adjust
1048         * text.C: adjust
1049         * text3.C: adjust
1050         * rowpainter.C: adjust
1051         * bufferview_funcs.C (put_selection_at): adjust
1052
1053 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1054
1055         * BufferView_pimpl.C: small coord. correction
1056
1057 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1060         dragging over the splash screen.
1061
1062 2003-12-11  Angus Leeming  <leeming@lyx.org>
1063
1064         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1065         as it is now handled in LyXText::dispatch.
1066
1067         * text3.C (doInsertInset): remove a level of nesting.
1068
1069 2003-12-11  Angus Leeming  <leeming@lyx.org>
1070
1071         * factory.C (createInset): changes due to the changed interface to
1072         InsetCommandMailer::string2params.
1073
1074 2003-12-10  Angus Leeming  <leeming@lyx.org>
1075
1076         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1077         'dialog-show-new-inset <inset name>'
1078
1079 2003-12-10  Angus Leeming  <leeming@lyx.org>
1080
1081         * buffer.C: up the format to 227.
1082
1083         * factory.C: the box inset is now identified simply by 'Box'.
1084
1085 2003-12-10  Angus Leeming  <leeming@lyx.org>
1086
1087         * buffer.C: up the format to 226.
1088
1089         * factory.C: the note inset is now identified simply by 'Note'.
1090
1091 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1092
1093         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1094         when a pit is enough. Standarize a couple of loops.
1095
1096 2003-12-05  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1099         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1100         data to the re-worked "log" dialog.
1101
1102 2003-12-03  André Pönitz  <poenitz@gmx.net>
1103
1104         * PosIterator.C:
1105         * iterators.C:
1106         * lyxtext.h:
1107         * output_latex.C:
1108         * paragraph_funcs.C:
1109         * text.C:
1110         * text2.C: use Inset::getText instead of Inset::getParagraph
1111
1112 2003-12-03  André Pönitz  <poenitz@gmx.net>
1113
1114         * buffer.[Ch]:
1115         * lyxtext.h:
1116         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1117         InsetText::read() as LyXText::read()
1118
1119 2003-12-02  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1122         type. Add a comment in the implementation that the function uses
1123         the stream's bad() function rather than fail() as the std::streams
1124         would do.
1125
1126 2003-12-02  André Pönitz  <poenitz@gmx.net>
1127
1128         * lyxlex.[Ch]: make interface more similar to std::stream
1129
1130         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1131
1132 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1133
1134         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1135
1136 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1137
1138         * vspace.[Ch]: remove VSpace::NONE
1139
1140 2003-12-01  André Pönitz  <poenitz@gmx.net>
1141
1142         * buffer.[Ch]:
1143         * lyxtext.h: move ParagraphList member to LyXText
1144         rename LyXText::ownerParagraphs to LyXText::paragraph
1145
1146         * CutAndPaste.C:
1147         * bufferview_funcs.C:
1148         * iterators.[Ch]:
1149         * lyx_cb.C:
1150         * paragraph.C:
1151         * rowpainter.C:
1152         * tabular.C:
1153         * text.C:
1154         * text2.C:
1155         * text3.C: adjust
1156
1157         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1158
1159         * undo.C: fix cursor positioning
1160
1161 2003-12-01  John Levon  <levon@movementarian.org>
1162
1163         * BufferView_pimpl.C: fix a crash on exit with
1164         a buffer open
1165
1166 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * BranchList.C: fix setSelected() method.
1169
1170 2003-11-28  André Pönitz  <poenitz@gmx.net>
1171
1172         * ParagraphParameters.[Ch]:
1173         * ParameterStruct.h: remove space above/below from Paragraph to
1174          InsetVSpace
1175
1176         * BufferView_pimpl.C:
1177         * factory.C:
1178         * lyxfunc.C:
1179         * lyxtext.h:
1180         * output_latex.C:
1181         * paragraph.C:
1182         * paragraph_funcs.C:
1183         * rowpainter.[Ch]:
1184         * text.C:
1185         * text2.C:
1186         * text3.C: adjust
1187
1188 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * factory.C: Syntax change for CharStyles
1191
1192 2003-11-28  André Pönitz  <poenitz@gmx.net>
1193
1194         * BufferView.[Ch]:
1195         * BufferView.[Ch]:
1196         * buffer.[Ch]:
1197         * buffer.[Ch]: move LyXText member
1198
1199 2003-11-28  André Pönitz  <poenitz@gmx.net>
1200
1201         * BufferView.[Ch]: make LyXText * text a private member
1202
1203         * BufferView_pimpl.C:
1204         * cursor.C:
1205         * iterators.C:
1206         * lyx_cb.C:
1207         * lyxfind.C:
1208         * lyxtext.h:
1209         * rowpainter.[Ch]:
1210         * text.C:
1211         * text2.C:
1212         * undo.C: adjust
1213
1214         * output_plaintext.C: cleanup
1215
1216 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * buffer.C:
1219         * lyxtextclass.[Ch]: parametrize SGML document header
1220
1221 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1222
1223         * converter.[Ch]:
1224         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1225         getFlavor().
1226
1227 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * text2.C (setFont): rework using PosIterator (no more recursive)
1230         (setCharFont): no more needed
1231         (setLayout): no more selection cursors fiddling (done by redoCursor)
1232         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1233         destroy remaining ones)
1234
1235 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1236
1237         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1238         * lyxtext.h: ditto
1239         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1240         selection cursors
1241         * lyxfunc.C: adjust
1242         * text3.C: adjust + re-allow multi par depth changes
1243         * textcursor.C: simplify a bit
1244
1245 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1246
1247         * src/buffer.C:
1248         * src/lyxlayout.C:
1249         * src/lyxlayout.h:
1250         * src/lyxtext.h:
1251         * src/output_docbook.C:
1252         * src/output_latex.C:
1253         * src/paragraph.C:
1254         * src/paragraph.h:
1255         * src/sgml.C:
1256         * src/sgml.h:
1257         * src/text2.C: Introducing a number of tags parametrizing various
1258         XML formats that we may want to support
1259
1260 2003-11-25  André Pönitz  <poenitz@gmx.net>
1261
1262         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1263
1264         * lyxtext.h (leftMargin/rightMargin): simplify interface
1265
1266         * rowpainter.C:
1267         * text.C:
1268         * text2.C:
1269         * text3.C: adjust
1270
1271 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1272
1273         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1274         master file to any child files. Fixes bug 546.
1275
1276 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1279
1280 2003-11-24  André Pönitz  <poenitz@gmx.net>
1281
1282         * rowpainter.C: simplification
1283
1284         * text2.C (updateCounters): remove call to redoParagraph on
1285         changed labels as this is far too expensive.
1286
1287 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1288
1289         * converter.C (convert): fix a crash: this function gets
1290         called with buffer == 0 from importer code.
1291
1292 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1293
1294         * text3.C (cursorPrevious): make sure that we do not compare
1295         iterators form different containers.
1296         (cursorNext): ditto
1297
1298         * rowpainter.C (paintSelection): make sure that we do not compare
1299         iterators from different containers.
1300
1301         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1302         iterators from different ParagraphList containers.
1303         [NEXT] ditto
1304
1305         * text2.C (LyXText): change order of initialization slightly
1306         (operator=): new function. copy all variables except cache_par_
1307         (moveUp): make sure that we do not compare iterators from
1308         different ParagraphList constainers.
1309         (moveDown): ditto
1310
1311         * text.C (firstPar): new function
1312         (lastPar): new function
1313         (endPar): new function
1314
1315         * lyxtext.h: move things around and group public functions, public
1316         variables, private functions, private variables
1317
1318 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1319
1320         * factory.C: change call to InsetERT constructor to avoid
1321         additional invocation of method status
1322         * text2.C (toggleInset): remove redundant update() call
1323         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1324         instead of a Bufferview pointer
1325
1326 2003-11-21  André Pönitz  <poenitz@gmx.net>
1327
1328         * rowpainter.C: simplification
1329
1330 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * text3.C (dispatch): make possible to extend a word/row selection
1333         with the mouse
1334
1335 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * lyxtext.h: x0_,y0_ -> xo_,yo_
1338         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1339         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1340         * rowpainter.C (paintRows): paint full paragraphs
1341
1342 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1343
1344         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1345         screen coordinates)
1346
1347 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1348
1349         * lyxtext.h: add x0_, y0_
1350         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1351         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1352
1353 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * text2.C (setCursorIntern): move the x_target update here *
1356         * text3.C: change some bv() to true/false in calls to
1357         cursorUp/Down/Right/Left
1358         * cursor.C: use helper function.
1359
1360 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1363         * paragraph_funcs.[Ch]: correct comment
1364         * rowpainter.C: do not paint selections away from bv->cursor()
1365         Fix a long standing selection painting bug.
1366         * text3.C: generalize mouse-selection code to LyXTexts other that
1367         top one
1368         * textcursor.C: do not use y coords if we can use par offsets
1369
1370 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1373         cursor position after e.g. inset insert)
1374
1375 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * lyxfind.C (replace): adjust to locking removal + some
1378         code simplification
1379
1380 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1383         of the path
1384
1385 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1386
1387         * lyxlayout.[Ch]:
1388         * output_docbook.C: XML sanitation: new layout
1389         parameters InnerTag and CommandDepth
1390
1391 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1392
1393         * BufferView_pimpl.C:
1394         * factory.C:
1395         * text3.C: Fix the insertion and modification of button-style
1396         insets
1397
1398 2003-11-13  André Pönitz  <poenitz@gmx.net>
1399
1400         * InsetList.[Ch]: remove deleteLyXText
1401
1402         * paragraph.[Ch]: cache beginOfBody position
1403
1404         * Bidi.C:
1405         * text.C:
1406         * text2.C:
1407         * text3.C: remove superfluous update() calls
1408
1409         * vspace.C: cleanup
1410
1411 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1414         * BufferView.C (fitLockedInsetCursor): remove
1415         * cursor.[Ch] (getDim): add
1416         * text.C (getRowNearY): add faster version
1417         * text3.C: remove some update calls
1418
1419 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * LaTeXFeatures.C:
1422         * LyXAction.C:
1423         * MenuBackend.C:
1424         * MenuBackend.h:
1425         * dispatchresult.h:
1426         * factory.C:
1427         * lfuns.h:
1428         * lyxfunc.C:
1429         * lyxtextclass.C:
1430         * lyxtextclass.h:
1431         * text3.C: The Character Style /XML short element patch.
1432
1433 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * text3.C:
1436         * factory.C: Small step to solving 'unable to insert some insets'
1437         problem
1438
1439 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1440
1441         * cursor.[Ch] (updatePos): new function for updating the y
1442         position of the tip inset
1443         * bufferview_funcs.C (put_selection_at):
1444         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1445
1446 2003-11-11  André Pönitz  <poenitz@gmx.net>
1447
1448         * text.C: remove big comment on invalid Paragraph pointers as it is
1449         not valid anymore
1450
1451 2003-11-11  André Pönitz  <poenitz@gmx.net>
1452
1453         * text_funcs.[Ch]: merge with ...
1454
1455         * text.C: ... this
1456
1457         * lyxtext.h:
1458         * text2.C:
1459         * text3.C: adjust
1460
1461         * Makefile.am: remove text_funcs.[Ch]
1462
1463 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * cursor.C (getPos): return absolute cached y coord
1466
1467         * BufferView_pimpl.C (fitCursor): new simplistic code
1468         (workAreaDispatch): add a fitCursor call
1469
1470 2003-11-10  André Pönitz  <poenitz@gmx.net>
1471
1472         * BufferView.[Ch]:
1473         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1474
1475 2003-11-10  André Pönitz  <poenitz@gmx.net>
1476
1477         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1478         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1479         indicate that the cursor needs to leave an inset
1480
1481         * lyxtext.h: remove inset locking
1482
1483         * cursor.[Ch]: re-implement functionality provided by inset locking
1484
1485         * BufferView.[Ch]:
1486         * BufferView_pimpl.[Ch]:
1487         * LyXAction.C:
1488         * bufferview_funcs.[Ch]:
1489         * factory.C:
1490         * funcrequest.[Ch]:
1491         * iterators.C:
1492         * lyx_cb.C:
1493         * lyxfind.C:
1494         * lyxfunc.C:
1495         * text.C:
1496         * text2.C:
1497         * text3.C:
1498         * undo.C: adjust
1499
1500 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * PosIterator.[Ch]: replace the stack with a vector, add inset
1503         accesor
1504         * iterators.[C]: adjust
1505
1506 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1507
1508         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1509         replaced
1510         * paragraph_funcs.C (readParToken): put the correct id in the
1511         error item, not the id of the top paragraph
1512
1513 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1516         * bufferview_funcs.C (put_selection_at): use the above
1517
1518 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1519
1520         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1521
1522 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * output_linuxdoc.h:
1525         * output_plaintext.h:
1526         * output.h:
1527         * output_docbook.h: add #include statements
1528
1529 2003-11-05  José Matos  <jamatos@lyx.org>
1530
1531         * output_docbook.[Ch]:
1532         * output_latex.[Ch]:
1533         * output_linuxdoc.[Ch]:
1534         * output_plaintext.[Ch]: New files for output formats.
1535         * output.[Ch]: New file for helper functions.
1536
1537         * buffer.[Ch]:
1538         * paragraph_funcs.[Ch]: output functions moved to new files.
1539
1540         * outputparams.h: rename of latexrunparams.h
1541
1542         * LaTeX.[Ch]:
1543         * buffer.[Ch]:
1544         * bufferlist.[Ch]:
1545         * converter.[Ch]:
1546         * exporter.C:
1547         * paragraph.[Ch]:
1548         * paragraph_funcs.[Ch]:
1549         * paragraph_pimpl.[Ch]:
1550         * tabular.[Ch]: rename ascii to plaintext
1551         and LatexRunParams to OutputParams.
1552
1553 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * iterators.[Ch] (text): require bv argument
1556         * undo.C (recordUndo):
1557         * lyxfunc.C (dispatch):
1558         * bufferview_funcs.C (put_selection_at): adjust
1559
1560 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1561
1562         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1563
1564 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1565
1566         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1567         nestings
1568
1569 2003-11-04  André Pönitz  <poenitz@gmx.net>
1570
1571         * cursor.[Ch]: restructure
1572
1573         * BufferView.[Ch]:
1574         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1575
1576         * iterators.[Ch] (asCursor): remove
1577
1578         * lfuns.h: remove LFUN_INSET_EDIT
1579
1580         * lyxfunc.C:
1581         * tabular.C:
1582         * text.C:
1583         * text2.C:
1584         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1585
1586 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1587
1588         * lyxfind.[Ch]: complete overhaul
1589         * BufferView_pimpl.C:
1590         * lyxfunc.C: adjust
1591         * paragraph.[Ch] (insert): add
1592
1593 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1594
1595         * BufferView.[Ch]:
1596         * lyxtext.h:
1597         * text.C: remove dead spellcheck code
1598
1599 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1600
1601         * dispatchresult.h: add a val setter
1602
1603         * cursor.C (dispatch): use a tempvar for data_[i]
1604
1605 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1606
1607         * PosIterator.[Ch]: compile fix
1608
1609 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * text.C (cursorPar): deactivate the cursor cache
1612
1613 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1616
1617 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * text3.C (dispatch): adjust for new DisptchResult semantics.
1620
1621         * lyxfunc.C (dispatch): handle update when return from
1622         Cursor::dispatch, adjust for new DispatchResult semantics.
1623
1624         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1625         DispatchResult(true) mean to not update. Add class functions for
1626         setting dispatched and update, as well as reading.
1627
1628         * cursor.C (dispatch): don't handle update here
1629
1630 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1633         * trans_mgr.C: adjust
1634
1635         * paragraph_funcs.C (readParToken): exception safety
1636
1637         * lyxvc.h: store the vcs pointer in a scoped_ptr
1638         * lyxvc.C: adjust
1639
1640         * lyxsocket.C (serverCallback): exception safety
1641
1642         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1643
1644         * ispell.C (clone): make it return a auto_ptr
1645
1646         * factory.C (createInset): exception safety
1647         (readInset): exception safety
1648
1649         * bufferlist.C (newBuffer): exception safety
1650
1651         * Thesaurus.C (Thesaurus): use initialization for aik_
1652
1653         * MenuBackend.C (expandToc): exception safety.
1654
1655 2003-11-03  André Pönitz  <poenitz@gmx.net>
1656
1657         * buffer.C:
1658         * buffer.h:
1659         * bufferview_funcs.C: remove getInsetFromId()
1660
1661         * lyxcursor.[Ch]:
1662         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1663
1664         * lyxfunc.C:
1665         * text2.C:
1666         * text3.C: adjust
1667
1668 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1669
1670         * PosIterator.C (distance, advance): new
1671         * bufferview_funcs.[Ch] (put_selection_at): new
1672         * iterators.[Ch] (lockPath): new
1673
1674 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1675
1676         * iterators.[Ch] (asPosIterator): added
1677         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1678         * PosIterator.[Ch]: added
1679
1680 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * text3.C:
1683         * lyxfunc.C:
1684         * cursor.C (dispatch):
1685         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1686
1687         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1688         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1689         contructor, add a class function dispatched. Remove operator>=
1690
1691 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * debug.C: only use the default constructor for debugstream
1694         (lyxerr) here.
1695
1696         * main.C (main): include debug.h and setup the lyxerr streambuf
1697         here.
1698
1699 2003-10-31  José Matos  <jamatos@lyx.org>
1700
1701         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1702
1703         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1704         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1705         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1706         * paragraph_pimpl.C (simpleTeXSpecialC):
1707         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1708         add LatexRunParams argument.
1709
1710         * exporter.C (Export): change call accordingly.
1711
1712         * latexrunparams.h: add new member to take care of the other backends.
1713 2003-10-30  José Matos  <jamatos@lyx.org>
1714
1715         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1716         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1717         factorise code for paragraph output.
1718         * buffer.[Ch]:
1719         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1720         move functions.
1721
1722 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * text3.C (dispatch):
1725         * lyxfunc.C (dispatch):
1726         * cursor.C (dispatch):
1727         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1728
1729         * dispatchresult.h: make the dispatch_result_t ctor explicit
1730
1731 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1732
1733         * sgml.[Ch]:
1734         * buffer.C: small refactoring of docbook stuff
1735
1736 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1737
1738         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1739         meaning.
1740
1741 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1744         operator dispatch_result_t, and operators for == != and >=
1745
1746         * cursor.C (dispatch): adjust for operator dispatch_result_t
1747         removal. comment out call to update
1748
1749         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1750
1751 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * text3.C:
1754         * text2.C:
1755         * text.C:
1756         * lyxtext.h:
1757         * lyxfunc.C:
1758         * cursor.C:
1759         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1760         (dispatch):
1761
1762         * dispatchresult.h: new file, DispatchResult broken out of
1763         insets/insetbase.h
1764
1765         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1766
1767 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1768
1769         * text.C (rowBreakPoint): put a hack inside #if 0
1770
1771 2003-10-28  André Pönitz  <poenitz@gmx.net>
1772
1773         * lyxtext.h:
1774         * metricsinfo.C:
1775         * paragraph_funcs.C:
1776         * rowpainter.C:
1777         * text.C:
1778         * text2.C: general cleanup (lots of small stuff)
1779
1780 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1781
1782         * text2.C (cursorEnd): simple fix to the "end key goes to one
1783         before the end on last row" bug
1784
1785 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1786
1787         * text.C (backspace): fix the "zombie characters"
1788
1789 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1790
1791         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1792
1793 2003-10-27  André Pönitz  <poenitz@gmx.net>
1794
1795         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1796
1797         * factory.C: handle new InsetPagebreak, InsetLine
1798
1799         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1800         and move handling into new InsetPagebreak, InsetLine
1801
1802         * BufferView_pimpl.C:
1803         * LyXAction.C:
1804         * ParagraphParameters.C:
1805         * ParameterStruct.h:
1806         * lyxfunc.C:
1807         * lyxtext.h:
1808         * paragraph.C:
1809         * paragraph.h:
1810         * paragraph_funcs.C:
1811         * paragraph_pimpl.C:
1812         * rowpainter.C:
1813         * text.C:
1814         * text2.C:
1815         * text3.C: adjust
1816
1817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1818
1819         * text.C:
1820         * lyxrow_funcs.[Ch]:
1821         * Bidi.C:
1822         * paragraph.C:
1823         * lyxtext.h:
1824         * rowpainter.C:
1825         * text2.C:
1826         * text3.C: remove lastPos uses in favour of Row::endpos
1827
1828 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * undo.C (performUndoOrRedo): fix two crashes by setting a
1831         cursor by hand and reordering some calls. Use bv->lockInset instead
1832         of inset->edit because the latter loses cursor information
1833
1834 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1835
1836         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1837         by Martin
1838         (rowBreakPoint): fix width. change point to point + 1.
1839         Add a missing check.
1840
1841 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1842
1843         * MenuBackend.C:
1844         * lyxfunc.C: fix (at least partly) the problems
1845         with the Nav menu and headers inside branch insets
1846         reported by Kayvan
1847
1848 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1849
1850         * paragraph.C (getChar): add strong asserts
1851
1852         * lyxrow_funcs.C (lastPos): remove hideous hack
1853
1854         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1855         (fill): adjust to that (avoid an infinite loop)
1856
1857 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1860
1861 2003-10-23  André Pönitz  <poenitz@gmx.net>
1862
1863         * RowList_fwd.h: change list<> to vector<> to gain speed
1864         after suggestion from Alfredo
1865
1866 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1867
1868         * lyxtext.h: move the bidi stuff from here...
1869         * text.C: and here
1870         * text2.C: and here
1871         * Bidi.[Ch]: ... to here
1872
1873 2003-10-23  André Pönitz  <poenitz@gmx.net>
1874
1875         * lyxtext.h:
1876         * text.C (isLastRow, isFirstRow): new functions
1877
1878         * paragraph.h: new width cache member
1879
1880         * rowpainter.C: replace RowList::iterator with Row & where possible
1881
1882         * lyxfunc.C: replace several view()->text with a single call
1883
1884         * toc.C: fix 'unused' warning
1885
1886 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1887
1888         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1889         when woring with stream::pos_type
1890         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1891
1892 2003-10-22  André Pönitz  <poenitz@gmx.net>
1893
1894         * lyxtext.h:
1895         * text.C: use Row & instead of RowList::iterator
1896
1897         * lyxrow.h: rename end() to endpos()
1898
1899         * rowpainter.C:
1900         * text.C:
1901         * text2.C: adjust
1902
1903 2003-10-22  Angus Leeming  <leeming@lyx.org>
1904
1905         * buffer.[Ch] (fully_loaded): new member function, returning true
1906         only when the file has been loaded fully.
1907         Used to prevent the premature generation of previews and by the
1908         citation inset to prevent computation of the natbib-style label.
1909
1910         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1911         templates are all set up.
1912
1913         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1914
1915 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1916
1917         * text.C: fixed an "oops" in the "is a bit silly"
1918         bug fix
1919
1920 2003-10-21  André Pönitz  <poenitz@gmx.net>
1921
1922         * FuncStatus.[Ch]: small stuff, whitespace
1923
1924         * lyxfont.[Ch]: operator<<() for debug reasons
1925
1926         * lyxfunc.C:
1927         * lyxrow_funcs.C:
1928         * lyxtext.h: whitespace, spelling
1929
1930         * paragraph.C: naming of variables
1931
1932         * text.C:
1933         * text2.C: small stuff
1934
1935
1936 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * text.C: (1) finish off the inset display() work;
1939         (2) fix the "is a bit silly" bug (accessing char
1940         past end of par).
1941
1942 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1943
1944         * text.C: re-introduce display() for insets, fixing the
1945         various bugs (stretch of line above, math inset
1946         positioning, ...)
1947
1948 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * text.C (rightMargin): remove spurious semicolon
1951
1952         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1953         1415)
1954
1955 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1956
1957         * text3.C: fix one crash due to wrong cursor def
1958
1959 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1960
1961         * vc-backend.C (scanMaster): make the regex static
1962
1963         * LaTeX.C (scanAuxFile): make the regexs static
1964
1965         * text3.C (doInsertInset, dispatch, dispatch):
1966         * text2.C (cursorUp, cursorDown):
1967         * text.C (selectNextWordToSpellcheck):
1968         * BufferView_pimpl.C (dispatch):
1969         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1970
1971 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * lyxsocket.C: include <cerrno>
1974
1975 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1976
1977         * lyxfunc.C (dispatch): remove textcache stuff
1978
1979         * bufferlist.C (release): remove textcache stuff
1980         (closeAll): ditto
1981
1982         * TextCache.C: delete file
1983         * TextCache.h: delete file
1984
1985         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1986
1987         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1988         delete of the bv_->text.
1989         (resizeCurrentBuffer): remove texcache stuff
1990         (workAreaResize): ditto
1991
1992 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1995         action.
1996
1997 2003-10-16  André Pönitz  <poenitz@gmx.net>
1998
1999         * lyxrow.[Ch]:
2000         * paragraph.h:
2001         * rowpainter.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C: speed up by storing y positions per paragraph plus per-row
2005         offset instead of having a 'full' y position in the row.
2006
2007 2003-10-15  André Pönitz  <poenitz@gmx.net>
2008
2009         * iterators.[Ch]:
2010         * iterators.[Ch]:
2011         * undo.[Ch]: make undo aware of inner insets
2012
2013 2003-10-14  Angus Leeming  <leeming@lyx.org>
2014
2015         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2016         static member functions LyX::ref() and LyX::cref.
2017         (lastfiles): new accessor functions for the new lastfiles_ member var.
2018         (addLyXView, views_): add a new LyXView to the list of views_.
2019         (updateInset): loop over all LyXViews to call their own updateInset
2020         member function, returning a pointer to the Buffer owning the inset.
2021
2022         * BufferView_pimpl.C (loadLyXFile):
2023         * MenuBackend.C (expandLastfiles):
2024         * bufferlist.C (MenuWrite, QuitLyX):
2025         lastfiles is no longer a global variable.
2026         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2027
2028         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2029         static function. Access through LyX::cref().emergencyCleanup().
2030
2031 2003-10-14  André Pönitz  <poenitz@gmx.net>
2032
2033         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2034
2035         * undo.[Ch]: restoring part of 'undo in insets'
2036
2037         * Makefile.am:
2038         * undo_funcs.[Ch]: merge with undo.[Ch]
2039
2040         * tabular.C: small cleansing stuff
2041
2042 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2043
2044         * paragraph_funcs.C (readParToken): report unknown insets as error
2045         boxes. Use the outer paragraph as location (also for unknown
2046         tokens).
2047
2048         * factory.C (readInset): do not abort on reading an unknown inset.
2049         Eat it and return 0.
2050
2051 2003-10-13  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2054
2055         * lyxrc.C: displayTranslator is now a function,
2056         declared in GraphicsTypes.h.
2057
2058 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2059
2060         * format.C: new placeholder $$a to pass the socket address.
2061
2062         * bufferlist.[Ch]: new function getBufferFromTmp.
2063
2064         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2065           files in the temporary dir.
2066
2067 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2068
2069         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2070
2071         * Makefile.am: add lyxsocket.[Ch].
2072
2073         * lyx_main.C (error_handler): handle SIGPIPE.
2074
2075 2003-10-13  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView_pimpl.C:
2078         * lyxtext.h:
2079         * text.C:
2080         * text2.C:
2081         * text3.C:
2082         * undo_funcs.[Ch]: use paroffset_type instead of
2083           ParagraphList::iterators to prevent multiple conversion
2084           (and get a more robust interface)
2085
2086 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2089         * lyxtext.h: ditto
2090         * text3.C (dispatch): ditto
2091
2092 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2093
2094         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2095         move the onlyfile, use onlyfile instead of foundfile in a couple
2096         of places.
2097
2098         * DepTable.C (update): flush the error stream a bit more
2099
2100 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2101
2102         * lyxserver.C (callback): adjust
2103
2104         * lyxfunc.C (getStatus): add a missing brace in commented code
2105         (ensureBufferClean): reindent
2106         (dispatch): delete version taking a string
2107
2108 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * LaTeX.C (deplog): move found file handlig from here...
2111         (handleFoundFile): .. to new function here.
2112         (deplog): make sure to discover several files mentioned on the
2113         same log line.
2114
2115 2003-10-10  André Pönitz  <poenitz@gmx.net>
2116
2117         * lyxfunc.C:
2118         * lyxtext.h:
2119         * tabular.C:
2120         * text.C:
2121         * text2.C:
2122         * text3.C: fix some of the tabular crashes
2123
2124 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2125
2126         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2127
2128         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2129
2130 2003-10-09  André Pönitz  <poenitz@gmx.net>
2131
2132         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2133
2134         * BufferView.C:
2135         * BufferView_pimpl.C:
2136         * bufferview_funcs.C:
2137         * lyx_cb.C:
2138         * lyxcursor.C:
2139         * lyxfind.C:
2140         * lyxfunc.C:
2141         * lyxtext.h:
2142         * text.C:
2143         * text2.C:
2144         * text3.C:
2145         * text_funcs.[Ch]:
2146         * textcursor.[Ch]:
2147         * undo_funcs.C: adjust
2148
2149 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2150
2151         * text2.C (incrementItemDepth): new function, use a backtracking
2152         algorithm to discover the correct item depth.
2153         (resetEnumCounterIfNeeded): new function, use a backtracking
2154         algorithm to discover if counter reset is needed.
2155         (setCounter): use them. Simplify a bit. Add different labels for
2156         different item depths for itemize.
2157
2158         * paragraph.C (Paragraph): remove initialization of enumdepth
2159         (operator=): ditto
2160
2161         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2162         enumerate and itemize. Change the type of itemdepth to signed char.
2163
2164 2003-10-08  André Pönitz  <poenitz@gmx.net>
2165
2166         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2167           thing assignable.
2168         * text.C:
2169         * text2.C: adjust
2170
2171         * tabular.[Ch]: fix crash after 'row-insert'
2172
2173 2003-10-08  Angus Leeming  <leeming@lyx.org>
2174
2175         Fix doxygen warnings.
2176
2177         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2178         Remove CutAndPaste:: prefix from header file declaration.
2179
2180         * LColor.h (fill): remove LColor:: prefix from declaration.
2181
2182         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2183         use lyx::depth_type rather than Paragraph::depth_type so that
2184         header file and .C file match.
2185
2186         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2187
2188         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2189         * aspell.C: \file aspell_local.C -> \file aspell.C
2190         * gettext.C: \file gettext.C -> \file src/gettext.C
2191         * gettext.h: \file gettext.h -> \file src/gettext.h
2192         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2193         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2194         * text.C: \file text.C -> \file src/text.C
2195
2196         * toc.C: move comment so that doxygen is not confused.
2197
2198 2003-10-07  Angus Leeming  <leeming@lyx.org>
2199
2200         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2201
2202 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2203
2204         * aspell.C:
2205         * aspell_local.h: add forgotten std::string's.
2206
2207 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2208
2209         * LaTeXFeatures.C:
2210         * LyXAction.C:
2211         * factory.C:
2212         * lfuns.h:
2213         * lyxfunc.C:
2214         * text3.C: The Box patch. Fancybox support, minipage, parbox
2215
2216 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2217
2218         * CutAndPaste.h:
2219         * DepTable.h:
2220         * FloatList.h:
2221         * LaTeXFeatures.h:
2222         * ParagraphParameters.h:
2223         * TextCache.h:
2224         * Thesaurus.h:
2225         * bufferlist.h:
2226         * exporter.h:
2227         * importer.h:
2228         * lastfiles.h:
2229         * lyxfind.h:
2230         * lyxfont.h:
2231         * lyxlex.h:
2232         * lyxtextclasslist.h:
2233         * messages.h:
2234         * paragraph.h:
2235         * paragraph_pimpl.C:
2236         * textcursor.h: add <string> and other small fixes to make Lars'
2237         std::string patch compile with STLport.
2238
2239 2003-10-06  Angus Leeming  <leeming@lyx.org>
2240
2241         * LColor.h: Add missing #include <string>.
2242
2243 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2244
2245         * All most all file in all subdirs: Make <string> be the prefered
2246         way of getting to std::string, add using declarations.
2247
2248 2003-10-06  André Pönitz  <poenitz@gmx.net>
2249
2250         * metricsinfo.C: initialize LyXFont before changing attribute.
2251         (fixes the 'math in \emph is upright' bug)
2252
2253 2003-10-06  André Pönitz  <poenitz@gmx.net>
2254
2255         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2256
2257 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * graph.C:
2260         * paragraph_pimpl.C: Small fixes to build using STLport
2261
2262 2003-10-02  André Pönitz  <poenitz@gmx.net>
2263
2264         * lyxfunc.C:
2265         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2266
2267 2003-10-01  André Pönitz  <poenitz@gmx.net>
2268
2269         * factory.C: assert early
2270
2271 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * lyx_main.C: remove the global debug object
2274
2275         * debug.h: adjust for new debugstream
2276
2277         * debug.C: adjust for new debugstream and keep the global debug
2278         object here.
2279
2280 2003-09-22  Angus Leeming  <leeming@lyx.org>
2281
2282         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2283         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2284         an incomplete class LyXFont.
2285
2286 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2287
2288         * factory.C: bug fix in branches
2289
2290 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * lyxfunc.C (processKeySym): adjust
2293         (dispatch): adjust
2294         (dispatch): change arg name from ev to func, adjust
2295         (sendDispatchMessage): ditto
2296
2297         * lyx_main.C (defaultKeyBindings): adjust keybindings
2298         (deadKeyBindings): ditto
2299
2300         * kbsequence.C (addkey): return a FuncRequest
2301
2302         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2303
2304         * kbmap.C (bind): take a FuncRequest as arg, adjust
2305         (read): adjust
2306         (lookup): adjust
2307         (defkey): change to take a FuncRequest as arg, adjust
2308         (findbinding): take a FuncRequest as arg, adjust.
2309
2310         * funcrequest.h (operator=): added
2311
2312         * funcrequest.C (FuncRequest): default kb_action changed from
2313         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2314
2315         * buffer.C (dispatch): simplify
2316         (dispatch): adjust to take a FuncRequest as arg, adjust
2317
2318         * boost.C (assertion_failed): change assertion message slightly
2319
2320         * ToolbarBackend.C (read): simplify
2321
2322         * MenuBackend.C (binding): adjust call to findbinding, add a
2323         message if no binding is found.
2324         (read): simplify
2325         (expandToc): correct by adding a empty FuncRequest
2326
2327         * LyXAction.C: include <boost/assert.hpp>
2328         (isPseudoAction): delete function
2329         (LookupFunc): change name to...
2330         (lookupFunc): this. change return type to FuncRequest.
2331         (getActionName): take kb_action as arg, simplify
2332         (funcHasFlag): add an assert, simplify.
2333
2334 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * toc.C (action): return a FuncRequest, simplify
2337
2338         * lyxfunc.C (processKeySym): adjust
2339         (getStatus): delete version that takes an int.
2340         (getStatus): adjust
2341         (dispatch): delete version that takes action as int
2342         (dispatch): adjust
2343         (sendDispatchMessage): simplify and adjust
2344
2345         * funcrequest.C (getArg): take unsigned int as arg
2346
2347         * ToolbarBackend.C (read): adjust
2348         (add): delete version that takes func as a string.
2349         (getIton): take a FuncRequest as arg
2350
2351         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2352         action.
2353
2354         * MenuBackend.C (MenuItem): add a new construct that only takes a
2355         Kind, simplify the constructor use for submenus.
2356         (add): adjust
2357         (expandLastfiles): adjust
2358         (expandDocuments): adjust
2359         (expandFormats): adjust
2360         (expandFloatListInsert): adjust
2361         (expandFloatInsert): adjust
2362         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2363
2364         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2365         Remove class variables lyx_pseudo_map and lyx_arg_map
2366
2367         * LyXAction.C (searchActionArg): delete function
2368         (getPseudoAction): delete function
2369         (retrieveActionArg): delete function
2370         (LookupFunc): make it return kb_action, simplify.
2371         (getActionName): simplify
2372
2373         * factory.C (createInset): fix new bug
2374
2375 2003-09-19  Angus Leeming  <leeming@lyx.org>
2376
2377         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2378         masterFilename_ parameter in the include inset.
2379
2380         * factory.C (createInset): changes due to the changes to InsetInclude.
2381
2382 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2383
2384         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2385
2386 2003-09-18  Angus Leeming  <leeming@lyx.org>
2387
2388         * buffer.C:
2389         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2390         Inset::fillWithBibKeys.
2391         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2392
2393 2003-09-18  Angus Leeming  <leeming@lyx.org>
2394
2395         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2396         variables.
2397         (ctor): pass and store a 'Buffer const &'
2398         (buffer): new member function.
2399
2400         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2401         '*this' to the LaTeXFeatures ctor.
2402
2403 2003-09-18  Angus Leeming  <leeming@lyx.org>
2404
2405         * LColor.h:
2406         * lyxfont.C:
2407         * lyxfont.h:
2408         * lyxtext.h:
2409         * text.C: rename EnumLColor as LColor_color.
2410
2411 2003-09-18  Angus Leeming  <leeming@lyx.org>
2412
2413         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2414         remove #include "insets/insetbase.h" from cursor.h.
2415
2416 2003-09-18  Angus Leeming  <leeming@lyx.org>
2417
2418         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2419         InsetOld_code to remove #include "inset.h".
2420
2421         * iterators.C: add #include "insets/inset.h"
2422
2423 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * BufferView.C: remove more locking stuff that apparently doesn't
2426         do anything sensible.
2427
2428 2003-09-16  André Pönitz  <poenitz@gmx.net>
2429
2430         * paragraph.[Ch]:
2431         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2432           performance boost.
2433
2434 2003-09-16  Angus Leeming  <leeming@lyx.org>
2435
2436         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2437
2438         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2439         arg/return type.
2440
2441         * paragraph.h: remove #include "lyxfont.h". Forward declare
2442         LyXFont_size.
2443
2444 2003-09-16  Angus Leeming  <leeming@lyx.org>
2445
2446         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2447         of support/textutils.h.
2448         (isWord): move the contents of support/textutils.h's IsWordChar here.
2449
2450         * buffer.C:
2451         * lyxfind.C:
2452         * rowpainter.C:
2453         * text.C:
2454         * text2.C: add #include "paragraph.h".
2455
2456         * rowpainter.C:
2457         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2458
2459 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * main.C:
2462         * lyx_main.C:
2463         * lyx_cb.C:
2464         * buffer.C:
2465         * LaTeX.C: use namespace alias for lyx::support::os
2466
2467 2003-09-16  Angus Leeming  <leeming@lyx.org>
2468
2469         * bufferparams.C:
2470         * bufferview_funcs.C:
2471         * factory.C:
2472         * lyxfunc.C:
2473         * paragraph_pimpl.C:
2474         * rowpainter.C:
2475         * text.C: add #include "LColor.h".
2476
2477 2003-09-16  Angus Leeming  <leeming@lyx.org>
2478
2479         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2480         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2481         return LyXFont &.
2482         Store the FontBits::color variable as an int rather than as an
2483         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2484         file.
2485
2486         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2487         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2488         string calls together.
2489
2490         * lyxrc.C: add #include "LColor.h".
2491
2492 2003-09-15  Angus Leeming  <leeming@lyx.org>
2493
2494         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2495         a cow_ptr.
2496
2497 2003-09-15  Angus Leeming  <leeming@lyx.org>
2498
2499         * LColor.h: add an EnumLColor wrapper for LColor::color.
2500
2501         * lyxfont.[Ch] (color, setColor, realColor):
2502         * lyxtext.h, text.C (backgroundColor):
2503         pass EnumLColor args to/from the functions, rather than LColor::color
2504         ones.
2505
2506         * lyxfont.h:
2507         * lyxtext.h: forward declare EnumLColor.
2508
2509         * lyx_main.C: add #include "LColor.h".
2510
2511 2003-09-15  Angus Leeming  <leeming@lyx.org>
2512
2513         * .cvsignore: add lyx-gtk.
2514
2515 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * Chktex.C
2518         * LaTeX.C
2519         * LaTeXFeatures.C
2520         * ParagraphParameters.C
2521         * Spacing.C
2522         * buffer.C
2523         * bufferparams.C
2524         * bufferview_funcs.C
2525         * chset.C
2526         * counters.C
2527         * funcrequest.C
2528         * lyxfont.C
2529         * lyxgluelength.C
2530         * lyxlength.C
2531         * paragraph.C
2532         * paragraph_funcs.C
2533         * text3.C
2534         * vc-backend.C: remove usage of STRCONV
2535
2536 2003-09-15  Angus Leeming  <leeming@lyx.org>
2537
2538         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2539         explicitly define the color passed to the painter.
2540
2541 2003-09-15  Angus Leeming  <leeming@lyx.org>
2542
2543         * bufferparams.C (BufferParams): reorder member initializers to avoid
2544         compiler warning.
2545
2546 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2547
2548         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2549         * text.C (updateRowPositions): remove an unusual nop
2550
2551 2003-09-12  André Pönitz  <poenitz@gmx.net>
2552
2553         * BufferView_pimpl.C:
2554         * Bullet.C:
2555         * layout.h:
2556         * lyxfunc.C:
2557         * lyxlayout.[Ch]:
2558         * lyxtextclass.C:
2559         * rowpainter.C:
2560         * text.C:
2561         * text2.C:
2562         * Counters.[Ch]: finish the 'automatic counters' job
2563
2564 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2565
2566         * aspell.C: include <boost/assert.cpp> (compile fix)
2567
2568 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2569
2570         * boost.C (assertion_failed): use lyx::support::abort instead of
2571         assert.
2572
2573 2003-09-10  Angus Leeming  <leeming@lyx.org>
2574
2575         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2576         with their _fwd progeny.
2577
2578 2003-09-09  Angus Leeming  <leeming@lyx.org>
2579
2580         134 files throughtout the source tree: replace 'using namespace abc;'
2581         directives with the appropriate 'using abc::xyz;' declarations.
2582
2583 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2584
2585         * boost.C (emergencyCleanup): moved here from LAssert.c
2586         (assertion_failed): new function, called by BOOST_ASSERT
2587
2588         * several files: change Assert to BOOST_ASSERT
2589
2590 2003-09-09  Angus Leeming  <leeming@lyx.org>
2591
2592         * buffer.[Ch]: Add an Impl class and move Buffer's member
2593         variables into it. As a result move several header files out of
2594         buffer.h.
2595
2596         Add header files to lots of .C files all over the tree as a result.
2597
2598 2003-09-09  Angus Leeming  <leeming@lyx.org>
2599
2600         * buffer.[Ch]: make Buffer's member variables private. Add
2601         accessor functions.
2602
2603         Lots of changes all over the tree as a result.
2604
2605 2003-09-08  Angus Leeming  <leeming@lyx.org>
2606
2607         * graph.C: #include <config.h>.
2608
2609 2003-09-08  Angus Leeming  <leeming@lyx.org>
2610
2611         * BranchList.C:
2612         * BufferView.C:
2613         * BufferView_pimpl.C:
2614         * CutAndPaste.C:
2615         * DepTable.C:
2616         * LaTeX.C:
2617         * LaTeXFeatures.C:
2618         * LyXAction.C:
2619         * MenuBackend.C:
2620         * TextCache.C:
2621         * aspell.C:
2622         * buffer.C:
2623         * bufferlist.C:
2624         * changes.C:
2625         * chset.C:
2626         * converter.C:
2627         * counters.C:
2628         * debug.C:
2629         * graph.C:
2630         * ispell.C:
2631         * lyx_cb.C:
2632         * lyxfind.C:
2633         * lyxfunc.C:
2634         * lyxlex_pimpl.C:
2635         * lyxrc.C:
2636         * lyxrow.C:
2637         * paragraph.C:
2638         * rowpainter.C:
2639         * texrow.C:
2640         * text.C:
2641         * text2.C:
2642         * toc.C: remove redundant using directives.
2643
2644 2003-09-07  Angus Leeming  <leeming@lyx.org>
2645
2646         * LaTeXFeatures.h: remove #include "support/types.h".
2647         * ToolbarBackend.h: remove #include <algorithm>.
2648         * changes.h: remove #include <ctime>.
2649         * debug.h: remove #include <iosfwd>.
2650         * graph.h: remove #include "support/std_string.h".
2651         * lyx_main.h: remove #include <csignal>.
2652         * lyxlex_pimpl.h: remove #include <fstream>.
2653         * sgml.h: remove #include <algorithm>, <utility>.
2654         * toc.h: remove #include "support/std_ostream.h".
2655         Add #include <iosfwd>.
2656
2657 2003-09-07  Angus Leeming  <leeming@lyx.org>
2658
2659         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2660
2661         * converter.h: forward declare LatexRunParams.
2662         * encoding.h: remove #include "lyxrc.h".
2663         * lyxtext.h: remove #include "LColor.h".
2664         * lyxtextclass.h: remove #include "support/types.h".
2665         * trans.h: remove #include "tex-accent.h".
2666         * trans_mgr.h: remove #include "tex-accent.h".
2667         * insets/inset.h: remove #include "support/types.h", <vector>.
2668         * insets/insetcollapsable.h: remove #include "LColor.h".
2669         * insets/insetinclude.h: remove #include "dimension.h".
2670         * insets/insetlatexaccent.h: remove #include "dimension.h".
2671         * insets/insetoptarg.h:: remove #include "insettext.h".
2672         * insets/insettext.h: remove #include "dimension.h",
2673         <boost/shared_ptr.hpp>
2674
2675         * insets/renderers.h: add #include "dimension.h".
2676         * insets/updatableinset.h: add #include "support/types.h".
2677
2678         * many .C files: Associated changes.
2679
2680 2003-09-06  Angus Leeming  <leeming@lyx.org>
2681
2682         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2683         one, inside testInvariant.
2684
2685         * PrinterParams.C: new file.
2686         * PrinterParams.[Ch]: move the function bodies out of line.
2687
2688 2003-09-06  Angus Leeming  <leeming@lyx.org>
2689
2690         * ParagraphParameters.h: forward declare ParameterStruct rather than
2691         including its header file.
2692         (depth): moved out-of-line.
2693
2694 2003-09-06  Angus Leeming  <leeming@lyx.org>
2695
2696         * BufferView_pimpl.h:
2697         * kbmap.h:
2698         * kbsequence.h:
2699         * lyxfunc.h: forward declare LyXKeySym rather than
2700         #include "frontends/LyXKeySym.h".
2701
2702         * BufferView_pimpl.C:
2703         * kbmap.C:
2704         * kbsequence.C:
2705         * lyxfunc.C: associated changes.
2706
2707 2003-09-06  Angus Leeming  <leeming@lyx.org>
2708
2709         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2710         As a result, can remove the #include "insets/inset.h" from BufferView.h
2711
2712 2003-09-06  Angus Leeming  <leeming@lyx.org>
2713
2714         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2715         As a result, can remove the #include "insets/inset.h" from BufferView.h
2716
2717 2003-09-06  Angus Leeming  <leeming@lyx.org>
2718
2719         * buffer_funcs.C:
2720         * buffer.h:
2721         * bufferlist.C:
2722         * BufferView.C:
2723         * bufferview_funcs.C:
2724         * BufferView_pimpl.C:
2725         * CutAndPaste.C:
2726         * lyx_cb.C:
2727         * lyxfunc.C:
2728         * paragraph.h:
2729         * ParagraphParameters.C:
2730         * tabular.C:
2731         * text3.C:
2732         * toc.C:
2733         * undo_funcs.C:
2734         * frontends/controllers/ControlDocument.C:
2735         * insets/insetcaption.C: rearrange the #includes into some sort of
2736         coherent order.
2737
2738         * buffer.h: remove #includes ErrorList.h, undo.h
2739
2740 2003-09-06  Angus Leeming  <leeming@lyx.org>
2741
2742         * support/types.h: add a 'depth_type' typedef, used to store the
2743         nesting depth of a paragraph.
2744
2745         * paragraph.h:
2746         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2747         defining explicitly.
2748
2749         * buffer.h:
2750         * paragraph_funcs.h:
2751         * ParagraphParameters.h:
2752         * sgml.h: use lyx::depth_type rather than Paragraph or
2753         ParameterStruct's depth_type.
2754
2755         * buffer.h
2756         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2757
2758         * BufferView.C:
2759         * BufferView_pimpl.C:
2760         * CutAndPaste.C:
2761         * ParagraphParameters.C:
2762         * buffer_funcs.C:
2763         * bufferlist.C:
2764         * bufferview_funcs.C:
2765         * lyx_cb.C:
2766         * lyxfunc.C:
2767         * tabular.C:
2768         * text3.C:
2769         * toc.C:
2770         * undo_funcs.C:
2771         * frontends/LyXView.C:
2772         * frontends/controllers/ControlDocument.C:
2773         * frontends/controllers/ControlErrorList.C:
2774         * insets/insetbibitem.C:
2775         * insets/insetbranch.C:
2776         * insets/insetcaption.C:
2777         * insets/insetcollapsable.C:
2778         * insets/insetenv.C:
2779         * insets/insetert.C:
2780         * insets/insetfloat.C:
2781         * insets/insetfoot.C:
2782         * insets/insetfootlike.C:
2783         * insets/insetnewline.C:
2784         * insets/insetquotes.C:
2785         * insets/insettabular.C:
2786         * insets/insettext.C:
2787         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2788
2789         * frontends/controllers/ControlChanges.C: #include "changes.h".
2790
2791 2003-09-06  Angus Leeming  <leeming@lyx.org>
2792
2793         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2794         than #including paragraph.h.
2795
2796         * ParagraphList.h:
2797         * RowList.h: deleted. Superfluous.
2798
2799         * CutAndPaste.h:
2800         * iterators.h:
2801         * lyxcursor.h:
2802         * lyxtext.h:
2803         * text_funcs.h:
2804         * undo.h:
2805         * undo_funcs.h:
2806         * insets/inset.h:
2807         * insets/insettext.h: use ParagraphList_fwd.h rather than
2808         ParagraphList.h.
2809
2810         * paragraph.h: don't forward declare ParagraphList.
2811
2812         * buffer.h:
2813         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2814         rather than ParagraphList.h. paragraph.h is still needed for the
2815         Paragraph::depth_type parameters.
2816
2817         * textcursor.h: enable it to compile stand-alone in light of the
2818         above changes.
2819
2820         * bufferview_funcs.C:
2821         * iterators.C:
2822         * lyxfunc.C:
2823         * lyxrow_funcs.C:
2824         * paragraph.C:
2825         * rowpainter.C:
2826         * text.C:
2827         * text2.C:
2828         * text3.C:
2829         * text_funcs.C:
2830         * textcursor.C:
2831         * undo.C:
2832         * frontends/controllers/ControlParagraph.C:
2833         * frontends/controllers/ControlTabular.C:
2834         * insets/insetmarginal.C:
2835         * insets/insetminipage.C:
2836         * insets/insetnote.C:
2837         * insets/insetoptarg.C: add header files needed to compile again.
2838
2839 2003-09-06  Angus Leeming  <leeming@lyx.org>
2840
2841         * RowList_fwd.h: new file, forward-declaring Row rather than
2842         #including lyxrow.h.
2843
2844         * lyxrow_funcs.h:
2845         * lyxtext.h:
2846         * paragraph.h:
2847         * insets/insettext.h: use it instead of RowList.h
2848
2849         * bufferview_funcs.C:
2850         * lyxfunc.C:
2851         * lyxrow_funcs.C:
2852         * paragraph.C:
2853         * rowpainter.C:
2854         * text.C:
2855         * text2.C:
2856         * text3.C: #include "RowList.h".
2857
2858 2003-09-05  Angus Leeming  <leeming@lyx.org>
2859
2860         * factory.C (createInset):
2861         * vspace.C (c-tor): replace sscanf call with an istringstream.
2862         * ispell.C: re-add missing HP/UX headers.
2863         * lyxserver.C: re-add missing  os2 headers.
2864
2865 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2866
2867         * BranchList.C:
2868         * graph.C:
2869         * ispell.C:
2870         * lastfiles.C:
2871         * lyx_cb.C:
2872         * lyxserver.C:
2873         * texrow.C:
2874         * text3.C: re-add missing system headers, needed for 2.95.2.
2875
2876 2003-09-05  Angus Leeming  <leeming@lyx.org>
2877
2878         Changes most place everywhere due to the removal of using directives
2879         from support/std_sstream.h.
2880
2881 2003-09-05  Angus Leeming  <leeming@lyx.org>
2882
2883         Replace LString.h with support/std_string.h,
2884         Lsstream.h with support/std_sstream.h,
2885         support/LIstream.h with support/std_istream.h,
2886         support/LOstream.h with support/std_ostream.h.
2887
2888         Changes resulting throughout the tree.
2889
2890 2003-09-05  Angus Leeming  <leeming@lyx.org>
2891
2892         * sgml.h: ensure that the header file can be compiled stand-alone.
2893         * *.C: strip out redundant #includes. (320 in total.)
2894
2895 2003-09-04  Angus Leeming  <leeming@lyx.org>
2896
2897         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2898         here (from getPackages).
2899
2900         * debug.[Ch]: add a new EXTERNAL tag.
2901
2902 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2903
2904         * text2.C (cursorEnd): simplify
2905         (setCursor): adjust
2906         (getColumnNearX): adjust
2907
2908         * text.C (computeBidiTables): adjust
2909         (fill): adjust
2910
2911         * rowpainter.C (paintChars): adjust
2912         (paintSelection): adjust
2913         (paintChangeBar): adjust
2914         (paintText): adjust
2915
2916         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2917         lastPos instead.
2918         (numberOfSeparators): adjust
2919
2920 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2921
2922         * LyXAction.C:
2923         * box.[Ch]:
2924         * lfuns.h:
2925         * lyxfunc.C:
2926         * text3.C: Restricts the mouse click functionality
2927         of insets like bibtex, include, toc and floatlist to the visible
2928         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2929         up the dialogs. Cursor has to be in front of the inset (i.e.
2930         start of row) for this to function.
2931
2932 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2933
2934         * bufferview_funcs.C (currentState): output row information
2935
2936 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2937
2938         * bufferview_funcs.C (currentState): output paragraph position
2939
2940 2003-09-04  Angus Leeming  <leeming@lyx.org>
2941
2942         * FloatList.h: move out #include "Floating.h".
2943         * LaTeX.h: move out #include "DepTable.h".
2944         * LyXAction.h: move out #include "funcrequest.h".
2945         * buffer.h: move out #include "author.h", "iterators.h".
2946         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2947         * lyx_main.h: move out #include "errorlist.h".
2948         * lyxfunc.h: move out #include "FuncStatus.h".
2949         * lyxtext: move out #include "lyxcursor.h".
2950         * paragraph_pimpl.h: move out #include "counters.h".
2951
2952 2003-09-03  Angus Leeming  <leeming@lyx.org>
2953
2954         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2955         preamble_snippets list, enabling us to add snippets to the preamble
2956         only if the snippet was not there already.
2957
2958 2003-09-04  Angus Leeming  <leeming@lyx.org>
2959
2960         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2961
2962 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2965         update
2966
2967 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2968
2969         * BranchList.C: point fix, earlier forgotten
2970
2971 2003-09-02  Angus Leeming  <leeming@lyx.org>
2972
2973         * box.C (contains): renamed from 'contained' after a fantastic
2974         amount of hot air.
2975
2976 2003-09-02  John Levon  <levon@movementarian.org>
2977
2978         * BufferView.C:
2979         * lyxcursor.h:
2980         * lyxcursor.C:
2981         * lyxfunc.C:
2982         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2983
2984 2003-09-02  John Levon  <levon@movementarian.org>
2985
2986         * text2.C: simplification of cursorEnd(), including partial
2987         fix for bug 1376
2988
2989 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2990
2991         * buffer.C (readFile): add a space
2992
2993 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2996
2997 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * buffer.C (readFile): new function, take a filename and a
3000         ParagraphList::iterator
3001         (readFile): adjust
3002         (readFile): adjust, make it private. don't use setStream, make
3003         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3004         always contain the filename.
3005
3006         * BufferView.C (insertLyXFile): simplify and make it work for
3007         gzipped files.
3008
3009 2003-08-30  John Levon  <levon@movementarian.org>
3010
3011         * Makefile.am: fix dist (from Kayvan)
3012
3013 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * most files: change to use const Buffer refs
3016
3017 2003-08-27  André Pönitz  <poenitz@gmx.net>
3018
3019         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3020         on top of ownerPar().
3021
3022 2003-08-27  John Levon  <levon@movementarian.org>
3023
3024         * funcrequest.C: properly initialise POD members
3025
3026 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * lyxtext.h (top_y): move top_y from here
3029         * text.C:
3030         * text2.C:
3031         * text3.C:
3032         * BufferView.[Ch]:
3033         * BufferView_pimpl.[Ch]: to here
3034         * frontends/screen.C:
3035         * insets/insettabular.C:
3036         * insets/insettext.C: adjust
3037         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3038
3039 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * BufferView.[Ch]:
3042         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3043
3044 2003-08-26  André Pönitz  <poenitz@gmx.net>
3045
3046         * paragraph_func.[Ch] (outerPar): new function
3047
3048         * paragraph.C:
3049         * paragraph_funcs.C:
3050         * paragraph_funcs.h:
3051         * paragraph_pimpl.C:
3052         * text2.C: remove Inset::par_owner
3053
3054 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3055
3056         * lyxrow_funcs.C:
3057         * lyxtext.h:
3058         * text.C:
3059         * text2.C: eliminates the needFullRow/display() stuff
3060         altogether, putting the logic in metrics/draw in the insets.
3061
3062 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3063
3064         * text2.C (redoParagraphInternal, redoParagraphs):
3065         * text.C (redoParagraph): add a call to updateRowPositions at the
3066         end of each 'metrics-like' call. Remove all others.
3067         (getRow): remove the 'y-computing' version.
3068         (getRowNearY): do not compute nor return the real y. Solve the
3069         'y < 0' problem and simplify.
3070
3071 2003-08-22  Angus Leeming  <leeming@lyx.org>
3072
3073         * *.[Ch]: clean-up of licence and author blurbs.
3074         Also move config.h out of a few .h files and into a few .C files.
3075
3076 2003-08-22  André Pönitz  <poenitz@gmx.net>
3077
3078         * lyxrow.[Ch]: add x_ and *fill_ members
3079
3080         * lyxtext.h:
3081         * text.C:
3082         * rowpainter.C:
3083         * text2.C: adjust/remove prepareToPrint() calls
3084
3085 2003-08-22  André Pönitz  <poenitz@gmx.net>
3086
3087         * lyxrow.[Ch]: add  end_ member
3088
3089         * lyxrow_funcs.C: use LyXRow::end_
3090
3091         * lyxtext.h (singleWidth): add LyXFont parameter
3092
3093         * rowpainter.C:
3094         * text2.C: adjust LyXText::singleWidth() calls
3095
3096         * text.C (redoParagraph): simplify row breaking logic
3097
3098
3099 2003-08-19  André Pönitz  <poenitz@gmx.net>
3100
3101         * funcrequest.C: initialize button_ member
3102
3103         * text3.C:
3104         * rowpainter.[Ch]: interface consolidation
3105
3106 2003-08-18  André Pönitz  <poenitz@gmx.net>
3107
3108         * BufferView.C:
3109         * BufferView_pimpl.C:
3110         * lyxfind.C:
3111         * paragraph_funcs.C:
3112         * rowpainter.C:
3113         * text3.C: remove LyXScreen::draw() and fitCursor calls
3114
3115         * BranchList.h: remove spurious semicolons
3116
3117         * MenuBackend.C: fix branchlist related crash
3118
3119 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3120
3121         * BranchList.[Ch]:
3122         * InsetList.[Ch]:
3123         * LColor.[Ch]:
3124         * LyXAction.C:
3125         * Makefile.am:
3126         * MenuBackend.[Ch]:
3127         * bufferparams.[Ch]:
3128         * factory.C:
3129         * lfuns.h:
3130         * lyxfunc.C:
3131         * text3.C: implements the 'branch inset'
3132         idea. This allows the output of various versions of a document
3133         from a single source version, selectively outputing or suppressing
3134         output of parts of the text.
3135         This implementation contains a 'branch list editor' in a separate
3136         tab of the document settings dialog. Branches are user definable
3137         and have a "display colour" to distinguish them on-screen.
3138
3139         ColorHandler was somewhat cleaned up.
3140         (1) make possible a dynamically growing LColor list by allowing
3141         the graphic context cache to grow along (vector);
3142         (2) eliminate an IMHO unnecessary step in colour allocation.
3143
3144 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3145
3146         * BufferView_pimpl.C: compile fix
3147
3148 2003-08-15  André Pönitz  <poenitz@gmx.net>
3149
3150         * rowpainter.C: remove extra metrics calls
3151
3152         * lyxtext.h: merge the two constructors into a single one,
3153           pass reference to owner's par list
3154
3155         * BufferView_pimpl.C:
3156         * text.C:
3157         * text2.C: adjust
3158
3159 2003-08-15  André Pönitz  <poenitz@gmx.net>
3160
3161         * lyxrow_funcs.[Ch]:
3162         * lyxtext.h:
3163         * paragraph.h:
3164         * paragraph_funcs.C:
3165         * rowpainter.C:
3166         * text.C:
3167         * text2.C:
3168         * text3.C:
3169         * text_funcs.C: split LyXText::rowlist_ into individual
3170         Paragraph::rows_ chunks
3171
3172         * BufferView.[Ch]:
3173         * BufferView_pimpl.[Ch]:
3174         * lyxfind.C:
3175         * lyxtext.h:
3176         * text3.C: remove toggleSelection()
3177
3178 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3179
3180         * bufferlist.C: beautify two alerts (shorter text of buttons)
3181         * buffer.C: Remove redundant ' ' from message
3182         * tabular.h:
3183         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3184         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3185         rename VALIGN_CENTER to VALIGN_MIDDLE
3186
3187 2003-08-11  André Pönitz  <poenitz@gmx.net>
3188
3189         * lyxtext.h (getPar):
3190         * text.C: new function
3191
3192 2003-08-11  André Pönitz  <poenitz@gmx.net>
3193
3194         * Makefile.am:
3195         * tracer.[Ch]: remove unneeded files
3196
3197         * InsetList.[Ch]: remove resizeInsetsLyXText()
3198
3199         * lyxtext.h:
3200         * text.C:
3201         * text2.C:
3202         * text3.C: merge insertParagraphs() and appendParagraph()
3203         remove breakAgain(), update()
3204
3205         * BufferView_pimpl.[Ch]:
3206         * bufferview_funcs.[Ch]:
3207         * lyxfunc.C:
3208         * paragraph.[Ch]:
3209         * rowpainter.C:
3210         * tabular.C: adjust after text & InsetList changes.
3211
3212 2003-08-08  André Pönitz  <poenitz@gmx.net>
3213
3214         * text.C (insertChar, backspace): replace rowlist fiddling
3215         with rebreak of full par
3216
3217         * lyxtext.h:
3218         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3219         checkParagraph, updateInset): removed
3220
3221 2003-08-07  André Pönitz  <poenitz@gmx.net>
3222
3223         * paragraph.C:
3224         * text3.C: merge some LFUN handlers, remove dead code
3225
3226 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3229
3230 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3231
3232         * text2.C (DEPM): fix part of bug 1255 and 1256
3233
3234 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3235
3236         * BufferView_pimpl.C (workAreaDispatch): change to use
3237         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3238         that are no mouse related.
3239
3240 2003-08-05  André Pönitz  <poenitz@gmx.net>
3241
3242         * BufferView.[Ch]:
3243         * BufferView_pimpl.[Ch]:
3244         * bufferview_funcs.C:
3245         * text2.C:
3246         * text3.C: rip out "deep update"
3247
3248         * textcursor.[Ch] (last_sel_cursor): remove unused member
3249
3250 2003-08-04  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView.[Ch]:
3253         * BufferView_pimpl.[Ch]:
3254         * ParagraphParameters.C:
3255         * bufferview_funcs.C:
3256         * lyx_cb.C:
3257         * lyxfind.C:
3258         * lyxfunc.C:
3259         * text.C:
3260         * text2.C:
3261         * text3.C: replace "complicated" BufferView::update(...) calls with
3262         simpler ones.
3263
3264         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3265
3266 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3267
3268         * Makefile.am (lyx_SOURCES): add paper.h
3269
3270 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3271
3272         * Makefile.am: move things around so that both lyx-qt and
3273         lyx-xforms can be built (according to --with-frontend). Then lyx
3274         is a symbolic link to lyx-[firstfrontend]
3275
3276 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3277
3278         * Always use std::endl with lyxerr
3279
3280 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3281
3282         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3283
3284 2003-08-01  André Pönitz  <poenitz@gmx.net>
3285
3286         * BufferView.[Ch]:
3287         * BufferView_pimpl.[Ch]:
3288         * lyxfunc.C:
3289         * text3.C: merge BufferView::repaint() and BufferView::update()
3290
3291 2003-08-01  José Matos  <jamatos@lyx.org>
3292
3293         * buffer.[Ch]: file_format is no longer a buffer data element.
3294
3295 2003-08-01  André Pönitz  <poenitz@gmx.net>
3296
3297         * BufferView.C:
3298         * lyxtext.h:
3299         * text.C:
3300         * text2.C: make redoParagraph more independent of current cursor
3301
3302         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3303         * text.C:
3304         * text2.C: remove unneeded members
3305
3306 2003-07-30  André Pönitz  <poenitz@gmx.net>
3307
3308         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3309
3310         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3311           create a single function...
3312
3313         * paragraph_funcs.C (moveItem): ... here.
3314
3315         * text.C:
3316           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3317
3318 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3319
3320         * LColor.[Ch]: Add comment and greyedout logical colors.
3321
3322 2003-07-30  André Pönitz  <poenitz@gmx.net>
3323
3324         * tabular.C: don't use Assert too heavily. This crashes where it
3325           shouldn't
3326
3327 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3330         is disabled (bug 1232)
3331
3332 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3333
3334         * factory.C: limited 'arg' scope
3335
3336 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3337
3338         * factory.C: fixed Note submenu issues
3339
3340 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3341
3342         * factory.C: submenu for Note/Comment/Greyedout
3343
3344 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3345
3346         * lyx_main.C (LyX):
3347         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3348
3349 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3350
3351         * LaTeXFeatures.C:
3352         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3353         greyedout. Patch provided by Jürgen Spitzmüller.
3354
3355 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3356
3357         * kbmap.C (read): fix error message when reading bind files
3358
3359 2003-07-29  Angus Leeming  <leeming@lyx.org>
3360
3361         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3362         certainly does not do what it purports to do. I am doing it, and
3363         us, a favour by killing it.
3364
3365 2003-07-28  José Matos  <jamatos@lyx.org>
3366
3367         * buffer.C (readBody, do_writeFile):
3368         * paragraph.C(readParagraph): \end_document replaces \the_end.
3369
3370 2003-07-29  André Pönitz  <poenitz@gmx.net>
3371
3372         * BufferView.[Ch]:
3373         * BufferView_pimpl.[Ch]:
3374         * lyxfunc.C:
3375         * text2.C:
3376         * text3.C:
3377         * textcursor.[Ch]: remove toggleToggle & Co
3378
3379 2003-07-28  José Matos  <jamatos@fep.up.pt>
3380
3381         * buffer.C (readParagraph):
3382         * params_func (readParToken, readParagraph):
3383         * paragraph.C (write): \layout -> \begin_layout.
3384
3385 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * lyxlex_pimpl.C (setFile): clean up slightly.
3388
3389         * bufferparams.h: add compressed var
3390
3391         * buffer_funcs.C (readFile): adjust for LyXLex change
3392         (newFile): ditto + simplify
3393
3394         * buffer.C (writeFile): handle writing of compressed files
3395
3396         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3397         Check if the file is compressed and set a bufferparm if so.
3398
3399         * Makefile.am (lyx_LDADD): remove explicit -lz
3400
3401 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3402
3403         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3404         makeDocBookFile): put the real LyX version in the first line of
3405         the file
3406
3407         * version.h:
3408         * version.C.in: remove lyx_docversion
3409
3410         * tabular.C (write_attribute): add a template-based version to
3411         write enums properly
3412
3413 2003-07-28  André Pönitz  <poenitz@gmx.net>
3414
3415         * lyxtext.h:
3416         * text.C:
3417         * text2.C:
3418         * text3.C: use doubles again for x-coordinates. They are needed.
3419
3420 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * messages.C (getLocaleDir): use lyx_localedir()
3423
3424         * lyxlex_pimpl.C (setFile): compress stuff
3425
3426         * buffer.C (writeFile): add some compression stuff
3427         (do_writeFile): new func, dont call expliti close... will this
3428         breake anything?
3429
3430         * Makefile.am (lyx_LDADD): add -lz
3431
3432 2003-07-28  José Matos  <jamatos@fep.up.pt>
3433
3434         * buffer.C: increment file format.
3435         * paragraph_funcs (readParagraph, readParToken):
3436         * paragraph.C (readParagraph): add \end_layout.
3437
3438 2003-07-27  Angus Leeming  <leeming@lyx.org>
3439
3440         * Makefile.am: remove special casing for configure-time setting of
3441         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3442
3443         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3444         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3445
3446 2003-07-26  André Pönitz  <poenitz@gmx.net>
3447
3448         * paragraph_func.[Ch]:
3449         * paragraph.C (realizeFont): inline it whereever it is used
3450
3451         * rowpainter.C:
3452         * text.C:
3453         * text2.C:
3454         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3455
3456
3457 2003-07-26  André Pönitz  <poenitz@gmx.net>
3458
3459         *       lyxtext.h:
3460         * text.C:
3461         * text2.C: get rid of LyXText::need_break_row
3462
3463 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * toc.[Ch]: put namespace toc inside namespace lyx
3466
3467         * MenuBackend.C (expandToc2): adjust for lyx::toc
3468         (expandToc): ditto
3469
3470         * lyxfunc.C (dispatch): adjust for lyx::find
3471
3472         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3473         lyx::find instead. Reorganize a bit.
3474         (LyXReplace): rename to replace
3475         (LyXFind): rename to find
3476
3477         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3478         (dispatch): ditto
3479
3480 2003-07-26  André Pönitz  <poenitz@gmx.net>
3481
3482         * text.C (setHeightOfRow): restrict scope of temporary variable
3483
3484         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3485           code (never has been used?)
3486
3487 2003-07-27  Asger Alstrup  <alstrup@local>
3488
3489         * text.C (fill): Optimise algorithm to exploit that we can reuse
3490         the LyXFont for many characters.
3491         (setHeightOfRow): Same thing.
3492         (rowBreakPoint): Same thing.
3493
3494 2003-07-26  Asger Alstrup  <alstrup@local>
3495
3496         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3497
3498         * text.C (singleWidth): Spurious font copying in hot-spot
3499         singleWidth avoided. Reorder tests for arabic for efficiency.
3500
3501         * text.C (fill): handle empty paragraphs better.
3502
3503 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3504
3505         * ispell.C:
3506         * encoding.h: add includes
3507
3508         * lyxrc.C: remove reading of bind files
3509
3510         * lyx_main.C (init): setup bindings and menus only if we have a
3511         gui.
3512
3513         * kbmap.C (read): new method. Do the actual reading of bind
3514         files.
3515
3516         * converter.C (dvipdfm_options):
3517         * bufferparams.C:
3518         * lyxrc.C (read):
3519         (output): adapt PAPER_* enums.
3520
3521         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3522
3523         * bufferparams.h: remove paper-related enums from there
3524
3525         * paper.h: New file. A trivial header file to hold paper-related
3526         enums. It should later expand to contain many paper-related
3527         horrors access.
3528
3529         * lyxrc.C: declare extern displayTranslator
3530
3531 2003-07-27  José Matos  <jamatos@fep.up.pt>
3532
3533         * tabular.[Ch] (linuxdoc): add support for tables and figures
3534         (linuxdoc).
3535
3536 2003-07-27  José Matos  <jamatos@fep.up.pt>
3537
3538         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3539         consistency in both functions.
3540         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3541
3542 2003-07-26  Asger Alstrup  <alstrup@local>
3543
3544         * rowpainter.C (paintRows): Change algorithm to work directly on
3545         the insets rather than asking every character in the document
3546         whether its an inset.
3547
3548 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * buffer.C (openFileWrite): factorize some code
3551
3552 2003-07-26  Angus Leeming  <leeming@lyx.org>
3553
3554         * lyx_cb.C:
3555         * lyx_main.[Ch]: replace occurances of system_tempdir with
3556         os::getTmpDir().
3557
3558 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * rename Inset to InsetOld
3561
3562 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3563
3564         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3565         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3566         which I think is a bit clearer. EDIT is gone, since it was
3567         premature optimisation, and broken for mathed anyway.
3568         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3569         with cursor positioning in insets as well (math insets still do not
3570         work, but that's a different story anyway.) It mysteriously
3571         crashes sometimes with undo in the first paragraph, but I'm fairly
3572         confident that this is a compiler bug.
3573
3574 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * paragraph.C (Paragraph): adjust for new clone return type
3577         (operator==): ditto
3578         (copyIntoMinibuffer): ditto
3579
3580 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3581
3582         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3583         by not having a special case, and always doing a full rebreak of
3584         the document after undo.
3585
3586 2003-07-23  Angus Leeming  <leeming@lyx.org>
3587
3588         * factory.C (createInset): InsetExternal::setParams now takes a
3589         Buffer const * arg.
3590
3591 2003-07-23  Angus Leeming  <leeming@lyx.org>
3592
3593         * factory.C (createInset): changed interface to the external and
3594         graphics mailers' string2params functions.
3595
3596 2003-07-23  Angus Leeming  <leeming@lyx.org>
3597
3598         * factory.C (createInset): pass a
3599         Buffer const * parameter to InsetExternalMailer's string2params.
3600
3601 2003-07-22  John Levon  <levon@movementarian.org>
3602
3603         * Thesaurus.h: include the right aiksaurus header
3604
3605 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3606
3607         * MenuBackend.C (expand): check menu shortcuts unconditionally
3608
3609 2003-07-21  Angus Leeming  <leeming@lyx.org>
3610
3611         * factory.C (createInset): pass a
3612         buffer_path parameter to InsetGraphicsMailer's string2params.
3613
3614 2003-07-21  Angus Leeming  <leeming@lyx.org>
3615
3616         * BufferView_pimpl.C (buffer):
3617         * buffer.C (d-tor):
3618         * lyx_main.C (LyX):
3619         * lyxfunc.C (dispatch):
3620         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3621         rather than the grfx shortcut.
3622
3623 2003-07-21  André Pönitz  <poenitz@gmx.net>
3624
3625         * rowpainter.C: remove unused variables
3626
3627         * tabular_funcs.C:
3628         * tabular_funcs.h: move to tabular.C
3629         * Makefile.am: adjust
3630
3631         * tabular.[Ch]: basic optical cleaning
3632
3633         * author.h: pass references, not values
3634
3635 2003-07-18  André Pönitz  <poenitz@gmx.net>
3636
3637         * lyxtext.h:
3638         * metricsinfo.C:
3639         * metricsinfo.h:
3640         * rowpainter.C:
3641         * text.C:
3642         * text2.C:
3643         * text3.C: two-phase drawing for InsetText and InsetTabular
3644         some float -> int changes.
3645
3646 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * lyx_main.C: fix the fix
3649
3650 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3651
3652         * lyx_main.C: fix a crash in batch mode if no files specified
3653         * converter.C: ws
3654
3655 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * format.[Ch] (papersize): moved to BufferParams
3658         * converter.[Ch] (dvips_options): moved to BufferParams
3659         (dvipdfm_options): moved to anon namespace
3660         * bufferparams.[Ch]: added above functions.
3661
3662 2003-07-17  André Pönitz  <poenitz@gmx.net>
3663
3664         * lyxtext.h:
3665         * rowpainter.C:
3666         * text2.C: don't call inset->update() anymore
3667
3668         * metricsinfo.[Ch]: add convenience constructor
3669
3670 2003-07-16  André Pönitz  <poenitz@gmx.net>
3671
3672         * lyxcursor.[Ch]:
3673         * lyxfunc.[Ch]:
3674         * text.C:
3675         * text2.C: replace the LyXCursor::irow_ member with
3676          on-demand computation of the value
3677
3678 2003-07-16  John Levon  <levon@movementarian.org>
3679
3680         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3681
3682 2003-07-15  André Pönitz  <poenitz@gmx.net>
3683
3684         * text.C:
3685         * text2.C: remove no more needed refresh_row
3686
3687 2003-07-15  André Pönitz  <poenitz@gmx.net>
3688
3689         * lyxtext.h:
3690         * rowpainter.C:
3691         * text2.C:
3692         * text3.C: refresh_status tristate -> need_update bool
3693
3694 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * lyxtext.h (init): remove reinit argument (act as if always true)
3697         * text2.C: adjust to that
3698
3699 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3700
3701         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3702         * text3.C: use it to delete selections in some cases
3703         (bugs 441, 673, 702, 954).
3704
3705 2003-07-14  André Pönitz  <poenitz@gmx.net>
3706
3707         * rowpainter.[Ch]: reduce interface
3708
3709 2003-07-14  André Pönitz  <poenitz@gmx.net>
3710
3711         * BufferView_pimpl.C:
3712         * text2.C: adjust after removing unused BufferView * argument
3713
3714 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3715
3716         * text2.C (init): fix a crash fired on resize
3717
3718 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3719
3720         * buffer.[Ch]: added new closing signal
3721         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3722         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3723         BufferView::Pimpl via the closing the signal
3724
3725 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * buffer.[Ch]: take out all bv-related from buffer
3728         * BufferView.C:
3729         * BufferView_pimpl.[Ch]: connect to new signals
3730         * CutAndPaste.C: removed useless asserts
3731         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3732         * lyxvc.[Ch]:
3733         * vc-backend.[Ch]:
3734         * lyxfunc.C: moved view-related funciontality from vc here
3735         * paragraph.C: removed outdated comments
3736         * text.C: ws
3737
3738 2003-07-10  André Pönitz  <poenitz@gmx.net>
3739
3740         * BufferView_pimpl.C:
3741         * tabular.h:
3742         * tabular_funcs.C:
3743         * text.C:
3744         * text2.C: remove InsetText::InnerCache, clean up consequences
3745
3746 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3747
3748         * ispell.C: fix two typos in error messages
3749
3750 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3751
3752         * Extend Note inset to other forms of annotation like Comment
3753         and Greyedout. Right button click gives dialog.
3754
3755         Files modified or added (+):
3756
3757         * insetnote.[Ch]
3758         * FormNote.[Ch]      +
3759         * ControlNote.[Ch]   +
3760         * form_note.fd       +
3761         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3762         frontends/controllers
3763         * xforms/Dialogs.C
3764         * factory.C
3765
3766 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3767
3768         * aspell.C: add missing namespace lyx::support
3769
3770 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3771
3772         * BufferView.[Ch] (newFile): Add
3773         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3774         * LaTeX.[Ch] (message): added this signal and use it
3775         * buffer.[Ch] (busy, message): added these signals and use them
3776         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3777         * converter.C:
3778         * exporter.C:
3779         * format.C:
3780         * importer.C: use buffer signals instead of direct bv calling
3781         * lyx_cb.[Ch] (ShowMessage): removed
3782         * lyx_main.C:
3783         * lyxfunc.C:
3784         * paragraph_funcs.C:
3785         * text2.C: use buffer signals
3786
3787 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3788
3789         * introduce namespace lyx::graphics
3790
3791 2003-07-02  André Pönitz  <poenitz@gmx.net>
3792
3793         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3794
3795 2003-07-01  André Pönitz  <poenitz@gmx.net>
3796
3797         * text.C:
3798         * text2.C:
3799         * text3.C:
3800         * text_funcs.[Ch]:
3801         * textcursor.h:
3802         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3803           text*.C to text_func.C
3804
3805 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3806
3807         * introduce namespace lyx::support
3808
3809 2003-06-30  André Pönitz  <poenitz@gmx.net>
3810
3811         * Chktex.C:
3812         * funcrequest.C:
3813         * lyxtext.h:
3814         * text.C: re-enable --with-included-string
3815
3816 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * textcursor.C: add <config.h>
3819
3820         * text.C (getWord): remove const from word_location arg
3821
3822         * lyxvc.C (getLogFile): fix const type order
3823
3824         * lyxtext.h: remove const from word_location arg, add arg name
3825
3826         * lyxlayout.h: currect type on labeltype.
3827
3828         * importer.C: correct \file
3829
3830         * converter.C (intToFormat): use std:: on ret val, ws changes
3831
3832         * bufferlist.h: correct \file
3833
3834         * buffer.C (makeLinuxDocFile): fix const type order
3835         (makeDocBookFile): ditto
3836         (fillWithBibKeys): use std:: on stdlib args.
3837
3838         * CutAndPaste.C: fix authors.
3839         (availableSelections): use std:: on return vector
3840
3841 2003-06-27  André Pönitz  <poenitz@gmx.net>
3842
3843         * BufferView_pimpl.C:
3844         * bufferview_funcs.C:
3845         * lyxcursor.C:
3846         * lyxcursor.h:
3847         * lyxfunc.C:
3848         * lyxtext.h:
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: remove LyXCursor::row_ member
3853
3854         * lyxtext.h:
3855         * text.C: rename fullRebreak() to partialRebreak() and implement
3856           a fullRebreak() that really bereks fully
3857
3858         * textcursor.h: new struct for cursor-related data
3859
3860 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3861
3862         * lyx_main.C (LyX): get full path of document loaded on the
3863         command line
3864
3865 2003-06-26  André Pönitz  <poenitz@gmx.net>
3866
3867         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3868           remove unused/broken operator>,<,>=.
3869
3870         *       text.C: remove only use of broken operator<= in an Assert().
3871
3872 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3873
3874         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3875         moved errorlist_.clear to showErrorList
3876
3877 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3878
3879         * converter.C (scanLog, runLaTeX):
3880         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3881         move the bv->showErrorList call to the callers
3882         * lyxfunc.C: i.e. here...
3883         * text2.C: and here
3884         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3885         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3886         namespace, the second to...
3887         * buffer_funcs (BufferFormat, parseErrors): added
3888         * errorlist.C (ErrorList(TeXErrors const &)): removed
3889
3890 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3891
3892         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3893
3894 2003-06-24  "Garst R. Reese" <reese@isn.net>
3895
3896         * debug.C: fix typo
3897
3898 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3899
3900         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3901
3902         * version.C.in: change docversion to 1.4
3903
3904 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3905
3906         * buffer.C: fix a bug just introduced
3907
3908 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3909
3910         * buffer.[Ch]: added the parseError signal and use it, removed
3911         sgmlError
3912         * BufferView.[Ch] (addError): moved to ...
3913         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3914         to the Buffer::parseError signal to catch (guess what) parse errors
3915         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3916
3917 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3918
3919         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3920         ability to create a buffer and to return an existing one from
3921         the list. Moved these functions to...
3922         * buffer_funcs.[Ch]: added
3923         * BufferView.[Ch] (loadLyXFile): added
3924         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3925         job removed from bufferlist::loadLyXFile.
3926         * buffer.C (setReadOnly): make it work without view
3927         (i.e added an if (users))
3928
3929 2003-06-19  Angus Leeming  <leeming@lyx.org>
3930
3931         * lfuns.h:
3932         * LyXAction.C (init):
3933         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3934         with LFUN_DIALOG_SHOW <name> <data>.
3935
3936 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3937
3938         * CutAndPaste.C (availableSelections): small compilation fix for
3939         ancient (gcc 2.9x) compilers
3940
3941 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * text3.C (cursorNext): add tmp var
3944
3945         * text2.C (updateCounters): for function calling out of for clause
3946         (replaceSelectionWithString): ditto
3947         (insertStringAsParagraphs): ditto
3948         (getColumnNearX): add tmp var
3949         (setCursorFromCoordinates): add tmp var
3950         (cursorDownParagraph): add tmp var
3951         (deleteEmptyParagraphMechanism): add tmp var
3952
3953         * text.C (insertChar): add tmp var
3954
3955         * rowpainter.C (paintDepthBar): add tmp var
3956
3957         * CutAndPaste.C (availableSelections): potentially check all
3958         paragraphs in a cut to fill the shown strings.
3959
3960 2003-06-18  André Pönitz  <poenitz@gmx.net>
3961
3962         * kbmap.[Ch]: use vector<> instead of list<>
3963
3964 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3965
3966         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3967         pasteSelection with index
3968
3969         * text2.C (pasteSelection): modify, call pasteSelection with index
3970
3971         * paragraph.C (asString): reimplement version with no interval to
3972         call the one with interval.
3973
3974         * lyxtext.h: add index arg to pasteSelection
3975
3976         * MenuBackend.C (MenuItem): handle PasteRecent
3977         (Menu::read::Menutags): add md_pasterecent
3978         (read): handle it
3979         (expandPasteRecent): new function
3980         (expand): use it
3981
3982         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3983
3984         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3985         the limited stack
3986         (availableSelections): new function
3987
3988 2003-06-17  Angus Leeming  <leeming@lyx.org>
3989
3990         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3991
3992 2003-06-17  Angus Leeming  <leeming@lyx.org>
3993
3994         * lfuns.h:
3995         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3996
3997         * lyxfunc.C (dispatch): invoke it.
3998
3999 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4000
4001         * iterators.C (operator++, ParPosition): reintroduce some
4002         const_cast for the benefit of older compilers.
4003
4004 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4005
4006         * text3.C (dispatch): do not modify clipboard when doing
4007         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4008         LFUN_DELETE_SKIP on a selection selection
4009
4010 2003-06-16  André Pönitz  <poenitz@gmx.net>
4011
4012         * BufferView.C:
4013         * buffer.C:
4014         * buffer.h:
4015         * paragraph.C:
4016         * tabular.[Ch]: IU of clone() and getLabelList();
4017
4018 2003-06-13  André Pönitz  <poenitz@gmx.net>
4019
4020         * tabular.h: compactification
4021
4022 2003-06-12  André Pönitz  <poenitz@gmx.net>
4023
4024         * tabular.C:
4025         * tabular.h:
4026         * tabular_funcs.h: some renaming plus whitespace
4027
4028 2003-06-12  André Pönitz  <poenitz@gmx.net>
4029
4030         * BufferView.C:
4031         * BufferView_pimpl.C:
4032         * CutAndPaste.C:
4033         * buffer.C:
4034         * iterators.[Ch]:
4035         * lyxfunc.C:
4036         * text.C:
4037         * toc.C: Return a Paragraph & for ParIterator::operator*()
4038
4039 2003-06-11  John Levon  <levon@movementarian.org>
4040
4041         * lyx_main.C:
4042         * ToolbarBackend.h:
4043         * ToolbarBackend.C: add "Toolbars" section and
4044         put the flags there
4045
4046 2003-06-10  Angus Leeming  <leeming@lyx.org>
4047
4048         * lfuns.h:
4049         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4050
4051         * lyxfunc.C (dispatch): invoke it.
4052
4053 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * main.C: protect <ios> with HAVE_IOS
4056         (main): protect sync_with_stdio with HAVE_IOS
4057
4058 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4059
4060         * text2.C (cutSelection): adjust
4061         (pasteSelection): adjust
4062
4063         * messages.C: handle get of empty string
4064
4065         * main.C (main): use sync_with_stdio(false)
4066
4067         * lyxfunc.C (dispatch): adjust
4068
4069         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4070         (WriteAs): remove unneeded BufferView arg.
4071
4072         * bufferparams.h: use correct types on papersize, papersize2 and
4073         paperpackage.
4074
4075         * bufferparams.C (readToken): adjust for type
4076         (writeLaTeX): add missing cases to switch.
4077
4078         * bufferlist.C (quitWriteBuffer): adjust
4079         (close): adjust
4080
4081         * buffer.C (asciiParagraph): remove some commented code.
4082
4083         * CutAndPaste.C: remove current_view extern variable.
4084         (cutSelection): add BufferParams arg.
4085         (eraseSelection): add BufferParams arg.
4086         (pasteSelection): add Buffer const & arg
4087
4088 2003-06-07  John Levon  <levon@movementarian.org>
4089
4090         * buffer.C:
4091         * paragraph_funcs.C:
4092         * paragraph_pimpl.C:
4093         * text.C:
4094         * text2.C:
4095         * paragraph.h:
4096         * paragraph.C: allow InsetERT to freely space lines,
4097         and some consolidation of code
4098
4099 2003-06-06  José Matos  <jamatos@fep.up.pt>
4100
4101         * buffer.C (makeDocBookFile): fix bug #821
4102
4103 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4104
4105         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4106
4107 2003-06-04  Angus Leeming  <leeming@lyx.org>
4108
4109         * buffer.C: bump format to 224.
4110
4111 2003-06-05  André Pönitz  <poenitz@gmx.net>
4112
4113         * text2.C (redoParagraphs): remove two const_cast<>
4114
4115 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4116
4117         * ParagraphList.h: remove last remnants of NO_STD_LIST
4118
4119 2003-06-03  Angus Leeming  <leeming@lyx.org>
4120
4121         * factory.C (createInset): small change to the way InsetExternal's params
4122         are set.
4123
4124 2003-06-04  André Pönitz  <poenitz@gmx.net>
4125
4126         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4127
4128         * paragraph_pimpl.h:
4129         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4130
4131         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4132
4133         * undo_funcs.C: make some simple cases of undo work again
4134
4135 2003-06-03  John Levon  <levon@movementarian.org>
4136
4137         * ispell.C: HPUX doesn't have sys/select.h
4138         (from Albert Chin)
4139
4140 2003-06-03  John Levon  <levon@movementarian.org>
4141
4142         * CutAndPaste.C: update tabular and include inset
4143         buffer references
4144
4145         * buffer.h:
4146         * paragraph.h:
4147         * paragraph.C: remove owningBuffer(), don't pass Buffer
4148         to clone()
4149
4150         * factory.C: insetGraphicsParams changed
4151
4152 2003-06-02  John Levon  <levon@movementarian.org>
4153
4154         * LyXAction.C:
4155         * factory.C:
4156         * lfuns.h:
4157         * lyxfunc.C:
4158         * text3.C: remove insetparent
4159
4160 2003-06-02  John Levon  <levon@movementarian.org>
4161
4162         * buffer.h:
4163         * buffer.C: fix inset_iterator.end(), move out of line
4164         (bug 1149)
4165
4166 2003-06-01  John Levon  <levon@movementarian.org>
4167
4168         * text3.C: use a proper cut/paste when doing inset
4169         insert (from Jürgen Spitzmüller)
4170
4171 2003-06-01  John Levon  <levon@movementarian.org>
4172
4173         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4174
4175 2003-05-30  André Pönitz  <poenitz@gmx.net>
4176
4177         * rowpainter.C: unify second drawing phase
4178
4179 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * trans_mgr.C: remove one case of current_view
4182
4183         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4184
4185         * paragraph_funcs.h: remove paragraph.h include
4186
4187         * paragraph.h: delete NO_STD_LIST stuff
4188
4189         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4190
4191         * buffer.h: remove paragraph.h include
4192
4193         * ParagraphList.C: delete file
4194
4195         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4196
4197         * toc.C (getTocList): adjust
4198
4199         * paragraph_pimpl.C (validate): adjust
4200
4201         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4202
4203         * paragraph.C (Paragraph): adjust
4204         (getPositionOfInset): use const_iterator, adjust
4205         (bibitem): use const_iterator, adjust
4206         (setInsetOwner): adjust
4207
4208         * iterators.C (operator++): adjust
4209
4210         * InsetList.[Ch]: Replace selfmade iterator with standard
4211         vector::iterator also introduce const_iterator. Remove getPos,
4212         getInset and setInset from InsetTable. Adjust accordingly.
4213
4214         * BufferView.C (lockInset): adjust
4215         (ChangeInsets): adjust
4216
4217         * tabular.[Ch]: delete commented same_id functions
4218
4219 2003-05-28  John Levon  <levon@movementarian.org>
4220
4221         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4222
4223 2003-05-28  André Pönitz  <poenitz@gmx.net>
4224
4225         * metricsinfo.[Ch]: remove 'fullredraw' member
4226
4227 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4228
4229         * lyxtextclass.C (operator): remove caching.
4230
4231 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * text3.C: adjust
4234
4235         * text2.C (cursorBottom): adjust
4236         (setCounter): use ParagraphList::find, adjust
4237
4238         * text.C (workWidth): use ParagraphList::find, adjust
4239
4240         * lyxcursor.C (LyXCursor): adjust
4241
4242         * buffer.C (inset_iterator): adjust
4243
4244         * ParagraphList.h: make iterator(value_type) private, make
4245         ParagraphList a friend of iterator.
4246
4247         * ParagraphList.C (find): new function
4248
4249         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4250
4251 2003-05-27  André Pönitz  <poenitz@gmx.net>
4252
4253         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4254
4255 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4256
4257         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4258
4259 2003-05-26  John Levon  <levon@movementarian.org>
4260
4261         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4262
4263 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * remove same_id from function signatures, adjust.
4266
4267 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4270
4271         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4272
4273         * paragraph.C (Paragraph): get rid of same_ids parameter
4274
4275         * ParagraphList.C (insert): adjust
4276         (push_back): adjust
4277
4278 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * paragraph_funcs.C (breakParagraph): adjust
4281         (breakParagraphConservative): adjust
4282
4283         * buffer.C (readParagraph): adjust
4284
4285         * ParagraphList.C (insert): take a reference instead of a pointer
4286         (insert): adjust
4287
4288         * paragraph.[Ch] (id): new function
4289
4290         * bufferlist.C (newFile): adjust
4291
4292         * ParagraphList.C (ParagraphList): adjust
4293         (assign): adjust
4294         (push_back): take a reference instead of a pointer.
4295
4296         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4297
4298         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4299         instead.
4300
4301         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4302         set else use old code.
4303
4304         * ParagraphList.C: remove all NO_NEXT code and only compile this
4305         code of NO_STD_LIST is set.
4306
4307 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * BufferView_pimpl.C:
4310         * TextCache.C:
4311         * TextCache.h:
4312         * bufferlist.C:
4313         * errorlist.h:
4314         * format.C:
4315         * format.h:
4316         * graph.C:
4317         * lyxfunc.C:
4318         * lyxrc.C:
4319         * graphics/GraphicsConverter.C:
4320         * graphics/PreviewLoader.C: header adjustment
4321
4322 2003-05-23  Angus Leeming  <leeming@lyx.org>
4323
4324         * LaTeXFeatures.[Ch] (useBabel): new method.
4325         * bufferparams.C (writeLaTeX): use it.
4326
4327 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * ParagraphList.h (set): remove unused function.
4330
4331 2003-05-23  André Pönitz  <poenitz@gmx.net>
4332
4333         * BufferView.C:
4334         * BufferView_pimpl.C:
4335         * buffer.C:
4336         * buffer.h:
4337         * lyxfunc.C:
4338         * undo_funcs.C: setUndo reworked
4339
4340         * iterators.[Ch]: add access to topmost ParagraphList
4341
4342         * lyxtext.[Ch] (workWidth): add a const
4343
4344 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * texrow.[Ch] (increasePos): remove function
4347         * exporter.C (export): removed unused var and outdated comment
4348
4349 2003-05-23  Angus Leeming  <leeming@lyx.org>
4350
4351         * latexrunparams.h: rename fragile as moving_arg.
4352         * paragraph.C (simpleTeXOnePar): ditto.
4353         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4354
4355 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4358         (createUndo): ditto
4359         (textUndoOrRedo): comment out a currently unused var.
4360
4361         * paragraph.h (NO_NEXT): enable NO_NEXT
4362
4363         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4364
4365         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4366
4367         * exporter.C (Export): adjust for removeAutoInsets removal.
4368
4369         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4370
4371         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4372
4373         * BufferView.[Ch] (removeAutoInsets): delete function
4374
4375 2003-05-22  Angus Leeming  <leeming@lyx.org>
4376
4377         * latexrunparams.h: add a free_spacing variable.
4378
4379         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4380         to pass moving_arg, as the data is stored in runparams.fragile.
4381
4382         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4383         to Inset::latexOptional or to simpleTeXOnePar.
4384
4385         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4386         free_spacing arg to Inset::latexOptional.
4387
4388         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4389         free_spacing arg.
4390
4391 2003-05-22  Angus Leeming  <leeming@lyx.org>
4392
4393         * latexrunparams.h: add fragile and use_babel variables.
4394
4395         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4396         * buffer.C (makeLaTeXFile): store this returned value in
4397         runparams.use_babel, thus passing it to the inset::latex methods.
4398
4399         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4400         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4401
4402         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4403         longer has a fragile arg, as it is stored in runparams.fragile.
4404
4405         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4406         moving_arg parameter as the data is stored in runparams.fragile.
4407
4408         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4409         a fragile parameter as the data is stored in runparams.fragile.
4410
4411 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4412
4413         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4414
4415 2003-05-22  Angus Leeming  <leeming@lyx.org>
4416
4417         * latexrunparams.h: add a 'bool nice' which defaults to false.
4418
4419         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4420         now encapsulated within runparams.
4421
4422         * bufferlist.C (updateIncludedTeXfiles):
4423         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4424
4425 2003-05-22  Angus Leeming  <leeming@lyx.org>
4426
4427         * latexrunparams.h: new file containing struct LatexRunParams.
4428         * Makefile.am: add new file.
4429
4430         * LaTeX.[Ch] (c-tor, run):
4431         * buffer.[Ch] (makeLaTeXFile):
4432         * bufferlist.[Ch] (updateIncludedTeXfiles):
4433         * converter.C (convert, scanLog):
4434         * converter.[Ch] (runLaTeX):
4435         * exporter.C (Export):
4436         * paragraph.[Ch] (simpleTeXOnePar):
4437         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4438         * paragraph_funcs.[Ch] (latexParagraphs):
4439         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4441         pass around a LatexRunParams parameter.
4442
4443 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * paragraph.[Ch]: remove unused constructor
4446
4447         * ParagraphList.C (erase): new function, taking two iterators
4448
4449 2003-05-22  André Pönitz  <poenitz@gmx.net>
4450
4451         * undo_funcs.C: remove duplicated code
4452
4453         * iterator.[Ch]: operator=
4454
4455 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * tabular.C (SetMultiColumn): ws changes
4458
4459         * rowpainter.C (paintFirst): get rid of a ->previous
4460
4461         * lyx_cb.C (getPossibleLabel): parlist simplification
4462
4463         * BufferView.C (ChangeInsets): simplify slightly.
4464
4465 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4466
4467         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4468         * lfuns.h: new LFUN_SPACE
4469         * lyxfunc.C: protected space has a new lfun
4470         * paragraph_funcs.C: read new space insets
4471         * text3.C:
4472         * factory.C: handle new space insets
4473
4474 2003-05-22  André Pönitz  <poenitz@gmx.net>
4475
4476         * BufferView.C:
4477         * BufferView_pimpl.C:
4478         * buffer.[Ch]:
4479         * lyxfunc.C:
4480         * undo_funcs.C: return a ParIterator from getParFromID.
4481
4482         * iterators.[Ch]: add two const's
4483
4484 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * toc.C (getTocList): adjust
4487
4488         * iterators.[Ch]: rework for parlist
4489
4490         * buffer.C (par_iterator_begin): adjust
4491         (par_iterator_end): adjust
4492
4493         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4494
4495         * BufferView.C (removeAutoInsets): adjust
4496         (ChangeInsets): adjust
4497
4498 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * text.C (top_y): fix bug 1110
4501
4502 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * errorlist.[Ch]: added
4505         * buffer.C:
4506         * BufferView.[Ch]:
4507         * BufferView_pimpl.C:
4508         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4509         instead
4510
4511 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * Makefile.am: ensure that lyx is relinked upon changes to the
4514         various "convenience" libs.
4515
4516 2003-05-20  Angus Leeming  <leeming@lyx.org>
4517
4518         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4519         files are compiled in alphabetical order again.
4520
4521         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4522
4523 2003-05-19  Angus Leeming  <leeming@lyx.org>
4524
4525         * gettext.[Ch]: remove "char const * _(char const *)".
4526
4527 2003-05-19  André Pönitz  <poenitz@gmx.net>
4528
4529         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4530
4531         * Makefile.am:
4532         * BufferView.C:
4533         * DepTable.h:
4534         * LaTeXFeatures.C:
4535         * buffer.C:
4536         * lyxfont.C:
4537         * lyxlex.h:
4538         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4539
4540 2003-05-19  André Pönitz  <poenitz@gmx.net>
4541
4542         * buffer.C:
4543         * lyxlayout.[Ch]:
4544         * lyxtextclass.[Ch]:
4545         * paragraph.C:
4546         * paragraph_funcs.[Ch]:
4547         * text2.C:
4548         * text3.C: more insetenv work
4549
4550 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * ParagraphParameters.C (params2string): small bug fixed
4553
4554 2003-05-16  André Pönitz  <poenitz@gmx.net>
4555
4556         * debug.C:
4557         * bufferview_funcs.C: patch from Kornel Benko to prevent
4558           crash when _(...) is called twice in a statement
4559
4560 2003-05-16  André Pönitz  <poenitz@gmx.net>
4561
4562         * BufferView.C:
4563         * lyxfunc.C:
4564         * text.C:
4565         * text2.C:
4566         * text3.C:
4567         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4568
4569 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * lyx_main.C (init): remove spurious static_cast
4572
4573 2003-05-14  André Pönitz  <poenitz@gmx.net>
4574
4575         * BufferView.C: fix format string
4576
4577 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4578
4579         * BufferView.[Ch] (insertErrors): removed
4580         * BufferView.[Ch] (showErrorList): added
4581         * buffer.C (runChkTeX):
4582         * converter.C (scanLog): call showErrorList instead of inserterrors
4583
4584 2003-05-13  André Pönitz  <poenitz@gmx.net>
4585
4586         * BufferView_pimpl.C:
4587         * buffer.C:
4588         * bufferview_func.C:
4589         * MenuBackend.C:
4590         * lyxfunc.C:
4591         * lyxrc.C:
4592         * tex-accent.C:
4593         * text3.C:
4594         * toc.C:
4595         * tabular_funcs.h: tostr() from its own header
4596
4597         * ParagraphParameters.C:
4598         * ToolbarBackend.C:
4599         * bufferparams.C:
4600         * format.C:
4601         * lyxlex_pimpl.C:
4602         * text3.C: STRCONV()
4603
4604 2003-05-12  André Pönitz  <poenitz@gmx.net>
4605
4606         * BufferView.C:
4607         * BufferView_pimpl.C:
4608         * CutAndPaste.C:
4609         * LaTeX.C:
4610         * LaTeXFeatures.C:
4611         * ParagraphParameters.C:
4612         * buffer.C:
4613         * bufferlist.C:
4614         * bufferparams.C:
4615         * bufferview_funcs.C:
4616         * converter.C:
4617         * counters.C:
4618         * debug.C:
4619         * exporter.C:
4620         * format.C:
4621         * importer.C:
4622         * lyx_cb.C:
4623         * lyx_main.C:
4624         * lyxfont.C:
4625         * lyxfunc.C:
4626         * lyxvc.C:
4627         * paragraph.C:
4628         * paragraph_funcs.C:
4629         * tabular.C:
4630         * tabular_funcs.C:
4631         * text2.C:
4632         * text3.C:  boost::format -> bformat  all over the place
4633
4634
4635 2003-05-09  André Pönitz  <poenitz@gmx.net>
4636
4637         * LColor.[Ch]: Pimpl the #include <map> away
4638
4639 2003-05-09  John Levon  <levon@movementarian.org>
4640
4641         * bufferlist.C: never remove emergency saves
4642
4643 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4644
4645         * Makefile.am: better lib building
4646
4647 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4650         instead.
4651         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4652         (simpleTeXSpecialChars): adjust
4653         (simpleTeXSpecialChars): adjust
4654         * paragraph.C (simpleTeXOnePar): adjust
4655         * buffer.C (makeLaTeXFile): adjust
4656
4657         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4658
4659         * text2.C (changeDepth): parlist cleanup
4660         (getColumnNearX): ditto
4661
4662         * rowpainter.C (getLabelFont): parlist cleanup
4663
4664         * bufferlist.C (newFile): parlist cleanup
4665
4666         * CutAndPaste.C (eraseSelection): parlist cleanup
4667
4668         * BufferView_pimpl.C (trackChanges): parlist cleanup
4669         (dispatch): ditto
4670
4671         * BufferView.C (lockInset): parlist cleanup.
4672         (ChangeInsets): ditto
4673
4674 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * CutAndPaste.h: Update file header.
4677
4678         * CutAndPaste.C: Update file header.
4679         Store the parts cut out of the Document in a limited_stack.
4680         (copySelection): adjust
4681         (pasteSelection): new function, takes the index in the limited stack.
4682         (nrOfParagraphs): adjust
4683         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4684         simplify error inset insertion.
4685         (checkPastePossible): adjust
4686
4687 2003-05-06  John Levon  <levon@movementarian.org>
4688
4689         * text2.C: don't cast wrap inset to float
4690
4691 2003-05-05  André Pönitz  <poenitz@gmx.net>
4692
4693         * iterator.C:
4694         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4695
4696         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4697           few naked Paragraph *.
4698
4699 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4700
4701         * bufferparams.C: Output warning if a document with missing
4702         TeX document class is loaded
4703         * exporter.C: Disable TeX exports if the document class is missing
4704         * lyxtextclass.C:
4705         * lyxtextclass.h:
4706         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4707         isTeXClassAvailable()
4708
4709 2003-05-03  John Levon  <levon@movementarian.org>
4710
4711         * BufferView.h:
4712         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4713         explicit cursor show/hide
4714
4715         * BufferView_pimpl.h:
4716         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4717         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4718
4719         * lyxfunc.C: hide cursor before dispatching.
4720
4721         * lyx_cb.C:
4722         * lyxfind.C:
4723         * text.C:
4724         * text3.C: remove explicit cursor hides
4725
4726 2003-05-02  André Pönitz  <poenitz@gmx.net>
4727
4728         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4729
4730         * undo_funcs.C:
4731         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4732           linked lists
4733
4734         * text2.C: tiny whitespace
4735
4736 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * undo_funcs.C: almost only ws changes.
4739
4740         * ParagraphList.C (splice): just return if pl is empty.
4741
4742 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * ParagraphList.C (splice): new function.
4745
4746         * CutAndPaste.C (pasteSelection): use it
4747
4748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * CutAndPaste.C (pasteSelection): remove the last next and
4751         previous from this file.
4752
4753 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * CutAndPaste.C (pasteSelection): more clean up, user proper
4756         ParagraphList functions for pasteing.
4757
4758         * ParagraphList.C (insert): new function, three arg insert
4759
4760 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * ParagraphList.C (insert): new function, three arg insert
4763
4764         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4765         not on paragraphs.
4766
4767 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4768
4769         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4770
4771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4774
4775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4778         (copySelection): clean up a bit.
4779         (pasteSelection): use make_pair
4780
4781         * ParagraphList.C (ParagraphList): implement copy constructor
4782         (operator=): implement, base on copy constructor.
4783         (assign): new func
4784
4785         * paragraph.C (erase): return a bool
4786
4787         * paragraph_pimpl.C (erasePos): remove function, move contents...
4788         (erase): ... here. Return a bool.
4789         (erase): call erase instead of erasePos.
4790
4791 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4792
4793         * ParagraphList.h: define PitPosPair
4794         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4795         ParagraphList, fix a bug on pasting multiple pars
4796         * text2.C: change interface to C&P
4797
4798 2003-04-30  André Pönitz  <poenitz@gmx.net>
4799
4800         * undo_func.C: revert part of yesterday's patch 2
4801
4802 2003-04-30  John Levon  <levon@movementarian.org>
4803
4804         * LColor.C: s/tabular/table/
4805
4806 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * text3.C (dispatch): do not convert iterator -> pointer
4809         * undo_funcs.C (setCursorParUndo): ditto
4810         * text_funcs.C (transposeChars): ditto
4811
4812         * text2.C (setLayout): ws changes only
4813
4814         * text.C (breakParagraph): do not convert iterator -> pointer
4815         (insertChar): ditto
4816         (acceptChange): ditto
4817         (rejectChange): ditto
4818         (changeCase): ditto
4819         (Delete): ditto
4820         (backspace): ditto
4821
4822         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4823         pointer
4824
4825 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4826
4827         * text3.C (gotoInset): YABG (yet another bad getChar)
4828
4829 2003-04-29  André Pönitz  <poenitz@gmx.net>
4830
4831         * paragraph.h: make operator= private unimplemented as long as
4832           it is unusable
4833
4834         * ParagraphList.C: whitespace
4835
4836         * paragraph.[Ch]:
4837         * paragraph_pimpl.[Ch]:
4838         * paragraph_funcs.C:
4839         * CutAndPaste.C:
4840         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4841
4842         * text2.C:
4843           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4844
4845 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4846
4847         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4848         * paragraph.[Ch] (erase):
4849         * paragraph_pimpl.[Ch] (erase): change return type and value
4850         * text2.C (cutSelection): some rework
4851
4852 2003-04-28  John Levon  <levon@movementarian.org>
4853
4854         * bufferlist.C: changes for unsaved changes dialog
4855
4856 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * bufferlist.C (newFile): set language (messages_) for new
4859         documents also.
4860
4861         * buffer.C (readFile): ws changes only.
4862
4863 2003-04-28  André Pönitz  <poenitz@gmx.net>
4864
4865         * undo_funcs.C:
4866         * lyxfunc.C:
4867         * buffer.[Ch]:
4868         * BufferView_pimpl.C:
4869         * BufferView.C: getParFromID related ParagraphList::iterator changes
4870
4871 2003-04-28  André Pönitz  <poenitz@gmx.net>
4872
4873         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4874           Changes
4875
4876 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * messages.C: remove one more localedir class variable.
4879
4880 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * messages.C (getLocaleDir): singleton generation function
4883         (Pimpl): use it.
4884         (Messages): add a default constructor.
4885
4886         * main.C (main): do not setup localedir here, do not call
4887         gettext_init.
4888
4889         * gettext.C (_): use it.
4890         (gettext_init): delete funciton
4891
4892 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * gettext.C (getLyXMessages): new singleton generating function.
4895
4896         * buffer.C (updateDocLang): adjust
4897
4898         * Makefile.am (messages.o): add target
4899         (main.o): remove target
4900
4901 2003-04-27  John Levon  <levon@movementarian.org>
4902
4903         * bufferlist.C:
4904         * lyx_cb.C:
4905         * lyxfunc.C:
4906         * lyxvc.C: specify cancel button in Alert::prompt
4907
4908 2003-04-26  John Levon  <levon@movementarian.org>
4909
4910         * text3.C:
4911         * lyxfunc.C:
4912         * lfuns.h:
4913         * LyXAction.C: add LFUN_INSET_SETTINGS
4914
4915         * lyxfunc.C: don't enable tabular-feature when there's
4916         just any locking inset
4917
4918 2003-04-26  John Levon  <levon@movementarian.org>
4919
4920         * bufferlist.C: re-add Cancel to buffer close question
4921
4922         * lyxfunc.C: fix import UI a bit
4923
4924 2003-04-25  John Levon  <levon@movementarian.org>
4925
4926         * gettext.C: remove the broken asserts for now
4927
4928 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * messages.C: make case where setlocale cannot comply work better.
4931
4932         * buffer.C (updateDocLang): new function
4933         (changeLanguage): use it
4934         (readFile): use it
4935
4936         * text2.C (setCounter): use B_ a bit.
4937
4938         * lyxlayout.C (Read): be sure to trim the label strings.
4939
4940         * messages.C (Messages): fix typo in comment
4941
4942         * buffer.C (readFile): set message_ after file is loaded.
4943         (makeDocBookFile): remove double return
4944         (changeLanguage): reset message_ upon language change.
4945         (B_): new func, use this to get translated buffer strings.
4946
4947         * main.C: add myself and Jean Marc as authors.
4948
4949 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * messages.[hC]: pimplify Messages, and three different pimpls to be
4952         used in different circumstances.
4953
4954         * gettext.[Ch]: change for use with new message code.
4955
4956 2003-04-24 André Pönitz <poenitz@gmx.net>
4957
4958         * factory.C: support for eqref
4959
4960 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * messages.[Ch]: add missing char
4963
4964         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4965
4966         * messages.[Ch]: New files
4967
4968 2003-04-18  John Levon  <levon@movementarian.org>
4969
4970         * BufferView.h:
4971         * BufferView.C:
4972         * BufferView_pimpl.C:
4973         * lfuns.h:
4974         * LyXAction.C:
4975         * lyxtext.h:
4976         * text2.C: remove layout-copy/paste (bug 778)
4977
4978 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4981
4982 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4985         if they succeed. Act accordingly.
4986
4987 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * text2.C (setCharFont): adjust
4990         (setCounter): adjust
4991         (insertStringAsLines): adjust
4992
4993         * text.C (leftMargin): adjust
4994         (setHeightOfRow): adjust
4995
4996         * rowpainter.C (paintFirst): adjust
4997         (paintLast): adjust
4998
4999         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5000         (outerHook): ditto
5001         (isFirstInSequence): ditto
5002         (getEndLabel): ditto
5003         (outerFont): adjust
5004
5005         * paragraph.C (getParLanguage): comment out some hard stuff.
5006
5007         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5008         (sgmlError): ditto
5009         (simpleDocBookOnePar): ditto
5010         (makeDocBookFile): use ParagraphList::iterator
5011
5012         * CutAndPaste.C (pasteSelection): adjust
5013
5014 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * text2.C (getFont): adjust
5017         (getLayoutFont): adjust
5018         (getLabelFont): adjust
5019
5020         * paragraph_funcs.C (TeXOnePar): adjust
5021
5022         * buffer.C (simpleLinuxDocOnePar): adjust
5023         (simpleDocBookOnePar): adjust
5024
5025         * CutAndPaste.C (pasteSelection): adjust
5026
5027         * BufferView.C (getEncoding): adjust
5028
5029         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5030
5031 2003-04-16  John Levon  <levon@movementarian.org>
5032
5033         * lyxfind.C: use parlist stuff for search/changes
5034
5035 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5038
5039         * text2.C (deleteEmptyParagraphMechanism): adjust
5040
5041         * text2.[Ch] (ownerParagraph): delete func (both of them
5042
5043 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5046
5047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5048
5049         * ParagraphList.C: prepare for NO_NEXT
5050
5051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * text2.C (getFont): adjust
5054         (getLayoutFont): adjust
5055         (getLabelFont): adjust
5056
5057         * paragraph.C (getFont): adjust
5058         (getLabelFont): adjust
5059         (getLayoutFont): adjust
5060
5061         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5062
5063 2003-04-15  John Levon  <levon@movementarian.org>
5064
5065         From Angus Leeming
5066
5067         * lyx_main.C: handle Include in .ui files
5068
5069 2003-04-15  John Levon  <levon@movementarian.org>
5070
5071         * MenuBackend.C: make the doc files length shorter
5072
5073         * ToolbarBackend.h:
5074         * ToolbarBackend.C: handle toolbar placement flags,
5075         Minibuffer
5076
5077 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5080         adjust
5081
5082         * paragraph_funcs.C (TeXOnePar): adjust
5083
5084         * paragraph.C (getLabelFont): add outerfont arg, adjust
5085         (getLayoutFont): ditto
5086         (simpleTeXOnePar): adjust
5087
5088         * paragraph_pimpl.C (realizeFont): delete func
5089
5090 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5093         row argument, constify cur argument.
5094
5095 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * text2.C (getFont): adjust
5098         (getLayoutFont): adjust
5099         (getLabelFont): adjust
5100
5101         * paragraph_funcs.C (TeXOnePar): adjust
5102         (outerFont): new func...
5103         (realizeFont): ...moved out from here, changed this to facilitate
5104         transition
5105
5106         * paragraph.C (getFont): take outerfont as arg, adjust
5107         (simpleTeXOnePar): add outerfont arg, adjust
5108
5109         * buffer.C (simpleLinuxDocOnePar): adjust
5110         (simpleDocBookOnePar): adjust
5111
5112         * CutAndPaste.C (pasteSelection): adjust
5113
5114         * BufferView.C (getEncoding): adjust
5115
5116 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * text2.C (setCharFont): adjust
5119         (setCounter): adjust
5120
5121         * text.C (leftMargin): adjust
5122         (setHeightOfRow): adjust
5123
5124         * rowpainter.C (paintFirst): adjust
5125         (paintLast): adjust
5126
5127         * paragraph_pimpl.C (realizeFont): adjust
5128
5129         * paragraph.C (isFirstInSequence): move from here...
5130         * paragraph_funcs.C (isFirstInSequence): ...to here
5131
5132         * paragraph.C (outerHook): move from here...
5133         * paragraph_funcs.C (outerHook): ...to here
5134
5135         * paragraph.C (depthHook): move from here...
5136         * paragraph_funcs.C (depthHook): ...to here
5137
5138         * paragraph.C (getEndLabel): move from here...
5139         * paragraph_funcs.C (getEndLabel): ...to here
5140
5141         * text2.C (realizeFont): move from here...
5142         * paragraph_funcs.C (realizeFont): ...to here
5143
5144 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5147
5148 2003-04-14  Angus Leeming  <leeming@lyx.org>
5149
5150         * LColor.[Ch]: scrap LColor mathcursor.
5151
5152 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * lyxlex.[Ch] (text): delete function
5155         * trans.C (Load): adjust
5156         * paragraph_funcs.C (readParToken): adjust
5157
5158 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5161         vector<char> instead of a char[].
5162
5163         * lyxlex_pimpl.C (getString): adjust
5164         (next): adjust
5165         (lex): use getString
5166         (eatLine): adjust
5167         (nextToken): adjust
5168
5169         * lyxlex.C (text): use pimpl_->getString()
5170         (getBool): ditto
5171         (findToken): ditto
5172
5173 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5176         (makeFontEntriesLayoutSpecific): temp var for par.size()
5177         (setLayout): temp var for ownerParagraphs().end()
5178         (fullRebreak): temp var for rows().end()
5179         (selectionAsString): temp var for boost::next(startpit), realize
5180         that the while really is a regular for loop.
5181         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5182         setCursor in one place.
5183         (setParagraph): temp vr for ownerParagraphs().end()
5184         (updateCounters): make the while loop a for loop
5185         (cutSelection): temp var for ownerParagraphs().end()
5186         (updateInset): make the do {} while() a regular for loop
5187         (getCursorX): use temp vars
5188         (setCurrentFont): use temp vars
5189         (getColumnNearX): use temp vars
5190
5191 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * text.C (transformChar): use temp var for getChar
5194         (computeBidiTables): use temp var for row->par()
5195         (fill): move temp vars for row->par() and pit->layout() earlier in
5196         the function.
5197         (labelFill): use temp var for row->par()
5198         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5199         asc and desc, realize that pit never changes and that firstpit is
5200         just a duplicate and not needed. Exchange rit->par() with pit in a
5201         lot of places.
5202         (breakAgain): use a temp var for boost::next(rit)
5203         (breakAgainOneRow): ditto
5204         (breakParagraph): use a temp var for rows().begin()
5205         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5206         (cursorRightOneWord): use temp var for cursor.par() and
5207         cursor.pos(), remove usage of tmpcursor.
5208         (cursorLeftOneWord): use temp var for cursor.par() and
5209         cursor.pos() only set cur at end of function.
5210
5211 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text.C, text2.C: exchange all usage of Paragraph::next with
5214         boost::next(ParagraphList::iterator)
5215
5216         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5217
5218         * text2.C (cursorTop): simplify implementation
5219         (cursorBottom): ditto
5220         (setParagraph): use ParagraphList::iterator
5221         (setCurrentFont): adjust
5222         (getColumnNearX): adjust
5223         (cursorRight): adjust
5224         (cursorLeft): remove usage of Paragraph::previous
5225         (cursorUpParagraph): ditto
5226         (deleteEmptyParagraphMechanism): slight cleanup
5227
5228         * text.C (isBoundary): take a Paragraph const & instead of a
5229         pointer as arg.
5230         (addressBreakPoint): ditto
5231         (leftMargin): remove usage of Paragraph::previous.
5232         (setHeightOfRow): ditto
5233         (cursorLeftOneWord): ditto
5234         (selectNextWordToSpellcheck): ditto
5235         (Delete): ditto
5236         (backspace): ditto
5237         (breakParagraph): remove one usage of Paragraph::next
5238         (redoParagraph): ditto
5239         (acceptChange): ditto
5240         (insertChar): adjust
5241         (rowBreakPoint): adjust
5242
5243         * bufferview_funcs.C (toggleAndShow): adjust
5244
5245 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5248         methods to access it.
5249         * lyxtext.h:
5250         * text.C: Added updateRowPositions to compute all row positions.
5251         Make top_y and getRowNearY() to use the cached y position
5252
5253 2003-04-11  John Levon  <levon@movementarian.org>
5254
5255         * text.C (rowBreakPoint): reintroduce the labelEnd
5256         checks, code copied from the row fill stuff. Deep voodoo.
5257
5258         * text.C (fill): add a comment and debugging for the
5259         next poor soul.
5260
5261 2003-04-11  John Levon  <levon@movementarian.org>
5262
5263         * text.C: make sure fullrow insets get wrapped to the next line,
5264         even when they're in a manual label
5265
5266 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * text2.C (insertParagraph): make it take ParagraphList::iterator
5269         as arg.
5270         (setLayout): make it return ParagraphList::iterator
5271         (redoParagraphs): ditto
5272         (setCounter): ditto
5273         (checkParagraph): ditto
5274
5275         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5276
5277         * text2.C: adjust several funcs.
5278         (realizeFont): take a ParagraphList::iterator as arg.
5279         (getLayoutFont): ditto
5280         (getLabelFont): ditto
5281         (setCharFont): ditto
5282
5283         * text.C: adjust several funcs.
5284
5285 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5286
5287         * text.C (selectNextWordToSpellcheck): don't accidentally
5288         skip insets
5289
5290 2003-04-10  John Levon  <levon@movementarian.org>
5291
5292         * ToolbarBackend.C (getIcon): special handling for
5293         LFUN_MATH_DELIM
5294
5295 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * text2.C (cursorRight): a getChar assert fixed
5298
5299 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * text2.C (getFont): change to take a ParagraphList::iterator
5302         instead of Paragraph*
5303         Adjust several functions.
5304
5305         * text.C (transformChar): change to take a ParagraphList::iterator
5306         instead of Paragraph*
5307         (singleWidth): ditto
5308         Adjust several functions.
5309
5310         * rowpainter.C: adjust several functions
5311         * rowpainter.h:store a ParagraphList::iterator and not a
5312         Paragraph&.
5313
5314
5315 2003-04-09  John Levon  <levon@movementarian.org>
5316
5317         * lyxfunc.C:
5318         * lfuns.h:
5319         * LyXAction.h:
5320         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5321         and the "help" bits as well
5322
5323 2003-04-09  John Levon  <levon@movementarian.org>
5324
5325         * ToolbarBackend.h:
5326         * ToolbarBackend.C: allow multiple toolbars
5327
5328 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * undo_funcs.C (setCursorParUndo): adjust
5331
5332         * text_funcs.C (transposeChars): adjust
5333
5334         * text3.C (gotoNextInset): adjust
5335         (dispatch): adjust
5336
5337         * text2.C (setLayout): adjust
5338         (changeDepth): adjust
5339         (setFont): adjust
5340         (redoParagraphs): adjust
5341         (selectionAsString): adjust
5342         (setParagraph): adjust
5343         (insertInset): adjust
5344         (cutSelection): adjust
5345         (copySelection): adjust
5346         (pasteSelection): adjust
5347         (insertStringAsLines): adjust
5348         (updateInset): adjust
5349         (setCursor): change to take a ParagraphList::iterator parameter
5350         (setCursorIntern): change to take a ParagraphList::iterator parameter
5351         (setCurrentFont): adjust
5352         (cursorLeft): adjust
5353         (cursorRight): adjust
5354         (deleteEmptyParagraphMechanism): adjust
5355
5356         * text.C (breakParagraph): adjust
5357         (insertChar): adjust
5358         (acceptChange): adjust
5359         (rejectChange): adjust
5360         (selectNextWordToSpellcheck): adjust
5361         (changeCase): adjust
5362         (Delete): adjust
5363         (backspace): adjust
5364
5365         * lyxfind.C (SearchForward): adjust
5366         (SearchBackward): adjust
5367         (nextChange): adjust
5368
5369         * lyxcursor.C (par): adjust
5370
5371         * lyxcursor.h: store a ParagraphList::iterator instead of a
5372         Paragraph*
5373
5374         * lyx_cb.C (getPossibleLabel): adjust
5375
5376         * bufferview_funcs.C (toggleAndShow): adjust
5377
5378         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5379         (dispatch): adjust
5380
5381         * BufferView.C (removeAutoInsets): adjust
5382         (lockedInsetStoreUndo): adjust
5383
5384 2003-04-09  John Levon  <levon@movementarian.org>
5385
5386         * ToolbarBackend.C: try icon without argument
5387         if with argument fails
5388
5389 2003-04-08  John Levon  <levon@movementarian.org>
5390
5391         * ToolbarBackend.h:
5392         * ToolbarBackend.C: add getIcon(), handle tooltip,
5393         and change from "Icon" to "Item".
5394
5395 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * BufferView.C (lockInset): another bad getchar crunched
5398
5399 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5402         again)
5403
5404 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * lyxfind.C (searchForward, searchBackwards): bug 782
5407
5408 2003-04-07  John Levon  <levon@movementarian.org>
5409
5410         * paragraph.C: remove dead comment
5411
5412         * text.C: remove troublesome depth-fiddling code
5413         in leftMargin() and rightMargin() (bug 1017)
5414
5415         * text.C: fix breaking of rows in nested lists
5416         (bug 1004)
5417
5418         * text2.C (updateCounters): fix up depth values
5419         (bug 1013)
5420
5421 2003-04-07  John Levon  <levon@movementarian.org>
5422
5423         * BufferView_pimpl.C: clear message when doc finishes resizing,
5424         and after a mouse event
5425
5426         * lyxfunc.C: clear message after exiting inset
5427
5428 2003-04-07  John Levon  <levon@movementarian.org>
5429
5430         * bufferview_funcs.C: show math status not outside
5431         status in the statusbar
5432
5433 2003-04-07  John Levon  <levon@movementarian.org>
5434
5435         * lyxfunc.C: note status changed after a depth change
5436
5437 2003-04-04  Angus Leeming  <leeming@lyx.org>
5438
5439         * LaTeX.h: move AuxInfo operator==, != out of line.
5440         Remove LaTeX virtual destructor; nothing derives from it.
5441         Move operator()() out of public area and rename it startscript().
5442         Change protected for private.
5443
5444 2003-04-04  Angus Leeming  <leeming@lyx.org>
5445
5446         * lyxfunc.C:
5447         * text2.C: remove unneeded #includes.
5448
5449 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * text2.C (dEPM): fix the heigth of the next row
5452
5453 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * text.C: squashed an invalid getChar requester + some ws changes
5456
5457 2003-04-03  John Levon  <levon@movementarian.org>
5458
5459         * bufferview_funcs.h:
5460         * bufferview_funcs.C:
5461         * lyxfunc.C:
5462         * lyxtext.h:
5463         * text2.C: make getStatus work for the env depth lfuns
5464
5465 2003-04-03  John Levon  <levon@movementarian.org>
5466
5467         * bufferview_funcs.h:
5468         * bufferview_funcs.C:
5469         * lyxfunc.C:
5470         * lyxtext.h:
5471         * text2.C: parlistize decDepth(), by merging it with incDepth()
5472
5473 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * lyxrow.h: store a ParagraphList::iterator instead of a
5476         Paragraph* and adjust other class functions to suit.
5477
5478         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5479         above.
5480
5481 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5482
5483         * text2.C (setCursor): do not anchor to cursor row for the time being
5484
5485 2003-04-02  John Levon  <levon@movementarian.org>
5486
5487         * LyXAction.C:
5488         * lfuns.h:
5489         * lyx_main.C:
5490         * lyxtext.h:
5491         * text.C:
5492         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5493
5494 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * paragraph.h: make ParagraphList and ParagraphList::iterator
5497         friends of Paragraph.
5498
5499         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5500
5501         * ParagraphList.C: Use the private next_ and previous_ from
5502         Paragraph.
5503
5504 2003-04-01  John Levon  <levon@movementarian.org>
5505
5506         * ToolbarBackend.h:
5507         * ToolbarBackend.C:
5508         * Makefile.am: rename, remove defaults gunk
5509
5510         * MenuBackend.h:
5511         * MenuBackend.C: remove defaults gunk
5512
5513         * Languages.h:
5514         * Languages.C: remove defaults gunk
5515
5516         * lyx_main.h:
5517         * lyx_main.C: error out if files couldn't be found.
5518
5519 2003-04-02  John Levon  <levon@movementarian.org>
5520
5521         * text2.C: make incDepth() use parlist
5522
5523 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * undo_funcs.C (firstUndoParagraph): adjust
5526
5527         * text3.C (gotoInset): adjust
5528         (dispatch): adjust, and rewrite loop.
5529
5530         * text2.C (init): adjust, and rewrite loop.
5531         (redoParagraphs): adjust
5532         (updateInset): adjust, and rewrite loop.
5533         (deleteEmptyParagraphMechanism): adjust
5534
5535         * tabular.C (LyXTabular): adjust
5536         (SetMultiColumn): adjust
5537         (TeXRow): adjust
5538
5539         * lyxtext.[Ch] (ownerParagraph): delete function
5540         (ownerParagraphs): new function returns a ParagraphList.
5541
5542         * BufferView.C (removeAutoInsets): adjust
5543         (insertErrors): adjust
5544         (setCursorFromRow): adjust
5545
5546 2003-04-01  Angus Leeming  <leeming@lyx.org>
5547
5548         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5549         in the frontends.
5550
5551 2003-04-02  John Levon  <levon@movementarian.org>
5552
5553         * lyxtext.h:
5554         * text.C:
5555         * Makefile.am:
5556         * text_funcs.h:
5557         * text_funcs.C: make transposeChars a free function
5558
5559         * lyxrow_funcs.C: remove wrong comment
5560
5561 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5562
5563         * lyxtext.h: adjust
5564         * rowpainter.C: adjust
5565         * text.C: adjust
5566         * text2.C: adjust
5567         * text3.C: adjust
5568
5569         * lyxrow_funcs. [Ch]: new files
5570
5571         * lyxrow.[Ch]: remove next and previous pointers
5572         (next,previous): remove accessor functions
5573         (isParEnd): move to lyxrow_funcs
5574         (lastPos): move to lyxrow_funcs
5575         (nextRowIsAllInset): move to lyxrow_funcs
5576         (lastPrintablePos): move to lyxrow_funcs
5577         (numberOfSeparators): move to lyxrow_funcs
5578         (numberOfHfills): move to lyxrow_funcs
5579         (numberOfLabelHfills): move to lyxrow_funcs
5580         (hfillExpansion): move to lyxrow_funcs
5581
5582         * lyxfunc.C: adjust
5583
5584         * bufferview_funcs.C (toggleAndShow): adjust
5585
5586         * RowList.h: Remove class RowList from file leave just a
5587         std::list<Row>.
5588
5589         * RowList.C: delete file
5590
5591         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5592         and lyxrow_funcs.h
5593
5594 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * text3.C (cursorPrevious): adjust
5597         (cursorNext): adjust
5598         (dispatch): adjust
5599
5600         * text2.C (redoHeightOfParagraph): adjust
5601         (redoDrawingOfParagraph): adjust
5602         (setCursor): adjust
5603
5604         * text.C (breakParagraph): adjust
5605         (insertChar): adjust
5606         (backspace): adjust
5607
5608         * rowpainter.C (RowPainter): adjust
5609         (leftMargin): simplify and adjust
5610         (most rowpainter functions): adjust.
5611
5612         * rowpainter.h: store the row as RowList::iterator not as Row*
5613
5614         * lyxcursor.C (row): taka RowList::iterator as arg
5615         (irow): ditto
5616
5617         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5618         of Row*.
5619
5620 2003-04-01  Angus Leeming  <leeming@lyx.org>
5621
5622         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5623         stuff like bool Bool.
5624
5625 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5628         rewrite a loop
5629
5630 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5633         RowList::iterator.
5634
5635         * lyxtext.h (rows): drop one version and leve a const variant that
5636         returns a RowList::iterator.
5637
5638 2003-03-31  Angus Leeming  <leeming@lyx.org>
5639
5640         * text.C (fill): ensure that the signature is the same as that in the
5641         header file.
5642
5643 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * text2.C (redoParagraphs): adjust
5646         (updateCounters): adjust
5647         (checkParagraph): adjust
5648         (getColumnNearX): adjust and reformat a bit.
5649
5650         * text.C (top_y): adjust
5651         (workWidth): adjust
5652         (leftMargin): adjust
5653         (prepareToPrint): adjust
5654         (getRow): adjust
5655         (getRowNearY): adjust
5656
5657         * lyxtext.h: make rowlist_ mutable.
5658
5659         * RowList.h: add const_iterator
5660         * RowList.C: adjust for RowList::const_iterator.
5661
5662         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5663         adjust.
5664
5665 2003-03-31  John Levon  <levon@movementarian.org>
5666
5667         * lyxrc.h:
5668         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5669
5670         * lyx_main.C: set default fonts from using lyx_gui funcs
5671
5672         * exporter.C: pdf_mode moved from lyxrc
5673
5674         * lyx_cb.C:
5675         * lyxfunc.C: changes from above
5676
5677 2003-03-31  John Levon  <levon@movementarian.org>
5678
5679         * lyx_main.C: fix to the last fix
5680
5681 2003-03-31  John Levon  <levon@movementarian.org>
5682
5683         * bufferlist.C: "Load original" -> "Load Original"
5684
5685         * converter.C:
5686         * exporter.C:
5687         * importer.C:
5688         * lyx_main.C:
5689         * format.C: more Alert cleanups
5690
5691 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * text2.C (removeParagraph): make it take a RowList::iterator as
5694         arg, adjust.
5695         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5696         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5697
5698         * text.C (anchor_row): make it take a RowList::iterator as arg,
5699         adjust.
5700         (computeBidiTables): make it take a const reference to Row instead
5701         of Row pointer, adjust.
5702         (leftMargin): make it take a RowList::iterator as arg, adjust.
5703         (rowBreakPoint): adjust
5704         (breakAgainOneRow): make it take a RowList::iterator as arg,
5705         adjust.
5706         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5707
5708         * bufferview_funcs.C (toggleAndShow): adjust
5709
5710 2003-03-30  John Levon  <levon@movementarian.org>
5711
5712         * Makefile.am:
5713         * BoostFormat.h:
5714         * boost-inst.C: moved to support
5715
5716         * several files: changes as a result
5717
5718 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * text2.C (LyXText): adjust.
5721         (init): adjust
5722         (removeRow): make it take a RowList::iterator as arg, adjust.
5723         (fullRebreak): adjust
5724         (deleteEmptyParagraphMechanism): adjust
5725         (clearPaint): adjust
5726         (postPaint): adjust
5727
5728         * text.C (top_y): adjust
5729         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5730         (breakAgain): make it take a RowList::iterator as arg, adjust.
5731         (breakParagraph): adjust
5732         (insertChar): adjust
5733         (backspace): adjust
5734
5735         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5736         need_break_row, and refresh_row.
5737
5738         * text3.C (dispatch): adjust
5739
5740         * text2.C (checkParagraph): adjust
5741         (setCursor): adjust
5742         (setCursorFromCoordinates): adjust
5743
5744         * text.C (top_y): adjust
5745         (workWidth): adjust
5746         (getRow): make it return a RowList::iterator, adjust
5747         (getRowNearY): make it return a RowList::iterator, adjust
5748
5749         * text2.C (init): adjust
5750         (insertRow): remove function
5751         (insertParagraph): adjust
5752         (redoParagraphs): adjust
5753         (fullRebreak): adjust
5754         (updateCounters): adjust
5755
5756         * text.C (top_y): rewrite to use RowList iterators.
5757         (top_y): adjust
5758         (setHeightOfRow): rewrite to sue RowList iterators.
5759         (appendParagraph): adjust
5760         (breakAgain): adjust
5761         (breakAgainOneRow): adjust
5762         (breakParagraph): adjust
5763         (getRow): adjust
5764         (getRowNearY): adjust, and remove commented code.
5765
5766         * lyxtext.h (firstRow): delete function
5767         (lastRow): delete function
5768         (rows): new function (const and non-const versions.)
5769         (insertRow): delete function
5770
5771         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5772
5773 2003-03-29  John Levon  <levon@movementarian.org>
5774
5775         * BufferView_pimpl.C: always update scrollbar top
5776         because pasting text when we're anchored could mean we
5777         miss an update altogether
5778
5779 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * text2.C (init): use rowlist_.end() and not 0.
5782         (insertRow): change to take a RowList::iterator as arg, adjust
5783         for this.
5784         (insertParagraph): change to take a RowList::iterator as arg,
5785         adjust for this.
5786         (redoParagraphs): remove some debug msgs.
5787
5788         * text.C (appendParagraph): change to take a RowList::iterator
5789         arg, adjust for this.
5790         (breakAgain): add an assert
5791         (breakAgainOneRow): ditto
5792
5793 2003-03-29  John Levon  <levon@movementarian.org>
5794
5795         * text2.C: do not clear selection after inc/decDepth
5796         (bug 550)
5797
5798 2003-03-29  John Levon  <levon@movementarian.org>
5799
5800         * BufferView.C:
5801         * buffer.C: fix broken strerrors according to Lars
5802
5803 2003-03-29  John Levon  <levon@movementarian.org>
5804
5805         * converters.C: more Alert cleanups
5806
5807 2003-03-29  John Levon  <levon@movementarian.org>
5808
5809         * bufferview_funcs.C: remove pointless Alert
5810
5811         * buffer.C: fix confusing error message when
5812         a template is chmoded 000
5813
5814 2003-03-29  John Levon  <levon@movementarian.org>
5815
5816         * BufferView.C:
5817         * BufferView.h:
5818         * BufferView_pimpl.C: Alert fixes
5819
5820         * Makefile.am:
5821         * tabular.C:
5822         * tabular-old.C: remove unused table compat reading
5823
5824 2003-03-29  John Levon  <levon@movementarian.org>
5825
5826         * BufferView.C:
5827         * buffer.C:
5828         * lyx_cb.h:
5829         * lyx_cb.C: more Alert cleanups
5830
5831         * lyxfunc.C: don't allow chktex if not latex document
5832
5833 2003-03-29  John Levon  <levon@movementarian.org>
5834
5835         * lyx_cb.C:
5836         * BufferView.C:
5837         * buffer.C: warnings pushed down from support/,
5838         kill err_alert
5839
5840 2003-03-29  John Levon  <levon@movementarian.org>
5841
5842         * lyxfunc.C: safety check for C-r (revert)
5843
5844 2003-03-29  John Levon  <levon@movementarian.org>
5845
5846         * bufferlist.h:
5847         * bufferlist.C: several UI fixes using Alert::prompt.
5848         Fix the pointless looping quit code. Fix stupid revert
5849         behaviour (bug 938)
5850
5851         * lyxvc.h:
5852         * lyxvc.C:
5853         * lyx_cb.C: use Alert::prompt
5854
5855         * lyx_main.C: remove a silly question
5856
5857         * lyxfunc.C: remove a couple of silly questions,
5858         use Alert::prompt
5859
5860 2003-03-28  John Levon  <levon@movementarian.org>
5861
5862         * text2.C: fix bug 974 (End on empty par)
5863
5864 2003-03-28  John Levon  <levon@movementarian.org>
5865
5866         * BufferView_pimpl.C:
5867         * LyXAction.C:
5868         * lfuns.h: remove do-nothing math greek lfuns
5869
5870 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * lyxgluelength.h (isValidGlueLength): add default arg on
5873         parameter 2. Remove default arg from friend in class.
5874
5875         * lyxlength.h (isValidLength): add default arg on parameter 2.
5876         Remove default arg from friend in class.
5877
5878         * text2.C (LyXText): adjust, initialize refresh_row.
5879         (init): adjust
5880         (removeRow): adjust
5881         (insertRow): adjust
5882         (insertParagraph): adjst
5883         (redoParagraphs): adjust
5884         (fullRebreak): adjust
5885         (updateCounters): adjust
5886         (deleteEmptyParagraphMechanism): first attempt at fixing a
5887         crashing bug.
5888
5889         * text.C (top_y): adjust
5890         (setHeightOfRow): adjust
5891         (getRow): adjust
5892         (getRowNearY): adjust
5893
5894         * lyxtext.h: include RowList.h
5895         (~LyXText): not needed anymore, deleted.
5896         (firstRow): modify for RowList
5897         (lastRow): new function
5898         Delete firstrow and lastrow class variables, add a Rowlist
5899         rowlist_ class variable.
5900
5901         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5902         paragraph is empty.
5903
5904         * RowList.C (insert): fix case where it == begin().
5905
5906 2003-03-26  Angus Leeming  <leeming@lyx.org>
5907
5908         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5909         the thesaurus dialog.
5910
5911 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5912
5913         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5914
5915         * RowList.[Ch]: new files
5916
5917         * ParagraphList.C (erase): handle the case where it == begin
5918         correctly.
5919
5920 2003-03-25  John Levon  <levon@movementarian.org>
5921
5922         * Makefile.am:
5923         * aspell_local.h:
5924         * aspell.C: add new aspell support
5925
5926         * lyxrc.h:
5927         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5928         have it accessible.
5929
5930 2003-03-25  Angus Leeming  <leeming@lyx.org>
5931
5932         * lfuns.h:
5933         * LyXAction.C (init): new LFUN_INSET_INSERT.
5934
5935         * BufferView_pimpl.C (dispatch): split out part of the
5936         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5937
5938         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5939         LFUN_INSET_APPLY.
5940
5941 2003-03-25  Angus Leeming  <leeming@lyx.org>
5942
5943         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5944
5945 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5946
5947         * text2.C:
5948         * text3.C: remove useless row->height(0)
5949
5950 2003-03-25  John Levon  <levon@movementarian.org>
5951
5952         * lyxtext.h:
5953         * text2.C:
5954         * text3.C: rename the refreshing stuff to better names
5955
5956 2003-03-24  John Levon  <levon@movementarian.org>
5957
5958         * BufferView_pimpl.h:
5959         * BufferView_pimpl.C: update layout choice on a mouse
5960         press/release
5961
5962 2003-03-23  John Levon  <levon@movementarian.org>
5963
5964         * Makefile.am: fix commandtags.h reference
5965
5966 2003-03-22  John Levon  <levon@movementarian.org>
5967
5968         * BufferView_pimpl.C:
5969         * lyxtext.h:
5970         * rowpainter.C:
5971         * rowpainter.h:
5972         * text.C:
5973         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5974
5975 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5976
5977         * lyxtext.h:
5978         * text.C: take the rtl methods out of line
5979
5980 2003-03-21 André Pönitz <poenitz@gmx.net>
5981
5982         * metricsinfo.[Ch]: new files containing structures to be passed around
5983         during the two-phase-drawing...
5984
5985 2003-03-21 André Pönitz <poenitz@gmx.net>
5986
5987         * lyxtextclass.C: read 'environment' tag.
5988
5989 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * text2.C (removeRow): fix bug 964
5992
5993 2003-03-20  John Levon  <levon@movementarian.org>
5994
5995         * rowpainter.C:
5996         * text.C:
5997         * text2.C: paint cleanups. Inset::update() dropped font
5998         parameter
5999
6000 2003-03-19  John Levon  <levon@movementarian.org>
6001
6002         * lyxfunc.C: only fitcursor/markDirty if available()
6003
6004 2003-03-19  John Levon  <levon@movementarian.org>
6005
6006         * commandtags.h: rename to ...
6007
6008         * lfuns.h: ... this, and renumber / cleanup
6009
6010 2003-03-19  John Levon  <levon@movementarian.org>
6011
6012         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6013         fit the cursor after an lfun
6014
6015         * BufferView.h:
6016         * BufferView.C:
6017         * BufferView_pimpl.h:
6018         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6019
6020         * LyXAction.C: layout-character should have ReadOnly
6021
6022         * ParagraphParameters.C:
6023         * buffer.C:
6024         * bufferview_funcs.C:
6025         * lyx_cb.C:
6026         * lyxfind.C:
6027         * lyxtext.h:
6028         * text.C:
6029         * text2.C:
6030         * text3.C:
6031         * undo_funcs.C: changes from above
6032
6033 2003-03-18  John Levon  <levon@movementarian.org>
6034
6035         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6036         remove it from update()
6037
6038         * lyxfunc.C: update layout choice after an lfun
6039
6040         * text3.C: remove extra updateLayoutChoice()s
6041
6042 2003-03-18  John Levon  <levon@movementarian.org>
6043
6044         * text.C: top_y change means full repaint, fix
6045         a drawing bug with cursor movement
6046
6047 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * lyxtext.h:
6050         * text.C:
6051         * text2.C: anchor row on setCursor
6052
6053 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * lyxtext.h: remove almost all mutable keywords
6056         * text.C:
6057         * text2.C:
6058         * text3.C: remove const keywords accordingly
6059
6060 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6063         anon namespace
6064         (TeXEnvironment): ditto
6065         (TeXOnePar): ditto
6066
6067 2003-03-17  John Levon  <levon@movementarian.org>
6068
6069         * text.C (rowBreakPoint): remove attempt to fix displayed
6070         math insets inside a manual label
6071
6072 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * lyxtext.h: remove BufferView* as first arg from almost all class
6075         functions.
6076         * other files: adjust.
6077
6078 2003-03-17  John Levon  <levon@movementarian.org>
6079
6080         * lyxtext.h:
6081         * undo_funcs.C:
6082         * text2.C: more paint cleanups
6083
6084         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6085
6086         * rowpainter.h:
6087         * rowpainter.C: remove "smart" background painting code
6088
6089 2003-03-16  John Levon  <levon@movementarian.org>
6090
6091         * lyxtext.h:
6092         * text.C:
6093         * text2.C:
6094         * text3.C: add helper functions for setting refresh_row/y
6095
6096 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6097
6098         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6099         newline inset which *can* get inserted in the pass_thru layouts.
6100         This is primarily for literate documents.
6101
6102 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6103
6104         * buffer.C: increment LYX_FORMAT to 223
6105
6106 2003-03-14 André Pönitz <poenitz@gmx.net>
6107
6108         * textclass.h: prepare for environment handling, ws changes
6109         * lyxlayout.C: read latexheader and latexfooter tags
6110
6111 2003-03-14  John Levon  <levon@movementarian.org>
6112
6113         * text2.C: rewrite ::status() a bit
6114
6115 2003-03-13  John Levon  <levon@movementarian.org>
6116
6117         * lyxtext.h: add some docs
6118
6119 2003-03-13  John Levon  <levon@movementarian.org>
6120
6121         * lyxtext.h:
6122         * text.C:
6123         * text2.C:
6124         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6125
6126 2003-03-13  John Levon  <levon@movementarian.org>
6127
6128         * text3.C: fix appendix redrawing
6129
6130 2003-03-13  John Levon  <levon@movementarian.org>
6131
6132         * text.C (setHeightOfRow):
6133         * rowpainter.h:
6134         * rowpainter.C: make appendix mark have the text
6135           "Appendix" so the user knows what it is
6136
6137         * LColor.h:
6138         * LColor.C: s/appendixline/appendix/ from above
6139
6140 2003-03-13  John Levon  <levon@movementarian.org>
6141
6142         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6143
6144         * text.C: fix a getChar(pos) bug properly
6145
6146 2003-03-13  Angus Leeming  <leeming@lyx.org>
6147
6148         * commandtags.h:
6149         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6150         Probably only temporary. Let's see how things pan out.
6151
6152         * BufferView.C (unlockInset):
6153         * BufferView_pimpl.C (fitCursor):
6154         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6155
6156         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6157         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6158
6159         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6160         new functions that convert ParagraphParameters to and from a string.
6161
6162         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6163         BufferView::Pimpl's dispatch.
6164         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6165
6166 2003-03-13 André Pönitz <poenitz@gmx.net>
6167
6168         * lyxfunc.C:
6169         * text3.C:
6170         * factory.C: make it aware of InsetEnv
6171
6172 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * text2.C (setCursor): never ask for one past last
6175         (setCursor): add some debugging messages.
6176
6177         * text.C (singleWidth): never ask for one past last
6178         (singleWidth): ditto
6179         (leftMargin): ditto
6180         (rightMargin): ditto
6181         (rowBreakPoint): ditto
6182         (setHeightOfRow): ditto
6183         (prepareToPrint): ditto
6184
6185         * rowpainter.C (paintBackground): never ask for one past last
6186         (paintText): never ask for one past last
6187
6188         * paragraph_pimpl.C (getChar): make the assert stricter, never
6189         allow the one past last pos to be taken
6190
6191         * paragraph.C (getChar): ws changes only
6192
6193         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6194         (numberOfSeparators): ditto
6195         (numberOfHfills): ditto
6196
6197 2003-03-12  John Levon  <levon@movementarian.org>
6198
6199         * author.h:
6200         * author.C:
6201         * bufferparams.h:
6202         * bufferparams.C:
6203         * paragraph_funcs.C: fix per-buffer authorlists
6204
6205 2003-03-12  John Levon  <levon@movementarian.org>
6206
6207         * text.C: fix newline in right address
6208
6209 2003-03-12  Angus Leeming  <leeming@lyx.org>
6210
6211         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6212         duplicate those in LyXFunc::dispatch.
6213
6214         * commandtags.h:
6215         * LyXAction.C:
6216         * ToolbarDefaults.C:
6217         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6218         Add LFUN_FONTFREE_UPDATE.
6219
6220         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6221         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6222
6223         * bufferview_func.[Ch]: several new functions to facilliate
6224         transfer of data to and from the character dialog.
6225
6226 2003-03-12  John Levon  <levon@movementarian.org>
6227
6228         * buffer.C:
6229         * paragraph.h:
6230         * paragraph.C:
6231         * paragraph_funcs.C:
6232         * paragraph_pimpl.C:
6233         * sgml.C:
6234         * tabular.C:
6235         * text.C:
6236         * text3.C: remove META_NEWLINE in favour of an inset
6237
6238         * rowpainter.h:
6239         * rowpainter.C: remove paintNewline (done by inset)
6240
6241 2003-03-12  John Levon  <levon@movementarian.org>
6242
6243         * paragraph_pimpl.C: complain about bad getChar()s
6244         for a while at least
6245
6246 2003-03-12  John Levon  <levon@movementarian.org>
6247
6248         * buffer.h:
6249         * buffer.C: move paragraph read into a separate function,
6250         a little renaming to reflect that.
6251
6252         * bufferparams.h:
6253         * bufferparams.C: remove the author_ids map, not necessary now
6254
6255         * factory.h:
6256         * factory.C: moved Buffer::readInset to here
6257
6258         * paragraph_funcs.h:
6259         * paragraph_funcs.C: readParagraph free function moved from
6260         buffer.C
6261
6262         * tabular.C: name change
6263
6264 2003-03-12  John Levon  <levon@movementarian.org>
6265
6266         * buffer.C:
6267         * ParagraphParameters.C: move par params input to
6268         a read() method
6269
6270         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6271         behave like a normal read from the stream wrt reading
6272         a line vs. a \\token
6273
6274 2003-03-12  John Levon  <levon@movementarian.org>
6275
6276         * paragraph.C:
6277         * ParagraphParameters.h:
6278         * ParagraphParameters.C: move output code to a
6279         ::write() method
6280
6281 2003-03-12  John Levon  <levon@movementarian.org>
6282
6283         * BufferView.C (insertLyXFile):
6284         * buffer.h:
6285         * buffer.C:
6286         * tabular.C: use a parlist iterator for creating the
6287           document.
6288
6289 2003-03-12  John Levon  <levon@movementarian.org>
6290
6291         * buffer.C: make current_change static local not
6292           static file-scope
6293
6294 2003-03-12  John Levon  <levon@movementarian.org>
6295
6296         * buffer.C: fix insertStringAsLines for change tracking
6297
6298 2003-03-12  John Levon  <levon@movementarian.org>
6299
6300         * BufferView.C:
6301         * tabular.C:
6302         * buffer.h:
6303         * buffer.C:
6304         * bufferparams.h:
6305         * bufferparams.C: move author list into params. Rename some
6306           functions. Move the header reading into a separate token
6307           loop. Move the header token reading into BufferParams.
6308
6309 2003-03-12  John Levon  <levon@movementarian.org>
6310
6311         * changes.C: put debug inside lyxerr.debugging() checks
6312
6313 2003-03-11 André Pönitz <poenitz@gmx.net>
6314
6315         * factory.C: make it aware of InsetHFill
6316
6317 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6318
6319         * buffer.C (latexParagraphs): move function from here...
6320         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6321         args.
6322
6323 2003-03-10  Angus Leeming  <leeming@lyx.org>
6324
6325         * LyXAction.C (init): fix bug in poplating array with multiple entries
6326         with the same LFUN (spotted by JMarc).
6327
6328 2003-03-10  John Levon  <levon@movementarian.org>
6329
6330         * text.C:
6331         * text2.C: move getColumnNearX() near its
6332         only call site
6333
6334 2003-03-10  John Levon  <levon@movementarian.org>
6335
6336         * text.C: fix break before a minipage
6337
6338 2003-03-10  John Levon  <levon@movementarian.org>
6339
6340         * text.C: fix the last commit
6341
6342 2003-03-09  John Levon  <levon@movementarian.org>
6343
6344         * lyxtext.h:
6345         * text.C:
6346         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6347         bug 365 (don't break before insets unless needed). Don't
6348         return a value > last under any circumstances.
6349
6350 2003-03-09  Angus Leeming  <leeming@lyx.org>
6351
6352         * BufferView_pimpl.C (trackChanges, dispatch): call
6353         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6354
6355 2003-03-09  Angus Leeming  <leeming@lyx.org>
6356
6357         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6358         than Dialogs::showAboutlyx().
6359
6360 2003-03-09  Angus Leeming  <leeming@lyx.org>
6361
6362         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6363         than Dialogs::showTabularCreate().
6364
6365 2003-03-09  John Levon  <levon@movementarian.org>
6366
6367         * lyxtext.h:
6368         * text.C:
6369         * text2.C: 3rd arg to nextBreakPoint was always the same.
6370           Use references.
6371
6372 2003-03-08  John Levon  <levon@movementarian.org>
6373
6374         * lyxrow.C:
6375         * paragraph.C:
6376         * paragraph.h:
6377         * rowpainter.C:
6378         * text.C:
6379         * text2.C: Remove the "main" bit from the "main body"
6380           notion.
6381
6382 2003-03-08  John Levon  <levon@movementarian.org>
6383
6384         * text.C (leftMargin): The left margin of an empty
6385         manual label paragraph should not include the label width
6386         string length.
6387
6388         * text.C (prepareToPrint): don't attempt to measure hfills
6389         for empty manual label paragraphs - the answer should be 0
6390
6391 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * CutAndPaste.C: remove commented code and reindent.
6394
6395 2003-03-08  John Levon  <levon@movementarian.org>
6396
6397         * lyxfunc.h:
6398         * lyxfunc.C: move reloadBuffer()
6399
6400         * BufferView.h:
6401         * BufferView.C: to here
6402
6403         * lyxvc.C: add comment
6404
6405         * vc-backend.h:
6406         * vc-backend.C: call bv->reload() to avoid
6407           getStatus() check on MENURELOAD
6408
6409 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6412         to an old format .dep file.
6413
6414 2003-03-07  Angus Leeming  <leeming@lyx.org>
6415
6416         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6417         when the LFUN_MOUSE_RELEASE should have been handled by
6418         inset->localDispatch.
6419
6420 2003-03-07  Angus Leeming  <leeming@lyx.org>
6421
6422         * BufferView_pimpl.C (dispatch):
6423         * LyXAction.C (init):
6424         * ToolbarDefaults.C (init):
6425         * commandtags.h:
6426         * lyxfunc.C (getStatus):
6427         remove LFUN_INSET_GRAPHICS.
6428
6429         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6430
6431 2003-03-07  Angus Leeming  <leeming@lyx.org>
6432
6433         * commandtags.h:
6434         * LyXAction.C (init):
6435         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6436
6437         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6438
6439         * commandtags.h:
6440         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6441
6442         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6443         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6444
6445 2003-03-07  Angus Leeming  <leeming@lyx.org>
6446
6447         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6448         remove "ert".
6449
6450 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * ParagraphList.C (front): new function
6453         (back): implement
6454
6455 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6456
6457         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6458         and top_row_offset_. removed var first_y.
6459         * text.C (top_y):
6460         * text2.C (LyXText, removeRow):
6461         * text3.C:
6462         * BufferView_pimpl.C:
6463         use these methods instead of using first_y
6464
6465 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * text2.C (pasteSelection): adjust for checkPastePossible
6468
6469         * CutAndPaste.C: remove Paragraph * buf and replace with
6470         ParagraphList paragraphs.
6471         (DeleteBuffer): delete
6472         (cutSelection): change the tc type to textclass_type
6473         (copySelection): change the tc type to textclass_type
6474         (copySelection): adjust for ParagraphList
6475         (pasteSelection): change the tc type to textclass_type
6476         (pasteSelection): adjust for Paragraphlist
6477         (nrOfParagraphs): simplify for ParagraphList
6478         (checkPastePossible): simplify for ParagraphList
6479         (checkPastePossible): remove unused arg
6480
6481         * ParagraphList.C (insert): handle the case where there are no
6482         paragraphs yet.
6483
6484         * CutAndPaste.h: make CutAndPaste a namespace.
6485
6486         * text3.C (dispatch): adjust
6487
6488         * text.C (breakParagraph): add a ParagraphList as arg
6489
6490         * paragraph_funcs.C (breakParagraph): change to take a
6491         BufferParams and a ParagraphList as args.
6492         (breakParagraphConservative): ditto
6493         (mergeParagraph): ditto
6494         (TeXDeeper): add a ParagraphList arg
6495         (TeXEnvironment): ditto
6496         (TeXOnePar): ditto
6497
6498         * buffer.C (readLyXformat2): adjust
6499         (insertStringAsLines): adjust
6500         (latexParagraphs): adjust
6501
6502         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6503         (cutSelection): adjust
6504         (pasteSelection): adjust
6505
6506         * BufferView_pimpl.C (insertInset): adjust
6507
6508 2003-03-05  Angus Leeming  <leeming@lyx.org>
6509
6510         * commandtags.h:
6511         * LyXAction.C (init):
6512         * BufferView_pimpl.C (dispatch):
6513         * lyxfunc.C (getStatus):
6514         remove LFUN_CHILD_INSERT.
6515
6516         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6517
6518 2003-03-05  Angus Leeming  <leeming@lyx.org>
6519
6520         * commandtags.h:
6521         * LyXAction.C (init):
6522         * src/factory.C (createInset):
6523         * lyxfunc.C (getStatus):
6524         * text3.C (dispatch):
6525         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6526
6527         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6528
6529 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * ParagraphList.C (insert): handle insert right before end()
6532         (erase): fix cases where it can be first or last paragraph.
6533
6534 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6537         Paragraph::next and Paragraph::previous
6538         (TeXOnePar): ditto
6539
6540         * text.C (breakParagraph): adjust
6541
6542         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6543         BufferParams& as arg.
6544         (breakParagraph): use ParagraphList::insert
6545         (breakParagraphConservative): take a Buffer* instead of a
6546         BufferParams& as arg.
6547         (breakParagraphConservative): use ParagraphList::insert.
6548
6549         * buffer.C (insertStringAsLines): un-const it
6550         (insertStringAsLines): adjust
6551
6552         * ParagraphList.C (insert): new function
6553
6554         * CutAndPaste.C (pasteSelection): adjust
6555
6556         * text.C (backspace): adjust
6557
6558         * tabular.C (SetMultiColumn): adjust
6559
6560         * CutAndPaste.C (cutSelection): adjust
6561         (pasteSelection): adjust
6562
6563         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6564         Buffer const * as arg
6565
6566         * ParagraphList.C (erase): new function
6567         * paragraph_funcs.C (mergeParagraph): use it
6568         (mergeParagraph): make it take a Buffer* instead of a
6569         BufferParams* as arg
6570
6571         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6572         as arg
6573         (breakParagraphConservative): ditto
6574
6575         * paragraph.h: remove the breakParagraph friend
6576
6577         * paragraph.C (eraseIntern): new function
6578         (setChange): new function
6579
6580         * paragraph_funcs.C (mergeParagraph): make it take a
6581         ParagraphList::iterator instead of a Paragraph *, adjust
6582         accordingly.
6583
6584         * paragraph.h: move an #endif so that the change tracking stuff
6585         also works in the NO_NEXT case.
6586
6587 2003-03-04  Angus Leeming  <leeming@lyx.org>
6588
6589         * commandtags.h:
6590         * LyXAction.C: new LFUN_INSET_MODIFY.
6591
6592         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6593         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6594
6595 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * several files: ws changes only
6598
6599         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6600         (TeXEnvironment): ditto
6601         (TeXDeeper): ditto
6602
6603         * buffer.C (makeLaTeXFile): adjust
6604         (latexParagraphs): make it take ParagraphList::iterator as args
6605
6606 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * buffer.C (latexParagraphs): adjust
6609
6610         * paragraph.C (TeXOnePar): move function...
6611         (optArgInset): move function...
6612         (TeXEnvironment): move function...
6613         * paragraph_pimpl.C (TeXDeeper): move function...
6614         * paragraph_funcs.C: ...here
6615
6616         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6617
6618 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * buffer.C (readInset): remove compability code for old Figure and
6621         InsetInfo insets
6622
6623 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * buffer.C: ws changes
6626         (readInset):
6627
6628         * BufferView_pimpl.C: ditto
6629         * author.C: ditto
6630         * buffer.h: ditto
6631         * bufferlist.h: ditto
6632         * changes.h: ditto
6633         * lyxfunc.C: ditto
6634
6635 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6636
6637         * converter.[Ch]: split into itself +
6638         * graph.[Ch]
6639         * format.[Ch]
6640         * Makefile.am: += graph.[Ch] + format.[Ch]
6641         * MenuBackend.C
6642         * buffer.C
6643         * exporter.C
6644         * importer.C
6645         * lyx_main.C
6646         * lyxfunc.C
6647         * lyxrc.C: added #include "format.h"
6648
6649 2003-02-27  Angus Leeming  <leeming@lyx.org>
6650
6651         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6652           a label.
6653
6654         * factory.C (createInset): add "label" to the factory.
6655
6656         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6657           string and do no more.
6658
6659 2003-02-27  Angus Leeming  <leeming@lyx.org>
6660
6661         * commandtags.h:
6662         * LyXAction.C (init):
6663         * factory.C (createInset):
6664         * BufferView_pimpl.C (dispatch):
6665           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6666
6667         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6668
6669         * lyxfunc.C (dispatch):
6670         * text3.C (dispatch): pass name to params2string.
6671
6672 2003-02-26  Angus Leeming  <leeming@lyx.org>
6673
6674         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6675           blocks together.
6676           Rearrange the ~includes. Strip out the unnecessary ones.
6677
6678         * factory.C (createInset): reformat.
6679           create new insets for the various LFUN_XYZ_APPLY lfuns.
6680
6681 2003-02-26  John Levon  <levon@movementarian.org>
6682
6683         * lyxrow.h:
6684         * lyxrow.C: add isParStart,isParEnd helpers
6685
6686         * paragraph.h: make isInserted/DeletedText take refs
6687
6688         * paragraph_funcs.h:
6689         * paragraph_funcs.C: remove #if 0'd code
6690
6691         * lyxtext.h:
6692         * text3.C:
6693         * text2.C:
6694         * text.C: use lyxrow helpers above.
6695           Move draw and paint routines to RowPainter.
6696           Make several methods use refs not pointers.
6697           Make backgroundColor() const.
6698           Add markChangeInDraw(), isInInset().
6699           Merge changeRegionCase into changeCase.
6700           Make workWidth() shouldn't-happen code into an Assert.
6701
6702         * rowpainter.h:
6703         * rowpainter.C: new class for painting a row.
6704
6705         * vspace.h:
6706         * vspace.C: make inPixels take a ref
6707
6708 2003-02-26  Angus Leeming  <leeming@lyx.org>
6709
6710         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6711         LFUN_REF_APPLY.
6712
6713 2003-02-25  John Levon  <levon@movementarian.org>
6714
6715         * ispell.C: give the forked command a more accurate name
6716
6717 2003-02-22  John Levon  <levon@movementarian.org>
6718
6719         * toc.h:
6720         * toc.C: make TocItem store an id not a Paragraph *
6721           (bug #913)
6722
6723 2003-02-21  Angus Leeming  <leeming@lyx.org>
6724
6725         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6726           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6727           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6728           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6729           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6730           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6731
6732         * BufferView_pimpl.C (dispatch):
6733         * LyXAction.C (init):
6734         * factory.C (createInset):
6735         * lyxfunc.C (getStatus, dispatch):
6736         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6737
6738 2003-02-21  Angus Leeming  <leeming@lyx.org>
6739
6740         * BufferView_pimpl.C (MenuInsertLyXFile):
6741         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6742         * lyxfunc.C (menuNew, open, doImport):
6743           no longer pass a LyXView & to fileDlg.
6744
6745 2003-02-21  Angus Leeming  <leeming@lyx.org>
6746
6747         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6748         * LyXAction.C: change, BIBKEY to BIBITEM.
6749         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6750         Change InsetBibKey to InsetBibitem.
6751         Change BIBKEY_CODE to BIBITEM_CODE.
6752         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6753         * factory.C: replace insetbib.h with insetbibitem.h.
6754         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6755         * paragraph.C: replace insetbib.h with insetbibitem.h.
6756         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6757         Change bibkey() to bibitem().
6758         * text.C: remove insetbib.h.
6759         * text2.C: replace insetbib.h with insetbibitem.h.
6760         change bibkey() to bibitem().
6761         * text3.C: remove insetbib.h.
6762         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6763
6764 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6765
6766         * lyxrc.C (output): enclose user email in quotes (in case there are
6767         several words)
6768
6769 2003-02-18  John Levon  <levon@movementarian.org>
6770
6771         * buffer.h: add std::
6772
6773 2003-02-17  John Levon  <levon@movementarian.org>
6774
6775         * SpellBase.h:
6776         * ispell.h:
6777         * ispell.C:
6778         * pspell.h:
6779         * pspell.C: reworking. Especially in ispell, a large
6780           number of clean ups and bug fixes.
6781
6782         * lyxfunc.C: fix revert to behave sensibly
6783
6784 2003-02-17 André Pönitz <poenitz@gmx.net>
6785
6786         * LyXAction.C:
6787         * commandtags.h: new LFUN_INSERT_BIBKEY
6788
6789         * layout.h:
6790         * lyxlayout.C:
6791         * buffer.C:
6792         * factory.C:
6793         * text.C:
6794         * text2.C:
6795         * text3.C:
6796         * paragraph.[Ch]:
6797         * paragraph_func.C: remove special bibkey handling
6798
6799 2003-02-17  John Levon  <levon@movementarian.org>
6800
6801         * text.C (Delete): fix case where delete at the end of
6802           the very first paragraph would not merge the pars
6803
6804 2003-02-17  John Levon  <levon@movementarian.org>
6805
6806         * lyxrow.C: fix lastPrintablePos()
6807
6808 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6809
6810         * bufferparams.C (writeLaTeX): add a std:here
6811
6812         * buffer.C: and remove a using directive there
6813
6814 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6815
6816         * buffer.C (makeLaTeXFile): move the code that generates the
6817           preamble...
6818
6819         * bufferparams.C (writeLaTeX): ... in this new method
6820
6821         * LaTeXFeatures.C (getEncodingSet): make const
6822           (getLanguages): make const
6823
6824         * MenuBackend.C (binding): returns the binding associated to this
6825           action
6826           (add): sets the status of each item by calling getStatus. Adds
6827           some intelligence.
6828           (read): add support for OptSubMenu
6829           (expand): remove extra separator at the end of expanded menu
6830
6831 2003-02-15  John Levon  <levon@movementarian.org>
6832
6833         * BufferView.C:
6834         * BufferView_pimpl.C:
6835         * bufferlist.h:
6836         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6837           inset code that had no actual effect. Remove unneeded status
6838           code.
6839
6840 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6841
6842         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6843           in preamble
6844
6845 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6846
6847         * text.C (drawLengthMarker): also draw an arrow marker for
6848           symbolic lengths (medskip...)
6849
6850 2003-02-14  John Levon  <levon@movementarian.org>
6851
6852         * tabular.h:
6853         * tabular.C: better method names
6854
6855 2003-02-14  John Levon  <levon@movementarian.org>
6856
6857         * BufferView_pimpl.C:
6858         * bufferlist.C:
6859         * buffer.C:
6860         * converter.C:
6861         * lyx_cb.C:
6862         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6863           it's a more accurate name. Remove some pointless uses.
6864
6865 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6866
6867         * text2.C (LyXText): change order of initilizers to shut off
6868           warnings
6869
6870 2003-02-14  John Levon  <levon@movementarian.org>
6871
6872         * buffer.C: use ParIterator for getParFromID()
6873
6874         * paragraph.h:
6875         * paragraph.C:
6876         * paragraph_pimpl.h:
6877         * paragraph_pimpl.C: remove unused getParFromID()
6878
6879 2003-02-14  John Levon  <levon@movementarian.org>
6880
6881         * buffer.C: remove some very old #if 0'd parse code
6882
6883 2003-02-13  John Levon  <levon@movementarian.org>
6884
6885         * text.h:
6886         * text.C:
6887         * text2.C: move hfillExpansion(), numberOfSeparators(),
6888           rowLast(), rowLastPrintable(), numberofHfills(),
6889           numberOfLabelHfills() ...
6890
6891         * lyxrow.h:
6892         * lyxrow.C: ... to member functions here.
6893
6894         * paragraph.h:
6895         * paragraph.C:
6896         * lyxtext.h:
6897         * text.C: remove LyXText::beginningOfMainBody(), and call
6898           p->beginningOfMainBody() directly. Move the check for
6899           LABEL_MANUAL into the latter.
6900
6901         * text.h:
6902         * text.C:
6903         * text2.C:
6904         * vspace.C:
6905         * BufferView.h:
6906         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6907
6908         * text.h:
6909         * text.C:
6910         * text2.C:
6911         * text3.C:
6912         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6913           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6914
6915 2003-02-13  John Levon  <levon@movementarian.org>
6916
6917         * CutAndPaste.C: remove debug
6918
6919 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6920
6921         * paragraph.C (asString): remove two unused variables
6922
6923         * lyxtextclass.C (readTitleType):
6924           (Read):
6925           (LyXTextClass): handle new members titletype_ and titlename_
6926
6927         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6928
6929 2003-02-09  John Levon  <levon@movementarian.org>
6930
6931         * buffer.h:
6932         * buffer.C: replace hand-coded list with a map for the dep clean
6933
6934 2003-02-08  John Levon  <levon@movementarian.org>
6935
6936         * LaTeX.C: consolidate code into showRunMessage() helper
6937
6938 2003-02-08  John Levon  <levon@movementarian.org>
6939
6940         * lyxfind.C:
6941         * lyxtext.h:
6942         * text2.C:
6943         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6944           and pass the size in explicitly
6945
6946         * BufferView_pimpl.h:
6947         * BufferView_pimpl.C:
6948         * BufferView.h:
6949         * BufferView.C: add getCurrentChange()
6950
6951         * BufferView_pimpl.h:
6952         * BufferView_pimpl.C: handle change lfuns
6953
6954         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6955           for changes. Mark pasted paragraphs as new.
6956
6957         * support/lyxtime.h:
6958         * support/lyxtime.C:
6959         * DepTable.C: abstract time_t as lyx::time_type
6960
6961         * LColor.h:
6962         * LColor.C: add colours for new text, deleted text, changebars
6963
6964         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6965           package use "usenames" option.
6966
6967         * commandtags.h:
6968         * lyxfunc.C:
6969         * LyXAction.C: add change lfuns
6970
6971         * Makefile.am:
6972         * author.h:
6973         * author.C: author handling
6974
6975         * buffer.h:
6976         * buffer.C: add a per-buffer author list, with first entry as
6977           current author. Handle new .lyx tokens for change tracking. Output
6978           author list to .lyx file. Output dvipost stuff to .tex preamble.
6979           Bump lyx format to 222.
6980
6981         * bufferlist.h:
6982         * bufferlist.C: add setCurrentAuthor() to reset current author details
6983           in all buffers.
6984
6985         * bufferparams.h:
6986         * bufferparams.C: add param for tracking
6987
6988         * bufferview_funcs.C: output change info in minibuffer
6989
6990         * Makefile.am:
6991         * changes.h:
6992         * changes.C: add change-tracking structure
6993
6994         * debug.h:
6995         * debug.C: add CHANGES debug flag
6996
6997         * lyxfind.h:
6998         * lyxfind.C: add code for finding the next change piece
6999
7000         * lyxrc.h:
7001         * lyxrc.C: add user_name and user_email
7002
7003         * lyxrow.h:
7004         * lyxrow.C: add a metric for the top of the text line
7005
7006         * lyxtext.h:
7007         * text.C: implement accept/rejectChange()
7008
7009         * lyxtext.h:
7010         * text.C: paint changebars. Paint new/deleted text in the chosen
7011         colours. Strike through deleted text.
7012
7013         * paragraph.h:
7014         * paragraph.C:
7015         * paragraph_pimpl.h:
7016         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7017           in the current change to the insert functions. Rework erase to
7018           mark text as deleted, adding an eraseIntern() and a range-based
7019           erase(). Implement per-paragraph change lookup and
7020           accept/reject.
7021
7022         * paragraph_funcs.C: Fixup paste for change tracking.
7023
7024         * tabular.C: mark added row/columns as new.
7025
7026         * text.C: fix rowLast() to never return -1. Don't allow
7027           spellchecking of deleted text. Track transpose changes. Don't
7028           allow paragraph break or merge where appropriate.
7029
7030         * text2.C: leave cursor at end of selection after a cut.
7031
7032 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7033
7034         * text.C (getLengthMarkerHeight):
7035         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7036         visible on screen too.
7037
7038 2003-02-07  John Levon  <levon@movementarian.org>
7039
7040         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7041
7042 2003-02-05  Angus Leeming  <leeming@lyx.org>
7043
7044         * lyxserver.C (read_ready): revert my patch of 11 September last year
7045         as it sends PC cpu through the roof. Presumably this means that
7046         the lyxserver will no longer run on an Alpha...
7047
7048 2003-01-30  Angus Leeming  <leeming@lyx.org>
7049
7050         * factory.C (createInset): create an InsetCommandParam of type "index"
7051         and use it to 'do the right thing'.
7052
7053         * text2.C (getStringToIndex): ensure that cursor position is always
7054         reset to the reset_cursor position.
7055
7056 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7057
7058         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7059         disabled.
7060
7061 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7062
7063         * bufferview.C:
7064         * lyxcb.C:
7065         * lyxfunc.C: Output messages with identical spelling, punctuation,
7066         and spaces
7067
7068 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7069
7070         * MenuBackend.C (expandFormats): List only viewable export formats
7071         in "View" menu
7072
7073         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7074         message
7075
7076         * lyxfunc.C (getStatus): Make sure that formats other than
7077         "fax" can also be disabled
7078
7079 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * text3.C (dispatch): put the lfuns that insert insets in 3
7082         groups, and call doInsertInset with appropriate arguments.
7083         (doInsertInset): new function, that creates an inset and inserts
7084         it according to some boolean parameters.
7085
7086 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * buffer.C (readFile): remember to pass on 'par' when calling
7089         readFile recursively.
7090
7091 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7092
7093         * MenuBackend.C (expandFormats): add "..." to import formats.
7094
7095 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7096
7097         * paragraph.C (asString): Remove XForms RTL hacks.
7098
7099 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7100         * buffer.C: fix typo
7101
7102 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * Makefile.am (LIBS): delete var
7105         (lyx_LDADD): add @LIBS@ here instead.
7106
7107 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7108
7109         * Clarify the meaning of "wheel mouse jump"
7110
7111 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7112
7113         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7114         tabular in a float
7115
7116 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * importer.C (Loaders): do not preallocate 3 elements in the
7119         vector, since one ends up with 6 elements otherwise
7120
7121 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7122
7123         * DepTable.C (write): write the file name as last element of the
7124         .dep file (because it may contain spaces)
7125         (read): read info in the right order
7126
7127 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7128
7129         * paragraph_pimpl.C (simpleTeXBlanks):
7130         (simpleTeXSpecialChars):
7131         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7132
7133         * tabular.C (latex): add some missing case statements. Reindent.
7134
7135         * MenuBackend.C (expandToc): remove unused variable.
7136
7137 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7138
7139         * LColor.C:
7140         * LaTeX.C:
7141         * LyXAction.C:
7142         * MenuBackend.C:
7143         * buffer.C:
7144         * exporter.C:
7145         * lyxfunc.C:
7146         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7147         and the like.
7148
7149 2003-01-05  John Levon  <levon@movementarian.org>
7150
7151         * BufferView.h:
7152         * BufferView.C: add getEncoding()
7153
7154         * kbsequence.h:
7155         * kbsequence.C: do not store last keypress
7156
7157         * lyxfunc.h:
7158         * lyxfunc.C: store last keypress here instead. Pass encoding
7159           to getISOEncoded()
7160
7161 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7162
7163         * lyx_main.C (init): remove annoying error message when following
7164         symbolic links (bug #780)
7165
7166 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7167
7168         * text.C (insertChar):
7169         * lyxrc.C (getDescription): remove extra spaces
7170
7171 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7172
7173         * lyxrc.C (getDescription): remove extra spaces
7174
7175 2002-12-20  John Levon  <levon@movementarian.org>
7176
7177         * text3.C: hack fix for page up/down across tall rows
7178
7179 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7180
7181         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7182         not been invoked
7183
7184 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7185
7186         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7187         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7188         thesaurus is not compiled in
7189
7190 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7191
7192         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7193
7194 2002-12-16  Angus Leeming  <leeming@lyx.org>
7195
7196         * lyxrc.[Ch]:
7197         * lyx_main.C (init): remove override_x_deadkeys stuff.
7198
7199 2002-12-12  John Levon  <levon@movementarian.org>
7200
7201         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7202           insert. Only remove shift modifier under strict
7203           circumstances.
7204
7205 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * MenuBackend.C (expandToc): fix crash.
7208
7209 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * MenuBackend.C (expandToc): gettext on float names.
7212
7213 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7214
7215         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7216         implement bool empty() [bug 490]
7217
7218 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7221
7222 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * several files: ws changes
7225
7226 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * text2.C (setCounter): clean up a bit, use boost.format.
7229         (updateCounters): initialize par upon declaration.
7230
7231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7232         if the layout exists. We do not just store the layout any more.
7233         (SwitchLayoutsBetweenClasses): use boost.format
7234
7235 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7236
7237         * converter.C (convert): if from and to files are the same, use a
7238         temporary files as intermediary
7239
7240 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7241
7242         * commandtags.h:
7243         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7244
7245 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7246
7247         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7248
7249 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * tabular.C (asciiPrintCell): use string(size, char) instead of
7252         explicit loop.
7253
7254         * sgml.C (openTag): fix order of arguments to string constructor
7255         (closeTag): ditto
7256
7257         * lyxfunc.C (dispatch): use boost.format
7258
7259         * lots of files: change "c" -> 'c'
7260
7261 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7262
7263         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7264
7265 2002-11-25  Angus Leeming  <leeming@lyx.org>
7266
7267         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7268
7269         * lyx_main.C (init): compile fix.
7270
7271 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * lyx_cb.C (start): boost.formatify
7274         do not include <iostream>
7275
7276         * lengthcommon.C: ws only
7277
7278         * boost-inst.C,BoostFormat.h: add more explict instantations
7279
7280 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * lots of files: handle USE_BOOST_FORMAT
7283
7284 2002-11-21  John Levon  <levon@movementarian.org>
7285
7286         * pspell.C: fix compile
7287
7288 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7289
7290         * lyxfunc.C (dispatch): use boost::format
7291         (open): ditto
7292         (doImport): ditto
7293
7294         * lyxfont.C (stateText): use boost::format
7295
7296         * lyx_main.C (LyX): use boost::format
7297         (init): ditto
7298         (queryUserLyXDir): ditto
7299         (readRcFile): ditto
7300         (parse_dbg): ditto
7301         (typedef boost::function): use the recommened syntax.
7302
7303         * importer.C (Import): use boost::format
7304
7305         * debug.C (showLevel): use boost::format
7306
7307         * converter.C (view): use boost::format
7308         (convert): ditto
7309         (move): ditto
7310         (scanLog): ditto
7311
7312         * bufferview_funcs.C (currentState): use boost::format
7313
7314         * bufferlist.C (emergencyWrite): use boost::format
7315
7316         * buffer.C (readLyXformat2): use boost::format
7317         (parseSingleLyXformat2Token): ditto
7318
7319         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7320
7321         * LaTeX.C (run): use boost::format
7322
7323         * Chktex.C (scanLogFile): use boost::format
7324
7325         * BufferView_pimpl.C (savePosition): use boost::format
7326         (restorePosition): ditto
7327         (MenuInsertLyXFile): ditto
7328
7329         * BoostFormat.h: help file for explicit instation.
7330
7331 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7332
7333         * tabular.C (latex): Support for block alignment in fixed width
7334         columns.
7335
7336 2002-11-17  John Levon  <levon@movementarian.org>
7337
7338         * BufferView_pimpl.C:
7339         * lyx_cb.C:
7340         * lyxfunc.C: split filedialog into open/save
7341
7342 2002-11-08  Juergen Vigna  <jug@sad.it>
7343
7344         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7345         by my last patch (hopefully).
7346
7347 2002-11-08  John Levon  <levon@movementarian.org>
7348
7349         * iterators.h:
7350         * iterators.C:
7351         * buffer.h:
7352         * buffer.C:
7353         * paragraph.h:
7354         * paragraph.C:
7355         * toc.h:
7356         * toc.C: ParConstIterator, and use it (from Lars)
7357
7358 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7359
7360         * lyxtextclass.[Ch]: revise and add doxygen comments
7361
7362 2002-11-07  John Levon  <levon@movementarian.org>
7363
7364         * text.C: fix progress value for spellchecker
7365
7366         * toc.C: fix navigate menu for insetwrap inside minipage
7367
7368         * paragraph_funcs.C: added FIXME for suspect code
7369
7370 2002-11-07  John Levon  <levon@movementarian.org>
7371
7372         * BufferView_pimpl.C: fix redrawing of insets
7373           on buffer switch
7374
7375 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7376
7377         * text2.C (updateCounters): fix bug 668
7378
7379 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7380
7381         * text3.C (dispatch): Do not make the buffer dirty when moving the
7382         cursor.
7383
7384 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * vc-backend.C: STRCONV
7387         (scanMaster): ditto
7388
7389         * text2.C (setCounter): STRCONV
7390
7391         * paragraph.C (asString): STRCONV
7392
7393         * lyxlength.C (asString): STRCONV
7394         (asLatexString): ditto
7395
7396         * lyxgluelength.C (asString): STRCONV
7397         (asLatexString): ditto
7398
7399         * lyxfunc.C (dispatch): STRCONV
7400         (open): ditto
7401
7402         * lyxfont.C (stateText): STRCONV
7403
7404         * importer.C (Import): STRCONV
7405
7406         * counters.C (labelItem): STRCONV
7407         (numberLabel): ditto
7408         (numberLabel): remove unused ostringstream o
7409
7410         * chset.C: STRCONV
7411         (loadFile): ditto
7412
7413         * bufferview_funcs.C (currentState): STRCONV
7414
7415         * buffer.C (readFile): STRCONV
7416         (asciiParagraph): ditto
7417         (makeLaTeXFile): ditto
7418
7419         * Spacing.C (writeEnvirBegin): STRCONV
7420
7421         * LaTeXFeatures.C (getLanguages): STRCONV
7422         (getPackages): ditto
7423         (getMacros): ditto
7424         (getBabelOptions): ditto
7425         (getTClassPreamble): ditto
7426         (getLyXSGMLEntities): ditto
7427         (getIncludedFiles): ditto
7428
7429         * LaTeX.C: STRCONV
7430         (run): ditto
7431         (scanAuxFile): ditto
7432         (deplog): ditto
7433
7434         * LString.h: add the STRCONV macros
7435
7436         * BufferView_pimpl.C (savePosition): STRCONV
7437         (restorePosition): ditto
7438         (MenuInsertLyXFile): ditto
7439
7440         * vc-backend.C (scanMaster): change from submatch[...] to
7441         submatch.str(...)
7442
7443         * funcrequest.C: include config.h
7444
7445         * factory.C: include config.h
7446
7447         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7448
7449         * box.C: include config.h
7450
7451         * LaTeX.C (scanAuxFile): change from submatch[...] to
7452         submatch.str(...)
7453         (deplog): ditto
7454
7455 2002-10-25  Angus Leeming  <leeming@lyx.org>
7456
7457         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7458
7459         * ispell.[Ch] (setError): new method.
7460         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7461         Use setError() insetead of goto END.
7462
7463         * lyx_cb.C (AutoSave): move out child process into new class
7464         AutoSaveBuffer.
7465
7466 2002-10-30  John Levon  <levon@movementarian.org>
7467
7468         * text3.C: make start appendix undoable
7469
7470 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7471
7472         * lyxlength.C (inPixels): Fix returned value.
7473
7474         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7475         environment.
7476
7477 2002-10-24  Angus Leeming  <leeming@lyx.org>
7478
7479         * lyxgluelength.h: no need to forward declare BufferParams
7480         or BufferView, so don't.
7481
7482 2002-10-21  John Levon  <levon@movementarian.org>
7483
7484         * BufferView.C: menuUndo ->undo, redo
7485
7486         * BufferView.h: document, remove dead, make some methods private
7487
7488         * paragraph_funcs.h:
7489         * paragraph_funcs.C:
7490         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7491
7492         * buffer.h:
7493         * buffer.C:
7494         * sgml.h:
7495         * sgml.C: move sgml open/close tag into sgml.C
7496
7497         * bufferview_funcs.h: unused prototype
7498
7499         * lyxfunc.h:
7500         * lyxfunc.C: remove unused
7501
7502         * lyxtext.h:
7503         * text.C: remove unused
7504
7505 2002-10-21  John Levon  <levon@movementarian.org>
7506
7507         * BufferView.h:
7508         * BufferView.C:
7509         * BufferView_pimpl.h:
7510         * BufferView_pimpl.C: fix mouse wheel handling based on
7511           patch from Darren Freeman
7512
7513 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7514
7515         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7516
7517 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7518
7519         * lyxlength.C (inPixels): Fix hanfling of negative length.
7520         Fix LyXLength::MU case.
7521
7522 2002-10-16  John Levon  <levon@movementarian.org>
7523
7524         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7525
7526 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7527
7528         * converter.C (view): add support for $$i (file name) and $$p
7529         (file path) for the viewer command. If $$i is not specified, then
7530         it is appended to the command (for compatibility with old syntax)
7531
7532 2002-10-14  Juergen Vigna  <jug@sad.it>
7533
7534         * undo_funcs.C (textHandleUndo): alter the order in which the
7535         new undopar is added to the LyXText, as we have to set first
7536         the right prev/next and then add it as otherwise the rebuild of
7537         LyXText is not correct. Also reset the cursor to the right paragraph,
7538         with this IMO we could remove the hack in "redoParagraphs()".
7539
7540 2002-10-09  Angus Leeming  <leeming@lyx.org>
7541
7542         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7543         to turn off an optimisation if a new inset is to be inserted.
7544
7545 2002-10-11 André Pönitz <poenitz@gmx.net>
7546
7547         * lyxtext.h: make some functions public to allow access
7548         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7549
7550 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7551
7552         * text3.C (dispatch): when changing layout, avoid an infinite loop
7553         [bug #652]
7554
7555 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7556
7557         * lyxrc.C (read): treat a viewer or converter command of "none" as
7558         if it were empty.
7559
7560         * MenuBackend.C (expandFormats): for an update, also allow the
7561         formats that are not viewable
7562
7563         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7564         script if it is newer than the lyxrc.defaults in user directory
7565
7566 2002-10-07 André Pönitz <poenitz@gmx.net>
7567
7568         * text.C: Vitaly Lipatov's small i18n fix
7569
7570 2002-09-25  Angus Leeming  <leeming@lyx.org>
7571
7572         * ispell.h: doxygen fix.
7573
7574 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7575
7576         * buffer.h (readFile): Add a new argument to the method, to allow
7577         reading of old-format templates.
7578
7579 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7580
7581         * toc.C (getTocList): Get TOC from InsetWrap.
7582
7583 2002-09-16  John Levon  <levon@movementarian.org>
7584
7585         * lyxfunc.C: check tabular for cut/copy too
7586
7587 2002-09-12  John Levon  <levon@movementarian.org>
7588
7589         * LyXAction.C: tidy
7590
7591         * factory.h:
7592         * factory.C: add header
7593
7594         * paragraph_funcs.h:
7595         * paragraph_funcs.C: cleanup
7596
7597 2002-09-11  John Levon  <levon@movementarian.org>
7598
7599         * PrinterParams.h: odd/even default to true
7600
7601 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7602
7603         * PrinterParams.h: update printer parameters for new xforms dialog
7604
7605 2002-09-11  Angus Leeming  <leeming@lyx.org>
7606
7607         * lyxserver.C (read_ready): re-write to make it more transparent
7608         and to make it work in coherent fashion under Tru64 Unix.
7609
7610 2002-09-11  André Pönitz <poenitz@gmx.net>
7611
7612         * commandtags.h:
7613         * LyXAction.C:
7614         * text3.C: implement LFUN_WORDSEL
7615
7616 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7619         make floatlist_ a boost::shared_ptr<FloatList>
7620
7621         * lyxtextclass.C: include FloatList.h
7622         (LyXTextClass): initialize floatlist_
7623         (TextClassTags): add TC_NOFLOAT
7624         (Read): match "nofloat" to TC_NOFLOAT and use it.
7625         (readFloat): modify call to floatlist_
7626         (floats): ditto
7627         (floats): ditto
7628
7629         * FloatList.[Ch] (FloatList): remove commented out float
7630         initialization.
7631         (erase): new function
7632
7633 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7634
7635         * MenuBackend.C (expandToc): fix crash when there is no document
7636         open
7637
7638 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7639
7640         * many files: Add insetwrap.
7641
7642 2002-09-09  John Levon  <levon@movementarian.org>
7643
7644         * text2.C: remove confusing and awkward depth wraparound
7645
7646 2002-09-09  John Levon  <levon@movementarian.org>
7647
7648         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7649
7650         * buffer.h:
7651         * buffer.C: remove getIncludeonlyList()
7652
7653         * paragraph.C:
7654         * lyxfunc.C: remove headers
7655
7656 2002-09-09  Juergen Vigna  <jug@sad.it>
7657
7658         * text.C (getColumnNearX): fix form Michael this is most
7659         probably a cut&paste bug.
7660
7661 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7664
7665         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7666         references, ws changes.
7667
7668         * text2.C (init): update counters after init
7669         (insertParagraph): no need to set counter on idividual paragraphs.
7670         (setCounter): access the counters object in the textclass object
7671         on in the buffer object.
7672         (updateCounters): ditto
7673
7674         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7675         shared_ptr<Counters> to avoid loading counters.h in all
7676         compilation units.
7677         (LyXTextClass): initialize ctrs_
7678         (TextClassTags): add TC_COUNTER, and ...
7679         (Read): use it here.
7680         (CounterTags): new tags
7681         (readCounter): new function
7682         (counters): new funtion
7683         (defaultLayoutName): return a const reference
7684
7685         * counters.C (Counters): remove contructor
7686         (newCounter): remove a couple of unneeded statements.
7687         (newCounter): simplify a bit.
7688         (numberLabel): some small formatting changes.
7689
7690         * buffer.[Ch]: remove all traces of counters, move the Counters
7691         object to the LyXTextClass.
7692
7693 2002-09-06  Alain Castera  <castera@in2p3.fr>
7694
7695         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7696         package to set the horizontal alignment on fixed width columns.
7697
7698         * lyx_sty.C:
7699         * lyx_sty.h: added tabularnewline macro def.
7700
7701         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7702
7703 2002-09-06  John Levon  <levon@movementarian.org>
7704
7705         * LyXAction.C: tooltips for sub/superscript
7706
7707         * MenuBackend.C: a bit more verbose
7708
7709         * lyxfunc.C: tiny clean
7710
7711         * undo_funcs.C: document undo_frozen
7712
7713 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * counters.C (Counters): add missing algorithm counter.
7716
7717         * text2.C (setCounter): lookup the counter with layouts latexname
7718         instead of by section number.
7719         (setCounter): use a hackish way to lookup the correct enum
7720         counter.
7721         a float name->type change
7722         reset enum couners with counter name directly instead of depth value.
7723
7724         * counters.C (Counters): remove the push_backs, change to use the
7725         float type not the float name.
7726         (labelItem): remove unused string, float name->type change
7727
7728         * counters.h: don't include vector, loose the enums and sects vectors
7729
7730 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7733         (Read): add float->TC_FLOAT to textclassTags
7734         (Read): and handle it in the switch
7735         (readFloat): new function
7736
7737         * FloatList.C (FloatList): comment out the hardcoded float
7738         definitions.
7739
7740         * lyxlayout.h: ws change.
7741
7742 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7743
7744         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7745
7746 2002-09-03  Angus Leeming  <leeming@lyx.org>
7747
7748         * BufferView_pimpl.h: qualified name is not allowed in member
7749         declaration: WorkArea & Pimpl::workarea() const;
7750
7751         * factory.C: added using std::endl directive.
7752
7753         * text3.C: added using std::find and std::vector directives.
7754
7755 2002-08-29  André Pönitz <poenitz@gmx.net>
7756
7757         * lyxtext.h:
7758         * text2.C: remove unused member number_of_rows
7759
7760         * Makefile.am:
7761         * BufferView2.C: remove file, move contents to...
7762         * BufferView.C: ... here
7763
7764         * BufferView_pimpl.C:
7765         * factory.C: move more inset creation to factory
7766
7767         * vspace.C: avoid direct usage of LyXText, ws changes
7768
7769         * BufferView.[Ch]:
7770                 don't provide direct access to WorkArea, use two simple
7771                 acessors haveSelction() and workHeight() instead
7772
7773
7774 2002-08-29  John Levon  <levon@movementarian.org>
7775
7776         * BufferView_pimpl.C (dispatch): do not continue when
7777           no buffer
7778
7779 2002-08-28  André Pönitz <poenitz@gmx.net>
7780
7781         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7782
7783         * BufferView.h:
7784         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7785
7786 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7787
7788         * buffer.C: increment LYX_FORMAT to 221
7789
7790         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7791         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7792
7793         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7794
7795         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7796
7797 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7798
7799         * factory.C (createInset): use LyXTextClass::floats
7800
7801         * MenuBackend.C (expandFloatListInsert):
7802         (expandFloatInsert):
7803         (expandToc):
7804
7805         * text2.C (setCounter):
7806
7807         * LaTeXFeatures.C (useFloat):
7808         (getFloatDefinitions):
7809
7810         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7811
7812         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7813         floatlist_, with accessor floats().
7814
7815         * FloatList.h: remove global FloatList
7816
7817 2002-08-26  André Pönitz <poenitz@gmx.net>
7818
7819         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7820
7821         * BufferView.h:
7822         * BufferView2.C:
7823         * BufferView_pimpl.C:
7824         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7825
7826 2002-08-25  John Levon  <levon@movementarian.org>
7827
7828         * LyXAction.C: fix margin note description
7829
7830 2002-08-24  John Levon  <levon@movementarian.org>
7831
7832         * buffer.C:
7833         * bufferlist.C:
7834         * bufferview_funcs.C:
7835         * lyxfont.C:
7836         * undo_funcs.C: cleanups
7837
7838         * lyxfunc.C: disable CUT/COPY when no selection
7839
7840 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7841
7842         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7843         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7844
7845         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7846         Add backward compatibility to "mono", "gray" and "no".
7847
7848 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7849
7850         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7851         (and file_format >= 200).
7852
7853 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7854
7855         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7856
7857 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7858
7859         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7860
7861 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7862
7863         * BufferView_pimpl.C:
7864         * LyXAction.C:
7865         * buffer.C:
7866         * commandtags.h:
7867         * lyxfunc.C:
7868         * paragraph.[Ch]:
7869         * text2.C:
7870         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7871         inset and code to make it  work with the paragraph code. The inset
7872         can be anywhere in the paragraph, but will only do the expected
7873         thing in LaTeX if the layout file contains the parameter line
7874                         OptionalArgs    1
7875         (or more generally, a nonzero value) for that layout.
7876
7877 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * paragraph.h: remove the declaration of undefined counters class
7880         function.
7881
7882 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7883
7884         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7885         Dr. Richard Hawkins.
7886
7887 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7888
7889         * paragraph_funcs.h: remove some unneeded includes
7890
7891         * text.C (backspace): pasteParagraph now in global scipe
7892
7893         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7894         (pasteSelection): ditto
7895
7896         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7897         * paragraph_funcs.C (pasteParagraph): ... here
7898
7899 2002-08-20  André Pönitz <poenitz@gmx.net>
7900
7901         * commandtags.h: new LFUNs for swapping/copying table row/colums
7902
7903         * LyXAction.C:
7904         * lyxfunc.C: support for new lfuns
7905
7906 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * tabular.C:
7909         * buffer.[Ch]: remove NO_COMPABILITY stuff
7910
7911 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * boost.C (throw_exception): new file, with helper function for
7914         boost compiled without exceptions.
7915
7916         * paragraph.h:
7917         * lyxlength.C:
7918         * buffer.C:
7919         * ParameterStruct.h:
7920         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7921
7922         * bufferlist.C (emergencyWriteAll): use boost bind
7923
7924         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7925
7926         * text.C: include paragraph_funcs.h
7927         (breakParagraph): breakParagraph is now in global scope
7928
7929         * paragraph_funcs.[Ch]: new files
7930
7931         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7932         global scope
7933
7934         * buffer.C: include paragraph_funcs.h
7935         (insertStringAsLines): breakParagraph is now in global scope
7936
7937         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7938         paragraph_funcs.C
7939
7940         * CutAndPaste.C: include paragraph_funcs.h
7941         (cutSelection): breakParagraphConservative is now in global scope
7942         (pasteSelection): ditto
7943
7944         * buffer.h: declare oprator== and operator!= for
7945         Buffer::inset_iterator
7946
7947         * bufferlist.C (emergencyWrite): don't use fmt(...)
7948
7949         * text3.C: add using std::endl
7950
7951         * BufferView.C (moveCursorUpdate): remove default arg
7952
7953 2002-08-20  André Pönitz <poenitz@gmx.net>
7954
7955         * buffer.[Ch]: move inline functions to .C
7956
7957         * BufferView2.C:
7958         * BufferView_pimpl.C:
7959         * text.C:
7960         * buffer.[Ch]: use improved inset_iterator
7961
7962         * buffer.C:
7963         * paragraph.[Ch]: write one paragraph at a time
7964
7965 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7966
7967         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7968         style if style is not specified.
7969
7970 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7971
7972         * text2.C (setCounter): when searching for right label for a
7973         caption, make sure to recurse to parent insets (so that a caption
7974         in a minipage in a figure float works) (bug #568)
7975
7976 2002-08-20  André Pönitz <poenitz@gmx.net>
7977
7978         * text3.C: new file for LyXText::dispatch() and helpers
7979
7980         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7981
7982         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7983
7984 2002-08-19  André Pönitz <poenitz@gmx.net>
7985
7986         * lyxtext.h:
7987         * text.C: new LyXText::dispatch()
7988
7989         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7990
7991 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7992
7993         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7994
7995         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7996         Hebrew text.
7997
7998 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * Makefile.am: use $(variables) instead of @substitutions@
8001
8002 2002-08-15  André Pönitz <poenitz@gmx.net>
8003
8004         * lyxfunc.C:
8005         * BufferView_pimpl.C: streamlining mathed <-> outer world
8006         interaction
8007
8008         * commandtags.h:
8009         * LyXAction.C: remove unused LFUN_MATH
8010
8011 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8014
8015 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * paragraph.C (Paragraph): reformat a bit
8018         (cutIntoMinibuffer): use builtin InsetList function instad of
8019         doing it manually.
8020         (getInset): ditto
8021
8022         * buffer.C: include boost/bind.hpp, add using std::for_each
8023         (writeFileAscii): use ParagraphList iterators
8024         (validate): use for_each for validate traversal of paragraphs
8025         (getBibkeyList): use ParagraphList iterators
8026         (resizeInsets): use for_each to resizeInsetsLyXText for all
8027         paragraphs.
8028         (getParFromID): use ParagraphList iterators
8029
8030         * BufferView2.C (lockInset): use paragraph list and iterators
8031
8032 2002-08-14  John Levon  <levon@movementarian.org>
8033
8034         * lyxserver.C: remove spurious xforms include
8035
8036 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8037
8038         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8039
8040 2002-08-13  André Pönitz <poenitz@gmx.net>
8041
8042         * LyXAction.[Ch]:
8043         * lyxfunc.C: further cleaning
8044
8045 2002-08-13  André Pönitz <poenitz@gmx.net>
8046
8047         * funcrequest.h: new constructor
8048
8049         * funcrequest.C: move stuff here from .h
8050
8051         * Makefile.am:
8052         * BufferView_pimpl.C:
8053         * LyXAction.C:
8054         * toc.C:
8055         * lyxfunc.C: subsequent changes
8056
8057         * lyxfunc.h: new view() member function
8058
8059         * lyxfunc.C: subsequent changes
8060
8061 2002-08-13  Angus Leeming  <leeming@lyx.org>
8062
8063         * BufferView2.C:
8064         * BufferView_pimpl.C:
8065         * buffer.C:
8066         * converter.C:
8067         * importer.C:
8068         * lyxfunc.C:
8069         * lyxvc.C:
8070         * toc.C:
8071         * vc-backend.C:
8072         changes due to the changed LyXView interface that now returns references
8073         to member variables not pointers.
8074
8075 2002-08-13  Angus Leeming  <leeming@lyx.org>
8076
8077         * WordLangTuple (word, lang_code): return references to strings,
8078         not strings.
8079
8080         * BufferView.h:
8081         * SpellBase.h:
8082         * lyxtext.h: forward-declare WordLangTuple.
8083
8084         * BufferView2.C:
8085         * ispell.C:
8086         * pspell.C:
8087         * text.C: #include "WordLangTuple.h".
8088
8089         * lyxtext.h:
8090         * text.C: (selectNextWordToSpellcheck): constify return type.
8091
8092 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8093
8094         * buffer.C:
8095         * buffer.h:
8096         * lyxtext.h:
8097         * paragraph.C:
8098         * paragraph_pimpl.h:
8099         * text.C:
8100         * text2.C:
8101         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8102         suggested by Angus.
8103         Made updateCounter always count from start of buffer, and removed
8104         second argument (par).
8105         Reverted floats number display to '#'. Perhaps I'll try again when the
8106         code base is sanitized a bit.
8107
8108 2002-08-12  Angus Leeming  <leeming@lyx.org>
8109
8110         * buffer.[Ch] (getLabelList): constify.
8111
8112 2002-08-07  André Pönitz <poenitz@gmx.net>
8113
8114         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8115
8116         * funcrequest.h: extension to keep mouse (x,y) position
8117
8118 2002-08-12  Juergen Vigna  <jug@sad.it>
8119
8120         * BufferView2.C (insertErrors): forbid undo when inserting error
8121         insets.
8122
8123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8124
8125 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * ParagraphList.[Ch]: new files
8128
8129         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8130
8131         * BufferView2.C (lockInset): ParagraphList changes
8132         * toc.C: ditto
8133         * text2.C: ditto
8134         * bufferlist.C: ditto
8135         * buffer.h: ditto
8136         * buffer.C: ditto
8137
8138 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8141         unused class variable counter_,
8142
8143         * paragraph.[Ch] (getFirstCounter): delete unused function
8144
8145         * counters.C: include LAssert.h
8146         (reset): add a new function with no arg, change other version to
8147         not have def. arg and to not allow empty arg.
8148
8149         * text2.C (setCounter): remove empty arg from call to Counters::reset
8150
8151 2002-08-11  John Levon  <levon@movementarian.org>
8152
8153         * Makefile.am: add WordLangTuple.h
8154
8155 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8158         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8159
8160         * insets/insettext.C: InsetList changes
8161
8162         * graphics/GraphicsSupport.C (operator()): InsetList changes
8163
8164         * toc.C (getTocList): InsetList changes
8165
8166         * paragraph_pimpl.[Ch]: InsetList changes
8167
8168         * paragraph.[Ch]: InsetList changes
8169
8170         * buffer.C (inset_iterator): InsetList changes
8171         (setParagraph): ditto
8172         * buffer.h (inset_iterator): ditto
8173         * iterators.C (operator++): ditto
8174         * iterators.h: ditto
8175
8176         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8177
8178         * InsetList.[Ch]: new files, most InsetList handling moved out of
8179         paragraph.C.
8180
8181         * BufferView2.C (removeAutoInsets): InsetList changes
8182         (lockInset): ditto
8183         (ChangeInsets): ditto
8184
8185 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * paragraph_pimpl.h (empty): new function
8188
8189         * paragraph.[Ch] (empty): new function
8190
8191         * other files: use the new Paragraph::empty function
8192
8193 2002-08-09  John Levon  <levon@movementarian.org>
8194
8195         * lyxtext.h: remove unused refresh_height
8196
8197 2002-08-09  John Levon  <levon@movementarian.org>
8198
8199         * Makefile.am:
8200         * sgml.h:
8201         * sgml.C:
8202         * buffer.C:
8203         * paragraph.h:
8204         * paragraph.C: move sgml char escaping out of paragraph
8205
8206         * paragraph.h:
8207         * paragraph.C: remove id setter
8208
8209         * buffer.C:
8210         * paragraph.C:
8211         * paragraph_pimpl.C: remove dead tex_code_break_column
8212
8213         * bufferview_funcs.C: small cleanup
8214
8215         * lyxfunc.C: remove dead proto
8216
8217         * lyxtext.h: make some stuff private. Remove some dead stuff.
8218
8219         * lyxgluelength.C: make as[LyX]String() readable
8220
8221 2002-08-08  John Levon  <levon@movementarian.org>
8222
8223         * LyXAction.h:
8224         * LyXAction.C:
8225         * MenuBackend.C:
8226         * ToolbarDefaults.C:
8227         * lyxfunc.C:
8228         * lyxrc.C:
8229         * toc.C: lyxaction cleanup
8230
8231 2002-08-08  John Levon  <levon@movementarian.org>
8232
8233         * BufferView2.C: small cleanup
8234
8235         * lyxfind.h:
8236         * lyxfind.C: move unnecessary header into the .C
8237
8238 2002-08-08  John Levon  <levon@movementarian.org>
8239
8240         * funcrequest.h: just tedious nonsense
8241
8242         * lyx_main.h:
8243         * lyx_main.C: cleanups
8244
8245         * buffer.C:
8246         * vspace.C: remove dead header lyx_main.h
8247
8248 2002-08-07  Angus Leeming  <leeming@lyx.org>
8249
8250         * Paragraph.[Ch]:
8251         * paragraph_pimpl.h:
8252         Forward declare class Counters in paragraph.h by moving the ctrs member
8253         variable into Paragraph::Pimpl.
8254         (counters): new method, returning a reference to pimpl_->ctrs.
8255
8256         * text2.C: ensuing changes.
8257
8258 2002-08-07  John Levon  <levon@movementarian.org>
8259
8260         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8261
8262         * BufferView_pimpl.C: announce X selection on double/triple
8263           click
8264
8265         * lyx_main.C: use correct bool in batch dispatch
8266
8267         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8268
8269 2002-08-07  André Pönitz <poenitz@gmx.net>
8270
8271         * funcrequest.h: new class to wrap a kb_action and its argument
8272
8273         * BufferView.[Ch]:
8274         * BufferView_pimpl[Ch]:
8275         * LaTeX.C:
8276         * LyXAction.[Ch]:
8277         * lyxfunc.[Ch]:
8278         * lyxrc.C: subsequent changes
8279
8280
8281 2002-08-07  John Levon  <levon@movementarian.org>
8282
8283         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8284           document options change.
8285
8286 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8287
8288         * counters.[Ch]
8289         * text2.C
8290         * paragraph.[Ch]
8291         * makefile.am: move counters functionality over from
8292         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8293
8294 2002-08-06  John Levon  <levon@movementarian.org>
8295
8296         * WordLangTuple.h: new file for word + language code tuple
8297
8298         * SpellBase.h:
8299         * pspell.h:
8300         * pspell.C:
8301         * ispell.h:
8302         * ispell.C:
8303         * lyxtext.h:
8304         * text.C:
8305         * text2.C:
8306         * BufferView.h:
8307         * BufferView2.C: use WordLangTuple
8308
8309         * layout.h:
8310         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8311
8312 2002-08-06  John Levon  <levon@movementarian.org>
8313
8314         * lyx_main.C: fix cmdline batch handling
8315
8316 2002-08-06  André Pönitz <poenitz@gmx.net>
8317
8318         * lyxrc.C: set default for show_banner to true
8319
8320 2002-08-06  John Levon  <levon@movementarian.org>
8321
8322         * pspell.C: fix a crash, and allow new aspell to work
8323
8324 2002-08-06  John Levon  <levon@movementarian.org>
8325
8326         * lyxfunc.C:
8327         * kbmap.C: small cleanup
8328
8329         * vspace.h:
8330         * vspace.C: add const
8331
8332 2002-08-05  John Levon  <levon@movementarian.org>
8333
8334         * LyXAction.C: back to tabular-insert
8335
8336 2002-08-04  John Levon  <levon@movementarian.org>
8337
8338         * BufferView.h:
8339         * BufferView.C: cosmetic change
8340
8341         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8342
8343         * bufferlist.C:
8344         * buffer.h:
8345         * buffer.C:
8346         * lyxcb.h:
8347         * lyxcb.C:
8348         * lyxserver.C:
8349         * lyxvc.C:
8350         * vc-backend.C:
8351         * BufferView2.C: purge all "Lyx" not "LyX" strings
8352
8353         * lyxcursor.h:
8354         * lyxcursor.C: attempt to add some documentation
8355
8356         * lyxfunc.C:
8357         * commandtags.h:
8358         * LyXAction.C:
8359         * ToolbarDefaults.C:
8360         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8361           merge with LFUN_TABULAR_INSERT
8362
8363         * Makefile.am:
8364         * SpellBase.h:
8365         * ispell.h:
8366         * ispell.C:
8367         * pspell.h:
8368         * pspell.C: split up i/pspell implementations into separate
8369           files, many cleanups
8370
8371         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8372
8373         * text2.C: some cleanup
8374
8375         * lyxfunc.C: don't check for isp_command == "none" any more, it
8376           didn't make any sense
8377
8378 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8379
8380         * counters.[Ch]
8381         * text2.C
8382         * paragraph.[Ch]
8383         * makefile.am: move counters functionality over
8384         from text2.C/paragraph.[Ch] to counters.[Ch], and
8385         make proper C++.
8386 2002-08-02  John Levon  <levon@movementarian.org>
8387
8388         * buffer.C: s/lyxconvert/lyx2lyx/
8389
8390 2002-08-02  Angus Leeming  <leeming@lyx.org>
8391
8392         * lyxlex.C: revert John's change as it breaks reading of the user
8393         preamble.
8394
8395 2002-08-02  Angus Leeming  <leeming@lyx.org>
8396
8397         * importer.C (Import):
8398         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8399         changes due to LyXView::view() now returning a boost::shared_ptr.
8400
8401 2002-08-02  John Levon  <levon@movementarian.org>
8402
8403         * lyxlex.C: small cleanup
8404
8405 2002-08-02  John Levon  <levon@movementarian.org>
8406
8407         * text2.C (status): small cleanup, no logic change
8408
8409 2002-08-01  John Levon  <levon@movementarian.org>
8410
8411         * buffer.h:
8412         * buffer.C (writeFile): don't output alerts, caller
8413           handles this
8414
8415         * bufferlist.C:
8416         * lyx_cb.C: from above
8417
8418         * lyxfunc.C: allow to open non-existent files
8419
8420 2002-07-31  John Levon  <levon@movementarian.org>
8421
8422         * lyxserver.C: don't let incidental errors get
8423           in the way (errno)
8424
8425 2002-07-30  John Levon  <levon@movementarian.org>
8426
8427         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8428
8429 2002-07-30  John Levon  <levon@movementarian.org>
8430
8431         * lyxserver.h:
8432         * lyxserver.C: remove I/O callback too
8433
8434 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8437         log.
8438
8439 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * many files: strip,frontStrip -> trim,ltrim,rtrim
8442
8443 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * PrinterParams.h: remove extern containsOnly, and include
8446         support/lstrings.h instead.
8447
8448         * LaTeX.C (scanAuxFile): modify because of strip changes
8449         (deplog): ditto
8450         * buffer.C (makeLaTeXFile): ditto
8451         * bufferparams.C (writeFile): ditt
8452         * lyxfont.C (stateText): ditto
8453         * lyxserver.C (read_ready): ditto
8454         * vc-backend.C (scanMaster): ditto
8455
8456         * BufferView_pimpl.h: ws changes
8457
8458         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8459
8460 2002-07-26  André Pönitz <poenitz@gmx.net>
8461
8462         * kb_sequence.C: remove unnedred usings
8463
8464 2002-07-26  Juergen Vigna  <jug@sad.it>
8465
8466         * lyxfind.C (LyXReplace): we have to check better if the returned
8467         text is not of theLockingInset()->getLockingInset().
8468
8469 2002-07-25  Juergen Vigna  <jug@sad.it>
8470
8471         * lyxfind.C (LyXReplace): don't replace if we don't get the
8472         right LyXText.
8473
8474         * undo_funcs.C (createUndo): remove debugging code.
8475
8476 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8477
8478         * buffer.C (parseSingleLyXformat2Token): Use default placement
8479         when reading old floats.
8480
8481         * FloatList.C (FloatList): Change the default placement of figure
8482         and tables to "tbp".
8483
8484 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * MenuBackend.C: using std::max
8487
8488 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * MenuBackend.C (expandToc):
8491         (expandToc2): code moved from xforms menu frontend. It is now
8492         generic and TOCs are transparent to menu frontends.
8493
8494 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * toc.C (getTocList): protect against buf=0
8497
8498         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8499         Menu as first parameter. Now, this calls itself recursively to
8500         expand a whole tree (this will be useful for TOC handling)
8501         (expandFloatInsert): remove 'wide' version of floats
8502
8503         * MenuBackend.h (submenuname): returns the name of the submenu.
8504         (submenu): returns the submenu itself, provided it has been
8505         created by MenuBackend::expand
8506
8507 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8510         insets which have noFontChange == true. (bug #172)
8511
8512 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * BufferView_pimpl.C: add connection objects and use them...
8515         (Pimpl): here.
8516
8517 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * MenuBackend.C (expandLastfiles):
8520         (expandDocuments):
8521         (expandFormats):
8522         (expandFloatListInsert):
8523         (expandFloatInsert):
8524         (expand): split expand in parts
8525
8526 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * lyx_gui.C: use lyx_gui::exit()
8529
8530 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8531
8532         * LyXAction.C: show the failing pseudo action
8533
8534 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8535
8536         * buffer.C (readFile): Run the lyxconvert script in order to read
8537         old files.
8538
8539 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8540
8541         * LyXAction.C:
8542         * commandtags.h:
8543         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8544
8545 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * LyXAction.C:
8548         * commandtags.h:
8549         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8550
8551 2002-07-22  Herbert Voss  <voss@lyx.org>
8552
8553         * lengthcommon.C:
8554         * lyxlength.[Ch]: add support for the vertical lengths
8555
8556 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * toc.[Ch]: std:: fixes
8559
8560 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561
8562         * lyxrc.C: do not include lyx_main.h
8563
8564         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8565         for layouts
8566
8567         * lyxrc.C:
8568         * encoding.C:
8569         * bufferlist.C:
8570         * BufferView2.C: include "lyxlex.h"
8571
8572         * tabular.h:
8573         * bufferparams.h: do not #include "lyxlex.h"
8574
8575         * lyxtextclasslist.C (Add): remove method
8576         (classlist): renamed to classlist_
8577
8578         * paragraph_pimpl.C:
8579         * paragraph.C:
8580         * text2.C:
8581         * CutAndPaste.C:
8582         * bufferview_funcs.C:
8583         * bufferlist.C:
8584         * text.C:
8585         * LaTeXFeatures.C:
8586         * buffer.C:
8587         * toc.C (getTocList): use BufferParams::getLyXTextClass
8588
8589         * toc.C (getTocList): use InsetFloat::addToToc
8590
8591         * toc.[Ch]: new files, containing helper functions to handle table
8592         of contents
8593
8594         * lyxfunc.C (dispatch): no need to remove spaces around command
8595         given as a string
8596         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8597         first command of the sequence; it is not very clever, but I do not
8598         have a better idea, actually
8599
8600         * LyXAction.C (LookupFunc): make sure to remove space at the
8601         beginning and end of the command
8602
8603 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8604
8605         * MenuBackend.C (getMenubar): new method: return the menubar of
8606         this menu set
8607         (read): treat differently reading of menu and menubar (in
8608         particular, the menubar has no name now)
8609         (Menu::menubar): remove
8610
8611         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8612         saving is finished
8613
8614 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8617         a bibitem inset in a RTL paragraph.
8618
8619 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8620
8621         * paragraph_pimpl.C: constify
8622
8623         * BufferView_pimpl.C:
8624         * LaTeX.C:
8625         * lyxfunc.C: fix dispatch in a nicer way
8626
8627 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8628
8629         * lyxfunc.C (dispatch):
8630         * BufferView_pimpl.C:
8631         * BufferView_pimpl.h:
8632         * BufferView.C:
8633         * BufferView.h: rename Dispatch() to dispatch()
8634
8635         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8636
8637         * lyxlayout.C (Read): honor DependsOn tag
8638
8639         * lyxlayout.[Ch] (depends_on): new method
8640
8641         * version.C.in: update lyx_docversion
8642
8643         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8644
8645         * paragraph.C (validate): remove from here...
8646         * paragraph_pimpl.C (validate): ... and move here
8647         (isTextAt): make it const
8648
8649         * buffer.C (getLists): ws cleanup
8650
8651 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * language.C (read): Use iso8859-1 encoding in latex_lang
8654         (this prevents LyX from crashing when using iso10646-1 encoding).
8655
8656 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8657
8658         * text2.C (toggleInset): if cursor is inside an inset, close the
8659         inset and leave cursor _after_ it
8660
8661 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8662
8663         * lyxfunc.C: move minibuffer completion handling out of here
8664
8665 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8666
8667         * BufferView_pimpl.C:
8668         * LaTeX.C: fix dispatch calls
8669
8670 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8671
8672         * text.C (drawChars): Fix Arabic text rendering.
8673
8674 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8675
8676         * LyXAction.C:
8677         * commandtags.h:
8678         * lyxfunc.C: remove message-push/pop
8679
8680         * lyxserver.C:
8681         * lyxfunc.h:
8682         * lyxfunc.C: rationalise some code by removing verboseDispatch
8683           in favour of a bool argument to dispatch()
8684
8685 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8686
8687         * lyx_main.C (init): make sure to read symlinks as absolute paths
8688
8689 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8690
8691         * lyxfunc.h:
8692         * lyxfunc.C: no need for commandshortcut to be a member
8693
8694 2002-07-15  André Pönitz <poenitz@gmx.net>
8695
8696         * converter.C: add support for $$s (scripts from lib/scripts dir)
8697         * lyx_main.C: white space
8698
8699 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8700
8701         * bufferlist.C:
8702         * lyxrc.h:
8703         * lyxrc.C: remove second exit confirmation
8704
8705 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8706
8707         * BufferView.h:
8708         * BufferView.C:
8709         * BufferView2.C:
8710         * BufferView_pimpl.h:
8711         * BufferView_pimpl.C:
8712         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8713
8714 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * MenuBackend.C (expand): add numeric shortcuts to document menu
8717
8718         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8719
8720 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * lyxfont.C (setLyXFamily):
8723         (setLyXSeries):
8724         (setLyXShape):
8725         (setLyXSize):
8726         (setLyXMisc):
8727         (lyxRead):
8728         * debug.C (value):
8729         * buffer.C (asciiParagraph): use ascii_lowercase
8730
8731 2002-07-15  Mike Fabian  <mfabian@suse.de>
8732
8733         * lyxlex_pimpl.C (search_kw):
8734         * lyxlex.C (getLongString):
8735         * converter.h (operator<):
8736         * converter.C (operator<):
8737         * buffer.C (parseSingleLyXformat2Token):
8738         (asciiParagraph):
8739         * ToolbarDefaults.C (read):
8740         * MenuBackend.C (checkShortcuts):
8741         (read):
8742         * LColor.C (getFromGUIName):
8743         (getFromLyXName): use the compare_ascii_no_case instead of
8744         compare_no_case, because in turkish, 'i' is not the lowercase
8745         version of 'I', and thus turkish locale breaks parsing of tags.
8746
8747 2002-07-16  Angus Leeming  <leeming@lyx.org>
8748
8749         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8750         now takes a Buffer const & argument.
8751
8752 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * BufferView.C (resize): check there's a buffer to resize
8755
8756 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * lyxfunc.C: remove dead code
8759
8760         * lyxserver.h:
8761         * lyxserver.C: use lyx_guii::set_read_callback
8762
8763 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8764
8765         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8766         an inset in a RTL paragraph.
8767
8768 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * lyxfunc.C: repaint after a font size update
8771
8772 2002-07-15  André Pönitz <poenitz@gmx.net>
8773
8774         * lyxlength.C: inBP should be able to return negative values
8775
8776 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * lyxfunc.C: use lyx_gui::update_fonts()
8779
8780 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * lyxfunc.C: use lyx_gui::update_color()
8783
8784 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * bufferlist.C:
8787         * lyxfunc.h:
8788         * lyxfunc.C:
8789         * lyxrc.h:
8790         * lyxrc.C: remove file->new asks for name option, and let
8791           buffer-new take an argument
8792
8793 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * BufferView_pimpl.C: remove unneeded extra repaint()
8796
8797 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * LyXAction.C: allow command-sequence with NoBuffer
8800
8801         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8802
8803 2002-07-10  Angus Leeming  <leeming@lyx.org>
8804
8805         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8806
8807 2002-07-09  Angus Leeming  <leeming@lyx.org>
8808
8809         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8810
8811 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8812
8813         * lengthcommon.h: whitespace
8814
8815         * lyxfunc.C: update scrollbar after goto paragraph
8816
8817         * lyxtext.h: factor out page break drawing, and fix it so
8818           page break/added space paints as selected nicely
8819
8820 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * BufferView_pimpl.C: add FIXMEs, clean up a little
8823
8824 2002-07-09  André Pönitz <poenitz@gmx.net>
8825
8826         * lyxfont.[Ch]: support for wasy symbols
8827
8828 2002-07-08  André Pönitz <poenitz@gmx.net>
8829
8830         * BufferView_pimpl.C: apply John's patch for #93.
8831
8832 2002-07-05  Angus Leeming  <leeming@lyx.org>
8833
8834         * BufferView_pimpl.C (buffer): generate previews if desired.
8835
8836         * LColor.h: add "preview" to the color enum.
8837
8838         * LColor.C (LColor): add a corresponding entry to the items array.
8839
8840         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8841         with this buffer.
8842
8843 2002-07-05  Angus Leeming  <leeming@lyx.org>
8844
8845         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8846         The body of the code is now in the method that is passed an ostream &
8847         rather than a file name.
8848         Pass an additional only_preamble parameter, useful for the forthcoming
8849         preview stuff.
8850
8851 2002-07-03  André Pönitz <poenitz@gmx.net>
8852
8853         * lyxfunc.C: simplify getStatus() a bit for math stuff
8854
8855 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8856
8857         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8858
8859 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * text.C (changeRegionCase): do not change case of all the
8862         document when region ends at paragraph end (bug #461)
8863
8864 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * paragraph.C (startTeXParParams):
8867         (endTeXParParams): add \protect when necessary
8868
8869 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * BufferView_pimpl.C (workAreaExpose): remove warning
8872
8873 2002-06-27  Angus Leeming  <leeming@lyx.org>
8874
8875         * Makefile.am: add lyxlayout_ptr_fwd.h.
8876
8877 2002-06-26  André Pönitz <poenitz@gmx.net>
8878
8879         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8880
8881 2002-06-25  Angus Leeming  <leeming@lyx.org>
8882
8883         * lyxfunc.C (dispatch): Comment out the call to
8884         grfx::GCache::changeDisplay. The method no longer exists now that the
8885         pixmap generation part of the graphics loader has been moved into
8886         InsetGraphics.
8887
8888 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * text2.C: layout as layout
8891
8892         * text.C: layout as layout
8893
8894         * tabular.C (OldFormatRead): layout as layout
8895
8896         * paragraph_pimpl.C (TeXDeeper): layout as layout
8897         (realizeFont): layout as layout
8898
8899         * paragraph.C (writeFile): layout as layout
8900         (validate): layout as layout
8901         (getFont): layout as layout
8902         (getLabelFont): layout as layout
8903         (getLayoutFont): layout as layout
8904         (breakParagraph): layout as layout
8905         (stripLeadingSpaces): layout as layout
8906         (getEndLabel): layout as layout
8907         (getMaxDepthAfter): layout as layout
8908         (applyLayout): layout as layout
8909         (TeXOnePar): layout as layout
8910         (simpleTeXOnePar): layout as layout
8911         (TeXEnvironment): layout as layout
8912         (layout): layout as layout
8913         (layout): layout as layout
8914
8915         * lyxtextclass.C (compare_name): new functor to work with
8916         shared_ptr, layout as layout
8917         (Read): layout as layout
8918         (hasLayout): layout as layout
8919         (operator): layout as layout
8920         (delete_layout): layout as layout
8921         (defaultLayout): layout as layout
8922
8923         * lyxlayout_ptr_fwd.h: new file
8924
8925         * lyxlayout.C (Read): layout as layout
8926
8927         * lyx_cb.C (MenuInsertLabel): layout as layout
8928
8929         * bufferlist.C (newFile): layout as layout
8930
8931         * buffer.C (readLyXformat2): layout as layout
8932         (parseSingleLyXformat2Token): layout as layout
8933         (insertStringAsLines): layout as layout
8934         (asciiParagraph): layout as layout
8935         (latexParagraphs): layout as layout
8936         (makeLinuxDocFile): layout as layout
8937         (simpleLinuxDocOnePar): layout as layout
8938         (makeDocBookFile): layout as layout
8939         (simpleDocBookOnePar): layout as layout
8940         (getLists): layout as layout
8941
8942         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8943
8944         * CutAndPaste.C (cutSelection): layout as layout
8945         (pasteSelection): layout as layout
8946         (SwitchLayoutsBetweenClasses): layout as layout
8947
8948         * BufferView_pimpl.C (Dispatch): layout as layout
8949         (smartQuote): layout as layout
8950
8951         * BufferView2.C (unlockInset): layout as layout
8952
8953 2002-06-24  André Pönitz <poenitz@gmx.net>
8954
8955         * lyxfunc.C: fix #487
8956
8957 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * lyxrc.h:
8960         * lyxrc.C:
8961         * lyxfunc.C: remove display_shortcuts, show_banner
8962
8963 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * Buffer_pimpl.C: oops, update on resize
8966
8967 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * buffer.C:
8970         * converter.C:
8971         * exporter.C:
8972         * lyxfunc.C:
8973         * BufferView.h:
8974         * BufferView.C: use repaint()
8975
8976         * BufferView_pimpl.h:
8977         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8978           as it's a clearer description. Remove superfluous
8979           redraws.
8980
8981 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * text.C: fix bug 488. Not ideal, but getting
8984           getWord() to work properly for the insets that
8985           matter is more difficult ...
8986
8987 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * BufferView_pimpl.C:
8990         * LyXAction.C:
8991         * commandtags.h:
8992         * lyxfunc.C: remove the six million index lyxfuncs to just
8993           one, and DTRT (bug 458)
8994
8995 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8996
8997         * BufferView.h:
8998         * BufferView.C:
8999         * BufferView_pimpl.h:
9000         * BufferView_pimpl.C: clean up resize() stuff,
9001           and unnecessary updateScreen()s
9002
9003 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * BufferView.h:
9006         * BufferView.C:
9007         * BufferView_pimpl.h:
9008         * BufferView_pimpl.C:
9009         * lyxfind.h:
9010         * lyxfind.C:
9011         * minibuffer.C: remove focus management of workarea,
9012           not needed. Use screen's greyOut()
9013
9014 2002-06-17  Herbert Voss  <voss@lyx.org>
9015
9016         * converter.C: (convert) do not post a message, when converting
9017         fails, let the calling function decide what to do in this case
9018
9019 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * lyxfunc.C: tidy up a little
9022
9023 2002-06-16    <alstrup@diku.dk>
9024
9025         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9026         Got rid of FORMS_H_LOCATION include. Now we are
9027         GUII.
9028
9029 2002-06-15  LyX Development team  <lyx@rilke>
9030
9031         * buffer.[Ch] (sgmlOpenTag):
9032         (sgmlCloseTag): Added support for avoiding pernicious mixed
9033         content. Return number of lines written.
9034
9035         (makeLinuxDocFile):
9036         (makeDocBookFile): Fixed calls to sgml*Tag.
9037         Simple white space clean.
9038
9039         (simpleDocBookOnePar): Simple white space clean.
9040
9041         * tabular.[Ch] (docBook): Renamed to docbook and got another
9042         argument to related with the pernicious mixed content.
9043
9044         (docbookRow): Fixed calls for docbook inset method.
9045
9046 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9047
9048         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9049         so it's X11 independent.
9050
9051         * kb*.[Ch]: ditto.
9052
9053         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9054
9055 2002-06-15  Lyx Development team  <lyx@electronia>
9056
9057         * intl.h: Renamed getTrans to getTransManager.
9058
9059 2002-06-14  Angus Leeming  <leeming@lyx.org>
9060
9061         * Makefile.am: nuke forgotten stl_string_fwd.h.
9062
9063 2002-06-12  Angus Leeming  <leeming@lyx.org>
9064
9065         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9066
9067 2002-06-13  Angus Leeming  <leeming@lyx.org>
9068
9069         * LaTeX.C:
9070         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9071
9072 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9073
9074         * kbmap.C (getiso): add support for cyrillic and greek
9075
9076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * BufferView.h:
9079         * BufferView.C:
9080         * BufferView_pimpl.h:
9081         * BufferView_pimpl.C: move bogus scrolling logic
9082           to xforms
9083
9084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * lyxfunc.C:
9087         * BufferView_pimpl.C: view->resize() change
9088
9089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * BufferView_pimpl.C: topCursorVisible
9092           prototype change
9093
9094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * Makefile.am:
9097         * lyx_gui.h:
9098         * lyx_gui.C: move to frontends/
9099
9100         * main.C:
9101         * lyx_main.h:
9102         * lyx_main.C: changes from above
9103
9104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * intl.C:
9107         * intl.h:
9108         * kbmap.C:
9109         * kbsequence.C:
9110         * lyx_cb.C:
9111         * lyx_main.C: minor tidy
9112
9113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView_pimpl.h:
9116         * BufferView_pimpl.C:
9117         * BufferView.h:
9118         * BufferView.C: make painter() const,
9119           remove dead code
9120
9121         * BufferView2.C: use screen() accessor
9122
9123         * lyx_main.h:
9124         * lyx_main.C: some minor cleanup
9125
9126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * BufferView_pimpl.h:
9129         * BufferView_pimpl.C: remove enter/leaveView,
9130           use workHeight()
9131
9132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9133
9134         * BufferView.h:
9135         * BufferView.C:
9136         * BufferView2.C:
9137         * BufferView_pimpl.h:
9138         * BufferView_pimpl.C: only construct screen once,
9139           rename
9140
9141         * lyxrc.C: remove pointless comment
9142
9143 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * BufferView.h:
9146         * BufferView.C: remove active() and belowMouse()
9147
9148         * BufferView_pimpl.h:
9149         * BufferView_pimpl.C: use workarea() not workarea_,
9150           and make it use a scoped_ptr instead
9151
9152 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * lyx_gui.C: add debug message on BadWindow
9155
9156 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * sp_spell.C: fdopen is not part of the C++ standard.
9159
9160         * paragraph.C (InsetIterator): use >= instead of ==
9161
9162 2002-06-07  Angus Leeming  <leeming@lyx.org>
9163
9164         Fixes needed to compile with Compaq cxx 6.5.
9165         * BufferView_pimpl.C:
9166         * DepTable.C:
9167         * buffer.C:
9168         * converter.C:
9169         * encoding.C:
9170         * lyx_gui.C:
9171         * lyx_main.C:
9172         * lyxtextclasslist.C:
9173         * minibuffer.C:
9174         * sp_spell.C:
9175         * tabular_funcs.C:
9176         * vc-backend.C:
9177         all c-library variables have been moved into namespace std. Wrap
9178         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9179
9180         * lyxlength.C:
9181         * tabular-old.C:
9182         * tabular.C:
9183         Add a using std::abs declaration.
9184
9185         * kbmap.h (modifier_pair):
9186         * paragraph.h (InsetTable, InsetList):
9187         * lyxfont.h (FontBits):
9188         type definition made public.
9189
9190         * bufferlist.C (emergencyWriteAll): the compiler complains that
9191         there is more than one possible lyx::class_fun template to choose from.
9192         I re-named the void specialisation as lyx::void_class_fun.
9193
9194         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9195
9196         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9197         the compiler is is unable to find tostr in write_attribute.
9198
9199 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * buffer.C (sgmlError): hide #warning
9202
9203 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9204
9205         * xtl/*: get rid of xtl, which is not in use anyway
9206
9207         * LyXAction.C (init):
9208         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9209         were unimplemented xtl experimentation
9210
9211 2002-06-04  André Pönitz <poenitz@gmx.net>
9212
9213         * lyxfunc.C: disable array operation on simple formulae
9214
9215 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * converter.C: constify a bit
9218
9219 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * lyx_gui.C: check xforms version correctly
9222
9223 2002-04-30  Herbert Voss  <voss@lyx.org>
9224
9225         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9226         "keep" option
9227
9228 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9229
9230         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9231           attempt to register it with a VCS)
9232
9233 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * lyx_main.C (init): honor variables LYX_DIR_13x and
9236         LYX_USERDIR_13x
9237
9238 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * buffer.h:
9241         * buffer.C:
9242         * lyx_main.C: fix a crash on bad command line,
9243           and give a useful exit status on error
9244
9245         * lyxfunc.C (doImport): allow -i lyx to work
9246
9247 2002-03-30  André Pönitz <poenitz@gmx.net>
9248
9249         * lyxfunc.C: mathed font changes
9250
9251 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9252
9253         * LaTeX.C:
9254         * importer.h:
9255         * importer.C:
9256         * lyx_sty.h:
9257         * lyx_sty.C:
9258         * lyxlex.C:
9259         * lyxrow.h:
9260         * lyxtext.h:
9261         * paragraph.h:
9262         * paragraph.C:
9263         * texrow.h:
9264         * texrow.C:
9265         * text.C:
9266         * trans_mgr.h: srcdocs, and some minor cleanups
9267
9268 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9269
9270         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9271         call getFont all the time)
9272
9273 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * switch from SigC signals to boost::signals
9276
9277 2002-05-29  André Pönitz <poenitz@gmx.net>
9278
9279         * paragraph_pimpl.C (getChar): don't call size() too often...
9280
9281 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * paragraph_pimpl.C (insertChar): do not try to update tables when
9284         appending (pos == size())
9285
9286         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9287         in order to reduce drastically the number of comparisons needed to
9288         parse a large document
9289
9290 2002-05-29  André Pönitz <poenitz@gmx.net>
9291
9292         * text.C:
9293         * text2.C:
9294         * lyxtextclass.C:
9295         * sp_pspell.h:
9296         * textclasslist.[Ch]:
9297         * sp_ispell.h: whitespace change
9298
9299 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9300
9301         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9302         lyxaction directly now.
9303
9304 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * trans.C:
9307         * lyxfont.C:
9308         * lyxvc.C: remove unused headers
9309
9310 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * Makefile.am:
9313         * buffer.h:
9314         * undostack.h:
9315         * undostack.C:
9316         * undo_funcs.h:
9317         * undo_funcs.C: some cleanups. Use shared_ptr
9318           and a template for the undo stacks.
9319
9320 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * BufferView_pimpl.h:
9323         * BufferView_pimpl.C:
9324         * kbmap.h:
9325         * kbmap.C:
9326         * kbsequence.h:
9327         * kbsequence.C:
9328         * lyxfunc.h:
9329         * lyxfunc.C:
9330         * text2.C: use key_state/mouse_state
9331
9332 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9335         and LSubstring
9336
9337         * chset.C: change include order
9338         (loadFile): use boost regex and get rid of LRegex and LSubstring
9339
9340         * Makefile.am (BOOST_LIBS): new variable
9341         (lyx_LDADD): use it
9342
9343         * LaTeX.C: change include order.
9344         (scanAuxFile): use boost regex and get rid of LRegex and
9345         LSubstring
9346         (deplog): ditto
9347
9348 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * ColorHandler.h:
9351         * ColorHandler.C:
9352         * FontInfo.h:
9353         * FontInfo.C: moved to frontends/xforms/
9354
9355         * FontLoader.h:
9356         * FontLoader.C: moved into frontends for GUIIzation
9357
9358         * Makefile.am:
9359         * lyx_gui.C:
9360         * lyxfont.C:
9361         * lyxfunc.C: changes from above
9362
9363 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9364
9365         * LColor.C: remove spurious X include
9366
9367         * BufferView_pimpl.C:
9368         * Makefile.am:
9369         * font.h:
9370         * font.C:
9371         * text.C:
9372         * text2.C: move font metrics to frontends/
9373
9374 2002-05-24  Juergen Vigna  <jug@sad.it>
9375
9376         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9377         setting the undo_cursor.
9378
9379         * ParagraphParameters.h: include local includes first.
9380
9381 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * BufferView_pimpl.C:
9384         * BufferView_pimpl.h:
9385         * Makefile.am:
9386         * WorkArea.h:
9387         * WorkArea.C:
9388         * screen.C: move WorkArea into frontends/
9389
9390         * lyxscreen.h:
9391         * screen.C:
9392         * text.C:
9393         * BufferView.C:
9394         * BufferView2.C: move LyXScreen into frontends/
9395
9396         * lyxlookup.h:
9397         * lyxlookup.C:
9398         * lyx_gui.C: move lyxlookup into frontends/xforms/
9399
9400 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView2.C:
9403         * BufferView_pimpl.C:
9404         * FontLoader.C:
9405         * LyXView.h:
9406         * LyXView.C:
9407         * Makefile.am:
9408         * WorkArea.C:
9409         * XFormsView.h:
9410         * XFormsView.C:
9411         * buffer.C:
9412         * bufferlist.C:
9413         * bufferview_funcs.C:
9414         * converter.C:
9415         * importer.C:
9416         * lyx_cb.C:
9417         * lyx_gui.C:
9418         * lyx_main.C:
9419         * lyx_find.C:
9420         * lyxfunc.C:
9421         * lyxvc.C:
9422         * minibuffer.C:
9423         * text.C:
9424         * text2.C:
9425         * trans.C:
9426         * vc-backend.C: move LyX/XFormsView into frontends/
9427
9428 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * Makefile.am:
9431         * PainterBase.C:
9432         * PainterBase.h:
9433         * Painter.C:
9434         * Painter.h:
9435         * WorkArea.C:
9436         * WorkArea.h:
9437         * screen.C:
9438         * tabular.C:
9439         * text.C:
9440         * text2.C: move Painter to frontends/
9441
9442 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9443
9444         * buffer.C: comment out some some code that depend upon lyx_format
9445         < 220
9446
9447         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9448         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9449
9450         * buffer.h (NO_COMPABILITY): turn off compability
9451
9452         * ColorHandler.C: include scoped_array.hpp
9453
9454         * font.C: Use more specific smart_ptr header.
9455         * Painter.C: ditto
9456         * gettext.C: ditto
9457         * ShareContainer.h: ditto
9458         * lyx_main.h: ditto
9459         * kbmap.h: ditto
9460         * FontInfo.h: ditto
9461         * BufferView_pimpl.h: ditto
9462         * ColorHandler.h: ditto
9463
9464         * kbmap.C (defkey): change call to shared_ptr::reset
9465
9466 2002-05-21  Juergen Vigna  <jug@sad.it>
9467
9468         * buffer.C (insertErtContents): fix to insert ert asis if it is
9469         non empty. Skip it completely if it contains only whitespaces.
9470
9471 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * BufferView_pimpl.C:
9474         * BufferView2.C: clear selection on paste (bug 393)
9475
9476 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9477
9478         * DepTable.C: include ctime
9479
9480 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9483
9484 2002-05-14  Juergen Vigna  <jug@sad.it>
9485
9486         * text.C (breakParagraph): fixed function to honor the keepempty
9487         layout in the right maner and also to permit the right breaking
9488         algorithm on empty or non empyt keepempty paragraphs.
9489
9490         * paragraph.C (breakParagraph): we have to check also if the par
9491         is really empty (!size()) for isempty otherwise we do the wrong
9492         paragraph break.
9493
9494 2002-05-10  Juergen Vigna  <jug@sad.it>
9495
9496         * buffer.[Ch] : The following are only changes to the ert
9497         compatibility read reading old LaTeX layout and font stuff and
9498         convert it to ERTInsets.
9499
9500         * buffer.h: added isErtInset().
9501
9502         * buffer.C (struct ErtComp): add a fromlayout bool to check
9503         if we're inside a LaTeX layout.
9504         (isErtInset): new helper function.
9505         (insertErtContents): look for other ert insets before this one
9506         and insert the contents there, so that we don't have subsequent
9507         ERT insets with nothing between them. This way we create only one
9508         inset with multiple paragraphs. Also check if we don't insert only
9509         spaces ' ' as they are ignored anyway afterwards in the .tex file
9510         so if we have only spaces we will ignore this latex part in the
9511         new file.
9512         (parseSingleLyXformat2Token \\layout): better compatibility when
9513         reading layout-latex stuff.
9514         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9515         language tag.
9516         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9517         stuff after reading the inset only get the information back from
9518         the stack.
9519
9520 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9523
9524         * LaTeXFeatures.C (getBabelOptions): New method.
9525
9526 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * BufferView_pimpl.C (Dispatch): work around missing argument for
9529         'layout'
9530
9531 2002-05-08  Juergen Vigna  <jug@sad.it>
9532
9533         * text.C (leftMargin): handle paragraph leftindent.
9534
9535         * paragraph.C (writeFile): write the new \\leftindent tag.
9536         (validate): handle leftindent code.
9537         (TeXEnvironment): handle paragraphleftindent code again.
9538
9539         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9540
9541         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9542         for paragrap_extra indent code and new token \\leftindent.
9543         (latexParagraphs): handle the leftindent as environment.
9544
9545         * ParameterStruct.h: added leftindent support.
9546
9547         * ParagraphParameters.C (leftIndent): added support functions for
9548         the paragraph left indent.
9549
9550         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9551         more appropriate.
9552
9553 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9554
9555         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9556         inside insetERT.
9557
9558         * text.C (computeBidiTables): No bidi in insetERT.
9559
9560         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9561         in RTL documents.
9562
9563 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * version.C.in: pre 5
9566
9567 2002-05-02  José Matos  <jamatos@fep.up.pt>
9568         * buffer.C (makeDocBookFile): white space changes, add newline to
9569         command styles.
9570         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9571
9572         * tabular.C (docBook): fix typo.
9573
9574 2002-05-03  Juergen Vigna  <jug@sad.it>
9575
9576         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9577         change in LyXText as we can not be sure it was not freed.
9578         (drawOneRow): remove unused code.
9579
9580         * text.C (drawInset): redo the calculation of the need_break_row as
9581         it could have a row which was already freed.
9582         (draw): look at the return value of drawInset and return false if
9583         it also returned false.
9584         (paintRowText): look at the return value of draw and return false if
9585         it also returned false.
9586
9587         * lyxtext.h: added bool return type to drawInset() and draw() so that
9588         if we have a change in the row so that the rowbreak has to be redone
9589         we abort drawing as it will be called again.
9590
9591 2002-05-02  Juergen Vigna  <jug@sad.it>
9592
9593         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9594         a change in the maintext also if we're inside an inset.
9595         (Dispatch): set the cursor again after a break line and after the
9596         screen has been updated as it could be we're in a different row.
9597
9598         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9599         to set the cursor behind the pargraph with > size().
9600         (setCursor): check also for the same paragraph when checking where
9601         to put the cursor if we have a NFR inset.
9602
9603         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9604         parts of layout read further up as it still was in the wrong
9605         position.
9606
9607 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9608
9609         * screen.C (drawFromTo): change sine fullRebreak always return
9610         true.
9611
9612         * buffer.C (parseSingleLyXformat2Token): reindent some
9613
9614         * BufferView_pimpl.C (update): change since fullRebreak always
9615         return true.
9616         (Dispatch): git rid of the last hardcoded "Standard"s.
9617
9618 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * text2.[Ch] (fullRebreak): make it return void now that we always
9621         returned true.
9622
9623 2002-04-30  Juergen Vigna  <jug@sad.it>
9624
9625         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9626         ert compatibility check for "latex" layout.
9627
9628 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9629
9630         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9631         minipages: use col% instead of p%, and also use the current font.
9632         (makeLaTeXFile): Fix use babel condition.
9633         (parseSingleLyXformat2Token): Correct font when reading old floats.
9634
9635 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9638         inserting list of floats.
9639
9640 2002-04-25  Herbert Voss  <voss@lyx.org>
9641
9642         * MenuBackend.C (expand): don't add the graphics extensions to the
9643         export menu
9644
9645 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9648         non-existing layout, do not complain if it was the default layout
9649         of the original class (bug #342)
9650
9651 2002-04-24  Juergen Vigna  <jug@sad.it>
9652
9653         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9654         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9655
9656 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9657
9658         * buffer.C (getBibkeyList): If using \bibliography, return the
9659         option field with the reference itself. Enables us to provide natbib
9660         support when using \bibliography.
9661
9662 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9663
9664         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9665
9666         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9667         natbib is provided by the LaTeX class.
9668
9669 2002-04-23  Juergen Vigna  <jug@sad.it>
9670
9671         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9672         Wakeup functions.
9673
9674         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9675
9676 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9679
9680         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9681         ensuremath around textordmasculine, textordfeminine and
9682         textdegree.
9683
9684 2002-04-19  Juergen Vigna  <jug@sad.it>
9685
9686         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9687         reinitializing the buffer otherwise row-dimensions may be wrong.
9688         (update): reset also the selection cursors if they do exits otherwise
9689         their x/y positions may be wrong.
9690
9691         * text2.C (cursorDown): don't enter the inset if we came from a row
9692         above and are one row over the inset.
9693
9694         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9695         really leaving an inset.
9696
9697 2002-04-18  Juergen Vigna  <jug@sad.it>
9698
9699         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9700         of the selected paragraph does not have the selected layout also if
9701         the last one had!
9702
9703         * text2.C (setLayout): fixed bug which did not change last selected
9704         paragraph.
9705
9706         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9707         changed the read and substituted \\end_float with \\end_inset!
9708
9709         * BufferView_pimpl.C (cursorPrevious):
9710         (cursorNext): fixed to make it work with rows heigher than the work
9711         area without moving the cursor only the draw of the row.
9712         (workAreaMotionNotify): fix jumping over high rows.
9713
9714 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9717         Ressler.
9718
9719 2002-04-16  Juergen Vigna  <jug@sad.it>
9720
9721         * text2.C (setCursor): set also the irow().
9722         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9723         (cursorUp):
9724         (cursorDown): support for locking an inset if the x_fix value goes
9725         inside it. That way I can transverse insets too with cursor up/down.
9726
9727         * lyxrow.h: added irow helper function same as other (i) functions.
9728
9729         * BufferView_pimpl.C (cursorPrevious):
9730         (cursorNext): fixed for insets!
9731
9732 2002-04-15  Juergen Vigna  <jug@sad.it>
9733
9734         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9735         position otherwise it is wrong in some cases.
9736
9737         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9738         inside the inset before the call.
9739
9740 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9741
9742         * buffer.[Ch] (getBibkeyList): make it const.
9743
9744 2002-04-12  Juergen Vigna  <jug@sad.it>
9745
9746         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9747
9748         * text2.C (getCursorX): new helper function
9749         (setCursor): compute also ix_
9750         (setCursorFromCoordinates): set also ix.
9751
9752         * lyxcursor.h: added ix_ and helper functions.
9753
9754         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9755
9756         * buffer.C (insertStringAsLines): dont break paragraph if the this
9757         paragraph is inside an inset which does not permit it!
9758
9759         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9760         also with no chars on this paragraph.
9761         (paintRowText): only paint stuff if it's inside the workarea!
9762
9763         * paragraph.C (breakParagraph): honor keepempty flag and break the
9764         paragraph always below not above.
9765
9766         * BufferView2.C (unlockInset): update the paragraph layout on inset
9767         unlock as we changed paragraph in such a case.
9768
9769         * lyxfind.C (LyXFind): clear the former selection if not found!
9770
9771         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9772         again called in insertChar().
9773
9774         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9775         an inset which uses the whole row!
9776         (rightMargin): ditto.
9777         (insertChar): force a rebreak if we inserted an inset!
9778
9779 2002-03-28  Herbert Voss  <voss@lyx.org>
9780
9781         * lyxlength.[Ch]: add inBP() to get the right PS-point
9782         units (BigPoint). With inPixels we have rounding errors
9783
9784 2002-04-11  Juergen Vigna  <jug@sad.it>
9785
9786         * text2.C (setCursorFromCoordinates): set iy to the right value.
9787         (setCursor): add check if row->previous exists!
9788
9789         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9790         an old float_type as this was the case in the old code!
9791
9792         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9793
9794         * BufferView2.C (showLockedInsetCursor): use iy
9795         (fitLockedInsetCursor): ditto
9796
9797         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9798         locked insets as there we have the right value now.
9799
9800         * lyxcursor.C: added iy_ variable and iy functions to set to the
9801         baseline of cursor-y of the locked inset.
9802
9803         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9804         (setCursor): fixed for insets which need a full row.
9805
9806         * text.C (rowLastPrintable): don't ignore the last space when before
9807         an inset which needs a full row.
9808         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9809         as last character of a row when before a inset which needs a full row.
9810
9811 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9812
9813         * version.C.in: update date
9814
9815         * text2.C (fullRebreak): try to always return true and see what
9816         happens...
9817
9818 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * MenuBackend.C (expand): use Floating::listName
9821
9822         * FloatList.C (FloatList): add listName argument to the built-in
9823         floats
9824
9825         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9826         text associated with the float.
9827
9828 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9831
9832 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9833
9834         * ShareContainer.h: add a couple of missing typenames.
9835
9836 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9837
9838         * lyxrc.C (getDescription): use _() correctly rather than N_().
9839
9840 2002-03-28  Herbert Voss  <voss@lyx.org>
9841
9842         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9843         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9844
9845 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9848         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9849
9850 2002-03-29  Juergen Vigna  <jug@sad.it>
9851
9852         * lyxfunc.C (dispatch): add a missing fitCursor call.
9853
9854         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9855         it was scrolled by a cursor move, so return the bool status.
9856
9857         * BufferView.C (fitCursor): return the bool flag also to the outside
9858         world as this is needed.
9859
9860         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9861
9862         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9863         call the edit() as it is not needed (and wrong) IMO.
9864         (workAreaButtonPress): set the screen_first variable before evt.
9865         unlock the inset as this may change screen_first and then we have
9866         a wrong y position for the click!
9867
9868 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * MenuBackend.C (expand): another translation that I missed
9871
9872 2002-03-28  Juergen Vigna  <jug@sad.it>
9873
9874         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9875
9876         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9877
9878 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9881
9882         * MenuBackend.C (expand): fix export/view/update when there is no
9883         document open.
9884
9885 2002-03-27  Herbert Voss  <voss@lyx.org>
9886
9887         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9888         and text%
9889
9890 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * bufferview_funcs.C (currentState): only show paragraph number
9893         for is DEVEL_VERSION is set.
9894
9895         * lyxfunc.C (dispatch): put warning in INFO channel
9896
9897         * MenuBackend.C (expand): translate the name of floats
9898
9899         * FloatList.C (FloatList): mark the float names for translation
9900
9901         * converter.C (convert): use LibScriptSearch
9902
9903 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * MenuBackend.C (defaults): fix default menu (we might as well get
9906         rid of it...)
9907
9908 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9911         directory.
9912
9913 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * lyxvc.C: reorder includes.
9916
9917 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9920           properly
9921
9922 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * CutAndPaste.C: change layouts earlier on paste
9925           to avoid crashing when calling getFont()
9926
9927 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9928
9929         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9930         irritating #error.
9931
9932 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * WorkArea.C: remove 'Pending' debug message.
9935
9936         * most files: ws cleanup
9937
9938         * buffer.[Ch]: ws changes
9939
9940         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9941
9942 2002-03-21  Juergen Vigna  <jug@sad.it>
9943
9944         * tabular.C (SetMultiColumn): collapse also the contents of the
9945         cells and set the last border right. Added a Buffer const * param.
9946
9947 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9948
9949         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9950         linking or not.
9951
9952 2002-03-19  Juergen Vigna  <jug@sad.it>
9953
9954         * text2.C (clearSelection): reset also xsel_cache.
9955
9956         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9957         where it needs to be called (John tells us to do so too :)
9958         (selectionLost): reset sel_cache.
9959
9960         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9961
9962 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963
9964         * text2.C (setCursorIntern): put debuging code in INSETS channel
9965
9966 2002-03-19  André Pönitz <poenitz@gmx.net>
9967
9968         * lyxfunc.C: tiny whitespace change
9969
9970 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * ToolbarDefaults.C (init):
9973         * LyXAction.C (init):
9974         * commandtags.h:
9975         * BufferView_pimpl.C (Dispatch):
9976         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9977
9978 2002-03-19  Allan Rae  <rae@lyx.org>
9979
9980         * exporter.C (Export): removeAutoInsets before doing anything else.
9981         While I've just introduced a dependency on BufferView this really is
9982         the best place to clean the buffer otherwise you need to cleanup in
9983         a dozen places before calling export or cleanup in a dozen functions
9984         that export calls.
9985
9986         * converter.C (runLaTeX):
9987         (scanLog): Better handling of removeAutoInsets and screen updates.
9988
9989         * lyxfunc.C (dispatch): small whitespace changes
9990
9991 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9992
9993         * WorkArea.C (C_WorkAreaEvent): return a value.
9994         (event_cb): return 1 if we handled the event, 0 otherwise.
9995
9996         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9997
9998 2002-03-18  Juergen Vigna  <jug@sad.it>
9999
10000         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10001         (GetAdditionalWidth): ditto.
10002         (RightLine): ditto.
10003         (LeftLine): ditto.
10004
10005         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10006         inset if we're there actually (probably not used right now but this
10007         is the direction to go for unifying code).
10008         (paste): disable code to clear the selection.
10009
10010         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10011         inside an InsetText and move the check further up as it is in the
10012         wrong place.
10013
10014         * text2.C (pasteSelection): set a selection over the pasted text.
10015
10016 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10017
10018         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10019         and libgraphics to build on Cygwin.
10020
10021 2002-03-15  Juergen Vigna  <jug@sad.it>
10022
10023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10024         inserting an Inset into the paragraph. I know this is not the best
10025         fix but we already use current_view in CutAndPaste so we will remove
10026         all of it's using at the same time.
10027
10028         * buffer.C (sgmlError): deactivated function till it is rewritten in
10029         the right mode, now it can create problems.
10030
10031         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10032         before accessing it.
10033
10034 2002-03-14  Juergen Vigna  <jug@sad.it>
10035
10036         * undo_funcs.C (textHandleUndo): do the right thing when updating
10037         the inset after the undo/redo.
10038
10039         * text2.C (setCursor): just some testcode for #44 not ready yet.
10040
10041         * undo_funcs.C (textHandleUndo): set the next() and previous()
10042         pointers of the paragraph to 0 before deleting otherwise we have
10043         problems with the Paragraph::[destructor].
10044
10045         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10046         on a paragraph insertion.
10047
10048 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10049
10050         * buffer.C (asciiParagraph): use += operator for char append to
10051         string.
10052
10053         * paragraph.C (getFontSettings): compare >= not just >
10054         (highestFontInRange): ditto
10055         (setFont): ditto
10056
10057 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10058
10059         * paragraph.C: change several algorithm to be more appripriate for
10060         the problem domain. This is lookip in FontList and in the InsetList.
10061
10062 2002-03-13  André Pönitz <poenitz@gmx.net>
10063
10064         * commandtags.h:
10065         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10066
10067 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * commandtags.h:
10070         * LyXAction.C:
10071         * lyxfunc.C:
10072         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10073
10074 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10075
10076         * Painter.C (display): anon helper function, adjust code for this
10077         change.
10078         (pixmap): remove function.
10079
10080         * Painter.h: remove private display variable.
10081
10082         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10083
10084 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10085
10086         * WorkArea.[Ch]: remove figinset_canvas cruft.
10087
10088 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * lyxtextclass.C (operator): add one item cache optimization.
10091
10092         * bufferlist.h: doxy changes
10093
10094         * bufferlist.C: ws changes
10095
10096         * DepTable.[Ch] (ext_exist): place const in the right spot.
10097
10098         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10099         call resizeInsets.
10100         (workAreaExpose): call resizeInsets when the with BufferView changes.
10101         (Dispatch): adjust for protectedBlank removal
10102         (specialChar): call updateInset if the insert went ok.
10103
10104         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10105         specialChar instead.
10106
10107         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10108
10109         * BufferView.h: doxy change
10110
10111         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10112
10113         * lyxtextclass.C (operator[]): remove non-const version
10114         (defaultLayout): remove non-const version
10115
10116 2002-03-12  Juergen Vigna  <jug@sad.it>
10117
10118         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10119         did resize the LyXText too.
10120
10121         * buffer.C (readLyXformat2): set layout information on newly allocated
10122         paragraphs.
10123
10124         * tabular.C (OldFormatRead): set layout information on the paragraph.
10125
10126 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10127
10128         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10129
10130 2002-03-11  Juergen Vigna  <jug@sad.it>
10131
10132         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10133         plainly wrong.
10134         (resizeCurrentBuffer): force also the insets to resize themselfes.
10135         (moveCursorUpdate): fixed up for InsetText.
10136
10137 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10138
10139         * commandtags.h:
10140         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10141         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10142         value of Dialogs::tooltipsEnabled().
10143         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10144
10145 2002-03-08  Juergen Vigna  <jug@sad.it>
10146
10147         * BufferView_pimpl.C (updateInset): update inset inside inset also
10148         if it isn't inside theLockingInset().
10149
10150 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10151
10152         * buffer.C (asciiParagraph): redo some of the word and line length
10153         handling.
10154         (getLists): look for Caption instead of caption.
10155
10156 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * buffer.C (Buffer): initialize niceFile to true
10159         (makeLaTeXFile):
10160         (makeLinuxDocFile):
10161         (makeDocBookFile): make sure niceFile is true on exit
10162
10163 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10166
10167 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10168
10169         * LyXSendto.C: remove.
10170         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10171         * lyx_gui.C: remove now-redundant comment.
10172         * ColorHandler.h: remove forward declaration of class WorkArea.
10173         * lyxfunc.C: remove #include "WorkArea.h".
10174
10175 2002-03-07  Juergen Vigna  <jug@sad.it>
10176
10177         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10178         got moved away with the DEPM and also set the inset_owner always
10179         right which before could have been omitted.
10180
10181 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10182
10183         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10184         wanted layout is not found.
10185
10186 2002-03-07  Juergen Vigna  <jug@sad.it>
10187
10188         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10189
10190 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10191
10192         * paragraph.C (breakParagraph): use default layout not layout of
10193         prev paragraph.
10194         (Paragraph): clear ParagraphParameters.
10195
10196 2002-03-06  Juergen Vigna  <jug@sad.it>
10197
10198         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10199         otherwise it would not be a valid lenght. Fixed a special case in
10200         the minipage compatibility read where we end the document with a
10201         minipage.
10202
10203         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10204         was set as it could be 0 for InsetTexts first entry.
10205
10206 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10207
10208         * paragraph.C (writeFile): if layout is empty write out
10209         defaultLayoutName().
10210
10211         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10212         file without named layout we set layout to defaultLayoutName().
10213
10214 2002-03-06  Juergen Vigna  <jug@sad.it>
10215
10216         * CutAndPaste.C (copySelection): set layout for new paragraph.
10217
10218         * text.C (prepareToPrint): leave ERT inset left aligned
10219         (leftMargin): don't indent paragraphs inside ERT insets
10220
10221 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * paragraph.C (breakParagraph): dont call clear do the work manually
10224
10225         * paragraph.[Ch] (clear): remove function
10226
10227 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10228
10229         * paragraph.C (Paragraph): dont call clear, the work has already
10230         been done.
10231
10232         * lyxtextclass.C (operator): assert if n is empty
10233
10234         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10235         work manually instead.
10236
10237 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * BufferView_pimpl.C: protect selectionLost against text == 0
10240
10241 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * text.C (breakParagraph): fix a setting layout to '0' problem.
10244
10245 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10246
10247         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10248         final location of file, for the included files, and graphics.
10249
10250 2002-03-05  Juergen Vigna  <jug@sad.it>
10251
10252         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10253
10254 2002-03-04  Juergen Vigna  <jug@sad.it>
10255
10256         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10257
10258         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10259         last column of multicolumn cells.
10260         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10261
10262 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10263
10264         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10265         file if it doesn't go to a temporary file.
10266
10267         * buffer.C (sgmlOpenTag):
10268         (sgmlCloseTag):  remove extra newline insertion.
10269
10270 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10271
10272         * text.C (getRowNearY): comment out debug msg
10273
10274 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10275
10276         * text2.C: first -> first_y
10277
10278         * text.C (getRowNearY): add some attemts at a possible
10279         optimization, not working.
10280
10281         * tabular.[Ch]: add BufferParams to several function so that newly
10282         created paragraph can be initialized to he default layotu for the
10283         buffers textclass.
10284
10285         * tabular-old.C (ReadOld): add buf->params to call of Init
10286
10287         * screen.C: rename text->first to text->first_y
10288
10289         * paragraph.C (breakParagraph): always set layout in the broken
10290         paragraph
10291
10292         * lyxtextclass.C (Read): remove lowercase
10293         (hasLayout): ditto
10294         (operator): ditto
10295         (delete_layout): ditto
10296
10297         * lyxtext.h: rename first -> first_y
10298
10299         * lyxlayout.C (Read): remove lowercase
10300         (name): ditto
10301         (setName): ditto
10302         (obsoleted_by): ditto
10303
10304         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10305
10306         * buffer.C (insertErtContents): add params are to InsetERT
10307         (parseSingleLyXformat2Token): add code to check if a paragraphs
10308         layout really exist.
10309         (parseSingleLyXformat2Token): add params to several inset
10310         constructors
10311         (asciiParagraph): remove lowercase, do the layout comparisons with
10312         no_case
10313
10314         * BufferView_pimpl.C (cursorNext): first -> first_y
10315         (resizeCurrentBuffer): first -> first_y
10316         (updateScrollbar): first -> first_y
10317         (scrollCB): first -> first_y
10318         (workAreaMotionNotify): first -> first_y
10319         (workAreaButtonPress): first -> first_y
10320         (checkInsetHit): first -> first_y
10321         (cursorPrevious): first -> first_y
10322         (cursorNext): first -> first_y
10323         (Dispatch): add buffer_->params to severl inset contructors
10324
10325 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * lyxlayout.C (Read): remove some debug info that I forgot.
10328
10329         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10330         clean up the code slightly.
10331         (makeLinuxDocFile): ditto
10332         (makeDocBookFile): ditto
10333
10334         * text2.C: layout as string
10335
10336         * text.C: layout as string
10337
10338         * paragraph_pimpl.C: layout as string
10339
10340         * paragraph.[Ch]: layout as string
10341
10342         * lyxtextclasslist.[Ch]: layout as string
10343
10344         * lyxtextclass.[Ch]: layout as string
10345
10346         * lyxtext.h: layout as string
10347
10348         * lyxlayout.[Ch]: layout as string
10349
10350         * lyx_cb.C: layout as string
10351
10352         * bufferview_funcs.C: layout as string
10353
10354         * bufferparams.C: layout as string
10355
10356         * buffer.C: layout as string
10357
10358         * LyXView.[Ch]: layout as string
10359
10360         * LaTeXFeatures.[Ch]: layout as string
10361
10362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10363
10364         * BufferView_pimpl.C: change current_layout to string, remove
10365         lyx::layout_type.
10366         (Dispatch):
10367         (smartQuote):
10368         (insertInset):
10369         (workAreaButtonRelease): layout as string
10370
10371         * BufferView2.C (unlockInset): adjust
10372
10373         * vspace.C (asLatexCommand): use an explict temp variable.
10374
10375 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * Makefile.am: use FRONTEND_*
10378
10379 2002-03-01  Juergen Vigna  <jug@sad.it>
10380
10381         * tabular.C (SetWidthOfMulticolCell): changed to something better
10382         I hope but still work in progress.
10383         (recalculateMulticolumnsOfColumn): renamed function from
10384         recalculateMulticolCells as it is more appropriate now.
10385         (SetWidthOfCell): calculate multicols better.
10386
10387 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10390
10391         * lyxfunc.C (processKeySym): print sequence also if it is
10392         `deleted' (complete)
10393
10394         * kbsequence.C (print): print sequence even if it is deleted
10395         (complete would be a better word, actually).
10396
10397         * lyxfunc.C (dispatch): print complete options after a prefix key
10398
10399         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10400
10401 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10402
10403         * text2.C (setCharFont): eliminate setCharFont code duplication.
10404
10405 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10408         LFUN_TABULAR_FEATURE (bug #177)
10409
10410 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10411
10412         * Makefile.am: remove figure.h
10413
10414 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10415
10416         * Bufferview_pimpl.C:
10417         * CutAndPasteC:
10418         * LaTeX.C:
10419         * LyXSendto.C:
10420         * buffer.C:
10421         * bufferlist.C:
10422         * converter.C:
10423         * language.C:
10424         * lyxfunc.C:
10425         * lyxvc.C:
10426         * paragraph.C:
10427         * text.C:
10428         * text2.C: remove #include "lyx_gui_misc.h".
10429
10430         * LaTeX.C: added #include <cstdio>
10431
10432 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10435         that the paragraph following this one can have.
10436
10437         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10438
10439         * vspace.C (asLatexCommand): fix bogus gcc warning
10440
10441         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10442
10443 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10444
10445         * text2.C (setLayout): get rid of redundant code
10446
10447 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10448
10449         * text2.C (incDepth): make sure depth cannot be increased beyond
10450         reasonable values.
10451
10452 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10455         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10456
10457         * PainterBase.h (image):
10458         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10459         a LyXImage const *.
10460
10461 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * BufferView.C:
10464         * BufferView.h:
10465         * BufferView_pimpl.C:
10466         * BufferView_pimpl.h:
10467         * LaTeXFeatures.C:
10468         * LyXAction.C:
10469         * LyXView.C:
10470         * Makefile.am:
10471         * UpdateList.h:
10472         * UpdateList.C:
10473         * buffer.C:
10474         * figure.h:
10475         * figureForm.C:
10476         * figureForm.h:
10477         * figure_form.C:
10478         * figure_form.h:
10479         * lyx_cb.C:
10480         * lyx_gui.C:
10481         * lyx_gui_misc.C:
10482         * lyxfunc.C:
10483         * sp_base.h:
10484         * sp_ispell.h:
10485         * sp_pspell.h:
10486         * sp_spell.C: remove fig inset, and the crap house of
10487           cards that follows it
10488
10489 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * Makefile.am:
10492         * lyxserver.C:
10493         * os2_defines.h:
10494         * os2_errortable.h:
10495         * nt_defines.h: move .h into support/
10496
10497         * vms_defines.h: remove
10498
10499         * WorkArea.C: add space in debug output
10500
10501         * text2.C:
10502         * paragraph.C:
10503         * buffer.C: add WITH_WARNINGS
10504
10505         * vc-backend.h:
10506         * vc-backend.C:
10507         * bufferlist.C: s/retrive/retrieve/, add docs
10508
10509         * vspace.h:
10510         * vspace.C:
10511         * kbmap.h:
10512         * lyxlength.h:
10513         * lyxgluelength.h:
10514         * length_common.h:
10515         * chset.h:
10516         * chset.C: add docs
10517
10518         * lyxgui.C: add ID to X error handler
10519
10520         * lyxtestclass.c: fix typo
10521
10522 2002-02-26  Juergen Vigna  <jug@sad.it>
10523
10524         * tabular_funcs.C (write_attribute): changed so that some default
10525         attributes are not written at all.
10526         (getTokenValue): set default values before trying to read the
10527         value so we have the return value always set as default if we don't
10528         find the token we search for.
10529
10530         * tabular.C (Write): write bools as bools not as strings!
10531
10532 2002-02-22  Juergen Vigna  <jug@sad.it>
10533
10534         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10535         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10536
10537         * text.C (leftMargin): don't add an indent for paragraphs inside
10538         tabular cells (fix #208).
10539
10540 2002-02-21  José Matos  <jamatos@fep.up.pt>
10541
10542         * tabular.C (docBook): fixed support for long tables.
10543
10544 2002-02-20  Juergen Vigna  <jug@sad.it>
10545
10546         * text2.C (getFont): get the drawing font of the Inset if this
10547         paragraph is inside an inset (only important for InsetERT for now).
10548
10549         * buffer.C (insertErtContents): use new lanugage params in ERT
10550         constructor.
10551
10552         * CutAndPaste.C: commenting out seemingly uneeded code.
10553
10554 2002-02-19  Allan Rae  <rae@lyx.org>
10555
10556         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10557         Iterators might be simple to use but they also get invalidated.
10558         (removeAutoInsets): renamed saved cursor tracking variables and added
10559         some comments to clarify what everything does.
10560
10561 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10562
10563         * Chktex.C:
10564         * LaTeX.C:
10565         * LyXSendto.C:
10566         * converter.C:
10567         * lyx_cb.C:
10568         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10569         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10570
10571         * lyxfunc.C:
10572         * vc-backend.h: remove #include "support/syscall.h"
10573
10574         * LaTeX.C:
10575         * LyXSendto.C:
10576         * converter.C: rearrange #includes in Lars' approved fashion.
10577
10578         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10579         forward declare class Timeout in the header file.
10580
10581         * XFormsView.C: changes due to the above.
10582
10583         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10584         similar to LyXView.
10585
10586         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10587         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10588
10589 2002-02-18  José Matos  <jamatos@fep.up.pt>
10590
10591         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10592         insets contents.
10593
10594 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10595
10596         * a lot of small ws changes
10597         * add a lot of using std::XXX
10598         * use std construcs some places where approp.
10599         * use some exisint stuff from lyxfunctional where approp.
10600         * Make file changes to use partial linking (lets test this now...)
10601
10602 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * Chktex.C:
10605         * buffer.C:
10606         remove #include "support/syscontr.h" as it's redundant. Always has been.
10607
10608         * Chktex.C:
10609         * LaTeX.C:
10610         * LyXSendto.C:
10611         * converter.C:
10612         * lyx_cb.C:
10613         * vc-backend.C:
10614         change Systemcalls::System to Systemcalls::Wait and
10615         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10616         No change of functionality, just reflects the stripped down Systemcalls
10617         class.
10618
10619 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10620
10621         * debug.[Ch]: add a GRAPHICS type to the enum.
10622
10623 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10624
10625         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10626
10627         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10628         there is an inset.
10629
10630 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10633         match the changes below.
10634
10635         * text2.C (toggleInset): if there is not editable inset at cursor
10636         position, try to see if cursor is _inside_ a collapsable inset
10637         and close it.
10638
10639 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10640
10641         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10642         document menu has a nice checkbox
10643
10644 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10645
10646         * lyxlength.C (asLatexString): change PW to output as percent of
10647         \textwidth.
10648
10649         * lengthcommon.C: change '%' to 't%'
10650
10651         * lyxfunc.C (dispatch): a few comments from Martin
10652
10653 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * WorkArea.h:
10656         * WorkArea.C:
10657         * BufferView_pimpl.h:
10658         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10659           the X selection.
10660
10661 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * vspace.C (inPixels): fix compiler warning
10664
10665 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * lyxfunc.C (getStatus): fix status message for disabled commands.
10668
10669 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView_pimpl.C: fix crash on close buffer
10672         during selection (#227)
10673
10674 2002-01-27  Herbert Voss  <voss@lyx.org>
10675
10676         * buffer.C: link old Figure to new graphic inset
10677
10678 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * FontLoader.C (getFontinfo): Change the latex font names in order
10681         to match the names of type1inst.
10682
10683 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10686
10687         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10688         (extchanged): ditto
10689         (ext_exist): ditto
10690         (remove_files_with_extension): ditto
10691         (remove_file): ditto
10692         (write): ditto
10693
10694         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10695         document is smaller than the work area height. Do not initialize
10696         static variables to 0.
10697
10698 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10699
10700         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10701
10702         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10703         LFUN_LAYOUT_PARAGRAPHS.
10704
10705         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10706         tabular. It is possible to provide a possible cell, which will
10707         typically be the actcell from the corresponding insettabular
10708
10709         * lyxfunc.C (getStatus): small cleanup; disable
10710         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10711         true
10712
10713 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10714
10715         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10716
10717         * paragraph.C (startTeXParParams):
10718         (endTeXParParams): new methods. The LaTeX code to
10719         start/end paragraph formatting
10720         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10721         empty (fixes bug #200)
10722
10723         * vspace.C (inPixels): adapt to the change below
10724         (inPixels): [later] more cleanups (remove unused variables)
10725
10726         * lyxlength.C (inPixels): change to use a width and a height as
10727         parameter.
10728
10729 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10732         Replaced with \paperwidth
10733
10734         * DepTable.C (insert): add std:: qualifier
10735
10736 2002-01-18  Allan Rae  <rae@lyx.org>
10737
10738         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10739         updated also?
10740
10741         * text.C (drawInset): Turned out I didn't know enough about how
10742         rebreaking worked.  This fixes most of the redraw problems.  I see
10743         an occasional cursor trail when a line is broken now and the cursor
10744         placement can seem out by a few pixels also after a rebreak.
10745
10746 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10747
10748         * buffer.C (parseSingleLyXformat2Token): update because minipage
10749         width is now a LyXLength
10750
10751         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10752
10753         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10754         math insets
10755
10756 2002-01-17  Juergen Vigna  <jug@sad.it>
10757
10758         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10759
10760         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10761         is set correctly and the inset is updated correctly.
10762
10763 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10766         the beginning of the loop.
10767
10768 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * lyxrc.C: improve help for use_scalable_fonts
10771
10772 2002-01-17  Allan Rae  <rae@lyx.org>
10773
10774         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10775
10776 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10777
10778         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10779         make sure to set their inset_owner to the right value (bug #171)
10780
10781 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10782
10783         * DepTable.h
10784         * DepTable.C: Implement mtime checking to reduce time spent doing
10785         CRCs.
10786
10787 2002-01-16  Juergen Vigna  <jug@sad.it>
10788
10789         * tabular.C (GetAdditionalHeight): one of error fixed.
10790
10791         * lyxrc.C (output): small fix in writing use_pspell.
10792
10793 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10794
10795         * sp_base.h: #include LString.h
10796
10797 2002-01-16  Allan Rae  <rae@lyx.org>
10798
10799         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10800         Can someone check this please?
10801
10802         * text.C (drawInset): It was possible that p.row would be removed by
10803         breakAgainOneRow upsetting a few other settings.  There may be another
10804         small tweak possible by setting need_break_row = 0 when p.row has been
10805         removed but I don't know enough about the logic here.
10806
10807 2002-01-15  Allan Rae  <rae@lyx.org>
10808
10809         * text.C (insertChar): removed conditional truism.
10810
10811         * BufferView2.C (removeAutoInsets): More tweaks.
10812         cur_par_prev could be a stray pointer.  Check for trailing empty line
10813         in case last line was cur_par and only had an error inset on it.
10814
10815 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10816
10817         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10818         absolute
10819
10820         * vc-backend.C (most methods):
10821         * exporter.C (Export):
10822         * converter.C (convert):
10823         (runLaTeX):
10824         * LyXSendto.C (SendtoApplyCB):
10825         * lyxfunc.C (dispatch):
10826         (menuNew):
10827         (open):
10828         (doImport):
10829         * lyx_cb.C (AutoSave):
10830         (InsertAsciiFile):
10831         * BufferView_pimpl.C (MenuInsertLyXFile):
10832         * buffer.C (runChktex): use Buffer::filePath().
10833
10834         * buffer.h: rename filename to filename_; rename filepath to
10835         filepath_ and make it private
10836         (filePath): new method
10837
10838         * buffer.C (writeFile): use fileName()
10839         (getLatexName):
10840
10841         * lyx_main.C (init): fix starting  of LyX when the binary is a
10842         link from so,ewhere else.
10843
10844         * minibuffer.C: include <cctype> for isprint
10845
10846 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10847
10848         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10849         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10850         name clash with InsetCollapsable's width function.
10851
10852 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * lastfiles.C: include <iterator>
10855
10856 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10857
10858         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10859         std::count.
10860
10861         * buffer.C (makeLaTeXFile): ditto.
10862         Also make loop operation more transparent.
10863
10864 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10865
10866         * ToolbarDefaults.C: remove trailing comma closing namespace.
10867
10868         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10869
10870         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10871         as in WorkArea.
10872
10873         * trans.C (Load): comment out unused variable, allowed.
10874
10875 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10876
10877         * minibuffer.[Ch] (append_char): new method to recieve input from the
10878         drop-down completion browser. If a key was pressed, then recieve this
10879         char and append it to the existing string.
10880         (peek_event): modify the positioning data passed to the completion
10881         browser so that it can be placed above the minibuffer rather than below.
10882 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * LyXAction.C (init): alloe error-next for readonly documents.
10885
10886         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10887         count.
10888
10889 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * bufferlist.C (readFile): create the buffer _after_ checking that
10892         the file exists.
10893
10894         * lyxfunc.C (verboseDispatch): fix handling of arguments
10895
10896         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10897
10898         * lyxrc.C: use string::erase() instead of initializing to "".
10899
10900
10901 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * BufferView_pimpl.h:
10904         * BufferView_pimpl.C:
10905         * WorkArea.h:
10906         * WorkArea.C:
10907         * text2.C: tell X when we have made a selection for copying
10908
10909 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * BufferView_pimpl.C (MenuInsertLyXFile):
10912         * lyxfunc.C (menuNew):
10913         (open):
10914         (doImport): add shortcuts to directory buttons
10915
10916         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10917         open a float)
10918
10919         * lyxfunc.C (setStatusMessage):
10920         (getStatusMessage): new methods
10921         (getStatus):use setStatusMessage instead of setErrorMessage
10922         (dispatch): when function is disabled, set error message here
10923         [instead of in getStatus previously]
10924
10925         * BufferView_pimpl.C (workAreaButtonRelease): update
10926         toolbar/menubar here too.
10927
10928 2002-01-13  Allan Rae  <rae@lyx.org>
10929
10930         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10931         Now seems indestructible.  Remaining task is to audit all other
10932         code affected by deleteEmptyParagraphMechanism.  One small quirk
10933         left is that an empty document with an error in the preamble can
10934         be made to report an error but no error box appears.  I don't know
10935         where it goes.
10936         (removeAutoInsets): Improved comments.
10937
10938 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * Thesaurus.h:
10941         * Thesaurus.C: update for Aiksaurus 0.14
10942
10943 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * text2.C (firstParagraph): removed member function, all uses
10946         replaces with ownerParagraph
10947         (redoParagraphs): here
10948         (updateInset): here
10949         (toggleAppendix): here
10950         * BufferView2.C (insertErrors): here
10951         (setCursorFromRow): here
10952
10953 2002-01-13  Allan Rae  <rae@lyx.org>
10954
10955         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10956         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10957         There is still a way to segfault this although you may have to do this
10958         multiple times: Have an InsetERT with an unknown command in it.
10959         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10960         <down-arrow>, <Enter> again, View->DVI, BANG!
10961
10962         * text2.C (setCursor):
10963         (deleteEmptyParagraphMechanism):
10964         * lyxtext.h (setCursor):
10965         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10966         Making use of the return value may help fix other bugs.
10967
10968 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10969
10970         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10971
10972         * LyXView.C (updateMenubar): call MenuBar::update here
10973         (updateToolbar): but not here
10974         (showState): do not update toolbar/menubar
10975
10976         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10977         should need to care about that.
10978
10979         * lyxfunc.C (verboseDispatch): simplify a bit
10980         (getStatus): have a version which takes a pseudoaction, and
10981         another which requires a (kb_action,string).
10982
10983         * LyXAction.C (retrieveActionArg): make it work also when action
10984         is not a pseudo-action.
10985         (getActionName): simplify a bit
10986         (helpText):
10987
10988 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10989
10990         * lyxfunc.C (verboseDispatch): new families of methods with
10991         several ways to specify a command and a bool to indicate whether
10992         the command name and shortcut should be displayed in minibuffer
10993         (eventually, we could extend that to a finer bitmask like
10994         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10995         (dispatch): the pristine dispatch command which just, well,
10996         dispatchs! Note it still sets its result to minibuffer; I'm not
10997         sure we want that.
10998
10999         * lyxfunc.h: remove setHintMessage
11000
11001         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11002
11003 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * BufferView_pimpl.C (specialChar): delete new inset if we have
11006         not been able to insert it.
11007
11008         * kbmap.C: revert to using int instead of kb_action, since all we
11009         are dealing with is pseudo-actions.
11010
11011         * LyXAction.C (searchActionArg): change to return int instead of
11012         kb_action, since the result is a pseudoaction.
11013
11014 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11015
11016         * buffer.C (insertErtContents): Fix (partially) the font bug.
11017
11018 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11019
11020         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11021         as the other one is broken on my machine!
11022
11023 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11024
11025         * commandtags.h:
11026         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11027
11028 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11031         reflect their actual use. Provide compatibility code for older lyxrc
11032         files.
11033
11034         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11035         FL_NORMAL_STYLE.
11036         change names of popup font variables in line with the changes to lyxrc.C
11037
11038 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * buffer.C (asciiParagraph): avoid outputing a word twice after
11041         an inset.
11042
11043         * lyxrc.C (getDescription): document that document_path and
11044         template_path can be empty.
11045
11046 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * LaTeXFeatures.C (getMacros):
11049         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11050
11051         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11052
11053         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11054         getPackages.
11055         (getPackages): rename feature "floats" to "float". Use an array to
11056         iterate over 'simple' features (i.e. just a \usepackage). Add
11057         handling of "amsmath" (renamed from "amsstyle").
11058
11059 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11060
11061         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11062         features list.
11063
11064 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11065
11066         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11067         FuncStaus::FuncStatus & FuncStaus::some_method().
11068
11069 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11070
11071         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11072         of the func_satus stuff. Edited and massaged in various ways by
11073         JMarc.
11074
11075         * lyxfunc.C (getStatus): use FuncStatus
11076
11077 2002-01-08  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C (nextBreakPoint): use function Inset::isChar().
11080
11081         * paragraph.C (TeXOnePar): use function
11082         Inset::forceDefaultParagraphs.
11083
11084         * buffer.C (latexParagraphs): use function
11085         Inset::forceDefaultParagraphs.
11086
11087 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11088
11089         * lyx_gui.C (init): set the style of the menu popups to
11090         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11091
11092 2002-01-07  Juergen Vigna  <jug@sad.it>
11093
11094         * text.C (setHeightOfRow): small fix
11095         (prepareToPrint): don't look at alignment if we don't have the place
11096         for doing it.
11097
11098 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * box.C: New file. Move the Box methods and functions out of box.h,
11101         following Lars' suggestion.
11102
11103 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * box.h: #include "support/LOstream.h", needed for inlined function.
11106
11107         * lyxtextclass.C:
11108         * lyxtextclasslist.C: added some using std declarations.
11109
11110 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * box.h: make signed dimensions to allow insets wider than
11113           the screen (bug #162)
11114
11115         * BufferView_pimpl.C: add some insetHit debug
11116
11117 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * vc-backend.C: add FIXME
11120
11121 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * lyxfunc.C (getStatus): enable code for showing math font status
11124         in toolbar/menu.
11125
11126 2002-01-07  Juergen Vigna  <jug@sad.it>
11127
11128         * text.C (nextBreakPoint): removed debug output not needed anymore.
11129
11130 2002-01-06  Juergen Vigna  <jug@sad.it>
11131
11132         * text.C (nextBreakPoint): fixed up this function we had this bug
11133         since ever but now hopefully we break row better.
11134         (insertChar): we have to check if an inset is the next char as it
11135         could now happen that a large inset is causing a break.
11136
11137 2002-01-05  Juergen Vigna  <jug@sad.it>
11138
11139         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11140         if it doesn't like to be drawed.
11141
11142 2002-01-04  Juergen Vigna  <jug@sad.it>
11143
11144         * BufferView2.C (lockInset): forgot to set a cursor.
11145
11146         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11147
11148 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11149
11150         * FormMathsPanel.C:
11151         * FormMathsPanel.h
11152         * MathsSymbols.C:
11153         * form_maths_panel.C:
11154         * form_maths_panel.h:
11155         * form_maths_panel.fd: implemented sub- and super- buttons in math
11156         panel.
11157
11158         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11159         (or ^ space) to be used as in TeX (req'd by André).
11160
11161         * lyxfunc.C: Allow ^ and _ again to be used both as
11162         super/subscript (mathed) and as themselves (in text).
11163
11164 2002-01-03  Allan Rae  <rae@lyx.org>
11165
11166         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11167         "LyX" or the filename of the current buffer if it has one.  This is a
11168         modified form of John Levon's patch.
11169
11170         * XFormsView.C (setWindowTitle): also set icon title.
11171
11172         * LyXView.h (setWindowTitle): signature changed.
11173         * XFormsView.h (setWindowTitle): ditto.
11174
11175 2002-01-02  Juergen Vigna  <jug@sad.it>
11176
11177         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11178
11179 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * screen.C (topCursorVisible): introduce a temp var for
11182         text->cursor.row(), handle the case where this row is null. (kindo
11183         hachish)
11184
11185         * text2.C (setCursor): add a couple of asserts.
11186
11187         * paragraph.h (inset_iterator): add -> operator
11188
11189         * paragraph.[Ch] (autoDeleteInsets): remove member function
11190
11191         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11192         cursor pos correctly and handle inset deletion by itself.
11193         (insertErrors): move iterator declaration out of for expression
11194
11195         * lyxtextclass.C: add <algorithm>
11196
11197         * Makefile.am: added the new files to sources, removed layout.C
11198
11199         * layout.C: removed file
11200
11201         * layout.h: remove LYX_DUMMY_LAYOUT
11202
11203         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11204         layout.
11205
11206         * lyxlayout.[Ch]:
11207         * lyxtextclass.[Ch]:
11208         * lyxtextclasslist.[Ch]: new files
11209
11210         * include order changes to a lot of files, also changes because of
11211         the six new files.
11212
11213 2001-12-27  Juergen Vigna  <jug@sad.it>
11214
11215         * buffer.C (asciiParagraph): more fixes.
11216
11217         * tabular.C (ascii): make ascii export support export of only the
11218         data separated by a column-delimiter.
11219         (ascii): better support for ascii export.
11220
11221         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11222
11223 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11224
11225         * tabular_funcs.C: use a "using std::getline" instead of the
11226         previous fix from Angus (necessary for cxx + lyxstring)
11227
11228 2001-12-24  Juergen Vigna  <jug@sad.it>
11229
11230         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11231
11232         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11233         problems. First check a minipage also if we have some ert-contents
11234         (not only on par->size(), second set the right depth of the paragraph
11235         on the relink to the root-paragraph-list!
11236
11237         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11238         which then did not anymore update the main paragraphs on undo/redo!
11239
11240 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11243         code. Support all font-changing funcs (even those which are not in
11244         menu currently). Support for reporting font settings in
11245         mathed (disabled until Andre provides a function on mathed's side).
11246
11247         * func_status.h (toggle): small helper function to set toggle
11248         state on a flag.
11249
11250 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11251
11252         * tabular_funcs.C: getline -> std::getline
11253
11254 2001-12-21  Juergen Vigna  <jug@sad.it>
11255
11256         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11257         accessed and could be 0 (I couldn't generate this but it seems
11258         Michael could!).
11259
11260 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11263         * tabular_funcs.h: here and include iosfwd
11264
11265 2001-12-20  Juergen Vigna  <jug@sad.it>
11266
11267         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11268         inside inset but undo_par was.
11269
11270 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11271
11272         * Thesaurus.C: always include <config.h> in sources.
11273
11274         * Painter.h:
11275         * lyxlookup.h:
11276         * box.h: do not include <config.h> in header files
11277
11278         * text.C (paintLastRow): remove unused variable
11279
11280         * text.C (transformChar):
11281         (insertChar):
11282         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11283
11284         * Painter.C (text):
11285         * font.C (width): rewrite to use uppercase() instead of
11286         islower/toupper.
11287
11288         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11289
11290 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * lyxfind.C: clean up of find failure position change
11293
11294 2001-12-20  Juergen Vigna  <jug@sad.it>
11295
11296         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11297
11298         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11299         (TeXRow): added to LaTeX a single tabular row.
11300         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11301         (Latex): simplified and finally good LT-h/f support.
11302         (various_functions): just small adaptions for LT-h/f support.
11303
11304         * tabular_funcs.[hC]: added and moved here all not classfunctions
11305         of LyXTabular.
11306
11307 2001-12-19  Juergen Vigna  <jug@sad.it>
11308
11309         * tabular.[Ch]: better support for longtabular options (not finished
11310         yet!)
11311
11312 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * text.C (paintLastRow): use the label font instead of the font of
11315         the last character to compute the size of *_BOX. This makes more
11316         sense and avoids a crash with empty paragraphs.
11317         Use Painter::rectangle to draw EMPTY_BOX.
11318
11319 2001-12-19  Juergen Vigna  <jug@sad.it>
11320
11321         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11322         the paragraphs if the replaced paragraph is not the first one!
11323         Tried to delete not used paragraphs but does not work yet so for
11324         now it's inside #ifdef's and by default off!
11325
11326 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * MenuBackend.C: include "lyx_main.h" instead of declaring
11329         lastfiles (actually was declared as LastFiles* instead of a
11330         scoped_ptr).
11331
11332 2001-12-17  Juergen Vigna  <jug@sad.it>
11333
11334         * tabular.C (AppendColumn): applied John's fix
11335
11336 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * BufferView.h:
11339         * BufferView.C:
11340         * BufferView_pimpl.h:
11341         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11342
11343         * Makefile.am:
11344         * box.h: new start of class for above
11345
11346         * lyxfunc.C: ignore space-only minibuffer dispatches.
11347           Show the command name when it doesn't exist
11348
11349         * minibuffer.C: don't add empty lines to the history
11350
11351         * minibuffer.C: add a space on dropdown completion
11352
11353 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * text.C: fix line above/below drawing in insets
11356
11357 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * lyxlength.C (LyXLength): Initialize private variables.
11360
11361 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11364         when inserting error insets.
11365
11366 2001-12-13  Juergen Vigna  <jug@sad.it>
11367
11368         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11369         actually sometimes the before-paragraph.
11370         (setUndo): don't clear the redostack if we're not actually undoing!
11371
11372 2001-12-06  Juergen Vigna  <jug@sad.it>
11373
11374         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11375         and fixed redoing of main paragraph, so we can use it now ;)
11376
11377         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11378
11379 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11382         Juergen's request
11383
11384 2001-12-13  André Pönitz <poenitz@gmx.net>
11385
11386         * undostack.[Ch]:
11387         * undo_func.C: minor cleanup
11388
11389 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11392         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11393         font in urw-fonts package which is marked as -urw-fontspecific and
11394         does not work (incidentally, changing the encoding in the
11395         fonts.dir of this package to -adobe-fontspecific fixes the
11396         problem).
11397
11398         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11399         is a crash when undoing first paragraph (Juergen, please take a
11400         look). THis does not mean the undo fix is wrong, just that it
11401         uncovers problems.
11402
11403         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11404         the (Paragraph*) version when needed instead of duplicating the
11405         code.
11406
11407         * text.C (workWidth): use Inset::parOwner to find out where the
11408         inset has been inserted. This is a huge performance gain for large
11409         documents with lots of insets. If Inset::parOwner is not set, fall
11410         back on the brute force method
11411
11412         * paragraph_pimpl.C (insertInset):
11413         * paragraph.C (Paragraph):
11414         (cutIntoMinibuffer): set parOwner of insets when
11415         inserting/removing them
11416
11417         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11418
11419 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11420
11421         * commandtags.h:
11422         * LyXAction.C:
11423         * lyx_main.C:
11424         * lyxfunc.C:
11425         * mathed/formulabase.C:
11426         * mathed/math_cursor.[Ch]:
11427         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11428
11429
11430 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * lyxlength.[Ch] (operator!=): new function
11433
11434 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * text.C (workWidth): use Inset::parOwner to find out where the
11437         inset has been inserted. This is a huge performance gain for large
11438         documents with lots of insets. If Inset::parOwner is not set, fall
11439         back on the brute force method
11440
11441         * paragraph_pimpl.C (insertInset):
11442         * paragraph.C (Paragraph):
11443         (cutIntoMinibuffer): set parOwner of insets when
11444         inserting/removing them
11445
11446         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11447
11448 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * tabular-old.C (getTokenValue):
11451         * tabular.C (getTokenValue):
11452         (write_attribute): new versions for LyXLength
11453         (everywhere): adjust the use of widths
11454
11455         * tabular.h: change the type of widths from string to LyXLength
11456
11457 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11458
11459         * paragraph.C: fixed missing line number count when exporting
11460         Environments to LaTeX file
11461
11462         * buffer.C: added informational message for checking line numbers.
11463
11464 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11467         paragraph, do the 'double space' part, but not the 'empty
11468         paragraph' one.
11469
11470         * text.C (workWidth): small optimization
11471         (getLengthMarkerHeight): use minimal size for negative lengths.
11472
11473 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11474
11475         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11476
11477         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11478
11479 2001-12-11  André Pönitz <poenitz@gmx.net>
11480
11481         * FontLoader.C:
11482         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11483
11484 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * text2.C: keep selection on a setFont()
11487
11488 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * lyx_cb.C: another bv->text misuse, from insert label
11491
11492 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * kbsequence.h:
11495         * kbsequence.C: re-instate nmodifier mask
11496
11497 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11498
11499         * lyx_main.h: make lyxGUI private.
11500
11501 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * lyxfind.C: place the cursor correctly on failed search
11504
11505 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11506
11507         * text.C (getLengthMarkerHeight): for small heights, the arrows
11508         are not always on top/bottom of the text
11509         (drawLengthMarker): smaller arrows; take the left margin in
11510         account; draw also vfills.
11511         (paintFirstRow):
11512         (paintLastRow): remove special code for vfill and standard spaces,
11513         since everything is handled in drawLengthMarker now.
11514
11515 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * buffer.C (insertErtContents): try to handle font and language
11518         interaction a bit better.g
11519
11520         * ColorHandler.C (updateColor): change the hash to cover the whole
11521         LColor enum, ws cleanup
11522         (getGCLinepars): ditto
11523         (getGCLinepars): only lookup in the linecache once.
11524
11525 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11526
11527         * iterators.C (operator++): Make the iterator more robust
11528
11529         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11530         (John's patch)
11531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11532
11533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * lyxtext.h:
11536         * text.C: better added space drawing
11537
11538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * LyXView.C:
11541         * BufferView2.C: fix layout combo update on inset unlock
11542
11543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * Makefile.am: don't compile unused files
11546
11547 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * lyxfunc.C:
11550         * commandtags.h:
11551         * LyXAction.C: remove old LFUN_LAYOUTNO
11552
11553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * paragraph_pimpl.h:
11556         * paragraph_pimpl.C: isTextAt() doesn't need font param
11557
11558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyxlex.h:
11561         * lyxlex.C: little cleanup
11562
11563 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * BufferView_pimpl.C: fix insertAscii for insets
11566
11567 2001-12-05  Juergen Vigna  <jug@sad.it>
11568
11569         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11570         set the right font on the "multi" paragraph paste!
11571
11572 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * trans_decl.h:
11575         * trans_mgr.[Ch]:
11576         * trans.[Ch]:
11577         * lyxgluelength.C:
11578         * lyxlength.C: remove out-commented code.
11579
11580         * BufferView_pimpl:
11581         * CutAndPaste.C:
11582         * DepTable.C:
11583         * buffer.C:
11584         * chset.C:
11585         * lastfiles.C:
11586         * lyxlex.C:
11587         * lyxlex_pimpl.C:
11588         * lyxserver.C:
11589         * screen.C:
11590         * tabular-old.C:
11591         * tabular.C:
11592         * text.C:
11593         * trans_mgr.C:
11594         * vc-backend.C: change "while(" to "while ("
11595
11596         * lyxlength.[Ch]: add zero function to check if length is zero or
11597         not
11598         * lyxgluelength.C: use it
11599
11600 2001-12-05  Allan Rae  <rae@lyx.org>
11601
11602         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11603         Works for 2.95.3, from what I understand of Garst's reports this should
11604         work for other g++ versions.  We're screwed if the abs(int) definition
11605         changed between bugfix releases of gcc.
11606
11607 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * text.C: fix chapter label offset !
11610
11611 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * lyxtext.h:
11614         * text.C: fix hfill at end of line, clean up
11615
11616 2001-12-04  Juergen Vigna  <jug@sad.it>
11617
11618         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11619         that we force an update of the inset and it's owners if neccessary.
11620
11621 2001-12-03  Juergen Vigna  <jug@sad.it>
11622
11623         * text.C (rowLast): simplified code
11624
11625 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyxfunc.C: fix show options on timeout
11628
11629 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * screen.C (topCursorVisible): scroll half a page when the cursor
11632         reached top of bottom of screen
11633
11634 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * minibuffer.C: deactivate on loss of focus
11637
11638 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * vspace.[Ch] (operator!=): add operator.
11641
11642 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * BufferView_pimpl.C: refuse to open an inset when
11645         there's a selection.
11646
11647 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * BufferView_pimpl.C: allow to click on RHS of full row insets
11650
11651 2001-11-30  Juergen Vigna  <jug@sad.it>
11652
11653         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11654         insets for undo reasons.
11655
11656 2001-11-28  André Pönitz <poenitz@gmx.net>
11657
11658         * vspace.[Ch]: cosmetical changes
11659
11660 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * LyXAction.h:
11663         * LyXAction.C:
11664         * lyxfunc.h:
11665         * lyxfunc.C:
11666         * kbmap.h:
11667         * kbmap.C:
11668         * lyxrc.C:
11669         * kbsequence.h:
11670         * kbsequence.C: part re-write of old kb code
11671
11672         * Painter.C:
11673         * WorkArea.C: remove Lgb_bug_find_hack
11674
11675 2001-11-30  José Matos <jamatos@fep.up.pt>
11676
11677         * buffer.C (makeDocBookFile): add a comment to point a hack.
11678         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11679         Fixed a double write of labels.
11680
11681 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11682
11683         * LaTeX.C:
11684         * LaTeX.h Fixed bug in LaTeX class where it would not
11685         re-run latex if no depfiles were changed, but the .dvi was removed.
11686
11687 2001-11-28  André Pönitz <poenitz@gmx.net>
11688
11689         * all the files from the change on 2001/11/26:
11690         use lyx::layout_type instead of LyXTextClass::size_type
11691         use lyx::textclass_type instead of LyXTextClassList::size_type
11692
11693 2001-11-29  Juergen Vigna  <jug@sad.it>
11694
11695         * text.C: added support for paragraph::isFreeSpacing()
11696
11697         * buffer.C: same as above
11698
11699         * paragraph.h: inserted isFreeSpacing() function to enable
11700         FreeSpacing inside InsetERT.
11701
11702         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11703         of the paragraph's in the cut/copy buffer to 0!
11704
11705         * text2.C (removeRow): remove the assert as it can!
11706
11707         * lyxtext.h: added helper function firstRow returning firstrow and
11708         made firstrow private again.
11709
11710         * BufferView2.C (lockInset): don't relock if we're already locked!
11711
11712         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11713         the only paragraph.
11714         (removeRow): added Assert::(firstrow)
11715
11716         * debug.C: forgot to add INSETTEXT here.
11717
11718 2001-11-28  Juergen Vigna  <jug@sad.it>
11719
11720         * sp_spell.C (initialize): changed error text to more general
11721         spellchecker command use (not only ispell!)
11722
11723         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11724
11725         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11726
11727 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * vspace.C: initialise lyxgluelength on failure
11730
11731 2001-11-28  Allan Rae  <rae@lyx.org>
11732
11733         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11734         declaration & definition that looks like a function declaration.
11735
11736 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11737
11738         * BufferView2.C (copy):
11739         (copyEnvironment): do not clear the selection when doing a copy.
11740
11741         * text.C (paintFirstRow): compilation fix
11742
11743 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11744
11745         * tabular.C (Latex): correct line count when writing latex.
11746
11747 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * paragraph_pimpl.h:
11750         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11751           bug a bit
11752
11753 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * text.C:
11756         * LColor.h:
11757         * LColor.C: change vfillline->added_space
11758
11759         * text.C: add markers and text for added space
11760
11761         * vspace.C: fix comment
11762
11763 2001-11-28  André Pönitz <poenitz@gmx.net>
11764
11765         * paragraph.C: whitespace changes
11766         * all the other files from the change on 2001/11/26:
11767         change *::pos_type into lyx::pos_type
11768
11769 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11770
11771         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11772         language of the document when inserting error insets.
11773
11774 2001-11-26  André Pönitz <poenitz@gmx.net>
11775
11776         * BufferView_pimpl.[Ch]:
11777         *       CutAndPaste.C:
11778         * buffer.[Ch]:
11779         * lyxcursor.[Ch]:
11780         * lyxfind.C:
11781         * lyxfunc.C:
11782         * lyxrow.[Ch]:
11783         * paragraph.[Ch]:
11784         * paragraph_pimpl.[Ch]:
11785         * sp_spell.C:
11786         * text.C:
11787         * text2.C: reduce header dependencies, introduce type for positions
11788
11789 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * <various>: change to use Alert.h
11792
11793 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11794
11795         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11796         when encountering an unknown token.
11797         (readLyXformat2): Show an error message if there were unknown tokens.
11798
11799 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * BufferView2.C:
11802         * BufferView_pimpl.C:
11803         * buffer.C:
11804         * paragraph.h:
11805         * text.C:
11806         * text2.C: use par->isInset()
11807
11808 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * paragraph_pimpl.h:
11811         * paragraph_pimpl.C: cleanup
11812
11813 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11814
11815         * text2.C (removeRow):
11816         * text.C (setHeightOfRow): remove useless (and costly) call to
11817         getRow.
11818
11819 2001-11-20  Allan Rae  <rae@lyx.org>
11820
11821         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11822         Now need Inset*::checkInsertChar() to return true for appropriate
11823         cases so that the characters in the minibuffer will actually be
11824         inserted.
11825
11826 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11827
11828         * text.C: change the order of the includes.
11829         (workWidth): initialize it at once.
11830         (workWidth): make maxw unsigned
11831         (setHeightOfRow): remove unused variable (inset)
11832         (selectSelectedWord): remove unused variable (inset)
11833         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11834
11835 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11838         server is not running.
11839         (openConnection):
11840         (closeConnection): add debug info when server is disabled.
11841
11842         * ColorHandler.C (getGCForeground): send debug message to GUI
11843         channel.
11844
11845         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11846
11847         * kbmap.C (bind): modify because return conventions of
11848         kb_sequence::parse have changed.
11849
11850         * kbsequence.C (parse): only ignore spaces and not any stupid
11851         control character. This avoids tests like s[i] <= ' ', which are
11852         guaranteed to fail with 8bit characters and signed chars.
11853         Change return code to string::npos when there have been no error
11854         (0 was a bad idea when error is at first character)
11855
11856 2001-11-14  José Matos  <jamatos@fep.up.pt>
11857
11858         * buffer.h:
11859         * buffer.C (simpleDocBookOnePar): removed unused argument.
11860
11861 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11862
11863         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11864         insets which are part of a word. Paragraph::isLetter takes care of
11865         that now. Use Paragraph::isInset to identify insets.
11866         (selectSelectedWord): do not test for hyphenation break.
11867
11868         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11869         that protected spaces are considered as spaces.
11870
11871         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11872         Inset::isLetter.
11873
11874 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * lyxserver.h:
11877         * lyxserver.C: fix it. and small cleanup.
11878
11879 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * BufferView_pimpl.C: use inline helpers
11882
11883         * LaTeXFeatures.h:
11884         * LaTeXFeatures.C: fix typos
11885
11886         * Spacing.h:
11887         * Spacing.C: move spacing_string into class
11888
11889         * ToolbarDefaults.C: move stuff into namespace anon
11890
11891         * layout.h: update enum
11892
11893         * lyxfunc.C: use better debug
11894
11895         * minibuffer.h: fix typo
11896
11897         * debug.h:
11898         * debug.C:
11899         * WorkArea.C: add and use Debug::WORKAREA
11900
11901         * lyxtext.h:
11902         * text.C:
11903         * text2.C: code re-organisation, inline helpers
11904
11905 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11906
11907         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11908         std::vector.empty().
11909
11910 2001-11-09  Allan Rae  <rae@lyx.org>
11911
11912         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11913         '\n's after tables.  Tabular and ERT inset work now makes this no
11914         longer necessary.
11915
11916 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * minibuffer.h:
11919         * minibuffer.C: fix crash, improve drop-down completion
11920
11921 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyxserver.h:
11924         * lyxserver.C: invalidate fd's when doing endPipe()
11925
11926 2001-11-08  José Matos  <jamatos@fep.up.pt>
11927
11928         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11929         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11930
11931         * paragraph.h:
11932         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11933
11934 2001-11-07  José Matos  <jamatos@fep.up.pt>
11935
11936         * buffer.h:
11937         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11938         const qualifier.
11939
11940         * buffer.C (sgmlOpenTag):
11941         * buffer.C (sgmlCloseTag): removed debug info.
11942
11943         * buffer.h (sgmlOpenTag):
11944         * buffer.h (sgmlCloseTag): made public.
11945
11946 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * buffer.C (saveParamsAsDefaults):
11949         * lyx_cb.C (MenuLayoutSave): remove
11950
11951         * LyXAction.C (init):
11952         * commandtags.h:
11953         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11954
11955 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11956
11957         * buffer.C (setPaperStuff): removed from here...
11958
11959         * bufferparams.C (setPaperStuff): ... and moved there.
11960
11961 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * minibuffer.h:
11964         * minibuffer.C:
11965         * XFormsView.C: add support for drop-down completion
11966
11967 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11970         commands.
11971
11972 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11973
11974         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11975         disabled.
11976
11977 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * lyx_main.C: change ref to known bugs
11980
11981 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11982
11983         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11984         to work around older babel problems.
11985
11986 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11987
11988         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11989
11990 2001-10-24  Juergen Vigna  <jug@sad.it>
11991
11992         * tabular-old.C (ReadOld): below variable changes reflected.
11993
11994         * tabular.[Ch]: added ltType struct for longtable header/footer
11995         defines and changed all instances where they are used. Added
11996         future support for double top/bottom rows.
11997
11998 2001-10-24  José Matos  <jamatos@fep.up.pt>
11999
12000         * buffer.h (docbookHandleCaption):
12001         * buffer.C (docbookHandleCaption): removed unused function.
12002         (makeDocBookFile): moved docbook supported version to v4.1.
12003
12004 2001-10-24  José Matos  <jamatos@fep.up.pt>
12005
12006         * tabular.h:
12007         * tabular.C (docbookRow): new function to export docbook code of a row.
12008         (DocBook): now honors the longtable flags.
12009
12010 2001-10-23  José Matos  <jamatos@fep.up.pt>
12011
12012         * LaTeXFeatures.h:
12013         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12014         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12015
12016         * buffer.C (makeLinuxDocFile):
12017         (makeDocBookFile): reworked the preamble, more clean, and with
12018         support for lyx defined entities. Changed the document declaration
12019         to be more XML friendly.
12020
12021         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12022         if we need to output XML that should be done with a filter.
12023
12024 2001-10-22  Juergen Vigna  <jug@sad.it>
12025
12026         * sp_pspell.h (class PSpell): add alive function needed in the
12027         controller to see if the spellchecker could be started.
12028
12029 2001-10-22  Juergen Vigna  <jug@sad.it>
12030
12031         * buffer.C (insertStringAsLines): modify the font for inserting
12032         chars in certain conditions by calling checkInsertChar(font).
12033
12034 2001-10-19  Juergen Vigna  <jug@sad.it>
12035
12036         * text.C (workWidth): use getRow instead of wrong algorithm.
12037         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12038
12039 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * lyxserver.h:
12042         * lyxserver.C:
12043         * lyx_main.h:
12044         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12045
12046 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * text.C (workWidth): do not search for the exact row when
12049         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12050         optimization for big documents.
12051
12052 2001-10-18  Juergen Vigna  <jug@sad.it>
12053
12054         * text.C (workWidth): new function with added Inset * parameter.
12055
12056 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12057
12058         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12059
12060         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12061         change return type of getColumnNearX.
12062
12063
12064         * text.C (changeRegionCase): use uppercase/lowercase instead of
12065         toupper/tolower.
12066         (leftMargin):
12067         (rightMargin): simplify code by factoring out the uses of
12068         textclasslist.
12069         (labelFill):
12070         (numberOfHfills):
12071         (setHeightOfRow):
12072         (appendParagraph): use Paragraph::size_type
12073
12074 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12075
12076         * vspace.C (asLatexString): add a missing break
12077
12078 2001-10-15  Herbert Voss  <voss@perce.de>
12079
12080         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12081
12082 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12083
12084         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12085         is not available.
12086
12087 2001-10-10  André Pönitz <poenitz@gmx.net>
12088
12089         * lyxfunc.C: removed greek_kb_flag.
12090
12091 2001-10-10  Herbert Voss  <voss@perce.de>
12092
12093         * lyx_main.C: delete global string help_lyxdir.
12094
12095 2001-10-09  Herbert Voss  <voss@perce.de>
12096
12097         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12098
12099         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12100
12101         * lyx_main.C: added global string help_lyxdir.
12102
12103         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12104
12105 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12106
12107         * lyxrc.C (set_font_norm_type): support iso8859-4
12108
12109 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12110
12111         * LaTeX.C (deplog): add another regex for MikTeX
12112
12113 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12114
12115         * lyxrc.C (set_font_norm_type): support iso8859-3
12116
12117 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12120
12121         * LaTeXFeatures.C: remove special case of french and index
12122
12123         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12124         before \begin{document}). This solves several incompatibilities.
12125
12126 2001-10-03  Garst Reese  <reese@isn.net>
12127
12128         * lyx_cb.C: change CheckTex error msg.
12129
12130 2001-10-03  José Matos  <jamatos@fep.up.pt>
12131
12132         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12133
12134 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12135
12136         * .cvsignore: update
12137
12138         * lyx_main.C (commandLineVersionInfo): use new style version info.
12139
12140         * buffer.C (writeFile):
12141         (makeLaTeXFile):
12142         (makeLinuxDocFile):
12143         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12144
12145         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12146
12147         * version.h: update to use stuff in version.C
12148
12149         * version.C.in: new file. Contains version information determined
12150         at compile time. This is a merging of version.h and
12151         version_info.h.in.
12152
12153 2001-10-03  Juergen Vigna  <jug@sad.it>
12154
12155         * BufferView_pimpl.C (update): don't change "dirty" status in
12156         updateInset call.
12157
12158 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * WorkArea.C (c-tor): re-position version string slightly.
12161
12162 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12165         revert to previous code.
12166
12167         WorkArea.[Ch]: (show, destroySplash): methods removed.
12168
12169         WorkArea.C: rework code so that it's an amalgam of the codes before and
12170         after the splash screen was moved to WorkArea.
12171
12172 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * lyxrc.C (read):
12175         * vspace.C (inPixels):
12176         (lyx_advance):
12177         * kbmap.C (bind):
12178         * buffer.C (insertStringAsLines):
12179         (asciiParagraph): fix types to be large enough
12180
12181         * lyxlex_pimpl.h: change member status from short to int
12182
12183         * layout.h: fix type of endlabeltype
12184
12185         * kbmap.C (bind):
12186         * kbsequence.C (parse): change return type to string::size_type
12187
12188         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12189         variable
12190
12191         * Bullet.C (bulletSize):
12192         (bulletEntry): do not use short ints as parameters
12193
12194         * BufferView2.C (insertLyXFile): change a char to an int.
12195
12196         * WorkArea.C (WorkArea): remove unneeded floats in computation
12197
12198 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12201
12202         * paragraph.C (asString): Do not ignore newline/hfill chars when
12203         copying to the clipboard.
12204
12205 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12206
12207         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12208         after a multi-line inset.
12209
12210 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12211
12212         * paragraph.C (validate): Set NeedLyXFootnoteCode
12213
12214 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12215
12216         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12217         and decrease-error to decrease.
12218
12219 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12222         it more readable (should be equivalent)
12223
12224 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12225
12226         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12227
12228 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12231         of a cursor (row, etc.) after a character has been deleted
12232         (deleteEmptyParagraphMechanism): call the method above on _all_
12233         cursors held by the LyXText when a double space has been
12234         detected/deleted.
12235
12236 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12239         pixmap.
12240         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12241
12242         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12243         background. Use greyOut() and the new show() methods to toggle between
12244         the foreground and background. Add code to remove the splash after
12245         its initial showing.
12246
12247         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12248         (create_forms): no longer call Dialogs::showSplash.
12249
12250 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * .cvsignore: add version_info.h
12253
12254 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12255
12256         * version_info.h.in: new file
12257
12258         * Makefile.am: add version_info.h.in
12259
12260         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12261         version_info.h instead of VERSION_INFO
12262
12263 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12266         The ERT inset now returns string().
12267
12268 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * lyxtext.h, text.C (selectNextWord): renamed as
12271         selectNextWordToSpellcheck.
12272
12273         * text.C (selectNextWordToSpellcheck): Modified to not select
12274         words inside an ERT inset.
12275
12276 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12277
12278         * lyx_cb.C (MenuLayoutSave): change a bit the question
12279
12280         * sp_base.h: include <sys/types.h>
12281
12282 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12285
12286 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12287
12288         * several files: fix typos in user-visible strings
12289
12290 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * text2.C (pasteSelection): do not set the selection, since it
12293         will be cleared later. Actually, the intent was to fix the way the
12294         selection was set, but I figured rmoving the code was just as good.
12295
12296 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * FontLoader.C (available): Check if font is available without
12299         loading the font.
12300
12301 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12302
12303         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12304
12305 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * lyxrc.[Ch]: added display_graphics variable and associated code.
12308
12309 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12310
12311         * bufferparams.C (hasClassDefaults): new method. Returns true if
12312         the buffer parameters correspond to known class defaults
12313
12314 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12315
12316         * XFormsView.C (show): set minimum size to the main window.
12317
12318 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * text2.C (copySelection):
12321         (cutSelection):
12322         * lyxfind.C (LyXReplace):
12323         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12324         LyXText::selectionAsString.
12325
12326         * paragraph.C (asString): add "label" argument to the second form
12327
12328         * text2.C (selectionAsString): add "label" argument and pass it to
12329         Paragraph::asString.
12330
12331 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12332
12333         * lyx_main.C (commandLineHelp): remove version information
12334
12335 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12336
12337         * lyx_main.C: add -version commandline option
12338
12339 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * paragraph.h: make the optional constructor arg required instead.
12342         some modifications to other files because of this.
12343
12344         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12345
12346         * lyxserver.C (C_LyXComm_callback): make it static
12347
12348         * lyx_main.C (error_handler): make it static
12349
12350         * lyx_gui.C (LyX_XErrHandler): make it static
12351
12352         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12353
12354         * WorkArea.C: make the extern "C" methods static.
12355
12356         * Makefile.am (lyx_LDADD): simplify
12357
12358 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12361         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12362
12363         * LyXAction.C (init):
12364         * lyxfunc.C (dispatch): associated code removal.
12365
12366 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * lyxfont.h (isSymbolFont): shut off warning
12369
12370         * text.C (setHeightOfRow):
12371         (getVisibleRow): fix crash with empty paragraphs which have a
12372         bottom line
12373
12374 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12375
12376         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12377         code.
12378
12379 2001-09-04  José Matos  <jamatos@fep.up.pt>
12380         * buffer.C
12381         * buffer.h
12382         * tabular.C (docbook): rename docBook method to docbook.
12383
12384 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * Makefile.am: add dependencies to main.o.
12387
12388 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12389
12390         * FontLoader.C (available): Return false if !lyxrc.use_gui
12391
12392 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12393
12394         * FontInfo.C (query):
12395         * converter.C (view):
12396         * importer.C (Import):
12397         * exporter.C (Export): Can not -> cannot.
12398
12399 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * BufferView_pimpl.C: allow to create index inset even if
12402           string is empty
12403
12404 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * buffer.C (getLists): replace boost::tie code with an explicit pair
12407         as boost::tie can break some compilers.
12408
12409         * iterators.h: Added a std:: declaration to the return type of
12410         ParIterator::size.
12411
12412 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12415           case.
12416
12417 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12418
12419         * iterators.[Ch]: New files. Provide paragraph iterators.
12420
12421         * buffer.C (changeLanguage): Use paragraph iterators.
12422         (isMultiLingual): ditto
12423
12424         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12425
12426 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12427
12428         * FontLoader.C: Support for cmr font.
12429
12430 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12431
12432         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12433         (available): New method.
12434
12435         * FontInfo.C (getFontname): Use scalable fonts even when
12436         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12437         found.
12438
12439 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * converter.C (Formats::view): reverted! Incorrect fix.
12442
12443 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12444
12445         * converter.C (Formats::view): only output the -paper option
12446         if the dvi viewer is xdvi, thereby fixing bug #233429.
12447
12448 2001-08-23  Herbert Voss  <voss@perce>
12449
12450         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12451
12452 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12453
12454         * Spacing.h (Spacing): Set space to Default on in the default
12455         constructor.
12456
12457 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * vc-backend.h (RCS::versionString): add RCS to version
12460         (CVS::versionString): add CVS to version
12461
12462         * vc-backend.C (scanMaster): do not add CVS to version.
12463         (scanMaster): do not add RCS to version
12464
12465         * lyxvc.C (versionString): new method
12466
12467         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12468
12469 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12470
12471         * Spacing.C (set): initialize fval
12472
12473 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12474
12475         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12476         " or \.
12477
12478 2001-08-16  Juergen Vigna  <jug@sad.it>
12479
12480         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12481
12482 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView_pimpl.C:
12485         * figureForm.C:
12486         * lyxtext.h:
12487         * text2.C: setParagraph takes linespacing now
12488
12489 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * LyxAction.C: add internal LFUN_CITATION_INSERT
12492
12493         * LyXView.C: actually apply fix
12494
12495         * bufferlist.C: fix open non-existent file
12496
12497         * lyxfind.C: fix indentation
12498
12499         * lyxfunc.C: remove unneeded assert, fix typo
12500
12501 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * MenuBackend.C: use "Floatname List"
12504
12505 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12508         when converting LaTeX layout to insetERT.
12509         Generate a non-collapsed float when reading old float
12510
12511 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12512
12513         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12514         ERT insets.
12515
12516 2001-08-13  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C (fill): return 0 instead of 20 as this seems to be the more
12519         correct value.
12520
12521 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12522
12523         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12524         lyxrc.font_norm.
12525
12526 2001-08-13  Juergen Vigna  <jug@sad.it>
12527
12528         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12529         casesensitive off.
12530         (SearchBackward): comment out the unlocking of the inset_owner this
12531         should not be needed!
12532
12533 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12534
12535         * Many files: Remove inherit_language, and add latex_language
12536
12537         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12538         collapsible insets.
12539
12540 2001-08-10  Juergen Vigna  <jug@sad.it>
12541
12542         * text.C (prepareToPrint): fixed hfill-width in draw!
12543
12544         * BufferView2.C (selectLastWord): save the selection cursor as this
12545         now is cleared in the function LyXText::clearSelection!
12546
12547 2001-08-08  Juergen Vigna  <jug@sad.it>
12548
12549         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12550         BACKSPACE type functions.
12551
12552         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12553         is only cutted from the document but not put in the cut-buffer, where
12554         still the old stuff should be.
12555
12556         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12557
12558         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12559
12560         * tabular.C (SetWidthOfCell): fixed special case where the width
12561         was not updated!
12562         (LeftLine): handle '|' in align_special.
12563         (RightLine): ditto
12564         (LeftAlreadyDrawed): ditto
12565         (SetWidthOfCell): ditto
12566
12567 2001-08-07  Juergen Vigna  <jug@sad.it>
12568
12569         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12570
12571 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12574         * lyxlex.[hC]: ditto
12575
12576 2001-08-06  Juergen Vigna  <jug@sad.it>
12577
12578         * text.C (getVisibleRow): fix up row clearing a bit.
12579
12580 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * minibuffer.C: make sure the X server sees the changes in the input.
12583
12584 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * paragraph.C (getFont): split into...
12587         (getLabelFont): this
12588         (getLayoutFont): and this
12589         * paragraph_pimpl.C (realizeFont): calling this
12590
12591         * text2.C (getFont): split into...
12592         (getLayoutFont): this
12593         (getLabelFont): and this
12594         (realizeFont): all three calling this
12595
12596         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12597         files where used.
12598
12599 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12600
12601         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12602
12603 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12604
12605         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12606         layouts from the Quote inset insertion.
12607
12608 2001-08-03  Juergen Vigna  <jug@sad.it>
12609
12610         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12611
12612         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12613         only if status not is already CHANGED_IN_DRAW (second level).
12614
12615         * text.C (draw): don't set the need_break_row when inside an
12616         InsetText LyXText.
12617
12618 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * buffer.C (parseSingleLyXformat2Token): handle more latex
12621         conversion cases.
12622
12623         * bufferview_funcs.[hC]: change function names to
12624         begin with small char, adjust other files.
12625
12626 2001-08-02  André Pönitz <poenitz@gmx.net>
12627
12628         * lyxfunc.C:
12629         BufferView_pimpl.C: remove broken special code for math-greek
12630
12631 2001-08-02  Juergen Vigna  <jug@sad.it>
12632
12633         * BufferView_pimpl.C (update): redone this function so that we
12634         update the text again if there was a CHANGE_IN_DRAW.
12635
12636         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12637         (drawFromTo): added a new internal bool which is used by draw() and
12638         redraw() function.
12639         (general): some cursor drawing problems fixed.
12640
12641 2001-08-01  Juergen Vigna  <jug@sad.it>
12642
12643         * lyxfind.C (LyXFind): fixed
12644         (SearchForward): ditto
12645         (SearchBackward): ditto
12646
12647         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12648         spurius drawing of the cursor in the main area.
12649
12650         * text2.C (status): small fix which could lead to a segfault!
12651         (clearSelection): remove unneeded BufferView param.
12652
12653 2001-08-01  André Pönitz <poenitz@gmx.net>
12654
12655         * lyxfunc.C: small change due to changed mathed interface
12656
12657 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12660
12661 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * lyxfunc.c: fail gracefully if file doesn't exist
12664
12665         * LyXSendto.C:
12666         * buffer.C:
12667         * lyxfunc.C:
12668         * BufferView_pimpl.C: IsDirWriteable() proto changed
12669
12670         * LyXView.C: fix updateWindowTitle() to store the last title
12671
12672 2001-07-31  Juergen Vigna  <jug@sad.it>
12673
12674         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12675         the font (wrong since using of Paragraph::highestFontInRange).
12676
12677         * paragraph.C (highestFontInRange): added a default_size parameter.
12678
12679         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12680         (setHeightOfRow): reformat
12681
12682 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * converter.[hC] + affected files: move to (inital-char)lowercase
12685         function names.
12686
12687         * ParagraphParameters.C (ParagraphParameters): remove commented code
12688
12689         * PainterBase.[Ch]: remove commented code
12690
12691         * LaTeXFeatures.h: add "bool floats" for float.sty
12692
12693         * LaTeXFeatures.C (LaTeXFeatures): init floats
12694         (require): handle float
12695         (getPackages): do it with floats
12696
12697 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * BufferView_pimpl.C (Dispatch): improve handling of
12700         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12701
12702         * commandtags.h: #include lyxfont.h here temporarily to avoid
12703         keybinding bug.
12704
12705         * bufferlist.h: include LString.h here.
12706
12707 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * text2.C (getStringToIndex): new method.
12710
12711 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12712
12713         * *: Reduced header file dependencies all over.
12714
12715 2001-07-30  Baruch Even  <baruch@lyx.org>
12716
12717         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12718
12719 2001-07-29  Baruch Even  <baruch@lyx.org>
12720
12721         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12722
12723 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * ParameterStruct.h (endif): add a default constructor to make
12726         sure that all variables is initialized.
12727
12728         * ParagraphParameters.C (ParagraphParameters): adjust
12729
12730 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12733         index; also, check that there is something to index, and that it
12734         does not span over several paragraphs.
12735         (doubleClick): use WHOLE_WORD_STRICT for double click.
12736
12737         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12738
12739         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12740         scheme.
12741
12742 2001-07-26  Baruch Even  <baruch@lyx.org>
12743
12744         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12745         an InsetFig figure, backwards compatible reading of old figure code.
12746
12747 2001-07-27  Juergen Vigna  <jug@sad.it>
12748
12749         * text2.C: font.realize function adaption.
12750
12751         * text.C (draw): add a warnings lyxerr text if needed.
12752
12753         * layout.C: font.realize function adaption.
12754
12755         * language.C: add inherit_language and implement it's handlings
12756
12757         * bufferview_funcs.C (StyleReset): remove language parameter from
12758         font creation (should be language_inherit now).
12759
12760         * bufferparams.C (writeFile): handle ignore_language.
12761
12762         * paragraph.C (getFontSettings): the language has to be resolved
12763         otherwise we have problems in LyXFont!
12764
12765         * lyxfont.C (lyxWriteChanges): added document_language parameter
12766         (update): removed unneeded language parameter
12767
12768         * paragraph.C (validate): fixed wrong output of color-package when
12769         using interface colors for certain fonts in certain environments,
12770         which should not seen as that on the final output.
12771
12772 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * BufferView_pimpl.C:
12775         * Thesaurus.h:
12776         * Thesaurus.C:
12777         * Makefile.am:
12778         * commandtags.h:
12779         * LyXAction.C: add thesaurus support
12780
12781         * lyxfind.h:
12782         * lyxfind.C: add "once" parameter, for thesaurus, to not
12783           move to the next match
12784
12785 2001-07-26  Juergen Vigna  <jug@sad.it>
12786
12787         * lyxfont.C (realize): honor ignore_language too!
12788         (resolved): ditto.
12789
12790         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12791
12792         * text.C (draw): one place more for ignore_language to not draw
12793         itself!
12794
12795 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12796
12797         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12798
12799 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12802         the minipage conversion problem.
12803
12804 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12807         insert an inset.
12808
12809 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * BufferView.h: don't forward declare WorkArea
12812
12813         * BufferView.C: don't include WorkArea.h
12814
12815 2001-07-25  André Pönitz <poenitz@gmx.net>
12816
12817         * commandtags.h:
12818         * LyXAction.C:
12819         * lyxfunc.C:  new LFUN 'math-space'
12820
12821         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12822
12823 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12824
12825         * text2.C (toggleInset): call open/close
12826
12827 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * lyxfunc.C (dispatch): add debug for the disabled case
12830
12831         * font.C (buttonText): make similar to rectText
12832
12833         * buffer.C (readInset): comment out parsing of insetlist and
12834         insttheorem
12835
12836         * PainterBase.C (rectText): small correction
12837
12838         * BufferView_pimpl.C: comment out insettheorem and insetlist
12839         * LyXAction.C: ditto
12840         * commandtags.h: ditto
12841
12842 2001-07-24  Juergen Vigna  <jug@sad.it>
12843
12844         * text.C (draw): honor the ignore_language.
12845
12846         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12847
12848 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12851         char inset.
12852
12853 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12854
12855         * lyxtext.h: remove unused (and unimplemented) methods
12856
12857 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12858
12859         * text.C (getVisibleRow): honor background color
12860
12861         * PainterBase.h:
12862         * Painter.h: remove default color argument for fillRectangle
12863
12864         * text.C (backgroundColor): new method
12865
12866 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * text.C (getVisibleRow): adjust
12869
12870         * font.[Ch] (rectText): new method, metrics
12871         (buttonText): new method, metrics
12872
12873         * PainterBase.[hC]: make rectText and buttonText always draw and take
12874         fewer paramteres.
12875
12876 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12877
12878         * ToolbarDefaults.C (read):
12879         * MenuBackend.C (read): allow escaping in all strings
12880
12881         * BufferView_pimpl.C (insertAndEditInset): new method.
12882         (Dispatch): use insertAndEditInset whenever appropriate.
12883
12884         * BufferView_pimpl.C (insertNote): removed
12885
12886         * BufferView_pimpl.C (smartQuote): new method, moved from
12887         BufferView; if an insetquote cannot be inserted, insert a '"'
12888         character instead.
12889
12890         * BufferView2.C: remove insertCorrectQuote();
12891
12892         * lyxfunc.C (getStatus): Add support for all remaingin
12893         inset-insert lfuns.
12894
12895         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12896
12897         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12898         command (necessary to pass " as parameter of self-insert.
12899
12900         * text.C (selectWordWhenUnderCursor):
12901         (selectWord): add word_location parameter
12902         (selectWordWhenUnderCursor): same + remove special code for word
12903         boundary.
12904         (selectNextWord): use kind() to guess type of insetspecialchar,
12905         not latex().
12906
12907         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12908         (insertErtContents): create ert insets as collapsed.
12909         (readInset): better compatibility code for Info inset.
12910
12911 2001-07-20  Juergen Vigna  <jug@sad.it>
12912
12913         * lyxfunc.C (dispatch): use always LyXFind now!
12914
12915         * text2.C (init): add a reinit flag so that the LyXText can be
12916         reinited instead of deleted and reallocated (used in InsetText).
12917
12918         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12919
12920         * text.C: ditto
12921
12922         * text2.C: ditto
12923
12924 2001-07-18  Juergen Vigna  <jug@sad.it>
12925
12926         * text.C (selectNextWord): handle insets inside inset by calling
12927         always the bv->text functions so that we can go up the_locking_inset!
12928
12929         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12930         in strange locations when inside an inset!
12931
12932         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12933         handling to include insets.
12934
12935         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12936
12937 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12938
12939         * LyXAction.C (init):
12940         * commandtags.h:
12941         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12942         LIGATURE_BREAK, since the name is so stupid.
12943
12944 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12945
12946         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12947         InsetInfos.
12948
12949         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12950
12951         * sp_form.[Ch]: remove.
12952
12953         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12954
12955         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12956         InsetInfo.
12957
12958         * src/buffer.C (readInset): ditto.
12959
12960 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12961
12962         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12963         menuSeparator(), endOfSentenceDot(), ldots() and
12964         hyphenationPoint(), which are therefore removed.
12965         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12966
12967         * LyXAction.C (init):
12968         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12969
12970         * paragraph.C (getWord): removed.
12971
12972         * BufferView_pimpl.C (Dispatch): use last word or selection for
12973         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12974
12975         * lyx_main.C (queryUserLyXDir): do not ask before creating
12976         user_dir, except if it has been named explicitely.
12977
12978 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12981         a document of zero size.
12982
12983 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12986         approriately in the c-tor and in require().
12987         (getPackages): output the appropriate LaTeX for natbib support.
12988
12989         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12990         variables "use_natbib" and "use_numerical_citations" when reading the
12991         LyX file.
12992         (readInset): read the various natbib cite commands.
12993         (validate): white-space change.
12994
12995         * bufferparams.[Ch]: new variables "bool use_natbib" and
12996         "bool use_numerical_citations".
12997         (writeFile): output them in the LyX file.
12998
12999 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13000
13001         * lyxfunc.C (getStatus): add support for all the inset insertion
13002         commands.
13003
13004         * text2.C (insertInset):
13005         * paragraph.C (insetAllowed):
13006         * BufferView_pimpl.C (insertInset): update to take in account the
13007         renaming of insertInsetAllowed
13008
13009         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13010
13011         * text2.C (getInset): new method. returns inset at cursor position.
13012
13013         * BufferView_pimpl.C (Dispatch): changes because of this.
13014
13015         * LyXAction.C (init): rename open-stuff to inset-toggle.
13016
13017         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13018
13019         * text2.C (toggleInset): renamed from openStuff; use
13020         Inset::open().
13021
13022 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13023
13024         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13025
13026         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13027
13028 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * buffer.C (readLyXformat2): Add filename to the error dialog
13031
13032 2001-07-18  Juergen Vigna  <jug@sad.it>
13033
13034         * tabular.C (GetCellNumber): put an assert here instead of the check!
13035
13036 2001-07-17  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (toggleSelection): adapted too.
13039
13040         * text.C (selectNextWord): adapted for use with insets.
13041         (selectSelectedWord): ditto
13042
13043 2001-07-17  Juergen Vigna  <jug@sad.it>
13044
13045         * sp_spell.C (PSpell): fix initialitation order.
13046
13047 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * paragraph.C: spacing
13050
13051 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13052
13053         * sp_spell.C: repair language selection for pspell
13054
13055 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * lyxfunc.h: change more methods to begin with lower char.
13058
13059 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13060
13061         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13062         for unknown layouts.
13063
13064 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * buffer.C (readLyXformat2): Generate an error dialog if there are
13067         unknown layouts.
13068
13069 2001-07-16  Juergen Vigna  <jug@sad.it>
13070
13071         * sp_spell.C: always compile ISpell part.
13072
13073         * lyxrc.C: added use_pspell entry and it's handling.
13074
13075 2001-07-13  Juergen Vigna  <jug@sad.it>
13076
13077         * sp_spell.C: removed double includes.
13078
13079 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13080
13081         Consistent use of Lsstream.h:
13082         * Lsstream.h: added using std::stringstream for consistencies sake.
13083
13084         * buffer.C: removed using std::stringstream
13085
13086         * lyxfont.C (stateText):
13087         * paragraph.C (asString):
13088         * text.C (selectNextWord, selectSelectedWord):
13089         * text2.C (setCounter):
13090         * vspace.C (asString, asLatexString):
13091         std::ostringstream -> ostringstream.
13092
13093 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13094
13095         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13096         * commandtags.h: add LFUN_HELP_ABOUTLYX
13097         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13098
13099 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13100
13101         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13102         cursorToggle()
13103         * lyx_gui_misc.C: remove spellchecker
13104         * lyxfunc.C: showSpellchecker
13105         * sp_base.h: added
13106         * sp_ispell.h: added
13107         * sp_pspell.h: added
13108         * sp_spell.C: added
13109         * sp_form.[Ch]: removed
13110         * spellchecker.[Ch]: removed
13111
13112 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13113
13114         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13115         is set.
13116         (simpleTeXSpecialChars): Simply print the input character without
13117         any special translation if pass_thru is set.
13118
13119         * layout.h: Added bool pass_thru to layout class for being able to
13120         implement pass through of a paragraph for Literate Programming.
13121
13122         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13123         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13124         * layout.C (Read): add "passthru" to list of layout tags and add
13125         code to set the pass_thru boolean when it is read.
13126
13127 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * trans_decl.h: remove allowed from KmodInfo
13130
13131         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13132         remove allowed code
13133         (Load): adjust
13134
13135         * paragraph_pimpl.C (erase): use boost::prior
13136
13137         * Painter.C (text): use data() instead of c_str() when length is
13138         also provided.
13139         * WorkArea.C (putClipboard): ditto
13140         * font.h (width): ditto
13141
13142         * BufferView2.C: use it-> instead of (*it). for iterators
13143         * texrow.C: ditto
13144         * paragraph_pimpl.C: ditto
13145         * paragraph.C: ditto
13146         * minibuffer.C: ditto
13147         * language.C: ditto
13148         * kbmap.C: ditto
13149         * encoding.C: ditto
13150         * counters.C: ditto
13151         * converter.C: ditto
13152         * chset.C: ditto
13153         * Variables.C: ditto
13154         * TextCache.C: ditto
13155         * MenuBackend.C: ditto
13156         * LyXAction.C: ditto
13157         * LColor.C: ditto
13158         * FloatList.C: ditto
13159         * DepTable.C: ditto
13160         * ColorHandler.C (LyXColorHandler): ditto
13161
13162 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13163
13164         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13165
13166         * text2.C (openStuff): reintroduce this method (which had been
13167         nuked in NEW_INSETS frenzy).
13168
13169         * lyxfunc.C (Dispatch): when an action has not been handled, use
13170         its name in the error message, not its number.
13171
13172         * paragraph.C (inInset): change method name to begin with lowercase.
13173
13174         * undo_funcs.C:
13175         * text2.C: updates because of this.
13176
13177 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * ToolbarDefaults.C (add): add spaces in error message
13180
13181 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13184         (readLyXformat2): rename return_par to first_par, use lyxlex's
13185         pushToken and remove the manual push handling.
13186         (parseSingleLyXformat2Token): add another ert comp. variable:
13187         in_tabular, rename return_par to first_par. handle newlines better
13188
13189 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13192
13193 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * text2.C (getParFromID): removed
13196
13197         * buffer.C (getParFromID): new method moved form lyxtext.
13198         * BufferView2.C (insertErrors): adjust
13199         (setCursorFromRow): adjust
13200         * BufferView_pimpl.C (restorePosition): adjust
13201         * lyxfunc.C (Dispatch): adjust
13202         * undo_funcs.C (textUndo): adjust
13203         (textRedo): adjust
13204         (textHandleUndo): adjust
13205         (textHandleUndo): adjust
13206
13207 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * buffer.C: up' the LYX_FORMAT
13210
13211         * lyxfont.h: turn NO_LATEX on as default
13212
13213         * buffer.C (insertErtContents): new methods of tex style compability.
13214         (parseSingleLyXformat2Token): use it several places.
13215         * tabular.C (OldFormatRead): and here
13216
13217 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * text2.C: remove some commented code.
13220         reindent file.
13221
13222         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13223         * trans.C: changes because of the above.
13224
13225 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13226
13227         * text2.C (setCounter): Fix counters bug with bibliography layout.
13228
13229 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13230
13231         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13232         own member functions
13233         (simpleTeXSpecialChars): ditto
13234
13235 2001-07-06  Juergen Vigna  <jug@sad.it>
13236
13237         * a lot of files: changed the access to LyXText::status and the
13238         call of undo-functions.
13239
13240         * undo.[Ch]: added a inset_id to the undo informations.
13241
13242         * undo_funcs.[Ch]: added and moved here all undo functions.
13243
13244         * lyxtext.h: give the status enum a weight, made status_ a private
13245         variable and made accessor functions for it, removed the whole bunch
13246         of undo-functions as they are now in their own file, make some
13247         functions publically available. Added function ownerParagraph with
13248         int parameter.
13249
13250         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13251         made InInset() a const function, added getParFromID() function.
13252
13253         * buffer.[Ch]: added const version for inset_iterator functions,
13254         added getInsetFromID() function.
13255
13256         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13257         changed undo functions for new version.
13258
13259 2001-07-05  Juergen Vigna  <jug@sad.it>
13260
13261         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13262         unknow mechanism does not call the proper constructor but only this
13263         one also if I request the other!?
13264
13265 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13268
13269         * text2.C (LyXText): use initialization lists.
13270
13271         * lyxtext.h (Selection): initialize set_ and mark_
13272         (init): remove method
13273
13274 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13275
13276         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13277
13278 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * screen.[Ch]: change method names to begin with lowercase
13281
13282         * BufferView_pimpl.C (updateScrollbar): simplify further and
13283         hopefully make it a bit faster.
13284
13285 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13286
13287         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13288         calling directly xforms functions.
13289
13290         * Painter.C (Painter):
13291         * lyx_cb.C (MenuWrite):
13292         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13293         fl_display.
13294
13295         * lyx_gui.C: remove bogus guiruntime extern declaration.
13296
13297 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13300         in NEW_INSETS
13301         (redoDrawingOfParagraph): ditto
13302         (redoParagraphs): ditto
13303         (cutSelection): don't create a object for CutAndPaste use the
13304         static method directly
13305         (pasteSelection): ditto
13306
13307         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13308         LyXview (+ rename)
13309
13310 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13311
13312         * modifications to some other files because of this.
13313
13314         * Makefile.am (lyx_SOURCES): add XFormsView
13315
13316         * XFormsView.[Ch]: new files
13317
13318         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13319         the main window. Move the gui dependent stuff to XFormsView
13320
13321 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * tabular.C (GetCellInset): update cur_cell also in the row/col
13324         version of this function.
13325
13326         * lyxfunc.C: no need to include figure_form.h here.
13327
13328         * FontLoader.h:
13329         * lyxfunc.h:
13330         * lyxscreen.h:
13331         * text2.C:
13332         * lyxvc.C: no need to include forms.h here.
13333
13334 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13337
13338         * lyxfunc.C (Dispatch):
13339         * Spacing.C (set):
13340         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13341         constructor argument.
13342
13343 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * paragraph.C (Paragraph): dont't clear, and just set layout.
13346         (makeSameLayout): use params's copy contructor.
13347
13348         * ParagraphParameters.[Ch] (makeSame): delete method
13349
13350 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * Variables.[Ch]: fix indentation, rename set to isSet
13353
13354 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13355
13356         * lyxfunc.C (Dispatch): fix typo
13357
13358 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13361         upper_bound.
13362
13363         * bufferlist.C: include assert.h for emergencyWrite().
13364
13365 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13366
13367         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13368           give up at last (bug #425202) !
13369
13370 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * lyx_gui_misc.C:
13373         * sp_form.h:
13374         * sp_form.C:
13375         * spellchecker.h:
13376         * spellchecker.C: strip spellchecker options and bring up
13377           preferences tab instead
13378
13379 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13382         the istringstream constructor
13383
13384 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * paragraph.C (getLayout): fix return value
13387
13388         * paragraph.h: do not declare getLayout as inline.
13389
13390         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13391
13392 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * lyxcursor.h (operator<): new func
13395         (operator>): new func
13396         (operator>=): new func
13397         (operator<=): new func
13398
13399         * text.C (changeCase): use selection.start and selection.end
13400         (changeRegionCase): require from to be <= to. Require par to be a
13401         valid paragraph.
13402
13403         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13404
13405 2001-06-27  Juergen Vigna  <jug@sad.it>
13406
13407         * text.C (cursorLeftOneWord): changed to return the cursor and added
13408         overlay with BufferView * parameter which calls this one.
13409         (getWord): added
13410         (selectWord): use new getWord function.
13411         (changeCase): renamed from changeWordCase as and extended to work
13412         also on selections.
13413
13414         * lyxtext.h: added enum word_location
13415
13416         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13417         changeCase as this operates now also on selections.
13418
13419 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13420
13421         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13422
13423         * many files: send debug output to Debug::INFO instead of
13424         Debug::ANY.
13425
13426         * converter.C (View):
13427         (Convert):
13428         (Move): send debug output to Debug::FILES instead of console.
13429
13430 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13431
13432         * lyxfunc.C (getStatus): use func_status
13433
13434         * func_status.h: new header, describing the results of
13435         LyXFunc::getStatus;
13436
13437         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13438         LFUN_MATH_HALIGN.
13439
13440 2001-06-25  The LyX Project  <jug@sad.it>
13441
13442         * buffer.C (sgmlOpenTag):
13443         (sgmlCloseTag):
13444         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13445
13446 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * text2.C: remove some dead code
13449
13450         * tabular.C (GetCellInset): store the last cell checked (gotten)
13451
13452         * tabular.h: add the helper for the speedup
13453
13454         * lyxtext.h: remove some dead code
13455
13456 2001-06-26  The LyX Project  <Asger>
13457
13458         * paragraph.C: Change export to LaTeX of alignment to
13459         \begin{center} and family for better roundtrip work with reLyX.
13460
13461         * Tune the math drawing a bit.
13462
13463 2001-06-25  The LyX Project  <Asger>
13464
13465         * LColor.C (LColor): New color for math background. New color
13466         for buttons.
13467
13468 2001-06-25  The LyX Project  <jug@sad.it>
13469
13470         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13471
13472         * lyxfunc.C (Open):
13473         * bufferlist.C (newFile): do not restrict to files ending with
13474         .lyx
13475
13476         * BufferView_pimpl.C (MenuInsertLyXFile):
13477
13478 2001-06-24  The LyX Project  <jug@sad.it>
13479
13480         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13481         of compare_no_case
13482
13483 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * lyxtext.h: rename most methods to begin with a small char.
13486         Lots of changes because of this.
13487
13488         * paragraph.C (Paragraph): do not call fitToSize
13489         (erase): call Pimpl::erase
13490         (insertChar): call Pimpl::insertChar
13491         (insertInset): call Pipl::insertInset
13492         (breakParagraph): do not call fitToSize
13493         (breakParagraphConservative): do not call fitToSize
13494         (fitToSize): remove method
13495
13496         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13497
13498 2001-06-24  The LyX Project  <Asger>
13499
13500         * Fix Qt compilation^2
13501
13502 2001-06-24  The LyX Project  <jug@sad.it>
13503
13504         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13505         depthHook(getDepth()-1).
13506
13507         * paragraph.h:
13508         * ParagraphParameters.h:
13509         * ParameterStruct.h: change type of depth to unsigned int ==
13510         depth_type. Many adaptations to other files before of that.
13511
13512 2001-06-24  The LyX Project  <Asger>
13513
13514         * Fix Qt compilation.
13515
13516 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * paragraph.h: renamed several methods to begin with small letter.
13519         several changes to many parts of the code because of this.
13520
13521 2001-06-23  The LyX Project  <jug@sad.it>
13522
13523         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13524         rewritten to discard all double spaces when KeepEmpty is off
13525         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13526         to only handle newlines but not fiddle with spaces and friends.
13527
13528         * lyxfunc.C (MenuNew): when doing 'new from template', use
13529         template_path as default directory
13530
13531 2001-06-23  The LyX Project  <Asger>
13532
13533         * Clean-up of header file includes all over
13534         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13535
13536 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * paragraph.h: renamed from lyxparagraph.h
13539
13540 2001-06-23  Asger  <lyx@violet.home.sad.it>
13541
13542         * Buffer.h: Removed Buffer::resize
13543         * BufferList.h: Removed BufferList::resize
13544         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13545         the document lazily when we change the width, or the font settings.
13546
13547 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13550
13551 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * buffer.h: remove out of date comment
13554
13555 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * lyxscreen.h:
13558         * screen.C: fix "theoretical" GC leak
13559
13560 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * LaTeX.C (scanAuxFile):
13563         (deplog): remove trailing \r when reading stream (useful under
13564         win32)
13565
13566 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13567
13568         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13569         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13570         and BufferView::theLockingInset(Inset*), so should use them and not
13571         access bv_->text->the_locking_inset directly.
13572
13573         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13574
13575 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * Makefile.am:
13578         * tex-defs.h: remove old unused file
13579
13580 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * BufferView_pimpl.C: fix typo, remove minibuffer message
13583           when buffer has loaded
13584
13585 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13586
13587         * lyxfunc.C (Dispatch): use stringstream
13588         (MenuNew): use stringstream
13589         (Open): use stringstream
13590
13591         * importer.C (Import): use stringstream
13592
13593         * bufferview_funcs.C (CurrentState): use stringstream
13594
13595         * LaTeX.C (run): use stringstream
13596
13597         * BufferView_pimpl.C (savePosition): use stringstream
13598         (restorePosition): use stringstream
13599         (MenuInsertLyXFile): use stringstream
13600
13601 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * BufferView.C:
13604         * Bullet.C:
13605         * ColorHandler.C:
13606         * FontInfo.C:
13607         * FontLoader.C:
13608         * LColor.C:
13609         * LaTeXFeatures.C:
13610         * Painter.C:
13611         * gettext.C:
13612         * lyx_gui_misc.C:
13613         * lyxserver.C:
13614         * vspace.C: removed // -*- C++ -*- as first line.
13615
13616         * lyxfind.h:
13617         * version.h: added // -*- C++ -*- as first line.
13618
13619 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13622
13623         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13624         of string
13625
13626 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13629         of floats.
13630
13631 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13632
13633         * gettext.C: include LString.h even when --disable-nls is on.
13634
13635 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13636
13637         * converter.h (Get): changed argument type from int to
13638         FormatList::size_type to avoid unnecessary conversion.
13639
13640         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13641         before using it.
13642
13643 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13644
13645         * gettext.h: include LString.h even when --disable-nls is on.
13646
13647 2001-06-07  Juergen Vigna  <jug@sad.it>
13648
13649         * text.C (BreakAgain): subst spaces with tabs.
13650
13651         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13652         (resizeInsetsLyXText): set force on resizeLyXText.
13653
13654 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * gettext.h (gettext_init):
13657         (locale_init): use a real definition instead of a macro
13658
13659 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13660
13661         * Bufferview_pimpl.C:
13662         * LColor.h:
13663         * LColor.C: further lcolor tidies
13664
13665 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * BufferView_pimpl.C (updateScrollbar): simplify.
13668
13669         * BufferView2.C: don't include insets/insetinfo.h, change
13670         prototype for insertInset and call the Pimpl version. let
13671         updateInset call Pimpl version.
13672
13673         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13674         gotoInset to BufferView::Pimpl
13675
13676 2001-06-01  Juergen Vigna  <jug@sad.it>
13677
13678         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13679         inside a LockingInset (is the update needed at all?).
13680
13681 2001-05-31  Juergen Vigna  <jug@sad.it>
13682
13683         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13684         here not the old one otherwise how should we compare it afterwards
13685         if it's the same!
13686
13687 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * lyxfont.C:
13690         * tabular.C:
13691         * tabular-old.C:
13692         * FontInfo.C: bring C functions into global namespace when
13693         necessary
13694
13695 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * LString.h: make sure config.h has been loaded before LString.h.
13698
13699         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13700         (one for each char read by EatLine!).
13701
13702         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13703         variables.
13704
13705 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13706
13707         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13708         to the same as the par we break from
13709
13710 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13713
13714         * MenuBackend.C (expand): also create menu entries for wide
13715         versions of the floats.
13716
13717         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13718
13719         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13720
13721         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13722         frontends/Makefile.am
13723
13724         * text2.C: adjust
13725         * text.C: adjust
13726
13727
13728         * tabular.C (getTokenValue): add std::
13729
13730         * tabular-old.C (getTokenValue): add std::
13731         (getTokenValue): ditto
13732         (getTokenValue): ditto
13733
13734         * screen.C (ToggleSelection): adjust
13735
13736         * lyxtext.h: put selection cursors inside a Selection struct.
13737
13738         * lyxfunc.C (moveCursorUpdate): adjust
13739
13740         * lyxfont.C (latexWriteStartChanges): add std::
13741
13742         * lyxfind.C: adjust
13743
13744         * font.h: delete with(char const *, LyXFont const &)
13745
13746         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13747
13748         * FontInfo.C (getFontname): add std::
13749
13750         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13751         (workAreaButtonPress): adjust
13752         (tripleClick): adjust
13753         (update): adjust
13754         (moveCursorUpdate): adjust
13755         (Dispatch): adjust
13756
13757         * BufferView2.C (gotoInset): adjust
13758
13759 2001-05-30  Juergen Vigna  <jug@sad.it>
13760
13761         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13762         to check pspell I add this as default as I now have new pspell
13763         libraries and they seem to use this.
13764
13765 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * text2.C (CutSelection): make the cursor valid before the call to
13768         ClearSelection.
13769
13770 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13771
13772         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13773         relied on 0 terminated strings and other horrors. Bug found due to
13774         the new assert in lyxstring!
13775
13776         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13777         KP_ keys.
13778
13779 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13782         to latinkeys.bind.
13783
13784         * lyxfunc.C (processKeySym): change method of getting to the
13785         self-insert char.
13786
13787         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13788         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13789         * BufferView_pimpl.[Ch]: here as private methods.
13790
13791 2001-05-28  Juergen Vigna  <jug@sad.it>
13792
13793         * text.C (SetHeightOfRow): added the update() call again as it is
13794         needed to initialize inset dimensions!
13795
13796 2001-05-16  Juergen Vigna  <jug@sad.it>
13797
13798         * text2.C (SetCharFont): Add new function with BufferView * and
13799         bool toggleall parameters for setting insets internal fonts.
13800         (SetFont): Freeze the undo as we may change fonts in Insets and
13801         all this change should be inside only one Undo!
13802
13803         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13804         setting font's in insets as for them we have the SetFont function!
13805
13806 2001-05-15  Juergen Vigna  <jug@sad.it>
13807
13808         * text2.C (ClearSelection): to be sure we REALLY don't have any
13809         selection anymore!
13810
13811         * tabular.C (TeXCellPreamble): fixed the left border problem for
13812         multicolumn cells.
13813
13814 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13817         dependancy file
13818
13819 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13822         LFUN_BREAKPARAGRAPH.
13823
13824         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13825         help test to "internal only", similar for LFUN_INSERT_URL
13826
13827         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13828         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13829         auto_region_delete and deadkeys.
13830
13831 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * LColor.h:
13834         * LColor.C: remove some dead entries, tidy a little
13835
13836 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13839         commented code.
13840         (Dispatch): implement LFUN_ESCAPE
13841
13842         * commandtags.h: add LFUN_ESCAPE
13843
13844         * LyXAction.C (init): add entry for LFUN_ESCAPE
13845
13846         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13847         Remove commented code.
13848         (insertNote): moved here
13849         (open_new_inset): moved here
13850
13851         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13852         BufferView_pimpl
13853
13854 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * kbmap.C (findbinding): clean it up and make it work correctly.
13857
13858         * lyx_main.C (init): do not pass argc and argv as parameters
13859
13860 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13861
13862         * buffer.C: fix path for OS/2 & Win32
13863
13864         * lyx_gui.C:
13865         * lyx_main:
13866         * lyx_main.C: Added os:: class.
13867
13868         * os2_defines.h: update
13869
13870 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13871
13872         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13873         better by trying again with reduced state.
13874
13875 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13876
13877         * lyxrc.C (read): print error about invalid key sequence only when
13878         debugging (because not all latinX keysyms are known to some X
13879         servers)
13880
13881         * kbsequence.C (getiso): add a few std:: qualifiers
13882         (getiso): comment out extra return statement.
13883
13884 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13887         handling.
13888         (Dispatch): enhance the accent inset a bit. (not perfect)
13889
13890 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13891
13892         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13893
13894 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * bufferlist.C (emergencyWrite): fix assert() call
13897
13898 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13899
13900         * text.C (InsertChar): Added trivial patch to only send the "you
13901         can not do multiple spaces this way" message once during a
13902         session.
13903
13904 2001-05-08  Baruch Even  <baruch@lyx.org>
13905
13906         * Makefile.am: Changed order of libraries to get LyX to link properly
13907         with the gnome frontend.
13908
13909 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * LaTeXFeatures.h: add a std:: qualifier
13912
13913 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * paragraph.C (String): use stringstream
13916
13917 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * paragraph.C (writeFile): remove footflag arg
13920
13921         * buffer.C (makeLaTeXFile): use stringstream
13922         (latexParagraphs): remove footnot gurba
13923
13924         * LaTeXFeatures.C (getPackages): use stringstream
13925         (getMacros): likewise
13926         (getTClassPreamble): likewise
13927         (getFloatDefinitions): new method
13928
13929         * paragraph.C (writeFile): reindent
13930         (Erase): reindent
13931
13932         * WorkArea.h: revert the xpos + etc changes.
13933
13934         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13935
13936         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13937
13938         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13939         (pasteSelection): likewise
13940         * text2.C (CreateUndo): likewise
13941
13942 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13943
13944         * minibuffer.C (peek_event): temporarily reduce the functionality
13945         of the minibuffer (to allow args on lfuns)
13946
13947         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13948         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13949
13950         * buffer.C (readInset): add compability reading of old float
13951         lists, add reading of new style float list.
13952         (readInset): avoid reevaluation of inscmd.getCmdName()
13953         (getLists): reindent
13954
13955         * MenuBackend.C (MenuItem): implement parsing of
13956         md_floatlistinsert and md_floatinsert.
13957         (expand::LastFiles): move initalizaton of iterators out of loop,
13958         avoid reevaluation.
13959         (expand::Documents): introduce typdedef vector<string> Strings,
13960         and use it.
13961         (expand::ExportFormats): introduce typedef vector<Format const *>
13962         Formats, and use it.
13963         (expand): implement FloatListInsert and FloatInsert.
13964
13965         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13966         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13967         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13968
13969         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13970         handling.
13971         (Dispatch::LFUN_FLOAT_LIST): implement
13972
13973 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13974
13975         * LaTeX.C (run): Fix problem with --export code.
13976
13977 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * BufferView.[Ch] (workarea): removed.
13980         (getClipboard) new method; wrapper for workarea()->getClipboard()
13981
13982         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13983         bug.
13984
13985         * WorkArea.h (width, height, xpos, ypos): These methods all
13986         returned the dimensions of the work_area sub-area of WorkArea,
13987         resulting in a position error if the WorkArea were resized. Now
13988         return the dimensions of the entire WorkArea.
13989
13990         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13991
13992 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * LaTeX.C (deplog): correct the syntax of regex reg1
13995
13996 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13997
13998         * undo.C: remove !NEW_INSETS cruft
13999
14000 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * text2.C: remove !NEW_INSETS cruft
14003
14004         * text.C: remove !NEW_INSETS cruft
14005
14006         * tabular.C: remove !NEW_INSETS cruft
14007
14008         * spellchecker.C: remove !NEW_INSETS cruft
14009
14010         * lyxtext.h: remove !NEW_INSETS cruft
14011
14012         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14013
14014         * lyxfunc.C: remove !NEW_INSETS cruft
14015
14016         * lyxfind.C: remove !NEW_INSETS cruft
14017
14018         * lyx_cb.C: remove !NEW_INSETS cruft
14019
14020         * figureForm.C: remove  !NEW_INSETS cruft
14021
14022         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14023
14024         * buffer.[Ch]: remove !NEW_INSETS cruft
14025
14026         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14027
14028         * CutAndPaste.C: remove !NEW_INSETS cruft
14029
14030         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14031
14032         * BufferView2.C: remove !NEW_INSETS cruft
14033
14034         * BufferView.h: remove !NEW_INSETS cruft
14035
14036 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * Lsstream.h: include LString.h before the sstream headers to
14039         fix problem with gcc 2.95.3 and lyxstring
14040
14041 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14042
14043         * lyx_main.C: add using directives when needed for C functions
14044         declared in std:: namespace.
14045
14046 2001-04-27  Juergen Vigna  <jug@sad.it>
14047
14048         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14049         (SetHeightOfRow): comment out the update call should not be needed!
14050
14051 2001-04-13  Juergen Vigna  <jug@sad.it>
14052
14053         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14054         (LyXTabular): tried to minimize operator= operations (and realized
14055         hopfully Lars wish).
14056
14057 2001-04-27  Juergen Vigna  <jug@sad.it>
14058
14059         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14060
14061 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14064
14065         * buffer.C (readInset): hack to make listof algorithm work
14066
14067         * BufferView_pimpl.C: hack to make listof algorithm work
14068
14069 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14070
14071         * LyXAction.C: removed all !NEW_INSETS cruft
14072         (init): moved lfun_item in method
14073
14074         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14075
14076 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14077
14078         * BufferView2.C (theLockingInset): white space.
14079
14080 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * minibuffer.C: include <iostream>
14083
14084         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14085
14086         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14087
14088         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14089
14090         * text.[Ch] (TransposeChars): new method
14091
14092 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14093
14094         * call message directly through LyXView instead of through LyXFunc
14095         * BufferView2.C: adjust
14096         * BufferView_pimpl.C: adjust
14097         * FontLoader.C: adjust
14098         * buffer.C: adjust
14099         * bufferview_funcs.C: adjust
14100         * converter.C: adjust
14101         * figureForm.C: adjust
14102         * importer.C: adjust
14103         * lyx_cb.C: adjust
14104         * lyx_gui_misc.C: adjust
14105         * lyxfunc.C: adjust
14106         * lyxvc.C: adjust
14107         * text2.C: adjust
14108         + more files in subdirs
14109
14110         * lyxparagraph.h (size): move up int file
14111         (GetLayout): ditto
14112
14113         * adjust all uses of Assert to lyx::Assert.
14114
14115         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14116         lyxfunctional in namespace lyx
14117         * layout.C (hasLayout): ditto
14118         (GetLayout): ditto
14119         (GetLayout): ditto
14120         (delete_layout): ditto
14121         (NumberOfClass): ditto
14122         * converter.C (GetFormat): ditto
14123         (GetNumber): ditto
14124         (Add): ditto
14125         (Delete): ditto
14126         (SetViewer): ditto
14127         * bufferlist.C (getFileNames): ditto
14128         (emergencyWriteAll): ditto
14129         (exists): ditto
14130         (getBuffer): ditto
14131         * MenuBackend.C (hasSubmenu): ditto
14132         (hasMenu): ditto
14133         (getMenu): ditto
14134         * BufferView_pimpl.C (getInsetByCode): ditto
14135
14136 2001-04-18  Juergen Vigna  <jug@sad.it>
14137
14138         * vspace.C (asLatexString): fixed the 100% problem.
14139
14140 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14141
14142         * lyxfunc.C (Dispatch):
14143         * minibuffer.C:
14144         * minibuffer.h: add a few std:: qualifiers
14145
14146 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * minibuffer.[Ch]: reimplement so that commands is initiated and
14149         run from lyxfunc, simplified som handling, and made the completion
14150         and history code for complete. wip.
14151
14152         * lyxfunc.C (processKeySym): call message
14153         (miniDispatch): new temporary method
14154         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14155         (LFUN_MESSAGE): implement
14156         (LFUN_MESSAGE_PUSH): implement
14157         (LFUN_MESSAGE_POP): implement
14158         (initMiniBuffer): the initial/defualt minibuffer message.
14159
14160         * lyxfont.[Ch]: inline some more getters
14161
14162         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14163
14164         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14165
14166         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14167         (AutoSave): use LFUN_MESSAGE
14168         (Reconfigure): ditto
14169
14170         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14171
14172         * figureForm.C: use LFUN_MESSAGE
14173
14174         * converter.C (runLaTeX): use LFUN_MESSAGE
14175
14176         * bufferview_funcs.C: use LFUN_MESSAGE
14177         (Melt): ditto
14178         (changeDepth): ditto
14179
14180         * bufferparams.h: use boost::
14181
14182         * bufferlist.h: inherit privately from noncopyable
14183
14184         * bufferlist.C (loadLyXFile): remove some commented code.
14185
14186         * buffer.C (runChktex): use LFUN_MESSAGE
14187
14188         * ShareContainer.h: inherit privately from noncopyable
14189
14190         * ParagraphParameters.[hC] (depth): inline it.
14191
14192         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14193         methods.
14194         (message): new method
14195         (messagePush): ditto
14196         (messagePop): ditto
14197         (show): init minibuffer
14198         (showState): direct call
14199
14200         * LaTeX.[Ch]: inherit privately from noncopyable
14201         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14202         instead of WriteStatus.
14203
14204         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14205
14206         * BufferView_pimpl.C (buffer): don't init minibuffer
14207         (workAreaButtonPress): use LFUN_MESSAGE
14208         (workAreaButtonRelease): ditto
14209         (savePosition): ditto
14210         (restorePosition): ditto
14211         (MenuInsertLyXFile): ditto
14212         (workAreaExpose): don't init minibuffer
14213         (update): remove commented code, simplify
14214
14215         * BufferView2.C (openStuff): use LFUN_MESSAGE
14216         (toggleFloat): ditto
14217         (menuUndo): ditto
14218         (menuRedo): ditto
14219         (copyEnvironment): ditto
14220         (pasteEnvironment): ditto
14221         (copy): ditto
14222         (cut): ditto
14223         (paste): ditto
14224         (gotoInset): ditto
14225         (updateInset): remove some commented code
14226
14227         * lastfiles.h: inherit privately from noncopyable
14228         * layout.h: ditto
14229         * lyx_gui.h: ditto
14230         * lyx_main.h: ditto
14231         * lyxlex.h: ditto
14232         * lyxlex_pimpl.h: ditto
14233
14234         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14235         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14236         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14237
14238         * LyXAction.h: inherit privately from noncopyable, add methods
14239         func_begin, func_end, returning iterators to the func map.
14240
14241         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14242         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14243         (func_begin): new method
14244         (func_end): new method
14245
14246         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14247         and not)
14248         (copySelection): ditto
14249         (pasteSelection): ditto
14250
14251         * BufferView.C: whitespace change
14252         * BufferView.h: inherit privately from noncopyable
14253
14254 2001-04-16  Allan Rae  <rae@lyx.org>
14255
14256         * tabular-old.C (l_getline):
14257         * spellchecker.C (sc_check_word):
14258         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14259         an unrecognised preprocessor directive.  So ensure they're wrapped.
14260
14261 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * src/exporter.C (Export): Give an error message when path to file
14264         contains spaces.
14265
14266 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * LaTeX.C (deplog): Always check that foundfile exists.
14269
14270 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * lyx_main.h:
14273         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14274
14275 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * tabular.[Ch] (getLabelList): implement new method
14278
14279         * minibuffer.h: comment ouf setTiimer
14280
14281         * minibuffer.C (ExecutingCB): constify res
14282         (peek_event): constify s
14283         (Set): constify ntext
14284         (Init): constify nicename
14285
14286         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14287
14288         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14289         (savePosition): use two params to Minibuffer::Set
14290         (restorePosition): ditto
14291
14292 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * lyx_main.C: include language.h
14295
14296         * Makefile.am (lyx_main.o): add language.h
14297
14298 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * exporter.C:
14301         * paragraph.C:
14302         * screen.C:
14303         * tabular.C:
14304         * CutAndPaste.C: include gettext.h
14305
14306         * lyxfont.h: remove old hack with ON and OFF.
14307
14308         * lyxparagraph.h:
14309         * lyxfont.h: do not include language.h...
14310
14311         * BufferView2.C:
14312         * LaTeXFeatures.C:
14313         * Painter.C:
14314         * bufferview_funcs.C:
14315         * font.C:
14316         * lyxfont.C:
14317         * text.C:
14318         * text2.C:
14319         * trans_mgr.C:
14320         * paragraph.C: ... but do it here instead
14321
14322 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14325
14326         * tabular.C: small reformat
14327
14328         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14329         NEW_INSETS version
14330         (GetChar): ditto
14331         (BreakParagraph): ditto
14332         (SetOnlyLayout): ditto
14333         (SetLayout): ditto
14334
14335         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14336         with one arg less.
14337
14338         * lastfiles.C: removed most using decl, add std:: where needed
14339
14340         * buffer.C: ws changes
14341
14342         * MenuBackend.C (class compare_format): put into anon namespace
14343         (expand): constify label, names, action, action2
14344         (expand):
14345
14346         * text.C (SingleWidth): constify font
14347         (IsBoundary): constify rtl2
14348         (GetVisibleRow): constify ww
14349
14350         * LaTeX.C (deplog): constify logfile
14351
14352         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14353         start_x, end_x
14354         (workAreaExpose): constify widthChange, heightChange
14355
14356         * lyxrow.C (par): moved
14357         (height): moved
14358         (next): moved
14359         * lyxrow.h: as inlines here
14360
14361         * lyxfont.h (shape): moved from lyxfont.C
14362         (emph): moved from lyxfont.C
14363
14364         * lyxfont.C (LyXFont): use initialization list for all
14365         constructors
14366         (shape): move to lyxfont.h as inline
14367         (emph): move to lyxfont.h as inline
14368
14369
14370 2001-04-04  Juergen Vigna  <jug@sad.it>
14371
14372         * vspace.C: had to include stdio.h for use of sscanf
14373
14374 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14375
14376         * BufferView.h:
14377         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14378         independent of xforms.
14379
14380 2001-04-02  Juergen Vigna  <jug@sad.it>
14381
14382         * spellchecker.C: fixed namespace placing!
14383
14384 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14385
14386         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14387         the LyXParagraph * is 0.
14388
14389 2001-03-29  Juergen Vigna  <jug@sad.it>
14390
14391         * vspace.C: added support for %, c%, p%, l%.
14392         (stringFromUnit): added helper function.
14393         (asLatexString): changed to give right results for the %-values.
14394
14395         * buffer.C: convert the widthp in a width%.
14396
14397 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14400         figureForm.[Ch].
14401
14402         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14403         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14404
14405         * lyx_cb.[Ch]: see above.
14406
14407         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14408         form1.[Ch].
14409
14410         * form1.[Ch]:
14411         * lyx.[Ch]: replaced by figure_form.[Ch].
14412
14413         * lyx_gui.C:
14414         * lyx_gui_misc.C:
14415         * lyxfunc.C: changed headers associated with above changes.
14416
14417 2001-03-27  Juergen Vigna  <jug@sad.it>
14418
14419         * BufferView_pimpl.C: set the temporary cursor right!
14420
14421 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14424
14425 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * LString.h: removed "using std::getline"!
14428
14429         * BufferView_pimpl.C (Dispatch): changes due to changes in
14430         InsetInclude::Params.
14431
14432         * buffer.C (tag_name): removed redundant break statements as they were
14433         producing lots of warnings with my compiler.
14434
14435 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14436
14437         * LString.h: add "using std::getline" when using the real <string>.
14438
14439 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14440
14441         * buffer.C: removed bitset usage.
14442         PAR_TAG moved to an anonymous name space.
14443         (tag_name): new funtion, also in the anonymous namespace.
14444         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14445         (makeDocBookFile): clean code. Completed transition from string arrays
14446         to string vectors.
14447         (SimpleDocBookOnePar): code clean.
14448
14449 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14450
14451         * tabular.C: add some comments.
14452
14453 2001-03-22  Juergen Vigna  <jug@sad.it>
14454
14455         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14456         compatibility read a bit and fixed bug with minipage in different
14457         depth.
14458
14459 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14460
14461         * buffer.C (pop_tag): removed.
14462         (push_tag): removed.
14463         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14464         array replaced with vector. Added support for CDATA sections.
14465         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14466         at any nest level.
14467         (makeDocBookFile): XML conformant declaration of CDATA section,
14468         fixed bug related to <emphasis> in the first paragraph char.
14469         (sgmlOpenTag): exclude empty tags.
14470         (sgmlCloseTag): ditto.
14471
14472         * buffer.h (pop_tag): removed.
14473         (push_tag): removed.
14474
14475 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * language.h (Languages): added size_type and size().
14478
14479 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14480
14481         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14482         response on compability reading of minipages. One probliem is that
14483         the old usage of minipages was «flertydig»
14484
14485         * several files here and in subdirs: don't use static at file
14486         scope use anon namespaces instead.
14487
14488 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14489
14490         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14491         LaTeX output. This is necessary for Literate document
14492         processing.
14493
14494 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14495
14496         * buffer.C: insert hfill when needed.
14497
14498         * tabular.C (l_getline): use string::erase, small whitespace change.
14499
14500         * BufferView_pimpl.C: try the anon namespace.
14501         * WorkArea.C: ditto
14502
14503 2001-03-16  Juergen Vigna  <jug@sad.it>
14504
14505         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14506         otherwise it won't open options-dialogs.
14507
14508         * buffer.C: honor pextraWidth(p) on converting minipages.
14509
14510         * tabular.C (l_getline): changed the functions to strip trailing \r.
14511
14512 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * BufferView_pimpl.C:
14515         * minibuffer..C: added "using SigC::slot" declaration.
14516
14517 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14518
14519         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14520
14521         * text2.C: ditto
14522
14523         * text.C: ditto
14524
14525         * paragraph.C: ditto
14526
14527         * lyxtext.h: NO_PEXTRA
14528
14529         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14530
14531         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14532         * ParameterStruct.h: ditto
14533         * ParagraphParameters.h: ditto
14534         * lyxparagraph.h: ditto
14535
14536 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14537
14538         * buffer.C: add compability for minipage alignment.
14539         (latexParagraphs): remove unwanted pextra check.
14540
14541         * several files: remove CXX_WORKING_NAMESPACES
14542
14543         * buffer.C (pop_tag): tie is in namespace boost
14544
14545         * BufferView.h: noncopyable is in namespace boost
14546         * lyxlex.h: ditto
14547         * lyx_main.h: ditto
14548         * lyx_gui.h: ditto
14549         * layout.h: ditto
14550         * lastfiles.h: ditto
14551         * bufferlist.h: ditto
14552         * ShareContainer.h: ditto
14553         * LyXView.h: ditto
14554         * LyXAction.h: ditto
14555         * LaTeX.h: ditto
14556
14557 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * Merging changes from BRANCH_MVC back into HEAD.
14560
14561         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14562
14563 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * BufferView_pimpl.C: change from intl.C
14566
14567         * combox.h:
14568         * combox.C:
14569         * Makefile.am: move combox.*
14570
14571         * form1.h:
14572         * form1.C:
14573         * lyx_gui.C:
14574         * intl.h:
14575         * intl.C: remove dialog (covered by prefs)
14576
14577 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14578
14579         * lyxfunc.C (Dispatch): removed redundant break statement.
14580
14581 2001-03-14  Juergen Vigna  <jug@sad.it>
14582
14583         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14584
14585 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14586
14587         * buffer.C: add hack to fix compability reading of minipages.
14588
14589 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14590
14591         * buffer.C (getLists): Cleanup.
14592
14593 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * lyxfont.C (update): don't honor toggleall on font size.
14596
14597 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14598
14599         * bmtable.c:
14600         * bmtable.h:
14601         * Makefile.am: moved to frontends/xforms/
14602
14603         * lyx_gui_misc.C:
14604         * lyxfunc.C:
14605         * BufferView_pimpl.C: changes for moved mathpanel
14606
14607 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * gettext.h: fix gettext_init() in --disable-nls
14610
14611 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14614
14615 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * lyx.C:
14618         * lyx.h: strip external form
14619
14620 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * BufferView_pimpl.C: add comment, destroySplash()
14623
14624 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * BufferView_pimpl.C:
14627         * LyXAction.C:
14628         * buffer.C:
14629         * commandtags.h:
14630         * lyxfunc.C: use re-worked insetinclude
14631
14632 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14633
14634         * buffer.C: add using std::stringstream.
14635
14636         * lyx_cb.C: readd using std::ios.
14637
14638         * buffer.C: add using std::map.
14639
14640         * BufferView_pimpl.C: add using std::vector.
14641
14642         * ShareContainer.h: add std:: to swap.
14643
14644         * buffer.h: add some typedefs
14645         * buffer.C (getLists): use them
14646         (getLists): renamed from getTocList.
14647         add a counter for the different float types and use it in the
14648         generated string.
14649         (getLists): use the same counter for the NEW_INSETS and the "non"
14650         NEW_INSETS
14651
14652         * lyx_cb.h: remove unused items, includes, using etc.
14653
14654         * ShareContainer.h: remove some commented code, add more comments
14655         and "documentation".
14656
14657 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14658
14659         * buffer.C (getTocList): make the list also when NEW_INSETS is
14660         defined.
14661
14662         * buffer.h: remove TocType
14663
14664         * buffer.C (getTocList): change to return a map<string,
14665         vector<TocItem> >, implement for dynamic number of list.
14666
14667         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14668         * text2.C (PasteSelection): adjust
14669         * CutAndPaste.C (pasteSelection): adjust
14670
14671         * FloatList.C (FloatList): update from the new_insets branch.
14672         * Floating.[Ch]: ditto
14673         * LaTeXFeatures.C: ditto
14674         * buffer.C: ditto
14675         * lyxlex_pimpl.C: ditto
14676
14677         * paragraph.C (Last): remove when NEW_INSETS is defined.
14678
14679         * other file: changes because of the above.
14680
14681 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14682
14683         * lyxparagraph.h: rename next to next_, previous to previous_,
14684         make them private for NEW_INSETS. Rename Next() to next(),
14685         Previous() to previous().
14686
14687         * other files: changes because of the above.
14688
14689 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * BufferView.h:
14692         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14693         problem.
14694
14695 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * main.C (main): pass lyx_localedir to gettext_init().
14698
14699         * gettext.h: remove locale_init and gettext_init macros
14700
14701         * gettext.C (locale_init): new function
14702         (gettext_init): new function
14703
14704         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14705         setlocale().
14706
14707 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14708
14709         * Moved credits to frontends:
14710         * credits.[Ch]: removed
14711         * credits_form.[Ch]: removed
14712         * lyx_gui_misc.C: remove credits stuff
14713         * Makefile.am:
14714
14715 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14716
14717         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14718
14719         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14720         unneeded destructor.
14721
14722         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14723         a standalone pointer again.
14724
14725         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14726
14727 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * Makefile.am:
14730         * filedlg.h:
14731         * filedlg.C:
14732         * LyXAction.C:
14733         * ToolbarDefaults.C:
14734         * bufferlist.C:
14735         * commandtags.h:
14736         * form1.C:
14737         * form1.h:
14738         * lyx_cb.C:
14739         * lyx_cb.h:
14740         * lyxfunc.h:
14741         * lyxfunc.C:
14742         * BufferView_pimpl.C: use new file dialog in GUII
14743
14744         * lyx_cb.h:
14745         * lyx_cb.C: remove LayoutsCB to Toolbar
14746
14747 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * ShareContainer.h (get): add std:: qualifier
14750
14751 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * ShareContainer.h: define a proper ShareContainer::value_type
14754         type (and use typename to please compaq cxx)
14755
14756 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14757
14758         * lyxparagraph.h: move serveral local vars to
14759         ParameterStruct/ParagraphParameters., use ShareContainer in
14760         FontTable., make vars in FontTable private and add getter and
14761         setter.
14762
14763         * paragraph.C: changes because of the above.
14764
14765         * lyxfont.h: remove copy constructor and copy assignment. (the
14766         default ones is ok), move number inside FontBits. move inlines to
14767         lyxfont.C
14768
14769         * lyxfont.C: add number to initializaton of statics, move several
14770         inlines here. constify several local vars. some whitespace
14771         cleanup. Dont hide outerscope variables.
14772
14773         * Spacing.h: add two new constructors to match the set methods.
14774
14775         * ShareContainer.h: new file, will perhaps be moved to support
14776
14777         * ParameterStruct.h: new file
14778
14779         * ParagraphParameters.h: new file
14780
14781         * ParagraphParameters.C: new file
14782
14783         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14784         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14785
14786         * BufferView_pimpl.C: ParagraphParameter changes.
14787         * buffer.C: Likewise.
14788         * bufferview_funcs.C: Likewise.
14789         * text.C: Likewise.
14790         * text2.C: Likewise.
14791
14792 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * lyxfind.C (LyXReplace): do not redefine default argument in
14795         implementation.
14796         (IsStringInText): ditto
14797         (SearchForward): ditto
14798         (SearchBackward): ditto
14799
14800 2001-03-06  Juergen Vigna  <jug@sad.it>
14801
14802         * lyxfind.C (IsStringInText): put parentes around expressions.
14803
14804 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14805
14806         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14807
14808 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14811
14812         * stl_string_fwd.h: add comment
14813
14814         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14815
14816         * tabular.h:
14817         * tabular.C: remove unused DocBook methods
14818
14819         * intl.C:
14820         * language.C:
14821         * paragraph.C:
14822         * buffer.C:
14823         killed DO_USE_DEFAULT_LANGUAGE
14824
14825 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * lyx_gui.C: do not include language.h.
14828
14829         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14830         arguments in function implementation.
14831
14832 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14833
14834         * BufferView_pimpl.C: add <ctime>
14835
14836 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14837
14838         * BufferView_pimpl.C: add using std::find_if
14839
14840 2001-02-27  José Matos  <jamatos@fep.up.pt>
14841
14842         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14843         by OnlyPath.
14844
14845 2001-02-11  José Matos  <jamatos@fep.up.pt>
14846
14847         * buffer.C (makeDocBookFile): command styles now have a parameter as
14848         "title" by default.
14849
14850 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14851
14852         * layout_forms.[Ch]: removed
14853         * lyx_cb.[Ch]: out character
14854         * lyx_gui.C: out character
14855         * lyx_gui_misc.C: out character
14856         * bufferview_funcs.C: : out character,
14857         added toggleall as parameter in ToggleAndShow
14858
14859 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14860
14861         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14862
14863         * text2.C (SetCurrentFont): Disable number property at boundary.
14864
14865 2001-02-26  Juergen Vigna  <jug@sad.it>
14866
14867         * lyxfunc.C (getStatus): added a string argument override function so
14868         that this is correctly called from LyXFunc::Dispatch if it contains a
14869         do_not_use_argument which is used!
14870         (Dispatch): added check for "custom" export and call appropriate func.
14871
14872 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14873
14874         * lyxrc.C: Add language_command_local, language_use_babel and
14875         language_global_options.
14876
14877         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14878
14879         * buffer.C (makeLaTeXFile): Use language_use_babel and
14880         language_global_options.
14881
14882 2001-02-23  Juergen Vigna  <jug@sad.it>
14883
14884         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14885         which works with LyXText and putted it inside BufferView. Here now we
14886         only call for that part the BufferView::Dispatch() function.
14887
14888         * BufferView.C (Dispatch): added.
14889
14890         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14891         functions which needs to use a LyXText over from LyXFunc.
14892         (MenuInsertLyXFile): added
14893         (getInsetByCode): added
14894         (moveCursorUpdate): added
14895         (static TEXT): added
14896
14897 2001-02-22  Juergen Vigna  <jug@sad.it>
14898
14899         * BufferView_pimpl.C (update): call a status update to see if LyXText
14900         needs it.
14901
14902 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14903
14904         * vc-backend.C (revert): implement for CVS
14905         (getLog): implement for CVS
14906
14907 2001-02-20  Juergen Vigna  <jug@sad.it>
14908
14909         * text2.C (ClearSelection): added BufferView param for inset_owner call
14910
14911         * lyxfunc.C (TEXT): added this function and use it instead of
14912         directly owner->view()-text of getLyXText().
14913
14914 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14915
14916         * src/layout_forms.C: out preamble
14917         * src/layout_forms.h: out preamble
14918         * src/lyx_cb.C: out preamble
14919         * src/lyx_cb.h: out preamble
14920         * src/lyx_gui.C: out preamble
14921         * src/lyx_gui_misc.C: out preamble
14922         * src/lyxfunc.C: connect with guii preamble
14923
14924 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14925
14926         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14927
14928 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14931         whether to run bibtex.
14932
14933 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14934
14935         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14936
14937 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14938
14939         * Makefile.am (lyx_SOURCES): removed bibforms.h
14940
14941         * vspace.h: doxygen
14942
14943         * text.C (GetVisibleRow): make several local vars const
14944
14945         * tabular.C: small cleanup.
14946
14947         * lyxserver.C (callback): use compare instead of strncmp
14948
14949         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14950         inlines to after class or to paragraph.C
14951
14952         * lyxfont.h: remove friend operator!=
14953
14954         * converter.h: move friend bool operator< to non friend and after
14955         class def.
14956
14957         * combox.h: small cleanup
14958
14959         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14960         to inlines after class def.
14961
14962         * buffer.C (pop_tag): use string operations instead of strcmp
14963
14964         * bmtable.c: doxygen, small cleanup
14965
14966         * LaTeX.h: remove friend operator==
14967
14968 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14969
14970         * screen.C:
14971         * lyxrc.[Ch]:
14972         * lyxfunc.C:
14973         * lyxfont.[Ch]:
14974         * lyx_cb.C:
14975         * intl.[Ch]:
14976         * commandtags.h:
14977         * buffer.C:
14978         * WorkArea.[Ch]:
14979         * LyXAction.C:
14980         * BufferView_pimpl.C:
14981         * BufferView.[Ch]: remove cruft
14982
14983 2001-02-14  Juergen Vigna  <jug@sad.it>
14984
14985         * lyxfunc.C: removed #if 0 unused code
14986
14987         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14988
14989         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14990
14991         * text2.C (SetSelection): added a BufferView * parameter
14992
14993 2001-02-13  Juergen Vigna  <jug@sad.it>
14994
14995         * lyxfunc.C (Dispatch): fixed protected blank problem.
14996         * BufferView2.C (protectedBlank): added LyxText * parameter.
14997
14998         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14999         (AppendColumn): same as above for column_info.
15000
15001         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15002         (moveCursorUpdate): use a LyXText param for support of InsetText.
15003
15004         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15005         (tripleClick): ditto
15006
15007         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15008
15009         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15010
15011         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15012
15013         * text2.C (SetSelection): set correct update status if inset_owner
15014         (ToggleFree): ditto
15015
15016 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15017
15018         * tabular.C: remove some commented code.
15019
15020 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * BufferView_pimpl.C: call hideSplash()
15023
15024         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15025
15026         * include_form.h:
15027         * bibforms.h: remove
15028
15029         * lyxfunc.C:
15030         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15031           add LFUN_CHILD_CREATE
15032
15033         * counters.h: fix tiny typo
15034
15035         * lyx_cb.C:
15036         * lyx.h:
15037         * lyx_gui.C:
15038         * lyx.C: move splash to frontends/xforms/
15039
15040         * lyx_gui_misc.C: move Include and Bibform to frontends
15041
15042         * lyxvc.h: clarify comment
15043
15044         * vspace.C: tiny housekeeping
15045
15046 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15047
15048         * text.C (PrepareToPrint): RTL Fix.
15049
15050         * paragraph.C (GetUChar): New method.
15051         (String):  Use GetUChar.
15052
15053         * buffer.C (asciiParagraph): Use GetUChar.
15054
15055 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15056
15057         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15058
15059 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * buffer.h:
15062         * buffer.C: rename to getLogName(), handle
15063           build log / latex log nicely
15064
15065 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15066
15067         * MenuBackend.C:
15068         * MenuBackend.h: remove support for reference menuitem type.
15069
15070 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * BufferView_pimpl.C: housekeeping
15073         * BufferView_pimpl.h:
15074         * LyXView.h:
15075         * Makefile.am:
15076         * Timeout.C:
15077         * Timeout.h:
15078         * minibuffer.h: move Timeout GUI-I
15079
15080 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15081
15082         * lyxrc.C (read): Update converters data-structures.
15083
15084 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15085
15086         * LaTeX.h (operator!=): add operator != for Aux_Info
15087
15088 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15091
15092         * LaTeXLog.C: deleted, useful code moved to Buffer
15093
15094         * buffer.h:
15095         * buffer.C: new function getLatexLogName()
15096
15097         * lyx_gui_misc.C:
15098         * lyx_gui.C:
15099         * lyxvc.C:
15100         * lyxvc.h:
15101         * lyxfunc.C: use frontends for LaTeX and VC logs
15102
15103 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15104
15105         * LaTeX.h: yet another std:: that Allan forgot.
15106
15107         * Variables.C (set): renamed from isset(), because this clashes
15108         with some HP-UX macros (grr).
15109
15110 2001-02-06  Allan Rae  <rae@lyx.org>
15111
15112         * LaTeX.h: Another bug fix.  Missing std:: this time.
15113
15114 2001-02-04  Allan Rae  <rae@lyx.org>
15115
15116         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15117         floats problem. I've left it commented out because it's not quite
15118         correct.  It should also test that the current object is a table or
15119         figure inset.  But I haven't gotten around to figuring out how to do
15120         that.  I *think* it'll be something like: "table" == inset.type()
15121
15122         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15123         bool.
15124
15125 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15128         all the citation/databases/styles in the auxilary file.
15129         (run): Rerun latex if there was a babel language error.
15130
15131 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * text.C (Backspace): Preserve the font when changing newline char
15134         with a space.
15135         (BreakParagraph): If the cursor is before a space, delete the space.
15136
15137         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15138
15139 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15142         new argument (code).
15143         (ChangeCitationsIfUnique): New method.
15144
15145         * paragraph.C (GetPositionOfInset): Handle bibkey.
15146
15147 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * BufferView_pimpl.h: change type of Position::par_pos to
15150         LyXParagraph::size_type.
15151
15152 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15153
15154         * BufferView_pimpl.C (savePosition, restorePosition): Write
15155         messages to minibuffer.
15156
15157 2001-01-28  José Matos  <jamatos@fep.up.pt>
15158
15159         * buffer.C (makeDocBookFile): adds support for document language.
15160         A silly restriction on the name of LatexCommand types where removed.
15161         Added support for CDATA sections, allows to chars unescaped, used
15162         among others in code, to avoid escape < and >.
15163
15164 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15165
15166         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15167         saved positions instrad of a stack. Furthermore, a position is
15168         stored using paragraph id/paragraph position.
15169
15170         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15171         Remove LFUN_REF_BACK.
15172
15173 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15174
15175         * converter.C (dvipdfm_options): New method.
15176
15177 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15178
15179         * vspace.C (isValidLength): Fix for empty input string.
15180
15181 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * LyXAction.C (init): change description of LFUN_FIGURE to
15184         "Insert Graphics"
15185
15186 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * LaTeX.C: add using directive
15189
15190 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15191
15192         * MenuBackend.C (expand): Fix the sorting of the formats.
15193
15194 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * lyx_main.C: tiny error message fix
15197
15198 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15199
15200         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15201         calling fl_initialize(). This fixes the problem with ',' as
15202         decimal separator in text files.
15203
15204 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * trans.C (process): Fix the keymap bug.
15207
15208 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15209
15210         * LaTeX.C (scanAuxFiles): New method. Provides support for
15211         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15212         (scanLogFile) Scan for "run BibTeX" messages.
15213
15214         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15215         OT1 font encoding. Also, load the aecompl package if the ae
15216         package is loaded.
15217
15218         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15219
15220 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * texrow.C (increasePos): turn two error messages into debug
15223         messages.
15224
15225 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * LaTeX.C (scanAux): Handle the \@input macro.
15228         (runBibTeX): Use scanAux().
15229
15230         * language.C (latex_options_): New field.
15231
15232         * LaTeXFeatures.C (getMacros): Add language macros.
15233
15234         * buffer.C (makeLaTeXFile): Small fix.
15235
15236 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15239
15240         * text2.C: add a using directive.
15241
15242 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * BufferView2.C:
15245         * lyx_gui_misc.h:
15246         * lyxfr1.C:
15247         * lyxfunc.C: kill LyXBell.
15248
15249 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15250
15251         * text.C (IsBoundary): Remove the error message
15252
15253         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15254
15255         * lyxrc.C (setDefaults): Correct initialization value for
15256         font_norm_type.
15257
15258 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15259
15260         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15261         gotoError().
15262
15263         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15264         and GotoNextNote().
15265
15266         * src/LyXAction.C: Added reference-next.
15267
15268         * text.C (InsertChar): Use contains instead of strchr.
15269
15270         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15271
15272 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15275         alignment commands (when needed).
15276
15277         * text.C (InsertChar): Add ':' to number separator chars.