]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5 new lfuns, move all apply code out of ControlDocument and into the core.
[lyx.git] / src / ChangeLog
1 2004-03-30  Angus Leeming  <leeming@lyx.org>
2
3         * lfuns.h:
4         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
5         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
6
7         * lyxfunc.C (getStatus, dispatch): define the actions for these
8         lfuns. Little more than a cut and pste job from ControlDocument.C
9
10         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
11
12 2004-03-30  Angus Leeming  <leeming@lyx.org>
13
14         * lfuns.h:
15         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
16         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
17
18         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
19         open/closed state of ollapsable insets. Usage:
20
21         all-inset-toggle <state> <name>, where
22         <state> == "open" || "closed" || "toggle" and
23         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
24
25         * lyxtext.h, text2.C (toggleInset): removed.
26
27         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
28         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
29         now passes LFUN_INSET_TOGGLE to the found inset.
30
31         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
32         is now invoked as "all-insets-toggle toggle branch".
33
34 2004-03-30  Angus Leeming  <leeming@lyx.org>
35
36         * dociterator.C:
37         * insetiterator.C:
38         * pariterator.[Ch]: added/corrected header blurb.
39
40 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * dociterator.[Ch]: add an inset_ member 
43         (backwardPos): implemented
44         (backwardPos, forwardPos): use inset_ when the stack is empty.
45         (doc_iterator_begin, doc_iterator_end): implemented
46         * pariterator.[Ch]: adjust, add begin, end
47         * insetiterator.[Ch]: adjust, add begin, end
48         * cursor.C: 
49         * document.C:
50         * BufferView.C:
51         * BufferView_pimpl.C:
52         * CutAndPaste.C: adjust
53
54 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * buffer.C: increment file format to 232.
57         * LaTeXFeatures.C: add bibtopic package.
58         * bufferparams.[Ch]: param \use_bibtopic.
59         
60         * lyxrc.[Ch]: add lyxrc bibtex_command
61         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
62         
63         * buffer.C: increment file format to 231.
64
65 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
66
67         * dociterator.C: implement forwardPar
68         * iterators.[Ch]: remove, replaced by
69         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
70         * BufferView.C:
71         * BufferView_pimpl.C:
72         * CutAndPaste.C:
73         * buffer.C:
74         * bufferview_funcs.C:
75         * cursor.C:
76         * lyxfind.C
77         * lyxfunc.C
78         * paragraph_funcs.C
79         * toc.C:  
80         * Makefile.am: adjust
81
82 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
83
84         * CutAndPaste.C (pasteSelection): fix 2 crashes
85         (eraseSelection): fix a crash
86         * paragraph_funcs.C: remove a warning
87
88 2004-03-28  Angus Leeming  <leeming@lyx.org>
89
90         * lfuns.h:
91         * LyXAction.C (init): new LFUN_PRINT.
92
93         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
94
95 2004-03-27  Angus Leeming  <leeming@lyx.org>
96
97         * lfuns.h:
98         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
99
100         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
101
102 2004-03-27  Angus Leeming  <leeming@lyx.org>
103
104         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
105         insetlist always contains non-null pointers to insets.
106
107 2004-03-26  Angus Leeming  <leeming@lyx.org>
108
109         * src/BufferView_pimpl.C:
110         * src/CutAndPaste.C:
111         * src/buffer.C:
112         * src/iterators.C:
113         * src/output_plaintext.C:
114         * src/outputparams.h:
115         * src/paragraph_funcs.C:
116         * src/rowpainter.C:
117         * src/text.C:
118         * src/text2.C:
119         * src/frontends/controllers/ControlErrorList.C:
120         * src/frontends/gtk/FileDialogPrivate.C:
121         * src/frontends/gtk/GPainter.C:
122         * src/frontends/gtk/GToolbar.C:
123         * src/frontends/qt2/QRef.C:
124         * src/mathed/math_scriptinset.C: squash compiler warnings.
125
126 2004-03-26  Angus Leeming  <leeming@lyx.org>
127
128         * ispell.C (LaunchIspell::start):
129         * lyx_cb.C (AutoSaveBuffer::start):
130         invoke run(DontWait) rather than runNonBlocking().
131
132 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
135
136 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * kbsequence.C (print): adjust
139
140         * kbmap.C (printKeySym): rename and change signature
141         (printKey): use LyXKeySym::print()
142
143 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * undo.C: add using std::advance to compile for stlport
146
147 2004-03-24  Angus Leeming  <leeming@lyx.org>
148
149         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
150         it leads to a crash when no buffer is present.
151
152 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153             Martin Vermeer  <martin.vermeer@hut.fi>
154
155         * lyxfunc.C (dispatch): 
156         * bufferparams.C (readToken): use the new LColor::setColor 
157
158         * LColor.[Ch] (setColor): new version that takes two strings as
159         argument and creates a new color entry if necessary
160
161 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
162
163         * buffer.C (makeLaTeXFile): if the main latex file that is
164         processed is usually a subdocument of some master, then pretend
165         for a while that it is actually the master
166
167 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
168
169         * buffer.C (getLabelList):
170         (getBibkeyList): use getMasterBuffer()
171         (getMasterBuffer): new method. Returns the main document in the
172         case where one is using included documents.
173
174 2004-03-25  André Pönitz  <poenitz@gmx.net>
175
176         * Makefile.am:
177         * iterators.[Ch]:
178         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
179
180         * ParagraphList_fwd.h: change ParagraphList to a std::vector
181
182         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
183         text*.C over here. Rename namespace CutAndPaste to lyx::cap
184
185         * ParameterStruct.h: merge with ParagraphParameters
186
187         * lyxtext.h: remove LyXText::parOffset() and getPar()
188
189         * text3.C: Remove all 'manual' update calls. We do now one per user
190         interaction which is completely sufficient.
191
192         * Bidi.C:
193         * BufferView.[Ch]:
194         * BufferView_pimpl.C:
195         * FontIterator.[Ch]:
196         * MenuBackend.C:
197         * ParagraphParameters.[Ch]:
198         * buffer.C:
199         * buffer.h:
200         * bufferlist.C:
201         * cursor.[Ch]:
202         * cursor_slice.[Ch]:
203         * dociterator.[Ch]:
204         * errorlist.[Ch]:
205         * factory.C:
206         * lfuns.h:
207         * lyxfind.C:
208         * lyxfunc.C:
209         * output_docbook.[Ch]:
210         * output_latex.[Ch]:
211         * output_linuxdoc.[Ch]:
212         * output_plaintext.[Ch]:
213         * paragraph.[Ch]:
214         * paragraph_funcs.[Ch]:
215         * paragraph_pimpl.[Ch]:
216         * rowpainter.C:
217         * tabular.[Ch]:
218         * text.C:
219         * text2.C:
220         * toc.C:
221         * undo.[Ch]: adjust
222
223         * frontends/controllers/ControlDocument.C:
224         * frontends/controllers/ControlErrorList.C:
225         * frontends/controllers/ControlSpellchecker.C:
226         * insets/inset.C:
227         * insets/inset.h:
228         * insets/insetbase.h:
229         * insets/insetbibitem.C:
230         * insets/insetbox.C:
231         * insets/insetbranch.C:
232         * insets/insetcaption.C:
233         * insets/insetcharstyle.C:
234         * insets/insetcharstyle.h:
235         * insets/insetcollapsable.C:
236         * insets/insetcollapsable.h:
237         * insets/insetert.C:
238         * insets/insetfloat.C:
239         * insets/insetfoot.C:
240         * insets/insetmarginal.C:
241         * insets/insetnote.C:
242         * insets/insetoptarg.C:
243         * insets/insettabular.C:
244         * insets/insettext.C:
245         * insets/insettext.h:
246         * insets/insetwrap.C:
247         * mathed/math_mboxinset.C:
248         * mathed/math_nestinset.C:
249         * mathed/math_scriptinset.C:
250         * mathed/math_scriptinset.h:
251         * support/types.h:
252
253 2004-03-24  Angus Leeming  <leeming@lyx.org>
254
255         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
256         deal with any child processes that have finished but are waiting to
257         communicate this fact to the rest of LyX.
258
259 2004-03-24  Angus Leeming  <leeming@lyx.org>
260
261         64-bit compile fixes.
262
263         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
264         (c-tor): pass lyx::pos_types rather than ints.
265
266         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
267         lyx::pos_type.
268
269         * text.C (Delete): compile fix.
270         (getPar): ensure that function declaration is the same as that in
271         the header file.
272
273 2004-03-23  Angus Leeming  <leeming@lyx.org>
274
275         * ispell.C (LaunchIspell):
276         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
277         a boost::shred_ptr rather than a std::auto_ptr.
278
279 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * lyxfunc.C (getStatus): handle read-only buffers correctly;
282         handle LFUN_FILE_INSERT_*
283
284         * lyxrc.C (setDefaults, getDescription, output, read):
285         * lyxrc.h: remove ps_command
286
287 2004-03-22  Angus Leeming  <leeming@lyx.org>
288
289         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
290         Ensure that error_handler is processed once only and that all data
291         is saved before attempting to output any warning messages.
292
293         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
294
295 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
296
297         * tabular.C (TeXRow): crash fix (from Kayvan and André)
298
299 2004-03-19  André Pönitz  <poenitz@gmx.net>
300
301         * cursor.[Ch] (reset): take main text inset as argument
302
303         * BufferView: adjust
304         * BufferView_pimpl.C: adjust
305
306         * paragraph.[Ch]: fix completely broken operator=()
307
308 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * LColor.C (getFromLyXName): make sure that the color name is used
311         as lowercase.
312
313 2004-03-17  Angus Leeming  <leeming@lyx.org>
314
315         * lfuns.h:
316         * LyXAction.C (init): remove LFUN_FORKS_KILL.
317
318         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
319         dialog and to kill a forked process.
320
321 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * text2.C (setCursorFromCoordinates): fix font problem
324
325 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
328         bogus "rebuild cursor" code
329
330 2004-03-11  André Pönitz  <poenitz@gmx.net>
331
332         * buffer.[Ch]: use InsetText instead of LyXText as container for
333         the main lyx text.
334
335         * dociterator.[Ch]: drop the BufferView * member which is not needed
336         anymore after the change to buffer.C
337
338         * paragraph_funcs.C:
339         * text.C:
340         * text2.C:
341         * BufferView.[Ch]:
342         * BufferView_pimpl.[Ch]:
343         * cursor.[Ch]:
344         * cursor_slice.[Ch]: adjust
345
346         * text3.C: fix bug in mathDispatch
347
348 2004-03-08  André Pönitz  <poenitz@gmx.net>
349
350         * undo.[Ch]: use 'StableDocumentIterator' as base for
351         the Undo struct.
352
353 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
354
355         * LaTeXFeatures.C:
356         * bufferparams.[Ch]: add jurabib support and param.
357
358         * LaTeX.C: add FIXME/comment.
359
360 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * buffer.C: increment file format to 230.
363
364 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * cursor.C (dispatch): avoid infinite loops
367
368 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * rowpainter.C (paintSelection): fix x coordinates
371
372 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
373
374         * text.C (rowBreakPoint): fix breaking before displayed insets
375
376 2004-03-01  André Pönitz  <poenitz@gmx.net>
377
378         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
379
380         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
381
382         * Makefile.am:
383         * BufferView.C:
384         * BufferView_pimpl.C:
385         * buffer.C:
386         * lyxfind.C:
387         * lyxfunc.C:
388         * text.C:
389         * text2.C:
390         * text3.C: adjust
391
392 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * lyxtext.h:
395         * text.C:
396         * text2.C:
397         * rowpainter.C:
398         * BufferView_pimpl.C: rename textwidth -> maxwidth,
399         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
400
401 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * Bidi.[Ch] (computeTables): const correctness
404         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
405         fill_hfill, fill_label_hfill and x from Row
406         * lyxtext.h: prepareToPrint returns a RowMetrics
407         * rowPainter.C: adjust
408         * text.C (prepareToPrint): use width, not textWidth. adjust
409         (redoParagraphInternal, cursorX): adjust
410         * text2.C (getColumnNearX): adjust
411         (init): put a default value to the top LyXText::width
412
413 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
416
417 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * lyxtext.h: add FontIterator class
420
421         * text.C (FontIterator, operator*, operator->, operator++): add
422         (rowBreakPoint, setRowWidth): adjust (fixing a
423         rebreaking bug)
424
425 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * BufferView_pimpl.C (workAreaDispatch): allow also
428         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
429
430 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * text.C (rowBreakPoint): fix a bug showing with very large insets
433
434 2004-02-25  André Pönitz  <poenitz@gmx.net>
435
436         * text3.C:
437         * cursor.[Ch]: move some mathed specific code to mathed
438
439 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
440
441         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
442         use_tempdir in preferences
443         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
444         tempfile creation
445         * lyx_main.C: ensure that tempdir is valid
446         * lyxlex.h: correct typo
447         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
448         * paragraph.[Ch] (isMultiLingual): make const
449         * cursor.[Ch] (openable): make const
450
451 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
452
453         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
454
455 2004-02-20  André Pönitz  <poenitz@gmx.net>
456
457         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
458
459         * cursor.[Ch]: prepare for localized getStatus()
460
461         * lyxtext.h:
462         * tabular.C:
463         * text.C:
464         * text2.C:
465         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
466
467 2004-02-20  André Pönitz  <poenitz@gmx.net>
468
469         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
470
471 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * text2.C (setCursorFromCoordinates): switch to absolute coords
474         (cursorUp): adjust
475         (cursorDown): adjust
476         * text3.C (dispatch): adjust
477
478 2004-02-16  André Pönitz  <poenitz@gmx.net>
479
480         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
481           insets/ChangeLog)
482
483         * cursor_slice.[Ch]: remove unneeded acessor function
484
485         * lyxtext.h: rename rtl() to isRTL()
486
487         * rowpainter.C:
488         * tabular.C:
489         * text.C:
490         * text2.C:
491         * text3.C: adjust
492
493 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * rowpainter.C (paintSelection): coord fix
496
497 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
498
499         * Spacing.C: compile fix
500
501 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
502
503         * cursor.C (dispatch): restore current_ before returning
504
505 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
506
507         * text2.C (cursorUp, cursorDown): fix coords
508         (moveUp): fix crash
509
510 2004-02-12  André Pönitz  <poenitz@gmx.net>
511
512         * lyxtext.h:
513         * text.C:
514         * text2.C:
515         * text3.C: add LCursor & parameter to most cursor movement functions
516           remove usage of LyXText::cursorRow() and cursorPar()
517
518         * cursor.[Ch]: add textRow() needed members
519
520         * BufferView.C:
521         * BufferView_pimpl.C:
522         * paragraph.[Ch]:
523         * BufferView.C:
524         * BufferView_pimpl.C: adjust
525
526 2004-02-11  André Pönitz  <poenitz@gmx.net>
527
528         * lyxfunc.C:
529         * BufferView.[Ch]:
530         * BufferView_pimpl.C: shift undo/redo handling
531
532         * cursor.[Ch]: fix mathed crash
533
534         * lyxfind.C:
535         * lyxtext.h: move selectionAsText to LCursor
536
537         * output_latex.C:
538         * paragraph.C:
539         * text.C:
540         * text2.C:
541         * text3.C: adjust
542
543         * rowpainter.C: fix excessive drawing
544
545 2004-02-06  André Pönitz  <poenitz@gmx.net>
546
547         * BufferView.[Ch]:
548         * BufferView_pimpl.[Ch]:
549         * text3.C: move some text specific LFUN handling
550
551 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * text3.C (checkInsetHit): adjust coords
554         * text2.C (getColumnNearX): adjust coords
555         (edit): adjust coords
556         * text.C (getRowNearY): add two asserts
557
558 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * converter.C:
561         * format.C: add using std::distance to compile on gcc 2.95/stlport
562
563 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
566
567 2004-02-04  André Pönitz  <poenitz@gmx.net>
568
569         * BufferView.[Ch] (insertInset):
570         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
571
572         * text2.C:
573         * text3.C: adjust
574
575 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
578         on the default clause of the switch
579         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
580         wasn't catched by LCursor::dispatch
581
582 2004-02-03  André Pönitz  <poenitz@gmx.net>
583
584         * BufferView.C:
585         * cursor.[Ch]: some additional asserts
586
587         * undo.[Ch]: remove LyXText dependency in interface
588
589         * lyxfunc.C: adjust
590
591         * lyxtext.h (firstPar, lastPar): remove dead functions
592
593         * text.C:
594         * text2.C:
595         * text3.C:
596         * paragraph.[Ch]: adjust
597
598 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
599
600         * lyxfind.C (find): fix argument order in call to ::find
601
602 2004-02-02  André Pönitz  <poenitz@gmx.net>
603
604         * cursor.[Ch]: remove direct access to anchor
605
606         * text.C: remove findText() hack
607
608 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
609
610         * iterators.[Ch] (lockPath): remove in favour of...
611         * BufferView.[Ch] (setCursor): this addition
612         * BufferView.C (putSelectionAt): adjust
613         * undo.C (performUndoOrRedo): adjust
614         * lyxfunc.C (dispatch): adjust
615
616 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
617
618         * iterators.C (lockPath): add a missing slice
619         * undo.C (performUndoOrRedo): remove redundant positioning code
620
621 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
622
623         * vc-backend.C (scanMaster): ";" -> ';'
624
625 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
626
627         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
628         std::binary_function
629
630         * lyxtextclass.C (compare_name): rename to...
631         (LayoutNamesEqual): ...this
632
633         * lyxlex_pimpl.C (compare_tags): inherit from
634         std::binary_function, put back into anon namespace
635
636         * lyxfind.C (MatchString): inherig from std::binary_function
637         (findChange): use empty() istead of !size()
638
639         * format.C (FormatNamesEqual): new functor
640         (getFormat): use it
641         (getNumber): use it
642         (add): use it
643         (erase): use it
644         (setViewer): use it
645
646         * converter.C (compare_Converter): rename to...
647         (ConverterEqual): ...this, and fixup a bit.
648         (getConverter): use it, and make function const
649         (getNumber): use it, and make function const
650         (add): use it
651         (erase): use it:
652
653         * bufferlist.C: add using boost::bind
654
655         * MenuBackend.C (MenuNamesEqual): new functor
656         (hasMenu): use it, and make function const
657         (hasSubmenu): use nested bind to get rid of compare_memfun.
658
659 2004-01-30  André Pönitz  <poenitz@gmx.net>
660
661         * BufferView_pimpl.C:
662         * cursor.C:
663         * cursor.h:
664         * cursor_slice.[Ch]:
665         * lyxfunc.C:
666         * lyxtext.h:
667         * paragraph_funcs.C:
668         * paragraph_funcs.h:
669         * rowpainter.C:
670         * text.C:
671         * text2.C:
672         * text3.C: move some of the edit(x,y) handling to the insets
673         some coordinate changes.
674
675 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * text.C: add using statements for std::advance and std::distance
678
679         * paragraph.C: add using statement for std::distance
680
681         * lyxfind.C: add using statement for std::advance
682
683         * cursor.C (region): remove std:: from swap
684         (openable): use nucleus in stead of operator->
685
686         * BufferView.C: add using statements for std::distance and std::swap
687
688 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
689
690         * iterators.C: Remove the pimple, move the needed structures to
691         the header file. Create accessor for the positions stack.
692         (asPosIterator): remove function
693
694         * PosIterator.C (PosIterator): move constructors to top of file
695         (PosIterator): reimplement the constructor taking a ParIterator in
696         terms of setFrom.
697         (setFrom): new function
698         (operator!=): inline it
699
700 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
701
702         * lyxfind.C (replaceAll): use std::advance
703
704         * iterators.h: inherit from std::iterator.
705
706         * PosIterator.C (advance, distance): remove
707         * PosIterator.h: interit from std::iterator.
708
709 2004-01-26  André Pönitz  <poenitz@gmx.net>
710
711         * BufferView.[Ch]:
712         * BufferView_pimpl.[Ch]:
713         * InsetList.[Ch]:
714         * PosIterator.[Ch]:
715         * buffer.h:
716         * bufferview_funcs.C:
717         * cursor.[Ch]:
718         * cursor_slice.h:
719         * factory.[Ch]:
720         * iterators.[Ch]:
721         * lyxfind.C:
722         * lyxfunc.C:
723         * lyxtext.h:
724         * output_docbook.C:
725         * output_latex.C:
726         * output_linuxdoc.C:
727         * output_plaintext.C:
728         * paragraph.[Ch]:
729         * paragraph_funcs.[Ch]:
730         * paragraph_pimpl.[Ch]:
731         * rowpainter.C:
732         * tabular.C:
733         * tabular.h:
734         * text.C:
735         * text2.C:
736         * text3.C: more IU:  dumps most of the rest of the mathcursor
737     implementation into cursor.[Ch]; "globalize" a bit of it.
738
739 2004-01-25  Angus Leeming  <leeming@lyx.org>
740
741         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
742
743 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * LaTeXFeatures.h: add nice_ and nice() const
746         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
747
748 2004-01-20  André Pönitz  <poenitz@gmx.net>
749
750         * BufferView.[Ch]:
751         * BufferView_pimpl.C:
752         * PosIterator.C:
753         * bufferview_funcs.C:
754         * cursor.[Ch]:
755         * cursor_slice.[Ch]:
756         * factory.C:
757         * iterators.C:
758         * lyx_cb.C:
759         * lyxfind.C:
760         * lyxfunc.C:
761         * lyxtext.h:
762         * rowpainter.C:
763         * text.C:
764         * text2.C:
765         * text3.C:
766         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
767           LCursor and mathcursor parts to LCursor and InsetBase.
768
769 2004-01-15  André Pönitz  <poenitz@gmx.net>
770
771         * cursor_slice.[Ch]: add a few covienience functions
772
773         * funcrequest.[Ch]: remove BufferView * member
774
775         * BufferView_pimpl.C:
776         * cursor.C:
777         * factory.[Ch]:
778         * lyxfind.[Ch]:
779         * lyxfunc.C:
780         * lyxtext.h:
781         * text3.C:
782         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
783
784 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
785
786         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
787         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
788
789 2004-01-13  André Pönitz  <poenitz@gmx.net>
790
791         * textcursor.[Ch]:
792         * lyxtext.h: hide cursor and selection anchor behind accessor function
793
794         * BufferView.C:
795         * BufferView_pimpl.[Ch]:
796         * PosIterator.C:
797         * bufferview_funcs.C:
798         * cursor.h:
799         * lyxfind.C:
800         * lyxfunc.C:
801         * text.C:
802         * text2.C:
803         * text3.C:
804         * undo.C: adjust
805
806         * cursor.h:
807         * cursor_slice.[Ch]: some integer type changes for inset unification
808
809         * lyxcursor.[hC]: remove, it's CursorSlice now.
810
811         * Makefile.am:
812         * BufferView_pimpl.[Ch]:
813         * bufferview_funcs.C:
814         * cursor_slice.C:
815         * lyxtext.h:
816         * text.C:
817         * text2.C:
818         * text3.C:
819         * textcursor.[Ch]: adjust
820
821 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
822
823         * text2.C (undoSpan): add and use
824         * text.C (breakParagraph): use undoSpan (fix bug 578)
825         * lyxtext.h: adjust
826
827 2004-01-08  Angus Leeming  <leeming@lyx.org>
828
829         * BufferView_pimpl.C (MenuInsertLyXFile):
830         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
831         * lyxfunc.C (menuNew, open, doImport):
832         FileFilterList change to the FileDialog open and save functions.
833
834 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
835
836         * ShareContainer.h: make isEqual and isUnique adaptable
837
838         * CutAndPaste.C: make resetOwnerAndChanges adaptable
839
840 2004-01-07  Angus Leeming  <leeming@lyx.org>
841
842         * LyXAction.C:
843         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
844
845         * BufferView_pimpl.C (dispatch): act on these LFUNs.
846
847         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
848         functions replacing find, replace and replaceAll.
849
850         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
851         LFUN_WORDFIND(FORWARD|BACKWARD).
852
853 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * text.C (breakParagraph): remove an outdated #warning
856
857 2004-01-07  André Pönitz  <poenitz@gmx.net>
858
859         * lyxfind.C: somewhat clearer logic
860
861         * text.C: prevent crash in cursorX on unitialized row cache
862
863 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * lyxcursor.[Ch] (operator>): add
866         * textcursor.C (selStart, selEnd): use std::min and std::max
867
868 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
869
870         * Chktex.C: include boost/format.hpp
871
872 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
873
874         * InsetList.C: replace functor MathcIt with adaptable functor
875         InsetTablePosLess
876         (insetIterator): modify accordingly
877
878         * BranchList.h: move the BranchNamesEqual functor here from...
879         * BranchList.C: ... to here
880
881         * BranchList.C: new BranchListEqual fuctor, use it. Remove
882         SameName and match.
883         (add): replace a finding loop with std::find_if.
884
885 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * output_docbook.C: moving LatexParam functionality into
888         .layout files
889
890 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
891
892         * buffer.C: increment format to 229.
893
894 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
895
896         * LaTeXFeatures.C:
897         * lyx_sty.[Ch]: remove minipageindent_def
898
899         * LyXAction.C:
900         * factory.C:
901         * lfuns.h:
902         * lyxfunc.C:
903         * text3.C: remove LFUN_INSET_MINIPAGE
904
905 2003-12-28  Angus Leeming  <leeming@lyx.org>
906
907         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
908
909 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * text2.C (setParagraph): fix off-by-one crash
912
913 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * output_docbook.C: header stuff for AGU
916
917 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * text2.C (redoCursor): remove
920         * text.C:
921         * text3.C:
922         * BufferView_pimpl.C: remove calls to redoCursor and
923         setCursor(cursor.par(), cursor.pos()) all around
924
925 2003-12-15  Angus Leeming  <leeming@lyx.org>
926
927         * buffer.C: up the format to 228.
928
929 2003-12-15  André Pönitz  <poenitz@gmx.net>
930
931         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
932         slices
933
934         * Makefile.am:
935
936         * BufferView_pimpl.C:
937         * cursor.[Ch]:
938         * lyxcursor.[Ch]:
939         * rowpainter.[Ch]:
940         * lyxtext.h:
941         * text.C:
942         * text2.C:
943         * text3.C: adjust
944
945 2003-12-15  Angus Leeming  <leeming@lyx.org>
946
947         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
948         than getFromGUIName to manipulate the color.
949
950 2003-12-14  Angus Leeming  <leeming@lyx.org>
951
952         * BranchList.[Ch]: minimize the API.
953         (Branch::getBranch, getColor): now return a 'const &'.
954         (Branch::setSelected) now returns a bool set to true if the
955         selection status changes.
956         (BranchList::clear, size, getColor, setColor, setSelected,
957         allBranches, allSelected, separator): removed.
958         (BranchList::find): new functions, returning the Branch with
959         the given name.
960         (BranchList::add, remove): return a bool indicating that
961         the operation was successful.
962
963         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
964         new InsetBranch::isBranchSlected member function.
965
966         * LColor.[Ch]: mimimize the API.
967         (fill): renamed as addColor and made private.
968         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
969         versions of these functions taking a string arg have been removed.
970
971         * bufferparams.C (readToken):
972         * lyxfunc.C (dispatch):
973         * lyxrc.C (read): changes due to the altered BranchList and
974         LColor APIs.
975
976         * factory.C (createInset, readInset): changes due to altered
977         InsetBranch c-tor.
978
979 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
980
981         * factory.C:
982         * lyxfunc.C: remove insetminipage. "minipage-insert"
983         now produces a frameless minipage box inset.
984
985 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
986
987         * textcursor.[Ch] (selStart,selEnd): add new methods
988         remove selection::start, end, use LyXCursor::operator<
989         * lyxcursor.[Ch] (operator<): add
990         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
991         * BufferView.[Ch] (unsetXSel): add
992         * text2.C (clearSelection): use unsetXSel,adjust
993         * text.C: adjust
994         * text3.C: adjust
995         * rowpainter.C: adjust
996         * bufferview_funcs.C (put_selection_at): adjust
997
998 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * BufferView_pimpl.C: small coord. correction
1001
1002 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1005         dragging over the splash screen.
1006
1007 2003-12-11  Angus Leeming  <leeming@lyx.org>
1008
1009         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1010         as it is now handled in LyXText::dispatch.
1011
1012         * text3.C (doInsertInset): remove a level of nesting.
1013
1014 2003-12-11  Angus Leeming  <leeming@lyx.org>
1015
1016         * factory.C (createInset): changes due to the changed interface to
1017         InsetCommandMailer::string2params.
1018
1019 2003-12-10  Angus Leeming  <leeming@lyx.org>
1020
1021         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1022         'dialog-show-new-inset <inset name>'
1023
1024 2003-12-10  Angus Leeming  <leeming@lyx.org>
1025
1026         * buffer.C: up the format to 227.
1027
1028         * factory.C: the box inset is now identified simply by 'Box'.
1029
1030 2003-12-10  Angus Leeming  <leeming@lyx.org>
1031
1032         * buffer.C: up the format to 226.
1033
1034         * factory.C: the note inset is now identified simply by 'Note'.
1035
1036 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1037
1038         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1039         when a pit is enough. Standarize a couple of loops.
1040
1041 2003-12-05  Angus Leeming  <leeming@lyx.org>
1042
1043         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1044         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1045         data to the re-worked "log" dialog.
1046
1047 2003-12-03  André Pönitz  <poenitz@gmx.net>
1048
1049         * PosIterator.C:
1050         * iterators.C:
1051         * lyxtext.h:
1052         * output_latex.C:
1053         * paragraph_funcs.C:
1054         * text.C:
1055         * text2.C: use Inset::getText instead of Inset::getParagraph
1056
1057 2003-12-03  André Pönitz  <poenitz@gmx.net>
1058
1059         * buffer.[Ch]:
1060         * lyxtext.h:
1061         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1062         InsetText::read() as LyXText::read()
1063
1064 2003-12-02  Angus Leeming  <leeming@lyx.org>
1065
1066         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1067         type. Add a comment in the implementation that the function uses
1068         the stream's bad() function rather than fail() as the std::streams
1069         would do.
1070
1071 2003-12-02  André Pönitz  <poenitz@gmx.net>
1072
1073         * lyxlex.[Ch]: make interface more similar to std::stream
1074
1075         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1076
1077 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1078
1079         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1080
1081 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1082
1083         * vspace.[Ch]: remove VSpace::NONE
1084
1085 2003-12-01  André Pönitz  <poenitz@gmx.net>
1086
1087         * buffer.[Ch]:
1088         * lyxtext.h: move ParagraphList member to LyXText
1089         rename LyXText::ownerParagraphs to LyXText::paragraph
1090
1091         * CutAndPaste.C:
1092         * bufferview_funcs.C:
1093         * iterators.[Ch]:
1094         * lyx_cb.C:
1095         * paragraph.C:
1096         * rowpainter.C:
1097         * tabular.C:
1098         * text.C:
1099         * text2.C:
1100         * text3.C: adjust
1101
1102         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1103
1104         * undo.C: fix cursor positioning
1105
1106 2003-12-01  John Levon  <levon@movementarian.org>
1107
1108         * BufferView_pimpl.C: fix a crash on exit with
1109         a buffer open
1110
1111 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * BranchList.C: fix setSelected() method.
1114
1115 2003-11-28  André Pönitz  <poenitz@gmx.net>
1116
1117         * ParagraphParameters.[Ch]:
1118         * ParameterStruct.h: remove space above/below from Paragraph to
1119          InsetVSpace
1120
1121         * BufferView_pimpl.C:
1122         * factory.C:
1123         * lyxfunc.C:
1124         * lyxtext.h:
1125         * output_latex.C:
1126         * paragraph.C:
1127         * paragraph_funcs.C:
1128         * rowpainter.[Ch]:
1129         * text.C:
1130         * text2.C:
1131         * text3.C: adjust
1132
1133 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * factory.C: Syntax change for CharStyles
1136
1137 2003-11-28  André Pönitz  <poenitz@gmx.net>
1138
1139         * BufferView.[Ch]:
1140         * BufferView.[Ch]:
1141         * buffer.[Ch]:
1142         * buffer.[Ch]: move LyXText member
1143
1144 2003-11-28  André Pönitz  <poenitz@gmx.net>
1145
1146         * BufferView.[Ch]: make LyXText * text a private member
1147
1148         * BufferView_pimpl.C:
1149         * cursor.C:
1150         * iterators.C:
1151         * lyx_cb.C:
1152         * lyxfind.C:
1153         * lyxtext.h:
1154         * rowpainter.[Ch]:
1155         * text.C:
1156         * text2.C:
1157         * undo.C: adjust
1158
1159         * output_plaintext.C: cleanup
1160
1161 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * buffer.C:
1164         * lyxtextclass.[Ch]: parametrize SGML document header
1165
1166 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * converter.[Ch]:
1169         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1170         getFlavor().
1171
1172 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * text2.C (setFont): rework using PosIterator (no more recursive)
1175         (setCharFont): no more needed
1176         (setLayout): no more selection cursors fiddling (done by redoCursor)
1177         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1178         destroy remaining ones)
1179
1180 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1183         * lyxtext.h: ditto
1184         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1185         selection cursors
1186         * lyxfunc.C: adjust
1187         * text3.C: adjust + re-allow multi par depth changes
1188         * textcursor.C: simplify a bit
1189
1190 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1191
1192         * src/buffer.C:
1193         * src/lyxlayout.C:
1194         * src/lyxlayout.h:
1195         * src/lyxtext.h:
1196         * src/output_docbook.C:
1197         * src/output_latex.C:
1198         * src/paragraph.C:
1199         * src/paragraph.h:
1200         * src/sgml.C:
1201         * src/sgml.h:
1202         * src/text2.C: Introducing a number of tags parametrizing various
1203         XML formats that we may want to support
1204
1205 2003-11-25  André Pönitz  <poenitz@gmx.net>
1206
1207         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1208
1209         * lyxtext.h (leftMargin/rightMargin): simplify interface
1210
1211         * rowpainter.C:
1212         * text.C:
1213         * text2.C:
1214         * text3.C: adjust
1215
1216 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1217
1218         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1219         master file to any child files. Fixes bug 546.
1220
1221 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1224
1225 2003-11-24  André Pönitz  <poenitz@gmx.net>
1226
1227         * rowpainter.C: simplification
1228
1229         * text2.C (updateCounters): remove call to redoParagraph on
1230         changed labels as this is far too expensive.
1231
1232 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1233
1234         * converter.C (convert): fix a crash: this function gets
1235         called with buffer == 0 from importer code.
1236
1237 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1238
1239         * text3.C (cursorPrevious): make sure that we do not compare
1240         iterators form different containers.
1241         (cursorNext): ditto
1242
1243         * rowpainter.C (paintSelection): make sure that we do not compare
1244         iterators from different containers.
1245
1246         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1247         iterators from different ParagraphList containers.
1248         [NEXT] ditto
1249
1250         * text2.C (LyXText): change order of initialization slightly
1251         (operator=): new function. copy all variables except cache_par_
1252         (moveUp): make sure that we do not compare iterators from
1253         different ParagraphList constainers.
1254         (moveDown): ditto
1255
1256         * text.C (firstPar): new function
1257         (lastPar): new function
1258         (endPar): new function
1259
1260         * lyxtext.h: move things around and group public functions, public
1261         variables, private functions, private variables
1262
1263 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1264
1265         * factory.C: change call to InsetERT constructor to avoid
1266         additional invocation of method status
1267         * text2.C (toggleInset): remove redundant update() call
1268         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1269         instead of a Bufferview pointer
1270
1271 2003-11-21  André Pönitz  <poenitz@gmx.net>
1272
1273         * rowpainter.C: simplification
1274
1275 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1276
1277         * text3.C (dispatch): make possible to extend a word/row selection
1278         with the mouse
1279
1280 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1281
1282         * lyxtext.h: x0_,y0_ -> xo_,yo_
1283         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1284         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1285         * rowpainter.C (paintRows): paint full paragraphs
1286
1287 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1288
1289         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1290         screen coordinates)
1291
1292 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * lyxtext.h: add x0_, y0_
1295         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1296         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1297
1298 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * text2.C (setCursorIntern): move the x_target update here *
1301         * text3.C: change some bv() to true/false in calls to
1302         cursorUp/Down/Right/Left
1303         * cursor.C: use helper function.
1304
1305 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1306
1307         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1308         * paragraph_funcs.[Ch]: correct comment
1309         * rowpainter.C: do not paint selections away from bv->cursor()
1310         Fix a long standing selection painting bug.
1311         * text3.C: generalize mouse-selection code to LyXTexts other that
1312         top one
1313         * textcursor.C: do not use y coords if we can use par offsets
1314
1315 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1318         cursor position after e.g. inset insert)
1319
1320 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * lyxfind.C (replace): adjust to locking removal + some
1323         code simplification
1324
1325 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1328         of the path
1329
1330 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1331
1332         * lyxlayout.[Ch]:
1333         * output_docbook.C: XML sanitation: new layout
1334         parameters InnerTag and CommandDepth
1335
1336 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1337
1338         * BufferView_pimpl.C:
1339         * factory.C:
1340         * text3.C: Fix the insertion and modification of button-style
1341         insets
1342
1343 2003-11-13  André Pönitz  <poenitz@gmx.net>
1344
1345         * InsetList.[Ch]: remove deleteLyXText
1346
1347         * paragraph.[Ch]: cache beginOfBody position
1348
1349         * Bidi.C:
1350         * text.C:
1351         * text2.C:
1352         * text3.C: remove superfluous update() calls
1353
1354         * vspace.C: cleanup
1355
1356 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1359         * BufferView.C (fitLockedInsetCursor): remove
1360         * cursor.[Ch] (getDim): add
1361         * text.C (getRowNearY): add faster version
1362         * text3.C: remove some update calls
1363
1364 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * LaTeXFeatures.C:
1367         * LyXAction.C:
1368         * MenuBackend.C:
1369         * MenuBackend.h:
1370         * dispatchresult.h:
1371         * factory.C:
1372         * lfuns.h:
1373         * lyxfunc.C:
1374         * lyxtextclass.C:
1375         * lyxtextclass.h:
1376         * text3.C: The Character Style /XML short element patch.
1377
1378 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1379
1380         * text3.C:
1381         * factory.C: Small step to solving 'unable to insert some insets'
1382         problem
1383
1384 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * cursor.[Ch] (updatePos): new function for updating the y
1387         position of the tip inset
1388         * bufferview_funcs.C (put_selection_at):
1389         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1390
1391 2003-11-11  André Pönitz  <poenitz@gmx.net>
1392
1393         * text.C: remove big comment on invalid Paragraph pointers as it is
1394         not valid anymore
1395
1396 2003-11-11  André Pönitz  <poenitz@gmx.net>
1397
1398         * text_funcs.[Ch]: merge with ...
1399
1400         * text.C: ... this
1401
1402         * lyxtext.h:
1403         * text2.C:
1404         * text3.C: adjust
1405
1406         * Makefile.am: remove text_funcs.[Ch]
1407
1408 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * cursor.C (getPos): return absolute cached y coord
1411
1412         * BufferView_pimpl.C (fitCursor): new simplistic code
1413         (workAreaDispatch): add a fitCursor call
1414
1415 2003-11-10  André Pönitz  <poenitz@gmx.net>
1416
1417         * BufferView.[Ch]:
1418         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1419
1420 2003-11-10  André Pönitz  <poenitz@gmx.net>
1421
1422         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1423         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1424         indicate that the cursor needs to leave an inset
1425
1426         * lyxtext.h: remove inset locking
1427
1428         * cursor.[Ch]: re-implement functionality provided by inset locking
1429
1430         * BufferView.[Ch]:
1431         * BufferView_pimpl.[Ch]:
1432         * LyXAction.C:
1433         * bufferview_funcs.[Ch]:
1434         * factory.C:
1435         * funcrequest.[Ch]:
1436         * iterators.C:
1437         * lyx_cb.C:
1438         * lyxfind.C:
1439         * lyxfunc.C:
1440         * text.C:
1441         * text2.C:
1442         * text3.C:
1443         * undo.C: adjust
1444
1445 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1446
1447         * PosIterator.[Ch]: replace the stack with a vector, add inset
1448         accesor
1449         * iterators.[C]: adjust
1450
1451 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1452
1453         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1454         replaced
1455         * paragraph_funcs.C (readParToken): put the correct id in the
1456         error item, not the id of the top paragraph
1457
1458 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1461         * bufferview_funcs.C (put_selection_at): use the above
1462
1463 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1466
1467 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * output_linuxdoc.h:
1470         * output_plaintext.h:
1471         * output.h:
1472         * output_docbook.h: add #include statements
1473
1474 2003-11-05  José Matos  <jamatos@lyx.org>
1475
1476         * output_docbook.[Ch]:
1477         * output_latex.[Ch]:
1478         * output_linuxdoc.[Ch]:
1479         * output_plaintext.[Ch]: New files for output formats.
1480         * output.[Ch]: New file for helper functions.
1481
1482         * buffer.[Ch]:
1483         * paragraph_funcs.[Ch]: output functions moved to new files.
1484
1485         * outputparams.h: rename of latexrunparams.h
1486
1487         * LaTeX.[Ch]:
1488         * buffer.[Ch]:
1489         * bufferlist.[Ch]:
1490         * converter.[Ch]:
1491         * exporter.C:
1492         * paragraph.[Ch]:
1493         * paragraph_funcs.[Ch]:
1494         * paragraph_pimpl.[Ch]:
1495         * tabular.[Ch]: rename ascii to plaintext
1496         and LatexRunParams to OutputParams.
1497
1498 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * iterators.[Ch] (text): require bv argument
1501         * undo.C (recordUndo):
1502         * lyxfunc.C (dispatch):
1503         * bufferview_funcs.C (put_selection_at): adjust
1504
1505 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1506
1507         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1508
1509 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1510
1511         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1512         nestings
1513
1514 2003-11-04  André Pönitz  <poenitz@gmx.net>
1515
1516         * cursor.[Ch]: restructure
1517
1518         * BufferView.[Ch]:
1519         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1520
1521         * iterators.[Ch] (asCursor): remove
1522
1523         * lfuns.h: remove LFUN_INSET_EDIT
1524
1525         * lyxfunc.C:
1526         * tabular.C:
1527         * text.C:
1528         * text2.C:
1529         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1530
1531 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1532
1533         * lyxfind.[Ch]: complete overhaul
1534         * BufferView_pimpl.C:
1535         * lyxfunc.C: adjust
1536         * paragraph.[Ch] (insert): add
1537
1538 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1539
1540         * BufferView.[Ch]:
1541         * lyxtext.h:
1542         * text.C: remove dead spellcheck code
1543
1544 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1545
1546         * dispatchresult.h: add a val setter
1547
1548         * cursor.C (dispatch): use a tempvar for data_[i]
1549
1550 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * PosIterator.[Ch]: compile fix
1553
1554 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1555
1556         * text.C (cursorPar): deactivate the cursor cache
1557
1558 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1561
1562 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1563
1564         * text3.C (dispatch): adjust for new DisptchResult semantics.
1565
1566         * lyxfunc.C (dispatch): handle update when return from
1567         Cursor::dispatch, adjust for new DispatchResult semantics.
1568
1569         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1570         DispatchResult(true) mean to not update. Add class functions for
1571         setting dispatched and update, as well as reading.
1572
1573         * cursor.C (dispatch): don't handle update here
1574
1575 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1576
1577         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1578         * trans_mgr.C: adjust
1579
1580         * paragraph_funcs.C (readParToken): exception safety
1581
1582         * lyxvc.h: store the vcs pointer in a scoped_ptr
1583         * lyxvc.C: adjust
1584
1585         * lyxsocket.C (serverCallback): exception safety
1586
1587         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1588
1589         * ispell.C (clone): make it return a auto_ptr
1590
1591         * factory.C (createInset): exception safety
1592         (readInset): exception safety
1593
1594         * bufferlist.C (newBuffer): exception safety
1595
1596         * Thesaurus.C (Thesaurus): use initialization for aik_
1597
1598         * MenuBackend.C (expandToc): exception safety.
1599
1600 2003-11-03  André Pönitz  <poenitz@gmx.net>
1601
1602         * buffer.C:
1603         * buffer.h:
1604         * bufferview_funcs.C: remove getInsetFromId()
1605
1606         * lyxcursor.[Ch]:
1607         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1608
1609         * lyxfunc.C:
1610         * text2.C:
1611         * text3.C: adjust
1612
1613 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * PosIterator.C (distance, advance): new
1616         * bufferview_funcs.[Ch] (put_selection_at): new
1617         * iterators.[Ch] (lockPath): new
1618
1619 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * iterators.[Ch] (asPosIterator): added
1622         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1623         * PosIterator.[Ch]: added
1624
1625 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * text3.C:
1628         * lyxfunc.C:
1629         * cursor.C (dispatch):
1630         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1631
1632         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1633         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1634         contructor, add a class function dispatched. Remove operator>=
1635
1636 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * debug.C: only use the default constructor for debugstream
1639         (lyxerr) here.
1640
1641         * main.C (main): include debug.h and setup the lyxerr streambuf
1642         here.
1643
1644 2003-10-31  José Matos  <jamatos@lyx.org>
1645
1646         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1647
1648         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1649         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1650         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1651         * paragraph_pimpl.C (simpleTeXSpecialC):
1652         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1653         add LatexRunParams argument.
1654
1655         * exporter.C (Export): change call accordingly.
1656
1657         * latexrunparams.h: add new member to take care of the other backends.
1658 2003-10-30  José Matos  <jamatos@lyx.org>
1659
1660         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1661         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1662         factorise code for paragraph output.
1663         * buffer.[Ch]:
1664         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1665         move functions.
1666
1667 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1668
1669         * text3.C (dispatch):
1670         * lyxfunc.C (dispatch):
1671         * cursor.C (dispatch):
1672         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1673
1674         * dispatchresult.h: make the dispatch_result_t ctor explicit
1675
1676 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1677
1678         * sgml.[Ch]:
1679         * buffer.C: small refactoring of docbook stuff
1680
1681 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1682
1683         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1684         meaning.
1685
1686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1689         operator dispatch_result_t, and operators for == != and >=
1690
1691         * cursor.C (dispatch): adjust for operator dispatch_result_t
1692         removal. comment out call to update
1693
1694         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1695
1696 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1697
1698         * text3.C:
1699         * text2.C:
1700         * text.C:
1701         * lyxtext.h:
1702         * lyxfunc.C:
1703         * cursor.C:
1704         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1705         (dispatch):
1706
1707         * dispatchresult.h: new file, DispatchResult broken out of
1708         insets/insetbase.h
1709
1710         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1711
1712 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1713
1714         * text.C (rowBreakPoint): put a hack inside #if 0
1715
1716 2003-10-28  André Pönitz  <poenitz@gmx.net>
1717
1718         * lyxtext.h:
1719         * metricsinfo.C:
1720         * paragraph_funcs.C:
1721         * rowpainter.C:
1722         * text.C:
1723         * text2.C: general cleanup (lots of small stuff)
1724
1725 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1726
1727         * text2.C (cursorEnd): simple fix to the "end key goes to one
1728         before the end on last row" bug
1729
1730 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1731
1732         * text.C (backspace): fix the "zombie characters"
1733
1734 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1735
1736         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1737
1738 2003-10-27  André Pönitz  <poenitz@gmx.net>
1739
1740         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1741
1742         * factory.C: handle new InsetPagebreak, InsetLine
1743
1744         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1745         and move handling into new InsetPagebreak, InsetLine
1746
1747         * BufferView_pimpl.C:
1748         * LyXAction.C:
1749         * ParagraphParameters.C:
1750         * ParameterStruct.h:
1751         * lyxfunc.C:
1752         * lyxtext.h:
1753         * paragraph.C:
1754         * paragraph.h:
1755         * paragraph_funcs.C:
1756         * paragraph_pimpl.C:
1757         * rowpainter.C:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: adjust
1761
1762 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * text.C:
1765         * lyxrow_funcs.[Ch]:
1766         * Bidi.C:
1767         * paragraph.C:
1768         * lyxtext.h:
1769         * rowpainter.C:
1770         * text2.C:
1771         * text3.C: remove lastPos uses in favour of Row::endpos
1772
1773 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1774
1775         * undo.C (performUndoOrRedo): fix two crashes by setting a
1776         cursor by hand and reordering some calls. Use bv->lockInset instead
1777         of inset->edit because the latter loses cursor information
1778
1779 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1782         by Martin
1783         (rowBreakPoint): fix width. change point to point + 1.
1784         Add a missing check.
1785
1786 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1787
1788         * MenuBackend.C:
1789         * lyxfunc.C: fix (at least partly) the problems
1790         with the Nav menu and headers inside branch insets
1791         reported by Kayvan
1792
1793 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1794
1795         * paragraph.C (getChar): add strong asserts
1796
1797         * lyxrow_funcs.C (lastPos): remove hideous hack
1798
1799         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1800         (fill): adjust to that (avoid an infinite loop)
1801
1802 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1803
1804         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1805
1806 2003-10-23  André Pönitz  <poenitz@gmx.net>
1807
1808         * RowList_fwd.h: change list<> to vector<> to gain speed
1809         after suggestion from Alfredo
1810
1811 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1812
1813         * lyxtext.h: move the bidi stuff from here...
1814         * text.C: and here
1815         * text2.C: and here
1816         * Bidi.[Ch]: ... to here
1817
1818 2003-10-23  André Pönitz  <poenitz@gmx.net>
1819
1820         * lyxtext.h:
1821         * text.C (isLastRow, isFirstRow): new functions
1822
1823         * paragraph.h: new width cache member
1824
1825         * rowpainter.C: replace RowList::iterator with Row & where possible
1826
1827         * lyxfunc.C: replace several view()->text with a single call
1828
1829         * toc.C: fix 'unused' warning
1830
1831 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1832
1833         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1834         when woring with stream::pos_type
1835         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1836
1837 2003-10-22  André Pönitz  <poenitz@gmx.net>
1838
1839         * lyxtext.h:
1840         * text.C: use Row & instead of RowList::iterator
1841
1842         * lyxrow.h: rename end() to endpos()
1843
1844         * rowpainter.C:
1845         * text.C:
1846         * text2.C: adjust
1847
1848 2003-10-22  Angus Leeming  <leeming@lyx.org>
1849
1850         * buffer.[Ch] (fully_loaded): new member function, returning true
1851         only when the file has been loaded fully.
1852         Used to prevent the premature generation of previews and by the
1853         citation inset to prevent computation of the natbib-style label.
1854
1855         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1856         templates are all set up.
1857
1858         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1859
1860 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1861
1862         * text.C: fixed an "oops" in the "is a bit silly"
1863         bug fix
1864
1865 2003-10-21  André Pönitz  <poenitz@gmx.net>
1866
1867         * FuncStatus.[Ch]: small stuff, whitespace
1868
1869         * lyxfont.[Ch]: operator<<() for debug reasons
1870
1871         * lyxfunc.C:
1872         * lyxrow_funcs.C:
1873         * lyxtext.h: whitespace, spelling
1874
1875         * paragraph.C: naming of variables
1876
1877         * text.C:
1878         * text2.C: small stuff
1879
1880
1881 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1882
1883         * text.C: (1) finish off the inset display() work;
1884         (2) fix the "is a bit silly" bug (accessing char
1885         past end of par).
1886
1887 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1888
1889         * text.C: re-introduce display() for insets, fixing the
1890         various bugs (stretch of line above, math inset
1891         positioning, ...)
1892
1893 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * text.C (rightMargin): remove spurious semicolon
1896
1897         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1898         1415)
1899
1900 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1901
1902         * text3.C: fix one crash due to wrong cursor def
1903
1904 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * vc-backend.C (scanMaster): make the regex static
1907
1908         * LaTeX.C (scanAuxFile): make the regexs static
1909
1910         * text3.C (doInsertInset, dispatch, dispatch):
1911         * text2.C (cursorUp, cursorDown):
1912         * text.C (selectNextWordToSpellcheck):
1913         * BufferView_pimpl.C (dispatch):
1914         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1915
1916 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * lyxsocket.C: include <cerrno>
1919
1920 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * lyxfunc.C (dispatch): remove textcache stuff
1923
1924         * bufferlist.C (release): remove textcache stuff
1925         (closeAll): ditto
1926
1927         * TextCache.C: delete file
1928         * TextCache.h: delete file
1929
1930         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1931
1932         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1933         delete of the bv_->text.
1934         (resizeCurrentBuffer): remove texcache stuff
1935         (workAreaResize): ditto
1936
1937 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1938
1939         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1940         action.
1941
1942 2003-10-16  André Pönitz  <poenitz@gmx.net>
1943
1944         * lyxrow.[Ch]:
1945         * paragraph.h:
1946         * rowpainter.C:
1947         * text.C:
1948         * text2.C:
1949         * text3.C: speed up by storing y positions per paragraph plus per-row
1950         offset instead of having a 'full' y position in the row.
1951
1952 2003-10-15  André Pönitz  <poenitz@gmx.net>
1953
1954         * iterators.[Ch]:
1955         * iterators.[Ch]:
1956         * undo.[Ch]: make undo aware of inner insets
1957
1958 2003-10-14  Angus Leeming  <leeming@lyx.org>
1959
1960         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1961         static member functions LyX::ref() and LyX::cref.
1962         (lastfiles): new accessor functions for the new lastfiles_ member var.
1963         (addLyXView, views_): add a new LyXView to the list of views_.
1964         (updateInset): loop over all LyXViews to call their own updateInset
1965         member function, returning a pointer to the Buffer owning the inset.
1966
1967         * BufferView_pimpl.C (loadLyXFile):
1968         * MenuBackend.C (expandLastfiles):
1969         * bufferlist.C (MenuWrite, QuitLyX):
1970         lastfiles is no longer a global variable.
1971         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1972
1973         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1974         static function. Access through LyX::cref().emergencyCleanup().
1975
1976 2003-10-14  André Pönitz  <poenitz@gmx.net>
1977
1978         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1979
1980         * undo.[Ch]: restoring part of 'undo in insets'
1981
1982         * Makefile.am:
1983         * undo_funcs.[Ch]: merge with undo.[Ch]
1984
1985         * tabular.C: small cleansing stuff
1986
1987 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1988
1989         * paragraph_funcs.C (readParToken): report unknown insets as error
1990         boxes. Use the outer paragraph as location (also for unknown
1991         tokens).
1992
1993         * factory.C (readInset): do not abort on reading an unknown inset.
1994         Eat it and return 0.
1995
1996 2003-10-13  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1999
2000         * lyxrc.C: displayTranslator is now a function,
2001         declared in GraphicsTypes.h.
2002
2003 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2004
2005         * format.C: new placeholder $$a to pass the socket address.
2006
2007         * bufferlist.[Ch]: new function getBufferFromTmp.
2008
2009         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2010           files in the temporary dir.
2011
2012 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2013
2014         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2015
2016         * Makefile.am: add lyxsocket.[Ch].
2017
2018         * lyx_main.C (error_handler): handle SIGPIPE.
2019
2020 2003-10-13  André Pönitz  <poenitz@gmx.net>
2021
2022         * BufferView_pimpl.C:
2023         * lyxtext.h:
2024         * text.C:
2025         * text2.C:
2026         * text3.C:
2027         * undo_funcs.[Ch]: use paroffset_type instead of
2028           ParagraphList::iterators to prevent multiple conversion
2029           (and get a more robust interface)
2030
2031 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2032
2033         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2034         * lyxtext.h: ditto
2035         * text3.C (dispatch): ditto
2036
2037 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2040         move the onlyfile, use onlyfile instead of foundfile in a couple
2041         of places.
2042
2043         * DepTable.C (update): flush the error stream a bit more
2044
2045 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2046
2047         * lyxserver.C (callback): adjust
2048
2049         * lyxfunc.C (getStatus): add a missing brace in commented code
2050         (ensureBufferClean): reindent
2051         (dispatch): delete version taking a string
2052
2053 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2054
2055         * LaTeX.C (deplog): move found file handlig from here...
2056         (handleFoundFile): .. to new function here.
2057         (deplog): make sure to discover several files mentioned on the
2058         same log line.
2059
2060 2003-10-10  André Pönitz  <poenitz@gmx.net>
2061
2062         * lyxfunc.C:
2063         * lyxtext.h:
2064         * tabular.C:
2065         * text.C:
2066         * text2.C:
2067         * text3.C: fix some of the tabular crashes
2068
2069 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2070
2071         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2072
2073         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2074
2075 2003-10-09  André Pönitz  <poenitz@gmx.net>
2076
2077         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2078
2079         * BufferView.C:
2080         * BufferView_pimpl.C:
2081         * bufferview_funcs.C:
2082         * lyx_cb.C:
2083         * lyxcursor.C:
2084         * lyxfind.C:
2085         * lyxfunc.C:
2086         * lyxtext.h:
2087         * text.C:
2088         * text2.C:
2089         * text3.C:
2090         * text_funcs.[Ch]:
2091         * textcursor.[Ch]:
2092         * undo_funcs.C: adjust
2093
2094 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * text2.C (incrementItemDepth): new function, use a backtracking
2097         algorithm to discover the correct item depth.
2098         (resetEnumCounterIfNeeded): new function, use a backtracking
2099         algorithm to discover if counter reset is needed.
2100         (setCounter): use them. Simplify a bit. Add different labels for
2101         different item depths for itemize.
2102
2103         * paragraph.C (Paragraph): remove initialization of enumdepth
2104         (operator=): ditto
2105
2106         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2107         enumerate and itemize. Change the type of itemdepth to signed char.
2108
2109 2003-10-08  André Pönitz  <poenitz@gmx.net>
2110
2111         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2112           thing assignable.
2113         * text.C:
2114         * text2.C: adjust
2115
2116         * tabular.[Ch]: fix crash after 'row-insert'
2117
2118 2003-10-08  Angus Leeming  <leeming@lyx.org>
2119
2120         Fix doxygen warnings.
2121
2122         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2123         Remove CutAndPaste:: prefix from header file declaration.
2124
2125         * LColor.h (fill): remove LColor:: prefix from declaration.
2126
2127         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2128         use lyx::depth_type rather than Paragraph::depth_type so that
2129         header file and .C file match.
2130
2131         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2132
2133         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2134         * aspell.C: \file aspell_local.C -> \file aspell.C
2135         * gettext.C: \file gettext.C -> \file src/gettext.C
2136         * gettext.h: \file gettext.h -> \file src/gettext.h
2137         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2138         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2139         * text.C: \file text.C -> \file src/text.C
2140
2141         * toc.C: move comment so that doxygen is not confused.
2142
2143 2003-10-07  Angus Leeming  <leeming@lyx.org>
2144
2145         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2146
2147 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2148
2149         * aspell.C:
2150         * aspell_local.h: add forgotten std::string's.
2151
2152 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2153
2154         * LaTeXFeatures.C:
2155         * LyXAction.C:
2156         * factory.C:
2157         * lfuns.h:
2158         * lyxfunc.C:
2159         * text3.C: The Box patch. Fancybox support, minipage, parbox
2160
2161 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2162
2163         * CutAndPaste.h:
2164         * DepTable.h:
2165         * FloatList.h:
2166         * LaTeXFeatures.h:
2167         * ParagraphParameters.h:
2168         * TextCache.h:
2169         * Thesaurus.h:
2170         * bufferlist.h:
2171         * exporter.h:
2172         * importer.h:
2173         * lastfiles.h:
2174         * lyxfind.h:
2175         * lyxfont.h:
2176         * lyxlex.h:
2177         * lyxtextclasslist.h:
2178         * messages.h:
2179         * paragraph.h:
2180         * paragraph_pimpl.C:
2181         * textcursor.h: add <string> and other small fixes to make Lars'
2182         std::string patch compile with STLport.
2183
2184 2003-10-06  Angus Leeming  <leeming@lyx.org>
2185
2186         * LColor.h: Add missing #include <string>.
2187
2188 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * All most all file in all subdirs: Make <string> be the prefered
2191         way of getting to std::string, add using declarations.
2192
2193 2003-10-06  André Pönitz  <poenitz@gmx.net>
2194
2195         * metricsinfo.C: initialize LyXFont before changing attribute.
2196         (fixes the 'math in \emph is upright' bug)
2197
2198 2003-10-06  André Pönitz  <poenitz@gmx.net>
2199
2200         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2201
2202 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2203
2204         * graph.C:
2205         * paragraph_pimpl.C: Small fixes to build using STLport
2206
2207 2003-10-02  André Pönitz  <poenitz@gmx.net>
2208
2209         * lyxfunc.C:
2210         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2211
2212 2003-10-01  André Pönitz  <poenitz@gmx.net>
2213
2214         * factory.C: assert early
2215
2216 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * lyx_main.C: remove the global debug object
2219
2220         * debug.h: adjust for new debugstream
2221
2222         * debug.C: adjust for new debugstream and keep the global debug
2223         object here.
2224
2225 2003-09-22  Angus Leeming  <leeming@lyx.org>
2226
2227         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2228         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2229         an incomplete class LyXFont.
2230
2231 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2232
2233         * factory.C: bug fix in branches
2234
2235 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2236
2237         * lyxfunc.C (processKeySym): adjust
2238         (dispatch): adjust
2239         (dispatch): change arg name from ev to func, adjust
2240         (sendDispatchMessage): ditto
2241
2242         * lyx_main.C (defaultKeyBindings): adjust keybindings
2243         (deadKeyBindings): ditto
2244
2245         * kbsequence.C (addkey): return a FuncRequest
2246
2247         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2248
2249         * kbmap.C (bind): take a FuncRequest as arg, adjust
2250         (read): adjust
2251         (lookup): adjust
2252         (defkey): change to take a FuncRequest as arg, adjust
2253         (findbinding): take a FuncRequest as arg, adjust.
2254
2255         * funcrequest.h (operator=): added
2256
2257         * funcrequest.C (FuncRequest): default kb_action changed from
2258         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2259
2260         * buffer.C (dispatch): simplify
2261         (dispatch): adjust to take a FuncRequest as arg, adjust
2262
2263         * boost.C (assertion_failed): change assertion message slightly
2264
2265         * ToolbarBackend.C (read): simplify
2266
2267         * MenuBackend.C (binding): adjust call to findbinding, add a
2268         message if no binding is found.
2269         (read): simplify
2270         (expandToc): correct by adding a empty FuncRequest
2271
2272         * LyXAction.C: include <boost/assert.hpp>
2273         (isPseudoAction): delete function
2274         (LookupFunc): change name to...
2275         (lookupFunc): this. change return type to FuncRequest.
2276         (getActionName): take kb_action as arg, simplify
2277         (funcHasFlag): add an assert, simplify.
2278
2279 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * toc.C (action): return a FuncRequest, simplify
2282
2283         * lyxfunc.C (processKeySym): adjust
2284         (getStatus): delete version that takes an int.
2285         (getStatus): adjust
2286         (dispatch): delete version that takes action as int
2287         (dispatch): adjust
2288         (sendDispatchMessage): simplify and adjust
2289
2290         * funcrequest.C (getArg): take unsigned int as arg
2291
2292         * ToolbarBackend.C (read): adjust
2293         (add): delete version that takes func as a string.
2294         (getIton): take a FuncRequest as arg
2295
2296         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2297         action.
2298
2299         * MenuBackend.C (MenuItem): add a new construct that only takes a
2300         Kind, simplify the constructor use for submenus.
2301         (add): adjust
2302         (expandLastfiles): adjust
2303         (expandDocuments): adjust
2304         (expandFormats): adjust
2305         (expandFloatListInsert): adjust
2306         (expandFloatInsert): adjust
2307         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2308
2309         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2310         Remove class variables lyx_pseudo_map and lyx_arg_map
2311
2312         * LyXAction.C (searchActionArg): delete function
2313         (getPseudoAction): delete function
2314         (retrieveActionArg): delete function
2315         (LookupFunc): make it return kb_action, simplify.
2316         (getActionName): simplify
2317
2318         * factory.C (createInset): fix new bug
2319
2320 2003-09-19  Angus Leeming  <leeming@lyx.org>
2321
2322         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2323         masterFilename_ parameter in the include inset.
2324
2325         * factory.C (createInset): changes due to the changes to InsetInclude.
2326
2327 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2328
2329         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2330
2331 2003-09-18  Angus Leeming  <leeming@lyx.org>
2332
2333         * buffer.C:
2334         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2335         Inset::fillWithBibKeys.
2336         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2337
2338 2003-09-18  Angus Leeming  <leeming@lyx.org>
2339
2340         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2341         variables.
2342         (ctor): pass and store a 'Buffer const &'
2343         (buffer): new member function.
2344
2345         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2346         '*this' to the LaTeXFeatures ctor.
2347
2348 2003-09-18  Angus Leeming  <leeming@lyx.org>
2349
2350         * LColor.h:
2351         * lyxfont.C:
2352         * lyxfont.h:
2353         * lyxtext.h:
2354         * text.C: rename EnumLColor as LColor_color.
2355
2356 2003-09-18  Angus Leeming  <leeming@lyx.org>
2357
2358         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2359         remove #include "insets/insetbase.h" from cursor.h.
2360
2361 2003-09-18  Angus Leeming  <leeming@lyx.org>
2362
2363         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2364         InsetOld_code to remove #include "inset.h".
2365
2366         * iterators.C: add #include "insets/inset.h"
2367
2368 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2369
2370         * BufferView.C: remove more locking stuff that apparently doesn't
2371         do anything sensible.
2372
2373 2003-09-16  André Pönitz  <poenitz@gmx.net>
2374
2375         * paragraph.[Ch]:
2376         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2377           performance boost.
2378
2379 2003-09-16  Angus Leeming  <leeming@lyx.org>
2380
2381         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2382
2383         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2384         arg/return type.
2385
2386         * paragraph.h: remove #include "lyxfont.h". Forward declare
2387         LyXFont_size.
2388
2389 2003-09-16  Angus Leeming  <leeming@lyx.org>
2390
2391         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2392         of support/textutils.h.
2393         (isWord): move the contents of support/textutils.h's IsWordChar here.
2394
2395         * buffer.C:
2396         * lyxfind.C:
2397         * rowpainter.C:
2398         * text.C:
2399         * text2.C: add #include "paragraph.h".
2400
2401         * rowpainter.C:
2402         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2403
2404 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * main.C:
2407         * lyx_main.C:
2408         * lyx_cb.C:
2409         * buffer.C:
2410         * LaTeX.C: use namespace alias for lyx::support::os
2411
2412 2003-09-16  Angus Leeming  <leeming@lyx.org>
2413
2414         * bufferparams.C:
2415         * bufferview_funcs.C:
2416         * factory.C:
2417         * lyxfunc.C:
2418         * paragraph_pimpl.C:
2419         * rowpainter.C:
2420         * text.C: add #include "LColor.h".
2421
2422 2003-09-16  Angus Leeming  <leeming@lyx.org>
2423
2424         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2425         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2426         return LyXFont &.
2427         Store the FontBits::color variable as an int rather than as an
2428         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2429         file.
2430
2431         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2432         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2433         string calls together.
2434
2435         * lyxrc.C: add #include "LColor.h".
2436
2437 2003-09-15  Angus Leeming  <leeming@lyx.org>
2438
2439         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2440         a cow_ptr.
2441
2442 2003-09-15  Angus Leeming  <leeming@lyx.org>
2443
2444         * LColor.h: add an EnumLColor wrapper for LColor::color.
2445
2446         * lyxfont.[Ch] (color, setColor, realColor):
2447         * lyxtext.h, text.C (backgroundColor):
2448         pass EnumLColor args to/from the functions, rather than LColor::color
2449         ones.
2450
2451         * lyxfont.h:
2452         * lyxtext.h: forward declare EnumLColor.
2453
2454         * lyx_main.C: add #include "LColor.h".
2455
2456 2003-09-15  Angus Leeming  <leeming@lyx.org>
2457
2458         * .cvsignore: add lyx-gtk.
2459
2460 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * Chktex.C
2463         * LaTeX.C
2464         * LaTeXFeatures.C
2465         * ParagraphParameters.C
2466         * Spacing.C
2467         * buffer.C
2468         * bufferparams.C
2469         * bufferview_funcs.C
2470         * chset.C
2471         * counters.C
2472         * funcrequest.C
2473         * lyxfont.C
2474         * lyxgluelength.C
2475         * lyxlength.C
2476         * paragraph.C
2477         * paragraph_funcs.C
2478         * text3.C
2479         * vc-backend.C: remove usage of STRCONV
2480
2481 2003-09-15  Angus Leeming  <leeming@lyx.org>
2482
2483         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2484         explicitly define the color passed to the painter.
2485
2486 2003-09-15  Angus Leeming  <leeming@lyx.org>
2487
2488         * bufferparams.C (BufferParams): reorder member initializers to avoid
2489         compiler warning.
2490
2491 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2494         * text.C (updateRowPositions): remove an unusual nop
2495
2496 2003-09-12  André Pönitz  <poenitz@gmx.net>
2497
2498         * BufferView_pimpl.C:
2499         * Bullet.C:
2500         * layout.h:
2501         * lyxfunc.C:
2502         * lyxlayout.[Ch]:
2503         * lyxtextclass.C:
2504         * rowpainter.C:
2505         * text.C:
2506         * text2.C:
2507         * Counters.[Ch]: finish the 'automatic counters' job
2508
2509 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2510
2511         * aspell.C: include <boost/assert.cpp> (compile fix)
2512
2513 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2514
2515         * boost.C (assertion_failed): use lyx::support::abort instead of
2516         assert.
2517
2518 2003-09-10  Angus Leeming  <leeming@lyx.org>
2519
2520         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2521         with their _fwd progeny.
2522
2523 2003-09-09  Angus Leeming  <leeming@lyx.org>
2524
2525         134 files throughtout the source tree: replace 'using namespace abc;'
2526         directives with the appropriate 'using abc::xyz;' declarations.
2527
2528 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2529
2530         * boost.C (emergencyCleanup): moved here from LAssert.c
2531         (assertion_failed): new function, called by BOOST_ASSERT
2532
2533         * several files: change Assert to BOOST_ASSERT
2534
2535 2003-09-09  Angus Leeming  <leeming@lyx.org>
2536
2537         * buffer.[Ch]: Add an Impl class and move Buffer's member
2538         variables into it. As a result move several header files out of
2539         buffer.h.
2540
2541         Add header files to lots of .C files all over the tree as a result.
2542
2543 2003-09-09  Angus Leeming  <leeming@lyx.org>
2544
2545         * buffer.[Ch]: make Buffer's member variables private. Add
2546         accessor functions.
2547
2548         Lots of changes all over the tree as a result.
2549
2550 2003-09-08  Angus Leeming  <leeming@lyx.org>
2551
2552         * graph.C: #include <config.h>.
2553
2554 2003-09-08  Angus Leeming  <leeming@lyx.org>
2555
2556         * BranchList.C:
2557         * BufferView.C:
2558         * BufferView_pimpl.C:
2559         * CutAndPaste.C:
2560         * DepTable.C:
2561         * LaTeX.C:
2562         * LaTeXFeatures.C:
2563         * LyXAction.C:
2564         * MenuBackend.C:
2565         * TextCache.C:
2566         * aspell.C:
2567         * buffer.C:
2568         * bufferlist.C:
2569         * changes.C:
2570         * chset.C:
2571         * converter.C:
2572         * counters.C:
2573         * debug.C:
2574         * graph.C:
2575         * ispell.C:
2576         * lyx_cb.C:
2577         * lyxfind.C:
2578         * lyxfunc.C:
2579         * lyxlex_pimpl.C:
2580         * lyxrc.C:
2581         * lyxrow.C:
2582         * paragraph.C:
2583         * rowpainter.C:
2584         * texrow.C:
2585         * text.C:
2586         * text2.C:
2587         * toc.C: remove redundant using directives.
2588
2589 2003-09-07  Angus Leeming  <leeming@lyx.org>
2590
2591         * LaTeXFeatures.h: remove #include "support/types.h".
2592         * ToolbarBackend.h: remove #include <algorithm>.
2593         * changes.h: remove #include <ctime>.
2594         * debug.h: remove #include <iosfwd>.
2595         * graph.h: remove #include "support/std_string.h".
2596         * lyx_main.h: remove #include <csignal>.
2597         * lyxlex_pimpl.h: remove #include <fstream>.
2598         * sgml.h: remove #include <algorithm>, <utility>.
2599         * toc.h: remove #include "support/std_ostream.h".
2600         Add #include <iosfwd>.
2601
2602 2003-09-07  Angus Leeming  <leeming@lyx.org>
2603
2604         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2605
2606         * converter.h: forward declare LatexRunParams.
2607         * encoding.h: remove #include "lyxrc.h".
2608         * lyxtext.h: remove #include "LColor.h".
2609         * lyxtextclass.h: remove #include "support/types.h".
2610         * trans.h: remove #include "tex-accent.h".
2611         * trans_mgr.h: remove #include "tex-accent.h".
2612         * insets/inset.h: remove #include "support/types.h", <vector>.
2613         * insets/insetcollapsable.h: remove #include "LColor.h".
2614         * insets/insetinclude.h: remove #include "dimension.h".
2615         * insets/insetlatexaccent.h: remove #include "dimension.h".
2616         * insets/insetoptarg.h:: remove #include "insettext.h".
2617         * insets/insettext.h: remove #include "dimension.h",
2618         <boost/shared_ptr.hpp>
2619
2620         * insets/renderers.h: add #include "dimension.h".
2621         * insets/updatableinset.h: add #include "support/types.h".
2622
2623         * many .C files: Associated changes.
2624
2625 2003-09-06  Angus Leeming  <leeming@lyx.org>
2626
2627         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2628         one, inside testInvariant.
2629
2630         * PrinterParams.C: new file.
2631         * PrinterParams.[Ch]: move the function bodies out of line.
2632
2633 2003-09-06  Angus Leeming  <leeming@lyx.org>
2634
2635         * ParagraphParameters.h: forward declare ParameterStruct rather than
2636         including its header file.
2637         (depth): moved out-of-line.
2638
2639 2003-09-06  Angus Leeming  <leeming@lyx.org>
2640
2641         * BufferView_pimpl.h:
2642         * kbmap.h:
2643         * kbsequence.h:
2644         * lyxfunc.h: forward declare LyXKeySym rather than
2645         #include "frontends/LyXKeySym.h".
2646
2647         * BufferView_pimpl.C:
2648         * kbmap.C:
2649         * kbsequence.C:
2650         * lyxfunc.C: associated changes.
2651
2652 2003-09-06  Angus Leeming  <leeming@lyx.org>
2653
2654         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2655         As a result, can remove the #include "insets/inset.h" from BufferView.h
2656
2657 2003-09-06  Angus Leeming  <leeming@lyx.org>
2658
2659         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2660         As a result, can remove the #include "insets/inset.h" from BufferView.h
2661
2662 2003-09-06  Angus Leeming  <leeming@lyx.org>
2663
2664         * buffer_funcs.C:
2665         * buffer.h:
2666         * bufferlist.C:
2667         * BufferView.C:
2668         * bufferview_funcs.C:
2669         * BufferView_pimpl.C:
2670         * CutAndPaste.C:
2671         * lyx_cb.C:
2672         * lyxfunc.C:
2673         * paragraph.h:
2674         * ParagraphParameters.C:
2675         * tabular.C:
2676         * text3.C:
2677         * toc.C:
2678         * undo_funcs.C:
2679         * frontends/controllers/ControlDocument.C:
2680         * insets/insetcaption.C: rearrange the #includes into some sort of
2681         coherent order.
2682
2683         * buffer.h: remove #includes ErrorList.h, undo.h
2684
2685 2003-09-06  Angus Leeming  <leeming@lyx.org>
2686
2687         * support/types.h: add a 'depth_type' typedef, used to store the
2688         nesting depth of a paragraph.
2689
2690         * paragraph.h:
2691         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2692         defining explicitly.
2693
2694         * buffer.h:
2695         * paragraph_funcs.h:
2696         * ParagraphParameters.h:
2697         * sgml.h: use lyx::depth_type rather than Paragraph or
2698         ParameterStruct's depth_type.
2699
2700         * buffer.h
2701         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2702
2703         * BufferView.C:
2704         * BufferView_pimpl.C:
2705         * CutAndPaste.C:
2706         * ParagraphParameters.C:
2707         * buffer_funcs.C:
2708         * bufferlist.C:
2709         * bufferview_funcs.C:
2710         * lyx_cb.C:
2711         * lyxfunc.C:
2712         * tabular.C:
2713         * text3.C:
2714         * toc.C:
2715         * undo_funcs.C:
2716         * frontends/LyXView.C:
2717         * frontends/controllers/ControlDocument.C:
2718         * frontends/controllers/ControlErrorList.C:
2719         * insets/insetbibitem.C:
2720         * insets/insetbranch.C:
2721         * insets/insetcaption.C:
2722         * insets/insetcollapsable.C:
2723         * insets/insetenv.C:
2724         * insets/insetert.C:
2725         * insets/insetfloat.C:
2726         * insets/insetfoot.C:
2727         * insets/insetfootlike.C:
2728         * insets/insetnewline.C:
2729         * insets/insetquotes.C:
2730         * insets/insettabular.C:
2731         * insets/insettext.C:
2732         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2733
2734         * frontends/controllers/ControlChanges.C: #include "changes.h".
2735
2736 2003-09-06  Angus Leeming  <leeming@lyx.org>
2737
2738         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2739         than #including paragraph.h.
2740
2741         * ParagraphList.h:
2742         * RowList.h: deleted. Superfluous.
2743
2744         * CutAndPaste.h:
2745         * iterators.h:
2746         * lyxcursor.h:
2747         * lyxtext.h:
2748         * text_funcs.h:
2749         * undo.h:
2750         * undo_funcs.h:
2751         * insets/inset.h:
2752         * insets/insettext.h: use ParagraphList_fwd.h rather than
2753         ParagraphList.h.
2754
2755         * paragraph.h: don't forward declare ParagraphList.
2756
2757         * buffer.h:
2758         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2759         rather than ParagraphList.h. paragraph.h is still needed for the
2760         Paragraph::depth_type parameters.
2761
2762         * textcursor.h: enable it to compile stand-alone in light of the
2763         above changes.
2764
2765         * bufferview_funcs.C:
2766         * iterators.C:
2767         * lyxfunc.C:
2768         * lyxrow_funcs.C:
2769         * paragraph.C:
2770         * rowpainter.C:
2771         * text.C:
2772         * text2.C:
2773         * text3.C:
2774         * text_funcs.C:
2775         * textcursor.C:
2776         * undo.C:
2777         * frontends/controllers/ControlParagraph.C:
2778         * frontends/controllers/ControlTabular.C:
2779         * insets/insetmarginal.C:
2780         * insets/insetminipage.C:
2781         * insets/insetnote.C:
2782         * insets/insetoptarg.C: add header files needed to compile again.
2783
2784 2003-09-06  Angus Leeming  <leeming@lyx.org>
2785
2786         * RowList_fwd.h: new file, forward-declaring Row rather than
2787         #including lyxrow.h.
2788
2789         * lyxrow_funcs.h:
2790         * lyxtext.h:
2791         * paragraph.h:
2792         * insets/insettext.h: use it instead of RowList.h
2793
2794         * bufferview_funcs.C:
2795         * lyxfunc.C:
2796         * lyxrow_funcs.C:
2797         * paragraph.C:
2798         * rowpainter.C:
2799         * text.C:
2800         * text2.C:
2801         * text3.C: #include "RowList.h".
2802
2803 2003-09-05  Angus Leeming  <leeming@lyx.org>
2804
2805         * factory.C (createInset):
2806         * vspace.C (c-tor): replace sscanf call with an istringstream.
2807         * ispell.C: re-add missing HP/UX headers.
2808         * lyxserver.C: re-add missing  os2 headers.
2809
2810 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2811
2812         * BranchList.C:
2813         * graph.C:
2814         * ispell.C:
2815         * lastfiles.C:
2816         * lyx_cb.C:
2817         * lyxserver.C:
2818         * texrow.C:
2819         * text3.C: re-add missing system headers, needed for 2.95.2.
2820
2821 2003-09-05  Angus Leeming  <leeming@lyx.org>
2822
2823         Changes most place everywhere due to the removal of using directives
2824         from support/std_sstream.h.
2825
2826 2003-09-05  Angus Leeming  <leeming@lyx.org>
2827
2828         Replace LString.h with support/std_string.h,
2829         Lsstream.h with support/std_sstream.h,
2830         support/LIstream.h with support/std_istream.h,
2831         support/LOstream.h with support/std_ostream.h.
2832
2833         Changes resulting throughout the tree.
2834
2835 2003-09-05  Angus Leeming  <leeming@lyx.org>
2836
2837         * sgml.h: ensure that the header file can be compiled stand-alone.
2838         * *.C: strip out redundant #includes. (320 in total.)
2839
2840 2003-09-04  Angus Leeming  <leeming@lyx.org>
2841
2842         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2843         here (from getPackages).
2844
2845         * debug.[Ch]: add a new EXTERNAL tag.
2846
2847 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2848
2849         * text2.C (cursorEnd): simplify
2850         (setCursor): adjust
2851         (getColumnNearX): adjust
2852
2853         * text.C (computeBidiTables): adjust
2854         (fill): adjust
2855
2856         * rowpainter.C (paintChars): adjust
2857         (paintSelection): adjust
2858         (paintChangeBar): adjust
2859         (paintText): adjust
2860
2861         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2862         lastPos instead.
2863         (numberOfSeparators): adjust
2864
2865 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2866
2867         * LyXAction.C:
2868         * box.[Ch]:
2869         * lfuns.h:
2870         * lyxfunc.C:
2871         * text3.C: Restricts the mouse click functionality
2872         of insets like bibtex, include, toc and floatlist to the visible
2873         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2874         up the dialogs. Cursor has to be in front of the inset (i.e.
2875         start of row) for this to function.
2876
2877 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2878
2879         * bufferview_funcs.C (currentState): output row information
2880
2881 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2882
2883         * bufferview_funcs.C (currentState): output paragraph position
2884
2885 2003-09-04  Angus Leeming  <leeming@lyx.org>
2886
2887         * FloatList.h: move out #include "Floating.h".
2888         * LaTeX.h: move out #include "DepTable.h".
2889         * LyXAction.h: move out #include "funcrequest.h".
2890         * buffer.h: move out #include "author.h", "iterators.h".
2891         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2892         * lyx_main.h: move out #include "errorlist.h".
2893         * lyxfunc.h: move out #include "FuncStatus.h".
2894         * lyxtext: move out #include "lyxcursor.h".
2895         * paragraph_pimpl.h: move out #include "counters.h".
2896
2897 2003-09-03  Angus Leeming  <leeming@lyx.org>
2898
2899         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2900         preamble_snippets list, enabling us to add snippets to the preamble
2901         only if the snippet was not there already.
2902
2903 2003-09-04  Angus Leeming  <leeming@lyx.org>
2904
2905         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2906
2907 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2910         update
2911
2912 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2913
2914         * BranchList.C: point fix, earlier forgotten
2915
2916 2003-09-02  Angus Leeming  <leeming@lyx.org>
2917
2918         * box.C (contains): renamed from 'contained' after a fantastic
2919         amount of hot air.
2920
2921 2003-09-02  John Levon  <levon@movementarian.org>
2922
2923         * BufferView.C:
2924         * lyxcursor.h:
2925         * lyxcursor.C:
2926         * lyxfunc.C:
2927         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2928
2929 2003-09-02  John Levon  <levon@movementarian.org>
2930
2931         * text2.C: simplification of cursorEnd(), including partial
2932         fix for bug 1376
2933
2934 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * buffer.C (readFile): add a space
2937
2938 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2941
2942 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * buffer.C (readFile): new function, take a filename and a
2945         ParagraphList::iterator
2946         (readFile): adjust
2947         (readFile): adjust, make it private. don't use setStream, make
2948         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2949         always contain the filename.
2950
2951         * BufferView.C (insertLyXFile): simplify and make it work for
2952         gzipped files.
2953
2954 2003-08-30  John Levon  <levon@movementarian.org>
2955
2956         * Makefile.am: fix dist (from Kayvan)
2957
2958 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * most files: change to use const Buffer refs
2961
2962 2003-08-27  André Pönitz  <poenitz@gmx.net>
2963
2964         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2965         on top of ownerPar().
2966
2967 2003-08-27  John Levon  <levon@movementarian.org>
2968
2969         * funcrequest.C: properly initialise POD members
2970
2971 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * lyxtext.h (top_y): move top_y from here
2974         * text.C:
2975         * text2.C:
2976         * text3.C:
2977         * BufferView.[Ch]:
2978         * BufferView_pimpl.[Ch]: to here
2979         * frontends/screen.C:
2980         * insets/insettabular.C:
2981         * insets/insettext.C: adjust
2982         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2983
2984 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2985
2986         * BufferView.[Ch]:
2987         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2988
2989 2003-08-26  André Pönitz  <poenitz@gmx.net>
2990
2991         * paragraph_func.[Ch] (outerPar): new function
2992
2993         * paragraph.C:
2994         * paragraph_funcs.C:
2995         * paragraph_funcs.h:
2996         * paragraph_pimpl.C:
2997         * text2.C: remove Inset::par_owner
2998
2999 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3000
3001         * lyxrow_funcs.C:
3002         * lyxtext.h:
3003         * text.C:
3004         * text2.C: eliminates the needFullRow/display() stuff
3005         altogether, putting the logic in metrics/draw in the insets.
3006
3007 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * text2.C (redoParagraphInternal, redoParagraphs):
3010         * text.C (redoParagraph): add a call to updateRowPositions at the
3011         end of each 'metrics-like' call. Remove all others.
3012         (getRow): remove the 'y-computing' version.
3013         (getRowNearY): do not compute nor return the real y. Solve the
3014         'y < 0' problem and simplify.
3015
3016 2003-08-22  Angus Leeming  <leeming@lyx.org>
3017
3018         * *.[Ch]: clean-up of licence and author blurbs.
3019         Also move config.h out of a few .h files and into a few .C files.
3020
3021 2003-08-22  André Pönitz  <poenitz@gmx.net>
3022
3023         * lyxrow.[Ch]: add x_ and *fill_ members
3024
3025         * lyxtext.h:
3026         * text.C:
3027         * rowpainter.C:
3028         * text2.C: adjust/remove prepareToPrint() calls
3029
3030 2003-08-22  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxrow.[Ch]: add  end_ member
3033
3034         * lyxrow_funcs.C: use LyXRow::end_
3035
3036         * lyxtext.h (singleWidth): add LyXFont parameter
3037
3038         * rowpainter.C:
3039         * text2.C: adjust LyXText::singleWidth() calls
3040
3041         * text.C (redoParagraph): simplify row breaking logic
3042
3043
3044 2003-08-19  André Pönitz  <poenitz@gmx.net>
3045
3046         * funcrequest.C: initialize button_ member
3047
3048         * text3.C:
3049         * rowpainter.[Ch]: interface consolidation
3050
3051 2003-08-18  André Pönitz  <poenitz@gmx.net>
3052
3053         * BufferView.C:
3054         * BufferView_pimpl.C:
3055         * lyxfind.C:
3056         * paragraph_funcs.C:
3057         * rowpainter.C:
3058         * text3.C: remove LyXScreen::draw() and fitCursor calls
3059
3060         * BranchList.h: remove spurious semicolons
3061
3062         * MenuBackend.C: fix branchlist related crash
3063
3064 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3065
3066         * BranchList.[Ch]:
3067         * InsetList.[Ch]:
3068         * LColor.[Ch]:
3069         * LyXAction.C:
3070         * Makefile.am:
3071         * MenuBackend.[Ch]:
3072         * bufferparams.[Ch]:
3073         * factory.C:
3074         * lfuns.h:
3075         * lyxfunc.C:
3076         * text3.C: implements the 'branch inset'
3077         idea. This allows the output of various versions of a document
3078         from a single source version, selectively outputing or suppressing
3079         output of parts of the text.
3080         This implementation contains a 'branch list editor' in a separate
3081         tab of the document settings dialog. Branches are user definable
3082         and have a "display colour" to distinguish them on-screen.
3083
3084         ColorHandler was somewhat cleaned up.
3085         (1) make possible a dynamically growing LColor list by allowing
3086         the graphic context cache to grow along (vector);
3087         (2) eliminate an IMHO unnecessary step in colour allocation.
3088
3089 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3090
3091         * BufferView_pimpl.C: compile fix
3092
3093 2003-08-15  André Pönitz  <poenitz@gmx.net>
3094
3095         * rowpainter.C: remove extra metrics calls
3096
3097         * lyxtext.h: merge the two constructors into a single one,
3098           pass reference to owner's par list
3099
3100         * BufferView_pimpl.C:
3101         * text.C:
3102         * text2.C: adjust
3103
3104 2003-08-15  André Pönitz  <poenitz@gmx.net>
3105
3106         * lyxrow_funcs.[Ch]:
3107         * lyxtext.h:
3108         * paragraph.h:
3109         * paragraph_funcs.C:
3110         * rowpainter.C:
3111         * text.C:
3112         * text2.C:
3113         * text3.C:
3114         * text_funcs.C: split LyXText::rowlist_ into individual
3115         Paragraph::rows_ chunks
3116
3117         * BufferView.[Ch]:
3118         * BufferView_pimpl.[Ch]:
3119         * lyxfind.C:
3120         * lyxtext.h:
3121         * text3.C: remove toggleSelection()
3122
3123 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3124
3125         * bufferlist.C: beautify two alerts (shorter text of buttons)
3126         * buffer.C: Remove redundant ' ' from message
3127         * tabular.h:
3128         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3129         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3130         rename VALIGN_CENTER to VALIGN_MIDDLE
3131
3132 2003-08-11  André Pönitz  <poenitz@gmx.net>
3133
3134         * lyxtext.h (getPar):
3135         * text.C: new function
3136
3137 2003-08-11  André Pönitz  <poenitz@gmx.net>
3138
3139         * Makefile.am:
3140         * tracer.[Ch]: remove unneeded files
3141
3142         * InsetList.[Ch]: remove resizeInsetsLyXText()
3143
3144         * lyxtext.h:
3145         * text.C:
3146         * text2.C:
3147         * text3.C: merge insertParagraphs() and appendParagraph()
3148         remove breakAgain(), update()
3149
3150         * BufferView_pimpl.[Ch]:
3151         * bufferview_funcs.[Ch]:
3152         * lyxfunc.C:
3153         * paragraph.[Ch]:
3154         * rowpainter.C:
3155         * tabular.C: adjust after text & InsetList changes.
3156
3157 2003-08-08  André Pönitz  <poenitz@gmx.net>
3158
3159         * text.C (insertChar, backspace): replace rowlist fiddling
3160         with rebreak of full par
3161
3162         * lyxtext.h:
3163         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3164         checkParagraph, updateInset): removed
3165
3166 2003-08-07  André Pönitz  <poenitz@gmx.net>
3167
3168         * paragraph.C:
3169         * text3.C: merge some LFUN handlers, remove dead code
3170
3171 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3172
3173         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3174
3175 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3176
3177         * text2.C (DEPM): fix part of bug 1255 and 1256
3178
3179 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * BufferView_pimpl.C (workAreaDispatch): change to use
3182         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3183         that are no mouse related.
3184
3185 2003-08-05  André Pönitz  <poenitz@gmx.net>
3186
3187         * BufferView.[Ch]:
3188         * BufferView_pimpl.[Ch]:
3189         * bufferview_funcs.C:
3190         * text2.C:
3191         * text3.C: rip out "deep update"
3192
3193         * textcursor.[Ch] (last_sel_cursor): remove unused member
3194
3195 2003-08-04  André Pönitz  <poenitz@gmx.net>
3196
3197         * BufferView.[Ch]:
3198         * BufferView_pimpl.[Ch]:
3199         * ParagraphParameters.C:
3200         * bufferview_funcs.C:
3201         * lyx_cb.C:
3202         * lyxfind.C:
3203         * lyxfunc.C:
3204         * text.C:
3205         * text2.C:
3206         * text3.C: replace "complicated" BufferView::update(...) calls with
3207         simpler ones.
3208
3209         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3210
3211 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3212
3213         * Makefile.am (lyx_SOURCES): add paper.h
3214
3215 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3216
3217         * Makefile.am: move things around so that both lyx-qt and
3218         lyx-xforms can be built (according to --with-frontend). Then lyx
3219         is a symbolic link to lyx-[firstfrontend]
3220
3221 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3222
3223         * Always use std::endl with lyxerr
3224
3225 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3226
3227         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3228
3229 2003-08-01  André Pönitz  <poenitz@gmx.net>
3230
3231         * BufferView.[Ch]:
3232         * BufferView_pimpl.[Ch]:
3233         * lyxfunc.C:
3234         * text3.C: merge BufferView::repaint() and BufferView::update()
3235
3236 2003-08-01  José Matos  <jamatos@lyx.org>
3237
3238         * buffer.[Ch]: file_format is no longer a buffer data element.
3239
3240 2003-08-01  André Pönitz  <poenitz@gmx.net>
3241
3242         * BufferView.C:
3243         * lyxtext.h:
3244         * text.C:
3245         * text2.C: make redoParagraph more independent of current cursor
3246
3247         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3248         * text.C:
3249         * text2.C: remove unneeded members
3250
3251 2003-07-30  André Pönitz  <poenitz@gmx.net>
3252
3253         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3254
3255         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3256           create a single function...
3257
3258         * paragraph_funcs.C (moveItem): ... here.
3259
3260         * text.C:
3261           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3262
3263 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3264
3265         * LColor.[Ch]: Add comment and greyedout logical colors.
3266
3267 2003-07-30  André Pönitz  <poenitz@gmx.net>
3268
3269         * tabular.C: don't use Assert too heavily. This crashes where it
3270           shouldn't
3271
3272 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3275         is disabled (bug 1232)
3276
3277 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3278
3279         * factory.C: limited 'arg' scope
3280
3281 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3282
3283         * factory.C: fixed Note submenu issues
3284
3285 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3286
3287         * factory.C: submenu for Note/Comment/Greyedout
3288
3289 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3290
3291         * lyx_main.C (LyX):
3292         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3293
3294 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3295
3296         * LaTeXFeatures.C:
3297         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3298         greyedout. Patch provided by Jürgen Spitzmüller.
3299
3300 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3301
3302         * kbmap.C (read): fix error message when reading bind files
3303
3304 2003-07-29  Angus Leeming  <leeming@lyx.org>
3305
3306         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3307         certainly does not do what it purports to do. I am doing it, and
3308         us, a favour by killing it.
3309
3310 2003-07-28  José Matos  <jamatos@lyx.org>
3311
3312         * buffer.C (readBody, do_writeFile):
3313         * paragraph.C(readParagraph): \end_document replaces \the_end.
3314
3315 2003-07-29  André Pönitz  <poenitz@gmx.net>
3316
3317         * BufferView.[Ch]:
3318         * BufferView_pimpl.[Ch]:
3319         * lyxfunc.C:
3320         * text2.C:
3321         * text3.C:
3322         * textcursor.[Ch]: remove toggleToggle & Co
3323
3324 2003-07-28  José Matos  <jamatos@fep.up.pt>
3325
3326         * buffer.C (readParagraph):
3327         * params_func (readParToken, readParagraph):
3328         * paragraph.C (write): \layout -> \begin_layout.
3329
3330 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * lyxlex_pimpl.C (setFile): clean up slightly.
3333
3334         * bufferparams.h: add compressed var
3335
3336         * buffer_funcs.C (readFile): adjust for LyXLex change
3337         (newFile): ditto + simplify
3338
3339         * buffer.C (writeFile): handle writing of compressed files
3340
3341         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3342         Check if the file is compressed and set a bufferparm if so.
3343
3344         * Makefile.am (lyx_LDADD): remove explicit -lz
3345
3346 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3347
3348         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3349         makeDocBookFile): put the real LyX version in the first line of
3350         the file
3351
3352         * version.h:
3353         * version.C.in: remove lyx_docversion
3354
3355         * tabular.C (write_attribute): add a template-based version to
3356         write enums properly
3357
3358 2003-07-28  André Pönitz  <poenitz@gmx.net>
3359
3360         * lyxtext.h:
3361         * text.C:
3362         * text2.C:
3363         * text3.C: use doubles again for x-coordinates. They are needed.
3364
3365 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * messages.C (getLocaleDir): use lyx_localedir()
3368
3369         * lyxlex_pimpl.C (setFile): compress stuff
3370
3371         * buffer.C (writeFile): add some compression stuff
3372         (do_writeFile): new func, dont call expliti close... will this
3373         breake anything?
3374
3375         * Makefile.am (lyx_LDADD): add -lz
3376
3377 2003-07-28  José Matos  <jamatos@fep.up.pt>
3378
3379         * buffer.C: increment file format.
3380         * paragraph_funcs (readParagraph, readParToken):
3381         * paragraph.C (readParagraph): add \end_layout.
3382
3383 2003-07-27  Angus Leeming  <leeming@lyx.org>
3384
3385         * Makefile.am: remove special casing for configure-time setting of
3386         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3387
3388         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3389         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3390
3391 2003-07-26  André Pönitz  <poenitz@gmx.net>
3392
3393         * paragraph_func.[Ch]:
3394         * paragraph.C (realizeFont): inline it whereever it is used
3395
3396         * rowpainter.C:
3397         * text.C:
3398         * text2.C:
3399         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3400
3401
3402 2003-07-26  André Pönitz  <poenitz@gmx.net>
3403
3404         *       lyxtext.h:
3405         * text.C:
3406         * text2.C: get rid of LyXText::need_break_row
3407
3408 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * toc.[Ch]: put namespace toc inside namespace lyx
3411
3412         * MenuBackend.C (expandToc2): adjust for lyx::toc
3413         (expandToc): ditto
3414
3415         * lyxfunc.C (dispatch): adjust for lyx::find
3416
3417         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3418         lyx::find instead. Reorganize a bit.
3419         (LyXReplace): rename to replace
3420         (LyXFind): rename to find
3421
3422         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3423         (dispatch): ditto
3424
3425 2003-07-26  André Pönitz  <poenitz@gmx.net>
3426
3427         * text.C (setHeightOfRow): restrict scope of temporary variable
3428
3429         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3430           code (never has been used?)
3431
3432 2003-07-27  Asger Alstrup  <alstrup@local>
3433
3434         * text.C (fill): Optimise algorithm to exploit that we can reuse
3435         the LyXFont for many characters.
3436         (setHeightOfRow): Same thing.
3437         (rowBreakPoint): Same thing.
3438
3439 2003-07-26  Asger Alstrup  <alstrup@local>
3440
3441         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3442
3443         * text.C (singleWidth): Spurious font copying in hot-spot
3444         singleWidth avoided. Reorder tests for arabic for efficiency.
3445
3446         * text.C (fill): handle empty paragraphs better.
3447
3448 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3449
3450         * ispell.C:
3451         * encoding.h: add includes
3452
3453         * lyxrc.C: remove reading of bind files
3454
3455         * lyx_main.C (init): setup bindings and menus only if we have a
3456         gui.
3457
3458         * kbmap.C (read): new method. Do the actual reading of bind
3459         files.
3460
3461         * converter.C (dvipdfm_options):
3462         * bufferparams.C:
3463         * lyxrc.C (read):
3464         (output): adapt PAPER_* enums.
3465
3466         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3467
3468         * bufferparams.h: remove paper-related enums from there
3469
3470         * paper.h: New file. A trivial header file to hold paper-related
3471         enums. It should later expand to contain many paper-related
3472         horrors access.
3473
3474         * lyxrc.C: declare extern displayTranslator
3475
3476 2003-07-27  José Matos  <jamatos@fep.up.pt>
3477
3478         * tabular.[Ch] (linuxdoc): add support for tables and figures
3479         (linuxdoc).
3480
3481 2003-07-27  José Matos  <jamatos@fep.up.pt>
3482
3483         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3484         consistency in both functions.
3485         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3486
3487 2003-07-26  Asger Alstrup  <alstrup@local>
3488
3489         * rowpainter.C (paintRows): Change algorithm to work directly on
3490         the insets rather than asking every character in the document
3491         whether its an inset.
3492
3493 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * buffer.C (openFileWrite): factorize some code
3496
3497 2003-07-26  Angus Leeming  <leeming@lyx.org>
3498
3499         * lyx_cb.C:
3500         * lyx_main.[Ch]: replace occurances of system_tempdir with
3501         os::getTmpDir().
3502
3503 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3504
3505         * rename Inset to InsetOld
3506
3507 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3508
3509         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3510         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3511         which I think is a bit clearer. EDIT is gone, since it was
3512         premature optimisation, and broken for mathed anyway.
3513         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3514         with cursor positioning in insets as well (math insets still do not
3515         work, but that's a different story anyway.) It mysteriously
3516         crashes sometimes with undo in the first paragraph, but I'm fairly
3517         confident that this is a compiler bug.
3518
3519 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * paragraph.C (Paragraph): adjust for new clone return type
3522         (operator==): ditto
3523         (copyIntoMinibuffer): ditto
3524
3525 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3526
3527         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3528         by not having a special case, and always doing a full rebreak of
3529         the document after undo.
3530
3531 2003-07-23  Angus Leeming  <leeming@lyx.org>
3532
3533         * factory.C (createInset): InsetExternal::setParams now takes a
3534         Buffer const * arg.
3535
3536 2003-07-23  Angus Leeming  <leeming@lyx.org>
3537
3538         * factory.C (createInset): changed interface to the external and
3539         graphics mailers' string2params functions.
3540
3541 2003-07-23  Angus Leeming  <leeming@lyx.org>
3542
3543         * factory.C (createInset): pass a
3544         Buffer const * parameter to InsetExternalMailer's string2params.
3545
3546 2003-07-22  John Levon  <levon@movementarian.org>
3547
3548         * Thesaurus.h: include the right aiksaurus header
3549
3550 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3551
3552         * MenuBackend.C (expand): check menu shortcuts unconditionally
3553
3554 2003-07-21  Angus Leeming  <leeming@lyx.org>
3555
3556         * factory.C (createInset): pass a
3557         buffer_path parameter to InsetGraphicsMailer's string2params.
3558
3559 2003-07-21  Angus Leeming  <leeming@lyx.org>
3560
3561         * BufferView_pimpl.C (buffer):
3562         * buffer.C (d-tor):
3563         * lyx_main.C (LyX):
3564         * lyxfunc.C (dispatch):
3565         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3566         rather than the grfx shortcut.
3567
3568 2003-07-21  André Pönitz  <poenitz@gmx.net>
3569
3570         * rowpainter.C: remove unused variables
3571
3572         * tabular_funcs.C:
3573         * tabular_funcs.h: move to tabular.C
3574         * Makefile.am: adjust
3575
3576         * tabular.[Ch]: basic optical cleaning
3577
3578         * author.h: pass references, not values
3579
3580 2003-07-18  André Pönitz  <poenitz@gmx.net>
3581
3582         * lyxtext.h:
3583         * metricsinfo.C:
3584         * metricsinfo.h:
3585         * rowpainter.C:
3586         * text.C:
3587         * text2.C:
3588         * text3.C: two-phase drawing for InsetText and InsetTabular
3589         some float -> int changes.
3590
3591 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * lyx_main.C: fix the fix
3594
3595 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * lyx_main.C: fix a crash in batch mode if no files specified
3598         * converter.C: ws
3599
3600 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * format.[Ch] (papersize): moved to BufferParams
3603         * converter.[Ch] (dvips_options): moved to BufferParams
3604         (dvipdfm_options): moved to anon namespace
3605         * bufferparams.[Ch]: added above functions.
3606
3607 2003-07-17  André Pönitz  <poenitz@gmx.net>
3608
3609         * lyxtext.h:
3610         * rowpainter.C:
3611         * text2.C: don't call inset->update() anymore
3612
3613         * metricsinfo.[Ch]: add convenience constructor
3614
3615 2003-07-16  André Pönitz  <poenitz@gmx.net>
3616
3617         * lyxcursor.[Ch]:
3618         * lyxfunc.[Ch]:
3619         * text.C:
3620         * text2.C: replace the LyXCursor::irow_ member with
3621          on-demand computation of the value
3622
3623 2003-07-16  John Levon  <levon@movementarian.org>
3624
3625         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3626
3627 2003-07-15  André Pönitz  <poenitz@gmx.net>
3628
3629         * text.C:
3630         * text2.C: remove no more needed refresh_row
3631
3632 2003-07-15  André Pönitz  <poenitz@gmx.net>
3633
3634         * lyxtext.h:
3635         * rowpainter.C:
3636         * text2.C:
3637         * text3.C: refresh_status tristate -> need_update bool
3638
3639 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3640
3641         * lyxtext.h (init): remove reinit argument (act as if always true)
3642         * text2.C: adjust to that
3643
3644 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3645
3646         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3647         * text3.C: use it to delete selections in some cases
3648         (bugs 441, 673, 702, 954).
3649
3650 2003-07-14  André Pönitz  <poenitz@gmx.net>
3651
3652         * rowpainter.[Ch]: reduce interface
3653
3654 2003-07-14  André Pönitz  <poenitz@gmx.net>
3655
3656         * BufferView_pimpl.C:
3657         * text2.C: adjust after removing unused BufferView * argument
3658
3659 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3660
3661         * text2.C (init): fix a crash fired on resize
3662
3663 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3664
3665         * buffer.[Ch]: added new closing signal
3666         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3667         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3668         BufferView::Pimpl via the closing the signal
3669
3670 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3671
3672         * buffer.[Ch]: take out all bv-related from buffer
3673         * BufferView.C:
3674         * BufferView_pimpl.[Ch]: connect to new signals
3675         * CutAndPaste.C: removed useless asserts
3676         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3677         * lyxvc.[Ch]:
3678         * vc-backend.[Ch]:
3679         * lyxfunc.C: moved view-related funciontality from vc here
3680         * paragraph.C: removed outdated comments
3681         * text.C: ws
3682
3683 2003-07-10  André Pönitz  <poenitz@gmx.net>
3684
3685         * BufferView_pimpl.C:
3686         * tabular.h:
3687         * tabular_funcs.C:
3688         * text.C:
3689         * text2.C: remove InsetText::InnerCache, clean up consequences
3690
3691 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3692
3693         * ispell.C: fix two typos in error messages
3694
3695 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * Extend Note inset to other forms of annotation like Comment
3698         and Greyedout. Right button click gives dialog.
3699
3700         Files modified or added (+):
3701
3702         * insetnote.[Ch]
3703         * FormNote.[Ch]      +
3704         * ControlNote.[Ch]   +
3705         * form_note.fd       +
3706         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3707         frontends/controllers
3708         * xforms/Dialogs.C
3709         * factory.C
3710
3711 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3712
3713         * aspell.C: add missing namespace lyx::support
3714
3715 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3716
3717         * BufferView.[Ch] (newFile): Add
3718         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3719         * LaTeX.[Ch] (message): added this signal and use it
3720         * buffer.[Ch] (busy, message): added these signals and use them
3721         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3722         * converter.C:
3723         * exporter.C:
3724         * format.C:
3725         * importer.C: use buffer signals instead of direct bv calling
3726         * lyx_cb.[Ch] (ShowMessage): removed
3727         * lyx_main.C:
3728         * lyxfunc.C:
3729         * paragraph_funcs.C:
3730         * text2.C: use buffer signals
3731
3732 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * introduce namespace lyx::graphics
3735
3736 2003-07-02  André Pönitz  <poenitz@gmx.net>
3737
3738         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3739
3740 2003-07-01  André Pönitz  <poenitz@gmx.net>
3741
3742         * text.C:
3743         * text2.C:
3744         * text3.C:
3745         * text_funcs.[Ch]:
3746         * textcursor.h:
3747         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3748           text*.C to text_func.C
3749
3750 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * introduce namespace lyx::support
3753
3754 2003-06-30  André Pönitz  <poenitz@gmx.net>
3755
3756         * Chktex.C:
3757         * funcrequest.C:
3758         * lyxtext.h:
3759         * text.C: re-enable --with-included-string
3760
3761 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * textcursor.C: add <config.h>
3764
3765         * text.C (getWord): remove const from word_location arg
3766
3767         * lyxvc.C (getLogFile): fix const type order
3768
3769         * lyxtext.h: remove const from word_location arg, add arg name
3770
3771         * lyxlayout.h: currect type on labeltype.
3772
3773         * importer.C: correct \file
3774
3775         * converter.C (intToFormat): use std:: on ret val, ws changes
3776
3777         * bufferlist.h: correct \file
3778
3779         * buffer.C (makeLinuxDocFile): fix const type order
3780         (makeDocBookFile): ditto
3781         (fillWithBibKeys): use std:: on stdlib args.
3782
3783         * CutAndPaste.C: fix authors.
3784         (availableSelections): use std:: on return vector
3785
3786 2003-06-27  André Pönitz  <poenitz@gmx.net>
3787
3788         * BufferView_pimpl.C:
3789         * bufferview_funcs.C:
3790         * lyxcursor.C:
3791         * lyxcursor.h:
3792         * lyxfunc.C:
3793         * lyxtext.h:
3794         * rowpainter.C:
3795         * text.C:
3796         * text2.C:
3797         * text3.C: remove LyXCursor::row_ member
3798
3799         * lyxtext.h:
3800         * text.C: rename fullRebreak() to partialRebreak() and implement
3801           a fullRebreak() that really bereks fully
3802
3803         * textcursor.h: new struct for cursor-related data
3804
3805 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3806
3807         * lyx_main.C (LyX): get full path of document loaded on the
3808         command line
3809
3810 2003-06-26  André Pönitz  <poenitz@gmx.net>
3811
3812         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3813           remove unused/broken operator>,<,>=.
3814
3815         *       text.C: remove only use of broken operator<= in an Assert().
3816
3817 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3820         moved errorlist_.clear to showErrorList
3821
3822 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3823
3824         * converter.C (scanLog, runLaTeX):
3825         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3826         move the bv->showErrorList call to the callers
3827         * lyxfunc.C: i.e. here...
3828         * text2.C: and here
3829         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3830         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3831         namespace, the second to...
3832         * buffer_funcs (BufferFormat, parseErrors): added
3833         * errorlist.C (ErrorList(TeXErrors const &)): removed
3834
3835 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3836
3837         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3838
3839 2003-06-24  "Garst R. Reese" <reese@isn.net>
3840
3841         * debug.C: fix typo
3842
3843 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3844
3845         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3846
3847         * version.C.in: change docversion to 1.4
3848
3849 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * buffer.C: fix a bug just introduced
3852
3853 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3854
3855         * buffer.[Ch]: added the parseError signal and use it, removed
3856         sgmlError
3857         * BufferView.[Ch] (addError): moved to ...
3858         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3859         to the Buffer::parseError signal to catch (guess what) parse errors
3860         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3861
3862 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3865         ability to create a buffer and to return an existing one from
3866         the list. Moved these functions to...
3867         * buffer_funcs.[Ch]: added
3868         * BufferView.[Ch] (loadLyXFile): added
3869         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3870         job removed from bufferlist::loadLyXFile.
3871         * buffer.C (setReadOnly): make it work without view
3872         (i.e added an if (users))
3873
3874 2003-06-19  Angus Leeming  <leeming@lyx.org>
3875
3876         * lfuns.h:
3877         * LyXAction.C (init):
3878         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3879         with LFUN_DIALOG_SHOW <name> <data>.
3880
3881 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3882
3883         * CutAndPaste.C (availableSelections): small compilation fix for
3884         ancient (gcc 2.9x) compilers
3885
3886 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * text3.C (cursorNext): add tmp var
3889
3890         * text2.C (updateCounters): for function calling out of for clause
3891         (replaceSelectionWithString): ditto
3892         (insertStringAsParagraphs): ditto
3893         (getColumnNearX): add tmp var
3894         (setCursorFromCoordinates): add tmp var
3895         (cursorDownParagraph): add tmp var
3896         (deleteEmptyParagraphMechanism): add tmp var
3897
3898         * text.C (insertChar): add tmp var
3899
3900         * rowpainter.C (paintDepthBar): add tmp var
3901
3902         * CutAndPaste.C (availableSelections): potentially check all
3903         paragraphs in a cut to fill the shown strings.
3904
3905 2003-06-18  André Pönitz  <poenitz@gmx.net>
3906
3907         * kbmap.[Ch]: use vector<> instead of list<>
3908
3909 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3910
3911         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3912         pasteSelection with index
3913
3914         * text2.C (pasteSelection): modify, call pasteSelection with index
3915
3916         * paragraph.C (asString): reimplement version with no interval to
3917         call the one with interval.
3918
3919         * lyxtext.h: add index arg to pasteSelection
3920
3921         * MenuBackend.C (MenuItem): handle PasteRecent
3922         (Menu::read::Menutags): add md_pasterecent
3923         (read): handle it
3924         (expandPasteRecent): new function
3925         (expand): use it
3926
3927         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3928
3929         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3930         the limited stack
3931         (availableSelections): new function
3932
3933 2003-06-17  Angus Leeming  <leeming@lyx.org>
3934
3935         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3936
3937 2003-06-17  Angus Leeming  <leeming@lyx.org>
3938
3939         * lfuns.h:
3940         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3941
3942         * lyxfunc.C (dispatch): invoke it.
3943
3944 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3945
3946         * iterators.C (operator++, ParPosition): reintroduce some
3947         const_cast for the benefit of older compilers.
3948
3949 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3950
3951         * text3.C (dispatch): do not modify clipboard when doing
3952         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3953         LFUN_DELETE_SKIP on a selection selection
3954
3955 2003-06-16  André Pönitz  <poenitz@gmx.net>
3956
3957         * BufferView.C:
3958         * buffer.C:
3959         * buffer.h:
3960         * paragraph.C:
3961         * tabular.[Ch]: IU of clone() and getLabelList();
3962
3963 2003-06-13  André Pönitz  <poenitz@gmx.net>
3964
3965         * tabular.h: compactification
3966
3967 2003-06-12  André Pönitz  <poenitz@gmx.net>
3968
3969         * tabular.C:
3970         * tabular.h:
3971         * tabular_funcs.h: some renaming plus whitespace
3972
3973 2003-06-12  André Pönitz  <poenitz@gmx.net>
3974
3975         * BufferView.C:
3976         * BufferView_pimpl.C:
3977         * CutAndPaste.C:
3978         * buffer.C:
3979         * iterators.[Ch]:
3980         * lyxfunc.C:
3981         * text.C:
3982         * toc.C: Return a Paragraph & for ParIterator::operator*()
3983
3984 2003-06-11  John Levon  <levon@movementarian.org>
3985
3986         * lyx_main.C:
3987         * ToolbarBackend.h:
3988         * ToolbarBackend.C: add "Toolbars" section and
3989         put the flags there
3990
3991 2003-06-10  Angus Leeming  <leeming@lyx.org>
3992
3993         * lfuns.h:
3994         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3995
3996         * lyxfunc.C (dispatch): invoke it.
3997
3998 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * main.C: protect <ios> with HAVE_IOS
4001         (main): protect sync_with_stdio with HAVE_IOS
4002
4003 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4004
4005         * text2.C (cutSelection): adjust
4006         (pasteSelection): adjust
4007
4008         * messages.C: handle get of empty string
4009
4010         * main.C (main): use sync_with_stdio(false)
4011
4012         * lyxfunc.C (dispatch): adjust
4013
4014         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4015         (WriteAs): remove unneeded BufferView arg.
4016
4017         * bufferparams.h: use correct types on papersize, papersize2 and
4018         paperpackage.
4019
4020         * bufferparams.C (readToken): adjust for type
4021         (writeLaTeX): add missing cases to switch.
4022
4023         * bufferlist.C (quitWriteBuffer): adjust
4024         (close): adjust
4025
4026         * buffer.C (asciiParagraph): remove some commented code.
4027
4028         * CutAndPaste.C: remove current_view extern variable.
4029         (cutSelection): add BufferParams arg.
4030         (eraseSelection): add BufferParams arg.
4031         (pasteSelection): add Buffer const & arg
4032
4033 2003-06-07  John Levon  <levon@movementarian.org>
4034
4035         * buffer.C:
4036         * paragraph_funcs.C:
4037         * paragraph_pimpl.C:
4038         * text.C:
4039         * text2.C:
4040         * paragraph.h:
4041         * paragraph.C: allow InsetERT to freely space lines,
4042         and some consolidation of code
4043
4044 2003-06-06  José Matos  <jamatos@fep.up.pt>
4045
4046         * buffer.C (makeDocBookFile): fix bug #821
4047
4048 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4051
4052 2003-06-04  Angus Leeming  <leeming@lyx.org>
4053
4054         * buffer.C: bump format to 224.
4055
4056 2003-06-05  André Pönitz  <poenitz@gmx.net>
4057
4058         * text2.C (redoParagraphs): remove two const_cast<>
4059
4060 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4061
4062         * ParagraphList.h: remove last remnants of NO_STD_LIST
4063
4064 2003-06-03  Angus Leeming  <leeming@lyx.org>
4065
4066         * factory.C (createInset): small change to the way InsetExternal's params
4067         are set.
4068
4069 2003-06-04  André Pönitz  <poenitz@gmx.net>
4070
4071         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4072
4073         * paragraph_pimpl.h:
4074         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4075
4076         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4077
4078         * undo_funcs.C: make some simple cases of undo work again
4079
4080 2003-06-03  John Levon  <levon@movementarian.org>
4081
4082         * ispell.C: HPUX doesn't have sys/select.h
4083         (from Albert Chin)
4084
4085 2003-06-03  John Levon  <levon@movementarian.org>
4086
4087         * CutAndPaste.C: update tabular and include inset
4088         buffer references
4089
4090         * buffer.h:
4091         * paragraph.h:
4092         * paragraph.C: remove owningBuffer(), don't pass Buffer
4093         to clone()
4094
4095         * factory.C: insetGraphicsParams changed
4096
4097 2003-06-02  John Levon  <levon@movementarian.org>
4098
4099         * LyXAction.C:
4100         * factory.C:
4101         * lfuns.h:
4102         * lyxfunc.C:
4103         * text3.C: remove insetparent
4104
4105 2003-06-02  John Levon  <levon@movementarian.org>
4106
4107         * buffer.h:
4108         * buffer.C: fix inset_iterator.end(), move out of line
4109         (bug 1149)
4110
4111 2003-06-01  John Levon  <levon@movementarian.org>
4112
4113         * text3.C: use a proper cut/paste when doing inset
4114         insert (from Jürgen Spitzmüller)
4115
4116 2003-06-01  John Levon  <levon@movementarian.org>
4117
4118         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4119
4120 2003-05-30  André Pönitz  <poenitz@gmx.net>
4121
4122         * rowpainter.C: unify second drawing phase
4123
4124 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * trans_mgr.C: remove one case of current_view
4127
4128         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4129
4130         * paragraph_funcs.h: remove paragraph.h include
4131
4132         * paragraph.h: delete NO_STD_LIST stuff
4133
4134         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4135
4136         * buffer.h: remove paragraph.h include
4137
4138         * ParagraphList.C: delete file
4139
4140         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4141
4142         * toc.C (getTocList): adjust
4143
4144         * paragraph_pimpl.C (validate): adjust
4145
4146         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4147
4148         * paragraph.C (Paragraph): adjust
4149         (getPositionOfInset): use const_iterator, adjust
4150         (bibitem): use const_iterator, adjust
4151         (setInsetOwner): adjust
4152
4153         * iterators.C (operator++): adjust
4154
4155         * InsetList.[Ch]: Replace selfmade iterator with standard
4156         vector::iterator also introduce const_iterator. Remove getPos,
4157         getInset and setInset from InsetTable. Adjust accordingly.
4158
4159         * BufferView.C (lockInset): adjust
4160         (ChangeInsets): adjust
4161
4162         * tabular.[Ch]: delete commented same_id functions
4163
4164 2003-05-28  John Levon  <levon@movementarian.org>
4165
4166         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4167
4168 2003-05-28  André Pönitz  <poenitz@gmx.net>
4169
4170         * metricsinfo.[Ch]: remove 'fullredraw' member
4171
4172 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4173
4174         * lyxtextclass.C (operator): remove caching.
4175
4176 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * text3.C: adjust
4179
4180         * text2.C (cursorBottom): adjust
4181         (setCounter): use ParagraphList::find, adjust
4182
4183         * text.C (workWidth): use ParagraphList::find, adjust
4184
4185         * lyxcursor.C (LyXCursor): adjust
4186
4187         * buffer.C (inset_iterator): adjust
4188
4189         * ParagraphList.h: make iterator(value_type) private, make
4190         ParagraphList a friend of iterator.
4191
4192         * ParagraphList.C (find): new function
4193
4194         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4195
4196 2003-05-27  André Pönitz  <poenitz@gmx.net>
4197
4198         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4199
4200 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4201
4202         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4203
4204 2003-05-26  John Levon  <levon@movementarian.org>
4205
4206         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4207
4208 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * remove same_id from function signatures, adjust.
4211
4212 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4215
4216         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4217
4218         * paragraph.C (Paragraph): get rid of same_ids parameter
4219
4220         * ParagraphList.C (insert): adjust
4221         (push_back): adjust
4222
4223 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * paragraph_funcs.C (breakParagraph): adjust
4226         (breakParagraphConservative): adjust
4227
4228         * buffer.C (readParagraph): adjust
4229
4230         * ParagraphList.C (insert): take a reference instead of a pointer
4231         (insert): adjust
4232
4233         * paragraph.[Ch] (id): new function
4234
4235         * bufferlist.C (newFile): adjust
4236
4237         * ParagraphList.C (ParagraphList): adjust
4238         (assign): adjust
4239         (push_back): take a reference instead of a pointer.
4240
4241         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4242
4243         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4244         instead.
4245
4246         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4247         set else use old code.
4248
4249         * ParagraphList.C: remove all NO_NEXT code and only compile this
4250         code of NO_STD_LIST is set.
4251
4252 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * BufferView_pimpl.C:
4255         * TextCache.C:
4256         * TextCache.h:
4257         * bufferlist.C:
4258         * errorlist.h:
4259         * format.C:
4260         * format.h:
4261         * graph.C:
4262         * lyxfunc.C:
4263         * lyxrc.C:
4264         * graphics/GraphicsConverter.C:
4265         * graphics/PreviewLoader.C: header adjustment
4266
4267 2003-05-23  Angus Leeming  <leeming@lyx.org>
4268
4269         * LaTeXFeatures.[Ch] (useBabel): new method.
4270         * bufferparams.C (writeLaTeX): use it.
4271
4272 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * ParagraphList.h (set): remove unused function.
4275
4276 2003-05-23  André Pönitz  <poenitz@gmx.net>
4277
4278         * BufferView.C:
4279         * BufferView_pimpl.C:
4280         * buffer.C:
4281         * buffer.h:
4282         * lyxfunc.C:
4283         * undo_funcs.C: setUndo reworked
4284
4285         * iterators.[Ch]: add access to topmost ParagraphList
4286
4287         * lyxtext.[Ch] (workWidth): add a const
4288
4289 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * texrow.[Ch] (increasePos): remove function
4292         * exporter.C (export): removed unused var and outdated comment
4293
4294 2003-05-23  Angus Leeming  <leeming@lyx.org>
4295
4296         * latexrunparams.h: rename fragile as moving_arg.
4297         * paragraph.C (simpleTeXOnePar): ditto.
4298         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4299
4300 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4303         (createUndo): ditto
4304         (textUndoOrRedo): comment out a currently unused var.
4305
4306         * paragraph.h (NO_NEXT): enable NO_NEXT
4307
4308         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4309
4310         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4311
4312         * exporter.C (Export): adjust for removeAutoInsets removal.
4313
4314         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4315
4316         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4317
4318         * BufferView.[Ch] (removeAutoInsets): delete function
4319
4320 2003-05-22  Angus Leeming  <leeming@lyx.org>
4321
4322         * latexrunparams.h: add a free_spacing variable.
4323
4324         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4325         to pass moving_arg, as the data is stored in runparams.fragile.
4326
4327         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4328         to Inset::latexOptional or to simpleTeXOnePar.
4329
4330         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4331         free_spacing arg to Inset::latexOptional.
4332
4333         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4334         free_spacing arg.
4335
4336 2003-05-22  Angus Leeming  <leeming@lyx.org>
4337
4338         * latexrunparams.h: add fragile and use_babel variables.
4339
4340         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4341         * buffer.C (makeLaTeXFile): store this returned value in
4342         runparams.use_babel, thus passing it to the inset::latex methods.
4343
4344         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4345         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4346
4347         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4348         longer has a fragile arg, as it is stored in runparams.fragile.
4349
4350         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4351         moving_arg parameter as the data is stored in runparams.fragile.
4352
4353         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4354         a fragile parameter as the data is stored in runparams.fragile.
4355
4356 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4359
4360 2003-05-22  Angus Leeming  <leeming@lyx.org>
4361
4362         * latexrunparams.h: add a 'bool nice' which defaults to false.
4363
4364         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4365         now encapsulated within runparams.
4366
4367         * bufferlist.C (updateIncludedTeXfiles):
4368         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4369
4370 2003-05-22  Angus Leeming  <leeming@lyx.org>
4371
4372         * latexrunparams.h: new file containing struct LatexRunParams.
4373         * Makefile.am: add new file.
4374
4375         * LaTeX.[Ch] (c-tor, run):
4376         * buffer.[Ch] (makeLaTeXFile):
4377         * bufferlist.[Ch] (updateIncludedTeXfiles):
4378         * converter.C (convert, scanLog):
4379         * converter.[Ch] (runLaTeX):
4380         * exporter.C (Export):
4381         * paragraph.[Ch] (simpleTeXOnePar):
4382         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4383         * paragraph_funcs.[Ch] (latexParagraphs):
4384         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4385         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4386         pass around a LatexRunParams parameter.
4387
4388 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * paragraph.[Ch]: remove unused constructor
4391
4392         * ParagraphList.C (erase): new function, taking two iterators
4393
4394 2003-05-22  André Pönitz  <poenitz@gmx.net>
4395
4396         * undo_funcs.C: remove duplicated code
4397
4398         * iterator.[Ch]: operator=
4399
4400 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * tabular.C (SetMultiColumn): ws changes
4403
4404         * rowpainter.C (paintFirst): get rid of a ->previous
4405
4406         * lyx_cb.C (getPossibleLabel): parlist simplification
4407
4408         * BufferView.C (ChangeInsets): simplify slightly.
4409
4410 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4411
4412         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4413         * lfuns.h: new LFUN_SPACE
4414         * lyxfunc.C: protected space has a new lfun
4415         * paragraph_funcs.C: read new space insets
4416         * text3.C:
4417         * factory.C: handle new space insets
4418
4419 2003-05-22  André Pönitz  <poenitz@gmx.net>
4420
4421         * BufferView.C:
4422         * BufferView_pimpl.C:
4423         * buffer.[Ch]:
4424         * lyxfunc.C:
4425         * undo_funcs.C: return a ParIterator from getParFromID.
4426
4427         * iterators.[Ch]: add two const's
4428
4429 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * toc.C (getTocList): adjust
4432
4433         * iterators.[Ch]: rework for parlist
4434
4435         * buffer.C (par_iterator_begin): adjust
4436         (par_iterator_end): adjust
4437
4438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4439
4440         * BufferView.C (removeAutoInsets): adjust
4441         (ChangeInsets): adjust
4442
4443 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * text.C (top_y): fix bug 1110
4446
4447 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * errorlist.[Ch]: added
4450         * buffer.C:
4451         * BufferView.[Ch]:
4452         * BufferView_pimpl.C:
4453         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4454         instead
4455
4456 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * Makefile.am: ensure that lyx is relinked upon changes to the
4459         various "convenience" libs.
4460
4461 2003-05-20  Angus Leeming  <leeming@lyx.org>
4462
4463         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4464         files are compiled in alphabetical order again.
4465
4466         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4467
4468 2003-05-19  Angus Leeming  <leeming@lyx.org>
4469
4470         * gettext.[Ch]: remove "char const * _(char const *)".
4471
4472 2003-05-19  André Pönitz  <poenitz@gmx.net>
4473
4474         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4475
4476         * Makefile.am:
4477         * BufferView.C:
4478         * DepTable.h:
4479         * LaTeXFeatures.C:
4480         * buffer.C:
4481         * lyxfont.C:
4482         * lyxlex.h:
4483         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4484
4485 2003-05-19  André Pönitz  <poenitz@gmx.net>
4486
4487         * buffer.C:
4488         * lyxlayout.[Ch]:
4489         * lyxtextclass.[Ch]:
4490         * paragraph.C:
4491         * paragraph_funcs.[Ch]:
4492         * text2.C:
4493         * text3.C: more insetenv work
4494
4495 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * ParagraphParameters.C (params2string): small bug fixed
4498
4499 2003-05-16  André Pönitz  <poenitz@gmx.net>
4500
4501         * debug.C:
4502         * bufferview_funcs.C: patch from Kornel Benko to prevent
4503           crash when _(...) is called twice in a statement
4504
4505 2003-05-16  André Pönitz  <poenitz@gmx.net>
4506
4507         * BufferView.C:
4508         * lyxfunc.C:
4509         * text.C:
4510         * text2.C:
4511         * text3.C:
4512         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4513
4514 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * lyx_main.C (init): remove spurious static_cast
4517
4518 2003-05-14  André Pönitz  <poenitz@gmx.net>
4519
4520         * BufferView.C: fix format string
4521
4522 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4523
4524         * BufferView.[Ch] (insertErrors): removed
4525         * BufferView.[Ch] (showErrorList): added
4526         * buffer.C (runChkTeX):
4527         * converter.C (scanLog): call showErrorList instead of inserterrors
4528
4529 2003-05-13  André Pönitz  <poenitz@gmx.net>
4530
4531         * BufferView_pimpl.C:
4532         * buffer.C:
4533         * bufferview_func.C:
4534         * MenuBackend.C:
4535         * lyxfunc.C:
4536         * lyxrc.C:
4537         * tex-accent.C:
4538         * text3.C:
4539         * toc.C:
4540         * tabular_funcs.h: tostr() from its own header
4541
4542         * ParagraphParameters.C:
4543         * ToolbarBackend.C:
4544         * bufferparams.C:
4545         * format.C:
4546         * lyxlex_pimpl.C:
4547         * text3.C: STRCONV()
4548
4549 2003-05-12  André Pönitz  <poenitz@gmx.net>
4550
4551         * BufferView.C:
4552         * BufferView_pimpl.C:
4553         * CutAndPaste.C:
4554         * LaTeX.C:
4555         * LaTeXFeatures.C:
4556         * ParagraphParameters.C:
4557         * buffer.C:
4558         * bufferlist.C:
4559         * bufferparams.C:
4560         * bufferview_funcs.C:
4561         * converter.C:
4562         * counters.C:
4563         * debug.C:
4564         * exporter.C:
4565         * format.C:
4566         * importer.C:
4567         * lyx_cb.C:
4568         * lyx_main.C:
4569         * lyxfont.C:
4570         * lyxfunc.C:
4571         * lyxvc.C:
4572         * paragraph.C:
4573         * paragraph_funcs.C:
4574         * tabular.C:
4575         * tabular_funcs.C:
4576         * text2.C:
4577         * text3.C:  boost::format -> bformat  all over the place
4578
4579
4580 2003-05-09  André Pönitz  <poenitz@gmx.net>
4581
4582         * LColor.[Ch]: Pimpl the #include <map> away
4583
4584 2003-05-09  John Levon  <levon@movementarian.org>
4585
4586         * bufferlist.C: never remove emergency saves
4587
4588 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * Makefile.am: better lib building
4591
4592 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4595         instead.
4596         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4597         (simpleTeXSpecialChars): adjust
4598         (simpleTeXSpecialChars): adjust
4599         * paragraph.C (simpleTeXOnePar): adjust
4600         * buffer.C (makeLaTeXFile): adjust
4601
4602         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4603
4604         * text2.C (changeDepth): parlist cleanup
4605         (getColumnNearX): ditto
4606
4607         * rowpainter.C (getLabelFont): parlist cleanup
4608
4609         * bufferlist.C (newFile): parlist cleanup
4610
4611         * CutAndPaste.C (eraseSelection): parlist cleanup
4612
4613         * BufferView_pimpl.C (trackChanges): parlist cleanup
4614         (dispatch): ditto
4615
4616         * BufferView.C (lockInset): parlist cleanup.
4617         (ChangeInsets): ditto
4618
4619 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * CutAndPaste.h: Update file header.
4622
4623         * CutAndPaste.C: Update file header.
4624         Store the parts cut out of the Document in a limited_stack.
4625         (copySelection): adjust
4626         (pasteSelection): new function, takes the index in the limited stack.
4627         (nrOfParagraphs): adjust
4628         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4629         simplify error inset insertion.
4630         (checkPastePossible): adjust
4631
4632 2003-05-06  John Levon  <levon@movementarian.org>
4633
4634         * text2.C: don't cast wrap inset to float
4635
4636 2003-05-05  André Pönitz  <poenitz@gmx.net>
4637
4638         * iterator.C:
4639         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4640
4641         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4642           few naked Paragraph *.
4643
4644 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4645
4646         * bufferparams.C: Output warning if a document with missing
4647         TeX document class is loaded
4648         * exporter.C: Disable TeX exports if the document class is missing
4649         * lyxtextclass.C:
4650         * lyxtextclass.h:
4651         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4652         isTeXClassAvailable()
4653
4654 2003-05-03  John Levon  <levon@movementarian.org>
4655
4656         * BufferView.h:
4657         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4658         explicit cursor show/hide
4659
4660         * BufferView_pimpl.h:
4661         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4662         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4663
4664         * lyxfunc.C: hide cursor before dispatching.
4665
4666         * lyx_cb.C:
4667         * lyxfind.C:
4668         * text.C:
4669         * text3.C: remove explicit cursor hides
4670
4671 2003-05-02  André Pönitz  <poenitz@gmx.net>
4672
4673         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4674
4675         * undo_funcs.C:
4676         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4677           linked lists
4678
4679         * text2.C: tiny whitespace
4680
4681 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * undo_funcs.C: almost only ws changes.
4684
4685         * ParagraphList.C (splice): just return if pl is empty.
4686
4687 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * ParagraphList.C (splice): new function.
4690
4691         * CutAndPaste.C (pasteSelection): use it
4692
4693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * CutAndPaste.C (pasteSelection): remove the last next and
4696         previous from this file.
4697
4698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * CutAndPaste.C (pasteSelection): more clean up, user proper
4701         ParagraphList functions for pasteing.
4702
4703         * ParagraphList.C (insert): new function, three arg insert
4704
4705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * ParagraphList.C (insert): new function, three arg insert
4708
4709         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4710         not on paragraphs.
4711
4712 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4715
4716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4719
4720 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4723         (copySelection): clean up a bit.
4724         (pasteSelection): use make_pair
4725
4726         * ParagraphList.C (ParagraphList): implement copy constructor
4727         (operator=): implement, base on copy constructor.
4728         (assign): new func
4729
4730         * paragraph.C (erase): return a bool
4731
4732         * paragraph_pimpl.C (erasePos): remove function, move contents...
4733         (erase): ... here. Return a bool.
4734         (erase): call erase instead of erasePos.
4735
4736 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * ParagraphList.h: define PitPosPair
4739         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4740         ParagraphList, fix a bug on pasting multiple pars
4741         * text2.C: change interface to C&P
4742
4743 2003-04-30  André Pönitz  <poenitz@gmx.net>
4744
4745         * undo_func.C: revert part of yesterday's patch 2
4746
4747 2003-04-30  John Levon  <levon@movementarian.org>
4748
4749         * LColor.C: s/tabular/table/
4750
4751 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * text3.C (dispatch): do not convert iterator -> pointer
4754         * undo_funcs.C (setCursorParUndo): ditto
4755         * text_funcs.C (transposeChars): ditto
4756
4757         * text2.C (setLayout): ws changes only
4758
4759         * text.C (breakParagraph): do not convert iterator -> pointer
4760         (insertChar): ditto
4761         (acceptChange): ditto
4762         (rejectChange): ditto
4763         (changeCase): ditto
4764         (Delete): ditto
4765         (backspace): ditto
4766
4767         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4768         pointer
4769
4770 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * text3.C (gotoInset): YABG (yet another bad getChar)
4773
4774 2003-04-29  André Pönitz  <poenitz@gmx.net>
4775
4776         * paragraph.h: make operator= private unimplemented as long as
4777           it is unusable
4778
4779         * ParagraphList.C: whitespace
4780
4781         * paragraph.[Ch]:
4782         * paragraph_pimpl.[Ch]:
4783         * paragraph_funcs.C:
4784         * CutAndPaste.C:
4785         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4786
4787         * text2.C:
4788           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4789
4790 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4791
4792         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4793         * paragraph.[Ch] (erase):
4794         * paragraph_pimpl.[Ch] (erase): change return type and value
4795         * text2.C (cutSelection): some rework
4796
4797 2003-04-28  John Levon  <levon@movementarian.org>
4798
4799         * bufferlist.C: changes for unsaved changes dialog
4800
4801 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * bufferlist.C (newFile): set language (messages_) for new
4804         documents also.
4805
4806         * buffer.C (readFile): ws changes only.
4807
4808 2003-04-28  André Pönitz  <poenitz@gmx.net>
4809
4810         * undo_funcs.C:
4811         * lyxfunc.C:
4812         * buffer.[Ch]:
4813         * BufferView_pimpl.C:
4814         * BufferView.C: getParFromID related ParagraphList::iterator changes
4815
4816 2003-04-28  André Pönitz  <poenitz@gmx.net>
4817
4818         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4819           Changes
4820
4821 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * messages.C: remove one more localedir class variable.
4824
4825 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * messages.C (getLocaleDir): singleton generation function
4828         (Pimpl): use it.
4829         (Messages): add a default constructor.
4830
4831         * main.C (main): do not setup localedir here, do not call
4832         gettext_init.
4833
4834         * gettext.C (_): use it.
4835         (gettext_init): delete funciton
4836
4837 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * gettext.C (getLyXMessages): new singleton generating function.
4840
4841         * buffer.C (updateDocLang): adjust
4842
4843         * Makefile.am (messages.o): add target
4844         (main.o): remove target
4845
4846 2003-04-27  John Levon  <levon@movementarian.org>
4847
4848         * bufferlist.C:
4849         * lyx_cb.C:
4850         * lyxfunc.C:
4851         * lyxvc.C: specify cancel button in Alert::prompt
4852
4853 2003-04-26  John Levon  <levon@movementarian.org>
4854
4855         * text3.C:
4856         * lyxfunc.C:
4857         * lfuns.h:
4858         * LyXAction.C: add LFUN_INSET_SETTINGS
4859
4860         * lyxfunc.C: don't enable tabular-feature when there's
4861         just any locking inset
4862
4863 2003-04-26  John Levon  <levon@movementarian.org>
4864
4865         * bufferlist.C: re-add Cancel to buffer close question
4866
4867         * lyxfunc.C: fix import UI a bit
4868
4869 2003-04-25  John Levon  <levon@movementarian.org>
4870
4871         * gettext.C: remove the broken asserts for now
4872
4873 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * messages.C: make case where setlocale cannot comply work better.
4876
4877         * buffer.C (updateDocLang): new function
4878         (changeLanguage): use it
4879         (readFile): use it
4880
4881         * text2.C (setCounter): use B_ a bit.
4882
4883         * lyxlayout.C (Read): be sure to trim the label strings.
4884
4885         * messages.C (Messages): fix typo in comment
4886
4887         * buffer.C (readFile): set message_ after file is loaded.
4888         (makeDocBookFile): remove double return
4889         (changeLanguage): reset message_ upon language change.
4890         (B_): new func, use this to get translated buffer strings.
4891
4892         * main.C: add myself and Jean Marc as authors.
4893
4894 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * messages.[hC]: pimplify Messages, and three different pimpls to be
4897         used in different circumstances.
4898
4899         * gettext.[Ch]: change for use with new message code.
4900
4901 2003-04-24 André Pönitz <poenitz@gmx.net>
4902
4903         * factory.C: support for eqref
4904
4905 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * messages.[Ch]: add missing char
4908
4909         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4910
4911         * messages.[Ch]: New files
4912
4913 2003-04-18  John Levon  <levon@movementarian.org>
4914
4915         * BufferView.h:
4916         * BufferView.C:
4917         * BufferView_pimpl.C:
4918         * lfuns.h:
4919         * LyXAction.C:
4920         * lyxtext.h:
4921         * text2.C: remove layout-copy/paste (bug 778)
4922
4923 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4926
4927 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4930         if they succeed. Act accordingly.
4931
4932 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text2.C (setCharFont): adjust
4935         (setCounter): adjust
4936         (insertStringAsLines): adjust
4937
4938         * text.C (leftMargin): adjust
4939         (setHeightOfRow): adjust
4940
4941         * rowpainter.C (paintFirst): adjust
4942         (paintLast): adjust
4943
4944         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4945         (outerHook): ditto
4946         (isFirstInSequence): ditto
4947         (getEndLabel): ditto
4948         (outerFont): adjust
4949
4950         * paragraph.C (getParLanguage): comment out some hard stuff.
4951
4952         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4953         (sgmlError): ditto
4954         (simpleDocBookOnePar): ditto
4955         (makeDocBookFile): use ParagraphList::iterator
4956
4957         * CutAndPaste.C (pasteSelection): adjust
4958
4959 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * text2.C (getFont): adjust
4962         (getLayoutFont): adjust
4963         (getLabelFont): adjust
4964
4965         * paragraph_funcs.C (TeXOnePar): adjust
4966
4967         * buffer.C (simpleLinuxDocOnePar): adjust
4968         (simpleDocBookOnePar): adjust
4969
4970         * CutAndPaste.C (pasteSelection): adjust
4971
4972         * BufferView.C (getEncoding): adjust
4973
4974         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4975
4976 2003-04-16  John Levon  <levon@movementarian.org>
4977
4978         * lyxfind.C: use parlist stuff for search/changes
4979
4980 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4983
4984         * text2.C (deleteEmptyParagraphMechanism): adjust
4985
4986         * text2.[Ch] (ownerParagraph): delete func (both of them
4987
4988 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4991
4992 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * ParagraphList.C: prepare for NO_NEXT
4995
4996 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * text2.C (getFont): adjust
4999         (getLayoutFont): adjust
5000         (getLabelFont): adjust
5001
5002         * paragraph.C (getFont): adjust
5003         (getLabelFont): adjust
5004         (getLayoutFont): adjust
5005
5006         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5007
5008 2003-04-15  John Levon  <levon@movementarian.org>
5009
5010         From Angus Leeming
5011
5012         * lyx_main.C: handle Include in .ui files
5013
5014 2003-04-15  John Levon  <levon@movementarian.org>
5015
5016         * MenuBackend.C: make the doc files length shorter
5017
5018         * ToolbarBackend.h:
5019         * ToolbarBackend.C: handle toolbar placement flags,
5020         Minibuffer
5021
5022 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5025         adjust
5026
5027         * paragraph_funcs.C (TeXOnePar): adjust
5028
5029         * paragraph.C (getLabelFont): add outerfont arg, adjust
5030         (getLayoutFont): ditto
5031         (simpleTeXOnePar): adjust
5032
5033         * paragraph_pimpl.C (realizeFont): delete func
5034
5035 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5038         row argument, constify cur argument.
5039
5040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * text2.C (getFont): adjust
5043         (getLayoutFont): adjust
5044         (getLabelFont): adjust
5045
5046         * paragraph_funcs.C (TeXOnePar): adjust
5047         (outerFont): new func...
5048         (realizeFont): ...moved out from here, changed this to facilitate
5049         transition
5050
5051         * paragraph.C (getFont): take outerfont as arg, adjust
5052         (simpleTeXOnePar): add outerfont arg, adjust
5053
5054         * buffer.C (simpleLinuxDocOnePar): adjust
5055         (simpleDocBookOnePar): adjust
5056
5057         * CutAndPaste.C (pasteSelection): adjust
5058
5059         * BufferView.C (getEncoding): adjust
5060
5061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * text2.C (setCharFont): adjust
5064         (setCounter): adjust
5065
5066         * text.C (leftMargin): adjust
5067         (setHeightOfRow): adjust
5068
5069         * rowpainter.C (paintFirst): adjust
5070         (paintLast): adjust
5071
5072         * paragraph_pimpl.C (realizeFont): adjust
5073
5074         * paragraph.C (isFirstInSequence): move from here...
5075         * paragraph_funcs.C (isFirstInSequence): ...to here
5076
5077         * paragraph.C (outerHook): move from here...
5078         * paragraph_funcs.C (outerHook): ...to here
5079
5080         * paragraph.C (depthHook): move from here...
5081         * paragraph_funcs.C (depthHook): ...to here
5082
5083         * paragraph.C (getEndLabel): move from here...
5084         * paragraph_funcs.C (getEndLabel): ...to here
5085
5086         * text2.C (realizeFont): move from here...
5087         * paragraph_funcs.C (realizeFont): ...to here
5088
5089 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5092
5093 2003-04-14  Angus Leeming  <leeming@lyx.org>
5094
5095         * LColor.[Ch]: scrap LColor mathcursor.
5096
5097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * lyxlex.[Ch] (text): delete function
5100         * trans.C (Load): adjust
5101         * paragraph_funcs.C (readParToken): adjust
5102
5103 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5106         vector<char> instead of a char[].
5107
5108         * lyxlex_pimpl.C (getString): adjust
5109         (next): adjust
5110         (lex): use getString
5111         (eatLine): adjust
5112         (nextToken): adjust
5113
5114         * lyxlex.C (text): use pimpl_->getString()
5115         (getBool): ditto
5116         (findToken): ditto
5117
5118 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5121         (makeFontEntriesLayoutSpecific): temp var for par.size()
5122         (setLayout): temp var for ownerParagraphs().end()
5123         (fullRebreak): temp var for rows().end()
5124         (selectionAsString): temp var for boost::next(startpit), realize
5125         that the while really is a regular for loop.
5126         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5127         setCursor in one place.
5128         (setParagraph): temp vr for ownerParagraphs().end()
5129         (updateCounters): make the while loop a for loop
5130         (cutSelection): temp var for ownerParagraphs().end()
5131         (updateInset): make the do {} while() a regular for loop
5132         (getCursorX): use temp vars
5133         (setCurrentFont): use temp vars
5134         (getColumnNearX): use temp vars
5135
5136 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * text.C (transformChar): use temp var for getChar
5139         (computeBidiTables): use temp var for row->par()
5140         (fill): move temp vars for row->par() and pit->layout() earlier in
5141         the function.
5142         (labelFill): use temp var for row->par()
5143         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5144         asc and desc, realize that pit never changes and that firstpit is
5145         just a duplicate and not needed. Exchange rit->par() with pit in a
5146         lot of places.
5147         (breakAgain): use a temp var for boost::next(rit)
5148         (breakAgainOneRow): ditto
5149         (breakParagraph): use a temp var for rows().begin()
5150         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5151         (cursorRightOneWord): use temp var for cursor.par() and
5152         cursor.pos(), remove usage of tmpcursor.
5153         (cursorLeftOneWord): use temp var for cursor.par() and
5154         cursor.pos() only set cur at end of function.
5155
5156 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * text.C, text2.C: exchange all usage of Paragraph::next with
5159         boost::next(ParagraphList::iterator)
5160
5161         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5162
5163         * text2.C (cursorTop): simplify implementation
5164         (cursorBottom): ditto
5165         (setParagraph): use ParagraphList::iterator
5166         (setCurrentFont): adjust
5167         (getColumnNearX): adjust
5168         (cursorRight): adjust
5169         (cursorLeft): remove usage of Paragraph::previous
5170         (cursorUpParagraph): ditto
5171         (deleteEmptyParagraphMechanism): slight cleanup
5172
5173         * text.C (isBoundary): take a Paragraph const & instead of a
5174         pointer as arg.
5175         (addressBreakPoint): ditto
5176         (leftMargin): remove usage of Paragraph::previous.
5177         (setHeightOfRow): ditto
5178         (cursorLeftOneWord): ditto
5179         (selectNextWordToSpellcheck): ditto
5180         (Delete): ditto
5181         (backspace): ditto
5182         (breakParagraph): remove one usage of Paragraph::next
5183         (redoParagraph): ditto
5184         (acceptChange): ditto
5185         (insertChar): adjust
5186         (rowBreakPoint): adjust
5187
5188         * bufferview_funcs.C (toggleAndShow): adjust
5189
5190 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5193         methods to access it.
5194         * lyxtext.h:
5195         * text.C: Added updateRowPositions to compute all row positions.
5196         Make top_y and getRowNearY() to use the cached y position
5197
5198 2003-04-11  John Levon  <levon@movementarian.org>
5199
5200         * text.C (rowBreakPoint): reintroduce the labelEnd
5201         checks, code copied from the row fill stuff. Deep voodoo.
5202
5203         * text.C (fill): add a comment and debugging for the
5204         next poor soul.
5205
5206 2003-04-11  John Levon  <levon@movementarian.org>
5207
5208         * text.C: make sure fullrow insets get wrapped to the next line,
5209         even when they're in a manual label
5210
5211 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text2.C (insertParagraph): make it take ParagraphList::iterator
5214         as arg.
5215         (setLayout): make it return ParagraphList::iterator
5216         (redoParagraphs): ditto
5217         (setCounter): ditto
5218         (checkParagraph): ditto
5219
5220         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5221
5222         * text2.C: adjust several funcs.
5223         (realizeFont): take a ParagraphList::iterator as arg.
5224         (getLayoutFont): ditto
5225         (getLabelFont): ditto
5226         (setCharFont): ditto
5227
5228         * text.C: adjust several funcs.
5229
5230 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * text.C (selectNextWordToSpellcheck): don't accidentally
5233         skip insets
5234
5235 2003-04-10  John Levon  <levon@movementarian.org>
5236
5237         * ToolbarBackend.C (getIcon): special handling for
5238         LFUN_MATH_DELIM
5239
5240 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * text2.C (cursorRight): a getChar assert fixed
5243
5244 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * text2.C (getFont): change to take a ParagraphList::iterator
5247         instead of Paragraph*
5248         Adjust several functions.
5249
5250         * text.C (transformChar): change to take a ParagraphList::iterator
5251         instead of Paragraph*
5252         (singleWidth): ditto
5253         Adjust several functions.
5254
5255         * rowpainter.C: adjust several functions
5256         * rowpainter.h:store a ParagraphList::iterator and not a
5257         Paragraph&.
5258
5259
5260 2003-04-09  John Levon  <levon@movementarian.org>
5261
5262         * lyxfunc.C:
5263         * lfuns.h:
5264         * LyXAction.h:
5265         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5266         and the "help" bits as well
5267
5268 2003-04-09  John Levon  <levon@movementarian.org>
5269
5270         * ToolbarBackend.h:
5271         * ToolbarBackend.C: allow multiple toolbars
5272
5273 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * undo_funcs.C (setCursorParUndo): adjust
5276
5277         * text_funcs.C (transposeChars): adjust
5278
5279         * text3.C (gotoNextInset): adjust
5280         (dispatch): adjust
5281
5282         * text2.C (setLayout): adjust
5283         (changeDepth): adjust
5284         (setFont): adjust
5285         (redoParagraphs): adjust
5286         (selectionAsString): adjust
5287         (setParagraph): adjust
5288         (insertInset): adjust
5289         (cutSelection): adjust
5290         (copySelection): adjust
5291         (pasteSelection): adjust
5292         (insertStringAsLines): adjust
5293         (updateInset): adjust
5294         (setCursor): change to take a ParagraphList::iterator parameter
5295         (setCursorIntern): change to take a ParagraphList::iterator parameter
5296         (setCurrentFont): adjust
5297         (cursorLeft): adjust
5298         (cursorRight): adjust
5299         (deleteEmptyParagraphMechanism): adjust
5300
5301         * text.C (breakParagraph): adjust
5302         (insertChar): adjust
5303         (acceptChange): adjust
5304         (rejectChange): adjust
5305         (selectNextWordToSpellcheck): adjust
5306         (changeCase): adjust
5307         (Delete): adjust
5308         (backspace): adjust
5309
5310         * lyxfind.C (SearchForward): adjust
5311         (SearchBackward): adjust
5312         (nextChange): adjust
5313
5314         * lyxcursor.C (par): adjust
5315
5316         * lyxcursor.h: store a ParagraphList::iterator instead of a
5317         Paragraph*
5318
5319         * lyx_cb.C (getPossibleLabel): adjust
5320
5321         * bufferview_funcs.C (toggleAndShow): adjust
5322
5323         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5324         (dispatch): adjust
5325
5326         * BufferView.C (removeAutoInsets): adjust
5327         (lockedInsetStoreUndo): adjust
5328
5329 2003-04-09  John Levon  <levon@movementarian.org>
5330
5331         * ToolbarBackend.C: try icon without argument
5332         if with argument fails
5333
5334 2003-04-08  John Levon  <levon@movementarian.org>
5335
5336         * ToolbarBackend.h:
5337         * ToolbarBackend.C: add getIcon(), handle tooltip,
5338         and change from "Icon" to "Item".
5339
5340 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5341
5342         * BufferView.C (lockInset): another bad getchar crunched
5343
5344 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5345
5346         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5347         again)
5348
5349 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * lyxfind.C (searchForward, searchBackwards): bug 782
5352
5353 2003-04-07  John Levon  <levon@movementarian.org>
5354
5355         * paragraph.C: remove dead comment
5356
5357         * text.C: remove troublesome depth-fiddling code
5358         in leftMargin() and rightMargin() (bug 1017)
5359
5360         * text.C: fix breaking of rows in nested lists
5361         (bug 1004)
5362
5363         * text2.C (updateCounters): fix up depth values
5364         (bug 1013)
5365
5366 2003-04-07  John Levon  <levon@movementarian.org>
5367
5368         * BufferView_pimpl.C: clear message when doc finishes resizing,
5369         and after a mouse event
5370
5371         * lyxfunc.C: clear message after exiting inset
5372
5373 2003-04-07  John Levon  <levon@movementarian.org>
5374
5375         * bufferview_funcs.C: show math status not outside
5376         status in the statusbar
5377
5378 2003-04-07  John Levon  <levon@movementarian.org>
5379
5380         * lyxfunc.C: note status changed after a depth change
5381
5382 2003-04-04  Angus Leeming  <leeming@lyx.org>
5383
5384         * LaTeX.h: move AuxInfo operator==, != out of line.
5385         Remove LaTeX virtual destructor; nothing derives from it.
5386         Move operator()() out of public area and rename it startscript().
5387         Change protected for private.
5388
5389 2003-04-04  Angus Leeming  <leeming@lyx.org>
5390
5391         * lyxfunc.C:
5392         * text2.C: remove unneeded #includes.
5393
5394 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * text2.C (dEPM): fix the heigth of the next row
5397
5398 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5399
5400         * text.C: squashed an invalid getChar requester + some ws changes
5401
5402 2003-04-03  John Levon  <levon@movementarian.org>
5403
5404         * bufferview_funcs.h:
5405         * bufferview_funcs.C:
5406         * lyxfunc.C:
5407         * lyxtext.h:
5408         * text2.C: make getStatus work for the env depth lfuns
5409
5410 2003-04-03  John Levon  <levon@movementarian.org>
5411
5412         * bufferview_funcs.h:
5413         * bufferview_funcs.C:
5414         * lyxfunc.C:
5415         * lyxtext.h:
5416         * text2.C: parlistize decDepth(), by merging it with incDepth()
5417
5418 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * lyxrow.h: store a ParagraphList::iterator instead of a
5421         Paragraph* and adjust other class functions to suit.
5422
5423         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5424         above.
5425
5426 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * text2.C (setCursor): do not anchor to cursor row for the time being
5429
5430 2003-04-02  John Levon  <levon@movementarian.org>
5431
5432         * LyXAction.C:
5433         * lfuns.h:
5434         * lyx_main.C:
5435         * lyxtext.h:
5436         * text.C:
5437         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5438
5439 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * paragraph.h: make ParagraphList and ParagraphList::iterator
5442         friends of Paragraph.
5443
5444         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5445
5446         * ParagraphList.C: Use the private next_ and previous_ from
5447         Paragraph.
5448
5449 2003-04-01  John Levon  <levon@movementarian.org>
5450
5451         * ToolbarBackend.h:
5452         * ToolbarBackend.C:
5453         * Makefile.am: rename, remove defaults gunk
5454
5455         * MenuBackend.h:
5456         * MenuBackend.C: remove defaults gunk
5457
5458         * Languages.h:
5459         * Languages.C: remove defaults gunk
5460
5461         * lyx_main.h:
5462         * lyx_main.C: error out if files couldn't be found.
5463
5464 2003-04-02  John Levon  <levon@movementarian.org>
5465
5466         * text2.C: make incDepth() use parlist
5467
5468 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * undo_funcs.C (firstUndoParagraph): adjust
5471
5472         * text3.C (gotoInset): adjust
5473         (dispatch): adjust, and rewrite loop.
5474
5475         * text2.C (init): adjust, and rewrite loop.
5476         (redoParagraphs): adjust
5477         (updateInset): adjust, and rewrite loop.
5478         (deleteEmptyParagraphMechanism): adjust
5479
5480         * tabular.C (LyXTabular): adjust
5481         (SetMultiColumn): adjust
5482         (TeXRow): adjust
5483
5484         * lyxtext.[Ch] (ownerParagraph): delete function
5485         (ownerParagraphs): new function returns a ParagraphList.
5486
5487         * BufferView.C (removeAutoInsets): adjust
5488         (insertErrors): adjust
5489         (setCursorFromRow): adjust
5490
5491 2003-04-01  Angus Leeming  <leeming@lyx.org>
5492
5493         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5494         in the frontends.
5495
5496 2003-04-02  John Levon  <levon@movementarian.org>
5497
5498         * lyxtext.h:
5499         * text.C:
5500         * Makefile.am:
5501         * text_funcs.h:
5502         * text_funcs.C: make transposeChars a free function
5503
5504         * lyxrow_funcs.C: remove wrong comment
5505
5506 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * lyxtext.h: adjust
5509         * rowpainter.C: adjust
5510         * text.C: adjust
5511         * text2.C: adjust
5512         * text3.C: adjust
5513
5514         * lyxrow_funcs. [Ch]: new files
5515
5516         * lyxrow.[Ch]: remove next and previous pointers
5517         (next,previous): remove accessor functions
5518         (isParEnd): move to lyxrow_funcs
5519         (lastPos): move to lyxrow_funcs
5520         (nextRowIsAllInset): move to lyxrow_funcs
5521         (lastPrintablePos): move to lyxrow_funcs
5522         (numberOfSeparators): move to lyxrow_funcs
5523         (numberOfHfills): move to lyxrow_funcs
5524         (numberOfLabelHfills): move to lyxrow_funcs
5525         (hfillExpansion): move to lyxrow_funcs
5526
5527         * lyxfunc.C: adjust
5528
5529         * bufferview_funcs.C (toggleAndShow): adjust
5530
5531         * RowList.h: Remove class RowList from file leave just a
5532         std::list<Row>.
5533
5534         * RowList.C: delete file
5535
5536         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5537         and lyxrow_funcs.h
5538
5539 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * text3.C (cursorPrevious): adjust
5542         (cursorNext): adjust
5543         (dispatch): adjust
5544
5545         * text2.C (redoHeightOfParagraph): adjust
5546         (redoDrawingOfParagraph): adjust
5547         (setCursor): adjust
5548
5549         * text.C (breakParagraph): adjust
5550         (insertChar): adjust
5551         (backspace): adjust
5552
5553         * rowpainter.C (RowPainter): adjust
5554         (leftMargin): simplify and adjust
5555         (most rowpainter functions): adjust.
5556
5557         * rowpainter.h: store the row as RowList::iterator not as Row*
5558
5559         * lyxcursor.C (row): taka RowList::iterator as arg
5560         (irow): ditto
5561
5562         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5563         of Row*.
5564
5565 2003-04-01  Angus Leeming  <leeming@lyx.org>
5566
5567         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5568         stuff like bool Bool.
5569
5570 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5573         rewrite a loop
5574
5575 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5578         RowList::iterator.
5579
5580         * lyxtext.h (rows): drop one version and leve a const variant that
5581         returns a RowList::iterator.
5582
5583 2003-03-31  Angus Leeming  <leeming@lyx.org>
5584
5585         * text.C (fill): ensure that the signature is the same as that in the
5586         header file.
5587
5588 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * text2.C (redoParagraphs): adjust
5591         (updateCounters): adjust
5592         (checkParagraph): adjust
5593         (getColumnNearX): adjust and reformat a bit.
5594
5595         * text.C (top_y): adjust
5596         (workWidth): adjust
5597         (leftMargin): adjust
5598         (prepareToPrint): adjust
5599         (getRow): adjust
5600         (getRowNearY): adjust
5601
5602         * lyxtext.h: make rowlist_ mutable.
5603
5604         * RowList.h: add const_iterator
5605         * RowList.C: adjust for RowList::const_iterator.
5606
5607         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5608         adjust.
5609
5610 2003-03-31  John Levon  <levon@movementarian.org>
5611
5612         * lyxrc.h:
5613         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5614
5615         * lyx_main.C: set default fonts from using lyx_gui funcs
5616
5617         * exporter.C: pdf_mode moved from lyxrc
5618
5619         * lyx_cb.C:
5620         * lyxfunc.C: changes from above
5621
5622 2003-03-31  John Levon  <levon@movementarian.org>
5623
5624         * lyx_main.C: fix to the last fix
5625
5626 2003-03-31  John Levon  <levon@movementarian.org>
5627
5628         * bufferlist.C: "Load original" -> "Load Original"
5629
5630         * converter.C:
5631         * exporter.C:
5632         * importer.C:
5633         * lyx_main.C:
5634         * format.C: more Alert cleanups
5635
5636 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * text2.C (removeParagraph): make it take a RowList::iterator as
5639         arg, adjust.
5640         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5641         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5642
5643         * text.C (anchor_row): make it take a RowList::iterator as arg,
5644         adjust.
5645         (computeBidiTables): make it take a const reference to Row instead
5646         of Row pointer, adjust.
5647         (leftMargin): make it take a RowList::iterator as arg, adjust.
5648         (rowBreakPoint): adjust
5649         (breakAgainOneRow): make it take a RowList::iterator as arg,
5650         adjust.
5651         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5652
5653         * bufferview_funcs.C (toggleAndShow): adjust
5654
5655 2003-03-30  John Levon  <levon@movementarian.org>
5656
5657         * Makefile.am:
5658         * BoostFormat.h:
5659         * boost-inst.C: moved to support
5660
5661         * several files: changes as a result
5662
5663 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * text2.C (LyXText): adjust.
5666         (init): adjust
5667         (removeRow): make it take a RowList::iterator as arg, adjust.
5668         (fullRebreak): adjust
5669         (deleteEmptyParagraphMechanism): adjust
5670         (clearPaint): adjust
5671         (postPaint): adjust
5672
5673         * text.C (top_y): adjust
5674         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5675         (breakAgain): make it take a RowList::iterator as arg, adjust.
5676         (breakParagraph): adjust
5677         (insertChar): adjust
5678         (backspace): adjust
5679
5680         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5681         need_break_row, and refresh_row.
5682
5683         * text3.C (dispatch): adjust
5684
5685         * text2.C (checkParagraph): adjust
5686         (setCursor): adjust
5687         (setCursorFromCoordinates): adjust
5688
5689         * text.C (top_y): adjust
5690         (workWidth): adjust
5691         (getRow): make it return a RowList::iterator, adjust
5692         (getRowNearY): make it return a RowList::iterator, adjust
5693
5694         * text2.C (init): adjust
5695         (insertRow): remove function
5696         (insertParagraph): adjust
5697         (redoParagraphs): adjust
5698         (fullRebreak): adjust
5699         (updateCounters): adjust
5700
5701         * text.C (top_y): rewrite to use RowList iterators.
5702         (top_y): adjust
5703         (setHeightOfRow): rewrite to sue RowList iterators.
5704         (appendParagraph): adjust
5705         (breakAgain): adjust
5706         (breakAgainOneRow): adjust
5707         (breakParagraph): adjust
5708         (getRow): adjust
5709         (getRowNearY): adjust, and remove commented code.
5710
5711         * lyxtext.h (firstRow): delete function
5712         (lastRow): delete function
5713         (rows): new function (const and non-const versions.)
5714         (insertRow): delete function
5715
5716         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5717
5718 2003-03-29  John Levon  <levon@movementarian.org>
5719
5720         * BufferView_pimpl.C: always update scrollbar top
5721         because pasting text when we're anchored could mean we
5722         miss an update altogether
5723
5724 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * text2.C (init): use rowlist_.end() and not 0.
5727         (insertRow): change to take a RowList::iterator as arg, adjust
5728         for this.
5729         (insertParagraph): change to take a RowList::iterator as arg,
5730         adjust for this.
5731         (redoParagraphs): remove some debug msgs.
5732
5733         * text.C (appendParagraph): change to take a RowList::iterator
5734         arg, adjust for this.
5735         (breakAgain): add an assert
5736         (breakAgainOneRow): ditto
5737
5738 2003-03-29  John Levon  <levon@movementarian.org>
5739
5740         * text2.C: do not clear selection after inc/decDepth
5741         (bug 550)
5742
5743 2003-03-29  John Levon  <levon@movementarian.org>
5744
5745         * BufferView.C:
5746         * buffer.C: fix broken strerrors according to Lars
5747
5748 2003-03-29  John Levon  <levon@movementarian.org>
5749
5750         * converters.C: more Alert cleanups
5751
5752 2003-03-29  John Levon  <levon@movementarian.org>
5753
5754         * bufferview_funcs.C: remove pointless Alert
5755
5756         * buffer.C: fix confusing error message when
5757         a template is chmoded 000
5758
5759 2003-03-29  John Levon  <levon@movementarian.org>
5760
5761         * BufferView.C:
5762         * BufferView.h:
5763         * BufferView_pimpl.C: Alert fixes
5764
5765         * Makefile.am:
5766         * tabular.C:
5767         * tabular-old.C: remove unused table compat reading
5768
5769 2003-03-29  John Levon  <levon@movementarian.org>
5770
5771         * BufferView.C:
5772         * buffer.C:
5773         * lyx_cb.h:
5774         * lyx_cb.C: more Alert cleanups
5775
5776         * lyxfunc.C: don't allow chktex if not latex document
5777
5778 2003-03-29  John Levon  <levon@movementarian.org>
5779
5780         * lyx_cb.C:
5781         * BufferView.C:
5782         * buffer.C: warnings pushed down from support/,
5783         kill err_alert
5784
5785 2003-03-29  John Levon  <levon@movementarian.org>
5786
5787         * lyxfunc.C: safety check for C-r (revert)
5788
5789 2003-03-29  John Levon  <levon@movementarian.org>
5790
5791         * bufferlist.h:
5792         * bufferlist.C: several UI fixes using Alert::prompt.
5793         Fix the pointless looping quit code. Fix stupid revert
5794         behaviour (bug 938)
5795
5796         * lyxvc.h:
5797         * lyxvc.C:
5798         * lyx_cb.C: use Alert::prompt
5799
5800         * lyx_main.C: remove a silly question
5801
5802         * lyxfunc.C: remove a couple of silly questions,
5803         use Alert::prompt
5804
5805 2003-03-28  John Levon  <levon@movementarian.org>
5806
5807         * text2.C: fix bug 974 (End on empty par)
5808
5809 2003-03-28  John Levon  <levon@movementarian.org>
5810
5811         * BufferView_pimpl.C:
5812         * LyXAction.C:
5813         * lfuns.h: remove do-nothing math greek lfuns
5814
5815 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * lyxgluelength.h (isValidGlueLength): add default arg on
5818         parameter 2. Remove default arg from friend in class.
5819
5820         * lyxlength.h (isValidLength): add default arg on parameter 2.
5821         Remove default arg from friend in class.
5822
5823         * text2.C (LyXText): adjust, initialize refresh_row.
5824         (init): adjust
5825         (removeRow): adjust
5826         (insertRow): adjust
5827         (insertParagraph): adjst
5828         (redoParagraphs): adjust
5829         (fullRebreak): adjust
5830         (updateCounters): adjust
5831         (deleteEmptyParagraphMechanism): first attempt at fixing a
5832         crashing bug.
5833
5834         * text.C (top_y): adjust
5835         (setHeightOfRow): adjust
5836         (getRow): adjust
5837         (getRowNearY): adjust
5838
5839         * lyxtext.h: include RowList.h
5840         (~LyXText): not needed anymore, deleted.
5841         (firstRow): modify for RowList
5842         (lastRow): new function
5843         Delete firstrow and lastrow class variables, add a Rowlist
5844         rowlist_ class variable.
5845
5846         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5847         paragraph is empty.
5848
5849         * RowList.C (insert): fix case where it == begin().
5850
5851 2003-03-26  Angus Leeming  <leeming@lyx.org>
5852
5853         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5854         the thesaurus dialog.
5855
5856 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5859
5860         * RowList.[Ch]: new files
5861
5862         * ParagraphList.C (erase): handle the case where it == begin
5863         correctly.
5864
5865 2003-03-25  John Levon  <levon@movementarian.org>
5866
5867         * Makefile.am:
5868         * aspell_local.h:
5869         * aspell.C: add new aspell support
5870
5871         * lyxrc.h:
5872         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5873         have it accessible.
5874
5875 2003-03-25  Angus Leeming  <leeming@lyx.org>
5876
5877         * lfuns.h:
5878         * LyXAction.C (init): new LFUN_INSET_INSERT.
5879
5880         * BufferView_pimpl.C (dispatch): split out part of the
5881         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5882
5883         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5884         LFUN_INSET_APPLY.
5885
5886 2003-03-25  Angus Leeming  <leeming@lyx.org>
5887
5888         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5889
5890 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * text2.C:
5893         * text3.C: remove useless row->height(0)
5894
5895 2003-03-25  John Levon  <levon@movementarian.org>
5896
5897         * lyxtext.h:
5898         * text2.C:
5899         * text3.C: rename the refreshing stuff to better names
5900
5901 2003-03-24  John Levon  <levon@movementarian.org>
5902
5903         * BufferView_pimpl.h:
5904         * BufferView_pimpl.C: update layout choice on a mouse
5905         press/release
5906
5907 2003-03-23  John Levon  <levon@movementarian.org>
5908
5909         * Makefile.am: fix commandtags.h reference
5910
5911 2003-03-22  John Levon  <levon@movementarian.org>
5912
5913         * BufferView_pimpl.C:
5914         * lyxtext.h:
5915         * rowpainter.C:
5916         * rowpainter.h:
5917         * text.C:
5918         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5919
5920 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * lyxtext.h:
5923         * text.C: take the rtl methods out of line
5924
5925 2003-03-21 André Pönitz <poenitz@gmx.net>
5926
5927         * metricsinfo.[Ch]: new files containing structures to be passed around
5928         during the two-phase-drawing...
5929
5930 2003-03-21 André Pönitz <poenitz@gmx.net>
5931
5932         * lyxtextclass.C: read 'environment' tag.
5933
5934 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * text2.C (removeRow): fix bug 964
5937
5938 2003-03-20  John Levon  <levon@movementarian.org>
5939
5940         * rowpainter.C:
5941         * text.C:
5942         * text2.C: paint cleanups. Inset::update() dropped font
5943         parameter
5944
5945 2003-03-19  John Levon  <levon@movementarian.org>
5946
5947         * lyxfunc.C: only fitcursor/markDirty if available()
5948
5949 2003-03-19  John Levon  <levon@movementarian.org>
5950
5951         * commandtags.h: rename to ...
5952
5953         * lfuns.h: ... this, and renumber / cleanup
5954
5955 2003-03-19  John Levon  <levon@movementarian.org>
5956
5957         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5958         fit the cursor after an lfun
5959
5960         * BufferView.h:
5961         * BufferView.C:
5962         * BufferView_pimpl.h:
5963         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5964
5965         * LyXAction.C: layout-character should have ReadOnly
5966
5967         * ParagraphParameters.C:
5968         * buffer.C:
5969         * bufferview_funcs.C:
5970         * lyx_cb.C:
5971         * lyxfind.C:
5972         * lyxtext.h:
5973         * text.C:
5974         * text2.C:
5975         * text3.C:
5976         * undo_funcs.C: changes from above
5977
5978 2003-03-18  John Levon  <levon@movementarian.org>
5979
5980         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5981         remove it from update()
5982
5983         * lyxfunc.C: update layout choice after an lfun
5984
5985         * text3.C: remove extra updateLayoutChoice()s
5986
5987 2003-03-18  John Levon  <levon@movementarian.org>
5988
5989         * text.C: top_y change means full repaint, fix
5990         a drawing bug with cursor movement
5991
5992 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * lyxtext.h:
5995         * text.C:
5996         * text2.C: anchor row on setCursor
5997
5998 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * lyxtext.h: remove almost all mutable keywords
6001         * text.C:
6002         * text2.C:
6003         * text3.C: remove const keywords accordingly
6004
6005 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6008         anon namespace
6009         (TeXEnvironment): ditto
6010         (TeXOnePar): ditto
6011
6012 2003-03-17  John Levon  <levon@movementarian.org>
6013
6014         * text.C (rowBreakPoint): remove attempt to fix displayed
6015         math insets inside a manual label
6016
6017 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * lyxtext.h: remove BufferView* as first arg from almost all class
6020         functions.
6021         * other files: adjust.
6022
6023 2003-03-17  John Levon  <levon@movementarian.org>
6024
6025         * lyxtext.h:
6026         * undo_funcs.C:
6027         * text2.C: more paint cleanups
6028
6029         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6030
6031         * rowpainter.h:
6032         * rowpainter.C: remove "smart" background painting code
6033
6034 2003-03-16  John Levon  <levon@movementarian.org>
6035
6036         * lyxtext.h:
6037         * text.C:
6038         * text2.C:
6039         * text3.C: add helper functions for setting refresh_row/y
6040
6041 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6042
6043         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6044         newline inset which *can* get inserted in the pass_thru layouts.
6045         This is primarily for literate documents.
6046
6047 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6048
6049         * buffer.C: increment LYX_FORMAT to 223
6050
6051 2003-03-14 André Pönitz <poenitz@gmx.net>
6052
6053         * textclass.h: prepare for environment handling, ws changes
6054         * lyxlayout.C: read latexheader and latexfooter tags
6055
6056 2003-03-14  John Levon  <levon@movementarian.org>
6057
6058         * text2.C: rewrite ::status() a bit
6059
6060 2003-03-13  John Levon  <levon@movementarian.org>
6061
6062         * lyxtext.h: add some docs
6063
6064 2003-03-13  John Levon  <levon@movementarian.org>
6065
6066         * lyxtext.h:
6067         * text.C:
6068         * text2.C:
6069         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6070
6071 2003-03-13  John Levon  <levon@movementarian.org>
6072
6073         * text3.C: fix appendix redrawing
6074
6075 2003-03-13  John Levon  <levon@movementarian.org>
6076
6077         * text.C (setHeightOfRow):
6078         * rowpainter.h:
6079         * rowpainter.C: make appendix mark have the text
6080           "Appendix" so the user knows what it is
6081
6082         * LColor.h:
6083         * LColor.C: s/appendixline/appendix/ from above
6084
6085 2003-03-13  John Levon  <levon@movementarian.org>
6086
6087         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6088
6089         * text.C: fix a getChar(pos) bug properly
6090
6091 2003-03-13  Angus Leeming  <leeming@lyx.org>
6092
6093         * commandtags.h:
6094         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6095         Probably only temporary. Let's see how things pan out.
6096
6097         * BufferView.C (unlockInset):
6098         * BufferView_pimpl.C (fitCursor):
6099         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6100
6101         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6102         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6103
6104         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6105         new functions that convert ParagraphParameters to and from a string.
6106
6107         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6108         BufferView::Pimpl's dispatch.
6109         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6110
6111 2003-03-13 André Pönitz <poenitz@gmx.net>
6112
6113         * lyxfunc.C:
6114         * text3.C:
6115         * factory.C: make it aware of InsetEnv
6116
6117 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * text2.C (setCursor): never ask for one past last
6120         (setCursor): add some debugging messages.
6121
6122         * text.C (singleWidth): never ask for one past last
6123         (singleWidth): ditto
6124         (leftMargin): ditto
6125         (rightMargin): ditto
6126         (rowBreakPoint): ditto
6127         (setHeightOfRow): ditto
6128         (prepareToPrint): ditto
6129
6130         * rowpainter.C (paintBackground): never ask for one past last
6131         (paintText): never ask for one past last
6132
6133         * paragraph_pimpl.C (getChar): make the assert stricter, never
6134         allow the one past last pos to be taken
6135
6136         * paragraph.C (getChar): ws changes only
6137
6138         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6139         (numberOfSeparators): ditto
6140         (numberOfHfills): ditto
6141
6142 2003-03-12  John Levon  <levon@movementarian.org>
6143
6144         * author.h:
6145         * author.C:
6146         * bufferparams.h:
6147         * bufferparams.C:
6148         * paragraph_funcs.C: fix per-buffer authorlists
6149
6150 2003-03-12  John Levon  <levon@movementarian.org>
6151
6152         * text.C: fix newline in right address
6153
6154 2003-03-12  Angus Leeming  <leeming@lyx.org>
6155
6156         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6157         duplicate those in LyXFunc::dispatch.
6158
6159         * commandtags.h:
6160         * LyXAction.C:
6161         * ToolbarDefaults.C:
6162         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6163         Add LFUN_FONTFREE_UPDATE.
6164
6165         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6166         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6167
6168         * bufferview_func.[Ch]: several new functions to facilliate
6169         transfer of data to and from the character dialog.
6170
6171 2003-03-12  John Levon  <levon@movementarian.org>
6172
6173         * buffer.C:
6174         * paragraph.h:
6175         * paragraph.C:
6176         * paragraph_funcs.C:
6177         * paragraph_pimpl.C:
6178         * sgml.C:
6179         * tabular.C:
6180         * text.C:
6181         * text3.C: remove META_NEWLINE in favour of an inset
6182
6183         * rowpainter.h:
6184         * rowpainter.C: remove paintNewline (done by inset)
6185
6186 2003-03-12  John Levon  <levon@movementarian.org>
6187
6188         * paragraph_pimpl.C: complain about bad getChar()s
6189         for a while at least
6190
6191 2003-03-12  John Levon  <levon@movementarian.org>
6192
6193         * buffer.h:
6194         * buffer.C: move paragraph read into a separate function,
6195         a little renaming to reflect that.
6196
6197         * bufferparams.h:
6198         * bufferparams.C: remove the author_ids map, not necessary now
6199
6200         * factory.h:
6201         * factory.C: moved Buffer::readInset to here
6202
6203         * paragraph_funcs.h:
6204         * paragraph_funcs.C: readParagraph free function moved from
6205         buffer.C
6206
6207         * tabular.C: name change
6208
6209 2003-03-12  John Levon  <levon@movementarian.org>
6210
6211         * buffer.C:
6212         * ParagraphParameters.C: move par params input to
6213         a read() method
6214
6215         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6216         behave like a normal read from the stream wrt reading
6217         a line vs. a \\token
6218
6219 2003-03-12  John Levon  <levon@movementarian.org>
6220
6221         * paragraph.C:
6222         * ParagraphParameters.h:
6223         * ParagraphParameters.C: move output code to a
6224         ::write() method
6225
6226 2003-03-12  John Levon  <levon@movementarian.org>
6227
6228         * BufferView.C (insertLyXFile):
6229         * buffer.h:
6230         * buffer.C:
6231         * tabular.C: use a parlist iterator for creating the
6232           document.
6233
6234 2003-03-12  John Levon  <levon@movementarian.org>
6235
6236         * buffer.C: make current_change static local not
6237           static file-scope
6238
6239 2003-03-12  John Levon  <levon@movementarian.org>
6240
6241         * buffer.C: fix insertStringAsLines for change tracking
6242
6243 2003-03-12  John Levon  <levon@movementarian.org>
6244
6245         * BufferView.C:
6246         * tabular.C:
6247         * buffer.h:
6248         * buffer.C:
6249         * bufferparams.h:
6250         * bufferparams.C: move author list into params. Rename some
6251           functions. Move the header reading into a separate token
6252           loop. Move the header token reading into BufferParams.
6253
6254 2003-03-12  John Levon  <levon@movementarian.org>
6255
6256         * changes.C: put debug inside lyxerr.debugging() checks
6257
6258 2003-03-11 André Pönitz <poenitz@gmx.net>
6259
6260         * factory.C: make it aware of InsetHFill
6261
6262 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6263
6264         * buffer.C (latexParagraphs): move function from here...
6265         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6266         args.
6267
6268 2003-03-10  Angus Leeming  <leeming@lyx.org>
6269
6270         * LyXAction.C (init): fix bug in poplating array with multiple entries
6271         with the same LFUN (spotted by JMarc).
6272
6273 2003-03-10  John Levon  <levon@movementarian.org>
6274
6275         * text.C:
6276         * text2.C: move getColumnNearX() near its
6277         only call site
6278
6279 2003-03-10  John Levon  <levon@movementarian.org>
6280
6281         * text.C: fix break before a minipage
6282
6283 2003-03-10  John Levon  <levon@movementarian.org>
6284
6285         * text.C: fix the last commit
6286
6287 2003-03-09  John Levon  <levon@movementarian.org>
6288
6289         * lyxtext.h:
6290         * text.C:
6291         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6292         bug 365 (don't break before insets unless needed). Don't
6293         return a value > last under any circumstances.
6294
6295 2003-03-09  Angus Leeming  <leeming@lyx.org>
6296
6297         * BufferView_pimpl.C (trackChanges, dispatch): call
6298         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6299
6300 2003-03-09  Angus Leeming  <leeming@lyx.org>
6301
6302         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6303         than Dialogs::showAboutlyx().
6304
6305 2003-03-09  Angus Leeming  <leeming@lyx.org>
6306
6307         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6308         than Dialogs::showTabularCreate().
6309
6310 2003-03-09  John Levon  <levon@movementarian.org>
6311
6312         * lyxtext.h:
6313         * text.C:
6314         * text2.C: 3rd arg to nextBreakPoint was always the same.
6315           Use references.
6316
6317 2003-03-08  John Levon  <levon@movementarian.org>
6318
6319         * lyxrow.C:
6320         * paragraph.C:
6321         * paragraph.h:
6322         * rowpainter.C:
6323         * text.C:
6324         * text2.C: Remove the "main" bit from the "main body"
6325           notion.
6326
6327 2003-03-08  John Levon  <levon@movementarian.org>
6328
6329         * text.C (leftMargin): The left margin of an empty
6330         manual label paragraph should not include the label width
6331         string length.
6332
6333         * text.C (prepareToPrint): don't attempt to measure hfills
6334         for empty manual label paragraphs - the answer should be 0
6335
6336 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * CutAndPaste.C: remove commented code and reindent.
6339
6340 2003-03-08  John Levon  <levon@movementarian.org>
6341
6342         * lyxfunc.h:
6343         * lyxfunc.C: move reloadBuffer()
6344
6345         * BufferView.h:
6346         * BufferView.C: to here
6347
6348         * lyxvc.C: add comment
6349
6350         * vc-backend.h:
6351         * vc-backend.C: call bv->reload() to avoid
6352           getStatus() check on MENURELOAD
6353
6354 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6355
6356         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6357         to an old format .dep file.
6358
6359 2003-03-07  Angus Leeming  <leeming@lyx.org>
6360
6361         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6362         when the LFUN_MOUSE_RELEASE should have been handled by
6363         inset->localDispatch.
6364
6365 2003-03-07  Angus Leeming  <leeming@lyx.org>
6366
6367         * BufferView_pimpl.C (dispatch):
6368         * LyXAction.C (init):
6369         * ToolbarDefaults.C (init):
6370         * commandtags.h:
6371         * lyxfunc.C (getStatus):
6372         remove LFUN_INSET_GRAPHICS.
6373
6374         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6375
6376 2003-03-07  Angus Leeming  <leeming@lyx.org>
6377
6378         * commandtags.h:
6379         * LyXAction.C (init):
6380         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6381
6382         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6383
6384         * commandtags.h:
6385         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6386
6387         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6388         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6389
6390 2003-03-07  Angus Leeming  <leeming@lyx.org>
6391
6392         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6393         remove "ert".
6394
6395 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * ParagraphList.C (front): new function
6398         (back): implement
6399
6400 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6403         and top_row_offset_. removed var first_y.
6404         * text.C (top_y):
6405         * text2.C (LyXText, removeRow):
6406         * text3.C:
6407         * BufferView_pimpl.C:
6408         use these methods instead of using first_y
6409
6410 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * text2.C (pasteSelection): adjust for checkPastePossible
6413
6414         * CutAndPaste.C: remove Paragraph * buf and replace with
6415         ParagraphList paragraphs.
6416         (DeleteBuffer): delete
6417         (cutSelection): change the tc type to textclass_type
6418         (copySelection): change the tc type to textclass_type
6419         (copySelection): adjust for ParagraphList
6420         (pasteSelection): change the tc type to textclass_type
6421         (pasteSelection): adjust for Paragraphlist
6422         (nrOfParagraphs): simplify for ParagraphList
6423         (checkPastePossible): simplify for ParagraphList
6424         (checkPastePossible): remove unused arg
6425
6426         * ParagraphList.C (insert): handle the case where there are no
6427         paragraphs yet.
6428
6429         * CutAndPaste.h: make CutAndPaste a namespace.
6430
6431         * text3.C (dispatch): adjust
6432
6433         * text.C (breakParagraph): add a ParagraphList as arg
6434
6435         * paragraph_funcs.C (breakParagraph): change to take a
6436         BufferParams and a ParagraphList as args.
6437         (breakParagraphConservative): ditto
6438         (mergeParagraph): ditto
6439         (TeXDeeper): add a ParagraphList arg
6440         (TeXEnvironment): ditto
6441         (TeXOnePar): ditto
6442
6443         * buffer.C (readLyXformat2): adjust
6444         (insertStringAsLines): adjust
6445         (latexParagraphs): adjust
6446
6447         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6448         (cutSelection): adjust
6449         (pasteSelection): adjust
6450
6451         * BufferView_pimpl.C (insertInset): adjust
6452
6453 2003-03-05  Angus Leeming  <leeming@lyx.org>
6454
6455         * commandtags.h:
6456         * LyXAction.C (init):
6457         * BufferView_pimpl.C (dispatch):
6458         * lyxfunc.C (getStatus):
6459         remove LFUN_CHILD_INSERT.
6460
6461         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6462
6463 2003-03-05  Angus Leeming  <leeming@lyx.org>
6464
6465         * commandtags.h:
6466         * LyXAction.C (init):
6467         * src/factory.C (createInset):
6468         * lyxfunc.C (getStatus):
6469         * text3.C (dispatch):
6470         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6471
6472         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6473
6474 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * ParagraphList.C (insert): handle insert right before end()
6477         (erase): fix cases where it can be first or last paragraph.
6478
6479 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6482         Paragraph::next and Paragraph::previous
6483         (TeXOnePar): ditto
6484
6485         * text.C (breakParagraph): adjust
6486
6487         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6488         BufferParams& as arg.
6489         (breakParagraph): use ParagraphList::insert
6490         (breakParagraphConservative): take a Buffer* instead of a
6491         BufferParams& as arg.
6492         (breakParagraphConservative): use ParagraphList::insert.
6493
6494         * buffer.C (insertStringAsLines): un-const it
6495         (insertStringAsLines): adjust
6496
6497         * ParagraphList.C (insert): new function
6498
6499         * CutAndPaste.C (pasteSelection): adjust
6500
6501         * text.C (backspace): adjust
6502
6503         * tabular.C (SetMultiColumn): adjust
6504
6505         * CutAndPaste.C (cutSelection): adjust
6506         (pasteSelection): adjust
6507
6508         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6509         Buffer const * as arg
6510
6511         * ParagraphList.C (erase): new function
6512         * paragraph_funcs.C (mergeParagraph): use it
6513         (mergeParagraph): make it take a Buffer* instead of a
6514         BufferParams* as arg
6515
6516         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6517         as arg
6518         (breakParagraphConservative): ditto
6519
6520         * paragraph.h: remove the breakParagraph friend
6521
6522         * paragraph.C (eraseIntern): new function
6523         (setChange): new function
6524
6525         * paragraph_funcs.C (mergeParagraph): make it take a
6526         ParagraphList::iterator instead of a Paragraph *, adjust
6527         accordingly.
6528
6529         * paragraph.h: move an #endif so that the change tracking stuff
6530         also works in the NO_NEXT case.
6531
6532 2003-03-04  Angus Leeming  <leeming@lyx.org>
6533
6534         * commandtags.h:
6535         * LyXAction.C: new LFUN_INSET_MODIFY.
6536
6537         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6538         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6539
6540 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * several files: ws changes only
6543
6544         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6545         (TeXEnvironment): ditto
6546         (TeXDeeper): ditto
6547
6548         * buffer.C (makeLaTeXFile): adjust
6549         (latexParagraphs): make it take ParagraphList::iterator as args
6550
6551 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * buffer.C (latexParagraphs): adjust
6554
6555         * paragraph.C (TeXOnePar): move function...
6556         (optArgInset): move function...
6557         (TeXEnvironment): move function...
6558         * paragraph_pimpl.C (TeXDeeper): move function...
6559         * paragraph_funcs.C: ...here
6560
6561         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6562
6563 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * buffer.C (readInset): remove compability code for old Figure and
6566         InsetInfo insets
6567
6568 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * buffer.C: ws changes
6571         (readInset):
6572
6573         * BufferView_pimpl.C: ditto
6574         * author.C: ditto
6575         * buffer.h: ditto
6576         * bufferlist.h: ditto
6577         * changes.h: ditto
6578         * lyxfunc.C: ditto
6579
6580 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6581
6582         * converter.[Ch]: split into itself +
6583         * graph.[Ch]
6584         * format.[Ch]
6585         * Makefile.am: += graph.[Ch] + format.[Ch]
6586         * MenuBackend.C
6587         * buffer.C
6588         * exporter.C
6589         * importer.C
6590         * lyx_main.C
6591         * lyxfunc.C
6592         * lyxrc.C: added #include "format.h"
6593
6594 2003-02-27  Angus Leeming  <leeming@lyx.org>
6595
6596         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6597           a label.
6598
6599         * factory.C (createInset): add "label" to the factory.
6600
6601         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6602           string and do no more.
6603
6604 2003-02-27  Angus Leeming  <leeming@lyx.org>
6605
6606         * commandtags.h:
6607         * LyXAction.C (init):
6608         * factory.C (createInset):
6609         * BufferView_pimpl.C (dispatch):
6610           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6611
6612         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6613
6614         * lyxfunc.C (dispatch):
6615         * text3.C (dispatch): pass name to params2string.
6616
6617 2003-02-26  Angus Leeming  <leeming@lyx.org>
6618
6619         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6620           blocks together.
6621           Rearrange the ~includes. Strip out the unnecessary ones.
6622
6623         * factory.C (createInset): reformat.
6624           create new insets for the various LFUN_XYZ_APPLY lfuns.
6625
6626 2003-02-26  John Levon  <levon@movementarian.org>
6627
6628         * lyxrow.h:
6629         * lyxrow.C: add isParStart,isParEnd helpers
6630
6631         * paragraph.h: make isInserted/DeletedText take refs
6632
6633         * paragraph_funcs.h:
6634         * paragraph_funcs.C: remove #if 0'd code
6635
6636         * lyxtext.h:
6637         * text3.C:
6638         * text2.C:
6639         * text.C: use lyxrow helpers above.
6640           Move draw and paint routines to RowPainter.
6641           Make several methods use refs not pointers.
6642           Make backgroundColor() const.
6643           Add markChangeInDraw(), isInInset().
6644           Merge changeRegionCase into changeCase.
6645           Make workWidth() shouldn't-happen code into an Assert.
6646
6647         * rowpainter.h:
6648         * rowpainter.C: new class for painting a row.
6649
6650         * vspace.h:
6651         * vspace.C: make inPixels take a ref
6652
6653 2003-02-26  Angus Leeming  <leeming@lyx.org>
6654
6655         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6656         LFUN_REF_APPLY.
6657
6658 2003-02-25  John Levon  <levon@movementarian.org>
6659
6660         * ispell.C: give the forked command a more accurate name
6661
6662 2003-02-22  John Levon  <levon@movementarian.org>
6663
6664         * toc.h:
6665         * toc.C: make TocItem store an id not a Paragraph *
6666           (bug #913)
6667
6668 2003-02-21  Angus Leeming  <leeming@lyx.org>
6669
6670         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6671           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6672           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6673           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6674           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6675           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6676
6677         * BufferView_pimpl.C (dispatch):
6678         * LyXAction.C (init):
6679         * factory.C (createInset):
6680         * lyxfunc.C (getStatus, dispatch):
6681         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6682
6683 2003-02-21  Angus Leeming  <leeming@lyx.org>
6684
6685         * BufferView_pimpl.C (MenuInsertLyXFile):
6686         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6687         * lyxfunc.C (menuNew, open, doImport):
6688           no longer pass a LyXView & to fileDlg.
6689
6690 2003-02-21  Angus Leeming  <leeming@lyx.org>
6691
6692         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6693         * LyXAction.C: change, BIBKEY to BIBITEM.
6694         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6695         Change InsetBibKey to InsetBibitem.
6696         Change BIBKEY_CODE to BIBITEM_CODE.
6697         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6698         * factory.C: replace insetbib.h with insetbibitem.h.
6699         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6700         * paragraph.C: replace insetbib.h with insetbibitem.h.
6701         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6702         Change bibkey() to bibitem().
6703         * text.C: remove insetbib.h.
6704         * text2.C: replace insetbib.h with insetbibitem.h.
6705         change bibkey() to bibitem().
6706         * text3.C: remove insetbib.h.
6707         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6708
6709 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * lyxrc.C (output): enclose user email in quotes (in case there are
6712         several words)
6713
6714 2003-02-18  John Levon  <levon@movementarian.org>
6715
6716         * buffer.h: add std::
6717
6718 2003-02-17  John Levon  <levon@movementarian.org>
6719
6720         * SpellBase.h:
6721         * ispell.h:
6722         * ispell.C:
6723         * pspell.h:
6724         * pspell.C: reworking. Especially in ispell, a large
6725           number of clean ups and bug fixes.
6726
6727         * lyxfunc.C: fix revert to behave sensibly
6728
6729 2003-02-17 André Pönitz <poenitz@gmx.net>
6730
6731         * LyXAction.C:
6732         * commandtags.h: new LFUN_INSERT_BIBKEY
6733
6734         * layout.h:
6735         * lyxlayout.C:
6736         * buffer.C:
6737         * factory.C:
6738         * text.C:
6739         * text2.C:
6740         * text3.C:
6741         * paragraph.[Ch]:
6742         * paragraph_func.C: remove special bibkey handling
6743
6744 2003-02-17  John Levon  <levon@movementarian.org>
6745
6746         * text.C (Delete): fix case where delete at the end of
6747           the very first paragraph would not merge the pars
6748
6749 2003-02-17  John Levon  <levon@movementarian.org>
6750
6751         * lyxrow.C: fix lastPrintablePos()
6752
6753 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6754
6755         * bufferparams.C (writeLaTeX): add a std:here
6756
6757         * buffer.C: and remove a using directive there
6758
6759 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6760
6761         * buffer.C (makeLaTeXFile): move the code that generates the
6762           preamble...
6763
6764         * bufferparams.C (writeLaTeX): ... in this new method
6765
6766         * LaTeXFeatures.C (getEncodingSet): make const
6767           (getLanguages): make const
6768
6769         * MenuBackend.C (binding): returns the binding associated to this
6770           action
6771           (add): sets the status of each item by calling getStatus. Adds
6772           some intelligence.
6773           (read): add support for OptSubMenu
6774           (expand): remove extra separator at the end of expanded menu
6775
6776 2003-02-15  John Levon  <levon@movementarian.org>
6777
6778         * BufferView.C:
6779         * BufferView_pimpl.C:
6780         * bufferlist.h:
6781         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6782           inset code that had no actual effect. Remove unneeded status
6783           code.
6784
6785 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6786
6787         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6788           in preamble
6789
6790 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6791
6792         * text.C (drawLengthMarker): also draw an arrow marker for
6793           symbolic lengths (medskip...)
6794
6795 2003-02-14  John Levon  <levon@movementarian.org>
6796
6797         * tabular.h:
6798         * tabular.C: better method names
6799
6800 2003-02-14  John Levon  <levon@movementarian.org>
6801
6802         * BufferView_pimpl.C:
6803         * bufferlist.C:
6804         * buffer.C:
6805         * converter.C:
6806         * lyx_cb.C:
6807         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6808           it's a more accurate name. Remove some pointless uses.
6809
6810 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6811
6812         * text2.C (LyXText): change order of initilizers to shut off
6813           warnings
6814
6815 2003-02-14  John Levon  <levon@movementarian.org>
6816
6817         * buffer.C: use ParIterator for getParFromID()
6818
6819         * paragraph.h:
6820         * paragraph.C:
6821         * paragraph_pimpl.h:
6822         * paragraph_pimpl.C: remove unused getParFromID()
6823
6824 2003-02-14  John Levon  <levon@movementarian.org>
6825
6826         * buffer.C: remove some very old #if 0'd parse code
6827
6828 2003-02-13  John Levon  <levon@movementarian.org>
6829
6830         * text.h:
6831         * text.C:
6832         * text2.C: move hfillExpansion(), numberOfSeparators(),
6833           rowLast(), rowLastPrintable(), numberofHfills(),
6834           numberOfLabelHfills() ...
6835
6836         * lyxrow.h:
6837         * lyxrow.C: ... to member functions here.
6838
6839         * paragraph.h:
6840         * paragraph.C:
6841         * lyxtext.h:
6842         * text.C: remove LyXText::beginningOfMainBody(), and call
6843           p->beginningOfMainBody() directly. Move the check for
6844           LABEL_MANUAL into the latter.
6845
6846         * text.h:
6847         * text.C:
6848         * text2.C:
6849         * vspace.C:
6850         * BufferView.h:
6851         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6852
6853         * text.h:
6854         * text.C:
6855         * text2.C:
6856         * text3.C:
6857         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6858           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6859
6860 2003-02-13  John Levon  <levon@movementarian.org>
6861
6862         * CutAndPaste.C: remove debug
6863
6864 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6865
6866         * paragraph.C (asString): remove two unused variables
6867
6868         * lyxtextclass.C (readTitleType):
6869           (Read):
6870           (LyXTextClass): handle new members titletype_ and titlename_
6871
6872         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6873
6874 2003-02-09  John Levon  <levon@movementarian.org>
6875
6876         * buffer.h:
6877         * buffer.C: replace hand-coded list with a map for the dep clean
6878
6879 2003-02-08  John Levon  <levon@movementarian.org>
6880
6881         * LaTeX.C: consolidate code into showRunMessage() helper
6882
6883 2003-02-08  John Levon  <levon@movementarian.org>
6884
6885         * lyxfind.C:
6886         * lyxtext.h:
6887         * text2.C:
6888         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6889           and pass the size in explicitly
6890
6891         * BufferView_pimpl.h:
6892         * BufferView_pimpl.C:
6893         * BufferView.h:
6894         * BufferView.C: add getCurrentChange()
6895
6896         * BufferView_pimpl.h:
6897         * BufferView_pimpl.C: handle change lfuns
6898
6899         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6900           for changes. Mark pasted paragraphs as new.
6901
6902         * support/lyxtime.h:
6903         * support/lyxtime.C:
6904         * DepTable.C: abstract time_t as lyx::time_type
6905
6906         * LColor.h:
6907         * LColor.C: add colours for new text, deleted text, changebars
6908
6909         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6910           package use "usenames" option.
6911
6912         * commandtags.h:
6913         * lyxfunc.C:
6914         * LyXAction.C: add change lfuns
6915
6916         * Makefile.am:
6917         * author.h:
6918         * author.C: author handling
6919
6920         * buffer.h:
6921         * buffer.C: add a per-buffer author list, with first entry as
6922           current author. Handle new .lyx tokens for change tracking. Output
6923           author list to .lyx file. Output dvipost stuff to .tex preamble.
6924           Bump lyx format to 222.
6925
6926         * bufferlist.h:
6927         * bufferlist.C: add setCurrentAuthor() to reset current author details
6928           in all buffers.
6929
6930         * bufferparams.h:
6931         * bufferparams.C: add param for tracking
6932
6933         * bufferview_funcs.C: output change info in minibuffer
6934
6935         * Makefile.am:
6936         * changes.h:
6937         * changes.C: add change-tracking structure
6938
6939         * debug.h:
6940         * debug.C: add CHANGES debug flag
6941
6942         * lyxfind.h:
6943         * lyxfind.C: add code for finding the next change piece
6944
6945         * lyxrc.h:
6946         * lyxrc.C: add user_name and user_email
6947
6948         * lyxrow.h:
6949         * lyxrow.C: add a metric for the top of the text line
6950
6951         * lyxtext.h:
6952         * text.C: implement accept/rejectChange()
6953
6954         * lyxtext.h:
6955         * text.C: paint changebars. Paint new/deleted text in the chosen
6956         colours. Strike through deleted text.
6957
6958         * paragraph.h:
6959         * paragraph.C:
6960         * paragraph_pimpl.h:
6961         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6962           in the current change to the insert functions. Rework erase to
6963           mark text as deleted, adding an eraseIntern() and a range-based
6964           erase(). Implement per-paragraph change lookup and
6965           accept/reject.
6966
6967         * paragraph_funcs.C: Fixup paste for change tracking.
6968
6969         * tabular.C: mark added row/columns as new.
6970
6971         * text.C: fix rowLast() to never return -1. Don't allow
6972           spellchecking of deleted text. Track transpose changes. Don't
6973           allow paragraph break or merge where appropriate.
6974
6975         * text2.C: leave cursor at end of selection after a cut.
6976
6977 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6978
6979         * text.C (getLengthMarkerHeight):
6980         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6981         visible on screen too.
6982
6983 2003-02-07  John Levon  <levon@movementarian.org>
6984
6985         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6986
6987 2003-02-05  Angus Leeming  <leeming@lyx.org>
6988
6989         * lyxserver.C (read_ready): revert my patch of 11 September last year
6990         as it sends PC cpu through the roof. Presumably this means that
6991         the lyxserver will no longer run on an Alpha...
6992
6993 2003-01-30  Angus Leeming  <leeming@lyx.org>
6994
6995         * factory.C (createInset): create an InsetCommandParam of type "index"
6996         and use it to 'do the right thing'.
6997
6998         * text2.C (getStringToIndex): ensure that cursor position is always
6999         reset to the reset_cursor position.
7000
7001 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7002
7003         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7004         disabled.
7005
7006 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7007
7008         * bufferview.C:
7009         * lyxcb.C:
7010         * lyxfunc.C: Output messages with identical spelling, punctuation,
7011         and spaces
7012
7013 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7014
7015         * MenuBackend.C (expandFormats): List only viewable export formats
7016         in "View" menu
7017
7018         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7019         message
7020
7021         * lyxfunc.C (getStatus): Make sure that formats other than
7022         "fax" can also be disabled
7023
7024 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7025
7026         * text3.C (dispatch): put the lfuns that insert insets in 3
7027         groups, and call doInsertInset with appropriate arguments.
7028         (doInsertInset): new function, that creates an inset and inserts
7029         it according to some boolean parameters.
7030
7031 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * buffer.C (readFile): remember to pass on 'par' when calling
7034         readFile recursively.
7035
7036 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7037
7038         * MenuBackend.C (expandFormats): add "..." to import formats.
7039
7040 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7041
7042         * paragraph.C (asString): Remove XForms RTL hacks.
7043
7044 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7045         * buffer.C: fix typo
7046
7047 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * Makefile.am (LIBS): delete var
7050         (lyx_LDADD): add @LIBS@ here instead.
7051
7052 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7053
7054         * Clarify the meaning of "wheel mouse jump"
7055
7056 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7057
7058         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7059         tabular in a float
7060
7061 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7062
7063         * importer.C (Loaders): do not preallocate 3 elements in the
7064         vector, since one ends up with 6 elements otherwise
7065
7066 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7067
7068         * DepTable.C (write): write the file name as last element of the
7069         .dep file (because it may contain spaces)
7070         (read): read info in the right order
7071
7072 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7073
7074         * paragraph_pimpl.C (simpleTeXBlanks):
7075         (simpleTeXSpecialChars):
7076         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7077
7078         * tabular.C (latex): add some missing case statements. Reindent.
7079
7080         * MenuBackend.C (expandToc): remove unused variable.
7081
7082 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7083
7084         * LColor.C:
7085         * LaTeX.C:
7086         * LyXAction.C:
7087         * MenuBackend.C:
7088         * buffer.C:
7089         * exporter.C:
7090         * lyxfunc.C:
7091         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7092         and the like.
7093
7094 2003-01-05  John Levon  <levon@movementarian.org>
7095
7096         * BufferView.h:
7097         * BufferView.C: add getEncoding()
7098
7099         * kbsequence.h:
7100         * kbsequence.C: do not store last keypress
7101
7102         * lyxfunc.h:
7103         * lyxfunc.C: store last keypress here instead. Pass encoding
7104           to getISOEncoded()
7105
7106 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7107
7108         * lyx_main.C (init): remove annoying error message when following
7109         symbolic links (bug #780)
7110
7111 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7112
7113         * text.C (insertChar):
7114         * lyxrc.C (getDescription): remove extra spaces
7115
7116 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * lyxrc.C (getDescription): remove extra spaces
7119
7120 2002-12-20  John Levon  <levon@movementarian.org>
7121
7122         * text3.C: hack fix for page up/down across tall rows
7123
7124 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7125
7126         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7127         not been invoked
7128
7129 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7132         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7133         thesaurus is not compiled in
7134
7135 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7136
7137         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7138
7139 2002-12-16  Angus Leeming  <leeming@lyx.org>
7140
7141         * lyxrc.[Ch]:
7142         * lyx_main.C (init): remove override_x_deadkeys stuff.
7143
7144 2002-12-12  John Levon  <levon@movementarian.org>
7145
7146         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7147           insert. Only remove shift modifier under strict
7148           circumstances.
7149
7150 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * MenuBackend.C (expandToc): fix crash.
7153
7154 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * MenuBackend.C (expandToc): gettext on float names.
7157
7158 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7159
7160         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7161         implement bool empty() [bug 490]
7162
7163 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7166
7167 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7168
7169         * several files: ws changes
7170
7171 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7172
7173         * text2.C (setCounter): clean up a bit, use boost.format.
7174         (updateCounters): initialize par upon declaration.
7175
7176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7177         if the layout exists. We do not just store the layout any more.
7178         (SwitchLayoutsBetweenClasses): use boost.format
7179
7180 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7181
7182         * converter.C (convert): if from and to files are the same, use a
7183         temporary files as intermediary
7184
7185 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * commandtags.h:
7188         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7189
7190 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7191
7192         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7193
7194 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * tabular.C (asciiPrintCell): use string(size, char) instead of
7197         explicit loop.
7198
7199         * sgml.C (openTag): fix order of arguments to string constructor
7200         (closeTag): ditto
7201
7202         * lyxfunc.C (dispatch): use boost.format
7203
7204         * lots of files: change "c" -> 'c'
7205
7206 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7207
7208         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7209
7210 2002-11-25  Angus Leeming  <leeming@lyx.org>
7211
7212         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7213
7214         * lyx_main.C (init): compile fix.
7215
7216 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * lyx_cb.C (start): boost.formatify
7219         do not include <iostream>
7220
7221         * lengthcommon.C: ws only
7222
7223         * boost-inst.C,BoostFormat.h: add more explict instantations
7224
7225 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * lots of files: handle USE_BOOST_FORMAT
7228
7229 2002-11-21  John Levon  <levon@movementarian.org>
7230
7231         * pspell.C: fix compile
7232
7233 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7234
7235         * lyxfunc.C (dispatch): use boost::format
7236         (open): ditto
7237         (doImport): ditto
7238
7239         * lyxfont.C (stateText): use boost::format
7240
7241         * lyx_main.C (LyX): use boost::format
7242         (init): ditto
7243         (queryUserLyXDir): ditto
7244         (readRcFile): ditto
7245         (parse_dbg): ditto
7246         (typedef boost::function): use the recommened syntax.
7247
7248         * importer.C (Import): use boost::format
7249
7250         * debug.C (showLevel): use boost::format
7251
7252         * converter.C (view): use boost::format
7253         (convert): ditto
7254         (move): ditto
7255         (scanLog): ditto
7256
7257         * bufferview_funcs.C (currentState): use boost::format
7258
7259         * bufferlist.C (emergencyWrite): use boost::format
7260
7261         * buffer.C (readLyXformat2): use boost::format
7262         (parseSingleLyXformat2Token): ditto
7263
7264         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7265
7266         * LaTeX.C (run): use boost::format
7267
7268         * Chktex.C (scanLogFile): use boost::format
7269
7270         * BufferView_pimpl.C (savePosition): use boost::format
7271         (restorePosition): ditto
7272         (MenuInsertLyXFile): ditto
7273
7274         * BoostFormat.h: help file for explicit instation.
7275
7276 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7277
7278         * tabular.C (latex): Support for block alignment in fixed width
7279         columns.
7280
7281 2002-11-17  John Levon  <levon@movementarian.org>
7282
7283         * BufferView_pimpl.C:
7284         * lyx_cb.C:
7285         * lyxfunc.C: split filedialog into open/save
7286
7287 2002-11-08  Juergen Vigna  <jug@sad.it>
7288
7289         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7290         by my last patch (hopefully).
7291
7292 2002-11-08  John Levon  <levon@movementarian.org>
7293
7294         * iterators.h:
7295         * iterators.C:
7296         * buffer.h:
7297         * buffer.C:
7298         * paragraph.h:
7299         * paragraph.C:
7300         * toc.h:
7301         * toc.C: ParConstIterator, and use it (from Lars)
7302
7303 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7304
7305         * lyxtextclass.[Ch]: revise and add doxygen comments
7306
7307 2002-11-07  John Levon  <levon@movementarian.org>
7308
7309         * text.C: fix progress value for spellchecker
7310
7311         * toc.C: fix navigate menu for insetwrap inside minipage
7312
7313         * paragraph_funcs.C: added FIXME for suspect code
7314
7315 2002-11-07  John Levon  <levon@movementarian.org>
7316
7317         * BufferView_pimpl.C: fix redrawing of insets
7318           on buffer switch
7319
7320 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7321
7322         * text2.C (updateCounters): fix bug 668
7323
7324 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7325
7326         * text3.C (dispatch): Do not make the buffer dirty when moving the
7327         cursor.
7328
7329 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * vc-backend.C: STRCONV
7332         (scanMaster): ditto
7333
7334         * text2.C (setCounter): STRCONV
7335
7336         * paragraph.C (asString): STRCONV
7337
7338         * lyxlength.C (asString): STRCONV
7339         (asLatexString): ditto
7340
7341         * lyxgluelength.C (asString): STRCONV
7342         (asLatexString): ditto
7343
7344         * lyxfunc.C (dispatch): STRCONV
7345         (open): ditto
7346
7347         * lyxfont.C (stateText): STRCONV
7348
7349         * importer.C (Import): STRCONV
7350
7351         * counters.C (labelItem): STRCONV
7352         (numberLabel): ditto
7353         (numberLabel): remove unused ostringstream o
7354
7355         * chset.C: STRCONV
7356         (loadFile): ditto
7357
7358         * bufferview_funcs.C (currentState): STRCONV
7359
7360         * buffer.C (readFile): STRCONV
7361         (asciiParagraph): ditto
7362         (makeLaTeXFile): ditto
7363
7364         * Spacing.C (writeEnvirBegin): STRCONV
7365
7366         * LaTeXFeatures.C (getLanguages): STRCONV
7367         (getPackages): ditto
7368         (getMacros): ditto
7369         (getBabelOptions): ditto
7370         (getTClassPreamble): ditto
7371         (getLyXSGMLEntities): ditto
7372         (getIncludedFiles): ditto
7373
7374         * LaTeX.C: STRCONV
7375         (run): ditto
7376         (scanAuxFile): ditto
7377         (deplog): ditto
7378
7379         * LString.h: add the STRCONV macros
7380
7381         * BufferView_pimpl.C (savePosition): STRCONV
7382         (restorePosition): ditto
7383         (MenuInsertLyXFile): ditto
7384
7385         * vc-backend.C (scanMaster): change from submatch[...] to
7386         submatch.str(...)
7387
7388         * funcrequest.C: include config.h
7389
7390         * factory.C: include config.h
7391
7392         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7393
7394         * box.C: include config.h
7395
7396         * LaTeX.C (scanAuxFile): change from submatch[...] to
7397         submatch.str(...)
7398         (deplog): ditto
7399
7400 2002-10-25  Angus Leeming  <leeming@lyx.org>
7401
7402         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7403
7404         * ispell.[Ch] (setError): new method.
7405         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7406         Use setError() insetead of goto END.
7407
7408         * lyx_cb.C (AutoSave): move out child process into new class
7409         AutoSaveBuffer.
7410
7411 2002-10-30  John Levon  <levon@movementarian.org>
7412
7413         * text3.C: make start appendix undoable
7414
7415 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7416
7417         * lyxlength.C (inPixels): Fix returned value.
7418
7419         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7420         environment.
7421
7422 2002-10-24  Angus Leeming  <leeming@lyx.org>
7423
7424         * lyxgluelength.h: no need to forward declare BufferParams
7425         or BufferView, so don't.
7426
7427 2002-10-21  John Levon  <levon@movementarian.org>
7428
7429         * BufferView.C: menuUndo ->undo, redo
7430
7431         * BufferView.h: document, remove dead, make some methods private
7432
7433         * paragraph_funcs.h:
7434         * paragraph_funcs.C:
7435         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7436
7437         * buffer.h:
7438         * buffer.C:
7439         * sgml.h:
7440         * sgml.C: move sgml open/close tag into sgml.C
7441
7442         * bufferview_funcs.h: unused prototype
7443
7444         * lyxfunc.h:
7445         * lyxfunc.C: remove unused
7446
7447         * lyxtext.h:
7448         * text.C: remove unused
7449
7450 2002-10-21  John Levon  <levon@movementarian.org>
7451
7452         * BufferView.h:
7453         * BufferView.C:
7454         * BufferView_pimpl.h:
7455         * BufferView_pimpl.C: fix mouse wheel handling based on
7456           patch from Darren Freeman
7457
7458 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7459
7460         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7461
7462 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7463
7464         * lyxlength.C (inPixels): Fix hanfling of negative length.
7465         Fix LyXLength::MU case.
7466
7467 2002-10-16  John Levon  <levon@movementarian.org>
7468
7469         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7470
7471 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7472
7473         * converter.C (view): add support for $$i (file name) and $$p
7474         (file path) for the viewer command. If $$i is not specified, then
7475         it is appended to the command (for compatibility with old syntax)
7476
7477 2002-10-14  Juergen Vigna  <jug@sad.it>
7478
7479         * undo_funcs.C (textHandleUndo): alter the order in which the
7480         new undopar is added to the LyXText, as we have to set first
7481         the right prev/next and then add it as otherwise the rebuild of
7482         LyXText is not correct. Also reset the cursor to the right paragraph,
7483         with this IMO we could remove the hack in "redoParagraphs()".
7484
7485 2002-10-09  Angus Leeming  <leeming@lyx.org>
7486
7487         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7488         to turn off an optimisation if a new inset is to be inserted.
7489
7490 2002-10-11 André Pönitz <poenitz@gmx.net>
7491
7492         * lyxtext.h: make some functions public to allow access
7493         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7494
7495 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7496
7497         * text3.C (dispatch): when changing layout, avoid an infinite loop
7498         [bug #652]
7499
7500 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7501
7502         * lyxrc.C (read): treat a viewer or converter command of "none" as
7503         if it were empty.
7504
7505         * MenuBackend.C (expandFormats): for an update, also allow the
7506         formats that are not viewable
7507
7508         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7509         script if it is newer than the lyxrc.defaults in user directory
7510
7511 2002-10-07 André Pönitz <poenitz@gmx.net>
7512
7513         * text.C: Vitaly Lipatov's small i18n fix
7514
7515 2002-09-25  Angus Leeming  <leeming@lyx.org>
7516
7517         * ispell.h: doxygen fix.
7518
7519 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7520
7521         * buffer.h (readFile): Add a new argument to the method, to allow
7522         reading of old-format templates.
7523
7524 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7525
7526         * toc.C (getTocList): Get TOC from InsetWrap.
7527
7528 2002-09-16  John Levon  <levon@movementarian.org>
7529
7530         * lyxfunc.C: check tabular for cut/copy too
7531
7532 2002-09-12  John Levon  <levon@movementarian.org>
7533
7534         * LyXAction.C: tidy
7535
7536         * factory.h:
7537         * factory.C: add header
7538
7539         * paragraph_funcs.h:
7540         * paragraph_funcs.C: cleanup
7541
7542 2002-09-11  John Levon  <levon@movementarian.org>
7543
7544         * PrinterParams.h: odd/even default to true
7545
7546 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7547
7548         * PrinterParams.h: update printer parameters for new xforms dialog
7549
7550 2002-09-11  Angus Leeming  <leeming@lyx.org>
7551
7552         * lyxserver.C (read_ready): re-write to make it more transparent
7553         and to make it work in coherent fashion under Tru64 Unix.
7554
7555 2002-09-11  André Pönitz <poenitz@gmx.net>
7556
7557         * commandtags.h:
7558         * LyXAction.C:
7559         * text3.C: implement LFUN_WORDSEL
7560
7561 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7564         make floatlist_ a boost::shared_ptr<FloatList>
7565
7566         * lyxtextclass.C: include FloatList.h
7567         (LyXTextClass): initialize floatlist_
7568         (TextClassTags): add TC_NOFLOAT
7569         (Read): match "nofloat" to TC_NOFLOAT and use it.
7570         (readFloat): modify call to floatlist_
7571         (floats): ditto
7572         (floats): ditto
7573
7574         * FloatList.[Ch] (FloatList): remove commented out float
7575         initialization.
7576         (erase): new function
7577
7578 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7579
7580         * MenuBackend.C (expandToc): fix crash when there is no document
7581         open
7582
7583 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7584
7585         * many files: Add insetwrap.
7586
7587 2002-09-09  John Levon  <levon@movementarian.org>
7588
7589         * text2.C: remove confusing and awkward depth wraparound
7590
7591 2002-09-09  John Levon  <levon@movementarian.org>
7592
7593         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7594
7595         * buffer.h:
7596         * buffer.C: remove getIncludeonlyList()
7597
7598         * paragraph.C:
7599         * lyxfunc.C: remove headers
7600
7601 2002-09-09  Juergen Vigna  <jug@sad.it>
7602
7603         * text.C (getColumnNearX): fix form Michael this is most
7604         probably a cut&paste bug.
7605
7606 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7609
7610         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7611         references, ws changes.
7612
7613         * text2.C (init): update counters after init
7614         (insertParagraph): no need to set counter on idividual paragraphs.
7615         (setCounter): access the counters object in the textclass object
7616         on in the buffer object.
7617         (updateCounters): ditto
7618
7619         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7620         shared_ptr<Counters> to avoid loading counters.h in all
7621         compilation units.
7622         (LyXTextClass): initialize ctrs_
7623         (TextClassTags): add TC_COUNTER, and ...
7624         (Read): use it here.
7625         (CounterTags): new tags
7626         (readCounter): new function
7627         (counters): new funtion
7628         (defaultLayoutName): return a const reference
7629
7630         * counters.C (Counters): remove contructor
7631         (newCounter): remove a couple of unneeded statements.
7632         (newCounter): simplify a bit.
7633         (numberLabel): some small formatting changes.
7634
7635         * buffer.[Ch]: remove all traces of counters, move the Counters
7636         object to the LyXTextClass.
7637
7638 2002-09-06  Alain Castera  <castera@in2p3.fr>
7639
7640         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7641         package to set the horizontal alignment on fixed width columns.
7642
7643         * lyx_sty.C:
7644         * lyx_sty.h: added tabularnewline macro def.
7645
7646         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7647
7648 2002-09-06  John Levon  <levon@movementarian.org>
7649
7650         * LyXAction.C: tooltips for sub/superscript
7651
7652         * MenuBackend.C: a bit more verbose
7653
7654         * lyxfunc.C: tiny clean
7655
7656         * undo_funcs.C: document undo_frozen
7657
7658 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * counters.C (Counters): add missing algorithm counter.
7661
7662         * text2.C (setCounter): lookup the counter with layouts latexname
7663         instead of by section number.
7664         (setCounter): use a hackish way to lookup the correct enum
7665         counter.
7666         a float name->type change
7667         reset enum couners with counter name directly instead of depth value.
7668
7669         * counters.C (Counters): remove the push_backs, change to use the
7670         float type not the float name.
7671         (labelItem): remove unused string, float name->type change
7672
7673         * counters.h: don't include vector, loose the enums and sects vectors
7674
7675 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7678         (Read): add float->TC_FLOAT to textclassTags
7679         (Read): and handle it in the switch
7680         (readFloat): new function
7681
7682         * FloatList.C (FloatList): comment out the hardcoded float
7683         definitions.
7684
7685         * lyxlayout.h: ws change.
7686
7687 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7688
7689         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7690
7691 2002-09-03  Angus Leeming  <leeming@lyx.org>
7692
7693         * BufferView_pimpl.h: qualified name is not allowed in member
7694         declaration: WorkArea & Pimpl::workarea() const;
7695
7696         * factory.C: added using std::endl directive.
7697
7698         * text3.C: added using std::find and std::vector directives.
7699
7700 2002-08-29  André Pönitz <poenitz@gmx.net>
7701
7702         * lyxtext.h:
7703         * text2.C: remove unused member number_of_rows
7704
7705         * Makefile.am:
7706         * BufferView2.C: remove file, move contents to...
7707         * BufferView.C: ... here
7708
7709         * BufferView_pimpl.C:
7710         * factory.C: move more inset creation to factory
7711
7712         * vspace.C: avoid direct usage of LyXText, ws changes
7713
7714         * BufferView.[Ch]:
7715                 don't provide direct access to WorkArea, use two simple
7716                 acessors haveSelction() and workHeight() instead
7717
7718
7719 2002-08-29  John Levon  <levon@movementarian.org>
7720
7721         * BufferView_pimpl.C (dispatch): do not continue when
7722           no buffer
7723
7724 2002-08-28  André Pönitz <poenitz@gmx.net>
7725
7726         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7727
7728         * BufferView.h:
7729         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7730
7731 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7732
7733         * buffer.C: increment LYX_FORMAT to 221
7734
7735         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7736         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7737
7738         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7739
7740         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7741
7742 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7743
7744         * factory.C (createInset): use LyXTextClass::floats
7745
7746         * MenuBackend.C (expandFloatListInsert):
7747         (expandFloatInsert):
7748         (expandToc):
7749
7750         * text2.C (setCounter):
7751
7752         * LaTeXFeatures.C (useFloat):
7753         (getFloatDefinitions):
7754
7755         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7756
7757         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7758         floatlist_, with accessor floats().
7759
7760         * FloatList.h: remove global FloatList
7761
7762 2002-08-26  André Pönitz <poenitz@gmx.net>
7763
7764         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7765
7766         * BufferView.h:
7767         * BufferView2.C:
7768         * BufferView_pimpl.C:
7769         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7770
7771 2002-08-25  John Levon  <levon@movementarian.org>
7772
7773         * LyXAction.C: fix margin note description
7774
7775 2002-08-24  John Levon  <levon@movementarian.org>
7776
7777         * buffer.C:
7778         * bufferlist.C:
7779         * bufferview_funcs.C:
7780         * lyxfont.C:
7781         * undo_funcs.C: cleanups
7782
7783         * lyxfunc.C: disable CUT/COPY when no selection
7784
7785 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7786
7787         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7788         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7789
7790         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7791         Add backward compatibility to "mono", "gray" and "no".
7792
7793 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7794
7795         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7796         (and file_format >= 200).
7797
7798 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7801
7802 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7805
7806 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7807
7808         * BufferView_pimpl.C:
7809         * LyXAction.C:
7810         * buffer.C:
7811         * commandtags.h:
7812         * lyxfunc.C:
7813         * paragraph.[Ch]:
7814         * text2.C:
7815         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7816         inset and code to make it  work with the paragraph code. The inset
7817         can be anywhere in the paragraph, but will only do the expected
7818         thing in LaTeX if the layout file contains the parameter line
7819                         OptionalArgs    1
7820         (or more generally, a nonzero value) for that layout.
7821
7822 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * paragraph.h: remove the declaration of undefined counters class
7825         function.
7826
7827 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7828
7829         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7830         Dr. Richard Hawkins.
7831
7832 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7833
7834         * paragraph_funcs.h: remove some unneeded includes
7835
7836         * text.C (backspace): pasteParagraph now in global scipe
7837
7838         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7839         (pasteSelection): ditto
7840
7841         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7842         * paragraph_funcs.C (pasteParagraph): ... here
7843
7844 2002-08-20  André Pönitz <poenitz@gmx.net>
7845
7846         * commandtags.h: new LFUNs for swapping/copying table row/colums
7847
7848         * LyXAction.C:
7849         * lyxfunc.C: support for new lfuns
7850
7851 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * tabular.C:
7854         * buffer.[Ch]: remove NO_COMPABILITY stuff
7855
7856 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * boost.C (throw_exception): new file, with helper function for
7859         boost compiled without exceptions.
7860
7861         * paragraph.h:
7862         * lyxlength.C:
7863         * buffer.C:
7864         * ParameterStruct.h:
7865         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7866
7867         * bufferlist.C (emergencyWriteAll): use boost bind
7868
7869         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7870
7871         * text.C: include paragraph_funcs.h
7872         (breakParagraph): breakParagraph is now in global scope
7873
7874         * paragraph_funcs.[Ch]: new files
7875
7876         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7877         global scope
7878
7879         * buffer.C: include paragraph_funcs.h
7880         (insertStringAsLines): breakParagraph is now in global scope
7881
7882         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7883         paragraph_funcs.C
7884
7885         * CutAndPaste.C: include paragraph_funcs.h
7886         (cutSelection): breakParagraphConservative is now in global scope
7887         (pasteSelection): ditto
7888
7889         * buffer.h: declare oprator== and operator!= for
7890         Buffer::inset_iterator
7891
7892         * bufferlist.C (emergencyWrite): don't use fmt(...)
7893
7894         * text3.C: add using std::endl
7895
7896         * BufferView.C (moveCursorUpdate): remove default arg
7897
7898 2002-08-20  André Pönitz <poenitz@gmx.net>
7899
7900         * buffer.[Ch]: move inline functions to .C
7901
7902         * BufferView2.C:
7903         * BufferView_pimpl.C:
7904         * text.C:
7905         * buffer.[Ch]: use improved inset_iterator
7906
7907         * buffer.C:
7908         * paragraph.[Ch]: write one paragraph at a time
7909
7910 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7911
7912         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7913         style if style is not specified.
7914
7915 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * text2.C (setCounter): when searching for right label for a
7918         caption, make sure to recurse to parent insets (so that a caption
7919         in a minipage in a figure float works) (bug #568)
7920
7921 2002-08-20  André Pönitz <poenitz@gmx.net>
7922
7923         * text3.C: new file for LyXText::dispatch() and helpers
7924
7925         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7926
7927         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7928
7929 2002-08-19  André Pönitz <poenitz@gmx.net>
7930
7931         * lyxtext.h:
7932         * text.C: new LyXText::dispatch()
7933
7934         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7935
7936 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7937
7938         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7939
7940         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7941         Hebrew text.
7942
7943 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * Makefile.am: use $(variables) instead of @substitutions@
7946
7947 2002-08-15  André Pönitz <poenitz@gmx.net>
7948
7949         * lyxfunc.C:
7950         * BufferView_pimpl.C: streamlining mathed <-> outer world
7951         interaction
7952
7953         * commandtags.h:
7954         * LyXAction.C: remove unused LFUN_MATH
7955
7956 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7959
7960 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * paragraph.C (Paragraph): reformat a bit
7963         (cutIntoMinibuffer): use builtin InsetList function instad of
7964         doing it manually.
7965         (getInset): ditto
7966
7967         * buffer.C: include boost/bind.hpp, add using std::for_each
7968         (writeFileAscii): use ParagraphList iterators
7969         (validate): use for_each for validate traversal of paragraphs
7970         (getBibkeyList): use ParagraphList iterators
7971         (resizeInsets): use for_each to resizeInsetsLyXText for all
7972         paragraphs.
7973         (getParFromID): use ParagraphList iterators
7974
7975         * BufferView2.C (lockInset): use paragraph list and iterators
7976
7977 2002-08-14  John Levon  <levon@movementarian.org>
7978
7979         * lyxserver.C: remove spurious xforms include
7980
7981 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7984
7985 2002-08-13  André Pönitz <poenitz@gmx.net>
7986
7987         * LyXAction.[Ch]:
7988         * lyxfunc.C: further cleaning
7989
7990 2002-08-13  André Pönitz <poenitz@gmx.net>
7991
7992         * funcrequest.h: new constructor
7993
7994         * funcrequest.C: move stuff here from .h
7995
7996         * Makefile.am:
7997         * BufferView_pimpl.C:
7998         * LyXAction.C:
7999         * toc.C:
8000         * lyxfunc.C: subsequent changes
8001
8002         * lyxfunc.h: new view() member function
8003
8004         * lyxfunc.C: subsequent changes
8005
8006 2002-08-13  Angus Leeming  <leeming@lyx.org>
8007
8008         * BufferView2.C:
8009         * BufferView_pimpl.C:
8010         * buffer.C:
8011         * converter.C:
8012         * importer.C:
8013         * lyxfunc.C:
8014         * lyxvc.C:
8015         * toc.C:
8016         * vc-backend.C:
8017         changes due to the changed LyXView interface that now returns references
8018         to member variables not pointers.
8019
8020 2002-08-13  Angus Leeming  <leeming@lyx.org>
8021
8022         * WordLangTuple (word, lang_code): return references to strings,
8023         not strings.
8024
8025         * BufferView.h:
8026         * SpellBase.h:
8027         * lyxtext.h: forward-declare WordLangTuple.
8028
8029         * BufferView2.C:
8030         * ispell.C:
8031         * pspell.C:
8032         * text.C: #include "WordLangTuple.h".
8033
8034         * lyxtext.h:
8035         * text.C: (selectNextWordToSpellcheck): constify return type.
8036
8037 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8038
8039         * buffer.C:
8040         * buffer.h:
8041         * lyxtext.h:
8042         * paragraph.C:
8043         * paragraph_pimpl.h:
8044         * text.C:
8045         * text2.C:
8046         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8047         suggested by Angus.
8048         Made updateCounter always count from start of buffer, and removed
8049         second argument (par).
8050         Reverted floats number display to '#'. Perhaps I'll try again when the
8051         code base is sanitized a bit.
8052
8053 2002-08-12  Angus Leeming  <leeming@lyx.org>
8054
8055         * buffer.[Ch] (getLabelList): constify.
8056
8057 2002-08-07  André Pönitz <poenitz@gmx.net>
8058
8059         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8060
8061         * funcrequest.h: extension to keep mouse (x,y) position
8062
8063 2002-08-12  Juergen Vigna  <jug@sad.it>
8064
8065         * BufferView2.C (insertErrors): forbid undo when inserting error
8066         insets.
8067
8068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8069
8070 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * ParagraphList.[Ch]: new files
8073
8074         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8075
8076         * BufferView2.C (lockInset): ParagraphList changes
8077         * toc.C: ditto
8078         * text2.C: ditto
8079         * bufferlist.C: ditto
8080         * buffer.h: ditto
8081         * buffer.C: ditto
8082
8083 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8086         unused class variable counter_,
8087
8088         * paragraph.[Ch] (getFirstCounter): delete unused function
8089
8090         * counters.C: include LAssert.h
8091         (reset): add a new function with no arg, change other version to
8092         not have def. arg and to not allow empty arg.
8093
8094         * text2.C (setCounter): remove empty arg from call to Counters::reset
8095
8096 2002-08-11  John Levon  <levon@movementarian.org>
8097
8098         * Makefile.am: add WordLangTuple.h
8099
8100 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8103         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8104
8105         * insets/insettext.C: InsetList changes
8106
8107         * graphics/GraphicsSupport.C (operator()): InsetList changes
8108
8109         * toc.C (getTocList): InsetList changes
8110
8111         * paragraph_pimpl.[Ch]: InsetList changes
8112
8113         * paragraph.[Ch]: InsetList changes
8114
8115         * buffer.C (inset_iterator): InsetList changes
8116         (setParagraph): ditto
8117         * buffer.h (inset_iterator): ditto
8118         * iterators.C (operator++): ditto
8119         * iterators.h: ditto
8120
8121         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8122
8123         * InsetList.[Ch]: new files, most InsetList handling moved out of
8124         paragraph.C.
8125
8126         * BufferView2.C (removeAutoInsets): InsetList changes
8127         (lockInset): ditto
8128         (ChangeInsets): ditto
8129
8130 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * paragraph_pimpl.h (empty): new function
8133
8134         * paragraph.[Ch] (empty): new function
8135
8136         * other files: use the new Paragraph::empty function
8137
8138 2002-08-09  John Levon  <levon@movementarian.org>
8139
8140         * lyxtext.h: remove unused refresh_height
8141
8142 2002-08-09  John Levon  <levon@movementarian.org>
8143
8144         * Makefile.am:
8145         * sgml.h:
8146         * sgml.C:
8147         * buffer.C:
8148         * paragraph.h:
8149         * paragraph.C: move sgml char escaping out of paragraph
8150
8151         * paragraph.h:
8152         * paragraph.C: remove id setter
8153
8154         * buffer.C:
8155         * paragraph.C:
8156         * paragraph_pimpl.C: remove dead tex_code_break_column
8157
8158         * bufferview_funcs.C: small cleanup
8159
8160         * lyxfunc.C: remove dead proto
8161
8162         * lyxtext.h: make some stuff private. Remove some dead stuff.
8163
8164         * lyxgluelength.C: make as[LyX]String() readable
8165
8166 2002-08-08  John Levon  <levon@movementarian.org>
8167
8168         * LyXAction.h:
8169         * LyXAction.C:
8170         * MenuBackend.C:
8171         * ToolbarDefaults.C:
8172         * lyxfunc.C:
8173         * lyxrc.C:
8174         * toc.C: lyxaction cleanup
8175
8176 2002-08-08  John Levon  <levon@movementarian.org>
8177
8178         * BufferView2.C: small cleanup
8179
8180         * lyxfind.h:
8181         * lyxfind.C: move unnecessary header into the .C
8182
8183 2002-08-08  John Levon  <levon@movementarian.org>
8184
8185         * funcrequest.h: just tedious nonsense
8186
8187         * lyx_main.h:
8188         * lyx_main.C: cleanups
8189
8190         * buffer.C:
8191         * vspace.C: remove dead header lyx_main.h
8192
8193 2002-08-07  Angus Leeming  <leeming@lyx.org>
8194
8195         * Paragraph.[Ch]:
8196         * paragraph_pimpl.h:
8197         Forward declare class Counters in paragraph.h by moving the ctrs member
8198         variable into Paragraph::Pimpl.
8199         (counters): new method, returning a reference to pimpl_->ctrs.
8200
8201         * text2.C: ensuing changes.
8202
8203 2002-08-07  John Levon  <levon@movementarian.org>
8204
8205         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8206
8207         * BufferView_pimpl.C: announce X selection on double/triple
8208           click
8209
8210         * lyx_main.C: use correct bool in batch dispatch
8211
8212         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8213
8214 2002-08-07  André Pönitz <poenitz@gmx.net>
8215
8216         * funcrequest.h: new class to wrap a kb_action and its argument
8217
8218         * BufferView.[Ch]:
8219         * BufferView_pimpl[Ch]:
8220         * LaTeX.C:
8221         * LyXAction.[Ch]:
8222         * lyxfunc.[Ch]:
8223         * lyxrc.C: subsequent changes
8224
8225
8226 2002-08-07  John Levon  <levon@movementarian.org>
8227
8228         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8229           document options change.
8230
8231 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8232
8233         * counters.[Ch]
8234         * text2.C
8235         * paragraph.[Ch]
8236         * makefile.am: move counters functionality over from
8237         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8238
8239 2002-08-06  John Levon  <levon@movementarian.org>
8240
8241         * WordLangTuple.h: new file for word + language code tuple
8242
8243         * SpellBase.h:
8244         * pspell.h:
8245         * pspell.C:
8246         * ispell.h:
8247         * ispell.C:
8248         * lyxtext.h:
8249         * text.C:
8250         * text2.C:
8251         * BufferView.h:
8252         * BufferView2.C: use WordLangTuple
8253
8254         * layout.h:
8255         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8256
8257 2002-08-06  John Levon  <levon@movementarian.org>
8258
8259         * lyx_main.C: fix cmdline batch handling
8260
8261 2002-08-06  André Pönitz <poenitz@gmx.net>
8262
8263         * lyxrc.C: set default for show_banner to true
8264
8265 2002-08-06  John Levon  <levon@movementarian.org>
8266
8267         * pspell.C: fix a crash, and allow new aspell to work
8268
8269 2002-08-06  John Levon  <levon@movementarian.org>
8270
8271         * lyxfunc.C:
8272         * kbmap.C: small cleanup
8273
8274         * vspace.h:
8275         * vspace.C: add const
8276
8277 2002-08-05  John Levon  <levon@movementarian.org>
8278
8279         * LyXAction.C: back to tabular-insert
8280
8281 2002-08-04  John Levon  <levon@movementarian.org>
8282
8283         * BufferView.h:
8284         * BufferView.C: cosmetic change
8285
8286         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8287
8288         * bufferlist.C:
8289         * buffer.h:
8290         * buffer.C:
8291         * lyxcb.h:
8292         * lyxcb.C:
8293         * lyxserver.C:
8294         * lyxvc.C:
8295         * vc-backend.C:
8296         * BufferView2.C: purge all "Lyx" not "LyX" strings
8297
8298         * lyxcursor.h:
8299         * lyxcursor.C: attempt to add some documentation
8300
8301         * lyxfunc.C:
8302         * commandtags.h:
8303         * LyXAction.C:
8304         * ToolbarDefaults.C:
8305         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8306           merge with LFUN_TABULAR_INSERT
8307
8308         * Makefile.am:
8309         * SpellBase.h:
8310         * ispell.h:
8311         * ispell.C:
8312         * pspell.h:
8313         * pspell.C: split up i/pspell implementations into separate
8314           files, many cleanups
8315
8316         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8317
8318         * text2.C: some cleanup
8319
8320         * lyxfunc.C: don't check for isp_command == "none" any more, it
8321           didn't make any sense
8322
8323 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8324
8325         * counters.[Ch]
8326         * text2.C
8327         * paragraph.[Ch]
8328         * makefile.am: move counters functionality over
8329         from text2.C/paragraph.[Ch] to counters.[Ch], and
8330         make proper C++.
8331 2002-08-02  John Levon  <levon@movementarian.org>
8332
8333         * buffer.C: s/lyxconvert/lyx2lyx/
8334
8335 2002-08-02  Angus Leeming  <leeming@lyx.org>
8336
8337         * lyxlex.C: revert John's change as it breaks reading of the user
8338         preamble.
8339
8340 2002-08-02  Angus Leeming  <leeming@lyx.org>
8341
8342         * importer.C (Import):
8343         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8344         changes due to LyXView::view() now returning a boost::shared_ptr.
8345
8346 2002-08-02  John Levon  <levon@movementarian.org>
8347
8348         * lyxlex.C: small cleanup
8349
8350 2002-08-02  John Levon  <levon@movementarian.org>
8351
8352         * text2.C (status): small cleanup, no logic change
8353
8354 2002-08-01  John Levon  <levon@movementarian.org>
8355
8356         * buffer.h:
8357         * buffer.C (writeFile): don't output alerts, caller
8358           handles this
8359
8360         * bufferlist.C:
8361         * lyx_cb.C: from above
8362
8363         * lyxfunc.C: allow to open non-existent files
8364
8365 2002-07-31  John Levon  <levon@movementarian.org>
8366
8367         * lyxserver.C: don't let incidental errors get
8368           in the way (errno)
8369
8370 2002-07-30  John Levon  <levon@movementarian.org>
8371
8372         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8373
8374 2002-07-30  John Levon  <levon@movementarian.org>
8375
8376         * lyxserver.h:
8377         * lyxserver.C: remove I/O callback too
8378
8379 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8382         log.
8383
8384 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * many files: strip,frontStrip -> trim,ltrim,rtrim
8387
8388 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * PrinterParams.h: remove extern containsOnly, and include
8391         support/lstrings.h instead.
8392
8393         * LaTeX.C (scanAuxFile): modify because of strip changes
8394         (deplog): ditto
8395         * buffer.C (makeLaTeXFile): ditto
8396         * bufferparams.C (writeFile): ditt
8397         * lyxfont.C (stateText): ditto
8398         * lyxserver.C (read_ready): ditto
8399         * vc-backend.C (scanMaster): ditto
8400
8401         * BufferView_pimpl.h: ws changes
8402
8403         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8404
8405 2002-07-26  André Pönitz <poenitz@gmx.net>
8406
8407         * kb_sequence.C: remove unnedred usings
8408
8409 2002-07-26  Juergen Vigna  <jug@sad.it>
8410
8411         * lyxfind.C (LyXReplace): we have to check better if the returned
8412         text is not of theLockingInset()->getLockingInset().
8413
8414 2002-07-25  Juergen Vigna  <jug@sad.it>
8415
8416         * lyxfind.C (LyXReplace): don't replace if we don't get the
8417         right LyXText.
8418
8419         * undo_funcs.C (createUndo): remove debugging code.
8420
8421 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8422
8423         * buffer.C (parseSingleLyXformat2Token): Use default placement
8424         when reading old floats.
8425
8426         * FloatList.C (FloatList): Change the default placement of figure
8427         and tables to "tbp".
8428
8429 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * MenuBackend.C: using std::max
8432
8433 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * MenuBackend.C (expandToc):
8436         (expandToc2): code moved from xforms menu frontend. It is now
8437         generic and TOCs are transparent to menu frontends.
8438
8439 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * toc.C (getTocList): protect against buf=0
8442
8443         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8444         Menu as first parameter. Now, this calls itself recursively to
8445         expand a whole tree (this will be useful for TOC handling)
8446         (expandFloatInsert): remove 'wide' version of floats
8447
8448         * MenuBackend.h (submenuname): returns the name of the submenu.
8449         (submenu): returns the submenu itself, provided it has been
8450         created by MenuBackend::expand
8451
8452 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8455         insets which have noFontChange == true. (bug #172)
8456
8457 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8458
8459         * BufferView_pimpl.C: add connection objects and use them...
8460         (Pimpl): here.
8461
8462 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8463
8464         * MenuBackend.C (expandLastfiles):
8465         (expandDocuments):
8466         (expandFormats):
8467         (expandFloatListInsert):
8468         (expandFloatInsert):
8469         (expand): split expand in parts
8470
8471 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8472
8473         * lyx_gui.C: use lyx_gui::exit()
8474
8475 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8476
8477         * LyXAction.C: show the failing pseudo action
8478
8479 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8480
8481         * buffer.C (readFile): Run the lyxconvert script in order to read
8482         old files.
8483
8484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * LyXAction.C:
8487         * commandtags.h:
8488         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8489
8490 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8491
8492         * LyXAction.C:
8493         * commandtags.h:
8494         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8495
8496 2002-07-22  Herbert Voss  <voss@lyx.org>
8497
8498         * lengthcommon.C:
8499         * lyxlength.[Ch]: add support for the vertical lengths
8500
8501 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8502
8503         * toc.[Ch]: std:: fixes
8504
8505 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8506
8507         * lyxrc.C: do not include lyx_main.h
8508
8509         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8510         for layouts
8511
8512         * lyxrc.C:
8513         * encoding.C:
8514         * bufferlist.C:
8515         * BufferView2.C: include "lyxlex.h"
8516
8517         * tabular.h:
8518         * bufferparams.h: do not #include "lyxlex.h"
8519
8520         * lyxtextclasslist.C (Add): remove method
8521         (classlist): renamed to classlist_
8522
8523         * paragraph_pimpl.C:
8524         * paragraph.C:
8525         * text2.C:
8526         * CutAndPaste.C:
8527         * bufferview_funcs.C:
8528         * bufferlist.C:
8529         * text.C:
8530         * LaTeXFeatures.C:
8531         * buffer.C:
8532         * toc.C (getTocList): use BufferParams::getLyXTextClass
8533
8534         * toc.C (getTocList): use InsetFloat::addToToc
8535
8536         * toc.[Ch]: new files, containing helper functions to handle table
8537         of contents
8538
8539         * lyxfunc.C (dispatch): no need to remove spaces around command
8540         given as a string
8541         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8542         first command of the sequence; it is not very clever, but I do not
8543         have a better idea, actually
8544
8545         * LyXAction.C (LookupFunc): make sure to remove space at the
8546         beginning and end of the command
8547
8548 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * MenuBackend.C (getMenubar): new method: return the menubar of
8551         this menu set
8552         (read): treat differently reading of menu and menubar (in
8553         particular, the menubar has no name now)
8554         (Menu::menubar): remove
8555
8556         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8557         saving is finished
8558
8559 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8560
8561         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8562         a bibitem inset in a RTL paragraph.
8563
8564 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * paragraph_pimpl.C: constify
8567
8568         * BufferView_pimpl.C:
8569         * LaTeX.C:
8570         * lyxfunc.C: fix dispatch in a nicer way
8571
8572 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * lyxfunc.C (dispatch):
8575         * BufferView_pimpl.C:
8576         * BufferView_pimpl.h:
8577         * BufferView.C:
8578         * BufferView.h: rename Dispatch() to dispatch()
8579
8580         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8581
8582         * lyxlayout.C (Read): honor DependsOn tag
8583
8584         * lyxlayout.[Ch] (depends_on): new method
8585
8586         * version.C.in: update lyx_docversion
8587
8588         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8589
8590         * paragraph.C (validate): remove from here...
8591         * paragraph_pimpl.C (validate): ... and move here
8592         (isTextAt): make it const
8593
8594         * buffer.C (getLists): ws cleanup
8595
8596 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8597
8598         * language.C (read): Use iso8859-1 encoding in latex_lang
8599         (this prevents LyX from crashing when using iso10646-1 encoding).
8600
8601 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8602
8603         * text2.C (toggleInset): if cursor is inside an inset, close the
8604         inset and leave cursor _after_ it
8605
8606 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * lyxfunc.C: move minibuffer completion handling out of here
8609
8610 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * BufferView_pimpl.C:
8613         * LaTeX.C: fix dispatch calls
8614
8615 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8616
8617         * text.C (drawChars): Fix Arabic text rendering.
8618
8619 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8620
8621         * LyXAction.C:
8622         * commandtags.h:
8623         * lyxfunc.C: remove message-push/pop
8624
8625         * lyxserver.C:
8626         * lyxfunc.h:
8627         * lyxfunc.C: rationalise some code by removing verboseDispatch
8628           in favour of a bool argument to dispatch()
8629
8630 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8631
8632         * lyx_main.C (init): make sure to read symlinks as absolute paths
8633
8634 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * lyxfunc.h:
8637         * lyxfunc.C: no need for commandshortcut to be a member
8638
8639 2002-07-15  André Pönitz <poenitz@gmx.net>
8640
8641         * converter.C: add support for $$s (scripts from lib/scripts dir)
8642         * lyx_main.C: white space
8643
8644 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * bufferlist.C:
8647         * lyxrc.h:
8648         * lyxrc.C: remove second exit confirmation
8649
8650 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * BufferView.h:
8653         * BufferView.C:
8654         * BufferView2.C:
8655         * BufferView_pimpl.h:
8656         * BufferView_pimpl.C:
8657         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8658
8659 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8660
8661         * MenuBackend.C (expand): add numeric shortcuts to document menu
8662
8663         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8664
8665 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8666
8667         * lyxfont.C (setLyXFamily):
8668         (setLyXSeries):
8669         (setLyXShape):
8670         (setLyXSize):
8671         (setLyXMisc):
8672         (lyxRead):
8673         * debug.C (value):
8674         * buffer.C (asciiParagraph): use ascii_lowercase
8675
8676 2002-07-15  Mike Fabian  <mfabian@suse.de>
8677
8678         * lyxlex_pimpl.C (search_kw):
8679         * lyxlex.C (getLongString):
8680         * converter.h (operator<):
8681         * converter.C (operator<):
8682         * buffer.C (parseSingleLyXformat2Token):
8683         (asciiParagraph):
8684         * ToolbarDefaults.C (read):
8685         * MenuBackend.C (checkShortcuts):
8686         (read):
8687         * LColor.C (getFromGUIName):
8688         (getFromLyXName): use the compare_ascii_no_case instead of
8689         compare_no_case, because in turkish, 'i' is not the lowercase
8690         version of 'I', and thus turkish locale breaks parsing of tags.
8691
8692 2002-07-16  Angus Leeming  <leeming@lyx.org>
8693
8694         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8695         now takes a Buffer const & argument.
8696
8697 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * BufferView.C (resize): check there's a buffer to resize
8700
8701 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8702
8703         * lyxfunc.C: remove dead code
8704
8705         * lyxserver.h:
8706         * lyxserver.C: use lyx_guii::set_read_callback
8707
8708 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8709
8710         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8711         an inset in a RTL paragraph.
8712
8713 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8714
8715         * lyxfunc.C: repaint after a font size update
8716
8717 2002-07-15  André Pönitz <poenitz@gmx.net>
8718
8719         * lyxlength.C: inBP should be able to return negative values
8720
8721 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8722
8723         * lyxfunc.C: use lyx_gui::update_fonts()
8724
8725 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * lyxfunc.C: use lyx_gui::update_color()
8728
8729 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * bufferlist.C:
8732         * lyxfunc.h:
8733         * lyxfunc.C:
8734         * lyxrc.h:
8735         * lyxrc.C: remove file->new asks for name option, and let
8736           buffer-new take an argument
8737
8738 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * BufferView_pimpl.C: remove unneeded extra repaint()
8741
8742 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8743
8744         * LyXAction.C: allow command-sequence with NoBuffer
8745
8746         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8747
8748 2002-07-10  Angus Leeming  <leeming@lyx.org>
8749
8750         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8751
8752 2002-07-09  Angus Leeming  <leeming@lyx.org>
8753
8754         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8755
8756 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * lengthcommon.h: whitespace
8759
8760         * lyxfunc.C: update scrollbar after goto paragraph
8761
8762         * lyxtext.h: factor out page break drawing, and fix it so
8763           page break/added space paints as selected nicely
8764
8765 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView_pimpl.C: add FIXMEs, clean up a little
8768
8769 2002-07-09  André Pönitz <poenitz@gmx.net>
8770
8771         * lyxfont.[Ch]: support for wasy symbols
8772
8773 2002-07-08  André Pönitz <poenitz@gmx.net>
8774
8775         * BufferView_pimpl.C: apply John's patch for #93.
8776
8777 2002-07-05  Angus Leeming  <leeming@lyx.org>
8778
8779         * BufferView_pimpl.C (buffer): generate previews if desired.
8780
8781         * LColor.h: add "preview" to the color enum.
8782
8783         * LColor.C (LColor): add a corresponding entry to the items array.
8784
8785         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8786         with this buffer.
8787
8788 2002-07-05  Angus Leeming  <leeming@lyx.org>
8789
8790         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8791         The body of the code is now in the method that is passed an ostream &
8792         rather than a file name.
8793         Pass an additional only_preamble parameter, useful for the forthcoming
8794         preview stuff.
8795
8796 2002-07-03  André Pönitz <poenitz@gmx.net>
8797
8798         * lyxfunc.C: simplify getStatus() a bit for math stuff
8799
8800 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8801
8802         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8803
8804 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8805
8806         * text.C (changeRegionCase): do not change case of all the
8807         document when region ends at paragraph end (bug #461)
8808
8809 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * paragraph.C (startTeXParParams):
8812         (endTeXParParams): add \protect when necessary
8813
8814 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * BufferView_pimpl.C (workAreaExpose): remove warning
8817
8818 2002-06-27  Angus Leeming  <leeming@lyx.org>
8819
8820         * Makefile.am: add lyxlayout_ptr_fwd.h.
8821
8822 2002-06-26  André Pönitz <poenitz@gmx.net>
8823
8824         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8825
8826 2002-06-25  Angus Leeming  <leeming@lyx.org>
8827
8828         * lyxfunc.C (dispatch): Comment out the call to
8829         grfx::GCache::changeDisplay. The method no longer exists now that the
8830         pixmap generation part of the graphics loader has been moved into
8831         InsetGraphics.
8832
8833 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8834
8835         * text2.C: layout as layout
8836
8837         * text.C: layout as layout
8838
8839         * tabular.C (OldFormatRead): layout as layout
8840
8841         * paragraph_pimpl.C (TeXDeeper): layout as layout
8842         (realizeFont): layout as layout
8843
8844         * paragraph.C (writeFile): layout as layout
8845         (validate): layout as layout
8846         (getFont): layout as layout
8847         (getLabelFont): layout as layout
8848         (getLayoutFont): layout as layout
8849         (breakParagraph): layout as layout
8850         (stripLeadingSpaces): layout as layout
8851         (getEndLabel): layout as layout
8852         (getMaxDepthAfter): layout as layout
8853         (applyLayout): layout as layout
8854         (TeXOnePar): layout as layout
8855         (simpleTeXOnePar): layout as layout
8856         (TeXEnvironment): layout as layout
8857         (layout): layout as layout
8858         (layout): layout as layout
8859
8860         * lyxtextclass.C (compare_name): new functor to work with
8861         shared_ptr, layout as layout
8862         (Read): layout as layout
8863         (hasLayout): layout as layout
8864         (operator): layout as layout
8865         (delete_layout): layout as layout
8866         (defaultLayout): layout as layout
8867
8868         * lyxlayout_ptr_fwd.h: new file
8869
8870         * lyxlayout.C (Read): layout as layout
8871
8872         * lyx_cb.C (MenuInsertLabel): layout as layout
8873
8874         * bufferlist.C (newFile): layout as layout
8875
8876         * buffer.C (readLyXformat2): layout as layout
8877         (parseSingleLyXformat2Token): layout as layout
8878         (insertStringAsLines): layout as layout
8879         (asciiParagraph): layout as layout
8880         (latexParagraphs): layout as layout
8881         (makeLinuxDocFile): layout as layout
8882         (simpleLinuxDocOnePar): layout as layout
8883         (makeDocBookFile): layout as layout
8884         (simpleDocBookOnePar): layout as layout
8885         (getLists): layout as layout
8886
8887         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8888
8889         * CutAndPaste.C (cutSelection): layout as layout
8890         (pasteSelection): layout as layout
8891         (SwitchLayoutsBetweenClasses): layout as layout
8892
8893         * BufferView_pimpl.C (Dispatch): layout as layout
8894         (smartQuote): layout as layout
8895
8896         * BufferView2.C (unlockInset): layout as layout
8897
8898 2002-06-24  André Pönitz <poenitz@gmx.net>
8899
8900         * lyxfunc.C: fix #487
8901
8902 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * lyxrc.h:
8905         * lyxrc.C:
8906         * lyxfunc.C: remove display_shortcuts, show_banner
8907
8908 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8909
8910         * Buffer_pimpl.C: oops, update on resize
8911
8912 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * buffer.C:
8915         * converter.C:
8916         * exporter.C:
8917         * lyxfunc.C:
8918         * BufferView.h:
8919         * BufferView.C: use repaint()
8920
8921         * BufferView_pimpl.h:
8922         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8923           as it's a clearer description. Remove superfluous
8924           redraws.
8925
8926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * text.C: fix bug 488. Not ideal, but getting
8929           getWord() to work properly for the insets that
8930           matter is more difficult ...
8931
8932 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * BufferView_pimpl.C:
8935         * LyXAction.C:
8936         * commandtags.h:
8937         * lyxfunc.C: remove the six million index lyxfuncs to just
8938           one, and DTRT (bug 458)
8939
8940 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * BufferView.h:
8943         * BufferView.C:
8944         * BufferView_pimpl.h:
8945         * BufferView_pimpl.C: clean up resize() stuff,
8946           and unnecessary updateScreen()s
8947
8948 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * BufferView.h:
8951         * BufferView.C:
8952         * BufferView_pimpl.h:
8953         * BufferView_pimpl.C:
8954         * lyxfind.h:
8955         * lyxfind.C:
8956         * minibuffer.C: remove focus management of workarea,
8957           not needed. Use screen's greyOut()
8958
8959 2002-06-17  Herbert Voss  <voss@lyx.org>
8960
8961         * converter.C: (convert) do not post a message, when converting
8962         fails, let the calling function decide what to do in this case
8963
8964 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8965
8966         * lyxfunc.C: tidy up a little
8967
8968 2002-06-16    <alstrup@diku.dk>
8969
8970         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8971         Got rid of FORMS_H_LOCATION include. Now we are
8972         GUII.
8973
8974 2002-06-15  LyX Development team  <lyx@rilke>
8975
8976         * buffer.[Ch] (sgmlOpenTag):
8977         (sgmlCloseTag): Added support for avoiding pernicious mixed
8978         content. Return number of lines written.
8979
8980         (makeLinuxDocFile):
8981         (makeDocBookFile): Fixed calls to sgml*Tag.
8982         Simple white space clean.
8983
8984         (simpleDocBookOnePar): Simple white space clean.
8985
8986         * tabular.[Ch] (docBook): Renamed to docbook and got another
8987         argument to related with the pernicious mixed content.
8988
8989         (docbookRow): Fixed calls for docbook inset method.
8990
8991 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8992
8993         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8994         so it's X11 independent.
8995
8996         * kb*.[Ch]: ditto.
8997
8998         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8999
9000 2002-06-15  Lyx Development team  <lyx@electronia>
9001
9002         * intl.h: Renamed getTrans to getTransManager.
9003
9004 2002-06-14  Angus Leeming  <leeming@lyx.org>
9005
9006         * Makefile.am: nuke forgotten stl_string_fwd.h.
9007
9008 2002-06-12  Angus Leeming  <leeming@lyx.org>
9009
9010         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9011
9012 2002-06-13  Angus Leeming  <leeming@lyx.org>
9013
9014         * LaTeX.C:
9015         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9016
9017 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9018
9019         * kbmap.C (getiso): add support for cyrillic and greek
9020
9021 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * BufferView.h:
9024         * BufferView.C:
9025         * BufferView_pimpl.h:
9026         * BufferView_pimpl.C: move bogus scrolling logic
9027           to xforms
9028
9029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * lyxfunc.C:
9032         * BufferView_pimpl.C: view->resize() change
9033
9034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * BufferView_pimpl.C: topCursorVisible
9037           prototype change
9038
9039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * Makefile.am:
9042         * lyx_gui.h:
9043         * lyx_gui.C: move to frontends/
9044
9045         * main.C:
9046         * lyx_main.h:
9047         * lyx_main.C: changes from above
9048
9049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * intl.C:
9052         * intl.h:
9053         * kbmap.C:
9054         * kbsequence.C:
9055         * lyx_cb.C:
9056         * lyx_main.C: minor tidy
9057
9058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * BufferView_pimpl.h:
9061         * BufferView_pimpl.C:
9062         * BufferView.h:
9063         * BufferView.C: make painter() const,
9064           remove dead code
9065
9066         * BufferView2.C: use screen() accessor
9067
9068         * lyx_main.h:
9069         * lyx_main.C: some minor cleanup
9070
9071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * BufferView_pimpl.h:
9074         * BufferView_pimpl.C: remove enter/leaveView,
9075           use workHeight()
9076
9077 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView.h:
9080         * BufferView.C:
9081         * BufferView2.C:
9082         * BufferView_pimpl.h:
9083         * BufferView_pimpl.C: only construct screen once,
9084           rename
9085
9086         * lyxrc.C: remove pointless comment
9087
9088 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9089
9090         * BufferView.h:
9091         * BufferView.C: remove active() and belowMouse()
9092
9093         * BufferView_pimpl.h:
9094         * BufferView_pimpl.C: use workarea() not workarea_,
9095           and make it use a scoped_ptr instead
9096
9097 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9098
9099         * lyx_gui.C: add debug message on BadWindow
9100
9101 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * sp_spell.C: fdopen is not part of the C++ standard.
9104
9105         * paragraph.C (InsetIterator): use >= instead of ==
9106
9107 2002-06-07  Angus Leeming  <leeming@lyx.org>
9108
9109         Fixes needed to compile with Compaq cxx 6.5.
9110         * BufferView_pimpl.C:
9111         * DepTable.C:
9112         * buffer.C:
9113         * converter.C:
9114         * encoding.C:
9115         * lyx_gui.C:
9116         * lyx_main.C:
9117         * lyxtextclasslist.C:
9118         * minibuffer.C:
9119         * sp_spell.C:
9120         * tabular_funcs.C:
9121         * vc-backend.C:
9122         all c-library variables have been moved into namespace std. Wrap
9123         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9124
9125         * lyxlength.C:
9126         * tabular-old.C:
9127         * tabular.C:
9128         Add a using std::abs declaration.
9129
9130         * kbmap.h (modifier_pair):
9131         * paragraph.h (InsetTable, InsetList):
9132         * lyxfont.h (FontBits):
9133         type definition made public.
9134
9135         * bufferlist.C (emergencyWriteAll): the compiler complains that
9136         there is more than one possible lyx::class_fun template to choose from.
9137         I re-named the void specialisation as lyx::void_class_fun.
9138
9139         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9140
9141         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9142         the compiler is is unable to find tostr in write_attribute.
9143
9144 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9145
9146         * buffer.C (sgmlError): hide #warning
9147
9148 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * xtl/*: get rid of xtl, which is not in use anyway
9151
9152         * LyXAction.C (init):
9153         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9154         were unimplemented xtl experimentation
9155
9156 2002-06-04  André Pönitz <poenitz@gmx.net>
9157
9158         * lyxfunc.C: disable array operation on simple formulae
9159
9160 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * converter.C: constify a bit
9163
9164 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * lyx_gui.C: check xforms version correctly
9167
9168 2002-04-30  Herbert Voss  <voss@lyx.org>
9169
9170         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9171         "keep" option
9172
9173 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9176           attempt to register it with a VCS)
9177
9178 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * lyx_main.C (init): honor variables LYX_DIR_13x and
9181         LYX_USERDIR_13x
9182
9183 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * buffer.h:
9186         * buffer.C:
9187         * lyx_main.C: fix a crash on bad command line,
9188           and give a useful exit status on error
9189
9190         * lyxfunc.C (doImport): allow -i lyx to work
9191
9192 2002-03-30  André Pönitz <poenitz@gmx.net>
9193
9194         * lyxfunc.C: mathed font changes
9195
9196 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * LaTeX.C:
9199         * importer.h:
9200         * importer.C:
9201         * lyx_sty.h:
9202         * lyx_sty.C:
9203         * lyxlex.C:
9204         * lyxrow.h:
9205         * lyxtext.h:
9206         * paragraph.h:
9207         * paragraph.C:
9208         * texrow.h:
9209         * texrow.C:
9210         * text.C:
9211         * trans_mgr.h: srcdocs, and some minor cleanups
9212
9213 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9216         call getFont all the time)
9217
9218 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9219
9220         * switch from SigC signals to boost::signals
9221
9222 2002-05-29  André Pönitz <poenitz@gmx.net>
9223
9224         * paragraph_pimpl.C (getChar): don't call size() too often...
9225
9226 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * paragraph_pimpl.C (insertChar): do not try to update tables when
9229         appending (pos == size())
9230
9231         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9232         in order to reduce drastically the number of comparisons needed to
9233         parse a large document
9234
9235 2002-05-29  André Pönitz <poenitz@gmx.net>
9236
9237         * text.C:
9238         * text2.C:
9239         * lyxtextclass.C:
9240         * sp_pspell.h:
9241         * textclasslist.[Ch]:
9242         * sp_ispell.h: whitespace change
9243
9244 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9245
9246         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9247         lyxaction directly now.
9248
9249 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * trans.C:
9252         * lyxfont.C:
9253         * lyxvc.C: remove unused headers
9254
9255 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9256
9257         * Makefile.am:
9258         * buffer.h:
9259         * undostack.h:
9260         * undostack.C:
9261         * undo_funcs.h:
9262         * undo_funcs.C: some cleanups. Use shared_ptr
9263           and a template for the undo stacks.
9264
9265 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * BufferView_pimpl.h:
9268         * BufferView_pimpl.C:
9269         * kbmap.h:
9270         * kbmap.C:
9271         * kbsequence.h:
9272         * kbsequence.C:
9273         * lyxfunc.h:
9274         * lyxfunc.C:
9275         * text2.C: use key_state/mouse_state
9276
9277 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9280         and LSubstring
9281
9282         * chset.C: change include order
9283         (loadFile): use boost regex and get rid of LRegex and LSubstring
9284
9285         * Makefile.am (BOOST_LIBS): new variable
9286         (lyx_LDADD): use it
9287
9288         * LaTeX.C: change include order.
9289         (scanAuxFile): use boost regex and get rid of LRegex and
9290         LSubstring
9291         (deplog): ditto
9292
9293 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * ColorHandler.h:
9296         * ColorHandler.C:
9297         * FontInfo.h:
9298         * FontInfo.C: moved to frontends/xforms/
9299
9300         * FontLoader.h:
9301         * FontLoader.C: moved into frontends for GUIIzation
9302
9303         * Makefile.am:
9304         * lyx_gui.C:
9305         * lyxfont.C:
9306         * lyxfunc.C: changes from above
9307
9308 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * LColor.C: remove spurious X include
9311
9312         * BufferView_pimpl.C:
9313         * Makefile.am:
9314         * font.h:
9315         * font.C:
9316         * text.C:
9317         * text2.C: move font metrics to frontends/
9318
9319 2002-05-24  Juergen Vigna  <jug@sad.it>
9320
9321         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9322         setting the undo_cursor.
9323
9324         * ParagraphParameters.h: include local includes first.
9325
9326 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * BufferView_pimpl.C:
9329         * BufferView_pimpl.h:
9330         * Makefile.am:
9331         * WorkArea.h:
9332         * WorkArea.C:
9333         * screen.C: move WorkArea into frontends/
9334
9335         * lyxscreen.h:
9336         * screen.C:
9337         * text.C:
9338         * BufferView.C:
9339         * BufferView2.C: move LyXScreen into frontends/
9340
9341         * lyxlookup.h:
9342         * lyxlookup.C:
9343         * lyx_gui.C: move lyxlookup into frontends/xforms/
9344
9345 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * BufferView2.C:
9348         * BufferView_pimpl.C:
9349         * FontLoader.C:
9350         * LyXView.h:
9351         * LyXView.C:
9352         * Makefile.am:
9353         * WorkArea.C:
9354         * XFormsView.h:
9355         * XFormsView.C:
9356         * buffer.C:
9357         * bufferlist.C:
9358         * bufferview_funcs.C:
9359         * converter.C:
9360         * importer.C:
9361         * lyx_cb.C:
9362         * lyx_gui.C:
9363         * lyx_main.C:
9364         * lyx_find.C:
9365         * lyxfunc.C:
9366         * lyxvc.C:
9367         * minibuffer.C:
9368         * text.C:
9369         * text2.C:
9370         * trans.C:
9371         * vc-backend.C: move LyX/XFormsView into frontends/
9372
9373 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * Makefile.am:
9376         * PainterBase.C:
9377         * PainterBase.h:
9378         * Painter.C:
9379         * Painter.h:
9380         * WorkArea.C:
9381         * WorkArea.h:
9382         * screen.C:
9383         * tabular.C:
9384         * text.C:
9385         * text2.C: move Painter to frontends/
9386
9387 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * buffer.C: comment out some some code that depend upon lyx_format
9390         < 220
9391
9392         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9393         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9394
9395         * buffer.h (NO_COMPABILITY): turn off compability
9396
9397         * ColorHandler.C: include scoped_array.hpp
9398
9399         * font.C: Use more specific smart_ptr header.
9400         * Painter.C: ditto
9401         * gettext.C: ditto
9402         * ShareContainer.h: ditto
9403         * lyx_main.h: ditto
9404         * kbmap.h: ditto
9405         * FontInfo.h: ditto
9406         * BufferView_pimpl.h: ditto
9407         * ColorHandler.h: ditto
9408
9409         * kbmap.C (defkey): change call to shared_ptr::reset
9410
9411 2002-05-21  Juergen Vigna  <jug@sad.it>
9412
9413         * buffer.C (insertErtContents): fix to insert ert asis if it is
9414         non empty. Skip it completely if it contains only whitespaces.
9415
9416 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * BufferView_pimpl.C:
9419         * BufferView2.C: clear selection on paste (bug 393)
9420
9421 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9422
9423         * DepTable.C: include ctime
9424
9425 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9426
9427         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9428
9429 2002-05-14  Juergen Vigna  <jug@sad.it>
9430
9431         * text.C (breakParagraph): fixed function to honor the keepempty
9432         layout in the right maner and also to permit the right breaking
9433         algorithm on empty or non empyt keepempty paragraphs.
9434
9435         * paragraph.C (breakParagraph): we have to check also if the par
9436         is really empty (!size()) for isempty otherwise we do the wrong
9437         paragraph break.
9438
9439 2002-05-10  Juergen Vigna  <jug@sad.it>
9440
9441         * buffer.[Ch] : The following are only changes to the ert
9442         compatibility read reading old LaTeX layout and font stuff and
9443         convert it to ERTInsets.
9444
9445         * buffer.h: added isErtInset().
9446
9447         * buffer.C (struct ErtComp): add a fromlayout bool to check
9448         if we're inside a LaTeX layout.
9449         (isErtInset): new helper function.
9450         (insertErtContents): look for other ert insets before this one
9451         and insert the contents there, so that we don't have subsequent
9452         ERT insets with nothing between them. This way we create only one
9453         inset with multiple paragraphs. Also check if we don't insert only
9454         spaces ' ' as they are ignored anyway afterwards in the .tex file
9455         so if we have only spaces we will ignore this latex part in the
9456         new file.
9457         (parseSingleLyXformat2Token \\layout): better compatibility when
9458         reading layout-latex stuff.
9459         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9460         language tag.
9461         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9462         stuff after reading the inset only get the information back from
9463         the stack.
9464
9465 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9468
9469         * LaTeXFeatures.C (getBabelOptions): New method.
9470
9471 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9472
9473         * BufferView_pimpl.C (Dispatch): work around missing argument for
9474         'layout'
9475
9476 2002-05-08  Juergen Vigna  <jug@sad.it>
9477
9478         * text.C (leftMargin): handle paragraph leftindent.
9479
9480         * paragraph.C (writeFile): write the new \\leftindent tag.
9481         (validate): handle leftindent code.
9482         (TeXEnvironment): handle paragraphleftindent code again.
9483
9484         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9485
9486         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9487         for paragrap_extra indent code and new token \\leftindent.
9488         (latexParagraphs): handle the leftindent as environment.
9489
9490         * ParameterStruct.h: added leftindent support.
9491
9492         * ParagraphParameters.C (leftIndent): added support functions for
9493         the paragraph left indent.
9494
9495         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9496         more appropriate.
9497
9498 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9499
9500         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9501         inside insetERT.
9502
9503         * text.C (computeBidiTables): No bidi in insetERT.
9504
9505         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9506         in RTL documents.
9507
9508 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9509
9510         * version.C.in: pre 5
9511
9512 2002-05-02  José Matos  <jamatos@fep.up.pt>
9513         * buffer.C (makeDocBookFile): white space changes, add newline to
9514         command styles.
9515         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9516
9517         * tabular.C (docBook): fix typo.
9518
9519 2002-05-03  Juergen Vigna  <jug@sad.it>
9520
9521         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9522         change in LyXText as we can not be sure it was not freed.
9523         (drawOneRow): remove unused code.
9524
9525         * text.C (drawInset): redo the calculation of the need_break_row as
9526         it could have a row which was already freed.
9527         (draw): look at the return value of drawInset and return false if
9528         it also returned false.
9529         (paintRowText): look at the return value of draw and return false if
9530         it also returned false.
9531
9532         * lyxtext.h: added bool return type to drawInset() and draw() so that
9533         if we have a change in the row so that the rowbreak has to be redone
9534         we abort drawing as it will be called again.
9535
9536 2002-05-02  Juergen Vigna  <jug@sad.it>
9537
9538         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9539         a change in the maintext also if we're inside an inset.
9540         (Dispatch): set the cursor again after a break line and after the
9541         screen has been updated as it could be we're in a different row.
9542
9543         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9544         to set the cursor behind the pargraph with > size().
9545         (setCursor): check also for the same paragraph when checking where
9546         to put the cursor if we have a NFR inset.
9547
9548         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9549         parts of layout read further up as it still was in the wrong
9550         position.
9551
9552 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9553
9554         * screen.C (drawFromTo): change sine fullRebreak always return
9555         true.
9556
9557         * buffer.C (parseSingleLyXformat2Token): reindent some
9558
9559         * BufferView_pimpl.C (update): change since fullRebreak always
9560         return true.
9561         (Dispatch): git rid of the last hardcoded "Standard"s.
9562
9563 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * text2.[Ch] (fullRebreak): make it return void now that we always
9566         returned true.
9567
9568 2002-04-30  Juergen Vigna  <jug@sad.it>
9569
9570         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9571         ert compatibility check for "latex" layout.
9572
9573 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9574
9575         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9576         minipages: use col% instead of p%, and also use the current font.
9577         (makeLaTeXFile): Fix use babel condition.
9578         (parseSingleLyXformat2Token): Correct font when reading old floats.
9579
9580 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9581
9582         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9583         inserting list of floats.
9584
9585 2002-04-25  Herbert Voss  <voss@lyx.org>
9586
9587         * MenuBackend.C (expand): don't add the graphics extensions to the
9588         export menu
9589
9590 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9593         non-existing layout, do not complain if it was the default layout
9594         of the original class (bug #342)
9595
9596 2002-04-24  Juergen Vigna  <jug@sad.it>
9597
9598         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9599         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9600
9601 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9602
9603         * buffer.C (getBibkeyList): If using \bibliography, return the
9604         option field with the reference itself. Enables us to provide natbib
9605         support when using \bibliography.
9606
9607 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9608
9609         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9610
9611         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9612         natbib is provided by the LaTeX class.
9613
9614 2002-04-23  Juergen Vigna  <jug@sad.it>
9615
9616         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9617         Wakeup functions.
9618
9619         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9620
9621 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9624
9625         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9626         ensuremath around textordmasculine, textordfeminine and
9627         textdegree.
9628
9629 2002-04-19  Juergen Vigna  <jug@sad.it>
9630
9631         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9632         reinitializing the buffer otherwise row-dimensions may be wrong.
9633         (update): reset also the selection cursors if they do exits otherwise
9634         their x/y positions may be wrong.
9635
9636         * text2.C (cursorDown): don't enter the inset if we came from a row
9637         above and are one row over the inset.
9638
9639         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9640         really leaving an inset.
9641
9642 2002-04-18  Juergen Vigna  <jug@sad.it>
9643
9644         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9645         of the selected paragraph does not have the selected layout also if
9646         the last one had!
9647
9648         * text2.C (setLayout): fixed bug which did not change last selected
9649         paragraph.
9650
9651         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9652         changed the read and substituted \\end_float with \\end_inset!
9653
9654         * BufferView_pimpl.C (cursorPrevious):
9655         (cursorNext): fixed to make it work with rows heigher than the work
9656         area without moving the cursor only the draw of the row.
9657         (workAreaMotionNotify): fix jumping over high rows.
9658
9659 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9660
9661         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9662         Ressler.
9663
9664 2002-04-16  Juergen Vigna  <jug@sad.it>
9665
9666         * text2.C (setCursor): set also the irow().
9667         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9668         (cursorUp):
9669         (cursorDown): support for locking an inset if the x_fix value goes
9670         inside it. That way I can transverse insets too with cursor up/down.
9671
9672         * lyxrow.h: added irow helper function same as other (i) functions.
9673
9674         * BufferView_pimpl.C (cursorPrevious):
9675         (cursorNext): fixed for insets!
9676
9677 2002-04-15  Juergen Vigna  <jug@sad.it>
9678
9679         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9680         position otherwise it is wrong in some cases.
9681
9682         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9683         inside the inset before the call.
9684
9685 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9686
9687         * buffer.[Ch] (getBibkeyList): make it const.
9688
9689 2002-04-12  Juergen Vigna  <jug@sad.it>
9690
9691         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9692
9693         * text2.C (getCursorX): new helper function
9694         (setCursor): compute also ix_
9695         (setCursorFromCoordinates): set also ix.
9696
9697         * lyxcursor.h: added ix_ and helper functions.
9698
9699         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9700
9701         * buffer.C (insertStringAsLines): dont break paragraph if the this
9702         paragraph is inside an inset which does not permit it!
9703
9704         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9705         also with no chars on this paragraph.
9706         (paintRowText): only paint stuff if it's inside the workarea!
9707
9708         * paragraph.C (breakParagraph): honor keepempty flag and break the
9709         paragraph always below not above.
9710
9711         * BufferView2.C (unlockInset): update the paragraph layout on inset
9712         unlock as we changed paragraph in such a case.
9713
9714         * lyxfind.C (LyXFind): clear the former selection if not found!
9715
9716         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9717         again called in insertChar().
9718
9719         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9720         an inset which uses the whole row!
9721         (rightMargin): ditto.
9722         (insertChar): force a rebreak if we inserted an inset!
9723
9724 2002-03-28  Herbert Voss  <voss@lyx.org>
9725
9726         * lyxlength.[Ch]: add inBP() to get the right PS-point
9727         units (BigPoint). With inPixels we have rounding errors
9728
9729 2002-04-11  Juergen Vigna  <jug@sad.it>
9730
9731         * text2.C (setCursorFromCoordinates): set iy to the right value.
9732         (setCursor): add check if row->previous exists!
9733
9734         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9735         an old float_type as this was the case in the old code!
9736
9737         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9738
9739         * BufferView2.C (showLockedInsetCursor): use iy
9740         (fitLockedInsetCursor): ditto
9741
9742         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9743         locked insets as there we have the right value now.
9744
9745         * lyxcursor.C: added iy_ variable and iy functions to set to the
9746         baseline of cursor-y of the locked inset.
9747
9748         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9749         (setCursor): fixed for insets which need a full row.
9750
9751         * text.C (rowLastPrintable): don't ignore the last space when before
9752         an inset which needs a full row.
9753         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9754         as last character of a row when before a inset which needs a full row.
9755
9756 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9757
9758         * version.C.in: update date
9759
9760         * text2.C (fullRebreak): try to always return true and see what
9761         happens...
9762
9763 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * MenuBackend.C (expand): use Floating::listName
9766
9767         * FloatList.C (FloatList): add listName argument to the built-in
9768         floats
9769
9770         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9771         text associated with the float.
9772
9773 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9776
9777 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9778
9779         * ShareContainer.h: add a couple of missing typenames.
9780
9781 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9782
9783         * lyxrc.C (getDescription): use _() correctly rather than N_().
9784
9785 2002-03-28  Herbert Voss  <voss@lyx.org>
9786
9787         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9788         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9789
9790 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9793         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9794
9795 2002-03-29  Juergen Vigna  <jug@sad.it>
9796
9797         * lyxfunc.C (dispatch): add a missing fitCursor call.
9798
9799         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9800         it was scrolled by a cursor move, so return the bool status.
9801
9802         * BufferView.C (fitCursor): return the bool flag also to the outside
9803         world as this is needed.
9804
9805         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9806
9807         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9808         call the edit() as it is not needed (and wrong) IMO.
9809         (workAreaButtonPress): set the screen_first variable before evt.
9810         unlock the inset as this may change screen_first and then we have
9811         a wrong y position for the click!
9812
9813 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * MenuBackend.C (expand): another translation that I missed
9816
9817 2002-03-28  Juergen Vigna  <jug@sad.it>
9818
9819         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9820
9821         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9822
9823 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9826
9827         * MenuBackend.C (expand): fix export/view/update when there is no
9828         document open.
9829
9830 2002-03-27  Herbert Voss  <voss@lyx.org>
9831
9832         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9833         and text%
9834
9835 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * bufferview_funcs.C (currentState): only show paragraph number
9838         for is DEVEL_VERSION is set.
9839
9840         * lyxfunc.C (dispatch): put warning in INFO channel
9841
9842         * MenuBackend.C (expand): translate the name of floats
9843
9844         * FloatList.C (FloatList): mark the float names for translation
9845
9846         * converter.C (convert): use LibScriptSearch
9847
9848 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9849
9850         * MenuBackend.C (defaults): fix default menu (we might as well get
9851         rid of it...)
9852
9853 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9854
9855         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9856         directory.
9857
9858 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * lyxvc.C: reorder includes.
9861
9862 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9865           properly
9866
9867 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * CutAndPaste.C: change layouts earlier on paste
9870           to avoid crashing when calling getFont()
9871
9872 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9873
9874         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9875         irritating #error.
9876
9877 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * WorkArea.C: remove 'Pending' debug message.
9880
9881         * most files: ws cleanup
9882
9883         * buffer.[Ch]: ws changes
9884
9885         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9886
9887 2002-03-21  Juergen Vigna  <jug@sad.it>
9888
9889         * tabular.C (SetMultiColumn): collapse also the contents of the
9890         cells and set the last border right. Added a Buffer const * param.
9891
9892 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9893
9894         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9895         linking or not.
9896
9897 2002-03-19  Juergen Vigna  <jug@sad.it>
9898
9899         * text2.C (clearSelection): reset also xsel_cache.
9900
9901         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9902         where it needs to be called (John tells us to do so too :)
9903         (selectionLost): reset sel_cache.
9904
9905         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9906
9907 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * text2.C (setCursorIntern): put debuging code in INSETS channel
9910
9911 2002-03-19  André Pönitz <poenitz@gmx.net>
9912
9913         * lyxfunc.C: tiny whitespace change
9914
9915 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9916
9917         * ToolbarDefaults.C (init):
9918         * LyXAction.C (init):
9919         * commandtags.h:
9920         * BufferView_pimpl.C (Dispatch):
9921         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9922
9923 2002-03-19  Allan Rae  <rae@lyx.org>
9924
9925         * exporter.C (Export): removeAutoInsets before doing anything else.
9926         While I've just introduced a dependency on BufferView this really is
9927         the best place to clean the buffer otherwise you need to cleanup in
9928         a dozen places before calling export or cleanup in a dozen functions
9929         that export calls.
9930
9931         * converter.C (runLaTeX):
9932         (scanLog): Better handling of removeAutoInsets and screen updates.
9933
9934         * lyxfunc.C (dispatch): small whitespace changes
9935
9936 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * WorkArea.C (C_WorkAreaEvent): return a value.
9939         (event_cb): return 1 if we handled the event, 0 otherwise.
9940
9941         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9942
9943 2002-03-18  Juergen Vigna  <jug@sad.it>
9944
9945         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9946         (GetAdditionalWidth): ditto.
9947         (RightLine): ditto.
9948         (LeftLine): ditto.
9949
9950         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9951         inset if we're there actually (probably not used right now but this
9952         is the direction to go for unifying code).
9953         (paste): disable code to clear the selection.
9954
9955         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9956         inside an InsetText and move the check further up as it is in the
9957         wrong place.
9958
9959         * text2.C (pasteSelection): set a selection over the pasted text.
9960
9961 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9962
9963         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9964         and libgraphics to build on Cygwin.
9965
9966 2002-03-15  Juergen Vigna  <jug@sad.it>
9967
9968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9969         inserting an Inset into the paragraph. I know this is not the best
9970         fix but we already use current_view in CutAndPaste so we will remove
9971         all of it's using at the same time.
9972
9973         * buffer.C (sgmlError): deactivated function till it is rewritten in
9974         the right mode, now it can create problems.
9975
9976         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9977         before accessing it.
9978
9979 2002-03-14  Juergen Vigna  <jug@sad.it>
9980
9981         * undo_funcs.C (textHandleUndo): do the right thing when updating
9982         the inset after the undo/redo.
9983
9984         * text2.C (setCursor): just some testcode for #44 not ready yet.
9985
9986         * undo_funcs.C (textHandleUndo): set the next() and previous()
9987         pointers of the paragraph to 0 before deleting otherwise we have
9988         problems with the Paragraph::[destructor].
9989
9990         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9991         on a paragraph insertion.
9992
9993 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9994
9995         * buffer.C (asciiParagraph): use += operator for char append to
9996         string.
9997
9998         * paragraph.C (getFontSettings): compare >= not just >
9999         (highestFontInRange): ditto
10000         (setFont): ditto
10001
10002 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10003
10004         * paragraph.C: change several algorithm to be more appripriate for
10005         the problem domain. This is lookip in FontList and in the InsetList.
10006
10007 2002-03-13  André Pönitz <poenitz@gmx.net>
10008
10009         * commandtags.h:
10010         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10011
10012 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * commandtags.h:
10015         * LyXAction.C:
10016         * lyxfunc.C:
10017         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10018
10019 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * Painter.C (display): anon helper function, adjust code for this
10022         change.
10023         (pixmap): remove function.
10024
10025         * Painter.h: remove private display variable.
10026
10027         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10028
10029 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10030
10031         * WorkArea.[Ch]: remove figinset_canvas cruft.
10032
10033 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10034
10035         * lyxtextclass.C (operator): add one item cache optimization.
10036
10037         * bufferlist.h: doxy changes
10038
10039         * bufferlist.C: ws changes
10040
10041         * DepTable.[Ch] (ext_exist): place const in the right spot.
10042
10043         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10044         call resizeInsets.
10045         (workAreaExpose): call resizeInsets when the with BufferView changes.
10046         (Dispatch): adjust for protectedBlank removal
10047         (specialChar): call updateInset if the insert went ok.
10048
10049         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10050         specialChar instead.
10051
10052         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10053
10054         * BufferView.h: doxy change
10055
10056         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10057
10058         * lyxtextclass.C (operator[]): remove non-const version
10059         (defaultLayout): remove non-const version
10060
10061 2002-03-12  Juergen Vigna  <jug@sad.it>
10062
10063         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10064         did resize the LyXText too.
10065
10066         * buffer.C (readLyXformat2): set layout information on newly allocated
10067         paragraphs.
10068
10069         * tabular.C (OldFormatRead): set layout information on the paragraph.
10070
10071 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10072
10073         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10074
10075 2002-03-11  Juergen Vigna  <jug@sad.it>
10076
10077         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10078         plainly wrong.
10079         (resizeCurrentBuffer): force also the insets to resize themselfes.
10080         (moveCursorUpdate): fixed up for InsetText.
10081
10082 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10083
10084         * commandtags.h:
10085         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10086         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10087         value of Dialogs::tooltipsEnabled().
10088         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10089
10090 2002-03-08  Juergen Vigna  <jug@sad.it>
10091
10092         * BufferView_pimpl.C (updateInset): update inset inside inset also
10093         if it isn't inside theLockingInset().
10094
10095 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * buffer.C (asciiParagraph): redo some of the word and line length
10098         handling.
10099         (getLists): look for Caption instead of caption.
10100
10101 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10102
10103         * buffer.C (Buffer): initialize niceFile to true
10104         (makeLaTeXFile):
10105         (makeLinuxDocFile):
10106         (makeDocBookFile): make sure niceFile is true on exit
10107
10108 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10111
10112 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10113
10114         * LyXSendto.C: remove.
10115         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10116         * lyx_gui.C: remove now-redundant comment.
10117         * ColorHandler.h: remove forward declaration of class WorkArea.
10118         * lyxfunc.C: remove #include "WorkArea.h".
10119
10120 2002-03-07  Juergen Vigna  <jug@sad.it>
10121
10122         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10123         got moved away with the DEPM and also set the inset_owner always
10124         right which before could have been omitted.
10125
10126 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10127
10128         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10129         wanted layout is not found.
10130
10131 2002-03-07  Juergen Vigna  <jug@sad.it>
10132
10133         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10134
10135 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10136
10137         * paragraph.C (breakParagraph): use default layout not layout of
10138         prev paragraph.
10139         (Paragraph): clear ParagraphParameters.
10140
10141 2002-03-06  Juergen Vigna  <jug@sad.it>
10142
10143         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10144         otherwise it would not be a valid lenght. Fixed a special case in
10145         the minipage compatibility read where we end the document with a
10146         minipage.
10147
10148         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10149         was set as it could be 0 for InsetTexts first entry.
10150
10151 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10152
10153         * paragraph.C (writeFile): if layout is empty write out
10154         defaultLayoutName().
10155
10156         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10157         file without named layout we set layout to defaultLayoutName().
10158
10159 2002-03-06  Juergen Vigna  <jug@sad.it>
10160
10161         * CutAndPaste.C (copySelection): set layout for new paragraph.
10162
10163         * text.C (prepareToPrint): leave ERT inset left aligned
10164         (leftMargin): don't indent paragraphs inside ERT insets
10165
10166 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10167
10168         * paragraph.C (breakParagraph): dont call clear do the work manually
10169
10170         * paragraph.[Ch] (clear): remove function
10171
10172 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10173
10174         * paragraph.C (Paragraph): dont call clear, the work has already
10175         been done.
10176
10177         * lyxtextclass.C (operator): assert if n is empty
10178
10179         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10180         work manually instead.
10181
10182 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * BufferView_pimpl.C: protect selectionLost against text == 0
10185
10186 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10187
10188         * text.C (breakParagraph): fix a setting layout to '0' problem.
10189
10190 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10191
10192         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10193         final location of file, for the included files, and graphics.
10194
10195 2002-03-05  Juergen Vigna  <jug@sad.it>
10196
10197         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10198
10199 2002-03-04  Juergen Vigna  <jug@sad.it>
10200
10201         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10202
10203         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10204         last column of multicolumn cells.
10205         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10206
10207 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10208
10209         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10210         file if it doesn't go to a temporary file.
10211
10212         * buffer.C (sgmlOpenTag):
10213         (sgmlCloseTag):  remove extra newline insertion.
10214
10215 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10216
10217         * text.C (getRowNearY): comment out debug msg
10218
10219 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10220
10221         * text2.C: first -> first_y
10222
10223         * text.C (getRowNearY): add some attemts at a possible
10224         optimization, not working.
10225
10226         * tabular.[Ch]: add BufferParams to several function so that newly
10227         created paragraph can be initialized to he default layotu for the
10228         buffers textclass.
10229
10230         * tabular-old.C (ReadOld): add buf->params to call of Init
10231
10232         * screen.C: rename text->first to text->first_y
10233
10234         * paragraph.C (breakParagraph): always set layout in the broken
10235         paragraph
10236
10237         * lyxtextclass.C (Read): remove lowercase
10238         (hasLayout): ditto
10239         (operator): ditto
10240         (delete_layout): ditto
10241
10242         * lyxtext.h: rename first -> first_y
10243
10244         * lyxlayout.C (Read): remove lowercase
10245         (name): ditto
10246         (setName): ditto
10247         (obsoleted_by): ditto
10248
10249         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10250
10251         * buffer.C (insertErtContents): add params are to InsetERT
10252         (parseSingleLyXformat2Token): add code to check if a paragraphs
10253         layout really exist.
10254         (parseSingleLyXformat2Token): add params to several inset
10255         constructors
10256         (asciiParagraph): remove lowercase, do the layout comparisons with
10257         no_case
10258
10259         * BufferView_pimpl.C (cursorNext): first -> first_y
10260         (resizeCurrentBuffer): first -> first_y
10261         (updateScrollbar): first -> first_y
10262         (scrollCB): first -> first_y
10263         (workAreaMotionNotify): first -> first_y
10264         (workAreaButtonPress): first -> first_y
10265         (checkInsetHit): first -> first_y
10266         (cursorPrevious): first -> first_y
10267         (cursorNext): first -> first_y
10268         (Dispatch): add buffer_->params to severl inset contructors
10269
10270 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10271
10272         * lyxlayout.C (Read): remove some debug info that I forgot.
10273
10274         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10275         clean up the code slightly.
10276         (makeLinuxDocFile): ditto
10277         (makeDocBookFile): ditto
10278
10279         * text2.C: layout as string
10280
10281         * text.C: layout as string
10282
10283         * paragraph_pimpl.C: layout as string
10284
10285         * paragraph.[Ch]: layout as string
10286
10287         * lyxtextclasslist.[Ch]: layout as string
10288
10289         * lyxtextclass.[Ch]: layout as string
10290
10291         * lyxtext.h: layout as string
10292
10293         * lyxlayout.[Ch]: layout as string
10294
10295         * lyx_cb.C: layout as string
10296
10297         * bufferview_funcs.C: layout as string
10298
10299         * bufferparams.C: layout as string
10300
10301         * buffer.C: layout as string
10302
10303         * LyXView.[Ch]: layout as string
10304
10305         * LaTeXFeatures.[Ch]: layout as string
10306
10307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10308
10309         * BufferView_pimpl.C: change current_layout to string, remove
10310         lyx::layout_type.
10311         (Dispatch):
10312         (smartQuote):
10313         (insertInset):
10314         (workAreaButtonRelease): layout as string
10315
10316         * BufferView2.C (unlockInset): adjust
10317
10318         * vspace.C (asLatexCommand): use an explict temp variable.
10319
10320 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * Makefile.am: use FRONTEND_*
10323
10324 2002-03-01  Juergen Vigna  <jug@sad.it>
10325
10326         * tabular.C (SetWidthOfMulticolCell): changed to something better
10327         I hope but still work in progress.
10328         (recalculateMulticolumnsOfColumn): renamed function from
10329         recalculateMulticolCells as it is more appropriate now.
10330         (SetWidthOfCell): calculate multicols better.
10331
10332 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10333
10334         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10335
10336         * lyxfunc.C (processKeySym): print sequence also if it is
10337         `deleted' (complete)
10338
10339         * kbsequence.C (print): print sequence even if it is deleted
10340         (complete would be a better word, actually).
10341
10342         * lyxfunc.C (dispatch): print complete options after a prefix key
10343
10344         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10345
10346 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10347
10348         * text2.C (setCharFont): eliminate setCharFont code duplication.
10349
10350 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10353         LFUN_TABULAR_FEATURE (bug #177)
10354
10355 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10356
10357         * Makefile.am: remove figure.h
10358
10359 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10360
10361         * Bufferview_pimpl.C:
10362         * CutAndPasteC:
10363         * LaTeX.C:
10364         * LyXSendto.C:
10365         * buffer.C:
10366         * bufferlist.C:
10367         * converter.C:
10368         * language.C:
10369         * lyxfunc.C:
10370         * lyxvc.C:
10371         * paragraph.C:
10372         * text.C:
10373         * text2.C: remove #include "lyx_gui_misc.h".
10374
10375         * LaTeX.C: added #include <cstdio>
10376
10377 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10378
10379         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10380         that the paragraph following this one can have.
10381
10382         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10383
10384         * vspace.C (asLatexCommand): fix bogus gcc warning
10385
10386         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10387
10388 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10389
10390         * text2.C (setLayout): get rid of redundant code
10391
10392 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10393
10394         * text2.C (incDepth): make sure depth cannot be increased beyond
10395         reasonable values.
10396
10397 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10398
10399         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10400         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10401
10402         * PainterBase.h (image):
10403         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10404         a LyXImage const *.
10405
10406 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * BufferView.C:
10409         * BufferView.h:
10410         * BufferView_pimpl.C:
10411         * BufferView_pimpl.h:
10412         * LaTeXFeatures.C:
10413         * LyXAction.C:
10414         * LyXView.C:
10415         * Makefile.am:
10416         * UpdateList.h:
10417         * UpdateList.C:
10418         * buffer.C:
10419         * figure.h:
10420         * figureForm.C:
10421         * figureForm.h:
10422         * figure_form.C:
10423         * figure_form.h:
10424         * lyx_cb.C:
10425         * lyx_gui.C:
10426         * lyx_gui_misc.C:
10427         * lyxfunc.C:
10428         * sp_base.h:
10429         * sp_ispell.h:
10430         * sp_pspell.h:
10431         * sp_spell.C: remove fig inset, and the crap house of
10432           cards that follows it
10433
10434 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * Makefile.am:
10437         * lyxserver.C:
10438         * os2_defines.h:
10439         * os2_errortable.h:
10440         * nt_defines.h: move .h into support/
10441
10442         * vms_defines.h: remove
10443
10444         * WorkArea.C: add space in debug output
10445
10446         * text2.C:
10447         * paragraph.C:
10448         * buffer.C: add WITH_WARNINGS
10449
10450         * vc-backend.h:
10451         * vc-backend.C:
10452         * bufferlist.C: s/retrive/retrieve/, add docs
10453
10454         * vspace.h:
10455         * vspace.C:
10456         * kbmap.h:
10457         * lyxlength.h:
10458         * lyxgluelength.h:
10459         * length_common.h:
10460         * chset.h:
10461         * chset.C: add docs
10462
10463         * lyxgui.C: add ID to X error handler
10464
10465         * lyxtestclass.c: fix typo
10466
10467 2002-02-26  Juergen Vigna  <jug@sad.it>
10468
10469         * tabular_funcs.C (write_attribute): changed so that some default
10470         attributes are not written at all.
10471         (getTokenValue): set default values before trying to read the
10472         value so we have the return value always set as default if we don't
10473         find the token we search for.
10474
10475         * tabular.C (Write): write bools as bools not as strings!
10476
10477 2002-02-22  Juergen Vigna  <jug@sad.it>
10478
10479         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10480         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10481
10482         * text.C (leftMargin): don't add an indent for paragraphs inside
10483         tabular cells (fix #208).
10484
10485 2002-02-21  José Matos  <jamatos@fep.up.pt>
10486
10487         * tabular.C (docBook): fixed support for long tables.
10488
10489 2002-02-20  Juergen Vigna  <jug@sad.it>
10490
10491         * text2.C (getFont): get the drawing font of the Inset if this
10492         paragraph is inside an inset (only important for InsetERT for now).
10493
10494         * buffer.C (insertErtContents): use new lanugage params in ERT
10495         constructor.
10496
10497         * CutAndPaste.C: commenting out seemingly uneeded code.
10498
10499 2002-02-19  Allan Rae  <rae@lyx.org>
10500
10501         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10502         Iterators might be simple to use but they also get invalidated.
10503         (removeAutoInsets): renamed saved cursor tracking variables and added
10504         some comments to clarify what everything does.
10505
10506 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10507
10508         * Chktex.C:
10509         * LaTeX.C:
10510         * LyXSendto.C:
10511         * converter.C:
10512         * lyx_cb.C:
10513         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10514         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10515
10516         * lyxfunc.C:
10517         * vc-backend.h: remove #include "support/syscall.h"
10518
10519         * LaTeX.C:
10520         * LyXSendto.C:
10521         * converter.C: rearrange #includes in Lars' approved fashion.
10522
10523         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10524         forward declare class Timeout in the header file.
10525
10526         * XFormsView.C: changes due to the above.
10527
10528         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10529         similar to LyXView.
10530
10531         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10532         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10533
10534 2002-02-18  José Matos  <jamatos@fep.up.pt>
10535
10536         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10537         insets contents.
10538
10539 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10540
10541         * a lot of small ws changes
10542         * add a lot of using std::XXX
10543         * use std construcs some places where approp.
10544         * use some exisint stuff from lyxfunctional where approp.
10545         * Make file changes to use partial linking (lets test this now...)
10546
10547 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10548
10549         * Chktex.C:
10550         * buffer.C:
10551         remove #include "support/syscontr.h" as it's redundant. Always has been.
10552
10553         * Chktex.C:
10554         * LaTeX.C:
10555         * LyXSendto.C:
10556         * converter.C:
10557         * lyx_cb.C:
10558         * vc-backend.C:
10559         change Systemcalls::System to Systemcalls::Wait and
10560         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10561         No change of functionality, just reflects the stripped down Systemcalls
10562         class.
10563
10564 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10565
10566         * debug.[Ch]: add a GRAPHICS type to the enum.
10567
10568 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10571
10572         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10573         there is an inset.
10574
10575 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10576
10577         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10578         match the changes below.
10579
10580         * text2.C (toggleInset): if there is not editable inset at cursor
10581         position, try to see if cursor is _inside_ a collapsable inset
10582         and close it.
10583
10584 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10585
10586         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10587         document menu has a nice checkbox
10588
10589 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * lyxlength.C (asLatexString): change PW to output as percent of
10592         \textwidth.
10593
10594         * lengthcommon.C: change '%' to 't%'
10595
10596         * lyxfunc.C (dispatch): a few comments from Martin
10597
10598 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * WorkArea.h:
10601         * WorkArea.C:
10602         * BufferView_pimpl.h:
10603         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10604           the X selection.
10605
10606 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * vspace.C (inPixels): fix compiler warning
10609
10610 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * lyxfunc.C (getStatus): fix status message for disabled commands.
10613
10614 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * BufferView_pimpl.C: fix crash on close buffer
10617         during selection (#227)
10618
10619 2002-01-27  Herbert Voss  <voss@lyx.org>
10620
10621         * buffer.C: link old Figure to new graphic inset
10622
10623 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10624
10625         * FontLoader.C (getFontinfo): Change the latex font names in order
10626         to match the names of type1inst.
10627
10628 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10631
10632         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10633         (extchanged): ditto
10634         (ext_exist): ditto
10635         (remove_files_with_extension): ditto
10636         (remove_file): ditto
10637         (write): ditto
10638
10639         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10640         document is smaller than the work area height. Do not initialize
10641         static variables to 0.
10642
10643 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10646
10647         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10648         LFUN_LAYOUT_PARAGRAPHS.
10649
10650         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10651         tabular. It is possible to provide a possible cell, which will
10652         typically be the actcell from the corresponding insettabular
10653
10654         * lyxfunc.C (getStatus): small cleanup; disable
10655         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10656         true
10657
10658 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10661
10662         * paragraph.C (startTeXParParams):
10663         (endTeXParParams): new methods. The LaTeX code to
10664         start/end paragraph formatting
10665         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10666         empty (fixes bug #200)
10667
10668         * vspace.C (inPixels): adapt to the change below
10669         (inPixels): [later] more cleanups (remove unused variables)
10670
10671         * lyxlength.C (inPixels): change to use a width and a height as
10672         parameter.
10673
10674 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10677         Replaced with \paperwidth
10678
10679         * DepTable.C (insert): add std:: qualifier
10680
10681 2002-01-18  Allan Rae  <rae@lyx.org>
10682
10683         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10684         updated also?
10685
10686         * text.C (drawInset): Turned out I didn't know enough about how
10687         rebreaking worked.  This fixes most of the redraw problems.  I see
10688         an occasional cursor trail when a line is broken now and the cursor
10689         placement can seem out by a few pixels also after a rebreak.
10690
10691 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * buffer.C (parseSingleLyXformat2Token): update because minipage
10694         width is now a LyXLength
10695
10696         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10697
10698         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10699         math insets
10700
10701 2002-01-17  Juergen Vigna  <jug@sad.it>
10702
10703         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10704
10705         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10706         is set correctly and the inset is updated correctly.
10707
10708 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10711         the beginning of the loop.
10712
10713 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * lyxrc.C: improve help for use_scalable_fonts
10716
10717 2002-01-17  Allan Rae  <rae@lyx.org>
10718
10719         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10720
10721 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10724         make sure to set their inset_owner to the right value (bug #171)
10725
10726 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10727
10728         * DepTable.h
10729         * DepTable.C: Implement mtime checking to reduce time spent doing
10730         CRCs.
10731
10732 2002-01-16  Juergen Vigna  <jug@sad.it>
10733
10734         * tabular.C (GetAdditionalHeight): one of error fixed.
10735
10736         * lyxrc.C (output): small fix in writing use_pspell.
10737
10738 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * sp_base.h: #include LString.h
10741
10742 2002-01-16  Allan Rae  <rae@lyx.org>
10743
10744         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10745         Can someone check this please?
10746
10747         * text.C (drawInset): It was possible that p.row would be removed by
10748         breakAgainOneRow upsetting a few other settings.  There may be another
10749         small tweak possible by setting need_break_row = 0 when p.row has been
10750         removed but I don't know enough about the logic here.
10751
10752 2002-01-15  Allan Rae  <rae@lyx.org>
10753
10754         * text.C (insertChar): removed conditional truism.
10755
10756         * BufferView2.C (removeAutoInsets): More tweaks.
10757         cur_par_prev could be a stray pointer.  Check for trailing empty line
10758         in case last line was cur_par and only had an error inset on it.
10759
10760 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10763         absolute
10764
10765         * vc-backend.C (most methods):
10766         * exporter.C (Export):
10767         * converter.C (convert):
10768         (runLaTeX):
10769         * LyXSendto.C (SendtoApplyCB):
10770         * lyxfunc.C (dispatch):
10771         (menuNew):
10772         (open):
10773         (doImport):
10774         * lyx_cb.C (AutoSave):
10775         (InsertAsciiFile):
10776         * BufferView_pimpl.C (MenuInsertLyXFile):
10777         * buffer.C (runChktex): use Buffer::filePath().
10778
10779         * buffer.h: rename filename to filename_; rename filepath to
10780         filepath_ and make it private
10781         (filePath): new method
10782
10783         * buffer.C (writeFile): use fileName()
10784         (getLatexName):
10785
10786         * lyx_main.C (init): fix starting  of LyX when the binary is a
10787         link from so,ewhere else.
10788
10789         * minibuffer.C: include <cctype> for isprint
10790
10791 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10792
10793         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10794         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10795         name clash with InsetCollapsable's width function.
10796
10797 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10798
10799         * lastfiles.C: include <iterator>
10800
10801 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10802
10803         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10804         std::count.
10805
10806         * buffer.C (makeLaTeXFile): ditto.
10807         Also make loop operation more transparent.
10808
10809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         * ToolbarDefaults.C: remove trailing comma closing namespace.
10812
10813         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10814
10815         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10816         as in WorkArea.
10817
10818         * trans.C (Load): comment out unused variable, allowed.
10819
10820 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10821
10822         * minibuffer.[Ch] (append_char): new method to recieve input from the
10823         drop-down completion browser. If a key was pressed, then recieve this
10824         char and append it to the existing string.
10825         (peek_event): modify the positioning data passed to the completion
10826         browser so that it can be placed above the minibuffer rather than below.
10827 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10828
10829         * LyXAction.C (init): alloe error-next for readonly documents.
10830
10831         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10832         count.
10833
10834 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * bufferlist.C (readFile): create the buffer _after_ checking that
10837         the file exists.
10838
10839         * lyxfunc.C (verboseDispatch): fix handling of arguments
10840
10841         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10842
10843         * lyxrc.C: use string::erase() instead of initializing to "".
10844
10845
10846 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * BufferView_pimpl.h:
10849         * BufferView_pimpl.C:
10850         * WorkArea.h:
10851         * WorkArea.C:
10852         * text2.C: tell X when we have made a selection for copying
10853
10854 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * BufferView_pimpl.C (MenuInsertLyXFile):
10857         * lyxfunc.C (menuNew):
10858         (open):
10859         (doImport): add shortcuts to directory buttons
10860
10861         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10862         open a float)
10863
10864         * lyxfunc.C (setStatusMessage):
10865         (getStatusMessage): new methods
10866         (getStatus):use setStatusMessage instead of setErrorMessage
10867         (dispatch): when function is disabled, set error message here
10868         [instead of in getStatus previously]
10869
10870         * BufferView_pimpl.C (workAreaButtonRelease): update
10871         toolbar/menubar here too.
10872
10873 2002-01-13  Allan Rae  <rae@lyx.org>
10874
10875         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10876         Now seems indestructible.  Remaining task is to audit all other
10877         code affected by deleteEmptyParagraphMechanism.  One small quirk
10878         left is that an empty document with an error in the preamble can
10879         be made to report an error but no error box appears.  I don't know
10880         where it goes.
10881         (removeAutoInsets): Improved comments.
10882
10883 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * Thesaurus.h:
10886         * Thesaurus.C: update for Aiksaurus 0.14
10887
10888 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * text2.C (firstParagraph): removed member function, all uses
10891         replaces with ownerParagraph
10892         (redoParagraphs): here
10893         (updateInset): here
10894         (toggleAppendix): here
10895         * BufferView2.C (insertErrors): here
10896         (setCursorFromRow): here
10897
10898 2002-01-13  Allan Rae  <rae@lyx.org>
10899
10900         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10901         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10902         There is still a way to segfault this although you may have to do this
10903         multiple times: Have an InsetERT with an unknown command in it.
10904         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10905         <down-arrow>, <Enter> again, View->DVI, BANG!
10906
10907         * text2.C (setCursor):
10908         (deleteEmptyParagraphMechanism):
10909         * lyxtext.h (setCursor):
10910         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10911         Making use of the return value may help fix other bugs.
10912
10913 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10916
10917         * LyXView.C (updateMenubar): call MenuBar::update here
10918         (updateToolbar): but not here
10919         (showState): do not update toolbar/menubar
10920
10921         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10922         should need to care about that.
10923
10924         * lyxfunc.C (verboseDispatch): simplify a bit
10925         (getStatus): have a version which takes a pseudoaction, and
10926         another which requires a (kb_action,string).
10927
10928         * LyXAction.C (retrieveActionArg): make it work also when action
10929         is not a pseudo-action.
10930         (getActionName): simplify a bit
10931         (helpText):
10932
10933 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * lyxfunc.C (verboseDispatch): new families of methods with
10936         several ways to specify a command and a bool to indicate whether
10937         the command name and shortcut should be displayed in minibuffer
10938         (eventually, we could extend that to a finer bitmask like
10939         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10940         (dispatch): the pristine dispatch command which just, well,
10941         dispatchs! Note it still sets its result to minibuffer; I'm not
10942         sure we want that.
10943
10944         * lyxfunc.h: remove setHintMessage
10945
10946         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10947
10948 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10949
10950         * BufferView_pimpl.C (specialChar): delete new inset if we have
10951         not been able to insert it.
10952
10953         * kbmap.C: revert to using int instead of kb_action, since all we
10954         are dealing with is pseudo-actions.
10955
10956         * LyXAction.C (searchActionArg): change to return int instead of
10957         kb_action, since the result is a pseudoaction.
10958
10959 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10960
10961         * buffer.C (insertErtContents): Fix (partially) the font bug.
10962
10963 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10964
10965         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10966         as the other one is broken on my machine!
10967
10968 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10969
10970         * commandtags.h:
10971         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10972
10973 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10974
10975         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10976         reflect their actual use. Provide compatibility code for older lyxrc
10977         files.
10978
10979         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10980         FL_NORMAL_STYLE.
10981         change names of popup font variables in line with the changes to lyxrc.C
10982
10983 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10984
10985         * buffer.C (asciiParagraph): avoid outputing a word twice after
10986         an inset.
10987
10988         * lyxrc.C (getDescription): document that document_path and
10989         template_path can be empty.
10990
10991 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10992
10993         * LaTeXFeatures.C (getMacros):
10994         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10995
10996         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10997
10998         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10999         getPackages.
11000         (getPackages): rename feature "floats" to "float". Use an array to
11001         iterate over 'simple' features (i.e. just a \usepackage). Add
11002         handling of "amsmath" (renamed from "amsstyle").
11003
11004 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11005
11006         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11007         features list.
11008
11009 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11010
11011         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11012         FuncStaus::FuncStatus & FuncStaus::some_method().
11013
11014 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11015
11016         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11017         of the func_satus stuff. Edited and massaged in various ways by
11018         JMarc.
11019
11020         * lyxfunc.C (getStatus): use FuncStatus
11021
11022 2002-01-08  Juergen Vigna  <jug@sad.it>
11023
11024         * text.C (nextBreakPoint): use function Inset::isChar().
11025
11026         * paragraph.C (TeXOnePar): use function
11027         Inset::forceDefaultParagraphs.
11028
11029         * buffer.C (latexParagraphs): use function
11030         Inset::forceDefaultParagraphs.
11031
11032 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11033
11034         * lyx_gui.C (init): set the style of the menu popups to
11035         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11036
11037 2002-01-07  Juergen Vigna  <jug@sad.it>
11038
11039         * text.C (setHeightOfRow): small fix
11040         (prepareToPrint): don't look at alignment if we don't have the place
11041         for doing it.
11042
11043 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11044
11045         * box.C: New file. Move the Box methods and functions out of box.h,
11046         following Lars' suggestion.
11047
11048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * box.h: #include "support/LOstream.h", needed for inlined function.
11051
11052         * lyxtextclass.C:
11053         * lyxtextclasslist.C: added some using std declarations.
11054
11055 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * box.h: make signed dimensions to allow insets wider than
11058           the screen (bug #162)
11059
11060         * BufferView_pimpl.C: add some insetHit debug
11061
11062 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * vc-backend.C: add FIXME
11065
11066 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * lyxfunc.C (getStatus): enable code for showing math font status
11069         in toolbar/menu.
11070
11071 2002-01-07  Juergen Vigna  <jug@sad.it>
11072
11073         * text.C (nextBreakPoint): removed debug output not needed anymore.
11074
11075 2002-01-06  Juergen Vigna  <jug@sad.it>
11076
11077         * text.C (nextBreakPoint): fixed up this function we had this bug
11078         since ever but now hopefully we break row better.
11079         (insertChar): we have to check if an inset is the next char as it
11080         could now happen that a large inset is causing a break.
11081
11082 2002-01-05  Juergen Vigna  <jug@sad.it>
11083
11084         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11085         if it doesn't like to be drawed.
11086
11087 2002-01-04  Juergen Vigna  <jug@sad.it>
11088
11089         * BufferView2.C (lockInset): forgot to set a cursor.
11090
11091         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11092
11093 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11094
11095         * FormMathsPanel.C:
11096         * FormMathsPanel.h
11097         * MathsSymbols.C:
11098         * form_maths_panel.C:
11099         * form_maths_panel.h:
11100         * form_maths_panel.fd: implemented sub- and super- buttons in math
11101         panel.
11102
11103         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11104         (or ^ space) to be used as in TeX (req'd by André).
11105
11106         * lyxfunc.C: Allow ^ and _ again to be used both as
11107         super/subscript (mathed) and as themselves (in text).
11108
11109 2002-01-03  Allan Rae  <rae@lyx.org>
11110
11111         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11112         "LyX" or the filename of the current buffer if it has one.  This is a
11113         modified form of John Levon's patch.
11114
11115         * XFormsView.C (setWindowTitle): also set icon title.
11116
11117         * LyXView.h (setWindowTitle): signature changed.
11118         * XFormsView.h (setWindowTitle): ditto.
11119
11120 2002-01-02  Juergen Vigna  <jug@sad.it>
11121
11122         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11123
11124 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11125
11126         * screen.C (topCursorVisible): introduce a temp var for
11127         text->cursor.row(), handle the case where this row is null. (kindo
11128         hachish)
11129
11130         * text2.C (setCursor): add a couple of asserts.
11131
11132         * paragraph.h (inset_iterator): add -> operator
11133
11134         * paragraph.[Ch] (autoDeleteInsets): remove member function
11135
11136         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11137         cursor pos correctly and handle inset deletion by itself.
11138         (insertErrors): move iterator declaration out of for expression
11139
11140         * lyxtextclass.C: add <algorithm>
11141
11142         * Makefile.am: added the new files to sources, removed layout.C
11143
11144         * layout.C: removed file
11145
11146         * layout.h: remove LYX_DUMMY_LAYOUT
11147
11148         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11149         layout.
11150
11151         * lyxlayout.[Ch]:
11152         * lyxtextclass.[Ch]:
11153         * lyxtextclasslist.[Ch]: new files
11154
11155         * include order changes to a lot of files, also changes because of
11156         the six new files.
11157
11158 2001-12-27  Juergen Vigna  <jug@sad.it>
11159
11160         * buffer.C (asciiParagraph): more fixes.
11161
11162         * tabular.C (ascii): make ascii export support export of only the
11163         data separated by a column-delimiter.
11164         (ascii): better support for ascii export.
11165
11166         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11167
11168 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11169
11170         * tabular_funcs.C: use a "using std::getline" instead of the
11171         previous fix from Angus (necessary for cxx + lyxstring)
11172
11173 2001-12-24  Juergen Vigna  <jug@sad.it>
11174
11175         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11176
11177         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11178         problems. First check a minipage also if we have some ert-contents
11179         (not only on par->size(), second set the right depth of the paragraph
11180         on the relink to the root-paragraph-list!
11181
11182         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11183         which then did not anymore update the main paragraphs on undo/redo!
11184
11185 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11188         code. Support all font-changing funcs (even those which are not in
11189         menu currently). Support for reporting font settings in
11190         mathed (disabled until Andre provides a function on mathed's side).
11191
11192         * func_status.h (toggle): small helper function to set toggle
11193         state on a flag.
11194
11195 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11196
11197         * tabular_funcs.C: getline -> std::getline
11198
11199 2001-12-21  Juergen Vigna  <jug@sad.it>
11200
11201         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11202         accessed and could be 0 (I couldn't generate this but it seems
11203         Michael could!).
11204
11205 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11208         * tabular_funcs.h: here and include iosfwd
11209
11210 2001-12-20  Juergen Vigna  <jug@sad.it>
11211
11212         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11213         inside inset but undo_par was.
11214
11215 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * Thesaurus.C: always include <config.h> in sources.
11218
11219         * Painter.h:
11220         * lyxlookup.h:
11221         * box.h: do not include <config.h> in header files
11222
11223         * text.C (paintLastRow): remove unused variable
11224
11225         * text.C (transformChar):
11226         (insertChar):
11227         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11228
11229         * Painter.C (text):
11230         * font.C (width): rewrite to use uppercase() instead of
11231         islower/toupper.
11232
11233         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11234
11235 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11236
11237         * lyxfind.C: clean up of find failure position change
11238
11239 2001-12-20  Juergen Vigna  <jug@sad.it>
11240
11241         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11242
11243         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11244         (TeXRow): added to LaTeX a single tabular row.
11245         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11246         (Latex): simplified and finally good LT-h/f support.
11247         (various_functions): just small adaptions for LT-h/f support.
11248
11249         * tabular_funcs.[hC]: added and moved here all not classfunctions
11250         of LyXTabular.
11251
11252 2001-12-19  Juergen Vigna  <jug@sad.it>
11253
11254         * tabular.[Ch]: better support for longtabular options (not finished
11255         yet!)
11256
11257 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * text.C (paintLastRow): use the label font instead of the font of
11260         the last character to compute the size of *_BOX. This makes more
11261         sense and avoids a crash with empty paragraphs.
11262         Use Painter::rectangle to draw EMPTY_BOX.
11263
11264 2001-12-19  Juergen Vigna  <jug@sad.it>
11265
11266         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11267         the paragraphs if the replaced paragraph is not the first one!
11268         Tried to delete not used paragraphs but does not work yet so for
11269         now it's inside #ifdef's and by default off!
11270
11271 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * MenuBackend.C: include "lyx_main.h" instead of declaring
11274         lastfiles (actually was declared as LastFiles* instead of a
11275         scoped_ptr).
11276
11277 2001-12-17  Juergen Vigna  <jug@sad.it>
11278
11279         * tabular.C (AppendColumn): applied John's fix
11280
11281 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * BufferView.h:
11284         * BufferView.C:
11285         * BufferView_pimpl.h:
11286         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11287
11288         * Makefile.am:
11289         * box.h: new start of class for above
11290
11291         * lyxfunc.C: ignore space-only minibuffer dispatches.
11292           Show the command name when it doesn't exist
11293
11294         * minibuffer.C: don't add empty lines to the history
11295
11296         * minibuffer.C: add a space on dropdown completion
11297
11298 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * text.C: fix line above/below drawing in insets
11301
11302 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * lyxlength.C (LyXLength): Initialize private variables.
11305
11306 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11307
11308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11309         when inserting error insets.
11310
11311 2001-12-13  Juergen Vigna  <jug@sad.it>
11312
11313         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11314         actually sometimes the before-paragraph.
11315         (setUndo): don't clear the redostack if we're not actually undoing!
11316
11317 2001-12-06  Juergen Vigna  <jug@sad.it>
11318
11319         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11320         and fixed redoing of main paragraph, so we can use it now ;)
11321
11322         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11323
11324 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11327         Juergen's request
11328
11329 2001-12-13  André Pönitz <poenitz@gmx.net>
11330
11331         * undostack.[Ch]:
11332         * undo_func.C: minor cleanup
11333
11334 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11337         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11338         font in urw-fonts package which is marked as -urw-fontspecific and
11339         does not work (incidentally, changing the encoding in the
11340         fonts.dir of this package to -adobe-fontspecific fixes the
11341         problem).
11342
11343         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11344         is a crash when undoing first paragraph (Juergen, please take a
11345         look). THis does not mean the undo fix is wrong, just that it
11346         uncovers problems.
11347
11348         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11349         the (Paragraph*) version when needed instead of duplicating the
11350         code.
11351
11352         * text.C (workWidth): use Inset::parOwner to find out where the
11353         inset has been inserted. This is a huge performance gain for large
11354         documents with lots of insets. If Inset::parOwner is not set, fall
11355         back on the brute force method
11356
11357         * paragraph_pimpl.C (insertInset):
11358         * paragraph.C (Paragraph):
11359         (cutIntoMinibuffer): set parOwner of insets when
11360         inserting/removing them
11361
11362         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11363
11364 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11365
11366         * commandtags.h:
11367         * LyXAction.C:
11368         * lyx_main.C:
11369         * lyxfunc.C:
11370         * mathed/formulabase.C:
11371         * mathed/math_cursor.[Ch]:
11372         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11373
11374
11375 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * lyxlength.[Ch] (operator!=): new function
11378
11379 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * text.C (workWidth): use Inset::parOwner to find out where the
11382         inset has been inserted. This is a huge performance gain for large
11383         documents with lots of insets. If Inset::parOwner is not set, fall
11384         back on the brute force method
11385
11386         * paragraph_pimpl.C (insertInset):
11387         * paragraph.C (Paragraph):
11388         (cutIntoMinibuffer): set parOwner of insets when
11389         inserting/removing them
11390
11391         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11392
11393 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394
11395         * tabular-old.C (getTokenValue):
11396         * tabular.C (getTokenValue):
11397         (write_attribute): new versions for LyXLength
11398         (everywhere): adjust the use of widths
11399
11400         * tabular.h: change the type of widths from string to LyXLength
11401
11402 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11403
11404         * paragraph.C: fixed missing line number count when exporting
11405         Environments to LaTeX file
11406
11407         * buffer.C: added informational message for checking line numbers.
11408
11409 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11410
11411         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11412         paragraph, do the 'double space' part, but not the 'empty
11413         paragraph' one.
11414
11415         * text.C (workWidth): small optimization
11416         (getLengthMarkerHeight): use minimal size for negative lengths.
11417
11418 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11419
11420         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11421
11422         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11423
11424 2001-12-11  André Pönitz <poenitz@gmx.net>
11425
11426         * FontLoader.C:
11427         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11428
11429 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * text2.C: keep selection on a setFont()
11432
11433 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * lyx_cb.C: another bv->text misuse, from insert label
11436
11437 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * kbsequence.h:
11440         * kbsequence.C: re-instate nmodifier mask
11441
11442 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * lyx_main.h: make lyxGUI private.
11445
11446 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyxfind.C: place the cursor correctly on failed search
11449
11450 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * text.C (getLengthMarkerHeight): for small heights, the arrows
11453         are not always on top/bottom of the text
11454         (drawLengthMarker): smaller arrows; take the left margin in
11455         account; draw also vfills.
11456         (paintFirstRow):
11457         (paintLastRow): remove special code for vfill and standard spaces,
11458         since everything is handled in drawLengthMarker now.
11459
11460 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * buffer.C (insertErtContents): try to handle font and language
11463         interaction a bit better.g
11464
11465         * ColorHandler.C (updateColor): change the hash to cover the whole
11466         LColor enum, ws cleanup
11467         (getGCLinepars): ditto
11468         (getGCLinepars): only lookup in the linecache once.
11469
11470 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11471
11472         * iterators.C (operator++): Make the iterator more robust
11473
11474         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11475         (John's patch)
11476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11477
11478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * lyxtext.h:
11481         * text.C: better added space drawing
11482
11483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * LyXView.C:
11486         * BufferView2.C: fix layout combo update on inset unlock
11487
11488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * Makefile.am: don't compile unused files
11491
11492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * lyxfunc.C:
11495         * commandtags.h:
11496         * LyXAction.C: remove old LFUN_LAYOUTNO
11497
11498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * paragraph_pimpl.h:
11501         * paragraph_pimpl.C: isTextAt() doesn't need font param
11502
11503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxlex.h:
11506         * lyxlex.C: little cleanup
11507
11508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * BufferView_pimpl.C: fix insertAscii for insets
11511
11512 2001-12-05  Juergen Vigna  <jug@sad.it>
11513
11514         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11515         set the right font on the "multi" paragraph paste!
11516
11517 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * trans_decl.h:
11520         * trans_mgr.[Ch]:
11521         * trans.[Ch]:
11522         * lyxgluelength.C:
11523         * lyxlength.C: remove out-commented code.
11524
11525         * BufferView_pimpl:
11526         * CutAndPaste.C:
11527         * DepTable.C:
11528         * buffer.C:
11529         * chset.C:
11530         * lastfiles.C:
11531         * lyxlex.C:
11532         * lyxlex_pimpl.C:
11533         * lyxserver.C:
11534         * screen.C:
11535         * tabular-old.C:
11536         * tabular.C:
11537         * text.C:
11538         * trans_mgr.C:
11539         * vc-backend.C: change "while(" to "while ("
11540
11541         * lyxlength.[Ch]: add zero function to check if length is zero or
11542         not
11543         * lyxgluelength.C: use it
11544
11545 2001-12-05  Allan Rae  <rae@lyx.org>
11546
11547         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11548         Works for 2.95.3, from what I understand of Garst's reports this should
11549         work for other g++ versions.  We're screwed if the abs(int) definition
11550         changed between bugfix releases of gcc.
11551
11552 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * text.C: fix chapter label offset !
11555
11556 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * lyxtext.h:
11559         * text.C: fix hfill at end of line, clean up
11560
11561 2001-12-04  Juergen Vigna  <jug@sad.it>
11562
11563         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11564         that we force an update of the inset and it's owners if neccessary.
11565
11566 2001-12-03  Juergen Vigna  <jug@sad.it>
11567
11568         * text.C (rowLast): simplified code
11569
11570 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyxfunc.C: fix show options on timeout
11573
11574 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * screen.C (topCursorVisible): scroll half a page when the cursor
11577         reached top of bottom of screen
11578
11579 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * minibuffer.C: deactivate on loss of focus
11582
11583 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11584
11585         * vspace.[Ch] (operator!=): add operator.
11586
11587 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * BufferView_pimpl.C: refuse to open an inset when
11590         there's a selection.
11591
11592 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * BufferView_pimpl.C: allow to click on RHS of full row insets
11595
11596 2001-11-30  Juergen Vigna  <jug@sad.it>
11597
11598         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11599         insets for undo reasons.
11600
11601 2001-11-28  André Pönitz <poenitz@gmx.net>
11602
11603         * vspace.[Ch]: cosmetical changes
11604
11605 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * LyXAction.h:
11608         * LyXAction.C:
11609         * lyxfunc.h:
11610         * lyxfunc.C:
11611         * kbmap.h:
11612         * kbmap.C:
11613         * lyxrc.C:
11614         * kbsequence.h:
11615         * kbsequence.C: part re-write of old kb code
11616
11617         * Painter.C:
11618         * WorkArea.C: remove Lgb_bug_find_hack
11619
11620 2001-11-30  José Matos <jamatos@fep.up.pt>
11621
11622         * buffer.C (makeDocBookFile): add a comment to point a hack.
11623         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11624         Fixed a double write of labels.
11625
11626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11627
11628         * LaTeX.C:
11629         * LaTeX.h Fixed bug in LaTeX class where it would not
11630         re-run latex if no depfiles were changed, but the .dvi was removed.
11631
11632 2001-11-28  André Pönitz <poenitz@gmx.net>
11633
11634         * all the files from the change on 2001/11/26:
11635         use lyx::layout_type instead of LyXTextClass::size_type
11636         use lyx::textclass_type instead of LyXTextClassList::size_type
11637
11638 2001-11-29  Juergen Vigna  <jug@sad.it>
11639
11640         * text.C: added support for paragraph::isFreeSpacing()
11641
11642         * buffer.C: same as above
11643
11644         * paragraph.h: inserted isFreeSpacing() function to enable
11645         FreeSpacing inside InsetERT.
11646
11647         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11648         of the paragraph's in the cut/copy buffer to 0!
11649
11650         * text2.C (removeRow): remove the assert as it can!
11651
11652         * lyxtext.h: added helper function firstRow returning firstrow and
11653         made firstrow private again.
11654
11655         * BufferView2.C (lockInset): don't relock if we're already locked!
11656
11657         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11658         the only paragraph.
11659         (removeRow): added Assert::(firstrow)
11660
11661         * debug.C: forgot to add INSETTEXT here.
11662
11663 2001-11-28  Juergen Vigna  <jug@sad.it>
11664
11665         * sp_spell.C (initialize): changed error text to more general
11666         spellchecker command use (not only ispell!)
11667
11668         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11669
11670         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11671
11672 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * vspace.C: initialise lyxgluelength on failure
11675
11676 2001-11-28  Allan Rae  <rae@lyx.org>
11677
11678         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11679         declaration & definition that looks like a function declaration.
11680
11681 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11682
11683         * BufferView2.C (copy):
11684         (copyEnvironment): do not clear the selection when doing a copy.
11685
11686         * text.C (paintFirstRow): compilation fix
11687
11688 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11689
11690         * tabular.C (Latex): correct line count when writing latex.
11691
11692 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * paragraph_pimpl.h:
11695         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11696           bug a bit
11697
11698 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * text.C:
11701         * LColor.h:
11702         * LColor.C: change vfillline->added_space
11703
11704         * text.C: add markers and text for added space
11705
11706         * vspace.C: fix comment
11707
11708 2001-11-28  André Pönitz <poenitz@gmx.net>
11709
11710         * paragraph.C: whitespace changes
11711         * all the other files from the change on 2001/11/26:
11712         change *::pos_type into lyx::pos_type
11713
11714 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11715
11716         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11717         language of the document when inserting error insets.
11718
11719 2001-11-26  André Pönitz <poenitz@gmx.net>
11720
11721         * BufferView_pimpl.[Ch]:
11722         *       CutAndPaste.C:
11723         * buffer.[Ch]:
11724         * lyxcursor.[Ch]:
11725         * lyxfind.C:
11726         * lyxfunc.C:
11727         * lyxrow.[Ch]:
11728         * paragraph.[Ch]:
11729         * paragraph_pimpl.[Ch]:
11730         * sp_spell.C:
11731         * text.C:
11732         * text2.C: reduce header dependencies, introduce type for positions
11733
11734 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * <various>: change to use Alert.h
11737
11738 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11739
11740         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11741         when encountering an unknown token.
11742         (readLyXformat2): Show an error message if there were unknown tokens.
11743
11744 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * BufferView2.C:
11747         * BufferView_pimpl.C:
11748         * buffer.C:
11749         * paragraph.h:
11750         * text.C:
11751         * text2.C: use par->isInset()
11752
11753 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * paragraph_pimpl.h:
11756         * paragraph_pimpl.C: cleanup
11757
11758 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * text2.C (removeRow):
11761         * text.C (setHeightOfRow): remove useless (and costly) call to
11762         getRow.
11763
11764 2001-11-20  Allan Rae  <rae@lyx.org>
11765
11766         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11767         Now need Inset*::checkInsertChar() to return true for appropriate
11768         cases so that the characters in the minibuffer will actually be
11769         inserted.
11770
11771 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * text.C: change the order of the includes.
11774         (workWidth): initialize it at once.
11775         (workWidth): make maxw unsigned
11776         (setHeightOfRow): remove unused variable (inset)
11777         (selectSelectedWord): remove unused variable (inset)
11778         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11779
11780 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11781
11782         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11783         server is not running.
11784         (openConnection):
11785         (closeConnection): add debug info when server is disabled.
11786
11787         * ColorHandler.C (getGCForeground): send debug message to GUI
11788         channel.
11789
11790         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11791
11792         * kbmap.C (bind): modify because return conventions of
11793         kb_sequence::parse have changed.
11794
11795         * kbsequence.C (parse): only ignore spaces and not any stupid
11796         control character. This avoids tests like s[i] <= ' ', which are
11797         guaranteed to fail with 8bit characters and signed chars.
11798         Change return code to string::npos when there have been no error
11799         (0 was a bad idea when error is at first character)
11800
11801 2001-11-14  José Matos  <jamatos@fep.up.pt>
11802
11803         * buffer.h:
11804         * buffer.C (simpleDocBookOnePar): removed unused argument.
11805
11806 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11807
11808         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11809         insets which are part of a word. Paragraph::isLetter takes care of
11810         that now. Use Paragraph::isInset to identify insets.
11811         (selectSelectedWord): do not test for hyphenation break.
11812
11813         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11814         that protected spaces are considered as spaces.
11815
11816         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11817         Inset::isLetter.
11818
11819 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * lyxserver.h:
11822         * lyxserver.C: fix it. and small cleanup.
11823
11824 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * BufferView_pimpl.C: use inline helpers
11827
11828         * LaTeXFeatures.h:
11829         * LaTeXFeatures.C: fix typos
11830
11831         * Spacing.h:
11832         * Spacing.C: move spacing_string into class
11833
11834         * ToolbarDefaults.C: move stuff into namespace anon
11835
11836         * layout.h: update enum
11837
11838         * lyxfunc.C: use better debug
11839
11840         * minibuffer.h: fix typo
11841
11842         * debug.h:
11843         * debug.C:
11844         * WorkArea.C: add and use Debug::WORKAREA
11845
11846         * lyxtext.h:
11847         * text.C:
11848         * text2.C: code re-organisation, inline helpers
11849
11850 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11851
11852         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11853         std::vector.empty().
11854
11855 2001-11-09  Allan Rae  <rae@lyx.org>
11856
11857         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11858         '\n's after tables.  Tabular and ERT inset work now makes this no
11859         longer necessary.
11860
11861 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * minibuffer.h:
11864         * minibuffer.C: fix crash, improve drop-down completion
11865
11866 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * lyxserver.h:
11869         * lyxserver.C: invalidate fd's when doing endPipe()
11870
11871 2001-11-08  José Matos  <jamatos@fep.up.pt>
11872
11873         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11874         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11875
11876         * paragraph.h:
11877         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11878
11879 2001-11-07  José Matos  <jamatos@fep.up.pt>
11880
11881         * buffer.h:
11882         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11883         const qualifier.
11884
11885         * buffer.C (sgmlOpenTag):
11886         * buffer.C (sgmlCloseTag): removed debug info.
11887
11888         * buffer.h (sgmlOpenTag):
11889         * buffer.h (sgmlCloseTag): made public.
11890
11891 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * buffer.C (saveParamsAsDefaults):
11894         * lyx_cb.C (MenuLayoutSave): remove
11895
11896         * LyXAction.C (init):
11897         * commandtags.h:
11898         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11899
11900 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * buffer.C (setPaperStuff): removed from here...
11903
11904         * bufferparams.C (setPaperStuff): ... and moved there.
11905
11906 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * minibuffer.h:
11909         * minibuffer.C:
11910         * XFormsView.C: add support for drop-down completion
11911
11912 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11913
11914         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11915         commands.
11916
11917 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11918
11919         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11920         disabled.
11921
11922 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * lyx_main.C: change ref to known bugs
11925
11926 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11927
11928         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11929         to work around older babel problems.
11930
11931 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11932
11933         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11934
11935 2001-10-24  Juergen Vigna  <jug@sad.it>
11936
11937         * tabular-old.C (ReadOld): below variable changes reflected.
11938
11939         * tabular.[Ch]: added ltType struct for longtable header/footer
11940         defines and changed all instances where they are used. Added
11941         future support for double top/bottom rows.
11942
11943 2001-10-24  José Matos  <jamatos@fep.up.pt>
11944
11945         * buffer.h (docbookHandleCaption):
11946         * buffer.C (docbookHandleCaption): removed unused function.
11947         (makeDocBookFile): moved docbook supported version to v4.1.
11948
11949 2001-10-24  José Matos  <jamatos@fep.up.pt>
11950
11951         * tabular.h:
11952         * tabular.C (docbookRow): new function to export docbook code of a row.
11953         (DocBook): now honors the longtable flags.
11954
11955 2001-10-23  José Matos  <jamatos@fep.up.pt>
11956
11957         * LaTeXFeatures.h:
11958         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11959         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11960
11961         * buffer.C (makeLinuxDocFile):
11962         (makeDocBookFile): reworked the preamble, more clean, and with
11963         support for lyx defined entities. Changed the document declaration
11964         to be more XML friendly.
11965
11966         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11967         if we need to output XML that should be done with a filter.
11968
11969 2001-10-22  Juergen Vigna  <jug@sad.it>
11970
11971         * sp_pspell.h (class PSpell): add alive function needed in the
11972         controller to see if the spellchecker could be started.
11973
11974 2001-10-22  Juergen Vigna  <jug@sad.it>
11975
11976         * buffer.C (insertStringAsLines): modify the font for inserting
11977         chars in certain conditions by calling checkInsertChar(font).
11978
11979 2001-10-19  Juergen Vigna  <jug@sad.it>
11980
11981         * text.C (workWidth): use getRow instead of wrong algorithm.
11982         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11983
11984 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * lyxserver.h:
11987         * lyxserver.C:
11988         * lyx_main.h:
11989         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11990
11991 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * text.C (workWidth): do not search for the exact row when
11994         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11995         optimization for big documents.
11996
11997 2001-10-18  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (workWidth): new function with added Inset * parameter.
12000
12001 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12004
12005         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12006         change return type of getColumnNearX.
12007
12008
12009         * text.C (changeRegionCase): use uppercase/lowercase instead of
12010         toupper/tolower.
12011         (leftMargin):
12012         (rightMargin): simplify code by factoring out the uses of
12013         textclasslist.
12014         (labelFill):
12015         (numberOfHfills):
12016         (setHeightOfRow):
12017         (appendParagraph): use Paragraph::size_type
12018
12019 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * vspace.C (asLatexString): add a missing break
12022
12023 2001-10-15  Herbert Voss  <voss@perce.de>
12024
12025         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12026
12027 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12030         is not available.
12031
12032 2001-10-10  André Pönitz <poenitz@gmx.net>
12033
12034         * lyxfunc.C: removed greek_kb_flag.
12035
12036 2001-10-10  Herbert Voss  <voss@perce.de>
12037
12038         * lyx_main.C: delete global string help_lyxdir.
12039
12040 2001-10-09  Herbert Voss  <voss@perce.de>
12041
12042         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12043
12044         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12045
12046         * lyx_main.C: added global string help_lyxdir.
12047
12048         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12049
12050 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12051
12052         * lyxrc.C (set_font_norm_type): support iso8859-4
12053
12054 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12055
12056         * LaTeX.C (deplog): add another regex for MikTeX
12057
12058 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12059
12060         * lyxrc.C (set_font_norm_type): support iso8859-3
12061
12062 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12065
12066         * LaTeXFeatures.C: remove special case of french and index
12067
12068         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12069         before \begin{document}). This solves several incompatibilities.
12070
12071 2001-10-03  Garst Reese  <reese@isn.net>
12072
12073         * lyx_cb.C: change CheckTex error msg.
12074
12075 2001-10-03  José Matos  <jamatos@fep.up.pt>
12076
12077         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12078
12079 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * .cvsignore: update
12082
12083         * lyx_main.C (commandLineVersionInfo): use new style version info.
12084
12085         * buffer.C (writeFile):
12086         (makeLaTeXFile):
12087         (makeLinuxDocFile):
12088         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12089
12090         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12091
12092         * version.h: update to use stuff in version.C
12093
12094         * version.C.in: new file. Contains version information determined
12095         at compile time. This is a merging of version.h and
12096         version_info.h.in.
12097
12098 2001-10-03  Juergen Vigna  <jug@sad.it>
12099
12100         * BufferView_pimpl.C (update): don't change "dirty" status in
12101         updateInset call.
12102
12103 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12104
12105         * WorkArea.C (c-tor): re-position version string slightly.
12106
12107 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12110         revert to previous code.
12111
12112         WorkArea.[Ch]: (show, destroySplash): methods removed.
12113
12114         WorkArea.C: rework code so that it's an amalgam of the codes before and
12115         after the splash screen was moved to WorkArea.
12116
12117 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * lyxrc.C (read):
12120         * vspace.C (inPixels):
12121         (lyx_advance):
12122         * kbmap.C (bind):
12123         * buffer.C (insertStringAsLines):
12124         (asciiParagraph): fix types to be large enough
12125
12126         * lyxlex_pimpl.h: change member status from short to int
12127
12128         * layout.h: fix type of endlabeltype
12129
12130         * kbmap.C (bind):
12131         * kbsequence.C (parse): change return type to string::size_type
12132
12133         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12134         variable
12135
12136         * Bullet.C (bulletSize):
12137         (bulletEntry): do not use short ints as parameters
12138
12139         * BufferView2.C (insertLyXFile): change a char to an int.
12140
12141         * WorkArea.C (WorkArea): remove unneeded floats in computation
12142
12143 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12146
12147         * paragraph.C (asString): Do not ignore newline/hfill chars when
12148         copying to the clipboard.
12149
12150 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12151
12152         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12153         after a multi-line inset.
12154
12155 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12156
12157         * paragraph.C (validate): Set NeedLyXFootnoteCode
12158
12159 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12160
12161         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12162         and decrease-error to decrease.
12163
12164 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12167         it more readable (should be equivalent)
12168
12169 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12170
12171         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12172
12173 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12176         of a cursor (row, etc.) after a character has been deleted
12177         (deleteEmptyParagraphMechanism): call the method above on _all_
12178         cursors held by the LyXText when a double space has been
12179         detected/deleted.
12180
12181 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12182
12183         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12184         pixmap.
12185         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12186
12187         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12188         background. Use greyOut() and the new show() methods to toggle between
12189         the foreground and background. Add code to remove the splash after
12190         its initial showing.
12191
12192         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12193         (create_forms): no longer call Dialogs::showSplash.
12194
12195 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * .cvsignore: add version_info.h
12198
12199 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * version_info.h.in: new file
12202
12203         * Makefile.am: add version_info.h.in
12204
12205         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12206         version_info.h instead of VERSION_INFO
12207
12208 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12209
12210         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12211         The ERT inset now returns string().
12212
12213 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12214
12215         * lyxtext.h, text.C (selectNextWord): renamed as
12216         selectNextWordToSpellcheck.
12217
12218         * text.C (selectNextWordToSpellcheck): Modified to not select
12219         words inside an ERT inset.
12220
12221 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12222
12223         * lyx_cb.C (MenuLayoutSave): change a bit the question
12224
12225         * sp_base.h: include <sys/types.h>
12226
12227 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12228
12229         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12230
12231 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12232
12233         * several files: fix typos in user-visible strings
12234
12235 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * text2.C (pasteSelection): do not set the selection, since it
12238         will be cleared later. Actually, the intent was to fix the way the
12239         selection was set, but I figured rmoving the code was just as good.
12240
12241 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12242
12243         * FontLoader.C (available): Check if font is available without
12244         loading the font.
12245
12246 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12247
12248         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12249
12250 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12251
12252         * lyxrc.[Ch]: added display_graphics variable and associated code.
12253
12254 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12255
12256         * bufferparams.C (hasClassDefaults): new method. Returns true if
12257         the buffer parameters correspond to known class defaults
12258
12259 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12260
12261         * XFormsView.C (show): set minimum size to the main window.
12262
12263 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * text2.C (copySelection):
12266         (cutSelection):
12267         * lyxfind.C (LyXReplace):
12268         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12269         LyXText::selectionAsString.
12270
12271         * paragraph.C (asString): add "label" argument to the second form
12272
12273         * text2.C (selectionAsString): add "label" argument and pass it to
12274         Paragraph::asString.
12275
12276 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12277
12278         * lyx_main.C (commandLineHelp): remove version information
12279
12280 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12281
12282         * lyx_main.C: add -version commandline option
12283
12284 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12285
12286         * paragraph.h: make the optional constructor arg required instead.
12287         some modifications to other files because of this.
12288
12289         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12290
12291         * lyxserver.C (C_LyXComm_callback): make it static
12292
12293         * lyx_main.C (error_handler): make it static
12294
12295         * lyx_gui.C (LyX_XErrHandler): make it static
12296
12297         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12298
12299         * WorkArea.C: make the extern "C" methods static.
12300
12301         * Makefile.am (lyx_LDADD): simplify
12302
12303 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12306         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12307
12308         * LyXAction.C (init):
12309         * lyxfunc.C (dispatch): associated code removal.
12310
12311 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * lyxfont.h (isSymbolFont): shut off warning
12314
12315         * text.C (setHeightOfRow):
12316         (getVisibleRow): fix crash with empty paragraphs which have a
12317         bottom line
12318
12319 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12320
12321         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12322         code.
12323
12324 2001-09-04  José Matos  <jamatos@fep.up.pt>
12325         * buffer.C
12326         * buffer.h
12327         * tabular.C (docbook): rename docBook method to docbook.
12328
12329 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12330
12331         * Makefile.am: add dependencies to main.o.
12332
12333 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12334
12335         * FontLoader.C (available): Return false if !lyxrc.use_gui
12336
12337 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12338
12339         * FontInfo.C (query):
12340         * converter.C (view):
12341         * importer.C (Import):
12342         * exporter.C (Export): Can not -> cannot.
12343
12344 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView_pimpl.C: allow to create index inset even if
12347           string is empty
12348
12349 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * buffer.C (getLists): replace boost::tie code with an explicit pair
12352         as boost::tie can break some compilers.
12353
12354         * iterators.h: Added a std:: declaration to the return type of
12355         ParIterator::size.
12356
12357 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12358
12359         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12360           case.
12361
12362 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12363
12364         * iterators.[Ch]: New files. Provide paragraph iterators.
12365
12366         * buffer.C (changeLanguage): Use paragraph iterators.
12367         (isMultiLingual): ditto
12368
12369         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12370
12371 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12372
12373         * FontLoader.C: Support for cmr font.
12374
12375 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12376
12377         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12378         (available): New method.
12379
12380         * FontInfo.C (getFontname): Use scalable fonts even when
12381         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12382         found.
12383
12384 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * converter.C (Formats::view): reverted! Incorrect fix.
12387
12388 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * converter.C (Formats::view): only output the -paper option
12391         if the dvi viewer is xdvi, thereby fixing bug #233429.
12392
12393 2001-08-23  Herbert Voss  <voss@perce>
12394
12395         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12396
12397 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12398
12399         * Spacing.h (Spacing): Set space to Default on in the default
12400         constructor.
12401
12402 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * vc-backend.h (RCS::versionString): add RCS to version
12405         (CVS::versionString): add CVS to version
12406
12407         * vc-backend.C (scanMaster): do not add CVS to version.
12408         (scanMaster): do not add RCS to version
12409
12410         * lyxvc.C (versionString): new method
12411
12412         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12413
12414 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * Spacing.C (set): initialize fval
12417
12418 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12421         " or \.
12422
12423 2001-08-16  Juergen Vigna  <jug@sad.it>
12424
12425         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12426
12427 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * BufferView_pimpl.C:
12430         * figureForm.C:
12431         * lyxtext.h:
12432         * text2.C: setParagraph takes linespacing now
12433
12434 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * LyxAction.C: add internal LFUN_CITATION_INSERT
12437
12438         * LyXView.C: actually apply fix
12439
12440         * bufferlist.C: fix open non-existent file
12441
12442         * lyxfind.C: fix indentation
12443
12444         * lyxfunc.C: remove unneeded assert, fix typo
12445
12446 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * MenuBackend.C: use "Floatname List"
12449
12450 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12451
12452         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12453         when converting LaTeX layout to insetERT.
12454         Generate a non-collapsed float when reading old float
12455
12456 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12457
12458         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12459         ERT insets.
12460
12461 2001-08-13  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (fill): return 0 instead of 20 as this seems to be the more
12464         correct value.
12465
12466 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12467
12468         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12469         lyxrc.font_norm.
12470
12471 2001-08-13  Juergen Vigna  <jug@sad.it>
12472
12473         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12474         casesensitive off.
12475         (SearchBackward): comment out the unlocking of the inset_owner this
12476         should not be needed!
12477
12478 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * Many files: Remove inherit_language, and add latex_language
12481
12482         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12483         collapsible insets.
12484
12485 2001-08-10  Juergen Vigna  <jug@sad.it>
12486
12487         * text.C (prepareToPrint): fixed hfill-width in draw!
12488
12489         * BufferView2.C (selectLastWord): save the selection cursor as this
12490         now is cleared in the function LyXText::clearSelection!
12491
12492 2001-08-08  Juergen Vigna  <jug@sad.it>
12493
12494         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12495         BACKSPACE type functions.
12496
12497         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12498         is only cutted from the document but not put in the cut-buffer, where
12499         still the old stuff should be.
12500
12501         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12502
12503         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12504
12505         * tabular.C (SetWidthOfCell): fixed special case where the width
12506         was not updated!
12507         (LeftLine): handle '|' in align_special.
12508         (RightLine): ditto
12509         (LeftAlreadyDrawed): ditto
12510         (SetWidthOfCell): ditto
12511
12512 2001-08-07  Juergen Vigna  <jug@sad.it>
12513
12514         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12515
12516 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12519         * lyxlex.[hC]: ditto
12520
12521 2001-08-06  Juergen Vigna  <jug@sad.it>
12522
12523         * text.C (getVisibleRow): fix up row clearing a bit.
12524
12525 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * minibuffer.C: make sure the X server sees the changes in the input.
12528
12529 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * paragraph.C (getFont): split into...
12532         (getLabelFont): this
12533         (getLayoutFont): and this
12534         * paragraph_pimpl.C (realizeFont): calling this
12535
12536         * text2.C (getFont): split into...
12537         (getLayoutFont): this
12538         (getLabelFont): and this
12539         (realizeFont): all three calling this
12540
12541         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12542         files where used.
12543
12544 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12545
12546         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12547
12548 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12549
12550         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12551         layouts from the Quote inset insertion.
12552
12553 2001-08-03  Juergen Vigna  <jug@sad.it>
12554
12555         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12556
12557         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12558         only if status not is already CHANGED_IN_DRAW (second level).
12559
12560         * text.C (draw): don't set the need_break_row when inside an
12561         InsetText LyXText.
12562
12563 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12564
12565         * buffer.C (parseSingleLyXformat2Token): handle more latex
12566         conversion cases.
12567
12568         * bufferview_funcs.[hC]: change function names to
12569         begin with small char, adjust other files.
12570
12571 2001-08-02  André Pönitz <poenitz@gmx.net>
12572
12573         * lyxfunc.C:
12574         BufferView_pimpl.C: remove broken special code for math-greek
12575
12576 2001-08-02  Juergen Vigna  <jug@sad.it>
12577
12578         * BufferView_pimpl.C (update): redone this function so that we
12579         update the text again if there was a CHANGE_IN_DRAW.
12580
12581         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12582         (drawFromTo): added a new internal bool which is used by draw() and
12583         redraw() function.
12584         (general): some cursor drawing problems fixed.
12585
12586 2001-08-01  Juergen Vigna  <jug@sad.it>
12587
12588         * lyxfind.C (LyXFind): fixed
12589         (SearchForward): ditto
12590         (SearchBackward): ditto
12591
12592         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12593         spurius drawing of the cursor in the main area.
12594
12595         * text2.C (status): small fix which could lead to a segfault!
12596         (clearSelection): remove unneeded BufferView param.
12597
12598 2001-08-01  André Pönitz <poenitz@gmx.net>
12599
12600         * lyxfunc.C: small change due to changed mathed interface
12601
12602 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12605
12606 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * lyxfunc.c: fail gracefully if file doesn't exist
12609
12610         * LyXSendto.C:
12611         * buffer.C:
12612         * lyxfunc.C:
12613         * BufferView_pimpl.C: IsDirWriteable() proto changed
12614
12615         * LyXView.C: fix updateWindowTitle() to store the last title
12616
12617 2001-07-31  Juergen Vigna  <jug@sad.it>
12618
12619         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12620         the font (wrong since using of Paragraph::highestFontInRange).
12621
12622         * paragraph.C (highestFontInRange): added a default_size parameter.
12623
12624         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12625         (setHeightOfRow): reformat
12626
12627 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * converter.[hC] + affected files: move to (inital-char)lowercase
12630         function names.
12631
12632         * ParagraphParameters.C (ParagraphParameters): remove commented code
12633
12634         * PainterBase.[Ch]: remove commented code
12635
12636         * LaTeXFeatures.h: add "bool floats" for float.sty
12637
12638         * LaTeXFeatures.C (LaTeXFeatures): init floats
12639         (require): handle float
12640         (getPackages): do it with floats
12641
12642 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * BufferView_pimpl.C (Dispatch): improve handling of
12645         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12646
12647         * commandtags.h: #include lyxfont.h here temporarily to avoid
12648         keybinding bug.
12649
12650         * bufferlist.h: include LString.h here.
12651
12652 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * text2.C (getStringToIndex): new method.
12655
12656 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12657
12658         * *: Reduced header file dependencies all over.
12659
12660 2001-07-30  Baruch Even  <baruch@lyx.org>
12661
12662         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12663
12664 2001-07-29  Baruch Even  <baruch@lyx.org>
12665
12666         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12667
12668 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * ParameterStruct.h (endif): add a default constructor to make
12671         sure that all variables is initialized.
12672
12673         * ParagraphParameters.C (ParagraphParameters): adjust
12674
12675 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12678         index; also, check that there is something to index, and that it
12679         does not span over several paragraphs.
12680         (doubleClick): use WHOLE_WORD_STRICT for double click.
12681
12682         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12683
12684         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12685         scheme.
12686
12687 2001-07-26  Baruch Even  <baruch@lyx.org>
12688
12689         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12690         an InsetFig figure, backwards compatible reading of old figure code.
12691
12692 2001-07-27  Juergen Vigna  <jug@sad.it>
12693
12694         * text2.C: font.realize function adaption.
12695
12696         * text.C (draw): add a warnings lyxerr text if needed.
12697
12698         * layout.C: font.realize function adaption.
12699
12700         * language.C: add inherit_language and implement it's handlings
12701
12702         * bufferview_funcs.C (StyleReset): remove language parameter from
12703         font creation (should be language_inherit now).
12704
12705         * bufferparams.C (writeFile): handle ignore_language.
12706
12707         * paragraph.C (getFontSettings): the language has to be resolved
12708         otherwise we have problems in LyXFont!
12709
12710         * lyxfont.C (lyxWriteChanges): added document_language parameter
12711         (update): removed unneeded language parameter
12712
12713         * paragraph.C (validate): fixed wrong output of color-package when
12714         using interface colors for certain fonts in certain environments,
12715         which should not seen as that on the final output.
12716
12717 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * BufferView_pimpl.C:
12720         * Thesaurus.h:
12721         * Thesaurus.C:
12722         * Makefile.am:
12723         * commandtags.h:
12724         * LyXAction.C: add thesaurus support
12725
12726         * lyxfind.h:
12727         * lyxfind.C: add "once" parameter, for thesaurus, to not
12728           move to the next match
12729
12730 2001-07-26  Juergen Vigna  <jug@sad.it>
12731
12732         * lyxfont.C (realize): honor ignore_language too!
12733         (resolved): ditto.
12734
12735         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12736
12737         * text.C (draw): one place more for ignore_language to not draw
12738         itself!
12739
12740 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12741
12742         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12743
12744 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12747         the minipage conversion problem.
12748
12749 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12752         insert an inset.
12753
12754 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * BufferView.h: don't forward declare WorkArea
12757
12758         * BufferView.C: don't include WorkArea.h
12759
12760 2001-07-25  André Pönitz <poenitz@gmx.net>
12761
12762         * commandtags.h:
12763         * LyXAction.C:
12764         * lyxfunc.C:  new LFUN 'math-space'
12765
12766         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12767
12768 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12769
12770         * text2.C (toggleInset): call open/close
12771
12772 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * lyxfunc.C (dispatch): add debug for the disabled case
12775
12776         * font.C (buttonText): make similar to rectText
12777
12778         * buffer.C (readInset): comment out parsing of insetlist and
12779         insttheorem
12780
12781         * PainterBase.C (rectText): small correction
12782
12783         * BufferView_pimpl.C: comment out insettheorem and insetlist
12784         * LyXAction.C: ditto
12785         * commandtags.h: ditto
12786
12787 2001-07-24  Juergen Vigna  <jug@sad.it>
12788
12789         * text.C (draw): honor the ignore_language.
12790
12791         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12792
12793 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12796         char inset.
12797
12798 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12799
12800         * lyxtext.h: remove unused (and unimplemented) methods
12801
12802 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12803
12804         * text.C (getVisibleRow): honor background color
12805
12806         * PainterBase.h:
12807         * Painter.h: remove default color argument for fillRectangle
12808
12809         * text.C (backgroundColor): new method
12810
12811 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * text.C (getVisibleRow): adjust
12814
12815         * font.[Ch] (rectText): new method, metrics
12816         (buttonText): new method, metrics
12817
12818         * PainterBase.[hC]: make rectText and buttonText always draw and take
12819         fewer paramteres.
12820
12821 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12822
12823         * ToolbarDefaults.C (read):
12824         * MenuBackend.C (read): allow escaping in all strings
12825
12826         * BufferView_pimpl.C (insertAndEditInset): new method.
12827         (Dispatch): use insertAndEditInset whenever appropriate.
12828
12829         * BufferView_pimpl.C (insertNote): removed
12830
12831         * BufferView_pimpl.C (smartQuote): new method, moved from
12832         BufferView; if an insetquote cannot be inserted, insert a '"'
12833         character instead.
12834
12835         * BufferView2.C: remove insertCorrectQuote();
12836
12837         * lyxfunc.C (getStatus): Add support for all remaingin
12838         inset-insert lfuns.
12839
12840         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12841
12842         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12843         command (necessary to pass " as parameter of self-insert.
12844
12845         * text.C (selectWordWhenUnderCursor):
12846         (selectWord): add word_location parameter
12847         (selectWordWhenUnderCursor): same + remove special code for word
12848         boundary.
12849         (selectNextWord): use kind() to guess type of insetspecialchar,
12850         not latex().
12851
12852         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12853         (insertErtContents): create ert insets as collapsed.
12854         (readInset): better compatibility code for Info inset.
12855
12856 2001-07-20  Juergen Vigna  <jug@sad.it>
12857
12858         * lyxfunc.C (dispatch): use always LyXFind now!
12859
12860         * text2.C (init): add a reinit flag so that the LyXText can be
12861         reinited instead of deleted and reallocated (used in InsetText).
12862
12863         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12864
12865         * text.C: ditto
12866
12867         * text2.C: ditto
12868
12869 2001-07-18  Juergen Vigna  <jug@sad.it>
12870
12871         * text.C (selectNextWord): handle insets inside inset by calling
12872         always the bv->text functions so that we can go up the_locking_inset!
12873
12874         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12875         in strange locations when inside an inset!
12876
12877         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12878         handling to include insets.
12879
12880         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12881
12882 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * LyXAction.C (init):
12885         * commandtags.h:
12886         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12887         LIGATURE_BREAK, since the name is so stupid.
12888
12889 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12890
12891         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12892         InsetInfos.
12893
12894         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12895
12896         * sp_form.[Ch]: remove.
12897
12898         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12899
12900         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12901         InsetInfo.
12902
12903         * src/buffer.C (readInset): ditto.
12904
12905 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12906
12907         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12908         menuSeparator(), endOfSentenceDot(), ldots() and
12909         hyphenationPoint(), which are therefore removed.
12910         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12911
12912         * LyXAction.C (init):
12913         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12914
12915         * paragraph.C (getWord): removed.
12916
12917         * BufferView_pimpl.C (Dispatch): use last word or selection for
12918         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12919
12920         * lyx_main.C (queryUserLyXDir): do not ask before creating
12921         user_dir, except if it has been named explicitely.
12922
12923 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12924
12925         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12926         a document of zero size.
12927
12928 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12929
12930         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12931         approriately in the c-tor and in require().
12932         (getPackages): output the appropriate LaTeX for natbib support.
12933
12934         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12935         variables "use_natbib" and "use_numerical_citations" when reading the
12936         LyX file.
12937         (readInset): read the various natbib cite commands.
12938         (validate): white-space change.
12939
12940         * bufferparams.[Ch]: new variables "bool use_natbib" and
12941         "bool use_numerical_citations".
12942         (writeFile): output them in the LyX file.
12943
12944 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12945
12946         * lyxfunc.C (getStatus): add support for all the inset insertion
12947         commands.
12948
12949         * text2.C (insertInset):
12950         * paragraph.C (insetAllowed):
12951         * BufferView_pimpl.C (insertInset): update to take in account the
12952         renaming of insertInsetAllowed
12953
12954         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12955
12956         * text2.C (getInset): new method. returns inset at cursor position.
12957
12958         * BufferView_pimpl.C (Dispatch): changes because of this.
12959
12960         * LyXAction.C (init): rename open-stuff to inset-toggle.
12961
12962         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12963
12964         * text2.C (toggleInset): renamed from openStuff; use
12965         Inset::open().
12966
12967 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12968
12969         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12970
12971         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12972
12973 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * buffer.C (readLyXformat2): Add filename to the error dialog
12976
12977 2001-07-18  Juergen Vigna  <jug@sad.it>
12978
12979         * tabular.C (GetCellNumber): put an assert here instead of the check!
12980
12981 2001-07-17  Juergen Vigna  <jug@sad.it>
12982
12983         * BufferView_pimpl.C (toggleSelection): adapted too.
12984
12985         * text.C (selectNextWord): adapted for use with insets.
12986         (selectSelectedWord): ditto
12987
12988 2001-07-17  Juergen Vigna  <jug@sad.it>
12989
12990         * sp_spell.C (PSpell): fix initialitation order.
12991
12992 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * paragraph.C: spacing
12995
12996 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12997
12998         * sp_spell.C: repair language selection for pspell
12999
13000 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * lyxfunc.h: change more methods to begin with lower char.
13003
13004 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13007         for unknown layouts.
13008
13009 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (readLyXformat2): Generate an error dialog if there are
13012         unknown layouts.
13013
13014 2001-07-16  Juergen Vigna  <jug@sad.it>
13015
13016         * sp_spell.C: always compile ISpell part.
13017
13018         * lyxrc.C: added use_pspell entry and it's handling.
13019
13020 2001-07-13  Juergen Vigna  <jug@sad.it>
13021
13022         * sp_spell.C: removed double includes.
13023
13024 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13025
13026         Consistent use of Lsstream.h:
13027         * Lsstream.h: added using std::stringstream for consistencies sake.
13028
13029         * buffer.C: removed using std::stringstream
13030
13031         * lyxfont.C (stateText):
13032         * paragraph.C (asString):
13033         * text.C (selectNextWord, selectSelectedWord):
13034         * text2.C (setCounter):
13035         * vspace.C (asString, asLatexString):
13036         std::ostringstream -> ostringstream.
13037
13038 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13039
13040         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13041         * commandtags.h: add LFUN_HELP_ABOUTLYX
13042         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13043
13044 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13045
13046         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13047         cursorToggle()
13048         * lyx_gui_misc.C: remove spellchecker
13049         * lyxfunc.C: showSpellchecker
13050         * sp_base.h: added
13051         * sp_ispell.h: added
13052         * sp_pspell.h: added
13053         * sp_spell.C: added
13054         * sp_form.[Ch]: removed
13055         * spellchecker.[Ch]: removed
13056
13057 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13058
13059         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13060         is set.
13061         (simpleTeXSpecialChars): Simply print the input character without
13062         any special translation if pass_thru is set.
13063
13064         * layout.h: Added bool pass_thru to layout class for being able to
13065         implement pass through of a paragraph for Literate Programming.
13066
13067         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13068         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13069         * layout.C (Read): add "passthru" to list of layout tags and add
13070         code to set the pass_thru boolean when it is read.
13071
13072 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13073
13074         * trans_decl.h: remove allowed from KmodInfo
13075
13076         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13077         remove allowed code
13078         (Load): adjust
13079
13080         * paragraph_pimpl.C (erase): use boost::prior
13081
13082         * Painter.C (text): use data() instead of c_str() when length is
13083         also provided.
13084         * WorkArea.C (putClipboard): ditto
13085         * font.h (width): ditto
13086
13087         * BufferView2.C: use it-> instead of (*it). for iterators
13088         * texrow.C: ditto
13089         * paragraph_pimpl.C: ditto
13090         * paragraph.C: ditto
13091         * minibuffer.C: ditto
13092         * language.C: ditto
13093         * kbmap.C: ditto
13094         * encoding.C: ditto
13095         * counters.C: ditto
13096         * converter.C: ditto
13097         * chset.C: ditto
13098         * Variables.C: ditto
13099         * TextCache.C: ditto
13100         * MenuBackend.C: ditto
13101         * LyXAction.C: ditto
13102         * LColor.C: ditto
13103         * FloatList.C: ditto
13104         * DepTable.C: ditto
13105         * ColorHandler.C (LyXColorHandler): ditto
13106
13107 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13108
13109         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13110
13111         * text2.C (openStuff): reintroduce this method (which had been
13112         nuked in NEW_INSETS frenzy).
13113
13114         * lyxfunc.C (Dispatch): when an action has not been handled, use
13115         its name in the error message, not its number.
13116
13117         * paragraph.C (inInset): change method name to begin with lowercase.
13118
13119         * undo_funcs.C:
13120         * text2.C: updates because of this.
13121
13122 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13123
13124         * ToolbarDefaults.C (add): add spaces in error message
13125
13126 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13129         (readLyXformat2): rename return_par to first_par, use lyxlex's
13130         pushToken and remove the manual push handling.
13131         (parseSingleLyXformat2Token): add another ert comp. variable:
13132         in_tabular, rename return_par to first_par. handle newlines better
13133
13134 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13137
13138 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13139
13140         * text2.C (getParFromID): removed
13141
13142         * buffer.C (getParFromID): new method moved form lyxtext.
13143         * BufferView2.C (insertErrors): adjust
13144         (setCursorFromRow): adjust
13145         * BufferView_pimpl.C (restorePosition): adjust
13146         * lyxfunc.C (Dispatch): adjust
13147         * undo_funcs.C (textUndo): adjust
13148         (textRedo): adjust
13149         (textHandleUndo): adjust
13150         (textHandleUndo): adjust
13151
13152 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13153
13154         * buffer.C: up' the LYX_FORMAT
13155
13156         * lyxfont.h: turn NO_LATEX on as default
13157
13158         * buffer.C (insertErtContents): new methods of tex style compability.
13159         (parseSingleLyXformat2Token): use it several places.
13160         * tabular.C (OldFormatRead): and here
13161
13162 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text2.C: remove some commented code.
13165         reindent file.
13166
13167         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13168         * trans.C: changes because of the above.
13169
13170 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13171
13172         * text2.C (setCounter): Fix counters bug with bibliography layout.
13173
13174 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13177         own member functions
13178         (simpleTeXSpecialChars): ditto
13179
13180 2001-07-06  Juergen Vigna  <jug@sad.it>
13181
13182         * a lot of files: changed the access to LyXText::status and the
13183         call of undo-functions.
13184
13185         * undo.[Ch]: added a inset_id to the undo informations.
13186
13187         * undo_funcs.[Ch]: added and moved here all undo functions.
13188
13189         * lyxtext.h: give the status enum a weight, made status_ a private
13190         variable and made accessor functions for it, removed the whole bunch
13191         of undo-functions as they are now in their own file, make some
13192         functions publically available. Added function ownerParagraph with
13193         int parameter.
13194
13195         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13196         made InInset() a const function, added getParFromID() function.
13197
13198         * buffer.[Ch]: added const version for inset_iterator functions,
13199         added getInsetFromID() function.
13200
13201         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13202         changed undo functions for new version.
13203
13204 2001-07-05  Juergen Vigna  <jug@sad.it>
13205
13206         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13207         unknow mechanism does not call the proper constructor but only this
13208         one also if I request the other!?
13209
13210 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13213
13214         * text2.C (LyXText): use initialization lists.
13215
13216         * lyxtext.h (Selection): initialize set_ and mark_
13217         (init): remove method
13218
13219 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13220
13221         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13222
13223 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * screen.[Ch]: change method names to begin with lowercase
13226
13227         * BufferView_pimpl.C (updateScrollbar): simplify further and
13228         hopefully make it a bit faster.
13229
13230 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13233         calling directly xforms functions.
13234
13235         * Painter.C (Painter):
13236         * lyx_cb.C (MenuWrite):
13237         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13238         fl_display.
13239
13240         * lyx_gui.C: remove bogus guiruntime extern declaration.
13241
13242 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13245         in NEW_INSETS
13246         (redoDrawingOfParagraph): ditto
13247         (redoParagraphs): ditto
13248         (cutSelection): don't create a object for CutAndPaste use the
13249         static method directly
13250         (pasteSelection): ditto
13251
13252         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13253         LyXview (+ rename)
13254
13255 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * modifications to some other files because of this.
13258
13259         * Makefile.am (lyx_SOURCES): add XFormsView
13260
13261         * XFormsView.[Ch]: new files
13262
13263         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13264         the main window. Move the gui dependent stuff to XFormsView
13265
13266 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * tabular.C (GetCellInset): update cur_cell also in the row/col
13269         version of this function.
13270
13271         * lyxfunc.C: no need to include figure_form.h here.
13272
13273         * FontLoader.h:
13274         * lyxfunc.h:
13275         * lyxscreen.h:
13276         * text2.C:
13277         * lyxvc.C: no need to include forms.h here.
13278
13279 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13282
13283         * lyxfunc.C (Dispatch):
13284         * Spacing.C (set):
13285         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13286         constructor argument.
13287
13288 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * paragraph.C (Paragraph): dont't clear, and just set layout.
13291         (makeSameLayout): use params's copy contructor.
13292
13293         * ParagraphParameters.[Ch] (makeSame): delete method
13294
13295 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * Variables.[Ch]: fix indentation, rename set to isSet
13298
13299 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * lyxfunc.C (Dispatch): fix typo
13302
13303 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13306         upper_bound.
13307
13308         * bufferlist.C: include assert.h for emergencyWrite().
13309
13310 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13313           give up at last (bug #425202) !
13314
13315 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyx_gui_misc.C:
13318         * sp_form.h:
13319         * sp_form.C:
13320         * spellchecker.h:
13321         * spellchecker.C: strip spellchecker options and bring up
13322           preferences tab instead
13323
13324 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13327         the istringstream constructor
13328
13329 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * paragraph.C (getLayout): fix return value
13332
13333         * paragraph.h: do not declare getLayout as inline.
13334
13335         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13336
13337 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13338
13339         * lyxcursor.h (operator<): new func
13340         (operator>): new func
13341         (operator>=): new func
13342         (operator<=): new func
13343
13344         * text.C (changeCase): use selection.start and selection.end
13345         (changeRegionCase): require from to be <= to. Require par to be a
13346         valid paragraph.
13347
13348         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13349
13350 2001-06-27  Juergen Vigna  <jug@sad.it>
13351
13352         * text.C (cursorLeftOneWord): changed to return the cursor and added
13353         overlay with BufferView * parameter which calls this one.
13354         (getWord): added
13355         (selectWord): use new getWord function.
13356         (changeCase): renamed from changeWordCase as and extended to work
13357         also on selections.
13358
13359         * lyxtext.h: added enum word_location
13360
13361         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13362         changeCase as this operates now also on selections.
13363
13364 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13365
13366         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13367
13368         * many files: send debug output to Debug::INFO instead of
13369         Debug::ANY.
13370
13371         * converter.C (View):
13372         (Convert):
13373         (Move): send debug output to Debug::FILES instead of console.
13374
13375 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13376
13377         * lyxfunc.C (getStatus): use func_status
13378
13379         * func_status.h: new header, describing the results of
13380         LyXFunc::getStatus;
13381
13382         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13383         LFUN_MATH_HALIGN.
13384
13385 2001-06-25  The LyX Project  <jug@sad.it>
13386
13387         * buffer.C (sgmlOpenTag):
13388         (sgmlCloseTag):
13389         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13390
13391 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * text2.C: remove some dead code
13394
13395         * tabular.C (GetCellInset): store the last cell checked (gotten)
13396
13397         * tabular.h: add the helper for the speedup
13398
13399         * lyxtext.h: remove some dead code
13400
13401 2001-06-26  The LyX Project  <Asger>
13402
13403         * paragraph.C: Change export to LaTeX of alignment to
13404         \begin{center} and family for better roundtrip work with reLyX.
13405
13406         * Tune the math drawing a bit.
13407
13408 2001-06-25  The LyX Project  <Asger>
13409
13410         * LColor.C (LColor): New color for math background. New color
13411         for buttons.
13412
13413 2001-06-25  The LyX Project  <jug@sad.it>
13414
13415         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13416
13417         * lyxfunc.C (Open):
13418         * bufferlist.C (newFile): do not restrict to files ending with
13419         .lyx
13420
13421         * BufferView_pimpl.C (MenuInsertLyXFile):
13422
13423 2001-06-24  The LyX Project  <jug@sad.it>
13424
13425         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13426         of compare_no_case
13427
13428 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * lyxtext.h: rename most methods to begin with a small char.
13431         Lots of changes because of this.
13432
13433         * paragraph.C (Paragraph): do not call fitToSize
13434         (erase): call Pimpl::erase
13435         (insertChar): call Pimpl::insertChar
13436         (insertInset): call Pipl::insertInset
13437         (breakParagraph): do not call fitToSize
13438         (breakParagraphConservative): do not call fitToSize
13439         (fitToSize): remove method
13440
13441         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13442
13443 2001-06-24  The LyX Project  <Asger>
13444
13445         * Fix Qt compilation^2
13446
13447 2001-06-24  The LyX Project  <jug@sad.it>
13448
13449         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13450         depthHook(getDepth()-1).
13451
13452         * paragraph.h:
13453         * ParagraphParameters.h:
13454         * ParameterStruct.h: change type of depth to unsigned int ==
13455         depth_type. Many adaptations to other files before of that.
13456
13457 2001-06-24  The LyX Project  <Asger>
13458
13459         * Fix Qt compilation.
13460
13461 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13462
13463         * paragraph.h: renamed several methods to begin with small letter.
13464         several changes to many parts of the code because of this.
13465
13466 2001-06-23  The LyX Project  <jug@sad.it>
13467
13468         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13469         rewritten to discard all double spaces when KeepEmpty is off
13470         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13471         to only handle newlines but not fiddle with spaces and friends.
13472
13473         * lyxfunc.C (MenuNew): when doing 'new from template', use
13474         template_path as default directory
13475
13476 2001-06-23  The LyX Project  <Asger>
13477
13478         * Clean-up of header file includes all over
13479         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13480
13481 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * paragraph.h: renamed from lyxparagraph.h
13484
13485 2001-06-23  Asger  <lyx@violet.home.sad.it>
13486
13487         * Buffer.h: Removed Buffer::resize
13488         * BufferList.h: Removed BufferList::resize
13489         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13490         the document lazily when we change the width, or the font settings.
13491
13492 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13495
13496 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * buffer.h: remove out of date comment
13499
13500 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * lyxscreen.h:
13503         * screen.C: fix "theoretical" GC leak
13504
13505 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * LaTeX.C (scanAuxFile):
13508         (deplog): remove trailing \r when reading stream (useful under
13509         win32)
13510
13511 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13512
13513         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13514         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13515         and BufferView::theLockingInset(Inset*), so should use them and not
13516         access bv_->text->the_locking_inset directly.
13517
13518         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13519
13520 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * Makefile.am:
13523         * tex-defs.h: remove old unused file
13524
13525 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * BufferView_pimpl.C: fix typo, remove minibuffer message
13528           when buffer has loaded
13529
13530 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * lyxfunc.C (Dispatch): use stringstream
13533         (MenuNew): use stringstream
13534         (Open): use stringstream
13535
13536         * importer.C (Import): use stringstream
13537
13538         * bufferview_funcs.C (CurrentState): use stringstream
13539
13540         * LaTeX.C (run): use stringstream
13541
13542         * BufferView_pimpl.C (savePosition): use stringstream
13543         (restorePosition): use stringstream
13544         (MenuInsertLyXFile): use stringstream
13545
13546 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * BufferView.C:
13549         * Bullet.C:
13550         * ColorHandler.C:
13551         * FontInfo.C:
13552         * FontLoader.C:
13553         * LColor.C:
13554         * LaTeXFeatures.C:
13555         * Painter.C:
13556         * gettext.C:
13557         * lyx_gui_misc.C:
13558         * lyxserver.C:
13559         * vspace.C: removed // -*- C++ -*- as first line.
13560
13561         * lyxfind.h:
13562         * version.h: added // -*- C++ -*- as first line.
13563
13564 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13565
13566         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13567
13568         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13569         of string
13570
13571 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13574         of floats.
13575
13576 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13577
13578         * gettext.C: include LString.h even when --disable-nls is on.
13579
13580 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13581
13582         * converter.h (Get): changed argument type from int to
13583         FormatList::size_type to avoid unnecessary conversion.
13584
13585         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13586         before using it.
13587
13588 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * gettext.h: include LString.h even when --disable-nls is on.
13591
13592 2001-06-07  Juergen Vigna  <jug@sad.it>
13593
13594         * text.C (BreakAgain): subst spaces with tabs.
13595
13596         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13597         (resizeInsetsLyXText): set force on resizeLyXText.
13598
13599 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13600
13601         * gettext.h (gettext_init):
13602         (locale_init): use a real definition instead of a macro
13603
13604 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * Bufferview_pimpl.C:
13607         * LColor.h:
13608         * LColor.C: further lcolor tidies
13609
13610 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * BufferView_pimpl.C (updateScrollbar): simplify.
13613
13614         * BufferView2.C: don't include insets/insetinfo.h, change
13615         prototype for insertInset and call the Pimpl version. let
13616         updateInset call Pimpl version.
13617
13618         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13619         gotoInset to BufferView::Pimpl
13620
13621 2001-06-01  Juergen Vigna  <jug@sad.it>
13622
13623         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13624         inside a LockingInset (is the update needed at all?).
13625
13626 2001-05-31  Juergen Vigna  <jug@sad.it>
13627
13628         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13629         here not the old one otherwise how should we compare it afterwards
13630         if it's the same!
13631
13632 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13633
13634         * lyxfont.C:
13635         * tabular.C:
13636         * tabular-old.C:
13637         * FontInfo.C: bring C functions into global namespace when
13638         necessary
13639
13640 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * LString.h: make sure config.h has been loaded before LString.h.
13643
13644         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13645         (one for each char read by EatLine!).
13646
13647         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13648         variables.
13649
13650 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13653         to the same as the par we break from
13654
13655 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13658
13659         * MenuBackend.C (expand): also create menu entries for wide
13660         versions of the floats.
13661
13662         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13663
13664         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13665
13666         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13667         frontends/Makefile.am
13668
13669         * text2.C: adjust
13670         * text.C: adjust
13671
13672
13673         * tabular.C (getTokenValue): add std::
13674
13675         * tabular-old.C (getTokenValue): add std::
13676         (getTokenValue): ditto
13677         (getTokenValue): ditto
13678
13679         * screen.C (ToggleSelection): adjust
13680
13681         * lyxtext.h: put selection cursors inside a Selection struct.
13682
13683         * lyxfunc.C (moveCursorUpdate): adjust
13684
13685         * lyxfont.C (latexWriteStartChanges): add std::
13686
13687         * lyxfind.C: adjust
13688
13689         * font.h: delete with(char const *, LyXFont const &)
13690
13691         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13692
13693         * FontInfo.C (getFontname): add std::
13694
13695         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13696         (workAreaButtonPress): adjust
13697         (tripleClick): adjust
13698         (update): adjust
13699         (moveCursorUpdate): adjust
13700         (Dispatch): adjust
13701
13702         * BufferView2.C (gotoInset): adjust
13703
13704 2001-05-30  Juergen Vigna  <jug@sad.it>
13705
13706         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13707         to check pspell I add this as default as I now have new pspell
13708         libraries and they seem to use this.
13709
13710 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * text2.C (CutSelection): make the cursor valid before the call to
13713         ClearSelection.
13714
13715 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13718         relied on 0 terminated strings and other horrors. Bug found due to
13719         the new assert in lyxstring!
13720
13721         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13722         KP_ keys.
13723
13724 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13727         to latinkeys.bind.
13728
13729         * lyxfunc.C (processKeySym): change method of getting to the
13730         self-insert char.
13731
13732         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13733         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13734         * BufferView_pimpl.[Ch]: here as private methods.
13735
13736 2001-05-28  Juergen Vigna  <jug@sad.it>
13737
13738         * text.C (SetHeightOfRow): added the update() call again as it is
13739         needed to initialize inset dimensions!
13740
13741 2001-05-16  Juergen Vigna  <jug@sad.it>
13742
13743         * text2.C (SetCharFont): Add new function with BufferView * and
13744         bool toggleall parameters for setting insets internal fonts.
13745         (SetFont): Freeze the undo as we may change fonts in Insets and
13746         all this change should be inside only one Undo!
13747
13748         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13749         setting font's in insets as for them we have the SetFont function!
13750
13751 2001-05-15  Juergen Vigna  <jug@sad.it>
13752
13753         * text2.C (ClearSelection): to be sure we REALLY don't have any
13754         selection anymore!
13755
13756         * tabular.C (TeXCellPreamble): fixed the left border problem for
13757         multicolumn cells.
13758
13759 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13762         dependancy file
13763
13764 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13767         LFUN_BREAKPARAGRAPH.
13768
13769         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13770         help test to "internal only", similar for LFUN_INSERT_URL
13771
13772         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13773         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13774         auto_region_delete and deadkeys.
13775
13776 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * LColor.h:
13779         * LColor.C: remove some dead entries, tidy a little
13780
13781 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13784         commented code.
13785         (Dispatch): implement LFUN_ESCAPE
13786
13787         * commandtags.h: add LFUN_ESCAPE
13788
13789         * LyXAction.C (init): add entry for LFUN_ESCAPE
13790
13791         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13792         Remove commented code.
13793         (insertNote): moved here
13794         (open_new_inset): moved here
13795
13796         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13797         BufferView_pimpl
13798
13799 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * kbmap.C (findbinding): clean it up and make it work correctly.
13802
13803         * lyx_main.C (init): do not pass argc and argv as parameters
13804
13805 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13806
13807         * buffer.C: fix path for OS/2 & Win32
13808
13809         * lyx_gui.C:
13810         * lyx_main:
13811         * lyx_main.C: Added os:: class.
13812
13813         * os2_defines.h: update
13814
13815 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13818         better by trying again with reduced state.
13819
13820 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * lyxrc.C (read): print error about invalid key sequence only when
13823         debugging (because not all latinX keysyms are known to some X
13824         servers)
13825
13826         * kbsequence.C (getiso): add a few std:: qualifiers
13827         (getiso): comment out extra return statement.
13828
13829 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13832         handling.
13833         (Dispatch): enhance the accent inset a bit. (not perfect)
13834
13835 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13838
13839 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * bufferlist.C (emergencyWrite): fix assert() call
13842
13843 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13844
13845         * text.C (InsertChar): Added trivial patch to only send the "you
13846         can not do multiple spaces this way" message once during a
13847         session.
13848
13849 2001-05-08  Baruch Even  <baruch@lyx.org>
13850
13851         * Makefile.am: Changed order of libraries to get LyX to link properly
13852         with the gnome frontend.
13853
13854 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * LaTeXFeatures.h: add a std:: qualifier
13857
13858 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * paragraph.C (String): use stringstream
13861
13862 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * paragraph.C (writeFile): remove footflag arg
13865
13866         * buffer.C (makeLaTeXFile): use stringstream
13867         (latexParagraphs): remove footnot gurba
13868
13869         * LaTeXFeatures.C (getPackages): use stringstream
13870         (getMacros): likewise
13871         (getTClassPreamble): likewise
13872         (getFloatDefinitions): new method
13873
13874         * paragraph.C (writeFile): reindent
13875         (Erase): reindent
13876
13877         * WorkArea.h: revert the xpos + etc changes.
13878
13879         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13880
13881         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13882
13883         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13884         (pasteSelection): likewise
13885         * text2.C (CreateUndo): likewise
13886
13887 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13888
13889         * minibuffer.C (peek_event): temporarily reduce the functionality
13890         of the minibuffer (to allow args on lfuns)
13891
13892         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13893         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13894
13895         * buffer.C (readInset): add compability reading of old float
13896         lists, add reading of new style float list.
13897         (readInset): avoid reevaluation of inscmd.getCmdName()
13898         (getLists): reindent
13899
13900         * MenuBackend.C (MenuItem): implement parsing of
13901         md_floatlistinsert and md_floatinsert.
13902         (expand::LastFiles): move initalizaton of iterators out of loop,
13903         avoid reevaluation.
13904         (expand::Documents): introduce typdedef vector<string> Strings,
13905         and use it.
13906         (expand::ExportFormats): introduce typedef vector<Format const *>
13907         Formats, and use it.
13908         (expand): implement FloatListInsert and FloatInsert.
13909
13910         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13911         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13912         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13913
13914         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13915         handling.
13916         (Dispatch::LFUN_FLOAT_LIST): implement
13917
13918 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13919
13920         * LaTeX.C (run): Fix problem with --export code.
13921
13922 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13923
13924         * BufferView.[Ch] (workarea): removed.
13925         (getClipboard) new method; wrapper for workarea()->getClipboard()
13926
13927         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13928         bug.
13929
13930         * WorkArea.h (width, height, xpos, ypos): These methods all
13931         returned the dimensions of the work_area sub-area of WorkArea,
13932         resulting in a position error if the WorkArea were resized. Now
13933         return the dimensions of the entire WorkArea.
13934
13935         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13936
13937 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * LaTeX.C (deplog): correct the syntax of regex reg1
13940
13941 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * undo.C: remove !NEW_INSETS cruft
13944
13945 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * text2.C: remove !NEW_INSETS cruft
13948
13949         * text.C: remove !NEW_INSETS cruft
13950
13951         * tabular.C: remove !NEW_INSETS cruft
13952
13953         * spellchecker.C: remove !NEW_INSETS cruft
13954
13955         * lyxtext.h: remove !NEW_INSETS cruft
13956
13957         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13958
13959         * lyxfunc.C: remove !NEW_INSETS cruft
13960
13961         * lyxfind.C: remove !NEW_INSETS cruft
13962
13963         * lyx_cb.C: remove !NEW_INSETS cruft
13964
13965         * figureForm.C: remove  !NEW_INSETS cruft
13966
13967         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13968
13969         * buffer.[Ch]: remove !NEW_INSETS cruft
13970
13971         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13972
13973         * CutAndPaste.C: remove !NEW_INSETS cruft
13974
13975         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13976
13977         * BufferView2.C: remove !NEW_INSETS cruft
13978
13979         * BufferView.h: remove !NEW_INSETS cruft
13980
13981 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13982
13983         * Lsstream.h: include LString.h before the sstream headers to
13984         fix problem with gcc 2.95.3 and lyxstring
13985
13986 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * lyx_main.C: add using directives when needed for C functions
13989         declared in std:: namespace.
13990
13991 2001-04-27  Juergen Vigna  <jug@sad.it>
13992
13993         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13994         (SetHeightOfRow): comment out the update call should not be needed!
13995
13996 2001-04-13  Juergen Vigna  <jug@sad.it>
13997
13998         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13999         (LyXTabular): tried to minimize operator= operations (and realized
14000         hopfully Lars wish).
14001
14002 2001-04-27  Juergen Vigna  <jug@sad.it>
14003
14004         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14005
14006 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14007
14008         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14009
14010         * buffer.C (readInset): hack to make listof algorithm work
14011
14012         * BufferView_pimpl.C: hack to make listof algorithm work
14013
14014 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * LyXAction.C: removed all !NEW_INSETS cruft
14017         (init): moved lfun_item in method
14018
14019         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14020
14021 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14022
14023         * BufferView2.C (theLockingInset): white space.
14024
14025 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * minibuffer.C: include <iostream>
14028
14029         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14030
14031         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14032
14033         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14034
14035         * text.[Ch] (TransposeChars): new method
14036
14037 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14038
14039         * call message directly through LyXView instead of through LyXFunc
14040         * BufferView2.C: adjust
14041         * BufferView_pimpl.C: adjust
14042         * FontLoader.C: adjust
14043         * buffer.C: adjust
14044         * bufferview_funcs.C: adjust
14045         * converter.C: adjust
14046         * figureForm.C: adjust
14047         * importer.C: adjust
14048         * lyx_cb.C: adjust
14049         * lyx_gui_misc.C: adjust
14050         * lyxfunc.C: adjust
14051         * lyxvc.C: adjust
14052         * text2.C: adjust
14053         + more files in subdirs
14054
14055         * lyxparagraph.h (size): move up int file
14056         (GetLayout): ditto
14057
14058         * adjust all uses of Assert to lyx::Assert.
14059
14060         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14061         lyxfunctional in namespace lyx
14062         * layout.C (hasLayout): ditto
14063         (GetLayout): ditto
14064         (GetLayout): ditto
14065         (delete_layout): ditto
14066         (NumberOfClass): ditto
14067         * converter.C (GetFormat): ditto
14068         (GetNumber): ditto
14069         (Add): ditto
14070         (Delete): ditto
14071         (SetViewer): ditto
14072         * bufferlist.C (getFileNames): ditto
14073         (emergencyWriteAll): ditto
14074         (exists): ditto
14075         (getBuffer): ditto
14076         * MenuBackend.C (hasSubmenu): ditto
14077         (hasMenu): ditto
14078         (getMenu): ditto
14079         * BufferView_pimpl.C (getInsetByCode): ditto
14080
14081 2001-04-18  Juergen Vigna  <jug@sad.it>
14082
14083         * vspace.C (asLatexString): fixed the 100% problem.
14084
14085 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * lyxfunc.C (Dispatch):
14088         * minibuffer.C:
14089         * minibuffer.h: add a few std:: qualifiers
14090
14091 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * minibuffer.[Ch]: reimplement so that commands is initiated and
14094         run from lyxfunc, simplified som handling, and made the completion
14095         and history code for complete. wip.
14096
14097         * lyxfunc.C (processKeySym): call message
14098         (miniDispatch): new temporary method
14099         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14100         (LFUN_MESSAGE): implement
14101         (LFUN_MESSAGE_PUSH): implement
14102         (LFUN_MESSAGE_POP): implement
14103         (initMiniBuffer): the initial/defualt minibuffer message.
14104
14105         * lyxfont.[Ch]: inline some more getters
14106
14107         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14108
14109         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14110
14111         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14112         (AutoSave): use LFUN_MESSAGE
14113         (Reconfigure): ditto
14114
14115         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14116
14117         * figureForm.C: use LFUN_MESSAGE
14118
14119         * converter.C (runLaTeX): use LFUN_MESSAGE
14120
14121         * bufferview_funcs.C: use LFUN_MESSAGE
14122         (Melt): ditto
14123         (changeDepth): ditto
14124
14125         * bufferparams.h: use boost::
14126
14127         * bufferlist.h: inherit privately from noncopyable
14128
14129         * bufferlist.C (loadLyXFile): remove some commented code.
14130
14131         * buffer.C (runChktex): use LFUN_MESSAGE
14132
14133         * ShareContainer.h: inherit privately from noncopyable
14134
14135         * ParagraphParameters.[hC] (depth): inline it.
14136
14137         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14138         methods.
14139         (message): new method
14140         (messagePush): ditto
14141         (messagePop): ditto
14142         (show): init minibuffer
14143         (showState): direct call
14144
14145         * LaTeX.[Ch]: inherit privately from noncopyable
14146         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14147         instead of WriteStatus.
14148
14149         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14150
14151         * BufferView_pimpl.C (buffer): don't init minibuffer
14152         (workAreaButtonPress): use LFUN_MESSAGE
14153         (workAreaButtonRelease): ditto
14154         (savePosition): ditto
14155         (restorePosition): ditto
14156         (MenuInsertLyXFile): ditto
14157         (workAreaExpose): don't init minibuffer
14158         (update): remove commented code, simplify
14159
14160         * BufferView2.C (openStuff): use LFUN_MESSAGE
14161         (toggleFloat): ditto
14162         (menuUndo): ditto
14163         (menuRedo): ditto
14164         (copyEnvironment): ditto
14165         (pasteEnvironment): ditto
14166         (copy): ditto
14167         (cut): ditto
14168         (paste): ditto
14169         (gotoInset): ditto
14170         (updateInset): remove some commented code
14171
14172         * lastfiles.h: inherit privately from noncopyable
14173         * layout.h: ditto
14174         * lyx_gui.h: ditto
14175         * lyx_main.h: ditto
14176         * lyxlex.h: ditto
14177         * lyxlex_pimpl.h: ditto
14178
14179         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14180         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14181         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14182
14183         * LyXAction.h: inherit privately from noncopyable, add methods
14184         func_begin, func_end, returning iterators to the func map.
14185
14186         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14187         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14188         (func_begin): new method
14189         (func_end): new method
14190
14191         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14192         and not)
14193         (copySelection): ditto
14194         (pasteSelection): ditto
14195
14196         * BufferView.C: whitespace change
14197         * BufferView.h: inherit privately from noncopyable
14198
14199 2001-04-16  Allan Rae  <rae@lyx.org>
14200
14201         * tabular-old.C (l_getline):
14202         * spellchecker.C (sc_check_word):
14203         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14204         an unrecognised preprocessor directive.  So ensure they're wrapped.
14205
14206 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * src/exporter.C (Export): Give an error message when path to file
14209         contains spaces.
14210
14211 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * LaTeX.C (deplog): Always check that foundfile exists.
14214
14215 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * lyx_main.h:
14218         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14219
14220 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * tabular.[Ch] (getLabelList): implement new method
14223
14224         * minibuffer.h: comment ouf setTiimer
14225
14226         * minibuffer.C (ExecutingCB): constify res
14227         (peek_event): constify s
14228         (Set): constify ntext
14229         (Init): constify nicename
14230
14231         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14232
14233         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14234         (savePosition): use two params to Minibuffer::Set
14235         (restorePosition): ditto
14236
14237 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * lyx_main.C: include language.h
14240
14241         * Makefile.am (lyx_main.o): add language.h
14242
14243 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * exporter.C:
14246         * paragraph.C:
14247         * screen.C:
14248         * tabular.C:
14249         * CutAndPaste.C: include gettext.h
14250
14251         * lyxfont.h: remove old hack with ON and OFF.
14252
14253         * lyxparagraph.h:
14254         * lyxfont.h: do not include language.h...
14255
14256         * BufferView2.C:
14257         * LaTeXFeatures.C:
14258         * Painter.C:
14259         * bufferview_funcs.C:
14260         * font.C:
14261         * lyxfont.C:
14262         * text.C:
14263         * text2.C:
14264         * trans_mgr.C:
14265         * paragraph.C: ... but do it here instead
14266
14267 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14270
14271         * tabular.C: small reformat
14272
14273         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14274         NEW_INSETS version
14275         (GetChar): ditto
14276         (BreakParagraph): ditto
14277         (SetOnlyLayout): ditto
14278         (SetLayout): ditto
14279
14280         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14281         with one arg less.
14282
14283         * lastfiles.C: removed most using decl, add std:: where needed
14284
14285         * buffer.C: ws changes
14286
14287         * MenuBackend.C (class compare_format): put into anon namespace
14288         (expand): constify label, names, action, action2
14289         (expand):
14290
14291         * text.C (SingleWidth): constify font
14292         (IsBoundary): constify rtl2
14293         (GetVisibleRow): constify ww
14294
14295         * LaTeX.C (deplog): constify logfile
14296
14297         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14298         start_x, end_x
14299         (workAreaExpose): constify widthChange, heightChange
14300
14301         * lyxrow.C (par): moved
14302         (height): moved
14303         (next): moved
14304         * lyxrow.h: as inlines here
14305
14306         * lyxfont.h (shape): moved from lyxfont.C
14307         (emph): moved from lyxfont.C
14308
14309         * lyxfont.C (LyXFont): use initialization list for all
14310         constructors
14311         (shape): move to lyxfont.h as inline
14312         (emph): move to lyxfont.h as inline
14313
14314
14315 2001-04-04  Juergen Vigna  <jug@sad.it>
14316
14317         * vspace.C: had to include stdio.h for use of sscanf
14318
14319 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14320
14321         * BufferView.h:
14322         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14323         independent of xforms.
14324
14325 2001-04-02  Juergen Vigna  <jug@sad.it>
14326
14327         * spellchecker.C: fixed namespace placing!
14328
14329 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14330
14331         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14332         the LyXParagraph * is 0.
14333
14334 2001-03-29  Juergen Vigna  <jug@sad.it>
14335
14336         * vspace.C: added support for %, c%, p%, l%.
14337         (stringFromUnit): added helper function.
14338         (asLatexString): changed to give right results for the %-values.
14339
14340         * buffer.C: convert the widthp in a width%.
14341
14342 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14345         figureForm.[Ch].
14346
14347         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14348         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14349
14350         * lyx_cb.[Ch]: see above.
14351
14352         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14353         form1.[Ch].
14354
14355         * form1.[Ch]:
14356         * lyx.[Ch]: replaced by figure_form.[Ch].
14357
14358         * lyx_gui.C:
14359         * lyx_gui_misc.C:
14360         * lyxfunc.C: changed headers associated with above changes.
14361
14362 2001-03-27  Juergen Vigna  <jug@sad.it>
14363
14364         * BufferView_pimpl.C: set the temporary cursor right!
14365
14366 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14367
14368         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14369
14370 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * LString.h: removed "using std::getline"!
14373
14374         * BufferView_pimpl.C (Dispatch): changes due to changes in
14375         InsetInclude::Params.
14376
14377         * buffer.C (tag_name): removed redundant break statements as they were
14378         producing lots of warnings with my compiler.
14379
14380 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14381
14382         * LString.h: add "using std::getline" when using the real <string>.
14383
14384 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14385
14386         * buffer.C: removed bitset usage.
14387         PAR_TAG moved to an anonymous name space.
14388         (tag_name): new funtion, also in the anonymous namespace.
14389         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14390         (makeDocBookFile): clean code. Completed transition from string arrays
14391         to string vectors.
14392         (SimpleDocBookOnePar): code clean.
14393
14394 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14395
14396         * tabular.C: add some comments.
14397
14398 2001-03-22  Juergen Vigna  <jug@sad.it>
14399
14400         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14401         compatibility read a bit and fixed bug with minipage in different
14402         depth.
14403
14404 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14405
14406         * buffer.C (pop_tag): removed.
14407         (push_tag): removed.
14408         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14409         array replaced with vector. Added support for CDATA sections.
14410         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14411         at any nest level.
14412         (makeDocBookFile): XML conformant declaration of CDATA section,
14413         fixed bug related to <emphasis> in the first paragraph char.
14414         (sgmlOpenTag): exclude empty tags.
14415         (sgmlCloseTag): ditto.
14416
14417         * buffer.h (pop_tag): removed.
14418         (push_tag): removed.
14419
14420 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14421
14422         * language.h (Languages): added size_type and size().
14423
14424 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14425
14426         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14427         response on compability reading of minipages. One probliem is that
14428         the old usage of minipages was «flertydig»
14429
14430         * several files here and in subdirs: don't use static at file
14431         scope use anon namespaces instead.
14432
14433 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14434
14435         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14436         LaTeX output. This is necessary for Literate document
14437         processing.
14438
14439 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14440
14441         * buffer.C: insert hfill when needed.
14442
14443         * tabular.C (l_getline): use string::erase, small whitespace change.
14444
14445         * BufferView_pimpl.C: try the anon namespace.
14446         * WorkArea.C: ditto
14447
14448 2001-03-16  Juergen Vigna  <jug@sad.it>
14449
14450         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14451         otherwise it won't open options-dialogs.
14452
14453         * buffer.C: honor pextraWidth(p) on converting minipages.
14454
14455         * tabular.C (l_getline): changed the functions to strip trailing \r.
14456
14457 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14458
14459         * BufferView_pimpl.C:
14460         * minibuffer..C: added "using SigC::slot" declaration.
14461
14462 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14463
14464         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14465
14466         * text2.C: ditto
14467
14468         * text.C: ditto
14469
14470         * paragraph.C: ditto
14471
14472         * lyxtext.h: NO_PEXTRA
14473
14474         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14475
14476         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14477         * ParameterStruct.h: ditto
14478         * ParagraphParameters.h: ditto
14479         * lyxparagraph.h: ditto
14480
14481 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14482
14483         * buffer.C: add compability for minipage alignment.
14484         (latexParagraphs): remove unwanted pextra check.
14485
14486         * several files: remove CXX_WORKING_NAMESPACES
14487
14488         * buffer.C (pop_tag): tie is in namespace boost
14489
14490         * BufferView.h: noncopyable is in namespace boost
14491         * lyxlex.h: ditto
14492         * lyx_main.h: ditto
14493         * lyx_gui.h: ditto
14494         * layout.h: ditto
14495         * lastfiles.h: ditto
14496         * bufferlist.h: ditto
14497         * ShareContainer.h: ditto
14498         * LyXView.h: ditto
14499         * LyXAction.h: ditto
14500         * LaTeX.h: ditto
14501
14502 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14503
14504         * Merging changes from BRANCH_MVC back into HEAD.
14505
14506         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14507
14508 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * BufferView_pimpl.C: change from intl.C
14511
14512         * combox.h:
14513         * combox.C:
14514         * Makefile.am: move combox.*
14515
14516         * form1.h:
14517         * form1.C:
14518         * lyx_gui.C:
14519         * intl.h:
14520         * intl.C: remove dialog (covered by prefs)
14521
14522 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * lyxfunc.C (Dispatch): removed redundant break statement.
14525
14526 2001-03-14  Juergen Vigna  <jug@sad.it>
14527
14528         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14529
14530 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14531
14532         * buffer.C: add hack to fix compability reading of minipages.
14533
14534 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * buffer.C (getLists): Cleanup.
14537
14538 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * lyxfont.C (update): don't honor toggleall on font size.
14541
14542 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * bmtable.c:
14545         * bmtable.h:
14546         * Makefile.am: moved to frontends/xforms/
14547
14548         * lyx_gui_misc.C:
14549         * lyxfunc.C:
14550         * BufferView_pimpl.C: changes for moved mathpanel
14551
14552 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * gettext.h: fix gettext_init() in --disable-nls
14555
14556 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14559
14560 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * lyx.C:
14563         * lyx.h: strip external form
14564
14565 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * BufferView_pimpl.C: add comment, destroySplash()
14568
14569 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * BufferView_pimpl.C:
14572         * LyXAction.C:
14573         * buffer.C:
14574         * commandtags.h:
14575         * lyxfunc.C: use re-worked insetinclude
14576
14577 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14578
14579         * buffer.C: add using std::stringstream.
14580
14581         * lyx_cb.C: readd using std::ios.
14582
14583         * buffer.C: add using std::map.
14584
14585         * BufferView_pimpl.C: add using std::vector.
14586
14587         * ShareContainer.h: add std:: to swap.
14588
14589         * buffer.h: add some typedefs
14590         * buffer.C (getLists): use them
14591         (getLists): renamed from getTocList.
14592         add a counter for the different float types and use it in the
14593         generated string.
14594         (getLists): use the same counter for the NEW_INSETS and the "non"
14595         NEW_INSETS
14596
14597         * lyx_cb.h: remove unused items, includes, using etc.
14598
14599         * ShareContainer.h: remove some commented code, add more comments
14600         and "documentation".
14601
14602 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14603
14604         * buffer.C (getTocList): make the list also when NEW_INSETS is
14605         defined.
14606
14607         * buffer.h: remove TocType
14608
14609         * buffer.C (getTocList): change to return a map<string,
14610         vector<TocItem> >, implement for dynamic number of list.
14611
14612         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14613         * text2.C (PasteSelection): adjust
14614         * CutAndPaste.C (pasteSelection): adjust
14615
14616         * FloatList.C (FloatList): update from the new_insets branch.
14617         * Floating.[Ch]: ditto
14618         * LaTeXFeatures.C: ditto
14619         * buffer.C: ditto
14620         * lyxlex_pimpl.C: ditto
14621
14622         * paragraph.C (Last): remove when NEW_INSETS is defined.
14623
14624         * other file: changes because of the above.
14625
14626 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14627
14628         * lyxparagraph.h: rename next to next_, previous to previous_,
14629         make them private for NEW_INSETS. Rename Next() to next(),
14630         Previous() to previous().
14631
14632         * other files: changes because of the above.
14633
14634 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * BufferView.h:
14637         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14638         problem.
14639
14640 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14641
14642         * main.C (main): pass lyx_localedir to gettext_init().
14643
14644         * gettext.h: remove locale_init and gettext_init macros
14645
14646         * gettext.C (locale_init): new function
14647         (gettext_init): new function
14648
14649         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14650         setlocale().
14651
14652 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14653
14654         * Moved credits to frontends:
14655         * credits.[Ch]: removed
14656         * credits_form.[Ch]: removed
14657         * lyx_gui_misc.C: remove credits stuff
14658         * Makefile.am:
14659
14660 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14661
14662         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14663
14664         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14665         unneeded destructor.
14666
14667         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14668         a standalone pointer again.
14669
14670         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14671
14672 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * Makefile.am:
14675         * filedlg.h:
14676         * filedlg.C:
14677         * LyXAction.C:
14678         * ToolbarDefaults.C:
14679         * bufferlist.C:
14680         * commandtags.h:
14681         * form1.C:
14682         * form1.h:
14683         * lyx_cb.C:
14684         * lyx_cb.h:
14685         * lyxfunc.h:
14686         * lyxfunc.C:
14687         * BufferView_pimpl.C: use new file dialog in GUII
14688
14689         * lyx_cb.h:
14690         * lyx_cb.C: remove LayoutsCB to Toolbar
14691
14692 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14693
14694         * ShareContainer.h (get): add std:: qualifier
14695
14696 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * ShareContainer.h: define a proper ShareContainer::value_type
14699         type (and use typename to please compaq cxx)
14700
14701 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14702
14703         * lyxparagraph.h: move serveral local vars to
14704         ParameterStruct/ParagraphParameters., use ShareContainer in
14705         FontTable., make vars in FontTable private and add getter and
14706         setter.
14707
14708         * paragraph.C: changes because of the above.
14709
14710         * lyxfont.h: remove copy constructor and copy assignment. (the
14711         default ones is ok), move number inside FontBits. move inlines to
14712         lyxfont.C
14713
14714         * lyxfont.C: add number to initializaton of statics, move several
14715         inlines here. constify several local vars. some whitespace
14716         cleanup. Dont hide outerscope variables.
14717
14718         * Spacing.h: add two new constructors to match the set methods.
14719
14720         * ShareContainer.h: new file, will perhaps be moved to support
14721
14722         * ParameterStruct.h: new file
14723
14724         * ParagraphParameters.h: new file
14725
14726         * ParagraphParameters.C: new file
14727
14728         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14729         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14730
14731         * BufferView_pimpl.C: ParagraphParameter changes.
14732         * buffer.C: Likewise.
14733         * bufferview_funcs.C: Likewise.
14734         * text.C: Likewise.
14735         * text2.C: Likewise.
14736
14737 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * lyxfind.C (LyXReplace): do not redefine default argument in
14740         implementation.
14741         (IsStringInText): ditto
14742         (SearchForward): ditto
14743         (SearchBackward): ditto
14744
14745 2001-03-06  Juergen Vigna  <jug@sad.it>
14746
14747         * lyxfind.C (IsStringInText): put parentes around expressions.
14748
14749 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14750
14751         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14752
14753 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14756
14757         * stl_string_fwd.h: add comment
14758
14759         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14760
14761         * tabular.h:
14762         * tabular.C: remove unused DocBook methods
14763
14764         * intl.C:
14765         * language.C:
14766         * paragraph.C:
14767         * buffer.C:
14768         killed DO_USE_DEFAULT_LANGUAGE
14769
14770 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * lyx_gui.C: do not include language.h.
14773
14774         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14775         arguments in function implementation.
14776
14777 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14778
14779         * BufferView_pimpl.C: add <ctime>
14780
14781 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14782
14783         * BufferView_pimpl.C: add using std::find_if
14784
14785 2001-02-27  José Matos  <jamatos@fep.up.pt>
14786
14787         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14788         by OnlyPath.
14789
14790 2001-02-11  José Matos  <jamatos@fep.up.pt>
14791
14792         * buffer.C (makeDocBookFile): command styles now have a parameter as
14793         "title" by default.
14794
14795 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14796
14797         * layout_forms.[Ch]: removed
14798         * lyx_cb.[Ch]: out character
14799         * lyx_gui.C: out character
14800         * lyx_gui_misc.C: out character
14801         * bufferview_funcs.C: : out character,
14802         added toggleall as parameter in ToggleAndShow
14803
14804 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14805
14806         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14807
14808         * text2.C (SetCurrentFont): Disable number property at boundary.
14809
14810 2001-02-26  Juergen Vigna  <jug@sad.it>
14811
14812         * lyxfunc.C (getStatus): added a string argument override function so
14813         that this is correctly called from LyXFunc::Dispatch if it contains a
14814         do_not_use_argument which is used!
14815         (Dispatch): added check for "custom" export and call appropriate func.
14816
14817 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14818
14819         * lyxrc.C: Add language_command_local, language_use_babel and
14820         language_global_options.
14821
14822         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14823
14824         * buffer.C (makeLaTeXFile): Use language_use_babel and
14825         language_global_options.
14826
14827 2001-02-23  Juergen Vigna  <jug@sad.it>
14828
14829         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14830         which works with LyXText and putted it inside BufferView. Here now we
14831         only call for that part the BufferView::Dispatch() function.
14832
14833         * BufferView.C (Dispatch): added.
14834
14835         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14836         functions which needs to use a LyXText over from LyXFunc.
14837         (MenuInsertLyXFile): added
14838         (getInsetByCode): added
14839         (moveCursorUpdate): added
14840         (static TEXT): added
14841
14842 2001-02-22  Juergen Vigna  <jug@sad.it>
14843
14844         * BufferView_pimpl.C (update): call a status update to see if LyXText
14845         needs it.
14846
14847 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14848
14849         * vc-backend.C (revert): implement for CVS
14850         (getLog): implement for CVS
14851
14852 2001-02-20  Juergen Vigna  <jug@sad.it>
14853
14854         * text2.C (ClearSelection): added BufferView param for inset_owner call
14855
14856         * lyxfunc.C (TEXT): added this function and use it instead of
14857         directly owner->view()-text of getLyXText().
14858
14859 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14860
14861         * src/layout_forms.C: out preamble
14862         * src/layout_forms.h: out preamble
14863         * src/lyx_cb.C: out preamble
14864         * src/lyx_cb.h: out preamble
14865         * src/lyx_gui.C: out preamble
14866         * src/lyx_gui_misc.C: out preamble
14867         * src/lyxfunc.C: connect with guii preamble
14868
14869 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14870
14871         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14872
14873 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14874
14875         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14876         whether to run bibtex.
14877
14878 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14879
14880         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14881
14882 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14883
14884         * Makefile.am (lyx_SOURCES): removed bibforms.h
14885
14886         * vspace.h: doxygen
14887
14888         * text.C (GetVisibleRow): make several local vars const
14889
14890         * tabular.C: small cleanup.
14891
14892         * lyxserver.C (callback): use compare instead of strncmp
14893
14894         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14895         inlines to after class or to paragraph.C
14896
14897         * lyxfont.h: remove friend operator!=
14898
14899         * converter.h: move friend bool operator< to non friend and after
14900         class def.
14901
14902         * combox.h: small cleanup
14903
14904         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14905         to inlines after class def.
14906
14907         * buffer.C (pop_tag): use string operations instead of strcmp
14908
14909         * bmtable.c: doxygen, small cleanup
14910
14911         * LaTeX.h: remove friend operator==
14912
14913 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14914
14915         * screen.C:
14916         * lyxrc.[Ch]:
14917         * lyxfunc.C:
14918         * lyxfont.[Ch]:
14919         * lyx_cb.C:
14920         * intl.[Ch]:
14921         * commandtags.h:
14922         * buffer.C:
14923         * WorkArea.[Ch]:
14924         * LyXAction.C:
14925         * BufferView_pimpl.C:
14926         * BufferView.[Ch]: remove cruft
14927
14928 2001-02-14  Juergen Vigna  <jug@sad.it>
14929
14930         * lyxfunc.C: removed #if 0 unused code
14931
14932         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14933
14934         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14935
14936         * text2.C (SetSelection): added a BufferView * parameter
14937
14938 2001-02-13  Juergen Vigna  <jug@sad.it>
14939
14940         * lyxfunc.C (Dispatch): fixed protected blank problem.
14941         * BufferView2.C (protectedBlank): added LyxText * parameter.
14942
14943         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14944         (AppendColumn): same as above for column_info.
14945
14946         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14947         (moveCursorUpdate): use a LyXText param for support of InsetText.
14948
14949         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14950         (tripleClick): ditto
14951
14952         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14953
14954         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14955
14956         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14957
14958         * text2.C (SetSelection): set correct update status if inset_owner
14959         (ToggleFree): ditto
14960
14961 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14962
14963         * tabular.C: remove some commented code.
14964
14965 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * BufferView_pimpl.C: call hideSplash()
14968
14969         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14970
14971         * include_form.h:
14972         * bibforms.h: remove
14973
14974         * lyxfunc.C:
14975         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14976           add LFUN_CHILD_CREATE
14977
14978         * counters.h: fix tiny typo
14979
14980         * lyx_cb.C:
14981         * lyx.h:
14982         * lyx_gui.C:
14983         * lyx.C: move splash to frontends/xforms/
14984
14985         * lyx_gui_misc.C: move Include and Bibform to frontends
14986
14987         * lyxvc.h: clarify comment
14988
14989         * vspace.C: tiny housekeeping
14990
14991 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14992
14993         * text.C (PrepareToPrint): RTL Fix.
14994
14995         * paragraph.C (GetUChar): New method.
14996         (String):  Use GetUChar.
14997
14998         * buffer.C (asciiParagraph): Use GetUChar.
14999
15000 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15001
15002         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15003
15004 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * buffer.h:
15007         * buffer.C: rename to getLogName(), handle
15008           build log / latex log nicely
15009
15010 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * MenuBackend.C:
15013         * MenuBackend.h: remove support for reference menuitem type.
15014
15015 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * BufferView_pimpl.C: housekeeping
15018         * BufferView_pimpl.h:
15019         * LyXView.h:
15020         * Makefile.am:
15021         * Timeout.C:
15022         * Timeout.h:
15023         * minibuffer.h: move Timeout GUI-I
15024
15025 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15026
15027         * lyxrc.C (read): Update converters data-structures.
15028
15029 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15030
15031         * LaTeX.h (operator!=): add operator != for Aux_Info
15032
15033 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15036
15037         * LaTeXLog.C: deleted, useful code moved to Buffer
15038
15039         * buffer.h:
15040         * buffer.C: new function getLatexLogName()
15041
15042         * lyx_gui_misc.C:
15043         * lyx_gui.C:
15044         * lyxvc.C:
15045         * lyxvc.h:
15046         * lyxfunc.C: use frontends for LaTeX and VC logs
15047
15048 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * LaTeX.h: yet another std:: that Allan forgot.
15051
15052         * Variables.C (set): renamed from isset(), because this clashes
15053         with some HP-UX macros (grr).
15054
15055 2001-02-06  Allan Rae  <rae@lyx.org>
15056
15057         * LaTeX.h: Another bug fix.  Missing std:: this time.
15058
15059 2001-02-04  Allan Rae  <rae@lyx.org>
15060
15061         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15062         floats problem. I've left it commented out because it's not quite
15063         correct.  It should also test that the current object is a table or
15064         figure inset.  But I haven't gotten around to figuring out how to do
15065         that.  I *think* it'll be something like: "table" == inset.type()
15066
15067         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15068         bool.
15069
15070 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15073         all the citation/databases/styles in the auxilary file.
15074         (run): Rerun latex if there was a babel language error.
15075
15076 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * text.C (Backspace): Preserve the font when changing newline char
15079         with a space.
15080         (BreakParagraph): If the cursor is before a space, delete the space.
15081
15082         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15083
15084 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15085
15086         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15087         new argument (code).
15088         (ChangeCitationsIfUnique): New method.
15089
15090         * paragraph.C (GetPositionOfInset): Handle bibkey.
15091
15092 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * BufferView_pimpl.h: change type of Position::par_pos to
15095         LyXParagraph::size_type.
15096
15097 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * BufferView_pimpl.C (savePosition, restorePosition): Write
15100         messages to minibuffer.
15101
15102 2001-01-28  José Matos  <jamatos@fep.up.pt>
15103
15104         * buffer.C (makeDocBookFile): adds support for document language.
15105         A silly restriction on the name of LatexCommand types where removed.
15106         Added support for CDATA sections, allows to chars unescaped, used
15107         among others in code, to avoid escape < and >.
15108
15109 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15110
15111         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15112         saved positions instrad of a stack. Furthermore, a position is
15113         stored using paragraph id/paragraph position.
15114
15115         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15116         Remove LFUN_REF_BACK.
15117
15118 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15119
15120         * converter.C (dvipdfm_options): New method.
15121
15122 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15123
15124         * vspace.C (isValidLength): Fix for empty input string.
15125
15126 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * LyXAction.C (init): change description of LFUN_FIGURE to
15129         "Insert Graphics"
15130
15131 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * LaTeX.C: add using directive
15134
15135 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15136
15137         * MenuBackend.C (expand): Fix the sorting of the formats.
15138
15139 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * lyx_main.C: tiny error message fix
15142
15143 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15146         calling fl_initialize(). This fixes the problem with ',' as
15147         decimal separator in text files.
15148
15149 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * trans.C (process): Fix the keymap bug.
15152
15153 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15154
15155         * LaTeX.C (scanAuxFiles): New method. Provides support for
15156         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15157         (scanLogFile) Scan for "run BibTeX" messages.
15158
15159         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15160         OT1 font encoding. Also, load the aecompl package if the ae
15161         package is loaded.
15162
15163         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15164
15165 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * texrow.C (increasePos): turn two error messages into debug
15168         messages.
15169
15170 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15171
15172         * LaTeX.C (scanAux): Handle the \@input macro.
15173         (runBibTeX): Use scanAux().
15174
15175         * language.C (latex_options_): New field.
15176
15177         * LaTeXFeatures.C (getMacros): Add language macros.
15178
15179         * buffer.C (makeLaTeXFile): Small fix.
15180
15181 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15184
15185         * text2.C: add a using directive.
15186
15187 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * BufferView2.C:
15190         * lyx_gui_misc.h:
15191         * lyxfr1.C:
15192         * lyxfunc.C: kill LyXBell.
15193
15194 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15195
15196         * text.C (IsBoundary): Remove the error message
15197
15198         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15199
15200         * lyxrc.C (setDefaults): Correct initialization value for
15201         font_norm_type.
15202
15203 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15204
15205         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15206         gotoError().
15207
15208         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15209         and GotoNextNote().
15210
15211         * src/LyXAction.C: Added reference-next.
15212
15213         * text.C (InsertChar): Use contains instead of strchr.
15214
15215         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15216
15217 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15218
15219         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15220         alignment commands (when needed).
15221
15222         * text.C (InsertChar): Add ':' to number separator chars.