]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0127d69f47780323d6ee59265baa074e1711b746
[lyx.git] / src / ChangeLog
1 2004-03-30  Angus Leeming  <leeming@lyx.org>
2
3         * lfuns.h:
4         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
5         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
6
7         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
8         open/closed state of ollapsable insets. Usage:
9
10         all-inset-toggle <state> <name>, where
11         <state> == "open" || "closed" || "toggle" and
12         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
13
14         * lyxtext.h, text2.C (toggleInset): removed.
15
16         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
17         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
18         now passes LFUN_INSET_TOGGLE to the found inset.
19
20         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
21         is now invoked as "all-insets-toggle toggle branch".
22
23 2004-03-30  Angus Leeming  <leeming@lyx.org>
24
25         * dociterator.C:
26         * insetiterator.C:
27         * pariterator.[Ch]: added/corrected header blurb.
28
29 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * dociterator.[Ch]: add an inset_ member 
32         (backwardPos): implemented
33         (backwardPos, forwardPos): use inset_ when the stack is empty.
34         (doc_iterator_begin, doc_iterator_end): implemented
35         * pariterator.[Ch]: adjust, add begin, end
36         * insetiterator.[Ch]: adjust, add begin, end
37         * cursor.C: 
38         * document.C:
39         * BufferView.C:
40         * BufferView_pimpl.C:
41         * CutAndPaste.C: adjust
42
43 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * buffer.C: increment file format to 232.
46         * LaTeXFeatures.C: add bibtopic package.
47         * bufferparams.[Ch]: param \use_bibtopic.
48         
49         * lyxrc.[Ch]: add lyxrc bibtex_command
50         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
51         
52         * buffer.C: increment file format to 231.
53
54 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * dociterator.C: implement forwardPar
57         * iterators.[Ch]: remove, replaced by
58         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
59         * BufferView.C:
60         * BufferView_pimpl.C:
61         * CutAndPaste.C:
62         * buffer.C:
63         * bufferview_funcs.C:
64         * cursor.C:
65         * lyxfind.C
66         * lyxfunc.C
67         * paragraph_funcs.C
68         * toc.C:  
69         * Makefile.am: adjust
70
71 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * CutAndPaste.C (pasteSelection): fix 2 crashes
74         (eraseSelection): fix a crash
75         * paragraph_funcs.C: remove a warning
76
77 2004-03-28  Angus Leeming  <leeming@lyx.org>
78
79         * lfuns.h:
80         * LyXAction.C (init): new LFUN_PRINT.
81
82         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
83
84 2004-03-27  Angus Leeming  <leeming@lyx.org>
85
86         * lfuns.h:
87         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
88
89         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
90
91 2004-03-27  Angus Leeming  <leeming@lyx.org>
92
93         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
94         insetlist always contains non-null pointers to insets.
95
96 2004-03-26  Angus Leeming  <leeming@lyx.org>
97
98         * src/BufferView_pimpl.C:
99         * src/CutAndPaste.C:
100         * src/buffer.C:
101         * src/iterators.C:
102         * src/output_plaintext.C:
103         * src/outputparams.h:
104         * src/paragraph_funcs.C:
105         * src/rowpainter.C:
106         * src/text.C:
107         * src/text2.C:
108         * src/frontends/controllers/ControlErrorList.C:
109         * src/frontends/gtk/FileDialogPrivate.C:
110         * src/frontends/gtk/GPainter.C:
111         * src/frontends/gtk/GToolbar.C:
112         * src/frontends/qt2/QRef.C:
113         * src/mathed/math_scriptinset.C: squash compiler warnings.
114
115 2004-03-26  Angus Leeming  <leeming@lyx.org>
116
117         * ispell.C (LaunchIspell::start):
118         * lyx_cb.C (AutoSaveBuffer::start):
119         invoke run(DontWait) rather than runNonBlocking().
120
121 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
122
123         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
124
125 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * kbsequence.C (print): adjust
128
129         * kbmap.C (printKeySym): rename and change signature
130         (printKey): use LyXKeySym::print()
131
132 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
133
134         * undo.C: add using std::advance to compile for stlport
135
136 2004-03-24  Angus Leeming  <leeming@lyx.org>
137
138         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
139         it leads to a crash when no buffer is present.
140
141 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142             Martin Vermeer  <martin.vermeer@hut.fi>
143
144         * lyxfunc.C (dispatch): 
145         * bufferparams.C (readToken): use the new LColor::setColor 
146
147         * LColor.[Ch] (setColor): new version that takes two strings as
148         argument and creates a new color entry if necessary
149
150 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
151
152         * buffer.C (makeLaTeXFile): if the main latex file that is
153         processed is usually a subdocument of some master, then pretend
154         for a while that it is actually the master
155
156 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
157
158         * buffer.C (getLabelList):
159         (getBibkeyList): use getMasterBuffer()
160         (getMasterBuffer): new method. Returns the main document in the
161         case where one is using included documents.
162
163 2004-03-25  André Pönitz  <poenitz@gmx.net>
164
165         * Makefile.am:
166         * iterators.[Ch]:
167         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
168
169         * ParagraphList_fwd.h: change ParagraphList to a std::vector
170
171         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
172         text*.C over here. Rename namespace CutAndPaste to lyx::cap
173
174         * ParameterStruct.h: merge with ParagraphParameters
175
176         * lyxtext.h: remove LyXText::parOffset() and getPar()
177
178         * text3.C: Remove all 'manual' update calls. We do now one per user
179         interaction which is completely sufficient.
180
181         * Bidi.C:
182         * BufferView.[Ch]:
183         * BufferView_pimpl.C:
184         * FontIterator.[Ch]:
185         * MenuBackend.C:
186         * ParagraphParameters.[Ch]:
187         * buffer.C:
188         * buffer.h:
189         * bufferlist.C:
190         * cursor.[Ch]:
191         * cursor_slice.[Ch]:
192         * dociterator.[Ch]:
193         * errorlist.[Ch]:
194         * factory.C:
195         * lfuns.h:
196         * lyxfind.C:
197         * lyxfunc.C:
198         * output_docbook.[Ch]:
199         * output_latex.[Ch]:
200         * output_linuxdoc.[Ch]:
201         * output_plaintext.[Ch]:
202         * paragraph.[Ch]:
203         * paragraph_funcs.[Ch]:
204         * paragraph_pimpl.[Ch]:
205         * rowpainter.C:
206         * tabular.[Ch]:
207         * text.C:
208         * text2.C:
209         * toc.C:
210         * undo.[Ch]: adjust
211
212         * frontends/controllers/ControlDocument.C:
213         * frontends/controllers/ControlErrorList.C:
214         * frontends/controllers/ControlSpellchecker.C:
215         * insets/inset.C:
216         * insets/inset.h:
217         * insets/insetbase.h:
218         * insets/insetbibitem.C:
219         * insets/insetbox.C:
220         * insets/insetbranch.C:
221         * insets/insetcaption.C:
222         * insets/insetcharstyle.C:
223         * insets/insetcharstyle.h:
224         * insets/insetcollapsable.C:
225         * insets/insetcollapsable.h:
226         * insets/insetert.C:
227         * insets/insetfloat.C:
228         * insets/insetfoot.C:
229         * insets/insetmarginal.C:
230         * insets/insetnote.C:
231         * insets/insetoptarg.C:
232         * insets/insettabular.C:
233         * insets/insettext.C:
234         * insets/insettext.h:
235         * insets/insetwrap.C:
236         * mathed/math_mboxinset.C:
237         * mathed/math_nestinset.C:
238         * mathed/math_scriptinset.C:
239         * mathed/math_scriptinset.h:
240         * support/types.h:
241
242 2004-03-24  Angus Leeming  <leeming@lyx.org>
243
244         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
245         deal with any child processes that have finished but are waiting to
246         communicate this fact to the rest of LyX.
247
248 2004-03-24  Angus Leeming  <leeming@lyx.org>
249
250         64-bit compile fixes.
251
252         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
253         (c-tor): pass lyx::pos_types rather than ints.
254
255         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
256         lyx::pos_type.
257
258         * text.C (Delete): compile fix.
259         (getPar): ensure that function declaration is the same as that in
260         the header file.
261
262 2004-03-23  Angus Leeming  <leeming@lyx.org>
263
264         * ispell.C (LaunchIspell):
265         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
266         a boost::shred_ptr rather than a std::auto_ptr.
267
268 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * lyxfunc.C (getStatus): handle read-only buffers correctly;
271         handle LFUN_FILE_INSERT_*
272
273         * lyxrc.C (setDefaults, getDescription, output, read):
274         * lyxrc.h: remove ps_command
275
276 2004-03-22  Angus Leeming  <leeming@lyx.org>
277
278         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
279         Ensure that error_handler is processed once only and that all data
280         is saved before attempting to output any warning messages.
281
282         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
283
284 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * tabular.C (TeXRow): crash fix (from Kayvan and André)
287
288 2004-03-19  André Pönitz  <poenitz@gmx.net>
289
290         * cursor.[Ch] (reset): take main text inset as argument
291
292         * BufferView: adjust
293         * BufferView_pimpl.C: adjust
294
295         * paragraph.[Ch]: fix completely broken operator=()
296
297 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * LColor.C (getFromLyXName): make sure that the color name is used
300         as lowercase.
301
302 2004-03-17  Angus Leeming  <leeming@lyx.org>
303
304         * lfuns.h:
305         * LyXAction.C (init): remove LFUN_FORKS_KILL.
306
307         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
308         dialog and to kill a forked process.
309
310 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
311
312         * text2.C (setCursorFromCoordinates): fix font problem
313
314 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
317         bogus "rebuild cursor" code
318
319 2004-03-11  André Pönitz  <poenitz@gmx.net>
320
321         * buffer.[Ch]: use InsetText instead of LyXText as container for
322         the main lyx text.
323
324         * dociterator.[Ch]: drop the BufferView * member which is not needed
325         anymore after the change to buffer.C
326
327         * paragraph_funcs.C:
328         * text.C:
329         * text2.C:
330         * BufferView.[Ch]:
331         * BufferView_pimpl.[Ch]:
332         * cursor.[Ch]:
333         * cursor_slice.[Ch]: adjust
334
335         * text3.C: fix bug in mathDispatch
336
337 2004-03-08  André Pönitz  <poenitz@gmx.net>
338
339         * undo.[Ch]: use 'StableDocumentIterator' as base for
340         the Undo struct.
341
342 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
343
344         * LaTeXFeatures.C:
345         * bufferparams.[Ch]: add jurabib support and param.
346
347         * LaTeX.C: add FIXME/comment.
348
349 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
350
351         * buffer.C: increment file format to 230.
352
353 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
354
355         * cursor.C (dispatch): avoid infinite loops
356
357 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * rowpainter.C (paintSelection): fix x coordinates
360
361 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
362
363         * text.C (rowBreakPoint): fix breaking before displayed insets
364
365 2004-03-01  André Pönitz  <poenitz@gmx.net>
366
367         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
368
369         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
370
371         * Makefile.am:
372         * BufferView.C:
373         * BufferView_pimpl.C:
374         * buffer.C:
375         * lyxfind.C:
376         * lyxfunc.C:
377         * text.C:
378         * text2.C:
379         * text3.C: adjust
380
381 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
382
383         * lyxtext.h:
384         * text.C:
385         * text2.C:
386         * rowpainter.C:
387         * BufferView_pimpl.C: rename textwidth -> maxwidth,
388         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
389
390 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * Bidi.[Ch] (computeTables): const correctness
393         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
394         fill_hfill, fill_label_hfill and x from Row
395         * lyxtext.h: prepareToPrint returns a RowMetrics
396         * rowPainter.C: adjust
397         * text.C (prepareToPrint): use width, not textWidth. adjust
398         (redoParagraphInternal, cursorX): adjust
399         * text2.C (getColumnNearX): adjust
400         (init): put a default value to the top LyXText::width
401
402 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
405
406 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * lyxtext.h: add FontIterator class
409
410         * text.C (FontIterator, operator*, operator->, operator++): add
411         (rowBreakPoint, setRowWidth): adjust (fixing a
412         rebreaking bug)
413
414 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * BufferView_pimpl.C (workAreaDispatch): allow also
417         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
418
419 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * text.C (rowBreakPoint): fix a bug showing with very large insets
422
423 2004-02-25  André Pönitz  <poenitz@gmx.net>
424
425         * text3.C:
426         * cursor.[Ch]: move some mathed specific code to mathed
427
428 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
429
430         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
431         use_tempdir in preferences
432         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
433         tempfile creation
434         * lyx_main.C: ensure that tempdir is valid
435         * lyxlex.h: correct typo
436         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
437         * paragraph.[Ch] (isMultiLingual): make const
438         * cursor.[Ch] (openable): make const
439
440 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
443
444 2004-02-20  André Pönitz  <poenitz@gmx.net>
445
446         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
447
448         * cursor.[Ch]: prepare for localized getStatus()
449
450         * lyxtext.h:
451         * tabular.C:
452         * text.C:
453         * text2.C:
454         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
455
456 2004-02-20  André Pönitz  <poenitz@gmx.net>
457
458         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
459
460 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * text2.C (setCursorFromCoordinates): switch to absolute coords
463         (cursorUp): adjust
464         (cursorDown): adjust
465         * text3.C (dispatch): adjust
466
467 2004-02-16  André Pönitz  <poenitz@gmx.net>
468
469         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
470           insets/ChangeLog)
471
472         * cursor_slice.[Ch]: remove unneeded acessor function
473
474         * lyxtext.h: rename rtl() to isRTL()
475
476         * rowpainter.C:
477         * tabular.C:
478         * text.C:
479         * text2.C:
480         * text3.C: adjust
481
482 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * rowpainter.C (paintSelection): coord fix
485
486 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
487
488         * Spacing.C: compile fix
489
490 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * cursor.C (dispatch): restore current_ before returning
493
494 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
495
496         * text2.C (cursorUp, cursorDown): fix coords
497         (moveUp): fix crash
498
499 2004-02-12  André Pönitz  <poenitz@gmx.net>
500
501         * lyxtext.h:
502         * text.C:
503         * text2.C:
504         * text3.C: add LCursor & parameter to most cursor movement functions
505           remove usage of LyXText::cursorRow() and cursorPar()
506
507         * cursor.[Ch]: add textRow() needed members
508
509         * BufferView.C:
510         * BufferView_pimpl.C:
511         * paragraph.[Ch]:
512         * BufferView.C:
513         * BufferView_pimpl.C: adjust
514
515 2004-02-11  André Pönitz  <poenitz@gmx.net>
516
517         * lyxfunc.C:
518         * BufferView.[Ch]:
519         * BufferView_pimpl.C: shift undo/redo handling
520
521         * cursor.[Ch]: fix mathed crash
522
523         * lyxfind.C:
524         * lyxtext.h: move selectionAsText to LCursor
525
526         * output_latex.C:
527         * paragraph.C:
528         * text.C:
529         * text2.C:
530         * text3.C: adjust
531
532         * rowpainter.C: fix excessive drawing
533
534 2004-02-06  André Pönitz  <poenitz@gmx.net>
535
536         * BufferView.[Ch]:
537         * BufferView_pimpl.[Ch]:
538         * text3.C: move some text specific LFUN handling
539
540 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
541
542         * text3.C (checkInsetHit): adjust coords
543         * text2.C (getColumnNearX): adjust coords
544         (edit): adjust coords
545         * text.C (getRowNearY): add two asserts
546
547 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
548
549         * converter.C:
550         * format.C: add using std::distance to compile on gcc 2.95/stlport
551
552 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
553
554         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
555
556 2004-02-04  André Pönitz  <poenitz@gmx.net>
557
558         * BufferView.[Ch] (insertInset):
559         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
560
561         * text2.C:
562         * text3.C: adjust
563
564 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
565
566         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
567         on the default clause of the switch
568         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
569         wasn't catched by LCursor::dispatch
570
571 2004-02-03  André Pönitz  <poenitz@gmx.net>
572
573         * BufferView.C:
574         * cursor.[Ch]: some additional asserts
575
576         * undo.[Ch]: remove LyXText dependency in interface
577
578         * lyxfunc.C: adjust
579
580         * lyxtext.h (firstPar, lastPar): remove dead functions
581
582         * text.C:
583         * text2.C:
584         * text3.C:
585         * paragraph.[Ch]: adjust
586
587 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * lyxfind.C (find): fix argument order in call to ::find
590
591 2004-02-02  André Pönitz  <poenitz@gmx.net>
592
593         * cursor.[Ch]: remove direct access to anchor
594
595         * text.C: remove findText() hack
596
597 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * iterators.[Ch] (lockPath): remove in favour of...
600         * BufferView.[Ch] (setCursor): this addition
601         * BufferView.C (putSelectionAt): adjust
602         * undo.C (performUndoOrRedo): adjust
603         * lyxfunc.C (dispatch): adjust
604
605 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
606
607         * iterators.C (lockPath): add a missing slice
608         * undo.C (performUndoOrRedo): remove redundant positioning code
609
610 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * vc-backend.C (scanMaster): ";" -> ';'
613
614 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
615
616         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
617         std::binary_function
618
619         * lyxtextclass.C (compare_name): rename to...
620         (LayoutNamesEqual): ...this
621
622         * lyxlex_pimpl.C (compare_tags): inherit from
623         std::binary_function, put back into anon namespace
624
625         * lyxfind.C (MatchString): inherig from std::binary_function
626         (findChange): use empty() istead of !size()
627
628         * format.C (FormatNamesEqual): new functor
629         (getFormat): use it
630         (getNumber): use it
631         (add): use it
632         (erase): use it
633         (setViewer): use it
634
635         * converter.C (compare_Converter): rename to...
636         (ConverterEqual): ...this, and fixup a bit.
637         (getConverter): use it, and make function const
638         (getNumber): use it, and make function const
639         (add): use it
640         (erase): use it:
641
642         * bufferlist.C: add using boost::bind
643
644         * MenuBackend.C (MenuNamesEqual): new functor
645         (hasMenu): use it, and make function const
646         (hasSubmenu): use nested bind to get rid of compare_memfun.
647
648 2004-01-30  André Pönitz  <poenitz@gmx.net>
649
650         * BufferView_pimpl.C:
651         * cursor.C:
652         * cursor.h:
653         * cursor_slice.[Ch]:
654         * lyxfunc.C:
655         * lyxtext.h:
656         * paragraph_funcs.C:
657         * paragraph_funcs.h:
658         * rowpainter.C:
659         * text.C:
660         * text2.C:
661         * text3.C: move some of the edit(x,y) handling to the insets
662         some coordinate changes.
663
664 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
665
666         * text.C: add using statements for std::advance and std::distance
667
668         * paragraph.C: add using statement for std::distance
669
670         * lyxfind.C: add using statement for std::advance
671
672         * cursor.C (region): remove std:: from swap
673         (openable): use nucleus in stead of operator->
674
675         * BufferView.C: add using statements for std::distance and std::swap
676
677 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
678
679         * iterators.C: Remove the pimple, move the needed structures to
680         the header file. Create accessor for the positions stack.
681         (asPosIterator): remove function
682
683         * PosIterator.C (PosIterator): move constructors to top of file
684         (PosIterator): reimplement the constructor taking a ParIterator in
685         terms of setFrom.
686         (setFrom): new function
687         (operator!=): inline it
688
689 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
690
691         * lyxfind.C (replaceAll): use std::advance
692
693         * iterators.h: inherit from std::iterator.
694
695         * PosIterator.C (advance, distance): remove
696         * PosIterator.h: interit from std::iterator.
697
698 2004-01-26  André Pönitz  <poenitz@gmx.net>
699
700         * BufferView.[Ch]:
701         * BufferView_pimpl.[Ch]:
702         * InsetList.[Ch]:
703         * PosIterator.[Ch]:
704         * buffer.h:
705         * bufferview_funcs.C:
706         * cursor.[Ch]:
707         * cursor_slice.h:
708         * factory.[Ch]:
709         * iterators.[Ch]:
710         * lyxfind.C:
711         * lyxfunc.C:
712         * lyxtext.h:
713         * output_docbook.C:
714         * output_latex.C:
715         * output_linuxdoc.C:
716         * output_plaintext.C:
717         * paragraph.[Ch]:
718         * paragraph_funcs.[Ch]:
719         * paragraph_pimpl.[Ch]:
720         * rowpainter.C:
721         * tabular.C:
722         * tabular.h:
723         * text.C:
724         * text2.C:
725         * text3.C: more IU:  dumps most of the rest of the mathcursor
726     implementation into cursor.[Ch]; "globalize" a bit of it.
727
728 2004-01-25  Angus Leeming  <leeming@lyx.org>
729
730         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
731
732 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
733
734         * LaTeXFeatures.h: add nice_ and nice() const
735         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
736
737 2004-01-20  André Pönitz  <poenitz@gmx.net>
738
739         * BufferView.[Ch]:
740         * BufferView_pimpl.C:
741         * PosIterator.C:
742         * bufferview_funcs.C:
743         * cursor.[Ch]:
744         * cursor_slice.[Ch]:
745         * factory.C:
746         * iterators.C:
747         * lyx_cb.C:
748         * lyxfind.C:
749         * lyxfunc.C:
750         * lyxtext.h:
751         * rowpainter.C:
752         * text.C:
753         * text2.C:
754         * text3.C:
755         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
756           LCursor and mathcursor parts to LCursor and InsetBase.
757
758 2004-01-15  André Pönitz  <poenitz@gmx.net>
759
760         * cursor_slice.[Ch]: add a few covienience functions
761
762         * funcrequest.[Ch]: remove BufferView * member
763
764         * BufferView_pimpl.C:
765         * cursor.C:
766         * factory.[Ch]:
767         * lyxfind.[Ch]:
768         * lyxfunc.C:
769         * lyxtext.h:
770         * text3.C:
771         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
772
773 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
774
775         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
776         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
777
778 2004-01-13  André Pönitz  <poenitz@gmx.net>
779
780         * textcursor.[Ch]:
781         * lyxtext.h: hide cursor and selection anchor behind accessor function
782
783         * BufferView.C:
784         * BufferView_pimpl.[Ch]:
785         * PosIterator.C:
786         * bufferview_funcs.C:
787         * cursor.h:
788         * lyxfind.C:
789         * lyxfunc.C:
790         * text.C:
791         * text2.C:
792         * text3.C:
793         * undo.C: adjust
794
795         * cursor.h:
796         * cursor_slice.[Ch]: some integer type changes for inset unification
797
798         * lyxcursor.[hC]: remove, it's CursorSlice now.
799
800         * Makefile.am:
801         * BufferView_pimpl.[Ch]:
802         * bufferview_funcs.C:
803         * cursor_slice.C:
804         * lyxtext.h:
805         * text.C:
806         * text2.C:
807         * text3.C:
808         * textcursor.[Ch]: adjust
809
810 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
811
812         * text2.C (undoSpan): add and use
813         * text.C (breakParagraph): use undoSpan (fix bug 578)
814         * lyxtext.h: adjust
815
816 2004-01-08  Angus Leeming  <leeming@lyx.org>
817
818         * BufferView_pimpl.C (MenuInsertLyXFile):
819         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
820         * lyxfunc.C (menuNew, open, doImport):
821         FileFilterList change to the FileDialog open and save functions.
822
823 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
824
825         * ShareContainer.h: make isEqual and isUnique adaptable
826
827         * CutAndPaste.C: make resetOwnerAndChanges adaptable
828
829 2004-01-07  Angus Leeming  <leeming@lyx.org>
830
831         * LyXAction.C:
832         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
833
834         * BufferView_pimpl.C (dispatch): act on these LFUNs.
835
836         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
837         functions replacing find, replace and replaceAll.
838
839         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
840         LFUN_WORDFIND(FORWARD|BACKWARD).
841
842 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
843
844         * text.C (breakParagraph): remove an outdated #warning
845
846 2004-01-07  André Pönitz  <poenitz@gmx.net>
847
848         * lyxfind.C: somewhat clearer logic
849
850         * text.C: prevent crash in cursorX on unitialized row cache
851
852 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * lyxcursor.[Ch] (operator>): add
855         * textcursor.C (selStart, selEnd): use std::min and std::max
856
857 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
858
859         * Chktex.C: include boost/format.hpp
860
861 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
862
863         * InsetList.C: replace functor MathcIt with adaptable functor
864         InsetTablePosLess
865         (insetIterator): modify accordingly
866
867         * BranchList.h: move the BranchNamesEqual functor here from...
868         * BranchList.C: ... to here
869
870         * BranchList.C: new BranchListEqual fuctor, use it. Remove
871         SameName and match.
872         (add): replace a finding loop with std::find_if.
873
874 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * output_docbook.C: moving LatexParam functionality into
877         .layout files
878
879 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * buffer.C: increment format to 229.
882
883 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
884
885         * LaTeXFeatures.C:
886         * lyx_sty.[Ch]: remove minipageindent_def
887
888         * LyXAction.C:
889         * factory.C:
890         * lfuns.h:
891         * lyxfunc.C:
892         * text3.C: remove LFUN_INSET_MINIPAGE
893
894 2003-12-28  Angus Leeming  <leeming@lyx.org>
895
896         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
897
898 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
899
900         * text2.C (setParagraph): fix off-by-one crash
901
902 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * output_docbook.C: header stuff for AGU
905
906 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
907
908         * text2.C (redoCursor): remove
909         * text.C:
910         * text3.C:
911         * BufferView_pimpl.C: remove calls to redoCursor and
912         setCursor(cursor.par(), cursor.pos()) all around
913
914 2003-12-15  Angus Leeming  <leeming@lyx.org>
915
916         * buffer.C: up the format to 228.
917
918 2003-12-15  André Pönitz  <poenitz@gmx.net>
919
920         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
921         slices
922
923         * Makefile.am:
924
925         * BufferView_pimpl.C:
926         * cursor.[Ch]:
927         * lyxcursor.[Ch]:
928         * rowpainter.[Ch]:
929         * lyxtext.h:
930         * text.C:
931         * text2.C:
932         * text3.C: adjust
933
934 2003-12-15  Angus Leeming  <leeming@lyx.org>
935
936         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
937         than getFromGUIName to manipulate the color.
938
939 2003-12-14  Angus Leeming  <leeming@lyx.org>
940
941         * BranchList.[Ch]: minimize the API.
942         (Branch::getBranch, getColor): now return a 'const &'.
943         (Branch::setSelected) now returns a bool set to true if the
944         selection status changes.
945         (BranchList::clear, size, getColor, setColor, setSelected,
946         allBranches, allSelected, separator): removed.
947         (BranchList::find): new functions, returning the Branch with
948         the given name.
949         (BranchList::add, remove): return a bool indicating that
950         the operation was successful.
951
952         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
953         new InsetBranch::isBranchSlected member function.
954
955         * LColor.[Ch]: mimimize the API.
956         (fill): renamed as addColor and made private.
957         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
958         versions of these functions taking a string arg have been removed.
959
960         * bufferparams.C (readToken):
961         * lyxfunc.C (dispatch):
962         * lyxrc.C (read): changes due to the altered BranchList and
963         LColor APIs.
964
965         * factory.C (createInset, readInset): changes due to altered
966         InsetBranch c-tor.
967
968 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
969
970         * factory.C:
971         * lyxfunc.C: remove insetminipage. "minipage-insert"
972         now produces a frameless minipage box inset.
973
974 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
975
976         * textcursor.[Ch] (selStart,selEnd): add new methods
977         remove selection::start, end, use LyXCursor::operator<
978         * lyxcursor.[Ch] (operator<): add
979         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
980         * BufferView.[Ch] (unsetXSel): add
981         * text2.C (clearSelection): use unsetXSel,adjust
982         * text.C: adjust
983         * text3.C: adjust
984         * rowpainter.C: adjust
985         * bufferview_funcs.C (put_selection_at): adjust
986
987 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * BufferView_pimpl.C: small coord. correction
990
991 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
992
993         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
994         dragging over the splash screen.
995
996 2003-12-11  Angus Leeming  <leeming@lyx.org>
997
998         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
999         as it is now handled in LyXText::dispatch.
1000
1001         * text3.C (doInsertInset): remove a level of nesting.
1002
1003 2003-12-11  Angus Leeming  <leeming@lyx.org>
1004
1005         * factory.C (createInset): changes due to the changed interface to
1006         InsetCommandMailer::string2params.
1007
1008 2003-12-10  Angus Leeming  <leeming@lyx.org>
1009
1010         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1011         'dialog-show-new-inset <inset name>'
1012
1013 2003-12-10  Angus Leeming  <leeming@lyx.org>
1014
1015         * buffer.C: up the format to 227.
1016
1017         * factory.C: the box inset is now identified simply by 'Box'.
1018
1019 2003-12-10  Angus Leeming  <leeming@lyx.org>
1020
1021         * buffer.C: up the format to 226.
1022
1023         * factory.C: the note inset is now identified simply by 'Note'.
1024
1025 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1026
1027         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1028         when a pit is enough. Standarize a couple of loops.
1029
1030 2003-12-05  Angus Leeming  <leeming@lyx.org>
1031
1032         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1033         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1034         data to the re-worked "log" dialog.
1035
1036 2003-12-03  André Pönitz  <poenitz@gmx.net>
1037
1038         * PosIterator.C:
1039         * iterators.C:
1040         * lyxtext.h:
1041         * output_latex.C:
1042         * paragraph_funcs.C:
1043         * text.C:
1044         * text2.C: use Inset::getText instead of Inset::getParagraph
1045
1046 2003-12-03  André Pönitz  <poenitz@gmx.net>
1047
1048         * buffer.[Ch]:
1049         * lyxtext.h:
1050         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1051         InsetText::read() as LyXText::read()
1052
1053 2003-12-02  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1056         type. Add a comment in the implementation that the function uses
1057         the stream's bad() function rather than fail() as the std::streams
1058         would do.
1059
1060 2003-12-02  André Pönitz  <poenitz@gmx.net>
1061
1062         * lyxlex.[Ch]: make interface more similar to std::stream
1063
1064         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1065
1066 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1067
1068         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1069
1070 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1071
1072         * vspace.[Ch]: remove VSpace::NONE
1073
1074 2003-12-01  André Pönitz  <poenitz@gmx.net>
1075
1076         * buffer.[Ch]:
1077         * lyxtext.h: move ParagraphList member to LyXText
1078         rename LyXText::ownerParagraphs to LyXText::paragraph
1079
1080         * CutAndPaste.C:
1081         * bufferview_funcs.C:
1082         * iterators.[Ch]:
1083         * lyx_cb.C:
1084         * paragraph.C:
1085         * rowpainter.C:
1086         * tabular.C:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: adjust
1090
1091         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1092
1093         * undo.C: fix cursor positioning
1094
1095 2003-12-01  John Levon  <levon@movementarian.org>
1096
1097         * BufferView_pimpl.C: fix a crash on exit with
1098         a buffer open
1099
1100 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * BranchList.C: fix setSelected() method.
1103
1104 2003-11-28  André Pönitz  <poenitz@gmx.net>
1105
1106         * ParagraphParameters.[Ch]:
1107         * ParameterStruct.h: remove space above/below from Paragraph to
1108          InsetVSpace
1109
1110         * BufferView_pimpl.C:
1111         * factory.C:
1112         * lyxfunc.C:
1113         * lyxtext.h:
1114         * output_latex.C:
1115         * paragraph.C:
1116         * paragraph_funcs.C:
1117         * rowpainter.[Ch]:
1118         * text.C:
1119         * text2.C:
1120         * text3.C: adjust
1121
1122 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * factory.C: Syntax change for CharStyles
1125
1126 2003-11-28  André Pönitz  <poenitz@gmx.net>
1127
1128         * BufferView.[Ch]:
1129         * BufferView.[Ch]:
1130         * buffer.[Ch]:
1131         * buffer.[Ch]: move LyXText member
1132
1133 2003-11-28  André Pönitz  <poenitz@gmx.net>
1134
1135         * BufferView.[Ch]: make LyXText * text a private member
1136
1137         * BufferView_pimpl.C:
1138         * cursor.C:
1139         * iterators.C:
1140         * lyx_cb.C:
1141         * lyxfind.C:
1142         * lyxtext.h:
1143         * rowpainter.[Ch]:
1144         * text.C:
1145         * text2.C:
1146         * undo.C: adjust
1147
1148         * output_plaintext.C: cleanup
1149
1150 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * buffer.C:
1153         * lyxtextclass.[Ch]: parametrize SGML document header
1154
1155 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1156
1157         * converter.[Ch]:
1158         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1159         getFlavor().
1160
1161 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * text2.C (setFont): rework using PosIterator (no more recursive)
1164         (setCharFont): no more needed
1165         (setLayout): no more selection cursors fiddling (done by redoCursor)
1166         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1167         destroy remaining ones)
1168
1169 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1172         * lyxtext.h: ditto
1173         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1174         selection cursors
1175         * lyxfunc.C: adjust
1176         * text3.C: adjust + re-allow multi par depth changes
1177         * textcursor.C: simplify a bit
1178
1179 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1180
1181         * src/buffer.C:
1182         * src/lyxlayout.C:
1183         * src/lyxlayout.h:
1184         * src/lyxtext.h:
1185         * src/output_docbook.C:
1186         * src/output_latex.C:
1187         * src/paragraph.C:
1188         * src/paragraph.h:
1189         * src/sgml.C:
1190         * src/sgml.h:
1191         * src/text2.C: Introducing a number of tags parametrizing various
1192         XML formats that we may want to support
1193
1194 2003-11-25  André Pönitz  <poenitz@gmx.net>
1195
1196         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1197
1198         * lyxtext.h (leftMargin/rightMargin): simplify interface
1199
1200         * rowpainter.C:
1201         * text.C:
1202         * text2.C:
1203         * text3.C: adjust
1204
1205 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1206
1207         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1208         master file to any child files. Fixes bug 546.
1209
1210 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1211
1212         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1213
1214 2003-11-24  André Pönitz  <poenitz@gmx.net>
1215
1216         * rowpainter.C: simplification
1217
1218         * text2.C (updateCounters): remove call to redoParagraph on
1219         changed labels as this is far too expensive.
1220
1221 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * converter.C (convert): fix a crash: this function gets
1224         called with buffer == 0 from importer code.
1225
1226 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1227
1228         * text3.C (cursorPrevious): make sure that we do not compare
1229         iterators form different containers.
1230         (cursorNext): ditto
1231
1232         * rowpainter.C (paintSelection): make sure that we do not compare
1233         iterators from different containers.
1234
1235         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1236         iterators from different ParagraphList containers.
1237         [NEXT] ditto
1238
1239         * text2.C (LyXText): change order of initialization slightly
1240         (operator=): new function. copy all variables except cache_par_
1241         (moveUp): make sure that we do not compare iterators from
1242         different ParagraphList constainers.
1243         (moveDown): ditto
1244
1245         * text.C (firstPar): new function
1246         (lastPar): new function
1247         (endPar): new function
1248
1249         * lyxtext.h: move things around and group public functions, public
1250         variables, private functions, private variables
1251
1252 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1253
1254         * factory.C: change call to InsetERT constructor to avoid
1255         additional invocation of method status
1256         * text2.C (toggleInset): remove redundant update() call
1257         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1258         instead of a Bufferview pointer
1259
1260 2003-11-21  André Pönitz  <poenitz@gmx.net>
1261
1262         * rowpainter.C: simplification
1263
1264 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1265
1266         * text3.C (dispatch): make possible to extend a word/row selection
1267         with the mouse
1268
1269 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1270
1271         * lyxtext.h: x0_,y0_ -> xo_,yo_
1272         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1273         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1274         * rowpainter.C (paintRows): paint full paragraphs
1275
1276 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1279         screen coordinates)
1280
1281 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1282
1283         * lyxtext.h: add x0_, y0_
1284         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1285         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1286
1287 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1288
1289         * text2.C (setCursorIntern): move the x_target update here *
1290         * text3.C: change some bv() to true/false in calls to
1291         cursorUp/Down/Right/Left
1292         * cursor.C: use helper function.
1293
1294 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1295
1296         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1297         * paragraph_funcs.[Ch]: correct comment
1298         * rowpainter.C: do not paint selections away from bv->cursor()
1299         Fix a long standing selection painting bug.
1300         * text3.C: generalize mouse-selection code to LyXTexts other that
1301         top one
1302         * textcursor.C: do not use y coords if we can use par offsets
1303
1304 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1305
1306         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1307         cursor position after e.g. inset insert)
1308
1309 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1310
1311         * lyxfind.C (replace): adjust to locking removal + some
1312         code simplification
1313
1314 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1315
1316         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1317         of the path
1318
1319 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1320
1321         * lyxlayout.[Ch]:
1322         * output_docbook.C: XML sanitation: new layout
1323         parameters InnerTag and CommandDepth
1324
1325 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1326
1327         * BufferView_pimpl.C:
1328         * factory.C:
1329         * text3.C: Fix the insertion and modification of button-style
1330         insets
1331
1332 2003-11-13  André Pönitz  <poenitz@gmx.net>
1333
1334         * InsetList.[Ch]: remove deleteLyXText
1335
1336         * paragraph.[Ch]: cache beginOfBody position
1337
1338         * Bidi.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C: remove superfluous update() calls
1342
1343         * vspace.C: cleanup
1344
1345 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1348         * BufferView.C (fitLockedInsetCursor): remove
1349         * cursor.[Ch] (getDim): add
1350         * text.C (getRowNearY): add faster version
1351         * text3.C: remove some update calls
1352
1353 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * LaTeXFeatures.C:
1356         * LyXAction.C:
1357         * MenuBackend.C:
1358         * MenuBackend.h:
1359         * dispatchresult.h:
1360         * factory.C:
1361         * lfuns.h:
1362         * lyxfunc.C:
1363         * lyxtextclass.C:
1364         * lyxtextclass.h:
1365         * text3.C: The Character Style /XML short element patch.
1366
1367 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1368
1369         * text3.C:
1370         * factory.C: Small step to solving 'unable to insert some insets'
1371         problem
1372
1373 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1374
1375         * cursor.[Ch] (updatePos): new function for updating the y
1376         position of the tip inset
1377         * bufferview_funcs.C (put_selection_at):
1378         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1379
1380 2003-11-11  André Pönitz  <poenitz@gmx.net>
1381
1382         * text.C: remove big comment on invalid Paragraph pointers as it is
1383         not valid anymore
1384
1385 2003-11-11  André Pönitz  <poenitz@gmx.net>
1386
1387         * text_funcs.[Ch]: merge with ...
1388
1389         * text.C: ... this
1390
1391         * lyxtext.h:
1392         * text2.C:
1393         * text3.C: adjust
1394
1395         * Makefile.am: remove text_funcs.[Ch]
1396
1397 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1398
1399         * cursor.C (getPos): return absolute cached y coord
1400
1401         * BufferView_pimpl.C (fitCursor): new simplistic code
1402         (workAreaDispatch): add a fitCursor call
1403
1404 2003-11-10  André Pönitz  <poenitz@gmx.net>
1405
1406         * BufferView.[Ch]:
1407         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1408
1409 2003-11-10  André Pönitz  <poenitz@gmx.net>
1410
1411         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1412         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1413         indicate that the cursor needs to leave an inset
1414
1415         * lyxtext.h: remove inset locking
1416
1417         * cursor.[Ch]: re-implement functionality provided by inset locking
1418
1419         * BufferView.[Ch]:
1420         * BufferView_pimpl.[Ch]:
1421         * LyXAction.C:
1422         * bufferview_funcs.[Ch]:
1423         * factory.C:
1424         * funcrequest.[Ch]:
1425         * iterators.C:
1426         * lyx_cb.C:
1427         * lyxfind.C:
1428         * lyxfunc.C:
1429         * text.C:
1430         * text2.C:
1431         * text3.C:
1432         * undo.C: adjust
1433
1434 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1435
1436         * PosIterator.[Ch]: replace the stack with a vector, add inset
1437         accesor
1438         * iterators.[C]: adjust
1439
1440 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1441
1442         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1443         replaced
1444         * paragraph_funcs.C (readParToken): put the correct id in the
1445         error item, not the id of the top paragraph
1446
1447 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1448
1449         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1450         * bufferview_funcs.C (put_selection_at): use the above
1451
1452 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1455
1456 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * output_linuxdoc.h:
1459         * output_plaintext.h:
1460         * output.h:
1461         * output_docbook.h: add #include statements
1462
1463 2003-11-05  José Matos  <jamatos@lyx.org>
1464
1465         * output_docbook.[Ch]:
1466         * output_latex.[Ch]:
1467         * output_linuxdoc.[Ch]:
1468         * output_plaintext.[Ch]: New files for output formats.
1469         * output.[Ch]: New file for helper functions.
1470
1471         * buffer.[Ch]:
1472         * paragraph_funcs.[Ch]: output functions moved to new files.
1473
1474         * outputparams.h: rename of latexrunparams.h
1475
1476         * LaTeX.[Ch]:
1477         * buffer.[Ch]:
1478         * bufferlist.[Ch]:
1479         * converter.[Ch]:
1480         * exporter.C:
1481         * paragraph.[Ch]:
1482         * paragraph_funcs.[Ch]:
1483         * paragraph_pimpl.[Ch]:
1484         * tabular.[Ch]: rename ascii to plaintext
1485         and LatexRunParams to OutputParams.
1486
1487 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * iterators.[Ch] (text): require bv argument
1490         * undo.C (recordUndo):
1491         * lyxfunc.C (dispatch):
1492         * bufferview_funcs.C (put_selection_at): adjust
1493
1494 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1495
1496         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1497
1498 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1501         nestings
1502
1503 2003-11-04  André Pönitz  <poenitz@gmx.net>
1504
1505         * cursor.[Ch]: restructure
1506
1507         * BufferView.[Ch]:
1508         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1509
1510         * iterators.[Ch] (asCursor): remove
1511
1512         * lfuns.h: remove LFUN_INSET_EDIT
1513
1514         * lyxfunc.C:
1515         * tabular.C:
1516         * text.C:
1517         * text2.C:
1518         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1519
1520 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1521
1522         * lyxfind.[Ch]: complete overhaul
1523         * BufferView_pimpl.C:
1524         * lyxfunc.C: adjust
1525         * paragraph.[Ch] (insert): add
1526
1527 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1528
1529         * BufferView.[Ch]:
1530         * lyxtext.h:
1531         * text.C: remove dead spellcheck code
1532
1533 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * dispatchresult.h: add a val setter
1536
1537         * cursor.C (dispatch): use a tempvar for data_[i]
1538
1539 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1540
1541         * PosIterator.[Ch]: compile fix
1542
1543 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * text.C (cursorPar): deactivate the cursor cache
1546
1547 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1548
1549         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1550
1551 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1552
1553         * text3.C (dispatch): adjust for new DisptchResult semantics.
1554
1555         * lyxfunc.C (dispatch): handle update when return from
1556         Cursor::dispatch, adjust for new DispatchResult semantics.
1557
1558         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1559         DispatchResult(true) mean to not update. Add class functions for
1560         setting dispatched and update, as well as reading.
1561
1562         * cursor.C (dispatch): don't handle update here
1563
1564 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1565
1566         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1567         * trans_mgr.C: adjust
1568
1569         * paragraph_funcs.C (readParToken): exception safety
1570
1571         * lyxvc.h: store the vcs pointer in a scoped_ptr
1572         * lyxvc.C: adjust
1573
1574         * lyxsocket.C (serverCallback): exception safety
1575
1576         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1577
1578         * ispell.C (clone): make it return a auto_ptr
1579
1580         * factory.C (createInset): exception safety
1581         (readInset): exception safety
1582
1583         * bufferlist.C (newBuffer): exception safety
1584
1585         * Thesaurus.C (Thesaurus): use initialization for aik_
1586
1587         * MenuBackend.C (expandToc): exception safety.
1588
1589 2003-11-03  André Pönitz  <poenitz@gmx.net>
1590
1591         * buffer.C:
1592         * buffer.h:
1593         * bufferview_funcs.C: remove getInsetFromId()
1594
1595         * lyxcursor.[Ch]:
1596         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1597
1598         * lyxfunc.C:
1599         * text2.C:
1600         * text3.C: adjust
1601
1602 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1603
1604         * PosIterator.C (distance, advance): new
1605         * bufferview_funcs.[Ch] (put_selection_at): new
1606         * iterators.[Ch] (lockPath): new
1607
1608 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1609
1610         * iterators.[Ch] (asPosIterator): added
1611         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1612         * PosIterator.[Ch]: added
1613
1614 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1615
1616         * text3.C:
1617         * lyxfunc.C:
1618         * cursor.C (dispatch):
1619         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1620
1621         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1622         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1623         contructor, add a class function dispatched. Remove operator>=
1624
1625 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * debug.C: only use the default constructor for debugstream
1628         (lyxerr) here.
1629
1630         * main.C (main): include debug.h and setup the lyxerr streambuf
1631         here.
1632
1633 2003-10-31  José Matos  <jamatos@lyx.org>
1634
1635         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1636
1637         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1638         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1639         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1640         * paragraph_pimpl.C (simpleTeXSpecialC):
1641         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1642         add LatexRunParams argument.
1643
1644         * exporter.C (Export): change call accordingly.
1645
1646         * latexrunparams.h: add new member to take care of the other backends.
1647 2003-10-30  José Matos  <jamatos@lyx.org>
1648
1649         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1650         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1651         factorise code for paragraph output.
1652         * buffer.[Ch]:
1653         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1654         move functions.
1655
1656 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * text3.C (dispatch):
1659         * lyxfunc.C (dispatch):
1660         * cursor.C (dispatch):
1661         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1662
1663         * dispatchresult.h: make the dispatch_result_t ctor explicit
1664
1665 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1666
1667         * sgml.[Ch]:
1668         * buffer.C: small refactoring of docbook stuff
1669
1670 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1673         meaning.
1674
1675 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1676
1677         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1678         operator dispatch_result_t, and operators for == != and >=
1679
1680         * cursor.C (dispatch): adjust for operator dispatch_result_t
1681         removal. comment out call to update
1682
1683         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1684
1685 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * text3.C:
1688         * text2.C:
1689         * text.C:
1690         * lyxtext.h:
1691         * lyxfunc.C:
1692         * cursor.C:
1693         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1694         (dispatch):
1695
1696         * dispatchresult.h: new file, DispatchResult broken out of
1697         insets/insetbase.h
1698
1699         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1700
1701 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * text.C (rowBreakPoint): put a hack inside #if 0
1704
1705 2003-10-28  André Pönitz  <poenitz@gmx.net>
1706
1707         * lyxtext.h:
1708         * metricsinfo.C:
1709         * paragraph_funcs.C:
1710         * rowpainter.C:
1711         * text.C:
1712         * text2.C: general cleanup (lots of small stuff)
1713
1714 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1715
1716         * text2.C (cursorEnd): simple fix to the "end key goes to one
1717         before the end on last row" bug
1718
1719 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1720
1721         * text.C (backspace): fix the "zombie characters"
1722
1723 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1724
1725         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1726
1727 2003-10-27  André Pönitz  <poenitz@gmx.net>
1728
1729         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1730
1731         * factory.C: handle new InsetPagebreak, InsetLine
1732
1733         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1734         and move handling into new InsetPagebreak, InsetLine
1735
1736         * BufferView_pimpl.C:
1737         * LyXAction.C:
1738         * ParagraphParameters.C:
1739         * ParameterStruct.h:
1740         * lyxfunc.C:
1741         * lyxtext.h:
1742         * paragraph.C:
1743         * paragraph.h:
1744         * paragraph_funcs.C:
1745         * paragraph_pimpl.C:
1746         * rowpainter.C:
1747         * text.C:
1748         * text2.C:
1749         * text3.C: adjust
1750
1751 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1752
1753         * text.C:
1754         * lyxrow_funcs.[Ch]:
1755         * Bidi.C:
1756         * paragraph.C:
1757         * lyxtext.h:
1758         * rowpainter.C:
1759         * text2.C:
1760         * text3.C: remove lastPos uses in favour of Row::endpos
1761
1762 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * undo.C (performUndoOrRedo): fix two crashes by setting a
1765         cursor by hand and reordering some calls. Use bv->lockInset instead
1766         of inset->edit because the latter loses cursor information
1767
1768 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1769
1770         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1771         by Martin
1772         (rowBreakPoint): fix width. change point to point + 1.
1773         Add a missing check.
1774
1775 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1776
1777         * MenuBackend.C:
1778         * lyxfunc.C: fix (at least partly) the problems
1779         with the Nav menu and headers inside branch insets
1780         reported by Kayvan
1781
1782 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1783
1784         * paragraph.C (getChar): add strong asserts
1785
1786         * lyxrow_funcs.C (lastPos): remove hideous hack
1787
1788         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1789         (fill): adjust to that (avoid an infinite loop)
1790
1791 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1792
1793         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1794
1795 2003-10-23  André Pönitz  <poenitz@gmx.net>
1796
1797         * RowList_fwd.h: change list<> to vector<> to gain speed
1798         after suggestion from Alfredo
1799
1800 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * lyxtext.h: move the bidi stuff from here...
1803         * text.C: and here
1804         * text2.C: and here
1805         * Bidi.[Ch]: ... to here
1806
1807 2003-10-23  André Pönitz  <poenitz@gmx.net>
1808
1809         * lyxtext.h:
1810         * text.C (isLastRow, isFirstRow): new functions
1811
1812         * paragraph.h: new width cache member
1813
1814         * rowpainter.C: replace RowList::iterator with Row & where possible
1815
1816         * lyxfunc.C: replace several view()->text with a single call
1817
1818         * toc.C: fix 'unused' warning
1819
1820 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1823         when woring with stream::pos_type
1824         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1825
1826 2003-10-22  André Pönitz  <poenitz@gmx.net>
1827
1828         * lyxtext.h:
1829         * text.C: use Row & instead of RowList::iterator
1830
1831         * lyxrow.h: rename end() to endpos()
1832
1833         * rowpainter.C:
1834         * text.C:
1835         * text2.C: adjust
1836
1837 2003-10-22  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer.[Ch] (fully_loaded): new member function, returning true
1840         only when the file has been loaded fully.
1841         Used to prevent the premature generation of previews and by the
1842         citation inset to prevent computation of the natbib-style label.
1843
1844         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1845         templates are all set up.
1846
1847         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1848
1849 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1850
1851         * text.C: fixed an "oops" in the "is a bit silly"
1852         bug fix
1853
1854 2003-10-21  André Pönitz  <poenitz@gmx.net>
1855
1856         * FuncStatus.[Ch]: small stuff, whitespace
1857
1858         * lyxfont.[Ch]: operator<<() for debug reasons
1859
1860         * lyxfunc.C:
1861         * lyxrow_funcs.C:
1862         * lyxtext.h: whitespace, spelling
1863
1864         * paragraph.C: naming of variables
1865
1866         * text.C:
1867         * text2.C: small stuff
1868
1869
1870 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1871
1872         * text.C: (1) finish off the inset display() work;
1873         (2) fix the "is a bit silly" bug (accessing char
1874         past end of par).
1875
1876 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1877
1878         * text.C: re-introduce display() for insets, fixing the
1879         various bugs (stretch of line above, math inset
1880         positioning, ...)
1881
1882 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * text.C (rightMargin): remove spurious semicolon
1885
1886         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1887         1415)
1888
1889 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1890
1891         * text3.C: fix one crash due to wrong cursor def
1892
1893 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * vc-backend.C (scanMaster): make the regex static
1896
1897         * LaTeX.C (scanAuxFile): make the regexs static
1898
1899         * text3.C (doInsertInset, dispatch, dispatch):
1900         * text2.C (cursorUp, cursorDown):
1901         * text.C (selectNextWordToSpellcheck):
1902         * BufferView_pimpl.C (dispatch):
1903         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1904
1905 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * lyxsocket.C: include <cerrno>
1908
1909 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1910
1911         * lyxfunc.C (dispatch): remove textcache stuff
1912
1913         * bufferlist.C (release): remove textcache stuff
1914         (closeAll): ditto
1915
1916         * TextCache.C: delete file
1917         * TextCache.h: delete file
1918
1919         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1920
1921         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1922         delete of the bv_->text.
1923         (resizeCurrentBuffer): remove texcache stuff
1924         (workAreaResize): ditto
1925
1926 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1927
1928         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1929         action.
1930
1931 2003-10-16  André Pönitz  <poenitz@gmx.net>
1932
1933         * lyxrow.[Ch]:
1934         * paragraph.h:
1935         * rowpainter.C:
1936         * text.C:
1937         * text2.C:
1938         * text3.C: speed up by storing y positions per paragraph plus per-row
1939         offset instead of having a 'full' y position in the row.
1940
1941 2003-10-15  André Pönitz  <poenitz@gmx.net>
1942
1943         * iterators.[Ch]:
1944         * iterators.[Ch]:
1945         * undo.[Ch]: make undo aware of inner insets
1946
1947 2003-10-14  Angus Leeming  <leeming@lyx.org>
1948
1949         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1950         static member functions LyX::ref() and LyX::cref.
1951         (lastfiles): new accessor functions for the new lastfiles_ member var.
1952         (addLyXView, views_): add a new LyXView to the list of views_.
1953         (updateInset): loop over all LyXViews to call their own updateInset
1954         member function, returning a pointer to the Buffer owning the inset.
1955
1956         * BufferView_pimpl.C (loadLyXFile):
1957         * MenuBackend.C (expandLastfiles):
1958         * bufferlist.C (MenuWrite, QuitLyX):
1959         lastfiles is no longer a global variable.
1960         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1961
1962         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1963         static function. Access through LyX::cref().emergencyCleanup().
1964
1965 2003-10-14  André Pönitz  <poenitz@gmx.net>
1966
1967         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1968
1969         * undo.[Ch]: restoring part of 'undo in insets'
1970
1971         * Makefile.am:
1972         * undo_funcs.[Ch]: merge with undo.[Ch]
1973
1974         * tabular.C: small cleansing stuff
1975
1976 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1977
1978         * paragraph_funcs.C (readParToken): report unknown insets as error
1979         boxes. Use the outer paragraph as location (also for unknown
1980         tokens).
1981
1982         * factory.C (readInset): do not abort on reading an unknown inset.
1983         Eat it and return 0.
1984
1985 2003-10-13  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1988
1989         * lyxrc.C: displayTranslator is now a function,
1990         declared in GraphicsTypes.h.
1991
1992 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1993
1994         * format.C: new placeholder $$a to pass the socket address.
1995
1996         * bufferlist.[Ch]: new function getBufferFromTmp.
1997
1998         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1999           files in the temporary dir.
2000
2001 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2002
2003         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2004
2005         * Makefile.am: add lyxsocket.[Ch].
2006
2007         * lyx_main.C (error_handler): handle SIGPIPE.
2008
2009 2003-10-13  André Pönitz  <poenitz@gmx.net>
2010
2011         * BufferView_pimpl.C:
2012         * lyxtext.h:
2013         * text.C:
2014         * text2.C:
2015         * text3.C:
2016         * undo_funcs.[Ch]: use paroffset_type instead of
2017           ParagraphList::iterators to prevent multiple conversion
2018           (and get a more robust interface)
2019
2020 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2021
2022         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2023         * lyxtext.h: ditto
2024         * text3.C (dispatch): ditto
2025
2026 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2029         move the onlyfile, use onlyfile instead of foundfile in a couple
2030         of places.
2031
2032         * DepTable.C (update): flush the error stream a bit more
2033
2034 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * lyxserver.C (callback): adjust
2037
2038         * lyxfunc.C (getStatus): add a missing brace in commented code
2039         (ensureBufferClean): reindent
2040         (dispatch): delete version taking a string
2041
2042 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * LaTeX.C (deplog): move found file handlig from here...
2045         (handleFoundFile): .. to new function here.
2046         (deplog): make sure to discover several files mentioned on the
2047         same log line.
2048
2049 2003-10-10  André Pönitz  <poenitz@gmx.net>
2050
2051         * lyxfunc.C:
2052         * lyxtext.h:
2053         * tabular.C:
2054         * text.C:
2055         * text2.C:
2056         * text3.C: fix some of the tabular crashes
2057
2058 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2059
2060         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2061
2062         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2063
2064 2003-10-09  André Pönitz  <poenitz@gmx.net>
2065
2066         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2067
2068         * BufferView.C:
2069         * BufferView_pimpl.C:
2070         * bufferview_funcs.C:
2071         * lyx_cb.C:
2072         * lyxcursor.C:
2073         * lyxfind.C:
2074         * lyxfunc.C:
2075         * lyxtext.h:
2076         * text.C:
2077         * text2.C:
2078         * text3.C:
2079         * text_funcs.[Ch]:
2080         * textcursor.[Ch]:
2081         * undo_funcs.C: adjust
2082
2083 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * text2.C (incrementItemDepth): new function, use a backtracking
2086         algorithm to discover the correct item depth.
2087         (resetEnumCounterIfNeeded): new function, use a backtracking
2088         algorithm to discover if counter reset is needed.
2089         (setCounter): use them. Simplify a bit. Add different labels for
2090         different item depths for itemize.
2091
2092         * paragraph.C (Paragraph): remove initialization of enumdepth
2093         (operator=): ditto
2094
2095         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2096         enumerate and itemize. Change the type of itemdepth to signed char.
2097
2098 2003-10-08  André Pönitz  <poenitz@gmx.net>
2099
2100         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2101           thing assignable.
2102         * text.C:
2103         * text2.C: adjust
2104
2105         * tabular.[Ch]: fix crash after 'row-insert'
2106
2107 2003-10-08  Angus Leeming  <leeming@lyx.org>
2108
2109         Fix doxygen warnings.
2110
2111         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2112         Remove CutAndPaste:: prefix from header file declaration.
2113
2114         * LColor.h (fill): remove LColor:: prefix from declaration.
2115
2116         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2117         use lyx::depth_type rather than Paragraph::depth_type so that
2118         header file and .C file match.
2119
2120         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2121
2122         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2123         * aspell.C: \file aspell_local.C -> \file aspell.C
2124         * gettext.C: \file gettext.C -> \file src/gettext.C
2125         * gettext.h: \file gettext.h -> \file src/gettext.h
2126         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2127         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2128         * text.C: \file text.C -> \file src/text.C
2129
2130         * toc.C: move comment so that doxygen is not confused.
2131
2132 2003-10-07  Angus Leeming  <leeming@lyx.org>
2133
2134         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2135
2136 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2137
2138         * aspell.C:
2139         * aspell_local.h: add forgotten std::string's.
2140
2141 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2142
2143         * LaTeXFeatures.C:
2144         * LyXAction.C:
2145         * factory.C:
2146         * lfuns.h:
2147         * lyxfunc.C:
2148         * text3.C: The Box patch. Fancybox support, minipage, parbox
2149
2150 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2151
2152         * CutAndPaste.h:
2153         * DepTable.h:
2154         * FloatList.h:
2155         * LaTeXFeatures.h:
2156         * ParagraphParameters.h:
2157         * TextCache.h:
2158         * Thesaurus.h:
2159         * bufferlist.h:
2160         * exporter.h:
2161         * importer.h:
2162         * lastfiles.h:
2163         * lyxfind.h:
2164         * lyxfont.h:
2165         * lyxlex.h:
2166         * lyxtextclasslist.h:
2167         * messages.h:
2168         * paragraph.h:
2169         * paragraph_pimpl.C:
2170         * textcursor.h: add <string> and other small fixes to make Lars'
2171         std::string patch compile with STLport.
2172
2173 2003-10-06  Angus Leeming  <leeming@lyx.org>
2174
2175         * LColor.h: Add missing #include <string>.
2176
2177 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2178
2179         * All most all file in all subdirs: Make <string> be the prefered
2180         way of getting to std::string, add using declarations.
2181
2182 2003-10-06  André Pönitz  <poenitz@gmx.net>
2183
2184         * metricsinfo.C: initialize LyXFont before changing attribute.
2185         (fixes the 'math in \emph is upright' bug)
2186
2187 2003-10-06  André Pönitz  <poenitz@gmx.net>
2188
2189         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2190
2191 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2192
2193         * graph.C:
2194         * paragraph_pimpl.C: Small fixes to build using STLport
2195
2196 2003-10-02  André Pönitz  <poenitz@gmx.net>
2197
2198         * lyxfunc.C:
2199         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2200
2201 2003-10-01  André Pönitz  <poenitz@gmx.net>
2202
2203         * factory.C: assert early
2204
2205 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * lyx_main.C: remove the global debug object
2208
2209         * debug.h: adjust for new debugstream
2210
2211         * debug.C: adjust for new debugstream and keep the global debug
2212         object here.
2213
2214 2003-09-22  Angus Leeming  <leeming@lyx.org>
2215
2216         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2217         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2218         an incomplete class LyXFont.
2219
2220 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2221
2222         * factory.C: bug fix in branches
2223
2224 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * lyxfunc.C (processKeySym): adjust
2227         (dispatch): adjust
2228         (dispatch): change arg name from ev to func, adjust
2229         (sendDispatchMessage): ditto
2230
2231         * lyx_main.C (defaultKeyBindings): adjust keybindings
2232         (deadKeyBindings): ditto
2233
2234         * kbsequence.C (addkey): return a FuncRequest
2235
2236         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2237
2238         * kbmap.C (bind): take a FuncRequest as arg, adjust
2239         (read): adjust
2240         (lookup): adjust
2241         (defkey): change to take a FuncRequest as arg, adjust
2242         (findbinding): take a FuncRequest as arg, adjust.
2243
2244         * funcrequest.h (operator=): added
2245
2246         * funcrequest.C (FuncRequest): default kb_action changed from
2247         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2248
2249         * buffer.C (dispatch): simplify
2250         (dispatch): adjust to take a FuncRequest as arg, adjust
2251
2252         * boost.C (assertion_failed): change assertion message slightly
2253
2254         * ToolbarBackend.C (read): simplify
2255
2256         * MenuBackend.C (binding): adjust call to findbinding, add a
2257         message if no binding is found.
2258         (read): simplify
2259         (expandToc): correct by adding a empty FuncRequest
2260
2261         * LyXAction.C: include <boost/assert.hpp>
2262         (isPseudoAction): delete function
2263         (LookupFunc): change name to...
2264         (lookupFunc): this. change return type to FuncRequest.
2265         (getActionName): take kb_action as arg, simplify
2266         (funcHasFlag): add an assert, simplify.
2267
2268 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * toc.C (action): return a FuncRequest, simplify
2271
2272         * lyxfunc.C (processKeySym): adjust
2273         (getStatus): delete version that takes an int.
2274         (getStatus): adjust
2275         (dispatch): delete version that takes action as int
2276         (dispatch): adjust
2277         (sendDispatchMessage): simplify and adjust
2278
2279         * funcrequest.C (getArg): take unsigned int as arg
2280
2281         * ToolbarBackend.C (read): adjust
2282         (add): delete version that takes func as a string.
2283         (getIton): take a FuncRequest as arg
2284
2285         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2286         action.
2287
2288         * MenuBackend.C (MenuItem): add a new construct that only takes a
2289         Kind, simplify the constructor use for submenus.
2290         (add): adjust
2291         (expandLastfiles): adjust
2292         (expandDocuments): adjust
2293         (expandFormats): adjust
2294         (expandFloatListInsert): adjust
2295         (expandFloatInsert): adjust
2296         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2297
2298         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2299         Remove class variables lyx_pseudo_map and lyx_arg_map
2300
2301         * LyXAction.C (searchActionArg): delete function
2302         (getPseudoAction): delete function
2303         (retrieveActionArg): delete function
2304         (LookupFunc): make it return kb_action, simplify.
2305         (getActionName): simplify
2306
2307         * factory.C (createInset): fix new bug
2308
2309 2003-09-19  Angus Leeming  <leeming@lyx.org>
2310
2311         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2312         masterFilename_ parameter in the include inset.
2313
2314         * factory.C (createInset): changes due to the changes to InsetInclude.
2315
2316 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2317
2318         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2319
2320 2003-09-18  Angus Leeming  <leeming@lyx.org>
2321
2322         * buffer.C:
2323         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2324         Inset::fillWithBibKeys.
2325         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2326
2327 2003-09-18  Angus Leeming  <leeming@lyx.org>
2328
2329         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2330         variables.
2331         (ctor): pass and store a 'Buffer const &'
2332         (buffer): new member function.
2333
2334         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2335         '*this' to the LaTeXFeatures ctor.
2336
2337 2003-09-18  Angus Leeming  <leeming@lyx.org>
2338
2339         * LColor.h:
2340         * lyxfont.C:
2341         * lyxfont.h:
2342         * lyxtext.h:
2343         * text.C: rename EnumLColor as LColor_color.
2344
2345 2003-09-18  Angus Leeming  <leeming@lyx.org>
2346
2347         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2348         remove #include "insets/insetbase.h" from cursor.h.
2349
2350 2003-09-18  Angus Leeming  <leeming@lyx.org>
2351
2352         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2353         InsetOld_code to remove #include "inset.h".
2354
2355         * iterators.C: add #include "insets/inset.h"
2356
2357 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2358
2359         * BufferView.C: remove more locking stuff that apparently doesn't
2360         do anything sensible.
2361
2362 2003-09-16  André Pönitz  <poenitz@gmx.net>
2363
2364         * paragraph.[Ch]:
2365         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2366           performance boost.
2367
2368 2003-09-16  Angus Leeming  <leeming@lyx.org>
2369
2370         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2371
2372         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2373         arg/return type.
2374
2375         * paragraph.h: remove #include "lyxfont.h". Forward declare
2376         LyXFont_size.
2377
2378 2003-09-16  Angus Leeming  <leeming@lyx.org>
2379
2380         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2381         of support/textutils.h.
2382         (isWord): move the contents of support/textutils.h's IsWordChar here.
2383
2384         * buffer.C:
2385         * lyxfind.C:
2386         * rowpainter.C:
2387         * text.C:
2388         * text2.C: add #include "paragraph.h".
2389
2390         * rowpainter.C:
2391         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2392
2393 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * main.C:
2396         * lyx_main.C:
2397         * lyx_cb.C:
2398         * buffer.C:
2399         * LaTeX.C: use namespace alias for lyx::support::os
2400
2401 2003-09-16  Angus Leeming  <leeming@lyx.org>
2402
2403         * bufferparams.C:
2404         * bufferview_funcs.C:
2405         * factory.C:
2406         * lyxfunc.C:
2407         * paragraph_pimpl.C:
2408         * rowpainter.C:
2409         * text.C: add #include "LColor.h".
2410
2411 2003-09-16  Angus Leeming  <leeming@lyx.org>
2412
2413         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2414         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2415         return LyXFont &.
2416         Store the FontBits::color variable as an int rather than as an
2417         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2418         file.
2419
2420         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2421         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2422         string calls together.
2423
2424         * lyxrc.C: add #include "LColor.h".
2425
2426 2003-09-15  Angus Leeming  <leeming@lyx.org>
2427
2428         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2429         a cow_ptr.
2430
2431 2003-09-15  Angus Leeming  <leeming@lyx.org>
2432
2433         * LColor.h: add an EnumLColor wrapper for LColor::color.
2434
2435         * lyxfont.[Ch] (color, setColor, realColor):
2436         * lyxtext.h, text.C (backgroundColor):
2437         pass EnumLColor args to/from the functions, rather than LColor::color
2438         ones.
2439
2440         * lyxfont.h:
2441         * lyxtext.h: forward declare EnumLColor.
2442
2443         * lyx_main.C: add #include "LColor.h".
2444
2445 2003-09-15  Angus Leeming  <leeming@lyx.org>
2446
2447         * .cvsignore: add lyx-gtk.
2448
2449 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * Chktex.C
2452         * LaTeX.C
2453         * LaTeXFeatures.C
2454         * ParagraphParameters.C
2455         * Spacing.C
2456         * buffer.C
2457         * bufferparams.C
2458         * bufferview_funcs.C
2459         * chset.C
2460         * counters.C
2461         * funcrequest.C
2462         * lyxfont.C
2463         * lyxgluelength.C
2464         * lyxlength.C
2465         * paragraph.C
2466         * paragraph_funcs.C
2467         * text3.C
2468         * vc-backend.C: remove usage of STRCONV
2469
2470 2003-09-15  Angus Leeming  <leeming@lyx.org>
2471
2472         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2473         explicitly define the color passed to the painter.
2474
2475 2003-09-15  Angus Leeming  <leeming@lyx.org>
2476
2477         * bufferparams.C (BufferParams): reorder member initializers to avoid
2478         compiler warning.
2479
2480 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2483         * text.C (updateRowPositions): remove an unusual nop
2484
2485 2003-09-12  André Pönitz  <poenitz@gmx.net>
2486
2487         * BufferView_pimpl.C:
2488         * Bullet.C:
2489         * layout.h:
2490         * lyxfunc.C:
2491         * lyxlayout.[Ch]:
2492         * lyxtextclass.C:
2493         * rowpainter.C:
2494         * text.C:
2495         * text2.C:
2496         * Counters.[Ch]: finish the 'automatic counters' job
2497
2498 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2499
2500         * aspell.C: include <boost/assert.cpp> (compile fix)
2501
2502 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2503
2504         * boost.C (assertion_failed): use lyx::support::abort instead of
2505         assert.
2506
2507 2003-09-10  Angus Leeming  <leeming@lyx.org>
2508
2509         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2510         with their _fwd progeny.
2511
2512 2003-09-09  Angus Leeming  <leeming@lyx.org>
2513
2514         134 files throughtout the source tree: replace 'using namespace abc;'
2515         directives with the appropriate 'using abc::xyz;' declarations.
2516
2517 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2518
2519         * boost.C (emergencyCleanup): moved here from LAssert.c
2520         (assertion_failed): new function, called by BOOST_ASSERT
2521
2522         * several files: change Assert to BOOST_ASSERT
2523
2524 2003-09-09  Angus Leeming  <leeming@lyx.org>
2525
2526         * buffer.[Ch]: Add an Impl class and move Buffer's member
2527         variables into it. As a result move several header files out of
2528         buffer.h.
2529
2530         Add header files to lots of .C files all over the tree as a result.
2531
2532 2003-09-09  Angus Leeming  <leeming@lyx.org>
2533
2534         * buffer.[Ch]: make Buffer's member variables private. Add
2535         accessor functions.
2536
2537         Lots of changes all over the tree as a result.
2538
2539 2003-09-08  Angus Leeming  <leeming@lyx.org>
2540
2541         * graph.C: #include <config.h>.
2542
2543 2003-09-08  Angus Leeming  <leeming@lyx.org>
2544
2545         * BranchList.C:
2546         * BufferView.C:
2547         * BufferView_pimpl.C:
2548         * CutAndPaste.C:
2549         * DepTable.C:
2550         * LaTeX.C:
2551         * LaTeXFeatures.C:
2552         * LyXAction.C:
2553         * MenuBackend.C:
2554         * TextCache.C:
2555         * aspell.C:
2556         * buffer.C:
2557         * bufferlist.C:
2558         * changes.C:
2559         * chset.C:
2560         * converter.C:
2561         * counters.C:
2562         * debug.C:
2563         * graph.C:
2564         * ispell.C:
2565         * lyx_cb.C:
2566         * lyxfind.C:
2567         * lyxfunc.C:
2568         * lyxlex_pimpl.C:
2569         * lyxrc.C:
2570         * lyxrow.C:
2571         * paragraph.C:
2572         * rowpainter.C:
2573         * texrow.C:
2574         * text.C:
2575         * text2.C:
2576         * toc.C: remove redundant using directives.
2577
2578 2003-09-07  Angus Leeming  <leeming@lyx.org>
2579
2580         * LaTeXFeatures.h: remove #include "support/types.h".
2581         * ToolbarBackend.h: remove #include <algorithm>.
2582         * changes.h: remove #include <ctime>.
2583         * debug.h: remove #include <iosfwd>.
2584         * graph.h: remove #include "support/std_string.h".
2585         * lyx_main.h: remove #include <csignal>.
2586         * lyxlex_pimpl.h: remove #include <fstream>.
2587         * sgml.h: remove #include <algorithm>, <utility>.
2588         * toc.h: remove #include "support/std_ostream.h".
2589         Add #include <iosfwd>.
2590
2591 2003-09-07  Angus Leeming  <leeming@lyx.org>
2592
2593         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2594
2595         * converter.h: forward declare LatexRunParams.
2596         * encoding.h: remove #include "lyxrc.h".
2597         * lyxtext.h: remove #include "LColor.h".
2598         * lyxtextclass.h: remove #include "support/types.h".
2599         * trans.h: remove #include "tex-accent.h".
2600         * trans_mgr.h: remove #include "tex-accent.h".
2601         * insets/inset.h: remove #include "support/types.h", <vector>.
2602         * insets/insetcollapsable.h: remove #include "LColor.h".
2603         * insets/insetinclude.h: remove #include "dimension.h".
2604         * insets/insetlatexaccent.h: remove #include "dimension.h".
2605         * insets/insetoptarg.h:: remove #include "insettext.h".
2606         * insets/insettext.h: remove #include "dimension.h",
2607         <boost/shared_ptr.hpp>
2608
2609         * insets/renderers.h: add #include "dimension.h".
2610         * insets/updatableinset.h: add #include "support/types.h".
2611
2612         * many .C files: Associated changes.
2613
2614 2003-09-06  Angus Leeming  <leeming@lyx.org>
2615
2616         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2617         one, inside testInvariant.
2618
2619         * PrinterParams.C: new file.
2620         * PrinterParams.[Ch]: move the function bodies out of line.
2621
2622 2003-09-06  Angus Leeming  <leeming@lyx.org>
2623
2624         * ParagraphParameters.h: forward declare ParameterStruct rather than
2625         including its header file.
2626         (depth): moved out-of-line.
2627
2628 2003-09-06  Angus Leeming  <leeming@lyx.org>
2629
2630         * BufferView_pimpl.h:
2631         * kbmap.h:
2632         * kbsequence.h:
2633         * lyxfunc.h: forward declare LyXKeySym rather than
2634         #include "frontends/LyXKeySym.h".
2635
2636         * BufferView_pimpl.C:
2637         * kbmap.C:
2638         * kbsequence.C:
2639         * lyxfunc.C: associated changes.
2640
2641 2003-09-06  Angus Leeming  <leeming@lyx.org>
2642
2643         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2644         As a result, can remove the #include "insets/inset.h" from BufferView.h
2645
2646 2003-09-06  Angus Leeming  <leeming@lyx.org>
2647
2648         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2649         As a result, can remove the #include "insets/inset.h" from BufferView.h
2650
2651 2003-09-06  Angus Leeming  <leeming@lyx.org>
2652
2653         * buffer_funcs.C:
2654         * buffer.h:
2655         * bufferlist.C:
2656         * BufferView.C:
2657         * bufferview_funcs.C:
2658         * BufferView_pimpl.C:
2659         * CutAndPaste.C:
2660         * lyx_cb.C:
2661         * lyxfunc.C:
2662         * paragraph.h:
2663         * ParagraphParameters.C:
2664         * tabular.C:
2665         * text3.C:
2666         * toc.C:
2667         * undo_funcs.C:
2668         * frontends/controllers/ControlDocument.C:
2669         * insets/insetcaption.C: rearrange the #includes into some sort of
2670         coherent order.
2671
2672         * buffer.h: remove #includes ErrorList.h, undo.h
2673
2674 2003-09-06  Angus Leeming  <leeming@lyx.org>
2675
2676         * support/types.h: add a 'depth_type' typedef, used to store the
2677         nesting depth of a paragraph.
2678
2679         * paragraph.h:
2680         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2681         defining explicitly.
2682
2683         * buffer.h:
2684         * paragraph_funcs.h:
2685         * ParagraphParameters.h:
2686         * sgml.h: use lyx::depth_type rather than Paragraph or
2687         ParameterStruct's depth_type.
2688
2689         * buffer.h
2690         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2691
2692         * BufferView.C:
2693         * BufferView_pimpl.C:
2694         * CutAndPaste.C:
2695         * ParagraphParameters.C:
2696         * buffer_funcs.C:
2697         * bufferlist.C:
2698         * bufferview_funcs.C:
2699         * lyx_cb.C:
2700         * lyxfunc.C:
2701         * tabular.C:
2702         * text3.C:
2703         * toc.C:
2704         * undo_funcs.C:
2705         * frontends/LyXView.C:
2706         * frontends/controllers/ControlDocument.C:
2707         * frontends/controllers/ControlErrorList.C:
2708         * insets/insetbibitem.C:
2709         * insets/insetbranch.C:
2710         * insets/insetcaption.C:
2711         * insets/insetcollapsable.C:
2712         * insets/insetenv.C:
2713         * insets/insetert.C:
2714         * insets/insetfloat.C:
2715         * insets/insetfoot.C:
2716         * insets/insetfootlike.C:
2717         * insets/insetnewline.C:
2718         * insets/insetquotes.C:
2719         * insets/insettabular.C:
2720         * insets/insettext.C:
2721         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2722
2723         * frontends/controllers/ControlChanges.C: #include "changes.h".
2724
2725 2003-09-06  Angus Leeming  <leeming@lyx.org>
2726
2727         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2728         than #including paragraph.h.
2729
2730         * ParagraphList.h:
2731         * RowList.h: deleted. Superfluous.
2732
2733         * CutAndPaste.h:
2734         * iterators.h:
2735         * lyxcursor.h:
2736         * lyxtext.h:
2737         * text_funcs.h:
2738         * undo.h:
2739         * undo_funcs.h:
2740         * insets/inset.h:
2741         * insets/insettext.h: use ParagraphList_fwd.h rather than
2742         ParagraphList.h.
2743
2744         * paragraph.h: don't forward declare ParagraphList.
2745
2746         * buffer.h:
2747         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2748         rather than ParagraphList.h. paragraph.h is still needed for the
2749         Paragraph::depth_type parameters.
2750
2751         * textcursor.h: enable it to compile stand-alone in light of the
2752         above changes.
2753
2754         * bufferview_funcs.C:
2755         * iterators.C:
2756         * lyxfunc.C:
2757         * lyxrow_funcs.C:
2758         * paragraph.C:
2759         * rowpainter.C:
2760         * text.C:
2761         * text2.C:
2762         * text3.C:
2763         * text_funcs.C:
2764         * textcursor.C:
2765         * undo.C:
2766         * frontends/controllers/ControlParagraph.C:
2767         * frontends/controllers/ControlTabular.C:
2768         * insets/insetmarginal.C:
2769         * insets/insetminipage.C:
2770         * insets/insetnote.C:
2771         * insets/insetoptarg.C: add header files needed to compile again.
2772
2773 2003-09-06  Angus Leeming  <leeming@lyx.org>
2774
2775         * RowList_fwd.h: new file, forward-declaring Row rather than
2776         #including lyxrow.h.
2777
2778         * lyxrow_funcs.h:
2779         * lyxtext.h:
2780         * paragraph.h:
2781         * insets/insettext.h: use it instead of RowList.h
2782
2783         * bufferview_funcs.C:
2784         * lyxfunc.C:
2785         * lyxrow_funcs.C:
2786         * paragraph.C:
2787         * rowpainter.C:
2788         * text.C:
2789         * text2.C:
2790         * text3.C: #include "RowList.h".
2791
2792 2003-09-05  Angus Leeming  <leeming@lyx.org>
2793
2794         * factory.C (createInset):
2795         * vspace.C (c-tor): replace sscanf call with an istringstream.
2796         * ispell.C: re-add missing HP/UX headers.
2797         * lyxserver.C: re-add missing  os2 headers.
2798
2799 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2800
2801         * BranchList.C:
2802         * graph.C:
2803         * ispell.C:
2804         * lastfiles.C:
2805         * lyx_cb.C:
2806         * lyxserver.C:
2807         * texrow.C:
2808         * text3.C: re-add missing system headers, needed for 2.95.2.
2809
2810 2003-09-05  Angus Leeming  <leeming@lyx.org>
2811
2812         Changes most place everywhere due to the removal of using directives
2813         from support/std_sstream.h.
2814
2815 2003-09-05  Angus Leeming  <leeming@lyx.org>
2816
2817         Replace LString.h with support/std_string.h,
2818         Lsstream.h with support/std_sstream.h,
2819         support/LIstream.h with support/std_istream.h,
2820         support/LOstream.h with support/std_ostream.h.
2821
2822         Changes resulting throughout the tree.
2823
2824 2003-09-05  Angus Leeming  <leeming@lyx.org>
2825
2826         * sgml.h: ensure that the header file can be compiled stand-alone.
2827         * *.C: strip out redundant #includes. (320 in total.)
2828
2829 2003-09-04  Angus Leeming  <leeming@lyx.org>
2830
2831         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2832         here (from getPackages).
2833
2834         * debug.[Ch]: add a new EXTERNAL tag.
2835
2836 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2837
2838         * text2.C (cursorEnd): simplify
2839         (setCursor): adjust
2840         (getColumnNearX): adjust
2841
2842         * text.C (computeBidiTables): adjust
2843         (fill): adjust
2844
2845         * rowpainter.C (paintChars): adjust
2846         (paintSelection): adjust
2847         (paintChangeBar): adjust
2848         (paintText): adjust
2849
2850         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2851         lastPos instead.
2852         (numberOfSeparators): adjust
2853
2854 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2855
2856         * LyXAction.C:
2857         * box.[Ch]:
2858         * lfuns.h:
2859         * lyxfunc.C:
2860         * text3.C: Restricts the mouse click functionality
2861         of insets like bibtex, include, toc and floatlist to the visible
2862         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2863         up the dialogs. Cursor has to be in front of the inset (i.e.
2864         start of row) for this to function.
2865
2866 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2867
2868         * bufferview_funcs.C (currentState): output row information
2869
2870 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2871
2872         * bufferview_funcs.C (currentState): output paragraph position
2873
2874 2003-09-04  Angus Leeming  <leeming@lyx.org>
2875
2876         * FloatList.h: move out #include "Floating.h".
2877         * LaTeX.h: move out #include "DepTable.h".
2878         * LyXAction.h: move out #include "funcrequest.h".
2879         * buffer.h: move out #include "author.h", "iterators.h".
2880         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2881         * lyx_main.h: move out #include "errorlist.h".
2882         * lyxfunc.h: move out #include "FuncStatus.h".
2883         * lyxtext: move out #include "lyxcursor.h".
2884         * paragraph_pimpl.h: move out #include "counters.h".
2885
2886 2003-09-03  Angus Leeming  <leeming@lyx.org>
2887
2888         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2889         preamble_snippets list, enabling us to add snippets to the preamble
2890         only if the snippet was not there already.
2891
2892 2003-09-04  Angus Leeming  <leeming@lyx.org>
2893
2894         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2895
2896 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2899         update
2900
2901 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2902
2903         * BranchList.C: point fix, earlier forgotten
2904
2905 2003-09-02  Angus Leeming  <leeming@lyx.org>
2906
2907         * box.C (contains): renamed from 'contained' after a fantastic
2908         amount of hot air.
2909
2910 2003-09-02  John Levon  <levon@movementarian.org>
2911
2912         * BufferView.C:
2913         * lyxcursor.h:
2914         * lyxcursor.C:
2915         * lyxfunc.C:
2916         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2917
2918 2003-09-02  John Levon  <levon@movementarian.org>
2919
2920         * text2.C: simplification of cursorEnd(), including partial
2921         fix for bug 1376
2922
2923 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * buffer.C (readFile): add a space
2926
2927 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2930
2931 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * buffer.C (readFile): new function, take a filename and a
2934         ParagraphList::iterator
2935         (readFile): adjust
2936         (readFile): adjust, make it private. don't use setStream, make
2937         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2938         always contain the filename.
2939
2940         * BufferView.C (insertLyXFile): simplify and make it work for
2941         gzipped files.
2942
2943 2003-08-30  John Levon  <levon@movementarian.org>
2944
2945         * Makefile.am: fix dist (from Kayvan)
2946
2947 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * most files: change to use const Buffer refs
2950
2951 2003-08-27  André Pönitz  <poenitz@gmx.net>
2952
2953         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2954         on top of ownerPar().
2955
2956 2003-08-27  John Levon  <levon@movementarian.org>
2957
2958         * funcrequest.C: properly initialise POD members
2959
2960 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * lyxtext.h (top_y): move top_y from here
2963         * text.C:
2964         * text2.C:
2965         * text3.C:
2966         * BufferView.[Ch]:
2967         * BufferView_pimpl.[Ch]: to here
2968         * frontends/screen.C:
2969         * insets/insettabular.C:
2970         * insets/insettext.C: adjust
2971         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2972
2973 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * BufferView.[Ch]:
2976         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2977
2978 2003-08-26  André Pönitz  <poenitz@gmx.net>
2979
2980         * paragraph_func.[Ch] (outerPar): new function
2981
2982         * paragraph.C:
2983         * paragraph_funcs.C:
2984         * paragraph_funcs.h:
2985         * paragraph_pimpl.C:
2986         * text2.C: remove Inset::par_owner
2987
2988 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2989
2990         * lyxrow_funcs.C:
2991         * lyxtext.h:
2992         * text.C:
2993         * text2.C: eliminates the needFullRow/display() stuff
2994         altogether, putting the logic in metrics/draw in the insets.
2995
2996 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2997
2998         * text2.C (redoParagraphInternal, redoParagraphs):
2999         * text.C (redoParagraph): add a call to updateRowPositions at the
3000         end of each 'metrics-like' call. Remove all others.
3001         (getRow): remove the 'y-computing' version.
3002         (getRowNearY): do not compute nor return the real y. Solve the
3003         'y < 0' problem and simplify.
3004
3005 2003-08-22  Angus Leeming  <leeming@lyx.org>
3006
3007         * *.[Ch]: clean-up of licence and author blurbs.
3008         Also move config.h out of a few .h files and into a few .C files.
3009
3010 2003-08-22  André Pönitz  <poenitz@gmx.net>
3011
3012         * lyxrow.[Ch]: add x_ and *fill_ members
3013
3014         * lyxtext.h:
3015         * text.C:
3016         * rowpainter.C:
3017         * text2.C: adjust/remove prepareToPrint() calls
3018
3019 2003-08-22  André Pönitz  <poenitz@gmx.net>
3020
3021         * lyxrow.[Ch]: add  end_ member
3022
3023         * lyxrow_funcs.C: use LyXRow::end_
3024
3025         * lyxtext.h (singleWidth): add LyXFont parameter
3026
3027         * rowpainter.C:
3028         * text2.C: adjust LyXText::singleWidth() calls
3029
3030         * text.C (redoParagraph): simplify row breaking logic
3031
3032
3033 2003-08-19  André Pönitz  <poenitz@gmx.net>
3034
3035         * funcrequest.C: initialize button_ member
3036
3037         * text3.C:
3038         * rowpainter.[Ch]: interface consolidation
3039
3040 2003-08-18  André Pönitz  <poenitz@gmx.net>
3041
3042         * BufferView.C:
3043         * BufferView_pimpl.C:
3044         * lyxfind.C:
3045         * paragraph_funcs.C:
3046         * rowpainter.C:
3047         * text3.C: remove LyXScreen::draw() and fitCursor calls
3048
3049         * BranchList.h: remove spurious semicolons
3050
3051         * MenuBackend.C: fix branchlist related crash
3052
3053 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * BranchList.[Ch]:
3056         * InsetList.[Ch]:
3057         * LColor.[Ch]:
3058         * LyXAction.C:
3059         * Makefile.am:
3060         * MenuBackend.[Ch]:
3061         * bufferparams.[Ch]:
3062         * factory.C:
3063         * lfuns.h:
3064         * lyxfunc.C:
3065         * text3.C: implements the 'branch inset'
3066         idea. This allows the output of various versions of a document
3067         from a single source version, selectively outputing or suppressing
3068         output of parts of the text.
3069         This implementation contains a 'branch list editor' in a separate
3070         tab of the document settings dialog. Branches are user definable
3071         and have a "display colour" to distinguish them on-screen.
3072
3073         ColorHandler was somewhat cleaned up.
3074         (1) make possible a dynamically growing LColor list by allowing
3075         the graphic context cache to grow along (vector);
3076         (2) eliminate an IMHO unnecessary step in colour allocation.
3077
3078 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3079
3080         * BufferView_pimpl.C: compile fix
3081
3082 2003-08-15  André Pönitz  <poenitz@gmx.net>
3083
3084         * rowpainter.C: remove extra metrics calls
3085
3086         * lyxtext.h: merge the two constructors into a single one,
3087           pass reference to owner's par list
3088
3089         * BufferView_pimpl.C:
3090         * text.C:
3091         * text2.C: adjust
3092
3093 2003-08-15  André Pönitz  <poenitz@gmx.net>
3094
3095         * lyxrow_funcs.[Ch]:
3096         * lyxtext.h:
3097         * paragraph.h:
3098         * paragraph_funcs.C:
3099         * rowpainter.C:
3100         * text.C:
3101         * text2.C:
3102         * text3.C:
3103         * text_funcs.C: split LyXText::rowlist_ into individual
3104         Paragraph::rows_ chunks
3105
3106         * BufferView.[Ch]:
3107         * BufferView_pimpl.[Ch]:
3108         * lyxfind.C:
3109         * lyxtext.h:
3110         * text3.C: remove toggleSelection()
3111
3112 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3113
3114         * bufferlist.C: beautify two alerts (shorter text of buttons)
3115         * buffer.C: Remove redundant ' ' from message
3116         * tabular.h:
3117         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3118         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3119         rename VALIGN_CENTER to VALIGN_MIDDLE
3120
3121 2003-08-11  André Pönitz  <poenitz@gmx.net>
3122
3123         * lyxtext.h (getPar):
3124         * text.C: new function
3125
3126 2003-08-11  André Pönitz  <poenitz@gmx.net>
3127
3128         * Makefile.am:
3129         * tracer.[Ch]: remove unneeded files
3130
3131         * InsetList.[Ch]: remove resizeInsetsLyXText()
3132
3133         * lyxtext.h:
3134         * text.C:
3135         * text2.C:
3136         * text3.C: merge insertParagraphs() and appendParagraph()
3137         remove breakAgain(), update()
3138
3139         * BufferView_pimpl.[Ch]:
3140         * bufferview_funcs.[Ch]:
3141         * lyxfunc.C:
3142         * paragraph.[Ch]:
3143         * rowpainter.C:
3144         * tabular.C: adjust after text & InsetList changes.
3145
3146 2003-08-08  André Pönitz  <poenitz@gmx.net>
3147
3148         * text.C (insertChar, backspace): replace rowlist fiddling
3149         with rebreak of full par
3150
3151         * lyxtext.h:
3152         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3153         checkParagraph, updateInset): removed
3154
3155 2003-08-07  André Pönitz  <poenitz@gmx.net>
3156
3157         * paragraph.C:
3158         * text3.C: merge some LFUN handlers, remove dead code
3159
3160 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3161
3162         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3163
3164 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * text2.C (DEPM): fix part of bug 1255 and 1256
3167
3168 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3169
3170         * BufferView_pimpl.C (workAreaDispatch): change to use
3171         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3172         that are no mouse related.
3173
3174 2003-08-05  André Pönitz  <poenitz@gmx.net>
3175
3176         * BufferView.[Ch]:
3177         * BufferView_pimpl.[Ch]:
3178         * bufferview_funcs.C:
3179         * text2.C:
3180         * text3.C: rip out "deep update"
3181
3182         * textcursor.[Ch] (last_sel_cursor): remove unused member
3183
3184 2003-08-04  André Pönitz  <poenitz@gmx.net>
3185
3186         * BufferView.[Ch]:
3187         * BufferView_pimpl.[Ch]:
3188         * ParagraphParameters.C:
3189         * bufferview_funcs.C:
3190         * lyx_cb.C:
3191         * lyxfind.C:
3192         * lyxfunc.C:
3193         * text.C:
3194         * text2.C:
3195         * text3.C: replace "complicated" BufferView::update(...) calls with
3196         simpler ones.
3197
3198         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3199
3200 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3201
3202         * Makefile.am (lyx_SOURCES): add paper.h
3203
3204 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3205
3206         * Makefile.am: move things around so that both lyx-qt and
3207         lyx-xforms can be built (according to --with-frontend). Then lyx
3208         is a symbolic link to lyx-[firstfrontend]
3209
3210 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3211
3212         * Always use std::endl with lyxerr
3213
3214 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3215
3216         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3217
3218 2003-08-01  André Pönitz  <poenitz@gmx.net>
3219
3220         * BufferView.[Ch]:
3221         * BufferView_pimpl.[Ch]:
3222         * lyxfunc.C:
3223         * text3.C: merge BufferView::repaint() and BufferView::update()
3224
3225 2003-08-01  José Matos  <jamatos@lyx.org>
3226
3227         * buffer.[Ch]: file_format is no longer a buffer data element.
3228
3229 2003-08-01  André Pönitz  <poenitz@gmx.net>
3230
3231         * BufferView.C:
3232         * lyxtext.h:
3233         * text.C:
3234         * text2.C: make redoParagraph more independent of current cursor
3235
3236         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3237         * text.C:
3238         * text2.C: remove unneeded members
3239
3240 2003-07-30  André Pönitz  <poenitz@gmx.net>
3241
3242         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3243
3244         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3245           create a single function...
3246
3247         * paragraph_funcs.C (moveItem): ... here.
3248
3249         * text.C:
3250           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3251
3252 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3253
3254         * LColor.[Ch]: Add comment and greyedout logical colors.
3255
3256 2003-07-30  André Pönitz  <poenitz@gmx.net>
3257
3258         * tabular.C: don't use Assert too heavily. This crashes where it
3259           shouldn't
3260
3261 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3262
3263         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3264         is disabled (bug 1232)
3265
3266 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3267
3268         * factory.C: limited 'arg' scope
3269
3270 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3271
3272         * factory.C: fixed Note submenu issues
3273
3274 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * factory.C: submenu for Note/Comment/Greyedout
3277
3278 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3279
3280         * lyx_main.C (LyX):
3281         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3282
3283 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3284
3285         * LaTeXFeatures.C:
3286         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3287         greyedout. Patch provided by Jürgen Spitzmüller.
3288
3289 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3290
3291         * kbmap.C (read): fix error message when reading bind files
3292
3293 2003-07-29  Angus Leeming  <leeming@lyx.org>
3294
3295         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3296         certainly does not do what it purports to do. I am doing it, and
3297         us, a favour by killing it.
3298
3299 2003-07-28  José Matos  <jamatos@lyx.org>
3300
3301         * buffer.C (readBody, do_writeFile):
3302         * paragraph.C(readParagraph): \end_document replaces \the_end.
3303
3304 2003-07-29  André Pönitz  <poenitz@gmx.net>
3305
3306         * BufferView.[Ch]:
3307         * BufferView_pimpl.[Ch]:
3308         * lyxfunc.C:
3309         * text2.C:
3310         * text3.C:
3311         * textcursor.[Ch]: remove toggleToggle & Co
3312
3313 2003-07-28  José Matos  <jamatos@fep.up.pt>
3314
3315         * buffer.C (readParagraph):
3316         * params_func (readParToken, readParagraph):
3317         * paragraph.C (write): \layout -> \begin_layout.
3318
3319 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * lyxlex_pimpl.C (setFile): clean up slightly.
3322
3323         * bufferparams.h: add compressed var
3324
3325         * buffer_funcs.C (readFile): adjust for LyXLex change
3326         (newFile): ditto + simplify
3327
3328         * buffer.C (writeFile): handle writing of compressed files
3329
3330         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3331         Check if the file is compressed and set a bufferparm if so.
3332
3333         * Makefile.am (lyx_LDADD): remove explicit -lz
3334
3335 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3336
3337         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3338         makeDocBookFile): put the real LyX version in the first line of
3339         the file
3340
3341         * version.h:
3342         * version.C.in: remove lyx_docversion
3343
3344         * tabular.C (write_attribute): add a template-based version to
3345         write enums properly
3346
3347 2003-07-28  André Pönitz  <poenitz@gmx.net>
3348
3349         * lyxtext.h:
3350         * text.C:
3351         * text2.C:
3352         * text3.C: use doubles again for x-coordinates. They are needed.
3353
3354 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * messages.C (getLocaleDir): use lyx_localedir()
3357
3358         * lyxlex_pimpl.C (setFile): compress stuff
3359
3360         * buffer.C (writeFile): add some compression stuff
3361         (do_writeFile): new func, dont call expliti close... will this
3362         breake anything?
3363
3364         * Makefile.am (lyx_LDADD): add -lz
3365
3366 2003-07-28  José Matos  <jamatos@fep.up.pt>
3367
3368         * buffer.C: increment file format.
3369         * paragraph_funcs (readParagraph, readParToken):
3370         * paragraph.C (readParagraph): add \end_layout.
3371
3372 2003-07-27  Angus Leeming  <leeming@lyx.org>
3373
3374         * Makefile.am: remove special casing for configure-time setting of
3375         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3376
3377         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3378         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3379
3380 2003-07-26  André Pönitz  <poenitz@gmx.net>
3381
3382         * paragraph_func.[Ch]:
3383         * paragraph.C (realizeFont): inline it whereever it is used
3384
3385         * rowpainter.C:
3386         * text.C:
3387         * text2.C:
3388         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3389
3390
3391 2003-07-26  André Pönitz  <poenitz@gmx.net>
3392
3393         *       lyxtext.h:
3394         * text.C:
3395         * text2.C: get rid of LyXText::need_break_row
3396
3397 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * toc.[Ch]: put namespace toc inside namespace lyx
3400
3401         * MenuBackend.C (expandToc2): adjust for lyx::toc
3402         (expandToc): ditto
3403
3404         * lyxfunc.C (dispatch): adjust for lyx::find
3405
3406         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3407         lyx::find instead. Reorganize a bit.
3408         (LyXReplace): rename to replace
3409         (LyXFind): rename to find
3410
3411         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3412         (dispatch): ditto
3413
3414 2003-07-26  André Pönitz  <poenitz@gmx.net>
3415
3416         * text.C (setHeightOfRow): restrict scope of temporary variable
3417
3418         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3419           code (never has been used?)
3420
3421 2003-07-27  Asger Alstrup  <alstrup@local>
3422
3423         * text.C (fill): Optimise algorithm to exploit that we can reuse
3424         the LyXFont for many characters.
3425         (setHeightOfRow): Same thing.
3426         (rowBreakPoint): Same thing.
3427
3428 2003-07-26  Asger Alstrup  <alstrup@local>
3429
3430         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3431
3432         * text.C (singleWidth): Spurious font copying in hot-spot
3433         singleWidth avoided. Reorder tests for arabic for efficiency.
3434
3435         * text.C (fill): handle empty paragraphs better.
3436
3437 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3438
3439         * ispell.C:
3440         * encoding.h: add includes
3441
3442         * lyxrc.C: remove reading of bind files
3443
3444         * lyx_main.C (init): setup bindings and menus only if we have a
3445         gui.
3446
3447         * kbmap.C (read): new method. Do the actual reading of bind
3448         files.
3449
3450         * converter.C (dvipdfm_options):
3451         * bufferparams.C:
3452         * lyxrc.C (read):
3453         (output): adapt PAPER_* enums.
3454
3455         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3456
3457         * bufferparams.h: remove paper-related enums from there
3458
3459         * paper.h: New file. A trivial header file to hold paper-related
3460         enums. It should later expand to contain many paper-related
3461         horrors access.
3462
3463         * lyxrc.C: declare extern displayTranslator
3464
3465 2003-07-27  José Matos  <jamatos@fep.up.pt>
3466
3467         * tabular.[Ch] (linuxdoc): add support for tables and figures
3468         (linuxdoc).
3469
3470 2003-07-27  José Matos  <jamatos@fep.up.pt>
3471
3472         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3473         consistency in both functions.
3474         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3475
3476 2003-07-26  Asger Alstrup  <alstrup@local>
3477
3478         * rowpainter.C (paintRows): Change algorithm to work directly on
3479         the insets rather than asking every character in the document
3480         whether its an inset.
3481
3482 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * buffer.C (openFileWrite): factorize some code
3485
3486 2003-07-26  Angus Leeming  <leeming@lyx.org>
3487
3488         * lyx_cb.C:
3489         * lyx_main.[Ch]: replace occurances of system_tempdir with
3490         os::getTmpDir().
3491
3492 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * rename Inset to InsetOld
3495
3496 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3497
3498         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3499         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3500         which I think is a bit clearer. EDIT is gone, since it was
3501         premature optimisation, and broken for mathed anyway.
3502         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3503         with cursor positioning in insets as well (math insets still do not
3504         work, but that's a different story anyway.) It mysteriously
3505         crashes sometimes with undo in the first paragraph, but I'm fairly
3506         confident that this is a compiler bug.
3507
3508 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * paragraph.C (Paragraph): adjust for new clone return type
3511         (operator==): ditto
3512         (copyIntoMinibuffer): ditto
3513
3514 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3515
3516         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3517         by not having a special case, and always doing a full rebreak of
3518         the document after undo.
3519
3520 2003-07-23  Angus Leeming  <leeming@lyx.org>
3521
3522         * factory.C (createInset): InsetExternal::setParams now takes a
3523         Buffer const * arg.
3524
3525 2003-07-23  Angus Leeming  <leeming@lyx.org>
3526
3527         * factory.C (createInset): changed interface to the external and
3528         graphics mailers' string2params functions.
3529
3530 2003-07-23  Angus Leeming  <leeming@lyx.org>
3531
3532         * factory.C (createInset): pass a
3533         Buffer const * parameter to InsetExternalMailer's string2params.
3534
3535 2003-07-22  John Levon  <levon@movementarian.org>
3536
3537         * Thesaurus.h: include the right aiksaurus header
3538
3539 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3540
3541         * MenuBackend.C (expand): check menu shortcuts unconditionally
3542
3543 2003-07-21  Angus Leeming  <leeming@lyx.org>
3544
3545         * factory.C (createInset): pass a
3546         buffer_path parameter to InsetGraphicsMailer's string2params.
3547
3548 2003-07-21  Angus Leeming  <leeming@lyx.org>
3549
3550         * BufferView_pimpl.C (buffer):
3551         * buffer.C (d-tor):
3552         * lyx_main.C (LyX):
3553         * lyxfunc.C (dispatch):
3554         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3555         rather than the grfx shortcut.
3556
3557 2003-07-21  André Pönitz  <poenitz@gmx.net>
3558
3559         * rowpainter.C: remove unused variables
3560
3561         * tabular_funcs.C:
3562         * tabular_funcs.h: move to tabular.C
3563         * Makefile.am: adjust
3564
3565         * tabular.[Ch]: basic optical cleaning
3566
3567         * author.h: pass references, not values
3568
3569 2003-07-18  André Pönitz  <poenitz@gmx.net>
3570
3571         * lyxtext.h:
3572         * metricsinfo.C:
3573         * metricsinfo.h:
3574         * rowpainter.C:
3575         * text.C:
3576         * text2.C:
3577         * text3.C: two-phase drawing for InsetText and InsetTabular
3578         some float -> int changes.
3579
3580 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3581
3582         * lyx_main.C: fix the fix
3583
3584 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * lyx_main.C: fix a crash in batch mode if no files specified
3587         * converter.C: ws
3588
3589 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3590
3591         * format.[Ch] (papersize): moved to BufferParams
3592         * converter.[Ch] (dvips_options): moved to BufferParams
3593         (dvipdfm_options): moved to anon namespace
3594         * bufferparams.[Ch]: added above functions.
3595
3596 2003-07-17  André Pönitz  <poenitz@gmx.net>
3597
3598         * lyxtext.h:
3599         * rowpainter.C:
3600         * text2.C: don't call inset->update() anymore
3601
3602         * metricsinfo.[Ch]: add convenience constructor
3603
3604 2003-07-16  André Pönitz  <poenitz@gmx.net>
3605
3606         * lyxcursor.[Ch]:
3607         * lyxfunc.[Ch]:
3608         * text.C:
3609         * text2.C: replace the LyXCursor::irow_ member with
3610          on-demand computation of the value
3611
3612 2003-07-16  John Levon  <levon@movementarian.org>
3613
3614         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3615
3616 2003-07-15  André Pönitz  <poenitz@gmx.net>
3617
3618         * text.C:
3619         * text2.C: remove no more needed refresh_row
3620
3621 2003-07-15  André Pönitz  <poenitz@gmx.net>
3622
3623         * lyxtext.h:
3624         * rowpainter.C:
3625         * text2.C:
3626         * text3.C: refresh_status tristate -> need_update bool
3627
3628 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * lyxtext.h (init): remove reinit argument (act as if always true)
3631         * text2.C: adjust to that
3632
3633 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3634
3635         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3636         * text3.C: use it to delete selections in some cases
3637         (bugs 441, 673, 702, 954).
3638
3639 2003-07-14  André Pönitz  <poenitz@gmx.net>
3640
3641         * rowpainter.[Ch]: reduce interface
3642
3643 2003-07-14  André Pönitz  <poenitz@gmx.net>
3644
3645         * BufferView_pimpl.C:
3646         * text2.C: adjust after removing unused BufferView * argument
3647
3648 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * text2.C (init): fix a crash fired on resize
3651
3652 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3653
3654         * buffer.[Ch]: added new closing signal
3655         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3656         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3657         BufferView::Pimpl via the closing the signal
3658
3659 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3660
3661         * buffer.[Ch]: take out all bv-related from buffer
3662         * BufferView.C:
3663         * BufferView_pimpl.[Ch]: connect to new signals
3664         * CutAndPaste.C: removed useless asserts
3665         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3666         * lyxvc.[Ch]:
3667         * vc-backend.[Ch]:
3668         * lyxfunc.C: moved view-related funciontality from vc here
3669         * paragraph.C: removed outdated comments
3670         * text.C: ws
3671
3672 2003-07-10  André Pönitz  <poenitz@gmx.net>
3673
3674         * BufferView_pimpl.C:
3675         * tabular.h:
3676         * tabular_funcs.C:
3677         * text.C:
3678         * text2.C: remove InsetText::InnerCache, clean up consequences
3679
3680 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3681
3682         * ispell.C: fix two typos in error messages
3683
3684 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3685
3686         * Extend Note inset to other forms of annotation like Comment
3687         and Greyedout. Right button click gives dialog.
3688
3689         Files modified or added (+):
3690
3691         * insetnote.[Ch]
3692         * FormNote.[Ch]      +
3693         * ControlNote.[Ch]   +
3694         * form_note.fd       +
3695         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3696         frontends/controllers
3697         * xforms/Dialogs.C
3698         * factory.C
3699
3700 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3701
3702         * aspell.C: add missing namespace lyx::support
3703
3704 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * BufferView.[Ch] (newFile): Add
3707         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3708         * LaTeX.[Ch] (message): added this signal and use it
3709         * buffer.[Ch] (busy, message): added these signals and use them
3710         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3711         * converter.C:
3712         * exporter.C:
3713         * format.C:
3714         * importer.C: use buffer signals instead of direct bv calling
3715         * lyx_cb.[Ch] (ShowMessage): removed
3716         * lyx_main.C:
3717         * lyxfunc.C:
3718         * paragraph_funcs.C:
3719         * text2.C: use buffer signals
3720
3721 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * introduce namespace lyx::graphics
3724
3725 2003-07-02  André Pönitz  <poenitz@gmx.net>
3726
3727         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3728
3729 2003-07-01  André Pönitz  <poenitz@gmx.net>
3730
3731         * text.C:
3732         * text2.C:
3733         * text3.C:
3734         * text_funcs.[Ch]:
3735         * textcursor.h:
3736         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3737           text*.C to text_func.C
3738
3739 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * introduce namespace lyx::support
3742
3743 2003-06-30  André Pönitz  <poenitz@gmx.net>
3744
3745         * Chktex.C:
3746         * funcrequest.C:
3747         * lyxtext.h:
3748         * text.C: re-enable --with-included-string
3749
3750 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * textcursor.C: add <config.h>
3753
3754         * text.C (getWord): remove const from word_location arg
3755
3756         * lyxvc.C (getLogFile): fix const type order
3757
3758         * lyxtext.h: remove const from word_location arg, add arg name
3759
3760         * lyxlayout.h: currect type on labeltype.
3761
3762         * importer.C: correct \file
3763
3764         * converter.C (intToFormat): use std:: on ret val, ws changes
3765
3766         * bufferlist.h: correct \file
3767
3768         * buffer.C (makeLinuxDocFile): fix const type order
3769         (makeDocBookFile): ditto
3770         (fillWithBibKeys): use std:: on stdlib args.
3771
3772         * CutAndPaste.C: fix authors.
3773         (availableSelections): use std:: on return vector
3774
3775 2003-06-27  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView_pimpl.C:
3778         * bufferview_funcs.C:
3779         * lyxcursor.C:
3780         * lyxcursor.h:
3781         * lyxfunc.C:
3782         * lyxtext.h:
3783         * rowpainter.C:
3784         * text.C:
3785         * text2.C:
3786         * text3.C: remove LyXCursor::row_ member
3787
3788         * lyxtext.h:
3789         * text.C: rename fullRebreak() to partialRebreak() and implement
3790           a fullRebreak() that really bereks fully
3791
3792         * textcursor.h: new struct for cursor-related data
3793
3794 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3795
3796         * lyx_main.C (LyX): get full path of document loaded on the
3797         command line
3798
3799 2003-06-26  André Pönitz  <poenitz@gmx.net>
3800
3801         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3802           remove unused/broken operator>,<,>=.
3803
3804         *       text.C: remove only use of broken operator<= in an Assert().
3805
3806 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3809         moved errorlist_.clear to showErrorList
3810
3811 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * converter.C (scanLog, runLaTeX):
3814         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3815         move the bv->showErrorList call to the callers
3816         * lyxfunc.C: i.e. here...
3817         * text2.C: and here
3818         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3819         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3820         namespace, the second to...
3821         * buffer_funcs (BufferFormat, parseErrors): added
3822         * errorlist.C (ErrorList(TeXErrors const &)): removed
3823
3824 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3825
3826         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3827
3828 2003-06-24  "Garst R. Reese" <reese@isn.net>
3829
3830         * debug.C: fix typo
3831
3832 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3833
3834         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3835
3836         * version.C.in: change docversion to 1.4
3837
3838 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3839
3840         * buffer.C: fix a bug just introduced
3841
3842 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * buffer.[Ch]: added the parseError signal and use it, removed
3845         sgmlError
3846         * BufferView.[Ch] (addError): moved to ...
3847         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3848         to the Buffer::parseError signal to catch (guess what) parse errors
3849         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3850
3851 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3852
3853         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3854         ability to create a buffer and to return an existing one from
3855         the list. Moved these functions to...
3856         * buffer_funcs.[Ch]: added
3857         * BufferView.[Ch] (loadLyXFile): added
3858         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3859         job removed from bufferlist::loadLyXFile.
3860         * buffer.C (setReadOnly): make it work without view
3861         (i.e added an if (users))
3862
3863 2003-06-19  Angus Leeming  <leeming@lyx.org>
3864
3865         * lfuns.h:
3866         * LyXAction.C (init):
3867         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3868         with LFUN_DIALOG_SHOW <name> <data>.
3869
3870 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3871
3872         * CutAndPaste.C (availableSelections): small compilation fix for
3873         ancient (gcc 2.9x) compilers
3874
3875 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * text3.C (cursorNext): add tmp var
3878
3879         * text2.C (updateCounters): for function calling out of for clause
3880         (replaceSelectionWithString): ditto
3881         (insertStringAsParagraphs): ditto
3882         (getColumnNearX): add tmp var
3883         (setCursorFromCoordinates): add tmp var
3884         (cursorDownParagraph): add tmp var
3885         (deleteEmptyParagraphMechanism): add tmp var
3886
3887         * text.C (insertChar): add tmp var
3888
3889         * rowpainter.C (paintDepthBar): add tmp var
3890
3891         * CutAndPaste.C (availableSelections): potentially check all
3892         paragraphs in a cut to fill the shown strings.
3893
3894 2003-06-18  André Pönitz  <poenitz@gmx.net>
3895
3896         * kbmap.[Ch]: use vector<> instead of list<>
3897
3898 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3899
3900         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3901         pasteSelection with index
3902
3903         * text2.C (pasteSelection): modify, call pasteSelection with index
3904
3905         * paragraph.C (asString): reimplement version with no interval to
3906         call the one with interval.
3907
3908         * lyxtext.h: add index arg to pasteSelection
3909
3910         * MenuBackend.C (MenuItem): handle PasteRecent
3911         (Menu::read::Menutags): add md_pasterecent
3912         (read): handle it
3913         (expandPasteRecent): new function
3914         (expand): use it
3915
3916         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3917
3918         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3919         the limited stack
3920         (availableSelections): new function
3921
3922 2003-06-17  Angus Leeming  <leeming@lyx.org>
3923
3924         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3925
3926 2003-06-17  Angus Leeming  <leeming@lyx.org>
3927
3928         * lfuns.h:
3929         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3930
3931         * lyxfunc.C (dispatch): invoke it.
3932
3933 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3934
3935         * iterators.C (operator++, ParPosition): reintroduce some
3936         const_cast for the benefit of older compilers.
3937
3938 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3939
3940         * text3.C (dispatch): do not modify clipboard when doing
3941         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3942         LFUN_DELETE_SKIP on a selection selection
3943
3944 2003-06-16  André Pönitz  <poenitz@gmx.net>
3945
3946         * BufferView.C:
3947         * buffer.C:
3948         * buffer.h:
3949         * paragraph.C:
3950         * tabular.[Ch]: IU of clone() and getLabelList();
3951
3952 2003-06-13  André Pönitz  <poenitz@gmx.net>
3953
3954         * tabular.h: compactification
3955
3956 2003-06-12  André Pönitz  <poenitz@gmx.net>
3957
3958         * tabular.C:
3959         * tabular.h:
3960         * tabular_funcs.h: some renaming plus whitespace
3961
3962 2003-06-12  André Pönitz  <poenitz@gmx.net>
3963
3964         * BufferView.C:
3965         * BufferView_pimpl.C:
3966         * CutAndPaste.C:
3967         * buffer.C:
3968         * iterators.[Ch]:
3969         * lyxfunc.C:
3970         * text.C:
3971         * toc.C: Return a Paragraph & for ParIterator::operator*()
3972
3973 2003-06-11  John Levon  <levon@movementarian.org>
3974
3975         * lyx_main.C:
3976         * ToolbarBackend.h:
3977         * ToolbarBackend.C: add "Toolbars" section and
3978         put the flags there
3979
3980 2003-06-10  Angus Leeming  <leeming@lyx.org>
3981
3982         * lfuns.h:
3983         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3984
3985         * lyxfunc.C (dispatch): invoke it.
3986
3987 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * main.C: protect <ios> with HAVE_IOS
3990         (main): protect sync_with_stdio with HAVE_IOS
3991
3992 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3993
3994         * text2.C (cutSelection): adjust
3995         (pasteSelection): adjust
3996
3997         * messages.C: handle get of empty string
3998
3999         * main.C (main): use sync_with_stdio(false)
4000
4001         * lyxfunc.C (dispatch): adjust
4002
4003         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4004         (WriteAs): remove unneeded BufferView arg.
4005
4006         * bufferparams.h: use correct types on papersize, papersize2 and
4007         paperpackage.
4008
4009         * bufferparams.C (readToken): adjust for type
4010         (writeLaTeX): add missing cases to switch.
4011
4012         * bufferlist.C (quitWriteBuffer): adjust
4013         (close): adjust
4014
4015         * buffer.C (asciiParagraph): remove some commented code.
4016
4017         * CutAndPaste.C: remove current_view extern variable.
4018         (cutSelection): add BufferParams arg.
4019         (eraseSelection): add BufferParams arg.
4020         (pasteSelection): add Buffer const & arg
4021
4022 2003-06-07  John Levon  <levon@movementarian.org>
4023
4024         * buffer.C:
4025         * paragraph_funcs.C:
4026         * paragraph_pimpl.C:
4027         * text.C:
4028         * text2.C:
4029         * paragraph.h:
4030         * paragraph.C: allow InsetERT to freely space lines,
4031         and some consolidation of code
4032
4033 2003-06-06  José Matos  <jamatos@fep.up.pt>
4034
4035         * buffer.C (makeDocBookFile): fix bug #821
4036
4037 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4040
4041 2003-06-04  Angus Leeming  <leeming@lyx.org>
4042
4043         * buffer.C: bump format to 224.
4044
4045 2003-06-05  André Pönitz  <poenitz@gmx.net>
4046
4047         * text2.C (redoParagraphs): remove two const_cast<>
4048
4049 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4050
4051         * ParagraphList.h: remove last remnants of NO_STD_LIST
4052
4053 2003-06-03  Angus Leeming  <leeming@lyx.org>
4054
4055         * factory.C (createInset): small change to the way InsetExternal's params
4056         are set.
4057
4058 2003-06-04  André Pönitz  <poenitz@gmx.net>
4059
4060         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4061
4062         * paragraph_pimpl.h:
4063         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4064
4065         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4066
4067         * undo_funcs.C: make some simple cases of undo work again
4068
4069 2003-06-03  John Levon  <levon@movementarian.org>
4070
4071         * ispell.C: HPUX doesn't have sys/select.h
4072         (from Albert Chin)
4073
4074 2003-06-03  John Levon  <levon@movementarian.org>
4075
4076         * CutAndPaste.C: update tabular and include inset
4077         buffer references
4078
4079         * buffer.h:
4080         * paragraph.h:
4081         * paragraph.C: remove owningBuffer(), don't pass Buffer
4082         to clone()
4083
4084         * factory.C: insetGraphicsParams changed
4085
4086 2003-06-02  John Levon  <levon@movementarian.org>
4087
4088         * LyXAction.C:
4089         * factory.C:
4090         * lfuns.h:
4091         * lyxfunc.C:
4092         * text3.C: remove insetparent
4093
4094 2003-06-02  John Levon  <levon@movementarian.org>
4095
4096         * buffer.h:
4097         * buffer.C: fix inset_iterator.end(), move out of line
4098         (bug 1149)
4099
4100 2003-06-01  John Levon  <levon@movementarian.org>
4101
4102         * text3.C: use a proper cut/paste when doing inset
4103         insert (from Jürgen Spitzmüller)
4104
4105 2003-06-01  John Levon  <levon@movementarian.org>
4106
4107         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4108
4109 2003-05-30  André Pönitz  <poenitz@gmx.net>
4110
4111         * rowpainter.C: unify second drawing phase
4112
4113 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * trans_mgr.C: remove one case of current_view
4116
4117         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4118
4119         * paragraph_funcs.h: remove paragraph.h include
4120
4121         * paragraph.h: delete NO_STD_LIST stuff
4122
4123         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4124
4125         * buffer.h: remove paragraph.h include
4126
4127         * ParagraphList.C: delete file
4128
4129         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4130
4131         * toc.C (getTocList): adjust
4132
4133         * paragraph_pimpl.C (validate): adjust
4134
4135         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4136
4137         * paragraph.C (Paragraph): adjust
4138         (getPositionOfInset): use const_iterator, adjust
4139         (bibitem): use const_iterator, adjust
4140         (setInsetOwner): adjust
4141
4142         * iterators.C (operator++): adjust
4143
4144         * InsetList.[Ch]: Replace selfmade iterator with standard
4145         vector::iterator also introduce const_iterator. Remove getPos,
4146         getInset and setInset from InsetTable. Adjust accordingly.
4147
4148         * BufferView.C (lockInset): adjust
4149         (ChangeInsets): adjust
4150
4151         * tabular.[Ch]: delete commented same_id functions
4152
4153 2003-05-28  John Levon  <levon@movementarian.org>
4154
4155         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4156
4157 2003-05-28  André Pönitz  <poenitz@gmx.net>
4158
4159         * metricsinfo.[Ch]: remove 'fullredraw' member
4160
4161 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4162
4163         * lyxtextclass.C (operator): remove caching.
4164
4165 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * text3.C: adjust
4168
4169         * text2.C (cursorBottom): adjust
4170         (setCounter): use ParagraphList::find, adjust
4171
4172         * text.C (workWidth): use ParagraphList::find, adjust
4173
4174         * lyxcursor.C (LyXCursor): adjust
4175
4176         * buffer.C (inset_iterator): adjust
4177
4178         * ParagraphList.h: make iterator(value_type) private, make
4179         ParagraphList a friend of iterator.
4180
4181         * ParagraphList.C (find): new function
4182
4183         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4184
4185 2003-05-27  André Pönitz  <poenitz@gmx.net>
4186
4187         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4188
4189 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4190
4191         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4192
4193 2003-05-26  John Levon  <levon@movementarian.org>
4194
4195         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4196
4197 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * remove same_id from function signatures, adjust.
4200
4201 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4204
4205         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4206
4207         * paragraph.C (Paragraph): get rid of same_ids parameter
4208
4209         * ParagraphList.C (insert): adjust
4210         (push_back): adjust
4211
4212 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * paragraph_funcs.C (breakParagraph): adjust
4215         (breakParagraphConservative): adjust
4216
4217         * buffer.C (readParagraph): adjust
4218
4219         * ParagraphList.C (insert): take a reference instead of a pointer
4220         (insert): adjust
4221
4222         * paragraph.[Ch] (id): new function
4223
4224         * bufferlist.C (newFile): adjust
4225
4226         * ParagraphList.C (ParagraphList): adjust
4227         (assign): adjust
4228         (push_back): take a reference instead of a pointer.
4229
4230         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4231
4232         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4233         instead.
4234
4235         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4236         set else use old code.
4237
4238         * ParagraphList.C: remove all NO_NEXT code and only compile this
4239         code of NO_STD_LIST is set.
4240
4241 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * BufferView_pimpl.C:
4244         * TextCache.C:
4245         * TextCache.h:
4246         * bufferlist.C:
4247         * errorlist.h:
4248         * format.C:
4249         * format.h:
4250         * graph.C:
4251         * lyxfunc.C:
4252         * lyxrc.C:
4253         * graphics/GraphicsConverter.C:
4254         * graphics/PreviewLoader.C: header adjustment
4255
4256 2003-05-23  Angus Leeming  <leeming@lyx.org>
4257
4258         * LaTeXFeatures.[Ch] (useBabel): new method.
4259         * bufferparams.C (writeLaTeX): use it.
4260
4261 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4262
4263         * ParagraphList.h (set): remove unused function.
4264
4265 2003-05-23  André Pönitz  <poenitz@gmx.net>
4266
4267         * BufferView.C:
4268         * BufferView_pimpl.C:
4269         * buffer.C:
4270         * buffer.h:
4271         * lyxfunc.C:
4272         * undo_funcs.C: setUndo reworked
4273
4274         * iterators.[Ch]: add access to topmost ParagraphList
4275
4276         * lyxtext.[Ch] (workWidth): add a const
4277
4278 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4279
4280         * texrow.[Ch] (increasePos): remove function
4281         * exporter.C (export): removed unused var and outdated comment
4282
4283 2003-05-23  Angus Leeming  <leeming@lyx.org>
4284
4285         * latexrunparams.h: rename fragile as moving_arg.
4286         * paragraph.C (simpleTeXOnePar): ditto.
4287         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4288
4289 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4292         (createUndo): ditto
4293         (textUndoOrRedo): comment out a currently unused var.
4294
4295         * paragraph.h (NO_NEXT): enable NO_NEXT
4296
4297         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4298
4299         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4300
4301         * exporter.C (Export): adjust for removeAutoInsets removal.
4302
4303         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4304
4305         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4306
4307         * BufferView.[Ch] (removeAutoInsets): delete function
4308
4309 2003-05-22  Angus Leeming  <leeming@lyx.org>
4310
4311         * latexrunparams.h: add a free_spacing variable.
4312
4313         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4314         to pass moving_arg, as the data is stored in runparams.fragile.
4315
4316         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4317         to Inset::latexOptional or to simpleTeXOnePar.
4318
4319         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4320         free_spacing arg to Inset::latexOptional.
4321
4322         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4323         free_spacing arg.
4324
4325 2003-05-22  Angus Leeming  <leeming@lyx.org>
4326
4327         * latexrunparams.h: add fragile and use_babel variables.
4328
4329         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4330         * buffer.C (makeLaTeXFile): store this returned value in
4331         runparams.use_babel, thus passing it to the inset::latex methods.
4332
4333         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4334         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4335
4336         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4337         longer has a fragile arg, as it is stored in runparams.fragile.
4338
4339         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4340         moving_arg parameter as the data is stored in runparams.fragile.
4341
4342         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4343         a fragile parameter as the data is stored in runparams.fragile.
4344
4345 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4348
4349 2003-05-22  Angus Leeming  <leeming@lyx.org>
4350
4351         * latexrunparams.h: add a 'bool nice' which defaults to false.
4352
4353         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4354         now encapsulated within runparams.
4355
4356         * bufferlist.C (updateIncludedTeXfiles):
4357         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4358
4359 2003-05-22  Angus Leeming  <leeming@lyx.org>
4360
4361         * latexrunparams.h: new file containing struct LatexRunParams.
4362         * Makefile.am: add new file.
4363
4364         * LaTeX.[Ch] (c-tor, run):
4365         * buffer.[Ch] (makeLaTeXFile):
4366         * bufferlist.[Ch] (updateIncludedTeXfiles):
4367         * converter.C (convert, scanLog):
4368         * converter.[Ch] (runLaTeX):
4369         * exporter.C (Export):
4370         * paragraph.[Ch] (simpleTeXOnePar):
4371         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4372         * paragraph_funcs.[Ch] (latexParagraphs):
4373         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4374         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4375         pass around a LatexRunParams parameter.
4376
4377 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * paragraph.[Ch]: remove unused constructor
4380
4381         * ParagraphList.C (erase): new function, taking two iterators
4382
4383 2003-05-22  André Pönitz  <poenitz@gmx.net>
4384
4385         * undo_funcs.C: remove duplicated code
4386
4387         * iterator.[Ch]: operator=
4388
4389 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * tabular.C (SetMultiColumn): ws changes
4392
4393         * rowpainter.C (paintFirst): get rid of a ->previous
4394
4395         * lyx_cb.C (getPossibleLabel): parlist simplification
4396
4397         * BufferView.C (ChangeInsets): simplify slightly.
4398
4399 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4400
4401         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4402         * lfuns.h: new LFUN_SPACE
4403         * lyxfunc.C: protected space has a new lfun
4404         * paragraph_funcs.C: read new space insets
4405         * text3.C:
4406         * factory.C: handle new space insets
4407
4408 2003-05-22  André Pönitz  <poenitz@gmx.net>
4409
4410         * BufferView.C:
4411         * BufferView_pimpl.C:
4412         * buffer.[Ch]:
4413         * lyxfunc.C:
4414         * undo_funcs.C: return a ParIterator from getParFromID.
4415
4416         * iterators.[Ch]: add two const's
4417
4418 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * toc.C (getTocList): adjust
4421
4422         * iterators.[Ch]: rework for parlist
4423
4424         * buffer.C (par_iterator_begin): adjust
4425         (par_iterator_end): adjust
4426
4427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4428
4429         * BufferView.C (removeAutoInsets): adjust
4430         (ChangeInsets): adjust
4431
4432 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * text.C (top_y): fix bug 1110
4435
4436 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * errorlist.[Ch]: added
4439         * buffer.C:
4440         * BufferView.[Ch]:
4441         * BufferView_pimpl.C:
4442         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4443         instead
4444
4445 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * Makefile.am: ensure that lyx is relinked upon changes to the
4448         various "convenience" libs.
4449
4450 2003-05-20  Angus Leeming  <leeming@lyx.org>
4451
4452         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4453         files are compiled in alphabetical order again.
4454
4455         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4456
4457 2003-05-19  Angus Leeming  <leeming@lyx.org>
4458
4459         * gettext.[Ch]: remove "char const * _(char const *)".
4460
4461 2003-05-19  André Pönitz  <poenitz@gmx.net>
4462
4463         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4464
4465         * Makefile.am:
4466         * BufferView.C:
4467         * DepTable.h:
4468         * LaTeXFeatures.C:
4469         * buffer.C:
4470         * lyxfont.C:
4471         * lyxlex.h:
4472         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4473
4474 2003-05-19  André Pönitz  <poenitz@gmx.net>
4475
4476         * buffer.C:
4477         * lyxlayout.[Ch]:
4478         * lyxtextclass.[Ch]:
4479         * paragraph.C:
4480         * paragraph_funcs.[Ch]:
4481         * text2.C:
4482         * text3.C: more insetenv work
4483
4484 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * ParagraphParameters.C (params2string): small bug fixed
4487
4488 2003-05-16  André Pönitz  <poenitz@gmx.net>
4489
4490         * debug.C:
4491         * bufferview_funcs.C: patch from Kornel Benko to prevent
4492           crash when _(...) is called twice in a statement
4493
4494 2003-05-16  André Pönitz  <poenitz@gmx.net>
4495
4496         * BufferView.C:
4497         * lyxfunc.C:
4498         * text.C:
4499         * text2.C:
4500         * text3.C:
4501         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4502
4503 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * lyx_main.C (init): remove spurious static_cast
4506
4507 2003-05-14  André Pönitz  <poenitz@gmx.net>
4508
4509         * BufferView.C: fix format string
4510
4511 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * BufferView.[Ch] (insertErrors): removed
4514         * BufferView.[Ch] (showErrorList): added
4515         * buffer.C (runChkTeX):
4516         * converter.C (scanLog): call showErrorList instead of inserterrors
4517
4518 2003-05-13  André Pönitz  <poenitz@gmx.net>
4519
4520         * BufferView_pimpl.C:
4521         * buffer.C:
4522         * bufferview_func.C:
4523         * MenuBackend.C:
4524         * lyxfunc.C:
4525         * lyxrc.C:
4526         * tex-accent.C:
4527         * text3.C:
4528         * toc.C:
4529         * tabular_funcs.h: tostr() from its own header
4530
4531         * ParagraphParameters.C:
4532         * ToolbarBackend.C:
4533         * bufferparams.C:
4534         * format.C:
4535         * lyxlex_pimpl.C:
4536         * text3.C: STRCONV()
4537
4538 2003-05-12  André Pönitz  <poenitz@gmx.net>
4539
4540         * BufferView.C:
4541         * BufferView_pimpl.C:
4542         * CutAndPaste.C:
4543         * LaTeX.C:
4544         * LaTeXFeatures.C:
4545         * ParagraphParameters.C:
4546         * buffer.C:
4547         * bufferlist.C:
4548         * bufferparams.C:
4549         * bufferview_funcs.C:
4550         * converter.C:
4551         * counters.C:
4552         * debug.C:
4553         * exporter.C:
4554         * format.C:
4555         * importer.C:
4556         * lyx_cb.C:
4557         * lyx_main.C:
4558         * lyxfont.C:
4559         * lyxfunc.C:
4560         * lyxvc.C:
4561         * paragraph.C:
4562         * paragraph_funcs.C:
4563         * tabular.C:
4564         * tabular_funcs.C:
4565         * text2.C:
4566         * text3.C:  boost::format -> bformat  all over the place
4567
4568
4569 2003-05-09  André Pönitz  <poenitz@gmx.net>
4570
4571         * LColor.[Ch]: Pimpl the #include <map> away
4572
4573 2003-05-09  John Levon  <levon@movementarian.org>
4574
4575         * bufferlist.C: never remove emergency saves
4576
4577 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * Makefile.am: better lib building
4580
4581 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4584         instead.
4585         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4586         (simpleTeXSpecialChars): adjust
4587         (simpleTeXSpecialChars): adjust
4588         * paragraph.C (simpleTeXOnePar): adjust
4589         * buffer.C (makeLaTeXFile): adjust
4590
4591         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4592
4593         * text2.C (changeDepth): parlist cleanup
4594         (getColumnNearX): ditto
4595
4596         * rowpainter.C (getLabelFont): parlist cleanup
4597
4598         * bufferlist.C (newFile): parlist cleanup
4599
4600         * CutAndPaste.C (eraseSelection): parlist cleanup
4601
4602         * BufferView_pimpl.C (trackChanges): parlist cleanup
4603         (dispatch): ditto
4604
4605         * BufferView.C (lockInset): parlist cleanup.
4606         (ChangeInsets): ditto
4607
4608 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * CutAndPaste.h: Update file header.
4611
4612         * CutAndPaste.C: Update file header.
4613         Store the parts cut out of the Document in a limited_stack.
4614         (copySelection): adjust
4615         (pasteSelection): new function, takes the index in the limited stack.
4616         (nrOfParagraphs): adjust
4617         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4618         simplify error inset insertion.
4619         (checkPastePossible): adjust
4620
4621 2003-05-06  John Levon  <levon@movementarian.org>
4622
4623         * text2.C: don't cast wrap inset to float
4624
4625 2003-05-05  André Pönitz  <poenitz@gmx.net>
4626
4627         * iterator.C:
4628         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4629
4630         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4631           few naked Paragraph *.
4632
4633 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4634
4635         * bufferparams.C: Output warning if a document with missing
4636         TeX document class is loaded
4637         * exporter.C: Disable TeX exports if the document class is missing
4638         * lyxtextclass.C:
4639         * lyxtextclass.h:
4640         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4641         isTeXClassAvailable()
4642
4643 2003-05-03  John Levon  <levon@movementarian.org>
4644
4645         * BufferView.h:
4646         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4647         explicit cursor show/hide
4648
4649         * BufferView_pimpl.h:
4650         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4651         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4652
4653         * lyxfunc.C: hide cursor before dispatching.
4654
4655         * lyx_cb.C:
4656         * lyxfind.C:
4657         * text.C:
4658         * text3.C: remove explicit cursor hides
4659
4660 2003-05-02  André Pönitz  <poenitz@gmx.net>
4661
4662         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4663
4664         * undo_funcs.C:
4665         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4666           linked lists
4667
4668         * text2.C: tiny whitespace
4669
4670 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * undo_funcs.C: almost only ws changes.
4673
4674         * ParagraphList.C (splice): just return if pl is empty.
4675
4676 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * ParagraphList.C (splice): new function.
4679
4680         * CutAndPaste.C (pasteSelection): use it
4681
4682 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * CutAndPaste.C (pasteSelection): remove the last next and
4685         previous from this file.
4686
4687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * CutAndPaste.C (pasteSelection): more clean up, user proper
4690         ParagraphList functions for pasteing.
4691
4692         * ParagraphList.C (insert): new function, three arg insert
4693
4694 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * ParagraphList.C (insert): new function, three arg insert
4697
4698         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4699         not on paragraphs.
4700
4701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4704
4705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4708
4709 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4712         (copySelection): clean up a bit.
4713         (pasteSelection): use make_pair
4714
4715         * ParagraphList.C (ParagraphList): implement copy constructor
4716         (operator=): implement, base on copy constructor.
4717         (assign): new func
4718
4719         * paragraph.C (erase): return a bool
4720
4721         * paragraph_pimpl.C (erasePos): remove function, move contents...
4722         (erase): ... here. Return a bool.
4723         (erase): call erase instead of erasePos.
4724
4725 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * ParagraphList.h: define PitPosPair
4728         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4729         ParagraphList, fix a bug on pasting multiple pars
4730         * text2.C: change interface to C&P
4731
4732 2003-04-30  André Pönitz  <poenitz@gmx.net>
4733
4734         * undo_func.C: revert part of yesterday's patch 2
4735
4736 2003-04-30  John Levon  <levon@movementarian.org>
4737
4738         * LColor.C: s/tabular/table/
4739
4740 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * text3.C (dispatch): do not convert iterator -> pointer
4743         * undo_funcs.C (setCursorParUndo): ditto
4744         * text_funcs.C (transposeChars): ditto
4745
4746         * text2.C (setLayout): ws changes only
4747
4748         * text.C (breakParagraph): do not convert iterator -> pointer
4749         (insertChar): ditto
4750         (acceptChange): ditto
4751         (rejectChange): ditto
4752         (changeCase): ditto
4753         (Delete): ditto
4754         (backspace): ditto
4755
4756         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4757         pointer
4758
4759 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * text3.C (gotoInset): YABG (yet another bad getChar)
4762
4763 2003-04-29  André Pönitz  <poenitz@gmx.net>
4764
4765         * paragraph.h: make operator= private unimplemented as long as
4766           it is unusable
4767
4768         * ParagraphList.C: whitespace
4769
4770         * paragraph.[Ch]:
4771         * paragraph_pimpl.[Ch]:
4772         * paragraph_funcs.C:
4773         * CutAndPaste.C:
4774         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4775
4776         * text2.C:
4777           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4778
4779 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4782         * paragraph.[Ch] (erase):
4783         * paragraph_pimpl.[Ch] (erase): change return type and value
4784         * text2.C (cutSelection): some rework
4785
4786 2003-04-28  John Levon  <levon@movementarian.org>
4787
4788         * bufferlist.C: changes for unsaved changes dialog
4789
4790 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * bufferlist.C (newFile): set language (messages_) for new
4793         documents also.
4794
4795         * buffer.C (readFile): ws changes only.
4796
4797 2003-04-28  André Pönitz  <poenitz@gmx.net>
4798
4799         * undo_funcs.C:
4800         * lyxfunc.C:
4801         * buffer.[Ch]:
4802         * BufferView_pimpl.C:
4803         * BufferView.C: getParFromID related ParagraphList::iterator changes
4804
4805 2003-04-28  André Pönitz  <poenitz@gmx.net>
4806
4807         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4808           Changes
4809
4810 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * messages.C: remove one more localedir class variable.
4813
4814 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * messages.C (getLocaleDir): singleton generation function
4817         (Pimpl): use it.
4818         (Messages): add a default constructor.
4819
4820         * main.C (main): do not setup localedir here, do not call
4821         gettext_init.
4822
4823         * gettext.C (_): use it.
4824         (gettext_init): delete funciton
4825
4826 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * gettext.C (getLyXMessages): new singleton generating function.
4829
4830         * buffer.C (updateDocLang): adjust
4831
4832         * Makefile.am (messages.o): add target
4833         (main.o): remove target
4834
4835 2003-04-27  John Levon  <levon@movementarian.org>
4836
4837         * bufferlist.C:
4838         * lyx_cb.C:
4839         * lyxfunc.C:
4840         * lyxvc.C: specify cancel button in Alert::prompt
4841
4842 2003-04-26  John Levon  <levon@movementarian.org>
4843
4844         * text3.C:
4845         * lyxfunc.C:
4846         * lfuns.h:
4847         * LyXAction.C: add LFUN_INSET_SETTINGS
4848
4849         * lyxfunc.C: don't enable tabular-feature when there's
4850         just any locking inset
4851
4852 2003-04-26  John Levon  <levon@movementarian.org>
4853
4854         * bufferlist.C: re-add Cancel to buffer close question
4855
4856         * lyxfunc.C: fix import UI a bit
4857
4858 2003-04-25  John Levon  <levon@movementarian.org>
4859
4860         * gettext.C: remove the broken asserts for now
4861
4862 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * messages.C: make case where setlocale cannot comply work better.
4865
4866         * buffer.C (updateDocLang): new function
4867         (changeLanguage): use it
4868         (readFile): use it
4869
4870         * text2.C (setCounter): use B_ a bit.
4871
4872         * lyxlayout.C (Read): be sure to trim the label strings.
4873
4874         * messages.C (Messages): fix typo in comment
4875
4876         * buffer.C (readFile): set message_ after file is loaded.
4877         (makeDocBookFile): remove double return
4878         (changeLanguage): reset message_ upon language change.
4879         (B_): new func, use this to get translated buffer strings.
4880
4881         * main.C: add myself and Jean Marc as authors.
4882
4883 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * messages.[hC]: pimplify Messages, and three different pimpls to be
4886         used in different circumstances.
4887
4888         * gettext.[Ch]: change for use with new message code.
4889
4890 2003-04-24 André Pönitz <poenitz@gmx.net>
4891
4892         * factory.C: support for eqref
4893
4894 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * messages.[Ch]: add missing char
4897
4898         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4899
4900         * messages.[Ch]: New files
4901
4902 2003-04-18  John Levon  <levon@movementarian.org>
4903
4904         * BufferView.h:
4905         * BufferView.C:
4906         * BufferView_pimpl.C:
4907         * lfuns.h:
4908         * LyXAction.C:
4909         * lyxtext.h:
4910         * text2.C: remove layout-copy/paste (bug 778)
4911
4912 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4915
4916 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4919         if they succeed. Act accordingly.
4920
4921 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * text2.C (setCharFont): adjust
4924         (setCounter): adjust
4925         (insertStringAsLines): adjust
4926
4927         * text.C (leftMargin): adjust
4928         (setHeightOfRow): adjust
4929
4930         * rowpainter.C (paintFirst): adjust
4931         (paintLast): adjust
4932
4933         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4934         (outerHook): ditto
4935         (isFirstInSequence): ditto
4936         (getEndLabel): ditto
4937         (outerFont): adjust
4938
4939         * paragraph.C (getParLanguage): comment out some hard stuff.
4940
4941         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4942         (sgmlError): ditto
4943         (simpleDocBookOnePar): ditto
4944         (makeDocBookFile): use ParagraphList::iterator
4945
4946         * CutAndPaste.C (pasteSelection): adjust
4947
4948 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * text2.C (getFont): adjust
4951         (getLayoutFont): adjust
4952         (getLabelFont): adjust
4953
4954         * paragraph_funcs.C (TeXOnePar): adjust
4955
4956         * buffer.C (simpleLinuxDocOnePar): adjust
4957         (simpleDocBookOnePar): adjust
4958
4959         * CutAndPaste.C (pasteSelection): adjust
4960
4961         * BufferView.C (getEncoding): adjust
4962
4963         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4964
4965 2003-04-16  John Levon  <levon@movementarian.org>
4966
4967         * lyxfind.C: use parlist stuff for search/changes
4968
4969 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4972
4973         * text2.C (deleteEmptyParagraphMechanism): adjust
4974
4975         * text2.[Ch] (ownerParagraph): delete func (both of them
4976
4977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4980
4981 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * ParagraphList.C: prepare for NO_NEXT
4984
4985 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * text2.C (getFont): adjust
4988         (getLayoutFont): adjust
4989         (getLabelFont): adjust
4990
4991         * paragraph.C (getFont): adjust
4992         (getLabelFont): adjust
4993         (getLayoutFont): adjust
4994
4995         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4996
4997 2003-04-15  John Levon  <levon@movementarian.org>
4998
4999         From Angus Leeming
5000
5001         * lyx_main.C: handle Include in .ui files
5002
5003 2003-04-15  John Levon  <levon@movementarian.org>
5004
5005         * MenuBackend.C: make the doc files length shorter
5006
5007         * ToolbarBackend.h:
5008         * ToolbarBackend.C: handle toolbar placement flags,
5009         Minibuffer
5010
5011 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5014         adjust
5015
5016         * paragraph_funcs.C (TeXOnePar): adjust
5017
5018         * paragraph.C (getLabelFont): add outerfont arg, adjust
5019         (getLayoutFont): ditto
5020         (simpleTeXOnePar): adjust
5021
5022         * paragraph_pimpl.C (realizeFont): delete func
5023
5024 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5025
5026         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5027         row argument, constify cur argument.
5028
5029 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * text2.C (getFont): adjust
5032         (getLayoutFont): adjust
5033         (getLabelFont): adjust
5034
5035         * paragraph_funcs.C (TeXOnePar): adjust
5036         (outerFont): new func...
5037         (realizeFont): ...moved out from here, changed this to facilitate
5038         transition
5039
5040         * paragraph.C (getFont): take outerfont as arg, adjust
5041         (simpleTeXOnePar): add outerfont arg, adjust
5042
5043         * buffer.C (simpleLinuxDocOnePar): adjust
5044         (simpleDocBookOnePar): adjust
5045
5046         * CutAndPaste.C (pasteSelection): adjust
5047
5048         * BufferView.C (getEncoding): adjust
5049
5050 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * text2.C (setCharFont): adjust
5053         (setCounter): adjust
5054
5055         * text.C (leftMargin): adjust
5056         (setHeightOfRow): adjust
5057
5058         * rowpainter.C (paintFirst): adjust
5059         (paintLast): adjust
5060
5061         * paragraph_pimpl.C (realizeFont): adjust
5062
5063         * paragraph.C (isFirstInSequence): move from here...
5064         * paragraph_funcs.C (isFirstInSequence): ...to here
5065
5066         * paragraph.C (outerHook): move from here...
5067         * paragraph_funcs.C (outerHook): ...to here
5068
5069         * paragraph.C (depthHook): move from here...
5070         * paragraph_funcs.C (depthHook): ...to here
5071
5072         * paragraph.C (getEndLabel): move from here...
5073         * paragraph_funcs.C (getEndLabel): ...to here
5074
5075         * text2.C (realizeFont): move from here...
5076         * paragraph_funcs.C (realizeFont): ...to here
5077
5078 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5081
5082 2003-04-14  Angus Leeming  <leeming@lyx.org>
5083
5084         * LColor.[Ch]: scrap LColor mathcursor.
5085
5086 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * lyxlex.[Ch] (text): delete function
5089         * trans.C (Load): adjust
5090         * paragraph_funcs.C (readParToken): adjust
5091
5092 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5095         vector<char> instead of a char[].
5096
5097         * lyxlex_pimpl.C (getString): adjust
5098         (next): adjust
5099         (lex): use getString
5100         (eatLine): adjust
5101         (nextToken): adjust
5102
5103         * lyxlex.C (text): use pimpl_->getString()
5104         (getBool): ditto
5105         (findToken): ditto
5106
5107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5110         (makeFontEntriesLayoutSpecific): temp var for par.size()
5111         (setLayout): temp var for ownerParagraphs().end()
5112         (fullRebreak): temp var for rows().end()
5113         (selectionAsString): temp var for boost::next(startpit), realize
5114         that the while really is a regular for loop.
5115         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5116         setCursor in one place.
5117         (setParagraph): temp vr for ownerParagraphs().end()
5118         (updateCounters): make the while loop a for loop
5119         (cutSelection): temp var for ownerParagraphs().end()
5120         (updateInset): make the do {} while() a regular for loop
5121         (getCursorX): use temp vars
5122         (setCurrentFont): use temp vars
5123         (getColumnNearX): use temp vars
5124
5125 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text.C (transformChar): use temp var for getChar
5128         (computeBidiTables): use temp var for row->par()
5129         (fill): move temp vars for row->par() and pit->layout() earlier in
5130         the function.
5131         (labelFill): use temp var for row->par()
5132         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5133         asc and desc, realize that pit never changes and that firstpit is
5134         just a duplicate and not needed. Exchange rit->par() with pit in a
5135         lot of places.
5136         (breakAgain): use a temp var for boost::next(rit)
5137         (breakAgainOneRow): ditto
5138         (breakParagraph): use a temp var for rows().begin()
5139         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5140         (cursorRightOneWord): use temp var for cursor.par() and
5141         cursor.pos(), remove usage of tmpcursor.
5142         (cursorLeftOneWord): use temp var for cursor.par() and
5143         cursor.pos() only set cur at end of function.
5144
5145 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * text.C, text2.C: exchange all usage of Paragraph::next with
5148         boost::next(ParagraphList::iterator)
5149
5150         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5151
5152         * text2.C (cursorTop): simplify implementation
5153         (cursorBottom): ditto
5154         (setParagraph): use ParagraphList::iterator
5155         (setCurrentFont): adjust
5156         (getColumnNearX): adjust
5157         (cursorRight): adjust
5158         (cursorLeft): remove usage of Paragraph::previous
5159         (cursorUpParagraph): ditto
5160         (deleteEmptyParagraphMechanism): slight cleanup
5161
5162         * text.C (isBoundary): take a Paragraph const & instead of a
5163         pointer as arg.
5164         (addressBreakPoint): ditto
5165         (leftMargin): remove usage of Paragraph::previous.
5166         (setHeightOfRow): ditto
5167         (cursorLeftOneWord): ditto
5168         (selectNextWordToSpellcheck): ditto
5169         (Delete): ditto
5170         (backspace): ditto
5171         (breakParagraph): remove one usage of Paragraph::next
5172         (redoParagraph): ditto
5173         (acceptChange): ditto
5174         (insertChar): adjust
5175         (rowBreakPoint): adjust
5176
5177         * bufferview_funcs.C (toggleAndShow): adjust
5178
5179 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5180
5181         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5182         methods to access it.
5183         * lyxtext.h:
5184         * text.C: Added updateRowPositions to compute all row positions.
5185         Make top_y and getRowNearY() to use the cached y position
5186
5187 2003-04-11  John Levon  <levon@movementarian.org>
5188
5189         * text.C (rowBreakPoint): reintroduce the labelEnd
5190         checks, code copied from the row fill stuff. Deep voodoo.
5191
5192         * text.C (fill): add a comment and debugging for the
5193         next poor soul.
5194
5195 2003-04-11  John Levon  <levon@movementarian.org>
5196
5197         * text.C: make sure fullrow insets get wrapped to the next line,
5198         even when they're in a manual label
5199
5200 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * text2.C (insertParagraph): make it take ParagraphList::iterator
5203         as arg.
5204         (setLayout): make it return ParagraphList::iterator
5205         (redoParagraphs): ditto
5206         (setCounter): ditto
5207         (checkParagraph): ditto
5208
5209         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5210
5211         * text2.C: adjust several funcs.
5212         (realizeFont): take a ParagraphList::iterator as arg.
5213         (getLayoutFont): ditto
5214         (getLabelFont): ditto
5215         (setCharFont): ditto
5216
5217         * text.C: adjust several funcs.
5218
5219 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * text.C (selectNextWordToSpellcheck): don't accidentally
5222         skip insets
5223
5224 2003-04-10  John Levon  <levon@movementarian.org>
5225
5226         * ToolbarBackend.C (getIcon): special handling for
5227         LFUN_MATH_DELIM
5228
5229 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * text2.C (cursorRight): a getChar assert fixed
5232
5233 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text2.C (getFont): change to take a ParagraphList::iterator
5236         instead of Paragraph*
5237         Adjust several functions.
5238
5239         * text.C (transformChar): change to take a ParagraphList::iterator
5240         instead of Paragraph*
5241         (singleWidth): ditto
5242         Adjust several functions.
5243
5244         * rowpainter.C: adjust several functions
5245         * rowpainter.h:store a ParagraphList::iterator and not a
5246         Paragraph&.
5247
5248
5249 2003-04-09  John Levon  <levon@movementarian.org>
5250
5251         * lyxfunc.C:
5252         * lfuns.h:
5253         * LyXAction.h:
5254         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5255         and the "help" bits as well
5256
5257 2003-04-09  John Levon  <levon@movementarian.org>
5258
5259         * ToolbarBackend.h:
5260         * ToolbarBackend.C: allow multiple toolbars
5261
5262 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * undo_funcs.C (setCursorParUndo): adjust
5265
5266         * text_funcs.C (transposeChars): adjust
5267
5268         * text3.C (gotoNextInset): adjust
5269         (dispatch): adjust
5270
5271         * text2.C (setLayout): adjust
5272         (changeDepth): adjust
5273         (setFont): adjust
5274         (redoParagraphs): adjust
5275         (selectionAsString): adjust
5276         (setParagraph): adjust
5277         (insertInset): adjust
5278         (cutSelection): adjust
5279         (copySelection): adjust
5280         (pasteSelection): adjust
5281         (insertStringAsLines): adjust
5282         (updateInset): adjust
5283         (setCursor): change to take a ParagraphList::iterator parameter
5284         (setCursorIntern): change to take a ParagraphList::iterator parameter
5285         (setCurrentFont): adjust
5286         (cursorLeft): adjust
5287         (cursorRight): adjust
5288         (deleteEmptyParagraphMechanism): adjust
5289
5290         * text.C (breakParagraph): adjust
5291         (insertChar): adjust
5292         (acceptChange): adjust
5293         (rejectChange): adjust
5294         (selectNextWordToSpellcheck): adjust
5295         (changeCase): adjust
5296         (Delete): adjust
5297         (backspace): adjust
5298
5299         * lyxfind.C (SearchForward): adjust
5300         (SearchBackward): adjust
5301         (nextChange): adjust
5302
5303         * lyxcursor.C (par): adjust
5304
5305         * lyxcursor.h: store a ParagraphList::iterator instead of a
5306         Paragraph*
5307
5308         * lyx_cb.C (getPossibleLabel): adjust
5309
5310         * bufferview_funcs.C (toggleAndShow): adjust
5311
5312         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5313         (dispatch): adjust
5314
5315         * BufferView.C (removeAutoInsets): adjust
5316         (lockedInsetStoreUndo): adjust
5317
5318 2003-04-09  John Levon  <levon@movementarian.org>
5319
5320         * ToolbarBackend.C: try icon without argument
5321         if with argument fails
5322
5323 2003-04-08  John Levon  <levon@movementarian.org>
5324
5325         * ToolbarBackend.h:
5326         * ToolbarBackend.C: add getIcon(), handle tooltip,
5327         and change from "Icon" to "Item".
5328
5329 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * BufferView.C (lockInset): another bad getchar crunched
5332
5333 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5336         again)
5337
5338 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * lyxfind.C (searchForward, searchBackwards): bug 782
5341
5342 2003-04-07  John Levon  <levon@movementarian.org>
5343
5344         * paragraph.C: remove dead comment
5345
5346         * text.C: remove troublesome depth-fiddling code
5347         in leftMargin() and rightMargin() (bug 1017)
5348
5349         * text.C: fix breaking of rows in nested lists
5350         (bug 1004)
5351
5352         * text2.C (updateCounters): fix up depth values
5353         (bug 1013)
5354
5355 2003-04-07  John Levon  <levon@movementarian.org>
5356
5357         * BufferView_pimpl.C: clear message when doc finishes resizing,
5358         and after a mouse event
5359
5360         * lyxfunc.C: clear message after exiting inset
5361
5362 2003-04-07  John Levon  <levon@movementarian.org>
5363
5364         * bufferview_funcs.C: show math status not outside
5365         status in the statusbar
5366
5367 2003-04-07  John Levon  <levon@movementarian.org>
5368
5369         * lyxfunc.C: note status changed after a depth change
5370
5371 2003-04-04  Angus Leeming  <leeming@lyx.org>
5372
5373         * LaTeX.h: move AuxInfo operator==, != out of line.
5374         Remove LaTeX virtual destructor; nothing derives from it.
5375         Move operator()() out of public area and rename it startscript().
5376         Change protected for private.
5377
5378 2003-04-04  Angus Leeming  <leeming@lyx.org>
5379
5380         * lyxfunc.C:
5381         * text2.C: remove unneeded #includes.
5382
5383 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * text2.C (dEPM): fix the heigth of the next row
5386
5387 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5388
5389         * text.C: squashed an invalid getChar requester + some ws changes
5390
5391 2003-04-03  John Levon  <levon@movementarian.org>
5392
5393         * bufferview_funcs.h:
5394         * bufferview_funcs.C:
5395         * lyxfunc.C:
5396         * lyxtext.h:
5397         * text2.C: make getStatus work for the env depth lfuns
5398
5399 2003-04-03  John Levon  <levon@movementarian.org>
5400
5401         * bufferview_funcs.h:
5402         * bufferview_funcs.C:
5403         * lyxfunc.C:
5404         * lyxtext.h:
5405         * text2.C: parlistize decDepth(), by merging it with incDepth()
5406
5407 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * lyxrow.h: store a ParagraphList::iterator instead of a
5410         Paragraph* and adjust other class functions to suit.
5411
5412         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5413         above.
5414
5415 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5416
5417         * text2.C (setCursor): do not anchor to cursor row for the time being
5418
5419 2003-04-02  John Levon  <levon@movementarian.org>
5420
5421         * LyXAction.C:
5422         * lfuns.h:
5423         * lyx_main.C:
5424         * lyxtext.h:
5425         * text.C:
5426         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5427
5428 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * paragraph.h: make ParagraphList and ParagraphList::iterator
5431         friends of Paragraph.
5432
5433         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5434
5435         * ParagraphList.C: Use the private next_ and previous_ from
5436         Paragraph.
5437
5438 2003-04-01  John Levon  <levon@movementarian.org>
5439
5440         * ToolbarBackend.h:
5441         * ToolbarBackend.C:
5442         * Makefile.am: rename, remove defaults gunk
5443
5444         * MenuBackend.h:
5445         * MenuBackend.C: remove defaults gunk
5446
5447         * Languages.h:
5448         * Languages.C: remove defaults gunk
5449
5450         * lyx_main.h:
5451         * lyx_main.C: error out if files couldn't be found.
5452
5453 2003-04-02  John Levon  <levon@movementarian.org>
5454
5455         * text2.C: make incDepth() use parlist
5456
5457 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * undo_funcs.C (firstUndoParagraph): adjust
5460
5461         * text3.C (gotoInset): adjust
5462         (dispatch): adjust, and rewrite loop.
5463
5464         * text2.C (init): adjust, and rewrite loop.
5465         (redoParagraphs): adjust
5466         (updateInset): adjust, and rewrite loop.
5467         (deleteEmptyParagraphMechanism): adjust
5468
5469         * tabular.C (LyXTabular): adjust
5470         (SetMultiColumn): adjust
5471         (TeXRow): adjust
5472
5473         * lyxtext.[Ch] (ownerParagraph): delete function
5474         (ownerParagraphs): new function returns a ParagraphList.
5475
5476         * BufferView.C (removeAutoInsets): adjust
5477         (insertErrors): adjust
5478         (setCursorFromRow): adjust
5479
5480 2003-04-01  Angus Leeming  <leeming@lyx.org>
5481
5482         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5483         in the frontends.
5484
5485 2003-04-02  John Levon  <levon@movementarian.org>
5486
5487         * lyxtext.h:
5488         * text.C:
5489         * Makefile.am:
5490         * text_funcs.h:
5491         * text_funcs.C: make transposeChars a free function
5492
5493         * lyxrow_funcs.C: remove wrong comment
5494
5495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * lyxtext.h: adjust
5498         * rowpainter.C: adjust
5499         * text.C: adjust
5500         * text2.C: adjust
5501         * text3.C: adjust
5502
5503         * lyxrow_funcs. [Ch]: new files
5504
5505         * lyxrow.[Ch]: remove next and previous pointers
5506         (next,previous): remove accessor functions
5507         (isParEnd): move to lyxrow_funcs
5508         (lastPos): move to lyxrow_funcs
5509         (nextRowIsAllInset): move to lyxrow_funcs
5510         (lastPrintablePos): move to lyxrow_funcs
5511         (numberOfSeparators): move to lyxrow_funcs
5512         (numberOfHfills): move to lyxrow_funcs
5513         (numberOfLabelHfills): move to lyxrow_funcs
5514         (hfillExpansion): move to lyxrow_funcs
5515
5516         * lyxfunc.C: adjust
5517
5518         * bufferview_funcs.C (toggleAndShow): adjust
5519
5520         * RowList.h: Remove class RowList from file leave just a
5521         std::list<Row>.
5522
5523         * RowList.C: delete file
5524
5525         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5526         and lyxrow_funcs.h
5527
5528 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * text3.C (cursorPrevious): adjust
5531         (cursorNext): adjust
5532         (dispatch): adjust
5533
5534         * text2.C (redoHeightOfParagraph): adjust
5535         (redoDrawingOfParagraph): adjust
5536         (setCursor): adjust
5537
5538         * text.C (breakParagraph): adjust
5539         (insertChar): adjust
5540         (backspace): adjust
5541
5542         * rowpainter.C (RowPainter): adjust
5543         (leftMargin): simplify and adjust
5544         (most rowpainter functions): adjust.
5545
5546         * rowpainter.h: store the row as RowList::iterator not as Row*
5547
5548         * lyxcursor.C (row): taka RowList::iterator as arg
5549         (irow): ditto
5550
5551         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5552         of Row*.
5553
5554 2003-04-01  Angus Leeming  <leeming@lyx.org>
5555
5556         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5557         stuff like bool Bool.
5558
5559 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5562         rewrite a loop
5563
5564 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5567         RowList::iterator.
5568
5569         * lyxtext.h (rows): drop one version and leve a const variant that
5570         returns a RowList::iterator.
5571
5572 2003-03-31  Angus Leeming  <leeming@lyx.org>
5573
5574         * text.C (fill): ensure that the signature is the same as that in the
5575         header file.
5576
5577 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * text2.C (redoParagraphs): adjust
5580         (updateCounters): adjust
5581         (checkParagraph): adjust
5582         (getColumnNearX): adjust and reformat a bit.
5583
5584         * text.C (top_y): adjust
5585         (workWidth): adjust
5586         (leftMargin): adjust
5587         (prepareToPrint): adjust
5588         (getRow): adjust
5589         (getRowNearY): adjust
5590
5591         * lyxtext.h: make rowlist_ mutable.
5592
5593         * RowList.h: add const_iterator
5594         * RowList.C: adjust for RowList::const_iterator.
5595
5596         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5597         adjust.
5598
5599 2003-03-31  John Levon  <levon@movementarian.org>
5600
5601         * lyxrc.h:
5602         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5603
5604         * lyx_main.C: set default fonts from using lyx_gui funcs
5605
5606         * exporter.C: pdf_mode moved from lyxrc
5607
5608         * lyx_cb.C:
5609         * lyxfunc.C: changes from above
5610
5611 2003-03-31  John Levon  <levon@movementarian.org>
5612
5613         * lyx_main.C: fix to the last fix
5614
5615 2003-03-31  John Levon  <levon@movementarian.org>
5616
5617         * bufferlist.C: "Load original" -> "Load Original"
5618
5619         * converter.C:
5620         * exporter.C:
5621         * importer.C:
5622         * lyx_main.C:
5623         * format.C: more Alert cleanups
5624
5625 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * text2.C (removeParagraph): make it take a RowList::iterator as
5628         arg, adjust.
5629         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5630         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5631
5632         * text.C (anchor_row): make it take a RowList::iterator as arg,
5633         adjust.
5634         (computeBidiTables): make it take a const reference to Row instead
5635         of Row pointer, adjust.
5636         (leftMargin): make it take a RowList::iterator as arg, adjust.
5637         (rowBreakPoint): adjust
5638         (breakAgainOneRow): make it take a RowList::iterator as arg,
5639         adjust.
5640         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5641
5642         * bufferview_funcs.C (toggleAndShow): adjust
5643
5644 2003-03-30  John Levon  <levon@movementarian.org>
5645
5646         * Makefile.am:
5647         * BoostFormat.h:
5648         * boost-inst.C: moved to support
5649
5650         * several files: changes as a result
5651
5652 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * text2.C (LyXText): adjust.
5655         (init): adjust
5656         (removeRow): make it take a RowList::iterator as arg, adjust.
5657         (fullRebreak): adjust
5658         (deleteEmptyParagraphMechanism): adjust
5659         (clearPaint): adjust
5660         (postPaint): adjust
5661
5662         * text.C (top_y): adjust
5663         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5664         (breakAgain): make it take a RowList::iterator as arg, adjust.
5665         (breakParagraph): adjust
5666         (insertChar): adjust
5667         (backspace): adjust
5668
5669         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5670         need_break_row, and refresh_row.
5671
5672         * text3.C (dispatch): adjust
5673
5674         * text2.C (checkParagraph): adjust
5675         (setCursor): adjust
5676         (setCursorFromCoordinates): adjust
5677
5678         * text.C (top_y): adjust
5679         (workWidth): adjust
5680         (getRow): make it return a RowList::iterator, adjust
5681         (getRowNearY): make it return a RowList::iterator, adjust
5682
5683         * text2.C (init): adjust
5684         (insertRow): remove function
5685         (insertParagraph): adjust
5686         (redoParagraphs): adjust
5687         (fullRebreak): adjust
5688         (updateCounters): adjust
5689
5690         * text.C (top_y): rewrite to use RowList iterators.
5691         (top_y): adjust
5692         (setHeightOfRow): rewrite to sue RowList iterators.
5693         (appendParagraph): adjust
5694         (breakAgain): adjust
5695         (breakAgainOneRow): adjust
5696         (breakParagraph): adjust
5697         (getRow): adjust
5698         (getRowNearY): adjust, and remove commented code.
5699
5700         * lyxtext.h (firstRow): delete function
5701         (lastRow): delete function
5702         (rows): new function (const and non-const versions.)
5703         (insertRow): delete function
5704
5705         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5706
5707 2003-03-29  John Levon  <levon@movementarian.org>
5708
5709         * BufferView_pimpl.C: always update scrollbar top
5710         because pasting text when we're anchored could mean we
5711         miss an update altogether
5712
5713 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * text2.C (init): use rowlist_.end() and not 0.
5716         (insertRow): change to take a RowList::iterator as arg, adjust
5717         for this.
5718         (insertParagraph): change to take a RowList::iterator as arg,
5719         adjust for this.
5720         (redoParagraphs): remove some debug msgs.
5721
5722         * text.C (appendParagraph): change to take a RowList::iterator
5723         arg, adjust for this.
5724         (breakAgain): add an assert
5725         (breakAgainOneRow): ditto
5726
5727 2003-03-29  John Levon  <levon@movementarian.org>
5728
5729         * text2.C: do not clear selection after inc/decDepth
5730         (bug 550)
5731
5732 2003-03-29  John Levon  <levon@movementarian.org>
5733
5734         * BufferView.C:
5735         * buffer.C: fix broken strerrors according to Lars
5736
5737 2003-03-29  John Levon  <levon@movementarian.org>
5738
5739         * converters.C: more Alert cleanups
5740
5741 2003-03-29  John Levon  <levon@movementarian.org>
5742
5743         * bufferview_funcs.C: remove pointless Alert
5744
5745         * buffer.C: fix confusing error message when
5746         a template is chmoded 000
5747
5748 2003-03-29  John Levon  <levon@movementarian.org>
5749
5750         * BufferView.C:
5751         * BufferView.h:
5752         * BufferView_pimpl.C: Alert fixes
5753
5754         * Makefile.am:
5755         * tabular.C:
5756         * tabular-old.C: remove unused table compat reading
5757
5758 2003-03-29  John Levon  <levon@movementarian.org>
5759
5760         * BufferView.C:
5761         * buffer.C:
5762         * lyx_cb.h:
5763         * lyx_cb.C: more Alert cleanups
5764
5765         * lyxfunc.C: don't allow chktex if not latex document
5766
5767 2003-03-29  John Levon  <levon@movementarian.org>
5768
5769         * lyx_cb.C:
5770         * BufferView.C:
5771         * buffer.C: warnings pushed down from support/,
5772         kill err_alert
5773
5774 2003-03-29  John Levon  <levon@movementarian.org>
5775
5776         * lyxfunc.C: safety check for C-r (revert)
5777
5778 2003-03-29  John Levon  <levon@movementarian.org>
5779
5780         * bufferlist.h:
5781         * bufferlist.C: several UI fixes using Alert::prompt.
5782         Fix the pointless looping quit code. Fix stupid revert
5783         behaviour (bug 938)
5784
5785         * lyxvc.h:
5786         * lyxvc.C:
5787         * lyx_cb.C: use Alert::prompt
5788
5789         * lyx_main.C: remove a silly question
5790
5791         * lyxfunc.C: remove a couple of silly questions,
5792         use Alert::prompt
5793
5794 2003-03-28  John Levon  <levon@movementarian.org>
5795
5796         * text2.C: fix bug 974 (End on empty par)
5797
5798 2003-03-28  John Levon  <levon@movementarian.org>
5799
5800         * BufferView_pimpl.C:
5801         * LyXAction.C:
5802         * lfuns.h: remove do-nothing math greek lfuns
5803
5804 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * lyxgluelength.h (isValidGlueLength): add default arg on
5807         parameter 2. Remove default arg from friend in class.
5808
5809         * lyxlength.h (isValidLength): add default arg on parameter 2.
5810         Remove default arg from friend in class.
5811
5812         * text2.C (LyXText): adjust, initialize refresh_row.
5813         (init): adjust
5814         (removeRow): adjust
5815         (insertRow): adjust
5816         (insertParagraph): adjst
5817         (redoParagraphs): adjust
5818         (fullRebreak): adjust
5819         (updateCounters): adjust
5820         (deleteEmptyParagraphMechanism): first attempt at fixing a
5821         crashing bug.
5822
5823         * text.C (top_y): adjust
5824         (setHeightOfRow): adjust
5825         (getRow): adjust
5826         (getRowNearY): adjust
5827
5828         * lyxtext.h: include RowList.h
5829         (~LyXText): not needed anymore, deleted.
5830         (firstRow): modify for RowList
5831         (lastRow): new function
5832         Delete firstrow and lastrow class variables, add a Rowlist
5833         rowlist_ class variable.
5834
5835         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5836         paragraph is empty.
5837
5838         * RowList.C (insert): fix case where it == begin().
5839
5840 2003-03-26  Angus Leeming  <leeming@lyx.org>
5841
5842         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5843         the thesaurus dialog.
5844
5845 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5848
5849         * RowList.[Ch]: new files
5850
5851         * ParagraphList.C (erase): handle the case where it == begin
5852         correctly.
5853
5854 2003-03-25  John Levon  <levon@movementarian.org>
5855
5856         * Makefile.am:
5857         * aspell_local.h:
5858         * aspell.C: add new aspell support
5859
5860         * lyxrc.h:
5861         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5862         have it accessible.
5863
5864 2003-03-25  Angus Leeming  <leeming@lyx.org>
5865
5866         * lfuns.h:
5867         * LyXAction.C (init): new LFUN_INSET_INSERT.
5868
5869         * BufferView_pimpl.C (dispatch): split out part of the
5870         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5871
5872         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5873         LFUN_INSET_APPLY.
5874
5875 2003-03-25  Angus Leeming  <leeming@lyx.org>
5876
5877         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5878
5879 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5880
5881         * text2.C:
5882         * text3.C: remove useless row->height(0)
5883
5884 2003-03-25  John Levon  <levon@movementarian.org>
5885
5886         * lyxtext.h:
5887         * text2.C:
5888         * text3.C: rename the refreshing stuff to better names
5889
5890 2003-03-24  John Levon  <levon@movementarian.org>
5891
5892         * BufferView_pimpl.h:
5893         * BufferView_pimpl.C: update layout choice on a mouse
5894         press/release
5895
5896 2003-03-23  John Levon  <levon@movementarian.org>
5897
5898         * Makefile.am: fix commandtags.h reference
5899
5900 2003-03-22  John Levon  <levon@movementarian.org>
5901
5902         * BufferView_pimpl.C:
5903         * lyxtext.h:
5904         * rowpainter.C:
5905         * rowpainter.h:
5906         * text.C:
5907         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5908
5909 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5910
5911         * lyxtext.h:
5912         * text.C: take the rtl methods out of line
5913
5914 2003-03-21 André Pönitz <poenitz@gmx.net>
5915
5916         * metricsinfo.[Ch]: new files containing structures to be passed around
5917         during the two-phase-drawing...
5918
5919 2003-03-21 André Pönitz <poenitz@gmx.net>
5920
5921         * lyxtextclass.C: read 'environment' tag.
5922
5923 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * text2.C (removeRow): fix bug 964
5926
5927 2003-03-20  John Levon  <levon@movementarian.org>
5928
5929         * rowpainter.C:
5930         * text.C:
5931         * text2.C: paint cleanups. Inset::update() dropped font
5932         parameter
5933
5934 2003-03-19  John Levon  <levon@movementarian.org>
5935
5936         * lyxfunc.C: only fitcursor/markDirty if available()
5937
5938 2003-03-19  John Levon  <levon@movementarian.org>
5939
5940         * commandtags.h: rename to ...
5941
5942         * lfuns.h: ... this, and renumber / cleanup
5943
5944 2003-03-19  John Levon  <levon@movementarian.org>
5945
5946         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5947         fit the cursor after an lfun
5948
5949         * BufferView.h:
5950         * BufferView.C:
5951         * BufferView_pimpl.h:
5952         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5953
5954         * LyXAction.C: layout-character should have ReadOnly
5955
5956         * ParagraphParameters.C:
5957         * buffer.C:
5958         * bufferview_funcs.C:
5959         * lyx_cb.C:
5960         * lyxfind.C:
5961         * lyxtext.h:
5962         * text.C:
5963         * text2.C:
5964         * text3.C:
5965         * undo_funcs.C: changes from above
5966
5967 2003-03-18  John Levon  <levon@movementarian.org>
5968
5969         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5970         remove it from update()
5971
5972         * lyxfunc.C: update layout choice after an lfun
5973
5974         * text3.C: remove extra updateLayoutChoice()s
5975
5976 2003-03-18  John Levon  <levon@movementarian.org>
5977
5978         * text.C: top_y change means full repaint, fix
5979         a drawing bug with cursor movement
5980
5981 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5982
5983         * lyxtext.h:
5984         * text.C:
5985         * text2.C: anchor row on setCursor
5986
5987 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5988
5989         * lyxtext.h: remove almost all mutable keywords
5990         * text.C:
5991         * text2.C:
5992         * text3.C: remove const keywords accordingly
5993
5994 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5997         anon namespace
5998         (TeXEnvironment): ditto
5999         (TeXOnePar): ditto
6000
6001 2003-03-17  John Levon  <levon@movementarian.org>
6002
6003         * text.C (rowBreakPoint): remove attempt to fix displayed
6004         math insets inside a manual label
6005
6006 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * lyxtext.h: remove BufferView* as first arg from almost all class
6009         functions.
6010         * other files: adjust.
6011
6012 2003-03-17  John Levon  <levon@movementarian.org>
6013
6014         * lyxtext.h:
6015         * undo_funcs.C:
6016         * text2.C: more paint cleanups
6017
6018         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6019
6020         * rowpainter.h:
6021         * rowpainter.C: remove "smart" background painting code
6022
6023 2003-03-16  John Levon  <levon@movementarian.org>
6024
6025         * lyxtext.h:
6026         * text.C:
6027         * text2.C:
6028         * text3.C: add helper functions for setting refresh_row/y
6029
6030 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6031
6032         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6033         newline inset which *can* get inserted in the pass_thru layouts.
6034         This is primarily for literate documents.
6035
6036 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6037
6038         * buffer.C: increment LYX_FORMAT to 223
6039
6040 2003-03-14 André Pönitz <poenitz@gmx.net>
6041
6042         * textclass.h: prepare for environment handling, ws changes
6043         * lyxlayout.C: read latexheader and latexfooter tags
6044
6045 2003-03-14  John Levon  <levon@movementarian.org>
6046
6047         * text2.C: rewrite ::status() a bit
6048
6049 2003-03-13  John Levon  <levon@movementarian.org>
6050
6051         * lyxtext.h: add some docs
6052
6053 2003-03-13  John Levon  <levon@movementarian.org>
6054
6055         * lyxtext.h:
6056         * text.C:
6057         * text2.C:
6058         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6059
6060 2003-03-13  John Levon  <levon@movementarian.org>
6061
6062         * text3.C: fix appendix redrawing
6063
6064 2003-03-13  John Levon  <levon@movementarian.org>
6065
6066         * text.C (setHeightOfRow):
6067         * rowpainter.h:
6068         * rowpainter.C: make appendix mark have the text
6069           "Appendix" so the user knows what it is
6070
6071         * LColor.h:
6072         * LColor.C: s/appendixline/appendix/ from above
6073
6074 2003-03-13  John Levon  <levon@movementarian.org>
6075
6076         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6077
6078         * text.C: fix a getChar(pos) bug properly
6079
6080 2003-03-13  Angus Leeming  <leeming@lyx.org>
6081
6082         * commandtags.h:
6083         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6084         Probably only temporary. Let's see how things pan out.
6085
6086         * BufferView.C (unlockInset):
6087         * BufferView_pimpl.C (fitCursor):
6088         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6089
6090         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6091         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6092
6093         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6094         new functions that convert ParagraphParameters to and from a string.
6095
6096         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6097         BufferView::Pimpl's dispatch.
6098         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6099
6100 2003-03-13 André Pönitz <poenitz@gmx.net>
6101
6102         * lyxfunc.C:
6103         * text3.C:
6104         * factory.C: make it aware of InsetEnv
6105
6106 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * text2.C (setCursor): never ask for one past last
6109         (setCursor): add some debugging messages.
6110
6111         * text.C (singleWidth): never ask for one past last
6112         (singleWidth): ditto
6113         (leftMargin): ditto
6114         (rightMargin): ditto
6115         (rowBreakPoint): ditto
6116         (setHeightOfRow): ditto
6117         (prepareToPrint): ditto
6118
6119         * rowpainter.C (paintBackground): never ask for one past last
6120         (paintText): never ask for one past last
6121
6122         * paragraph_pimpl.C (getChar): make the assert stricter, never
6123         allow the one past last pos to be taken
6124
6125         * paragraph.C (getChar): ws changes only
6126
6127         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6128         (numberOfSeparators): ditto
6129         (numberOfHfills): ditto
6130
6131 2003-03-12  John Levon  <levon@movementarian.org>
6132
6133         * author.h:
6134         * author.C:
6135         * bufferparams.h:
6136         * bufferparams.C:
6137         * paragraph_funcs.C: fix per-buffer authorlists
6138
6139 2003-03-12  John Levon  <levon@movementarian.org>
6140
6141         * text.C: fix newline in right address
6142
6143 2003-03-12  Angus Leeming  <leeming@lyx.org>
6144
6145         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6146         duplicate those in LyXFunc::dispatch.
6147
6148         * commandtags.h:
6149         * LyXAction.C:
6150         * ToolbarDefaults.C:
6151         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6152         Add LFUN_FONTFREE_UPDATE.
6153
6154         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6155         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6156
6157         * bufferview_func.[Ch]: several new functions to facilliate
6158         transfer of data to and from the character dialog.
6159
6160 2003-03-12  John Levon  <levon@movementarian.org>
6161
6162         * buffer.C:
6163         * paragraph.h:
6164         * paragraph.C:
6165         * paragraph_funcs.C:
6166         * paragraph_pimpl.C:
6167         * sgml.C:
6168         * tabular.C:
6169         * text.C:
6170         * text3.C: remove META_NEWLINE in favour of an inset
6171
6172         * rowpainter.h:
6173         * rowpainter.C: remove paintNewline (done by inset)
6174
6175 2003-03-12  John Levon  <levon@movementarian.org>
6176
6177         * paragraph_pimpl.C: complain about bad getChar()s
6178         for a while at least
6179
6180 2003-03-12  John Levon  <levon@movementarian.org>
6181
6182         * buffer.h:
6183         * buffer.C: move paragraph read into a separate function,
6184         a little renaming to reflect that.
6185
6186         * bufferparams.h:
6187         * bufferparams.C: remove the author_ids map, not necessary now
6188
6189         * factory.h:
6190         * factory.C: moved Buffer::readInset to here
6191
6192         * paragraph_funcs.h:
6193         * paragraph_funcs.C: readParagraph free function moved from
6194         buffer.C
6195
6196         * tabular.C: name change
6197
6198 2003-03-12  John Levon  <levon@movementarian.org>
6199
6200         * buffer.C:
6201         * ParagraphParameters.C: move par params input to
6202         a read() method
6203
6204         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6205         behave like a normal read from the stream wrt reading
6206         a line vs. a \\token
6207
6208 2003-03-12  John Levon  <levon@movementarian.org>
6209
6210         * paragraph.C:
6211         * ParagraphParameters.h:
6212         * ParagraphParameters.C: move output code to a
6213         ::write() method
6214
6215 2003-03-12  John Levon  <levon@movementarian.org>
6216
6217         * BufferView.C (insertLyXFile):
6218         * buffer.h:
6219         * buffer.C:
6220         * tabular.C: use a parlist iterator for creating the
6221           document.
6222
6223 2003-03-12  John Levon  <levon@movementarian.org>
6224
6225         * buffer.C: make current_change static local not
6226           static file-scope
6227
6228 2003-03-12  John Levon  <levon@movementarian.org>
6229
6230         * buffer.C: fix insertStringAsLines for change tracking
6231
6232 2003-03-12  John Levon  <levon@movementarian.org>
6233
6234         * BufferView.C:
6235         * tabular.C:
6236         * buffer.h:
6237         * buffer.C:
6238         * bufferparams.h:
6239         * bufferparams.C: move author list into params. Rename some
6240           functions. Move the header reading into a separate token
6241           loop. Move the header token reading into BufferParams.
6242
6243 2003-03-12  John Levon  <levon@movementarian.org>
6244
6245         * changes.C: put debug inside lyxerr.debugging() checks
6246
6247 2003-03-11 André Pönitz <poenitz@gmx.net>
6248
6249         * factory.C: make it aware of InsetHFill
6250
6251 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6252
6253         * buffer.C (latexParagraphs): move function from here...
6254         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6255         args.
6256
6257 2003-03-10  Angus Leeming  <leeming@lyx.org>
6258
6259         * LyXAction.C (init): fix bug in poplating array with multiple entries
6260         with the same LFUN (spotted by JMarc).
6261
6262 2003-03-10  John Levon  <levon@movementarian.org>
6263
6264         * text.C:
6265         * text2.C: move getColumnNearX() near its
6266         only call site
6267
6268 2003-03-10  John Levon  <levon@movementarian.org>
6269
6270         * text.C: fix break before a minipage
6271
6272 2003-03-10  John Levon  <levon@movementarian.org>
6273
6274         * text.C: fix the last commit
6275
6276 2003-03-09  John Levon  <levon@movementarian.org>
6277
6278         * lyxtext.h:
6279         * text.C:
6280         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6281         bug 365 (don't break before insets unless needed). Don't
6282         return a value > last under any circumstances.
6283
6284 2003-03-09  Angus Leeming  <leeming@lyx.org>
6285
6286         * BufferView_pimpl.C (trackChanges, dispatch): call
6287         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6288
6289 2003-03-09  Angus Leeming  <leeming@lyx.org>
6290
6291         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6292         than Dialogs::showAboutlyx().
6293
6294 2003-03-09  Angus Leeming  <leeming@lyx.org>
6295
6296         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6297         than Dialogs::showTabularCreate().
6298
6299 2003-03-09  John Levon  <levon@movementarian.org>
6300
6301         * lyxtext.h:
6302         * text.C:
6303         * text2.C: 3rd arg to nextBreakPoint was always the same.
6304           Use references.
6305
6306 2003-03-08  John Levon  <levon@movementarian.org>
6307
6308         * lyxrow.C:
6309         * paragraph.C:
6310         * paragraph.h:
6311         * rowpainter.C:
6312         * text.C:
6313         * text2.C: Remove the "main" bit from the "main body"
6314           notion.
6315
6316 2003-03-08  John Levon  <levon@movementarian.org>
6317
6318         * text.C (leftMargin): The left margin of an empty
6319         manual label paragraph should not include the label width
6320         string length.
6321
6322         * text.C (prepareToPrint): don't attempt to measure hfills
6323         for empty manual label paragraphs - the answer should be 0
6324
6325 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * CutAndPaste.C: remove commented code and reindent.
6328
6329 2003-03-08  John Levon  <levon@movementarian.org>
6330
6331         * lyxfunc.h:
6332         * lyxfunc.C: move reloadBuffer()
6333
6334         * BufferView.h:
6335         * BufferView.C: to here
6336
6337         * lyxvc.C: add comment
6338
6339         * vc-backend.h:
6340         * vc-backend.C: call bv->reload() to avoid
6341           getStatus() check on MENURELOAD
6342
6343 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6344
6345         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6346         to an old format .dep file.
6347
6348 2003-03-07  Angus Leeming  <leeming@lyx.org>
6349
6350         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6351         when the LFUN_MOUSE_RELEASE should have been handled by
6352         inset->localDispatch.
6353
6354 2003-03-07  Angus Leeming  <leeming@lyx.org>
6355
6356         * BufferView_pimpl.C (dispatch):
6357         * LyXAction.C (init):
6358         * ToolbarDefaults.C (init):
6359         * commandtags.h:
6360         * lyxfunc.C (getStatus):
6361         remove LFUN_INSET_GRAPHICS.
6362
6363         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6364
6365 2003-03-07  Angus Leeming  <leeming@lyx.org>
6366
6367         * commandtags.h:
6368         * LyXAction.C (init):
6369         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6370
6371         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6372
6373         * commandtags.h:
6374         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6375
6376         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6377         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6378
6379 2003-03-07  Angus Leeming  <leeming@lyx.org>
6380
6381         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6382         remove "ert".
6383
6384 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * ParagraphList.C (front): new function
6387         (back): implement
6388
6389 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6392         and top_row_offset_. removed var first_y.
6393         * text.C (top_y):
6394         * text2.C (LyXText, removeRow):
6395         * text3.C:
6396         * BufferView_pimpl.C:
6397         use these methods instead of using first_y
6398
6399 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * text2.C (pasteSelection): adjust for checkPastePossible
6402
6403         * CutAndPaste.C: remove Paragraph * buf and replace with
6404         ParagraphList paragraphs.
6405         (DeleteBuffer): delete
6406         (cutSelection): change the tc type to textclass_type
6407         (copySelection): change the tc type to textclass_type
6408         (copySelection): adjust for ParagraphList
6409         (pasteSelection): change the tc type to textclass_type
6410         (pasteSelection): adjust for Paragraphlist
6411         (nrOfParagraphs): simplify for ParagraphList
6412         (checkPastePossible): simplify for ParagraphList
6413         (checkPastePossible): remove unused arg
6414
6415         * ParagraphList.C (insert): handle the case where there are no
6416         paragraphs yet.
6417
6418         * CutAndPaste.h: make CutAndPaste a namespace.
6419
6420         * text3.C (dispatch): adjust
6421
6422         * text.C (breakParagraph): add a ParagraphList as arg
6423
6424         * paragraph_funcs.C (breakParagraph): change to take a
6425         BufferParams and a ParagraphList as args.
6426         (breakParagraphConservative): ditto
6427         (mergeParagraph): ditto
6428         (TeXDeeper): add a ParagraphList arg
6429         (TeXEnvironment): ditto
6430         (TeXOnePar): ditto
6431
6432         * buffer.C (readLyXformat2): adjust
6433         (insertStringAsLines): adjust
6434         (latexParagraphs): adjust
6435
6436         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6437         (cutSelection): adjust
6438         (pasteSelection): adjust
6439
6440         * BufferView_pimpl.C (insertInset): adjust
6441
6442 2003-03-05  Angus Leeming  <leeming@lyx.org>
6443
6444         * commandtags.h:
6445         * LyXAction.C (init):
6446         * BufferView_pimpl.C (dispatch):
6447         * lyxfunc.C (getStatus):
6448         remove LFUN_CHILD_INSERT.
6449
6450         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6451
6452 2003-03-05  Angus Leeming  <leeming@lyx.org>
6453
6454         * commandtags.h:
6455         * LyXAction.C (init):
6456         * src/factory.C (createInset):
6457         * lyxfunc.C (getStatus):
6458         * text3.C (dispatch):
6459         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6460
6461         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6462
6463 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * ParagraphList.C (insert): handle insert right before end()
6466         (erase): fix cases where it can be first or last paragraph.
6467
6468 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6471         Paragraph::next and Paragraph::previous
6472         (TeXOnePar): ditto
6473
6474         * text.C (breakParagraph): adjust
6475
6476         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6477         BufferParams& as arg.
6478         (breakParagraph): use ParagraphList::insert
6479         (breakParagraphConservative): take a Buffer* instead of a
6480         BufferParams& as arg.
6481         (breakParagraphConservative): use ParagraphList::insert.
6482
6483         * buffer.C (insertStringAsLines): un-const it
6484         (insertStringAsLines): adjust
6485
6486         * ParagraphList.C (insert): new function
6487
6488         * CutAndPaste.C (pasteSelection): adjust
6489
6490         * text.C (backspace): adjust
6491
6492         * tabular.C (SetMultiColumn): adjust
6493
6494         * CutAndPaste.C (cutSelection): adjust
6495         (pasteSelection): adjust
6496
6497         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6498         Buffer const * as arg
6499
6500         * ParagraphList.C (erase): new function
6501         * paragraph_funcs.C (mergeParagraph): use it
6502         (mergeParagraph): make it take a Buffer* instead of a
6503         BufferParams* as arg
6504
6505         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6506         as arg
6507         (breakParagraphConservative): ditto
6508
6509         * paragraph.h: remove the breakParagraph friend
6510
6511         * paragraph.C (eraseIntern): new function
6512         (setChange): new function
6513
6514         * paragraph_funcs.C (mergeParagraph): make it take a
6515         ParagraphList::iterator instead of a Paragraph *, adjust
6516         accordingly.
6517
6518         * paragraph.h: move an #endif so that the change tracking stuff
6519         also works in the NO_NEXT case.
6520
6521 2003-03-04  Angus Leeming  <leeming@lyx.org>
6522
6523         * commandtags.h:
6524         * LyXAction.C: new LFUN_INSET_MODIFY.
6525
6526         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6527         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6528
6529 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * several files: ws changes only
6532
6533         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6534         (TeXEnvironment): ditto
6535         (TeXDeeper): ditto
6536
6537         * buffer.C (makeLaTeXFile): adjust
6538         (latexParagraphs): make it take ParagraphList::iterator as args
6539
6540 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * buffer.C (latexParagraphs): adjust
6543
6544         * paragraph.C (TeXOnePar): move function...
6545         (optArgInset): move function...
6546         (TeXEnvironment): move function...
6547         * paragraph_pimpl.C (TeXDeeper): move function...
6548         * paragraph_funcs.C: ...here
6549
6550         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6551
6552 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * buffer.C (readInset): remove compability code for old Figure and
6555         InsetInfo insets
6556
6557 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * buffer.C: ws changes
6560         (readInset):
6561
6562         * BufferView_pimpl.C: ditto
6563         * author.C: ditto
6564         * buffer.h: ditto
6565         * bufferlist.h: ditto
6566         * changes.h: ditto
6567         * lyxfunc.C: ditto
6568
6569 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6570
6571         * converter.[Ch]: split into itself +
6572         * graph.[Ch]
6573         * format.[Ch]
6574         * Makefile.am: += graph.[Ch] + format.[Ch]
6575         * MenuBackend.C
6576         * buffer.C
6577         * exporter.C
6578         * importer.C
6579         * lyx_main.C
6580         * lyxfunc.C
6581         * lyxrc.C: added #include "format.h"
6582
6583 2003-02-27  Angus Leeming  <leeming@lyx.org>
6584
6585         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6586           a label.
6587
6588         * factory.C (createInset): add "label" to the factory.
6589
6590         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6591           string and do no more.
6592
6593 2003-02-27  Angus Leeming  <leeming@lyx.org>
6594
6595         * commandtags.h:
6596         * LyXAction.C (init):
6597         * factory.C (createInset):
6598         * BufferView_pimpl.C (dispatch):
6599           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6600
6601         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6602
6603         * lyxfunc.C (dispatch):
6604         * text3.C (dispatch): pass name to params2string.
6605
6606 2003-02-26  Angus Leeming  <leeming@lyx.org>
6607
6608         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6609           blocks together.
6610           Rearrange the ~includes. Strip out the unnecessary ones.
6611
6612         * factory.C (createInset): reformat.
6613           create new insets for the various LFUN_XYZ_APPLY lfuns.
6614
6615 2003-02-26  John Levon  <levon@movementarian.org>
6616
6617         * lyxrow.h:
6618         * lyxrow.C: add isParStart,isParEnd helpers
6619
6620         * paragraph.h: make isInserted/DeletedText take refs
6621
6622         * paragraph_funcs.h:
6623         * paragraph_funcs.C: remove #if 0'd code
6624
6625         * lyxtext.h:
6626         * text3.C:
6627         * text2.C:
6628         * text.C: use lyxrow helpers above.
6629           Move draw and paint routines to RowPainter.
6630           Make several methods use refs not pointers.
6631           Make backgroundColor() const.
6632           Add markChangeInDraw(), isInInset().
6633           Merge changeRegionCase into changeCase.
6634           Make workWidth() shouldn't-happen code into an Assert.
6635
6636         * rowpainter.h:
6637         * rowpainter.C: new class for painting a row.
6638
6639         * vspace.h:
6640         * vspace.C: make inPixels take a ref
6641
6642 2003-02-26  Angus Leeming  <leeming@lyx.org>
6643
6644         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6645         LFUN_REF_APPLY.
6646
6647 2003-02-25  John Levon  <levon@movementarian.org>
6648
6649         * ispell.C: give the forked command a more accurate name
6650
6651 2003-02-22  John Levon  <levon@movementarian.org>
6652
6653         * toc.h:
6654         * toc.C: make TocItem store an id not a Paragraph *
6655           (bug #913)
6656
6657 2003-02-21  Angus Leeming  <leeming@lyx.org>
6658
6659         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6660           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6661           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6662           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6663           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6664           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6665
6666         * BufferView_pimpl.C (dispatch):
6667         * LyXAction.C (init):
6668         * factory.C (createInset):
6669         * lyxfunc.C (getStatus, dispatch):
6670         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6671
6672 2003-02-21  Angus Leeming  <leeming@lyx.org>
6673
6674         * BufferView_pimpl.C (MenuInsertLyXFile):
6675         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6676         * lyxfunc.C (menuNew, open, doImport):
6677           no longer pass a LyXView & to fileDlg.
6678
6679 2003-02-21  Angus Leeming  <leeming@lyx.org>
6680
6681         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6682         * LyXAction.C: change, BIBKEY to BIBITEM.
6683         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6684         Change InsetBibKey to InsetBibitem.
6685         Change BIBKEY_CODE to BIBITEM_CODE.
6686         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6687         * factory.C: replace insetbib.h with insetbibitem.h.
6688         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6689         * paragraph.C: replace insetbib.h with insetbibitem.h.
6690         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6691         Change bibkey() to bibitem().
6692         * text.C: remove insetbib.h.
6693         * text2.C: replace insetbib.h with insetbibitem.h.
6694         change bibkey() to bibitem().
6695         * text3.C: remove insetbib.h.
6696         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6697
6698 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6699
6700         * lyxrc.C (output): enclose user email in quotes (in case there are
6701         several words)
6702
6703 2003-02-18  John Levon  <levon@movementarian.org>
6704
6705         * buffer.h: add std::
6706
6707 2003-02-17  John Levon  <levon@movementarian.org>
6708
6709         * SpellBase.h:
6710         * ispell.h:
6711         * ispell.C:
6712         * pspell.h:
6713         * pspell.C: reworking. Especially in ispell, a large
6714           number of clean ups and bug fixes.
6715
6716         * lyxfunc.C: fix revert to behave sensibly
6717
6718 2003-02-17 André Pönitz <poenitz@gmx.net>
6719
6720         * LyXAction.C:
6721         * commandtags.h: new LFUN_INSERT_BIBKEY
6722
6723         * layout.h:
6724         * lyxlayout.C:
6725         * buffer.C:
6726         * factory.C:
6727         * text.C:
6728         * text2.C:
6729         * text3.C:
6730         * paragraph.[Ch]:
6731         * paragraph_func.C: remove special bibkey handling
6732
6733 2003-02-17  John Levon  <levon@movementarian.org>
6734
6735         * text.C (Delete): fix case where delete at the end of
6736           the very first paragraph would not merge the pars
6737
6738 2003-02-17  John Levon  <levon@movementarian.org>
6739
6740         * lyxrow.C: fix lastPrintablePos()
6741
6742 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6743
6744         * bufferparams.C (writeLaTeX): add a std:here
6745
6746         * buffer.C: and remove a using directive there
6747
6748 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6749
6750         * buffer.C (makeLaTeXFile): move the code that generates the
6751           preamble...
6752
6753         * bufferparams.C (writeLaTeX): ... in this new method
6754
6755         * LaTeXFeatures.C (getEncodingSet): make const
6756           (getLanguages): make const
6757
6758         * MenuBackend.C (binding): returns the binding associated to this
6759           action
6760           (add): sets the status of each item by calling getStatus. Adds
6761           some intelligence.
6762           (read): add support for OptSubMenu
6763           (expand): remove extra separator at the end of expanded menu
6764
6765 2003-02-15  John Levon  <levon@movementarian.org>
6766
6767         * BufferView.C:
6768         * BufferView_pimpl.C:
6769         * bufferlist.h:
6770         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6771           inset code that had no actual effect. Remove unneeded status
6772           code.
6773
6774 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6775
6776         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6777           in preamble
6778
6779 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6780
6781         * text.C (drawLengthMarker): also draw an arrow marker for
6782           symbolic lengths (medskip...)
6783
6784 2003-02-14  John Levon  <levon@movementarian.org>
6785
6786         * tabular.h:
6787         * tabular.C: better method names
6788
6789 2003-02-14  John Levon  <levon@movementarian.org>
6790
6791         * BufferView_pimpl.C:
6792         * bufferlist.C:
6793         * buffer.C:
6794         * converter.C:
6795         * lyx_cb.C:
6796         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6797           it's a more accurate name. Remove some pointless uses.
6798
6799 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6800
6801         * text2.C (LyXText): change order of initilizers to shut off
6802           warnings
6803
6804 2003-02-14  John Levon  <levon@movementarian.org>
6805
6806         * buffer.C: use ParIterator for getParFromID()
6807
6808         * paragraph.h:
6809         * paragraph.C:
6810         * paragraph_pimpl.h:
6811         * paragraph_pimpl.C: remove unused getParFromID()
6812
6813 2003-02-14  John Levon  <levon@movementarian.org>
6814
6815         * buffer.C: remove some very old #if 0'd parse code
6816
6817 2003-02-13  John Levon  <levon@movementarian.org>
6818
6819         * text.h:
6820         * text.C:
6821         * text2.C: move hfillExpansion(), numberOfSeparators(),
6822           rowLast(), rowLastPrintable(), numberofHfills(),
6823           numberOfLabelHfills() ...
6824
6825         * lyxrow.h:
6826         * lyxrow.C: ... to member functions here.
6827
6828         * paragraph.h:
6829         * paragraph.C:
6830         * lyxtext.h:
6831         * text.C: remove LyXText::beginningOfMainBody(), and call
6832           p->beginningOfMainBody() directly. Move the check for
6833           LABEL_MANUAL into the latter.
6834
6835         * text.h:
6836         * text.C:
6837         * text2.C:
6838         * vspace.C:
6839         * BufferView.h:
6840         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6841
6842         * text.h:
6843         * text.C:
6844         * text2.C:
6845         * text3.C:
6846         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6847           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6848
6849 2003-02-13  John Levon  <levon@movementarian.org>
6850
6851         * CutAndPaste.C: remove debug
6852
6853 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6854
6855         * paragraph.C (asString): remove two unused variables
6856
6857         * lyxtextclass.C (readTitleType):
6858           (Read):
6859           (LyXTextClass): handle new members titletype_ and titlename_
6860
6861         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6862
6863 2003-02-09  John Levon  <levon@movementarian.org>
6864
6865         * buffer.h:
6866         * buffer.C: replace hand-coded list with a map for the dep clean
6867
6868 2003-02-08  John Levon  <levon@movementarian.org>
6869
6870         * LaTeX.C: consolidate code into showRunMessage() helper
6871
6872 2003-02-08  John Levon  <levon@movementarian.org>
6873
6874         * lyxfind.C:
6875         * lyxtext.h:
6876         * text2.C:
6877         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6878           and pass the size in explicitly
6879
6880         * BufferView_pimpl.h:
6881         * BufferView_pimpl.C:
6882         * BufferView.h:
6883         * BufferView.C: add getCurrentChange()
6884
6885         * BufferView_pimpl.h:
6886         * BufferView_pimpl.C: handle change lfuns
6887
6888         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6889           for changes. Mark pasted paragraphs as new.
6890
6891         * support/lyxtime.h:
6892         * support/lyxtime.C:
6893         * DepTable.C: abstract time_t as lyx::time_type
6894
6895         * LColor.h:
6896         * LColor.C: add colours for new text, deleted text, changebars
6897
6898         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6899           package use "usenames" option.
6900
6901         * commandtags.h:
6902         * lyxfunc.C:
6903         * LyXAction.C: add change lfuns
6904
6905         * Makefile.am:
6906         * author.h:
6907         * author.C: author handling
6908
6909         * buffer.h:
6910         * buffer.C: add a per-buffer author list, with first entry as
6911           current author. Handle new .lyx tokens for change tracking. Output
6912           author list to .lyx file. Output dvipost stuff to .tex preamble.
6913           Bump lyx format to 222.
6914
6915         * bufferlist.h:
6916         * bufferlist.C: add setCurrentAuthor() to reset current author details
6917           in all buffers.
6918
6919         * bufferparams.h:
6920         * bufferparams.C: add param for tracking
6921
6922         * bufferview_funcs.C: output change info in minibuffer
6923
6924         * Makefile.am:
6925         * changes.h:
6926         * changes.C: add change-tracking structure
6927
6928         * debug.h:
6929         * debug.C: add CHANGES debug flag
6930
6931         * lyxfind.h:
6932         * lyxfind.C: add code for finding the next change piece
6933
6934         * lyxrc.h:
6935         * lyxrc.C: add user_name and user_email
6936
6937         * lyxrow.h:
6938         * lyxrow.C: add a metric for the top of the text line
6939
6940         * lyxtext.h:
6941         * text.C: implement accept/rejectChange()
6942
6943         * lyxtext.h:
6944         * text.C: paint changebars. Paint new/deleted text in the chosen
6945         colours. Strike through deleted text.
6946
6947         * paragraph.h:
6948         * paragraph.C:
6949         * paragraph_pimpl.h:
6950         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6951           in the current change to the insert functions. Rework erase to
6952           mark text as deleted, adding an eraseIntern() and a range-based
6953           erase(). Implement per-paragraph change lookup and
6954           accept/reject.
6955
6956         * paragraph_funcs.C: Fixup paste for change tracking.
6957
6958         * tabular.C: mark added row/columns as new.
6959
6960         * text.C: fix rowLast() to never return -1. Don't allow
6961           spellchecking of deleted text. Track transpose changes. Don't
6962           allow paragraph break or merge where appropriate.
6963
6964         * text2.C: leave cursor at end of selection after a cut.
6965
6966 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6967
6968         * text.C (getLengthMarkerHeight):
6969         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6970         visible on screen too.
6971
6972 2003-02-07  John Levon  <levon@movementarian.org>
6973
6974         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6975
6976 2003-02-05  Angus Leeming  <leeming@lyx.org>
6977
6978         * lyxserver.C (read_ready): revert my patch of 11 September last year
6979         as it sends PC cpu through the roof. Presumably this means that
6980         the lyxserver will no longer run on an Alpha...
6981
6982 2003-01-30  Angus Leeming  <leeming@lyx.org>
6983
6984         * factory.C (createInset): create an InsetCommandParam of type "index"
6985         and use it to 'do the right thing'.
6986
6987         * text2.C (getStringToIndex): ensure that cursor position is always
6988         reset to the reset_cursor position.
6989
6990 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6991
6992         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6993         disabled.
6994
6995 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6996
6997         * bufferview.C:
6998         * lyxcb.C:
6999         * lyxfunc.C: Output messages with identical spelling, punctuation,
7000         and spaces
7001
7002 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7003
7004         * MenuBackend.C (expandFormats): List only viewable export formats
7005         in "View" menu
7006
7007         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7008         message
7009
7010         * lyxfunc.C (getStatus): Make sure that formats other than
7011         "fax" can also be disabled
7012
7013 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7014
7015         * text3.C (dispatch): put the lfuns that insert insets in 3
7016         groups, and call doInsertInset with appropriate arguments.
7017         (doInsertInset): new function, that creates an inset and inserts
7018         it according to some boolean parameters.
7019
7020 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * buffer.C (readFile): remember to pass on 'par' when calling
7023         readFile recursively.
7024
7025 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7026
7027         * MenuBackend.C (expandFormats): add "..." to import formats.
7028
7029 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7030
7031         * paragraph.C (asString): Remove XForms RTL hacks.
7032
7033 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7034         * buffer.C: fix typo
7035
7036 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * Makefile.am (LIBS): delete var
7039         (lyx_LDADD): add @LIBS@ here instead.
7040
7041 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7042
7043         * Clarify the meaning of "wheel mouse jump"
7044
7045 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7046
7047         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7048         tabular in a float
7049
7050 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7051
7052         * importer.C (Loaders): do not preallocate 3 elements in the
7053         vector, since one ends up with 6 elements otherwise
7054
7055 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7056
7057         * DepTable.C (write): write the file name as last element of the
7058         .dep file (because it may contain spaces)
7059         (read): read info in the right order
7060
7061 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7062
7063         * paragraph_pimpl.C (simpleTeXBlanks):
7064         (simpleTeXSpecialChars):
7065         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7066
7067         * tabular.C (latex): add some missing case statements. Reindent.
7068
7069         * MenuBackend.C (expandToc): remove unused variable.
7070
7071 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7072
7073         * LColor.C:
7074         * LaTeX.C:
7075         * LyXAction.C:
7076         * MenuBackend.C:
7077         * buffer.C:
7078         * exporter.C:
7079         * lyxfunc.C:
7080         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7081         and the like.
7082
7083 2003-01-05  John Levon  <levon@movementarian.org>
7084
7085         * BufferView.h:
7086         * BufferView.C: add getEncoding()
7087
7088         * kbsequence.h:
7089         * kbsequence.C: do not store last keypress
7090
7091         * lyxfunc.h:
7092         * lyxfunc.C: store last keypress here instead. Pass encoding
7093           to getISOEncoded()
7094
7095 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7096
7097         * lyx_main.C (init): remove annoying error message when following
7098         symbolic links (bug #780)
7099
7100 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7101
7102         * text.C (insertChar):
7103         * lyxrc.C (getDescription): remove extra spaces
7104
7105 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7106
7107         * lyxrc.C (getDescription): remove extra spaces
7108
7109 2002-12-20  John Levon  <levon@movementarian.org>
7110
7111         * text3.C: hack fix for page up/down across tall rows
7112
7113 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7114
7115         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7116         not been invoked
7117
7118 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7119
7120         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7121         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7122         thesaurus is not compiled in
7123
7124 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7125
7126         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7127
7128 2002-12-16  Angus Leeming  <leeming@lyx.org>
7129
7130         * lyxrc.[Ch]:
7131         * lyx_main.C (init): remove override_x_deadkeys stuff.
7132
7133 2002-12-12  John Levon  <levon@movementarian.org>
7134
7135         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7136           insert. Only remove shift modifier under strict
7137           circumstances.
7138
7139 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * MenuBackend.C (expandToc): fix crash.
7142
7143 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * MenuBackend.C (expandToc): gettext on float names.
7146
7147 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7148
7149         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7150         implement bool empty() [bug 490]
7151
7152 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7155
7156 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * several files: ws changes
7159
7160 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * text2.C (setCounter): clean up a bit, use boost.format.
7163         (updateCounters): initialize par upon declaration.
7164
7165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7166         if the layout exists. We do not just store the layout any more.
7167         (SwitchLayoutsBetweenClasses): use boost.format
7168
7169 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7170
7171         * converter.C (convert): if from and to files are the same, use a
7172         temporary files as intermediary
7173
7174 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7175
7176         * commandtags.h:
7177         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7178
7179 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7180
7181         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7182
7183 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * tabular.C (asciiPrintCell): use string(size, char) instead of
7186         explicit loop.
7187
7188         * sgml.C (openTag): fix order of arguments to string constructor
7189         (closeTag): ditto
7190
7191         * lyxfunc.C (dispatch): use boost.format
7192
7193         * lots of files: change "c" -> 'c'
7194
7195 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7196
7197         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7198
7199 2002-11-25  Angus Leeming  <leeming@lyx.org>
7200
7201         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7202
7203         * lyx_main.C (init): compile fix.
7204
7205 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * lyx_cb.C (start): boost.formatify
7208         do not include <iostream>
7209
7210         * lengthcommon.C: ws only
7211
7212         * boost-inst.C,BoostFormat.h: add more explict instantations
7213
7214 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * lots of files: handle USE_BOOST_FORMAT
7217
7218 2002-11-21  John Levon  <levon@movementarian.org>
7219
7220         * pspell.C: fix compile
7221
7222 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7223
7224         * lyxfunc.C (dispatch): use boost::format
7225         (open): ditto
7226         (doImport): ditto
7227
7228         * lyxfont.C (stateText): use boost::format
7229
7230         * lyx_main.C (LyX): use boost::format
7231         (init): ditto
7232         (queryUserLyXDir): ditto
7233         (readRcFile): ditto
7234         (parse_dbg): ditto
7235         (typedef boost::function): use the recommened syntax.
7236
7237         * importer.C (Import): use boost::format
7238
7239         * debug.C (showLevel): use boost::format
7240
7241         * converter.C (view): use boost::format
7242         (convert): ditto
7243         (move): ditto
7244         (scanLog): ditto
7245
7246         * bufferview_funcs.C (currentState): use boost::format
7247
7248         * bufferlist.C (emergencyWrite): use boost::format
7249
7250         * buffer.C (readLyXformat2): use boost::format
7251         (parseSingleLyXformat2Token): ditto
7252
7253         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7254
7255         * LaTeX.C (run): use boost::format
7256
7257         * Chktex.C (scanLogFile): use boost::format
7258
7259         * BufferView_pimpl.C (savePosition): use boost::format
7260         (restorePosition): ditto
7261         (MenuInsertLyXFile): ditto
7262
7263         * BoostFormat.h: help file for explicit instation.
7264
7265 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7266
7267         * tabular.C (latex): Support for block alignment in fixed width
7268         columns.
7269
7270 2002-11-17  John Levon  <levon@movementarian.org>
7271
7272         * BufferView_pimpl.C:
7273         * lyx_cb.C:
7274         * lyxfunc.C: split filedialog into open/save
7275
7276 2002-11-08  Juergen Vigna  <jug@sad.it>
7277
7278         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7279         by my last patch (hopefully).
7280
7281 2002-11-08  John Levon  <levon@movementarian.org>
7282
7283         * iterators.h:
7284         * iterators.C:
7285         * buffer.h:
7286         * buffer.C:
7287         * paragraph.h:
7288         * paragraph.C:
7289         * toc.h:
7290         * toc.C: ParConstIterator, and use it (from Lars)
7291
7292 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7293
7294         * lyxtextclass.[Ch]: revise and add doxygen comments
7295
7296 2002-11-07  John Levon  <levon@movementarian.org>
7297
7298         * text.C: fix progress value for spellchecker
7299
7300         * toc.C: fix navigate menu for insetwrap inside minipage
7301
7302         * paragraph_funcs.C: added FIXME for suspect code
7303
7304 2002-11-07  John Levon  <levon@movementarian.org>
7305
7306         * BufferView_pimpl.C: fix redrawing of insets
7307           on buffer switch
7308
7309 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7310
7311         * text2.C (updateCounters): fix bug 668
7312
7313 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7314
7315         * text3.C (dispatch): Do not make the buffer dirty when moving the
7316         cursor.
7317
7318 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * vc-backend.C: STRCONV
7321         (scanMaster): ditto
7322
7323         * text2.C (setCounter): STRCONV
7324
7325         * paragraph.C (asString): STRCONV
7326
7327         * lyxlength.C (asString): STRCONV
7328         (asLatexString): ditto
7329
7330         * lyxgluelength.C (asString): STRCONV
7331         (asLatexString): ditto
7332
7333         * lyxfunc.C (dispatch): STRCONV
7334         (open): ditto
7335
7336         * lyxfont.C (stateText): STRCONV
7337
7338         * importer.C (Import): STRCONV
7339
7340         * counters.C (labelItem): STRCONV
7341         (numberLabel): ditto
7342         (numberLabel): remove unused ostringstream o
7343
7344         * chset.C: STRCONV
7345         (loadFile): ditto
7346
7347         * bufferview_funcs.C (currentState): STRCONV
7348
7349         * buffer.C (readFile): STRCONV
7350         (asciiParagraph): ditto
7351         (makeLaTeXFile): ditto
7352
7353         * Spacing.C (writeEnvirBegin): STRCONV
7354
7355         * LaTeXFeatures.C (getLanguages): STRCONV
7356         (getPackages): ditto
7357         (getMacros): ditto
7358         (getBabelOptions): ditto
7359         (getTClassPreamble): ditto
7360         (getLyXSGMLEntities): ditto
7361         (getIncludedFiles): ditto
7362
7363         * LaTeX.C: STRCONV
7364         (run): ditto
7365         (scanAuxFile): ditto
7366         (deplog): ditto
7367
7368         * LString.h: add the STRCONV macros
7369
7370         * BufferView_pimpl.C (savePosition): STRCONV
7371         (restorePosition): ditto
7372         (MenuInsertLyXFile): ditto
7373
7374         * vc-backend.C (scanMaster): change from submatch[...] to
7375         submatch.str(...)
7376
7377         * funcrequest.C: include config.h
7378
7379         * factory.C: include config.h
7380
7381         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7382
7383         * box.C: include config.h
7384
7385         * LaTeX.C (scanAuxFile): change from submatch[...] to
7386         submatch.str(...)
7387         (deplog): ditto
7388
7389 2002-10-25  Angus Leeming  <leeming@lyx.org>
7390
7391         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7392
7393         * ispell.[Ch] (setError): new method.
7394         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7395         Use setError() insetead of goto END.
7396
7397         * lyx_cb.C (AutoSave): move out child process into new class
7398         AutoSaveBuffer.
7399
7400 2002-10-30  John Levon  <levon@movementarian.org>
7401
7402         * text3.C: make start appendix undoable
7403
7404 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7405
7406         * lyxlength.C (inPixels): Fix returned value.
7407
7408         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7409         environment.
7410
7411 2002-10-24  Angus Leeming  <leeming@lyx.org>
7412
7413         * lyxgluelength.h: no need to forward declare BufferParams
7414         or BufferView, so don't.
7415
7416 2002-10-21  John Levon  <levon@movementarian.org>
7417
7418         * BufferView.C: menuUndo ->undo, redo
7419
7420         * BufferView.h: document, remove dead, make some methods private
7421
7422         * paragraph_funcs.h:
7423         * paragraph_funcs.C:
7424         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7425
7426         * buffer.h:
7427         * buffer.C:
7428         * sgml.h:
7429         * sgml.C: move sgml open/close tag into sgml.C
7430
7431         * bufferview_funcs.h: unused prototype
7432
7433         * lyxfunc.h:
7434         * lyxfunc.C: remove unused
7435
7436         * lyxtext.h:
7437         * text.C: remove unused
7438
7439 2002-10-21  John Levon  <levon@movementarian.org>
7440
7441         * BufferView.h:
7442         * BufferView.C:
7443         * BufferView_pimpl.h:
7444         * BufferView_pimpl.C: fix mouse wheel handling based on
7445           patch from Darren Freeman
7446
7447 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7448
7449         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7450
7451 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7452
7453         * lyxlength.C (inPixels): Fix hanfling of negative length.
7454         Fix LyXLength::MU case.
7455
7456 2002-10-16  John Levon  <levon@movementarian.org>
7457
7458         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7459
7460 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7461
7462         * converter.C (view): add support for $$i (file name) and $$p
7463         (file path) for the viewer command. If $$i is not specified, then
7464         it is appended to the command (for compatibility with old syntax)
7465
7466 2002-10-14  Juergen Vigna  <jug@sad.it>
7467
7468         * undo_funcs.C (textHandleUndo): alter the order in which the
7469         new undopar is added to the LyXText, as we have to set first
7470         the right prev/next and then add it as otherwise the rebuild of
7471         LyXText is not correct. Also reset the cursor to the right paragraph,
7472         with this IMO we could remove the hack in "redoParagraphs()".
7473
7474 2002-10-09  Angus Leeming  <leeming@lyx.org>
7475
7476         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7477         to turn off an optimisation if a new inset is to be inserted.
7478
7479 2002-10-11 André Pönitz <poenitz@gmx.net>
7480
7481         * lyxtext.h: make some functions public to allow access
7482         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7483
7484 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7485
7486         * text3.C (dispatch): when changing layout, avoid an infinite loop
7487         [bug #652]
7488
7489 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7490
7491         * lyxrc.C (read): treat a viewer or converter command of "none" as
7492         if it were empty.
7493
7494         * MenuBackend.C (expandFormats): for an update, also allow the
7495         formats that are not viewable
7496
7497         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7498         script if it is newer than the lyxrc.defaults in user directory
7499
7500 2002-10-07 André Pönitz <poenitz@gmx.net>
7501
7502         * text.C: Vitaly Lipatov's small i18n fix
7503
7504 2002-09-25  Angus Leeming  <leeming@lyx.org>
7505
7506         * ispell.h: doxygen fix.
7507
7508 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7509
7510         * buffer.h (readFile): Add a new argument to the method, to allow
7511         reading of old-format templates.
7512
7513 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7514
7515         * toc.C (getTocList): Get TOC from InsetWrap.
7516
7517 2002-09-16  John Levon  <levon@movementarian.org>
7518
7519         * lyxfunc.C: check tabular for cut/copy too
7520
7521 2002-09-12  John Levon  <levon@movementarian.org>
7522
7523         * LyXAction.C: tidy
7524
7525         * factory.h:
7526         * factory.C: add header
7527
7528         * paragraph_funcs.h:
7529         * paragraph_funcs.C: cleanup
7530
7531 2002-09-11  John Levon  <levon@movementarian.org>
7532
7533         * PrinterParams.h: odd/even default to true
7534
7535 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7536
7537         * PrinterParams.h: update printer parameters for new xforms dialog
7538
7539 2002-09-11  Angus Leeming  <leeming@lyx.org>
7540
7541         * lyxserver.C (read_ready): re-write to make it more transparent
7542         and to make it work in coherent fashion under Tru64 Unix.
7543
7544 2002-09-11  André Pönitz <poenitz@gmx.net>
7545
7546         * commandtags.h:
7547         * LyXAction.C:
7548         * text3.C: implement LFUN_WORDSEL
7549
7550 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7553         make floatlist_ a boost::shared_ptr<FloatList>
7554
7555         * lyxtextclass.C: include FloatList.h
7556         (LyXTextClass): initialize floatlist_
7557         (TextClassTags): add TC_NOFLOAT
7558         (Read): match "nofloat" to TC_NOFLOAT and use it.
7559         (readFloat): modify call to floatlist_
7560         (floats): ditto
7561         (floats): ditto
7562
7563         * FloatList.[Ch] (FloatList): remove commented out float
7564         initialization.
7565         (erase): new function
7566
7567 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7568
7569         * MenuBackend.C (expandToc): fix crash when there is no document
7570         open
7571
7572 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7573
7574         * many files: Add insetwrap.
7575
7576 2002-09-09  John Levon  <levon@movementarian.org>
7577
7578         * text2.C: remove confusing and awkward depth wraparound
7579
7580 2002-09-09  John Levon  <levon@movementarian.org>
7581
7582         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7583
7584         * buffer.h:
7585         * buffer.C: remove getIncludeonlyList()
7586
7587         * paragraph.C:
7588         * lyxfunc.C: remove headers
7589
7590 2002-09-09  Juergen Vigna  <jug@sad.it>
7591
7592         * text.C (getColumnNearX): fix form Michael this is most
7593         probably a cut&paste bug.
7594
7595 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7598
7599         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7600         references, ws changes.
7601
7602         * text2.C (init): update counters after init
7603         (insertParagraph): no need to set counter on idividual paragraphs.
7604         (setCounter): access the counters object in the textclass object
7605         on in the buffer object.
7606         (updateCounters): ditto
7607
7608         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7609         shared_ptr<Counters> to avoid loading counters.h in all
7610         compilation units.
7611         (LyXTextClass): initialize ctrs_
7612         (TextClassTags): add TC_COUNTER, and ...
7613         (Read): use it here.
7614         (CounterTags): new tags
7615         (readCounter): new function
7616         (counters): new funtion
7617         (defaultLayoutName): return a const reference
7618
7619         * counters.C (Counters): remove contructor
7620         (newCounter): remove a couple of unneeded statements.
7621         (newCounter): simplify a bit.
7622         (numberLabel): some small formatting changes.
7623
7624         * buffer.[Ch]: remove all traces of counters, move the Counters
7625         object to the LyXTextClass.
7626
7627 2002-09-06  Alain Castera  <castera@in2p3.fr>
7628
7629         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7630         package to set the horizontal alignment on fixed width columns.
7631
7632         * lyx_sty.C:
7633         * lyx_sty.h: added tabularnewline macro def.
7634
7635         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7636
7637 2002-09-06  John Levon  <levon@movementarian.org>
7638
7639         * LyXAction.C: tooltips for sub/superscript
7640
7641         * MenuBackend.C: a bit more verbose
7642
7643         * lyxfunc.C: tiny clean
7644
7645         * undo_funcs.C: document undo_frozen
7646
7647 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * counters.C (Counters): add missing algorithm counter.
7650
7651         * text2.C (setCounter): lookup the counter with layouts latexname
7652         instead of by section number.
7653         (setCounter): use a hackish way to lookup the correct enum
7654         counter.
7655         a float name->type change
7656         reset enum couners with counter name directly instead of depth value.
7657
7658         * counters.C (Counters): remove the push_backs, change to use the
7659         float type not the float name.
7660         (labelItem): remove unused string, float name->type change
7661
7662         * counters.h: don't include vector, loose the enums and sects vectors
7663
7664 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7667         (Read): add float->TC_FLOAT to textclassTags
7668         (Read): and handle it in the switch
7669         (readFloat): new function
7670
7671         * FloatList.C (FloatList): comment out the hardcoded float
7672         definitions.
7673
7674         * lyxlayout.h: ws change.
7675
7676 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7677
7678         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7679
7680 2002-09-03  Angus Leeming  <leeming@lyx.org>
7681
7682         * BufferView_pimpl.h: qualified name is not allowed in member
7683         declaration: WorkArea & Pimpl::workarea() const;
7684
7685         * factory.C: added using std::endl directive.
7686
7687         * text3.C: added using std::find and std::vector directives.
7688
7689 2002-08-29  André Pönitz <poenitz@gmx.net>
7690
7691         * lyxtext.h:
7692         * text2.C: remove unused member number_of_rows
7693
7694         * Makefile.am:
7695         * BufferView2.C: remove file, move contents to...
7696         * BufferView.C: ... here
7697
7698         * BufferView_pimpl.C:
7699         * factory.C: move more inset creation to factory
7700
7701         * vspace.C: avoid direct usage of LyXText, ws changes
7702
7703         * BufferView.[Ch]:
7704                 don't provide direct access to WorkArea, use two simple
7705                 acessors haveSelction() and workHeight() instead
7706
7707
7708 2002-08-29  John Levon  <levon@movementarian.org>
7709
7710         * BufferView_pimpl.C (dispatch): do not continue when
7711           no buffer
7712
7713 2002-08-28  André Pönitz <poenitz@gmx.net>
7714
7715         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7716
7717         * BufferView.h:
7718         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7719
7720 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7721
7722         * buffer.C: increment LYX_FORMAT to 221
7723
7724         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7725         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7726
7727         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7728
7729         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7730
7731 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * factory.C (createInset): use LyXTextClass::floats
7734
7735         * MenuBackend.C (expandFloatListInsert):
7736         (expandFloatInsert):
7737         (expandToc):
7738
7739         * text2.C (setCounter):
7740
7741         * LaTeXFeatures.C (useFloat):
7742         (getFloatDefinitions):
7743
7744         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7745
7746         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7747         floatlist_, with accessor floats().
7748
7749         * FloatList.h: remove global FloatList
7750
7751 2002-08-26  André Pönitz <poenitz@gmx.net>
7752
7753         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7754
7755         * BufferView.h:
7756         * BufferView2.C:
7757         * BufferView_pimpl.C:
7758         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7759
7760 2002-08-25  John Levon  <levon@movementarian.org>
7761
7762         * LyXAction.C: fix margin note description
7763
7764 2002-08-24  John Levon  <levon@movementarian.org>
7765
7766         * buffer.C:
7767         * bufferlist.C:
7768         * bufferview_funcs.C:
7769         * lyxfont.C:
7770         * undo_funcs.C: cleanups
7771
7772         * lyxfunc.C: disable CUT/COPY when no selection
7773
7774 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7775
7776         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7777         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7778
7779         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7780         Add backward compatibility to "mono", "gray" and "no".
7781
7782 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7783
7784         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7785         (and file_format >= 200).
7786
7787 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7788
7789         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7790
7791 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7794
7795 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7796
7797         * BufferView_pimpl.C:
7798         * LyXAction.C:
7799         * buffer.C:
7800         * commandtags.h:
7801         * lyxfunc.C:
7802         * paragraph.[Ch]:
7803         * text2.C:
7804         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7805         inset and code to make it  work with the paragraph code. The inset
7806         can be anywhere in the paragraph, but will only do the expected
7807         thing in LaTeX if the layout file contains the parameter line
7808                         OptionalArgs    1
7809         (or more generally, a nonzero value) for that layout.
7810
7811 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * paragraph.h: remove the declaration of undefined counters class
7814         function.
7815
7816 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7817
7818         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7819         Dr. Richard Hawkins.
7820
7821 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7822
7823         * paragraph_funcs.h: remove some unneeded includes
7824
7825         * text.C (backspace): pasteParagraph now in global scipe
7826
7827         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7828         (pasteSelection): ditto
7829
7830         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7831         * paragraph_funcs.C (pasteParagraph): ... here
7832
7833 2002-08-20  André Pönitz <poenitz@gmx.net>
7834
7835         * commandtags.h: new LFUNs for swapping/copying table row/colums
7836
7837         * LyXAction.C:
7838         * lyxfunc.C: support for new lfuns
7839
7840 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7841
7842         * tabular.C:
7843         * buffer.[Ch]: remove NO_COMPABILITY stuff
7844
7845 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * boost.C (throw_exception): new file, with helper function for
7848         boost compiled without exceptions.
7849
7850         * paragraph.h:
7851         * lyxlength.C:
7852         * buffer.C:
7853         * ParameterStruct.h:
7854         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7855
7856         * bufferlist.C (emergencyWriteAll): use boost bind
7857
7858         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7859
7860         * text.C: include paragraph_funcs.h
7861         (breakParagraph): breakParagraph is now in global scope
7862
7863         * paragraph_funcs.[Ch]: new files
7864
7865         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7866         global scope
7867
7868         * buffer.C: include paragraph_funcs.h
7869         (insertStringAsLines): breakParagraph is now in global scope
7870
7871         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7872         paragraph_funcs.C
7873
7874         * CutAndPaste.C: include paragraph_funcs.h
7875         (cutSelection): breakParagraphConservative is now in global scope
7876         (pasteSelection): ditto
7877
7878         * buffer.h: declare oprator== and operator!= for
7879         Buffer::inset_iterator
7880
7881         * bufferlist.C (emergencyWrite): don't use fmt(...)
7882
7883         * text3.C: add using std::endl
7884
7885         * BufferView.C (moveCursorUpdate): remove default arg
7886
7887 2002-08-20  André Pönitz <poenitz@gmx.net>
7888
7889         * buffer.[Ch]: move inline functions to .C
7890
7891         * BufferView2.C:
7892         * BufferView_pimpl.C:
7893         * text.C:
7894         * buffer.[Ch]: use improved inset_iterator
7895
7896         * buffer.C:
7897         * paragraph.[Ch]: write one paragraph at a time
7898
7899 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7900
7901         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7902         style if style is not specified.
7903
7904 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7905
7906         * text2.C (setCounter): when searching for right label for a
7907         caption, make sure to recurse to parent insets (so that a caption
7908         in a minipage in a figure float works) (bug #568)
7909
7910 2002-08-20  André Pönitz <poenitz@gmx.net>
7911
7912         * text3.C: new file for LyXText::dispatch() and helpers
7913
7914         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7915
7916         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7917
7918 2002-08-19  André Pönitz <poenitz@gmx.net>
7919
7920         * lyxtext.h:
7921         * text.C: new LyXText::dispatch()
7922
7923         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7924
7925 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7926
7927         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7928
7929         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7930         Hebrew text.
7931
7932 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * Makefile.am: use $(variables) instead of @substitutions@
7935
7936 2002-08-15  André Pönitz <poenitz@gmx.net>
7937
7938         * lyxfunc.C:
7939         * BufferView_pimpl.C: streamlining mathed <-> outer world
7940         interaction
7941
7942         * commandtags.h:
7943         * LyXAction.C: remove unused LFUN_MATH
7944
7945 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7946
7947         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7948
7949 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7950
7951         * paragraph.C (Paragraph): reformat a bit
7952         (cutIntoMinibuffer): use builtin InsetList function instad of
7953         doing it manually.
7954         (getInset): ditto
7955
7956         * buffer.C: include boost/bind.hpp, add using std::for_each
7957         (writeFileAscii): use ParagraphList iterators
7958         (validate): use for_each for validate traversal of paragraphs
7959         (getBibkeyList): use ParagraphList iterators
7960         (resizeInsets): use for_each to resizeInsetsLyXText for all
7961         paragraphs.
7962         (getParFromID): use ParagraphList iterators
7963
7964         * BufferView2.C (lockInset): use paragraph list and iterators
7965
7966 2002-08-14  John Levon  <levon@movementarian.org>
7967
7968         * lyxserver.C: remove spurious xforms include
7969
7970 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7971
7972         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7973
7974 2002-08-13  André Pönitz <poenitz@gmx.net>
7975
7976         * LyXAction.[Ch]:
7977         * lyxfunc.C: further cleaning
7978
7979 2002-08-13  André Pönitz <poenitz@gmx.net>
7980
7981         * funcrequest.h: new constructor
7982
7983         * funcrequest.C: move stuff here from .h
7984
7985         * Makefile.am:
7986         * BufferView_pimpl.C:
7987         * LyXAction.C:
7988         * toc.C:
7989         * lyxfunc.C: subsequent changes
7990
7991         * lyxfunc.h: new view() member function
7992
7993         * lyxfunc.C: subsequent changes
7994
7995 2002-08-13  Angus Leeming  <leeming@lyx.org>
7996
7997         * BufferView2.C:
7998         * BufferView_pimpl.C:
7999         * buffer.C:
8000         * converter.C:
8001         * importer.C:
8002         * lyxfunc.C:
8003         * lyxvc.C:
8004         * toc.C:
8005         * vc-backend.C:
8006         changes due to the changed LyXView interface that now returns references
8007         to member variables not pointers.
8008
8009 2002-08-13  Angus Leeming  <leeming@lyx.org>
8010
8011         * WordLangTuple (word, lang_code): return references to strings,
8012         not strings.
8013
8014         * BufferView.h:
8015         * SpellBase.h:
8016         * lyxtext.h: forward-declare WordLangTuple.
8017
8018         * BufferView2.C:
8019         * ispell.C:
8020         * pspell.C:
8021         * text.C: #include "WordLangTuple.h".
8022
8023         * lyxtext.h:
8024         * text.C: (selectNextWordToSpellcheck): constify return type.
8025
8026 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8027
8028         * buffer.C:
8029         * buffer.h:
8030         * lyxtext.h:
8031         * paragraph.C:
8032         * paragraph_pimpl.h:
8033         * text.C:
8034         * text2.C:
8035         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8036         suggested by Angus.
8037         Made updateCounter always count from start of buffer, and removed
8038         second argument (par).
8039         Reverted floats number display to '#'. Perhaps I'll try again when the
8040         code base is sanitized a bit.
8041
8042 2002-08-12  Angus Leeming  <leeming@lyx.org>
8043
8044         * buffer.[Ch] (getLabelList): constify.
8045
8046 2002-08-07  André Pönitz <poenitz@gmx.net>
8047
8048         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8049
8050         * funcrequest.h: extension to keep mouse (x,y) position
8051
8052 2002-08-12  Juergen Vigna  <jug@sad.it>
8053
8054         * BufferView2.C (insertErrors): forbid undo when inserting error
8055         insets.
8056
8057         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8058
8059 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * ParagraphList.[Ch]: new files
8062
8063         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8064
8065         * BufferView2.C (lockInset): ParagraphList changes
8066         * toc.C: ditto
8067         * text2.C: ditto
8068         * bufferlist.C: ditto
8069         * buffer.h: ditto
8070         * buffer.C: ditto
8071
8072 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8075         unused class variable counter_,
8076
8077         * paragraph.[Ch] (getFirstCounter): delete unused function
8078
8079         * counters.C: include LAssert.h
8080         (reset): add a new function with no arg, change other version to
8081         not have def. arg and to not allow empty arg.
8082
8083         * text2.C (setCounter): remove empty arg from call to Counters::reset
8084
8085 2002-08-11  John Levon  <levon@movementarian.org>
8086
8087         * Makefile.am: add WordLangTuple.h
8088
8089 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8092         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8093
8094         * insets/insettext.C: InsetList changes
8095
8096         * graphics/GraphicsSupport.C (operator()): InsetList changes
8097
8098         * toc.C (getTocList): InsetList changes
8099
8100         * paragraph_pimpl.[Ch]: InsetList changes
8101
8102         * paragraph.[Ch]: InsetList changes
8103
8104         * buffer.C (inset_iterator): InsetList changes
8105         (setParagraph): ditto
8106         * buffer.h (inset_iterator): ditto
8107         * iterators.C (operator++): ditto
8108         * iterators.h: ditto
8109
8110         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8111
8112         * InsetList.[Ch]: new files, most InsetList handling moved out of
8113         paragraph.C.
8114
8115         * BufferView2.C (removeAutoInsets): InsetList changes
8116         (lockInset): ditto
8117         (ChangeInsets): ditto
8118
8119 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * paragraph_pimpl.h (empty): new function
8122
8123         * paragraph.[Ch] (empty): new function
8124
8125         * other files: use the new Paragraph::empty function
8126
8127 2002-08-09  John Levon  <levon@movementarian.org>
8128
8129         * lyxtext.h: remove unused refresh_height
8130
8131 2002-08-09  John Levon  <levon@movementarian.org>
8132
8133         * Makefile.am:
8134         * sgml.h:
8135         * sgml.C:
8136         * buffer.C:
8137         * paragraph.h:
8138         * paragraph.C: move sgml char escaping out of paragraph
8139
8140         * paragraph.h:
8141         * paragraph.C: remove id setter
8142
8143         * buffer.C:
8144         * paragraph.C:
8145         * paragraph_pimpl.C: remove dead tex_code_break_column
8146
8147         * bufferview_funcs.C: small cleanup
8148
8149         * lyxfunc.C: remove dead proto
8150
8151         * lyxtext.h: make some stuff private. Remove some dead stuff.
8152
8153         * lyxgluelength.C: make as[LyX]String() readable
8154
8155 2002-08-08  John Levon  <levon@movementarian.org>
8156
8157         * LyXAction.h:
8158         * LyXAction.C:
8159         * MenuBackend.C:
8160         * ToolbarDefaults.C:
8161         * lyxfunc.C:
8162         * lyxrc.C:
8163         * toc.C: lyxaction cleanup
8164
8165 2002-08-08  John Levon  <levon@movementarian.org>
8166
8167         * BufferView2.C: small cleanup
8168
8169         * lyxfind.h:
8170         * lyxfind.C: move unnecessary header into the .C
8171
8172 2002-08-08  John Levon  <levon@movementarian.org>
8173
8174         * funcrequest.h: just tedious nonsense
8175
8176         * lyx_main.h:
8177         * lyx_main.C: cleanups
8178
8179         * buffer.C:
8180         * vspace.C: remove dead header lyx_main.h
8181
8182 2002-08-07  Angus Leeming  <leeming@lyx.org>
8183
8184         * Paragraph.[Ch]:
8185         * paragraph_pimpl.h:
8186         Forward declare class Counters in paragraph.h by moving the ctrs member
8187         variable into Paragraph::Pimpl.
8188         (counters): new method, returning a reference to pimpl_->ctrs.
8189
8190         * text2.C: ensuing changes.
8191
8192 2002-08-07  John Levon  <levon@movementarian.org>
8193
8194         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8195
8196         * BufferView_pimpl.C: announce X selection on double/triple
8197           click
8198
8199         * lyx_main.C: use correct bool in batch dispatch
8200
8201         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8202
8203 2002-08-07  André Pönitz <poenitz@gmx.net>
8204
8205         * funcrequest.h: new class to wrap a kb_action and its argument
8206
8207         * BufferView.[Ch]:
8208         * BufferView_pimpl[Ch]:
8209         * LaTeX.C:
8210         * LyXAction.[Ch]:
8211         * lyxfunc.[Ch]:
8212         * lyxrc.C: subsequent changes
8213
8214
8215 2002-08-07  John Levon  <levon@movementarian.org>
8216
8217         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8218           document options change.
8219
8220 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8221
8222         * counters.[Ch]
8223         * text2.C
8224         * paragraph.[Ch]
8225         * makefile.am: move counters functionality over from
8226         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8227
8228 2002-08-06  John Levon  <levon@movementarian.org>
8229
8230         * WordLangTuple.h: new file for word + language code tuple
8231
8232         * SpellBase.h:
8233         * pspell.h:
8234         * pspell.C:
8235         * ispell.h:
8236         * ispell.C:
8237         * lyxtext.h:
8238         * text.C:
8239         * text2.C:
8240         * BufferView.h:
8241         * BufferView2.C: use WordLangTuple
8242
8243         * layout.h:
8244         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8245
8246 2002-08-06  John Levon  <levon@movementarian.org>
8247
8248         * lyx_main.C: fix cmdline batch handling
8249
8250 2002-08-06  André Pönitz <poenitz@gmx.net>
8251
8252         * lyxrc.C: set default for show_banner to true
8253
8254 2002-08-06  John Levon  <levon@movementarian.org>
8255
8256         * pspell.C: fix a crash, and allow new aspell to work
8257
8258 2002-08-06  John Levon  <levon@movementarian.org>
8259
8260         * lyxfunc.C:
8261         * kbmap.C: small cleanup
8262
8263         * vspace.h:
8264         * vspace.C: add const
8265
8266 2002-08-05  John Levon  <levon@movementarian.org>
8267
8268         * LyXAction.C: back to tabular-insert
8269
8270 2002-08-04  John Levon  <levon@movementarian.org>
8271
8272         * BufferView.h:
8273         * BufferView.C: cosmetic change
8274
8275         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8276
8277         * bufferlist.C:
8278         * buffer.h:
8279         * buffer.C:
8280         * lyxcb.h:
8281         * lyxcb.C:
8282         * lyxserver.C:
8283         * lyxvc.C:
8284         * vc-backend.C:
8285         * BufferView2.C: purge all "Lyx" not "LyX" strings
8286
8287         * lyxcursor.h:
8288         * lyxcursor.C: attempt to add some documentation
8289
8290         * lyxfunc.C:
8291         * commandtags.h:
8292         * LyXAction.C:
8293         * ToolbarDefaults.C:
8294         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8295           merge with LFUN_TABULAR_INSERT
8296
8297         * Makefile.am:
8298         * SpellBase.h:
8299         * ispell.h:
8300         * ispell.C:
8301         * pspell.h:
8302         * pspell.C: split up i/pspell implementations into separate
8303           files, many cleanups
8304
8305         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8306
8307         * text2.C: some cleanup
8308
8309         * lyxfunc.C: don't check for isp_command == "none" any more, it
8310           didn't make any sense
8311
8312 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8313
8314         * counters.[Ch]
8315         * text2.C
8316         * paragraph.[Ch]
8317         * makefile.am: move counters functionality over
8318         from text2.C/paragraph.[Ch] to counters.[Ch], and
8319         make proper C++.
8320 2002-08-02  John Levon  <levon@movementarian.org>
8321
8322         * buffer.C: s/lyxconvert/lyx2lyx/
8323
8324 2002-08-02  Angus Leeming  <leeming@lyx.org>
8325
8326         * lyxlex.C: revert John's change as it breaks reading of the user
8327         preamble.
8328
8329 2002-08-02  Angus Leeming  <leeming@lyx.org>
8330
8331         * importer.C (Import):
8332         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8333         changes due to LyXView::view() now returning a boost::shared_ptr.
8334
8335 2002-08-02  John Levon  <levon@movementarian.org>
8336
8337         * lyxlex.C: small cleanup
8338
8339 2002-08-02  John Levon  <levon@movementarian.org>
8340
8341         * text2.C (status): small cleanup, no logic change
8342
8343 2002-08-01  John Levon  <levon@movementarian.org>
8344
8345         * buffer.h:
8346         * buffer.C (writeFile): don't output alerts, caller
8347           handles this
8348
8349         * bufferlist.C:
8350         * lyx_cb.C: from above
8351
8352         * lyxfunc.C: allow to open non-existent files
8353
8354 2002-07-31  John Levon  <levon@movementarian.org>
8355
8356         * lyxserver.C: don't let incidental errors get
8357           in the way (errno)
8358
8359 2002-07-30  John Levon  <levon@movementarian.org>
8360
8361         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8362
8363 2002-07-30  John Levon  <levon@movementarian.org>
8364
8365         * lyxserver.h:
8366         * lyxserver.C: remove I/O callback too
8367
8368 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8369
8370         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8371         log.
8372
8373 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * many files: strip,frontStrip -> trim,ltrim,rtrim
8376
8377 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * PrinterParams.h: remove extern containsOnly, and include
8380         support/lstrings.h instead.
8381
8382         * LaTeX.C (scanAuxFile): modify because of strip changes
8383         (deplog): ditto
8384         * buffer.C (makeLaTeXFile): ditto
8385         * bufferparams.C (writeFile): ditt
8386         * lyxfont.C (stateText): ditto
8387         * lyxserver.C (read_ready): ditto
8388         * vc-backend.C (scanMaster): ditto
8389
8390         * BufferView_pimpl.h: ws changes
8391
8392         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8393
8394 2002-07-26  André Pönitz <poenitz@gmx.net>
8395
8396         * kb_sequence.C: remove unnedred usings
8397
8398 2002-07-26  Juergen Vigna  <jug@sad.it>
8399
8400         * lyxfind.C (LyXReplace): we have to check better if the returned
8401         text is not of theLockingInset()->getLockingInset().
8402
8403 2002-07-25  Juergen Vigna  <jug@sad.it>
8404
8405         * lyxfind.C (LyXReplace): don't replace if we don't get the
8406         right LyXText.
8407
8408         * undo_funcs.C (createUndo): remove debugging code.
8409
8410 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8411
8412         * buffer.C (parseSingleLyXformat2Token): Use default placement
8413         when reading old floats.
8414
8415         * FloatList.C (FloatList): Change the default placement of figure
8416         and tables to "tbp".
8417
8418 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * MenuBackend.C: using std::max
8421
8422 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8423
8424         * MenuBackend.C (expandToc):
8425         (expandToc2): code moved from xforms menu frontend. It is now
8426         generic and TOCs are transparent to menu frontends.
8427
8428 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8429
8430         * toc.C (getTocList): protect against buf=0
8431
8432         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8433         Menu as first parameter. Now, this calls itself recursively to
8434         expand a whole tree (this will be useful for TOC handling)
8435         (expandFloatInsert): remove 'wide' version of floats
8436
8437         * MenuBackend.h (submenuname): returns the name of the submenu.
8438         (submenu): returns the submenu itself, provided it has been
8439         created by MenuBackend::expand
8440
8441 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8442
8443         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8444         insets which have noFontChange == true. (bug #172)
8445
8446 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8447
8448         * BufferView_pimpl.C: add connection objects and use them...
8449         (Pimpl): here.
8450
8451 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * MenuBackend.C (expandLastfiles):
8454         (expandDocuments):
8455         (expandFormats):
8456         (expandFloatListInsert):
8457         (expandFloatInsert):
8458         (expand): split expand in parts
8459
8460 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8461
8462         * lyx_gui.C: use lyx_gui::exit()
8463
8464 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * LyXAction.C: show the failing pseudo action
8467
8468 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * buffer.C (readFile): Run the lyxconvert script in order to read
8471         old files.
8472
8473 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * LyXAction.C:
8476         * commandtags.h:
8477         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8478
8479 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * LyXAction.C:
8482         * commandtags.h:
8483         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8484
8485 2002-07-22  Herbert Voss  <voss@lyx.org>
8486
8487         * lengthcommon.C:
8488         * lyxlength.[Ch]: add support for the vertical lengths
8489
8490 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8491
8492         * toc.[Ch]: std:: fixes
8493
8494 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * lyxrc.C: do not include lyx_main.h
8497
8498         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8499         for layouts
8500
8501         * lyxrc.C:
8502         * encoding.C:
8503         * bufferlist.C:
8504         * BufferView2.C: include "lyxlex.h"
8505
8506         * tabular.h:
8507         * bufferparams.h: do not #include "lyxlex.h"
8508
8509         * lyxtextclasslist.C (Add): remove method
8510         (classlist): renamed to classlist_
8511
8512         * paragraph_pimpl.C:
8513         * paragraph.C:
8514         * text2.C:
8515         * CutAndPaste.C:
8516         * bufferview_funcs.C:
8517         * bufferlist.C:
8518         * text.C:
8519         * LaTeXFeatures.C:
8520         * buffer.C:
8521         * toc.C (getTocList): use BufferParams::getLyXTextClass
8522
8523         * toc.C (getTocList): use InsetFloat::addToToc
8524
8525         * toc.[Ch]: new files, containing helper functions to handle table
8526         of contents
8527
8528         * lyxfunc.C (dispatch): no need to remove spaces around command
8529         given as a string
8530         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8531         first command of the sequence; it is not very clever, but I do not
8532         have a better idea, actually
8533
8534         * LyXAction.C (LookupFunc): make sure to remove space at the
8535         beginning and end of the command
8536
8537 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8538
8539         * MenuBackend.C (getMenubar): new method: return the menubar of
8540         this menu set
8541         (read): treat differently reading of menu and menubar (in
8542         particular, the menubar has no name now)
8543         (Menu::menubar): remove
8544
8545         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8546         saving is finished
8547
8548 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8549
8550         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8551         a bibitem inset in a RTL paragraph.
8552
8553 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * paragraph_pimpl.C: constify
8556
8557         * BufferView_pimpl.C:
8558         * LaTeX.C:
8559         * lyxfunc.C: fix dispatch in a nicer way
8560
8561 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8562
8563         * lyxfunc.C (dispatch):
8564         * BufferView_pimpl.C:
8565         * BufferView_pimpl.h:
8566         * BufferView.C:
8567         * BufferView.h: rename Dispatch() to dispatch()
8568
8569         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8570
8571         * lyxlayout.C (Read): honor DependsOn tag
8572
8573         * lyxlayout.[Ch] (depends_on): new method
8574
8575         * version.C.in: update lyx_docversion
8576
8577         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8578
8579         * paragraph.C (validate): remove from here...
8580         * paragraph_pimpl.C (validate): ... and move here
8581         (isTextAt): make it const
8582
8583         * buffer.C (getLists): ws cleanup
8584
8585 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8586
8587         * language.C (read): Use iso8859-1 encoding in latex_lang
8588         (this prevents LyX from crashing when using iso10646-1 encoding).
8589
8590 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8591
8592         * text2.C (toggleInset): if cursor is inside an inset, close the
8593         inset and leave cursor _after_ it
8594
8595 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * lyxfunc.C: move minibuffer completion handling out of here
8598
8599 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * BufferView_pimpl.C:
8602         * LaTeX.C: fix dispatch calls
8603
8604 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8605
8606         * text.C (drawChars): Fix Arabic text rendering.
8607
8608 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8609
8610         * LyXAction.C:
8611         * commandtags.h:
8612         * lyxfunc.C: remove message-push/pop
8613
8614         * lyxserver.C:
8615         * lyxfunc.h:
8616         * lyxfunc.C: rationalise some code by removing verboseDispatch
8617           in favour of a bool argument to dispatch()
8618
8619 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * lyx_main.C (init): make sure to read symlinks as absolute paths
8622
8623 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * lyxfunc.h:
8626         * lyxfunc.C: no need for commandshortcut to be a member
8627
8628 2002-07-15  André Pönitz <poenitz@gmx.net>
8629
8630         * converter.C: add support for $$s (scripts from lib/scripts dir)
8631         * lyx_main.C: white space
8632
8633 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * bufferlist.C:
8636         * lyxrc.h:
8637         * lyxrc.C: remove second exit confirmation
8638
8639 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * BufferView.h:
8642         * BufferView.C:
8643         * BufferView2.C:
8644         * BufferView_pimpl.h:
8645         * BufferView_pimpl.C:
8646         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8647
8648 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * MenuBackend.C (expand): add numeric shortcuts to document menu
8651
8652         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8653
8654 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8655
8656         * lyxfont.C (setLyXFamily):
8657         (setLyXSeries):
8658         (setLyXShape):
8659         (setLyXSize):
8660         (setLyXMisc):
8661         (lyxRead):
8662         * debug.C (value):
8663         * buffer.C (asciiParagraph): use ascii_lowercase
8664
8665 2002-07-15  Mike Fabian  <mfabian@suse.de>
8666
8667         * lyxlex_pimpl.C (search_kw):
8668         * lyxlex.C (getLongString):
8669         * converter.h (operator<):
8670         * converter.C (operator<):
8671         * buffer.C (parseSingleLyXformat2Token):
8672         (asciiParagraph):
8673         * ToolbarDefaults.C (read):
8674         * MenuBackend.C (checkShortcuts):
8675         (read):
8676         * LColor.C (getFromGUIName):
8677         (getFromLyXName): use the compare_ascii_no_case instead of
8678         compare_no_case, because in turkish, 'i' is not the lowercase
8679         version of 'I', and thus turkish locale breaks parsing of tags.
8680
8681 2002-07-16  Angus Leeming  <leeming@lyx.org>
8682
8683         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8684         now takes a Buffer const & argument.
8685
8686 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * BufferView.C (resize): check there's a buffer to resize
8689
8690 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * lyxfunc.C: remove dead code
8693
8694         * lyxserver.h:
8695         * lyxserver.C: use lyx_guii::set_read_callback
8696
8697 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8698
8699         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8700         an inset in a RTL paragraph.
8701
8702 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * lyxfunc.C: repaint after a font size update
8705
8706 2002-07-15  André Pönitz <poenitz@gmx.net>
8707
8708         * lyxlength.C: inBP should be able to return negative values
8709
8710 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * lyxfunc.C: use lyx_gui::update_fonts()
8713
8714 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8715
8716         * lyxfunc.C: use lyx_gui::update_color()
8717
8718 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * bufferlist.C:
8721         * lyxfunc.h:
8722         * lyxfunc.C:
8723         * lyxrc.h:
8724         * lyxrc.C: remove file->new asks for name option, and let
8725           buffer-new take an argument
8726
8727 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8728
8729         * BufferView_pimpl.C: remove unneeded extra repaint()
8730
8731 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * LyXAction.C: allow command-sequence with NoBuffer
8734
8735         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8736
8737 2002-07-10  Angus Leeming  <leeming@lyx.org>
8738
8739         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8740
8741 2002-07-09  Angus Leeming  <leeming@lyx.org>
8742
8743         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8744
8745 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8746
8747         * lengthcommon.h: whitespace
8748
8749         * lyxfunc.C: update scrollbar after goto paragraph
8750
8751         * lyxtext.h: factor out page break drawing, and fix it so
8752           page break/added space paints as selected nicely
8753
8754 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8755
8756         * BufferView_pimpl.C: add FIXMEs, clean up a little
8757
8758 2002-07-09  André Pönitz <poenitz@gmx.net>
8759
8760         * lyxfont.[Ch]: support for wasy symbols
8761
8762 2002-07-08  André Pönitz <poenitz@gmx.net>
8763
8764         * BufferView_pimpl.C: apply John's patch for #93.
8765
8766 2002-07-05  Angus Leeming  <leeming@lyx.org>
8767
8768         * BufferView_pimpl.C (buffer): generate previews if desired.
8769
8770         * LColor.h: add "preview" to the color enum.
8771
8772         * LColor.C (LColor): add a corresponding entry to the items array.
8773
8774         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8775         with this buffer.
8776
8777 2002-07-05  Angus Leeming  <leeming@lyx.org>
8778
8779         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8780         The body of the code is now in the method that is passed an ostream &
8781         rather than a file name.
8782         Pass an additional only_preamble parameter, useful for the forthcoming
8783         preview stuff.
8784
8785 2002-07-03  André Pönitz <poenitz@gmx.net>
8786
8787         * lyxfunc.C: simplify getStatus() a bit for math stuff
8788
8789 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8790
8791         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8792
8793 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * text.C (changeRegionCase): do not change case of all the
8796         document when region ends at paragraph end (bug #461)
8797
8798 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * paragraph.C (startTeXParParams):
8801         (endTeXParParams): add \protect when necessary
8802
8803 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * BufferView_pimpl.C (workAreaExpose): remove warning
8806
8807 2002-06-27  Angus Leeming  <leeming@lyx.org>
8808
8809         * Makefile.am: add lyxlayout_ptr_fwd.h.
8810
8811 2002-06-26  André Pönitz <poenitz@gmx.net>
8812
8813         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8814
8815 2002-06-25  Angus Leeming  <leeming@lyx.org>
8816
8817         * lyxfunc.C (dispatch): Comment out the call to
8818         grfx::GCache::changeDisplay. The method no longer exists now that the
8819         pixmap generation part of the graphics loader has been moved into
8820         InsetGraphics.
8821
8822 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8823
8824         * text2.C: layout as layout
8825
8826         * text.C: layout as layout
8827
8828         * tabular.C (OldFormatRead): layout as layout
8829
8830         * paragraph_pimpl.C (TeXDeeper): layout as layout
8831         (realizeFont): layout as layout
8832
8833         * paragraph.C (writeFile): layout as layout
8834         (validate): layout as layout
8835         (getFont): layout as layout
8836         (getLabelFont): layout as layout
8837         (getLayoutFont): layout as layout
8838         (breakParagraph): layout as layout
8839         (stripLeadingSpaces): layout as layout
8840         (getEndLabel): layout as layout
8841         (getMaxDepthAfter): layout as layout
8842         (applyLayout): layout as layout
8843         (TeXOnePar): layout as layout
8844         (simpleTeXOnePar): layout as layout
8845         (TeXEnvironment): layout as layout
8846         (layout): layout as layout
8847         (layout): layout as layout
8848
8849         * lyxtextclass.C (compare_name): new functor to work with
8850         shared_ptr, layout as layout
8851         (Read): layout as layout
8852         (hasLayout): layout as layout
8853         (operator): layout as layout
8854         (delete_layout): layout as layout
8855         (defaultLayout): layout as layout
8856
8857         * lyxlayout_ptr_fwd.h: new file
8858
8859         * lyxlayout.C (Read): layout as layout
8860
8861         * lyx_cb.C (MenuInsertLabel): layout as layout
8862
8863         * bufferlist.C (newFile): layout as layout
8864
8865         * buffer.C (readLyXformat2): layout as layout
8866         (parseSingleLyXformat2Token): layout as layout
8867         (insertStringAsLines): layout as layout
8868         (asciiParagraph): layout as layout
8869         (latexParagraphs): layout as layout
8870         (makeLinuxDocFile): layout as layout
8871         (simpleLinuxDocOnePar): layout as layout
8872         (makeDocBookFile): layout as layout
8873         (simpleDocBookOnePar): layout as layout
8874         (getLists): layout as layout
8875
8876         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8877
8878         * CutAndPaste.C (cutSelection): layout as layout
8879         (pasteSelection): layout as layout
8880         (SwitchLayoutsBetweenClasses): layout as layout
8881
8882         * BufferView_pimpl.C (Dispatch): layout as layout
8883         (smartQuote): layout as layout
8884
8885         * BufferView2.C (unlockInset): layout as layout
8886
8887 2002-06-24  André Pönitz <poenitz@gmx.net>
8888
8889         * lyxfunc.C: fix #487
8890
8891 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8892
8893         * lyxrc.h:
8894         * lyxrc.C:
8895         * lyxfunc.C: remove display_shortcuts, show_banner
8896
8897 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * Buffer_pimpl.C: oops, update on resize
8900
8901 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * buffer.C:
8904         * converter.C:
8905         * exporter.C:
8906         * lyxfunc.C:
8907         * BufferView.h:
8908         * BufferView.C: use repaint()
8909
8910         * BufferView_pimpl.h:
8911         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8912           as it's a clearer description. Remove superfluous
8913           redraws.
8914
8915 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * text.C: fix bug 488. Not ideal, but getting
8918           getWord() to work properly for the insets that
8919           matter is more difficult ...
8920
8921 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8922
8923         * BufferView_pimpl.C:
8924         * LyXAction.C:
8925         * commandtags.h:
8926         * lyxfunc.C: remove the six million index lyxfuncs to just
8927           one, and DTRT (bug 458)
8928
8929 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * BufferView.h:
8932         * BufferView.C:
8933         * BufferView_pimpl.h:
8934         * BufferView_pimpl.C: clean up resize() stuff,
8935           and unnecessary updateScreen()s
8936
8937 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * BufferView.h:
8940         * BufferView.C:
8941         * BufferView_pimpl.h:
8942         * BufferView_pimpl.C:
8943         * lyxfind.h:
8944         * lyxfind.C:
8945         * minibuffer.C: remove focus management of workarea,
8946           not needed. Use screen's greyOut()
8947
8948 2002-06-17  Herbert Voss  <voss@lyx.org>
8949
8950         * converter.C: (convert) do not post a message, when converting
8951         fails, let the calling function decide what to do in this case
8952
8953 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8954
8955         * lyxfunc.C: tidy up a little
8956
8957 2002-06-16    <alstrup@diku.dk>
8958
8959         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8960         Got rid of FORMS_H_LOCATION include. Now we are
8961         GUII.
8962
8963 2002-06-15  LyX Development team  <lyx@rilke>
8964
8965         * buffer.[Ch] (sgmlOpenTag):
8966         (sgmlCloseTag): Added support for avoiding pernicious mixed
8967         content. Return number of lines written.
8968
8969         (makeLinuxDocFile):
8970         (makeDocBookFile): Fixed calls to sgml*Tag.
8971         Simple white space clean.
8972
8973         (simpleDocBookOnePar): Simple white space clean.
8974
8975         * tabular.[Ch] (docBook): Renamed to docbook and got another
8976         argument to related with the pernicious mixed content.
8977
8978         (docbookRow): Fixed calls for docbook inset method.
8979
8980 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8981
8982         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8983         so it's X11 independent.
8984
8985         * kb*.[Ch]: ditto.
8986
8987         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8988
8989 2002-06-15  Lyx Development team  <lyx@electronia>
8990
8991         * intl.h: Renamed getTrans to getTransManager.
8992
8993 2002-06-14  Angus Leeming  <leeming@lyx.org>
8994
8995         * Makefile.am: nuke forgotten stl_string_fwd.h.
8996
8997 2002-06-12  Angus Leeming  <leeming@lyx.org>
8998
8999         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9000
9001 2002-06-13  Angus Leeming  <leeming@lyx.org>
9002
9003         * LaTeX.C:
9004         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9005
9006 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9007
9008         * kbmap.C (getiso): add support for cyrillic and greek
9009
9010 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * BufferView.h:
9013         * BufferView.C:
9014         * BufferView_pimpl.h:
9015         * BufferView_pimpl.C: move bogus scrolling logic
9016           to xforms
9017
9018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * lyxfunc.C:
9021         * BufferView_pimpl.C: view->resize() change
9022
9023 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * BufferView_pimpl.C: topCursorVisible
9026           prototype change
9027
9028 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * Makefile.am:
9031         * lyx_gui.h:
9032         * lyx_gui.C: move to frontends/
9033
9034         * main.C:
9035         * lyx_main.h:
9036         * lyx_main.C: changes from above
9037
9038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * intl.C:
9041         * intl.h:
9042         * kbmap.C:
9043         * kbsequence.C:
9044         * lyx_cb.C:
9045         * lyx_main.C: minor tidy
9046
9047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * BufferView_pimpl.h:
9050         * BufferView_pimpl.C:
9051         * BufferView.h:
9052         * BufferView.C: make painter() const,
9053           remove dead code
9054
9055         * BufferView2.C: use screen() accessor
9056
9057         * lyx_main.h:
9058         * lyx_main.C: some minor cleanup
9059
9060 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9061
9062         * BufferView_pimpl.h:
9063         * BufferView_pimpl.C: remove enter/leaveView,
9064           use workHeight()
9065
9066 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9067
9068         * BufferView.h:
9069         * BufferView.C:
9070         * BufferView2.C:
9071         * BufferView_pimpl.h:
9072         * BufferView_pimpl.C: only construct screen once,
9073           rename
9074
9075         * lyxrc.C: remove pointless comment
9076
9077 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView.h:
9080         * BufferView.C: remove active() and belowMouse()
9081
9082         * BufferView_pimpl.h:
9083         * BufferView_pimpl.C: use workarea() not workarea_,
9084           and make it use a scoped_ptr instead
9085
9086 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * lyx_gui.C: add debug message on BadWindow
9089
9090 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * sp_spell.C: fdopen is not part of the C++ standard.
9093
9094         * paragraph.C (InsetIterator): use >= instead of ==
9095
9096 2002-06-07  Angus Leeming  <leeming@lyx.org>
9097
9098         Fixes needed to compile with Compaq cxx 6.5.
9099         * BufferView_pimpl.C:
9100         * DepTable.C:
9101         * buffer.C:
9102         * converter.C:
9103         * encoding.C:
9104         * lyx_gui.C:
9105         * lyx_main.C:
9106         * lyxtextclasslist.C:
9107         * minibuffer.C:
9108         * sp_spell.C:
9109         * tabular_funcs.C:
9110         * vc-backend.C:
9111         all c-library variables have been moved into namespace std. Wrap
9112         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9113
9114         * lyxlength.C:
9115         * tabular-old.C:
9116         * tabular.C:
9117         Add a using std::abs declaration.
9118
9119         * kbmap.h (modifier_pair):
9120         * paragraph.h (InsetTable, InsetList):
9121         * lyxfont.h (FontBits):
9122         type definition made public.
9123
9124         * bufferlist.C (emergencyWriteAll): the compiler complains that
9125         there is more than one possible lyx::class_fun template to choose from.
9126         I re-named the void specialisation as lyx::void_class_fun.
9127
9128         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9129
9130         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9131         the compiler is is unable to find tostr in write_attribute.
9132
9133 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * buffer.C (sgmlError): hide #warning
9136
9137 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9138
9139         * xtl/*: get rid of xtl, which is not in use anyway
9140
9141         * LyXAction.C (init):
9142         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9143         were unimplemented xtl experimentation
9144
9145 2002-06-04  André Pönitz <poenitz@gmx.net>
9146
9147         * lyxfunc.C: disable array operation on simple formulae
9148
9149 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * converter.C: constify a bit
9152
9153 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9154
9155         * lyx_gui.C: check xforms version correctly
9156
9157 2002-04-30  Herbert Voss  <voss@lyx.org>
9158
9159         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9160         "keep" option
9161
9162 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9165           attempt to register it with a VCS)
9166
9167 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9168
9169         * lyx_main.C (init): honor variables LYX_DIR_13x and
9170         LYX_USERDIR_13x
9171
9172 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9173
9174         * buffer.h:
9175         * buffer.C:
9176         * lyx_main.C: fix a crash on bad command line,
9177           and give a useful exit status on error
9178
9179         * lyxfunc.C (doImport): allow -i lyx to work
9180
9181 2002-03-30  André Pönitz <poenitz@gmx.net>
9182
9183         * lyxfunc.C: mathed font changes
9184
9185 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * LaTeX.C:
9188         * importer.h:
9189         * importer.C:
9190         * lyx_sty.h:
9191         * lyx_sty.C:
9192         * lyxlex.C:
9193         * lyxrow.h:
9194         * lyxtext.h:
9195         * paragraph.h:
9196         * paragraph.C:
9197         * texrow.h:
9198         * texrow.C:
9199         * text.C:
9200         * trans_mgr.h: srcdocs, and some minor cleanups
9201
9202 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9205         call getFont all the time)
9206
9207 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9208
9209         * switch from SigC signals to boost::signals
9210
9211 2002-05-29  André Pönitz <poenitz@gmx.net>
9212
9213         * paragraph_pimpl.C (getChar): don't call size() too often...
9214
9215 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9216
9217         * paragraph_pimpl.C (insertChar): do not try to update tables when
9218         appending (pos == size())
9219
9220         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9221         in order to reduce drastically the number of comparisons needed to
9222         parse a large document
9223
9224 2002-05-29  André Pönitz <poenitz@gmx.net>
9225
9226         * text.C:
9227         * text2.C:
9228         * lyxtextclass.C:
9229         * sp_pspell.h:
9230         * textclasslist.[Ch]:
9231         * sp_ispell.h: whitespace change
9232
9233 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9236         lyxaction directly now.
9237
9238 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * trans.C:
9241         * lyxfont.C:
9242         * lyxvc.C: remove unused headers
9243
9244 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * Makefile.am:
9247         * buffer.h:
9248         * undostack.h:
9249         * undostack.C:
9250         * undo_funcs.h:
9251         * undo_funcs.C: some cleanups. Use shared_ptr
9252           and a template for the undo stacks.
9253
9254 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * BufferView_pimpl.h:
9257         * BufferView_pimpl.C:
9258         * kbmap.h:
9259         * kbmap.C:
9260         * kbsequence.h:
9261         * kbsequence.C:
9262         * lyxfunc.h:
9263         * lyxfunc.C:
9264         * text2.C: use key_state/mouse_state
9265
9266 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9269         and LSubstring
9270
9271         * chset.C: change include order
9272         (loadFile): use boost regex and get rid of LRegex and LSubstring
9273
9274         * Makefile.am (BOOST_LIBS): new variable
9275         (lyx_LDADD): use it
9276
9277         * LaTeX.C: change include order.
9278         (scanAuxFile): use boost regex and get rid of LRegex and
9279         LSubstring
9280         (deplog): ditto
9281
9282 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9283
9284         * ColorHandler.h:
9285         * ColorHandler.C:
9286         * FontInfo.h:
9287         * FontInfo.C: moved to frontends/xforms/
9288
9289         * FontLoader.h:
9290         * FontLoader.C: moved into frontends for GUIIzation
9291
9292         * Makefile.am:
9293         * lyx_gui.C:
9294         * lyxfont.C:
9295         * lyxfunc.C: changes from above
9296
9297 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * LColor.C: remove spurious X include
9300
9301         * BufferView_pimpl.C:
9302         * Makefile.am:
9303         * font.h:
9304         * font.C:
9305         * text.C:
9306         * text2.C: move font metrics to frontends/
9307
9308 2002-05-24  Juergen Vigna  <jug@sad.it>
9309
9310         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9311         setting the undo_cursor.
9312
9313         * ParagraphParameters.h: include local includes first.
9314
9315 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * BufferView_pimpl.C:
9318         * BufferView_pimpl.h:
9319         * Makefile.am:
9320         * WorkArea.h:
9321         * WorkArea.C:
9322         * screen.C: move WorkArea into frontends/
9323
9324         * lyxscreen.h:
9325         * screen.C:
9326         * text.C:
9327         * BufferView.C:
9328         * BufferView2.C: move LyXScreen into frontends/
9329
9330         * lyxlookup.h:
9331         * lyxlookup.C:
9332         * lyx_gui.C: move lyxlookup into frontends/xforms/
9333
9334 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9335
9336         * BufferView2.C:
9337         * BufferView_pimpl.C:
9338         * FontLoader.C:
9339         * LyXView.h:
9340         * LyXView.C:
9341         * Makefile.am:
9342         * WorkArea.C:
9343         * XFormsView.h:
9344         * XFormsView.C:
9345         * buffer.C:
9346         * bufferlist.C:
9347         * bufferview_funcs.C:
9348         * converter.C:
9349         * importer.C:
9350         * lyx_cb.C:
9351         * lyx_gui.C:
9352         * lyx_main.C:
9353         * lyx_find.C:
9354         * lyxfunc.C:
9355         * lyxvc.C:
9356         * minibuffer.C:
9357         * text.C:
9358         * text2.C:
9359         * trans.C:
9360         * vc-backend.C: move LyX/XFormsView into frontends/
9361
9362 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * Makefile.am:
9365         * PainterBase.C:
9366         * PainterBase.h:
9367         * Painter.C:
9368         * Painter.h:
9369         * WorkArea.C:
9370         * WorkArea.h:
9371         * screen.C:
9372         * tabular.C:
9373         * text.C:
9374         * text2.C: move Painter to frontends/
9375
9376 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9377
9378         * buffer.C: comment out some some code that depend upon lyx_format
9379         < 220
9380
9381         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9382         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9383
9384         * buffer.h (NO_COMPABILITY): turn off compability
9385
9386         * ColorHandler.C: include scoped_array.hpp
9387
9388         * font.C: Use more specific smart_ptr header.
9389         * Painter.C: ditto
9390         * gettext.C: ditto
9391         * ShareContainer.h: ditto
9392         * lyx_main.h: ditto
9393         * kbmap.h: ditto
9394         * FontInfo.h: ditto
9395         * BufferView_pimpl.h: ditto
9396         * ColorHandler.h: ditto
9397
9398         * kbmap.C (defkey): change call to shared_ptr::reset
9399
9400 2002-05-21  Juergen Vigna  <jug@sad.it>
9401
9402         * buffer.C (insertErtContents): fix to insert ert asis if it is
9403         non empty. Skip it completely if it contains only whitespaces.
9404
9405 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * BufferView_pimpl.C:
9408         * BufferView2.C: clear selection on paste (bug 393)
9409
9410 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9411
9412         * DepTable.C: include ctime
9413
9414 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9415
9416         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9417
9418 2002-05-14  Juergen Vigna  <jug@sad.it>
9419
9420         * text.C (breakParagraph): fixed function to honor the keepempty
9421         layout in the right maner and also to permit the right breaking
9422         algorithm on empty or non empyt keepempty paragraphs.
9423
9424         * paragraph.C (breakParagraph): we have to check also if the par
9425         is really empty (!size()) for isempty otherwise we do the wrong
9426         paragraph break.
9427
9428 2002-05-10  Juergen Vigna  <jug@sad.it>
9429
9430         * buffer.[Ch] : The following are only changes to the ert
9431         compatibility read reading old LaTeX layout and font stuff and
9432         convert it to ERTInsets.
9433
9434         * buffer.h: added isErtInset().
9435
9436         * buffer.C (struct ErtComp): add a fromlayout bool to check
9437         if we're inside a LaTeX layout.
9438         (isErtInset): new helper function.
9439         (insertErtContents): look for other ert insets before this one
9440         and insert the contents there, so that we don't have subsequent
9441         ERT insets with nothing between them. This way we create only one
9442         inset with multiple paragraphs. Also check if we don't insert only
9443         spaces ' ' as they are ignored anyway afterwards in the .tex file
9444         so if we have only spaces we will ignore this latex part in the
9445         new file.
9446         (parseSingleLyXformat2Token \\layout): better compatibility when
9447         reading layout-latex stuff.
9448         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9449         language tag.
9450         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9451         stuff after reading the inset only get the information back from
9452         the stack.
9453
9454 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9455
9456         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9457
9458         * LaTeXFeatures.C (getBabelOptions): New method.
9459
9460 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9461
9462         * BufferView_pimpl.C (Dispatch): work around missing argument for
9463         'layout'
9464
9465 2002-05-08  Juergen Vigna  <jug@sad.it>
9466
9467         * text.C (leftMargin): handle paragraph leftindent.
9468
9469         * paragraph.C (writeFile): write the new \\leftindent tag.
9470         (validate): handle leftindent code.
9471         (TeXEnvironment): handle paragraphleftindent code again.
9472
9473         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9474
9475         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9476         for paragrap_extra indent code and new token \\leftindent.
9477         (latexParagraphs): handle the leftindent as environment.
9478
9479         * ParameterStruct.h: added leftindent support.
9480
9481         * ParagraphParameters.C (leftIndent): added support functions for
9482         the paragraph left indent.
9483
9484         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9485         more appropriate.
9486
9487 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9490         inside insetERT.
9491
9492         * text.C (computeBidiTables): No bidi in insetERT.
9493
9494         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9495         in RTL documents.
9496
9497 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9498
9499         * version.C.in: pre 5
9500
9501 2002-05-02  José Matos  <jamatos@fep.up.pt>
9502         * buffer.C (makeDocBookFile): white space changes, add newline to
9503         command styles.
9504         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9505
9506         * tabular.C (docBook): fix typo.
9507
9508 2002-05-03  Juergen Vigna  <jug@sad.it>
9509
9510         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9511         change in LyXText as we can not be sure it was not freed.
9512         (drawOneRow): remove unused code.
9513
9514         * text.C (drawInset): redo the calculation of the need_break_row as
9515         it could have a row which was already freed.
9516         (draw): look at the return value of drawInset and return false if
9517         it also returned false.
9518         (paintRowText): look at the return value of draw and return false if
9519         it also returned false.
9520
9521         * lyxtext.h: added bool return type to drawInset() and draw() so that
9522         if we have a change in the row so that the rowbreak has to be redone
9523         we abort drawing as it will be called again.
9524
9525 2002-05-02  Juergen Vigna  <jug@sad.it>
9526
9527         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9528         a change in the maintext also if we're inside an inset.
9529         (Dispatch): set the cursor again after a break line and after the
9530         screen has been updated as it could be we're in a different row.
9531
9532         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9533         to set the cursor behind the pargraph with > size().
9534         (setCursor): check also for the same paragraph when checking where
9535         to put the cursor if we have a NFR inset.
9536
9537         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9538         parts of layout read further up as it still was in the wrong
9539         position.
9540
9541 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9542
9543         * screen.C (drawFromTo): change sine fullRebreak always return
9544         true.
9545
9546         * buffer.C (parseSingleLyXformat2Token): reindent some
9547
9548         * BufferView_pimpl.C (update): change since fullRebreak always
9549         return true.
9550         (Dispatch): git rid of the last hardcoded "Standard"s.
9551
9552 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9553
9554         * text2.[Ch] (fullRebreak): make it return void now that we always
9555         returned true.
9556
9557 2002-04-30  Juergen Vigna  <jug@sad.it>
9558
9559         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9560         ert compatibility check for "latex" layout.
9561
9562 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9563
9564         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9565         minipages: use col% instead of p%, and also use the current font.
9566         (makeLaTeXFile): Fix use babel condition.
9567         (parseSingleLyXformat2Token): Correct font when reading old floats.
9568
9569 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9572         inserting list of floats.
9573
9574 2002-04-25  Herbert Voss  <voss@lyx.org>
9575
9576         * MenuBackend.C (expand): don't add the graphics extensions to the
9577         export menu
9578
9579 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9582         non-existing layout, do not complain if it was the default layout
9583         of the original class (bug #342)
9584
9585 2002-04-24  Juergen Vigna  <jug@sad.it>
9586
9587         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9588         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9589
9590 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9591
9592         * buffer.C (getBibkeyList): If using \bibliography, return the
9593         option field with the reference itself. Enables us to provide natbib
9594         support when using \bibliography.
9595
9596 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9597
9598         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9599
9600         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9601         natbib is provided by the LaTeX class.
9602
9603 2002-04-23  Juergen Vigna  <jug@sad.it>
9604
9605         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9606         Wakeup functions.
9607
9608         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9609
9610 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9611
9612         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9613
9614         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9615         ensuremath around textordmasculine, textordfeminine and
9616         textdegree.
9617
9618 2002-04-19  Juergen Vigna  <jug@sad.it>
9619
9620         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9621         reinitializing the buffer otherwise row-dimensions may be wrong.
9622         (update): reset also the selection cursors if they do exits otherwise
9623         their x/y positions may be wrong.
9624
9625         * text2.C (cursorDown): don't enter the inset if we came from a row
9626         above and are one row over the inset.
9627
9628         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9629         really leaving an inset.
9630
9631 2002-04-18  Juergen Vigna  <jug@sad.it>
9632
9633         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9634         of the selected paragraph does not have the selected layout also if
9635         the last one had!
9636
9637         * text2.C (setLayout): fixed bug which did not change last selected
9638         paragraph.
9639
9640         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9641         changed the read and substituted \\end_float with \\end_inset!
9642
9643         * BufferView_pimpl.C (cursorPrevious):
9644         (cursorNext): fixed to make it work with rows heigher than the work
9645         area without moving the cursor only the draw of the row.
9646         (workAreaMotionNotify): fix jumping over high rows.
9647
9648 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9651         Ressler.
9652
9653 2002-04-16  Juergen Vigna  <jug@sad.it>
9654
9655         * text2.C (setCursor): set also the irow().
9656         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9657         (cursorUp):
9658         (cursorDown): support for locking an inset if the x_fix value goes
9659         inside it. That way I can transverse insets too with cursor up/down.
9660
9661         * lyxrow.h: added irow helper function same as other (i) functions.
9662
9663         * BufferView_pimpl.C (cursorPrevious):
9664         (cursorNext): fixed for insets!
9665
9666 2002-04-15  Juergen Vigna  <jug@sad.it>
9667
9668         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9669         position otherwise it is wrong in some cases.
9670
9671         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9672         inside the inset before the call.
9673
9674 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9675
9676         * buffer.[Ch] (getBibkeyList): make it const.
9677
9678 2002-04-12  Juergen Vigna  <jug@sad.it>
9679
9680         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9681
9682         * text2.C (getCursorX): new helper function
9683         (setCursor): compute also ix_
9684         (setCursorFromCoordinates): set also ix.
9685
9686         * lyxcursor.h: added ix_ and helper functions.
9687
9688         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9689
9690         * buffer.C (insertStringAsLines): dont break paragraph if the this
9691         paragraph is inside an inset which does not permit it!
9692
9693         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9694         also with no chars on this paragraph.
9695         (paintRowText): only paint stuff if it's inside the workarea!
9696
9697         * paragraph.C (breakParagraph): honor keepempty flag and break the
9698         paragraph always below not above.
9699
9700         * BufferView2.C (unlockInset): update the paragraph layout on inset
9701         unlock as we changed paragraph in such a case.
9702
9703         * lyxfind.C (LyXFind): clear the former selection if not found!
9704
9705         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9706         again called in insertChar().
9707
9708         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9709         an inset which uses the whole row!
9710         (rightMargin): ditto.
9711         (insertChar): force a rebreak if we inserted an inset!
9712
9713 2002-03-28  Herbert Voss  <voss@lyx.org>
9714
9715         * lyxlength.[Ch]: add inBP() to get the right PS-point
9716         units (BigPoint). With inPixels we have rounding errors
9717
9718 2002-04-11  Juergen Vigna  <jug@sad.it>
9719
9720         * text2.C (setCursorFromCoordinates): set iy to the right value.
9721         (setCursor): add check if row->previous exists!
9722
9723         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9724         an old float_type as this was the case in the old code!
9725
9726         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9727
9728         * BufferView2.C (showLockedInsetCursor): use iy
9729         (fitLockedInsetCursor): ditto
9730
9731         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9732         locked insets as there we have the right value now.
9733
9734         * lyxcursor.C: added iy_ variable and iy functions to set to the
9735         baseline of cursor-y of the locked inset.
9736
9737         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9738         (setCursor): fixed for insets which need a full row.
9739
9740         * text.C (rowLastPrintable): don't ignore the last space when before
9741         an inset which needs a full row.
9742         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9743         as last character of a row when before a inset which needs a full row.
9744
9745 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9746
9747         * version.C.in: update date
9748
9749         * text2.C (fullRebreak): try to always return true and see what
9750         happens...
9751
9752 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * MenuBackend.C (expand): use Floating::listName
9755
9756         * FloatList.C (FloatList): add listName argument to the built-in
9757         floats
9758
9759         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9760         text associated with the float.
9761
9762 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9765
9766 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * ShareContainer.h: add a couple of missing typenames.
9769
9770 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9771
9772         * lyxrc.C (getDescription): use _() correctly rather than N_().
9773
9774 2002-03-28  Herbert Voss  <voss@lyx.org>
9775
9776         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9777         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9778
9779 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9780
9781         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9782         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9783
9784 2002-03-29  Juergen Vigna  <jug@sad.it>
9785
9786         * lyxfunc.C (dispatch): add a missing fitCursor call.
9787
9788         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9789         it was scrolled by a cursor move, so return the bool status.
9790
9791         * BufferView.C (fitCursor): return the bool flag also to the outside
9792         world as this is needed.
9793
9794         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9795
9796         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9797         call the edit() as it is not needed (and wrong) IMO.
9798         (workAreaButtonPress): set the screen_first variable before evt.
9799         unlock the inset as this may change screen_first and then we have
9800         a wrong y position for the click!
9801
9802 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * MenuBackend.C (expand): another translation that I missed
9805
9806 2002-03-28  Juergen Vigna  <jug@sad.it>
9807
9808         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9809
9810         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9811
9812 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9815
9816         * MenuBackend.C (expand): fix export/view/update when there is no
9817         document open.
9818
9819 2002-03-27  Herbert Voss  <voss@lyx.org>
9820
9821         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9822         and text%
9823
9824 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * bufferview_funcs.C (currentState): only show paragraph number
9827         for is DEVEL_VERSION is set.
9828
9829         * lyxfunc.C (dispatch): put warning in INFO channel
9830
9831         * MenuBackend.C (expand): translate the name of floats
9832
9833         * FloatList.C (FloatList): mark the float names for translation
9834
9835         * converter.C (convert): use LibScriptSearch
9836
9837 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * MenuBackend.C (defaults): fix default menu (we might as well get
9840         rid of it...)
9841
9842 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9845         directory.
9846
9847 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9848
9849         * lyxvc.C: reorder includes.
9850
9851 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9854           properly
9855
9856 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * CutAndPaste.C: change layouts earlier on paste
9859           to avoid crashing when calling getFont()
9860
9861 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9862
9863         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9864         irritating #error.
9865
9866 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9867
9868         * WorkArea.C: remove 'Pending' debug message.
9869
9870         * most files: ws cleanup
9871
9872         * buffer.[Ch]: ws changes
9873
9874         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9875
9876 2002-03-21  Juergen Vigna  <jug@sad.it>
9877
9878         * tabular.C (SetMultiColumn): collapse also the contents of the
9879         cells and set the last border right. Added a Buffer const * param.
9880
9881 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9884         linking or not.
9885
9886 2002-03-19  Juergen Vigna  <jug@sad.it>
9887
9888         * text2.C (clearSelection): reset also xsel_cache.
9889
9890         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9891         where it needs to be called (John tells us to do so too :)
9892         (selectionLost): reset sel_cache.
9893
9894         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9895
9896 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * text2.C (setCursorIntern): put debuging code in INSETS channel
9899
9900 2002-03-19  André Pönitz <poenitz@gmx.net>
9901
9902         * lyxfunc.C: tiny whitespace change
9903
9904 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * ToolbarDefaults.C (init):
9907         * LyXAction.C (init):
9908         * commandtags.h:
9909         * BufferView_pimpl.C (Dispatch):
9910         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9911
9912 2002-03-19  Allan Rae  <rae@lyx.org>
9913
9914         * exporter.C (Export): removeAutoInsets before doing anything else.
9915         While I've just introduced a dependency on BufferView this really is
9916         the best place to clean the buffer otherwise you need to cleanup in
9917         a dozen places before calling export or cleanup in a dozen functions
9918         that export calls.
9919
9920         * converter.C (runLaTeX):
9921         (scanLog): Better handling of removeAutoInsets and screen updates.
9922
9923         * lyxfunc.C (dispatch): small whitespace changes
9924
9925 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9926
9927         * WorkArea.C (C_WorkAreaEvent): return a value.
9928         (event_cb): return 1 if we handled the event, 0 otherwise.
9929
9930         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9931
9932 2002-03-18  Juergen Vigna  <jug@sad.it>
9933
9934         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9935         (GetAdditionalWidth): ditto.
9936         (RightLine): ditto.
9937         (LeftLine): ditto.
9938
9939         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9940         inset if we're there actually (probably not used right now but this
9941         is the direction to go for unifying code).
9942         (paste): disable code to clear the selection.
9943
9944         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9945         inside an InsetText and move the check further up as it is in the
9946         wrong place.
9947
9948         * text2.C (pasteSelection): set a selection over the pasted text.
9949
9950 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9951
9952         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9953         and libgraphics to build on Cygwin.
9954
9955 2002-03-15  Juergen Vigna  <jug@sad.it>
9956
9957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9958         inserting an Inset into the paragraph. I know this is not the best
9959         fix but we already use current_view in CutAndPaste so we will remove
9960         all of it's using at the same time.
9961
9962         * buffer.C (sgmlError): deactivated function till it is rewritten in
9963         the right mode, now it can create problems.
9964
9965         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9966         before accessing it.
9967
9968 2002-03-14  Juergen Vigna  <jug@sad.it>
9969
9970         * undo_funcs.C (textHandleUndo): do the right thing when updating
9971         the inset after the undo/redo.
9972
9973         * text2.C (setCursor): just some testcode for #44 not ready yet.
9974
9975         * undo_funcs.C (textHandleUndo): set the next() and previous()
9976         pointers of the paragraph to 0 before deleting otherwise we have
9977         problems with the Paragraph::[destructor].
9978
9979         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9980         on a paragraph insertion.
9981
9982 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * buffer.C (asciiParagraph): use += operator for char append to
9985         string.
9986
9987         * paragraph.C (getFontSettings): compare >= not just >
9988         (highestFontInRange): ditto
9989         (setFont): ditto
9990
9991 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9992
9993         * paragraph.C: change several algorithm to be more appripriate for
9994         the problem domain. This is lookip in FontList and in the InsetList.
9995
9996 2002-03-13  André Pönitz <poenitz@gmx.net>
9997
9998         * commandtags.h:
9999         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10000
10001 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10002
10003         * commandtags.h:
10004         * LyXAction.C:
10005         * lyxfunc.C:
10006         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10007
10008 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * Painter.C (display): anon helper function, adjust code for this
10011         change.
10012         (pixmap): remove function.
10013
10014         * Painter.h: remove private display variable.
10015
10016         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10017
10018 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10019
10020         * WorkArea.[Ch]: remove figinset_canvas cruft.
10021
10022 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10023
10024         * lyxtextclass.C (operator): add one item cache optimization.
10025
10026         * bufferlist.h: doxy changes
10027
10028         * bufferlist.C: ws changes
10029
10030         * DepTable.[Ch] (ext_exist): place const in the right spot.
10031
10032         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10033         call resizeInsets.
10034         (workAreaExpose): call resizeInsets when the with BufferView changes.
10035         (Dispatch): adjust for protectedBlank removal
10036         (specialChar): call updateInset if the insert went ok.
10037
10038         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10039         specialChar instead.
10040
10041         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10042
10043         * BufferView.h: doxy change
10044
10045         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10046
10047         * lyxtextclass.C (operator[]): remove non-const version
10048         (defaultLayout): remove non-const version
10049
10050 2002-03-12  Juergen Vigna  <jug@sad.it>
10051
10052         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10053         did resize the LyXText too.
10054
10055         * buffer.C (readLyXformat2): set layout information on newly allocated
10056         paragraphs.
10057
10058         * tabular.C (OldFormatRead): set layout information on the paragraph.
10059
10060 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10061
10062         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10063
10064 2002-03-11  Juergen Vigna  <jug@sad.it>
10065
10066         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10067         plainly wrong.
10068         (resizeCurrentBuffer): force also the insets to resize themselfes.
10069         (moveCursorUpdate): fixed up for InsetText.
10070
10071 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10072
10073         * commandtags.h:
10074         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10075         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10076         value of Dialogs::tooltipsEnabled().
10077         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10078
10079 2002-03-08  Juergen Vigna  <jug@sad.it>
10080
10081         * BufferView_pimpl.C (updateInset): update inset inside inset also
10082         if it isn't inside theLockingInset().
10083
10084 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * buffer.C (asciiParagraph): redo some of the word and line length
10087         handling.
10088         (getLists): look for Caption instead of caption.
10089
10090 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10091
10092         * buffer.C (Buffer): initialize niceFile to true
10093         (makeLaTeXFile):
10094         (makeLinuxDocFile):
10095         (makeDocBookFile): make sure niceFile is true on exit
10096
10097 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10100
10101 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10102
10103         * LyXSendto.C: remove.
10104         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10105         * lyx_gui.C: remove now-redundant comment.
10106         * ColorHandler.h: remove forward declaration of class WorkArea.
10107         * lyxfunc.C: remove #include "WorkArea.h".
10108
10109 2002-03-07  Juergen Vigna  <jug@sad.it>
10110
10111         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10112         got moved away with the DEPM and also set the inset_owner always
10113         right which before could have been omitted.
10114
10115 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10118         wanted layout is not found.
10119
10120 2002-03-07  Juergen Vigna  <jug@sad.it>
10121
10122         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10123
10124 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10125
10126         * paragraph.C (breakParagraph): use default layout not layout of
10127         prev paragraph.
10128         (Paragraph): clear ParagraphParameters.
10129
10130 2002-03-06  Juergen Vigna  <jug@sad.it>
10131
10132         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10133         otherwise it would not be a valid lenght. Fixed a special case in
10134         the minipage compatibility read where we end the document with a
10135         minipage.
10136
10137         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10138         was set as it could be 0 for InsetTexts first entry.
10139
10140 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10141
10142         * paragraph.C (writeFile): if layout is empty write out
10143         defaultLayoutName().
10144
10145         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10146         file without named layout we set layout to defaultLayoutName().
10147
10148 2002-03-06  Juergen Vigna  <jug@sad.it>
10149
10150         * CutAndPaste.C (copySelection): set layout for new paragraph.
10151
10152         * text.C (prepareToPrint): leave ERT inset left aligned
10153         (leftMargin): don't indent paragraphs inside ERT insets
10154
10155 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * paragraph.C (breakParagraph): dont call clear do the work manually
10158
10159         * paragraph.[Ch] (clear): remove function
10160
10161 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * paragraph.C (Paragraph): dont call clear, the work has already
10164         been done.
10165
10166         * lyxtextclass.C (operator): assert if n is empty
10167
10168         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10169         work manually instead.
10170
10171 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * BufferView_pimpl.C: protect selectionLost against text == 0
10174
10175 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10176
10177         * text.C (breakParagraph): fix a setting layout to '0' problem.
10178
10179 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10180
10181         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10182         final location of file, for the included files, and graphics.
10183
10184 2002-03-05  Juergen Vigna  <jug@sad.it>
10185
10186         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10187
10188 2002-03-04  Juergen Vigna  <jug@sad.it>
10189
10190         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10191
10192         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10193         last column of multicolumn cells.
10194         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10195
10196 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10197
10198         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10199         file if it doesn't go to a temporary file.
10200
10201         * buffer.C (sgmlOpenTag):
10202         (sgmlCloseTag):  remove extra newline insertion.
10203
10204 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * text.C (getRowNearY): comment out debug msg
10207
10208 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * text2.C: first -> first_y
10211
10212         * text.C (getRowNearY): add some attemts at a possible
10213         optimization, not working.
10214
10215         * tabular.[Ch]: add BufferParams to several function so that newly
10216         created paragraph can be initialized to he default layotu for the
10217         buffers textclass.
10218
10219         * tabular-old.C (ReadOld): add buf->params to call of Init
10220
10221         * screen.C: rename text->first to text->first_y
10222
10223         * paragraph.C (breakParagraph): always set layout in the broken
10224         paragraph
10225
10226         * lyxtextclass.C (Read): remove lowercase
10227         (hasLayout): ditto
10228         (operator): ditto
10229         (delete_layout): ditto
10230
10231         * lyxtext.h: rename first -> first_y
10232
10233         * lyxlayout.C (Read): remove lowercase
10234         (name): ditto
10235         (setName): ditto
10236         (obsoleted_by): ditto
10237
10238         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10239
10240         * buffer.C (insertErtContents): add params are to InsetERT
10241         (parseSingleLyXformat2Token): add code to check if a paragraphs
10242         layout really exist.
10243         (parseSingleLyXformat2Token): add params to several inset
10244         constructors
10245         (asciiParagraph): remove lowercase, do the layout comparisons with
10246         no_case
10247
10248         * BufferView_pimpl.C (cursorNext): first -> first_y
10249         (resizeCurrentBuffer): first -> first_y
10250         (updateScrollbar): first -> first_y
10251         (scrollCB): first -> first_y
10252         (workAreaMotionNotify): first -> first_y
10253         (workAreaButtonPress): first -> first_y
10254         (checkInsetHit): first -> first_y
10255         (cursorPrevious): first -> first_y
10256         (cursorNext): first -> first_y
10257         (Dispatch): add buffer_->params to severl inset contructors
10258
10259 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10260
10261         * lyxlayout.C (Read): remove some debug info that I forgot.
10262
10263         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10264         clean up the code slightly.
10265         (makeLinuxDocFile): ditto
10266         (makeDocBookFile): ditto
10267
10268         * text2.C: layout as string
10269
10270         * text.C: layout as string
10271
10272         * paragraph_pimpl.C: layout as string
10273
10274         * paragraph.[Ch]: layout as string
10275
10276         * lyxtextclasslist.[Ch]: layout as string
10277
10278         * lyxtextclass.[Ch]: layout as string
10279
10280         * lyxtext.h: layout as string
10281
10282         * lyxlayout.[Ch]: layout as string
10283
10284         * lyx_cb.C: layout as string
10285
10286         * bufferview_funcs.C: layout as string
10287
10288         * bufferparams.C: layout as string
10289
10290         * buffer.C: layout as string
10291
10292         * LyXView.[Ch]: layout as string
10293
10294         * LaTeXFeatures.[Ch]: layout as string
10295
10296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10297
10298         * BufferView_pimpl.C: change current_layout to string, remove
10299         lyx::layout_type.
10300         (Dispatch):
10301         (smartQuote):
10302         (insertInset):
10303         (workAreaButtonRelease): layout as string
10304
10305         * BufferView2.C (unlockInset): adjust
10306
10307         * vspace.C (asLatexCommand): use an explict temp variable.
10308
10309 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * Makefile.am: use FRONTEND_*
10312
10313 2002-03-01  Juergen Vigna  <jug@sad.it>
10314
10315         * tabular.C (SetWidthOfMulticolCell): changed to something better
10316         I hope but still work in progress.
10317         (recalculateMulticolumnsOfColumn): renamed function from
10318         recalculateMulticolCells as it is more appropriate now.
10319         (SetWidthOfCell): calculate multicols better.
10320
10321 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10324
10325         * lyxfunc.C (processKeySym): print sequence also if it is
10326         `deleted' (complete)
10327
10328         * kbsequence.C (print): print sequence even if it is deleted
10329         (complete would be a better word, actually).
10330
10331         * lyxfunc.C (dispatch): print complete options after a prefix key
10332
10333         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10334
10335 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10336
10337         * text2.C (setCharFont): eliminate setCharFont code duplication.
10338
10339 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10342         LFUN_TABULAR_FEATURE (bug #177)
10343
10344 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10345
10346         * Makefile.am: remove figure.h
10347
10348 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10349
10350         * Bufferview_pimpl.C:
10351         * CutAndPasteC:
10352         * LaTeX.C:
10353         * LyXSendto.C:
10354         * buffer.C:
10355         * bufferlist.C:
10356         * converter.C:
10357         * language.C:
10358         * lyxfunc.C:
10359         * lyxvc.C:
10360         * paragraph.C:
10361         * text.C:
10362         * text2.C: remove #include "lyx_gui_misc.h".
10363
10364         * LaTeX.C: added #include <cstdio>
10365
10366 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10367
10368         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10369         that the paragraph following this one can have.
10370
10371         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10372
10373         * vspace.C (asLatexCommand): fix bogus gcc warning
10374
10375         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10376
10377 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10378
10379         * text2.C (setLayout): get rid of redundant code
10380
10381 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10382
10383         * text2.C (incDepth): make sure depth cannot be increased beyond
10384         reasonable values.
10385
10386 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10387
10388         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10389         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10390
10391         * PainterBase.h (image):
10392         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10393         a LyXImage const *.
10394
10395 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView.C:
10398         * BufferView.h:
10399         * BufferView_pimpl.C:
10400         * BufferView_pimpl.h:
10401         * LaTeXFeatures.C:
10402         * LyXAction.C:
10403         * LyXView.C:
10404         * Makefile.am:
10405         * UpdateList.h:
10406         * UpdateList.C:
10407         * buffer.C:
10408         * figure.h:
10409         * figureForm.C:
10410         * figureForm.h:
10411         * figure_form.C:
10412         * figure_form.h:
10413         * lyx_cb.C:
10414         * lyx_gui.C:
10415         * lyx_gui_misc.C:
10416         * lyxfunc.C:
10417         * sp_base.h:
10418         * sp_ispell.h:
10419         * sp_pspell.h:
10420         * sp_spell.C: remove fig inset, and the crap house of
10421           cards that follows it
10422
10423 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * Makefile.am:
10426         * lyxserver.C:
10427         * os2_defines.h:
10428         * os2_errortable.h:
10429         * nt_defines.h: move .h into support/
10430
10431         * vms_defines.h: remove
10432
10433         * WorkArea.C: add space in debug output
10434
10435         * text2.C:
10436         * paragraph.C:
10437         * buffer.C: add WITH_WARNINGS
10438
10439         * vc-backend.h:
10440         * vc-backend.C:
10441         * bufferlist.C: s/retrive/retrieve/, add docs
10442
10443         * vspace.h:
10444         * vspace.C:
10445         * kbmap.h:
10446         * lyxlength.h:
10447         * lyxgluelength.h:
10448         * length_common.h:
10449         * chset.h:
10450         * chset.C: add docs
10451
10452         * lyxgui.C: add ID to X error handler
10453
10454         * lyxtestclass.c: fix typo
10455
10456 2002-02-26  Juergen Vigna  <jug@sad.it>
10457
10458         * tabular_funcs.C (write_attribute): changed so that some default
10459         attributes are not written at all.
10460         (getTokenValue): set default values before trying to read the
10461         value so we have the return value always set as default if we don't
10462         find the token we search for.
10463
10464         * tabular.C (Write): write bools as bools not as strings!
10465
10466 2002-02-22  Juergen Vigna  <jug@sad.it>
10467
10468         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10469         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10470
10471         * text.C (leftMargin): don't add an indent for paragraphs inside
10472         tabular cells (fix #208).
10473
10474 2002-02-21  José Matos  <jamatos@fep.up.pt>
10475
10476         * tabular.C (docBook): fixed support for long tables.
10477
10478 2002-02-20  Juergen Vigna  <jug@sad.it>
10479
10480         * text2.C (getFont): get the drawing font of the Inset if this
10481         paragraph is inside an inset (only important for InsetERT for now).
10482
10483         * buffer.C (insertErtContents): use new lanugage params in ERT
10484         constructor.
10485
10486         * CutAndPaste.C: commenting out seemingly uneeded code.
10487
10488 2002-02-19  Allan Rae  <rae@lyx.org>
10489
10490         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10491         Iterators might be simple to use but they also get invalidated.
10492         (removeAutoInsets): renamed saved cursor tracking variables and added
10493         some comments to clarify what everything does.
10494
10495 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10496
10497         * Chktex.C:
10498         * LaTeX.C:
10499         * LyXSendto.C:
10500         * converter.C:
10501         * lyx_cb.C:
10502         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10503         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10504
10505         * lyxfunc.C:
10506         * vc-backend.h: remove #include "support/syscall.h"
10507
10508         * LaTeX.C:
10509         * LyXSendto.C:
10510         * converter.C: rearrange #includes in Lars' approved fashion.
10511
10512         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10513         forward declare class Timeout in the header file.
10514
10515         * XFormsView.C: changes due to the above.
10516
10517         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10518         similar to LyXView.
10519
10520         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10521         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10522
10523 2002-02-18  José Matos  <jamatos@fep.up.pt>
10524
10525         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10526         insets contents.
10527
10528 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10529
10530         * a lot of small ws changes
10531         * add a lot of using std::XXX
10532         * use std construcs some places where approp.
10533         * use some exisint stuff from lyxfunctional where approp.
10534         * Make file changes to use partial linking (lets test this now...)
10535
10536 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10537
10538         * Chktex.C:
10539         * buffer.C:
10540         remove #include "support/syscontr.h" as it's redundant. Always has been.
10541
10542         * Chktex.C:
10543         * LaTeX.C:
10544         * LyXSendto.C:
10545         * converter.C:
10546         * lyx_cb.C:
10547         * vc-backend.C:
10548         change Systemcalls::System to Systemcalls::Wait and
10549         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10550         No change of functionality, just reflects the stripped down Systemcalls
10551         class.
10552
10553 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10554
10555         * debug.[Ch]: add a GRAPHICS type to the enum.
10556
10557 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10560
10561         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10562         there is an inset.
10563
10564 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10567         match the changes below.
10568
10569         * text2.C (toggleInset): if there is not editable inset at cursor
10570         position, try to see if cursor is _inside_ a collapsable inset
10571         and close it.
10572
10573 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10576         document menu has a nice checkbox
10577
10578 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * lyxlength.C (asLatexString): change PW to output as percent of
10581         \textwidth.
10582
10583         * lengthcommon.C: change '%' to 't%'
10584
10585         * lyxfunc.C (dispatch): a few comments from Martin
10586
10587 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * WorkArea.h:
10590         * WorkArea.C:
10591         * BufferView_pimpl.h:
10592         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10593           the X selection.
10594
10595 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * vspace.C (inPixels): fix compiler warning
10598
10599 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * lyxfunc.C (getStatus): fix status message for disabled commands.
10602
10603 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * BufferView_pimpl.C: fix crash on close buffer
10606         during selection (#227)
10607
10608 2002-01-27  Herbert Voss  <voss@lyx.org>
10609
10610         * buffer.C: link old Figure to new graphic inset
10611
10612 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * FontLoader.C (getFontinfo): Change the latex font names in order
10615         to match the names of type1inst.
10616
10617 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10618
10619         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10620
10621         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10622         (extchanged): ditto
10623         (ext_exist): ditto
10624         (remove_files_with_extension): ditto
10625         (remove_file): ditto
10626         (write): ditto
10627
10628         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10629         document is smaller than the work area height. Do not initialize
10630         static variables to 0.
10631
10632 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10635
10636         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10637         LFUN_LAYOUT_PARAGRAPHS.
10638
10639         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10640         tabular. It is possible to provide a possible cell, which will
10641         typically be the actcell from the corresponding insettabular
10642
10643         * lyxfunc.C (getStatus): small cleanup; disable
10644         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10645         true
10646
10647 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10650
10651         * paragraph.C (startTeXParParams):
10652         (endTeXParParams): new methods. The LaTeX code to
10653         start/end paragraph formatting
10654         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10655         empty (fixes bug #200)
10656
10657         * vspace.C (inPixels): adapt to the change below
10658         (inPixels): [later] more cleanups (remove unused variables)
10659
10660         * lyxlength.C (inPixels): change to use a width and a height as
10661         parameter.
10662
10663 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10666         Replaced with \paperwidth
10667
10668         * DepTable.C (insert): add std:: qualifier
10669
10670 2002-01-18  Allan Rae  <rae@lyx.org>
10671
10672         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10673         updated also?
10674
10675         * text.C (drawInset): Turned out I didn't know enough about how
10676         rebreaking worked.  This fixes most of the redraw problems.  I see
10677         an occasional cursor trail when a line is broken now and the cursor
10678         placement can seem out by a few pixels also after a rebreak.
10679
10680 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * buffer.C (parseSingleLyXformat2Token): update because minipage
10683         width is now a LyXLength
10684
10685         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10686
10687         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10688         math insets
10689
10690 2002-01-17  Juergen Vigna  <jug@sad.it>
10691
10692         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10693
10694         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10695         is set correctly and the inset is updated correctly.
10696
10697 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10700         the beginning of the loop.
10701
10702 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * lyxrc.C: improve help for use_scalable_fonts
10705
10706 2002-01-17  Allan Rae  <rae@lyx.org>
10707
10708         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10709
10710 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10713         make sure to set their inset_owner to the right value (bug #171)
10714
10715 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10716
10717         * DepTable.h
10718         * DepTable.C: Implement mtime checking to reduce time spent doing
10719         CRCs.
10720
10721 2002-01-16  Juergen Vigna  <jug@sad.it>
10722
10723         * tabular.C (GetAdditionalHeight): one of error fixed.
10724
10725         * lyxrc.C (output): small fix in writing use_pspell.
10726
10727 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10728
10729         * sp_base.h: #include LString.h
10730
10731 2002-01-16  Allan Rae  <rae@lyx.org>
10732
10733         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10734         Can someone check this please?
10735
10736         * text.C (drawInset): It was possible that p.row would be removed by
10737         breakAgainOneRow upsetting a few other settings.  There may be another
10738         small tweak possible by setting need_break_row = 0 when p.row has been
10739         removed but I don't know enough about the logic here.
10740
10741 2002-01-15  Allan Rae  <rae@lyx.org>
10742
10743         * text.C (insertChar): removed conditional truism.
10744
10745         * BufferView2.C (removeAutoInsets): More tweaks.
10746         cur_par_prev could be a stray pointer.  Check for trailing empty line
10747         in case last line was cur_par and only had an error inset on it.
10748
10749 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10750
10751         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10752         absolute
10753
10754         * vc-backend.C (most methods):
10755         * exporter.C (Export):
10756         * converter.C (convert):
10757         (runLaTeX):
10758         * LyXSendto.C (SendtoApplyCB):
10759         * lyxfunc.C (dispatch):
10760         (menuNew):
10761         (open):
10762         (doImport):
10763         * lyx_cb.C (AutoSave):
10764         (InsertAsciiFile):
10765         * BufferView_pimpl.C (MenuInsertLyXFile):
10766         * buffer.C (runChktex): use Buffer::filePath().
10767
10768         * buffer.h: rename filename to filename_; rename filepath to
10769         filepath_ and make it private
10770         (filePath): new method
10771
10772         * buffer.C (writeFile): use fileName()
10773         (getLatexName):
10774
10775         * lyx_main.C (init): fix starting  of LyX when the binary is a
10776         link from so,ewhere else.
10777
10778         * minibuffer.C: include <cctype> for isprint
10779
10780 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10781
10782         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10783         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10784         name clash with InsetCollapsable's width function.
10785
10786 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10787
10788         * lastfiles.C: include <iterator>
10789
10790 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10791
10792         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10793         std::count.
10794
10795         * buffer.C (makeLaTeXFile): ditto.
10796         Also make loop operation more transparent.
10797
10798 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10799
10800         * ToolbarDefaults.C: remove trailing comma closing namespace.
10801
10802         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10803
10804         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10805         as in WorkArea.
10806
10807         * trans.C (Load): comment out unused variable, allowed.
10808
10809 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         * minibuffer.[Ch] (append_char): new method to recieve input from the
10812         drop-down completion browser. If a key was pressed, then recieve this
10813         char and append it to the existing string.
10814         (peek_event): modify the positioning data passed to the completion
10815         browser so that it can be placed above the minibuffer rather than below.
10816 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * LyXAction.C (init): alloe error-next for readonly documents.
10819
10820         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10821         count.
10822
10823 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * bufferlist.C (readFile): create the buffer _after_ checking that
10826         the file exists.
10827
10828         * lyxfunc.C (verboseDispatch): fix handling of arguments
10829
10830         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10831
10832         * lyxrc.C: use string::erase() instead of initializing to "".
10833
10834
10835 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * BufferView_pimpl.h:
10838         * BufferView_pimpl.C:
10839         * WorkArea.h:
10840         * WorkArea.C:
10841         * text2.C: tell X when we have made a selection for copying
10842
10843 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * BufferView_pimpl.C (MenuInsertLyXFile):
10846         * lyxfunc.C (menuNew):
10847         (open):
10848         (doImport): add shortcuts to directory buttons
10849
10850         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10851         open a float)
10852
10853         * lyxfunc.C (setStatusMessage):
10854         (getStatusMessage): new methods
10855         (getStatus):use setStatusMessage instead of setErrorMessage
10856         (dispatch): when function is disabled, set error message here
10857         [instead of in getStatus previously]
10858
10859         * BufferView_pimpl.C (workAreaButtonRelease): update
10860         toolbar/menubar here too.
10861
10862 2002-01-13  Allan Rae  <rae@lyx.org>
10863
10864         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10865         Now seems indestructible.  Remaining task is to audit all other
10866         code affected by deleteEmptyParagraphMechanism.  One small quirk
10867         left is that an empty document with an error in the preamble can
10868         be made to report an error but no error box appears.  I don't know
10869         where it goes.
10870         (removeAutoInsets): Improved comments.
10871
10872 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * Thesaurus.h:
10875         * Thesaurus.C: update for Aiksaurus 0.14
10876
10877 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * text2.C (firstParagraph): removed member function, all uses
10880         replaces with ownerParagraph
10881         (redoParagraphs): here
10882         (updateInset): here
10883         (toggleAppendix): here
10884         * BufferView2.C (insertErrors): here
10885         (setCursorFromRow): here
10886
10887 2002-01-13  Allan Rae  <rae@lyx.org>
10888
10889         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10890         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10891         There is still a way to segfault this although you may have to do this
10892         multiple times: Have an InsetERT with an unknown command in it.
10893         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10894         <down-arrow>, <Enter> again, View->DVI, BANG!
10895
10896         * text2.C (setCursor):
10897         (deleteEmptyParagraphMechanism):
10898         * lyxtext.h (setCursor):
10899         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10900         Making use of the return value may help fix other bugs.
10901
10902 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10903
10904         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10905
10906         * LyXView.C (updateMenubar): call MenuBar::update here
10907         (updateToolbar): but not here
10908         (showState): do not update toolbar/menubar
10909
10910         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10911         should need to care about that.
10912
10913         * lyxfunc.C (verboseDispatch): simplify a bit
10914         (getStatus): have a version which takes a pseudoaction, and
10915         another which requires a (kb_action,string).
10916
10917         * LyXAction.C (retrieveActionArg): make it work also when action
10918         is not a pseudo-action.
10919         (getActionName): simplify a bit
10920         (helpText):
10921
10922 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * lyxfunc.C (verboseDispatch): new families of methods with
10925         several ways to specify a command and a bool to indicate whether
10926         the command name and shortcut should be displayed in minibuffer
10927         (eventually, we could extend that to a finer bitmask like
10928         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10929         (dispatch): the pristine dispatch command which just, well,
10930         dispatchs! Note it still sets its result to minibuffer; I'm not
10931         sure we want that.
10932
10933         * lyxfunc.h: remove setHintMessage
10934
10935         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10936
10937 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * BufferView_pimpl.C (specialChar): delete new inset if we have
10940         not been able to insert it.
10941
10942         * kbmap.C: revert to using int instead of kb_action, since all we
10943         are dealing with is pseudo-actions.
10944
10945         * LyXAction.C (searchActionArg): change to return int instead of
10946         kb_action, since the result is a pseudoaction.
10947
10948 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10949
10950         * buffer.C (insertErtContents): Fix (partially) the font bug.
10951
10952 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10953
10954         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10955         as the other one is broken on my machine!
10956
10957 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10958
10959         * commandtags.h:
10960         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10961
10962 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10963
10964         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10965         reflect their actual use. Provide compatibility code for older lyxrc
10966         files.
10967
10968         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10969         FL_NORMAL_STYLE.
10970         change names of popup font variables in line with the changes to lyxrc.C
10971
10972 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * buffer.C (asciiParagraph): avoid outputing a word twice after
10975         an inset.
10976
10977         * lyxrc.C (getDescription): document that document_path and
10978         template_path can be empty.
10979
10980 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10981
10982         * LaTeXFeatures.C (getMacros):
10983         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10984
10985         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10986
10987         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10988         getPackages.
10989         (getPackages): rename feature "floats" to "float". Use an array to
10990         iterate over 'simple' features (i.e. just a \usepackage). Add
10991         handling of "amsmath" (renamed from "amsstyle").
10992
10993 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10994
10995         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10996         features list.
10997
10998 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10999
11000         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11001         FuncStaus::FuncStatus & FuncStaus::some_method().
11002
11003 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11004
11005         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11006         of the func_satus stuff. Edited and massaged in various ways by
11007         JMarc.
11008
11009         * lyxfunc.C (getStatus): use FuncStatus
11010
11011 2002-01-08  Juergen Vigna  <jug@sad.it>
11012
11013         * text.C (nextBreakPoint): use function Inset::isChar().
11014
11015         * paragraph.C (TeXOnePar): use function
11016         Inset::forceDefaultParagraphs.
11017
11018         * buffer.C (latexParagraphs): use function
11019         Inset::forceDefaultParagraphs.
11020
11021 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * lyx_gui.C (init): set the style of the menu popups to
11024         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11025
11026 2002-01-07  Juergen Vigna  <jug@sad.it>
11027
11028         * text.C (setHeightOfRow): small fix
11029         (prepareToPrint): don't look at alignment if we don't have the place
11030         for doing it.
11031
11032 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11033
11034         * box.C: New file. Move the Box methods and functions out of box.h,
11035         following Lars' suggestion.
11036
11037 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11038
11039         * box.h: #include "support/LOstream.h", needed for inlined function.
11040
11041         * lyxtextclass.C:
11042         * lyxtextclasslist.C: added some using std declarations.
11043
11044 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * box.h: make signed dimensions to allow insets wider than
11047           the screen (bug #162)
11048
11049         * BufferView_pimpl.C: add some insetHit debug
11050
11051 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * vc-backend.C: add FIXME
11054
11055 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11056
11057         * lyxfunc.C (getStatus): enable code for showing math font status
11058         in toolbar/menu.
11059
11060 2002-01-07  Juergen Vigna  <jug@sad.it>
11061
11062         * text.C (nextBreakPoint): removed debug output not needed anymore.
11063
11064 2002-01-06  Juergen Vigna  <jug@sad.it>
11065
11066         * text.C (nextBreakPoint): fixed up this function we had this bug
11067         since ever but now hopefully we break row better.
11068         (insertChar): we have to check if an inset is the next char as it
11069         could now happen that a large inset is causing a break.
11070
11071 2002-01-05  Juergen Vigna  <jug@sad.it>
11072
11073         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11074         if it doesn't like to be drawed.
11075
11076 2002-01-04  Juergen Vigna  <jug@sad.it>
11077
11078         * BufferView2.C (lockInset): forgot to set a cursor.
11079
11080         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11081
11082 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11083
11084         * FormMathsPanel.C:
11085         * FormMathsPanel.h
11086         * MathsSymbols.C:
11087         * form_maths_panel.C:
11088         * form_maths_panel.h:
11089         * form_maths_panel.fd: implemented sub- and super- buttons in math
11090         panel.
11091
11092         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11093         (or ^ space) to be used as in TeX (req'd by André).
11094
11095         * lyxfunc.C: Allow ^ and _ again to be used both as
11096         super/subscript (mathed) and as themselves (in text).
11097
11098 2002-01-03  Allan Rae  <rae@lyx.org>
11099
11100         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11101         "LyX" or the filename of the current buffer if it has one.  This is a
11102         modified form of John Levon's patch.
11103
11104         * XFormsView.C (setWindowTitle): also set icon title.
11105
11106         * LyXView.h (setWindowTitle): signature changed.
11107         * XFormsView.h (setWindowTitle): ditto.
11108
11109 2002-01-02  Juergen Vigna  <jug@sad.it>
11110
11111         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11112
11113 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * screen.C (topCursorVisible): introduce a temp var for
11116         text->cursor.row(), handle the case where this row is null. (kindo
11117         hachish)
11118
11119         * text2.C (setCursor): add a couple of asserts.
11120
11121         * paragraph.h (inset_iterator): add -> operator
11122
11123         * paragraph.[Ch] (autoDeleteInsets): remove member function
11124
11125         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11126         cursor pos correctly and handle inset deletion by itself.
11127         (insertErrors): move iterator declaration out of for expression
11128
11129         * lyxtextclass.C: add <algorithm>
11130
11131         * Makefile.am: added the new files to sources, removed layout.C
11132
11133         * layout.C: removed file
11134
11135         * layout.h: remove LYX_DUMMY_LAYOUT
11136
11137         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11138         layout.
11139
11140         * lyxlayout.[Ch]:
11141         * lyxtextclass.[Ch]:
11142         * lyxtextclasslist.[Ch]: new files
11143
11144         * include order changes to a lot of files, also changes because of
11145         the six new files.
11146
11147 2001-12-27  Juergen Vigna  <jug@sad.it>
11148
11149         * buffer.C (asciiParagraph): more fixes.
11150
11151         * tabular.C (ascii): make ascii export support export of only the
11152         data separated by a column-delimiter.
11153         (ascii): better support for ascii export.
11154
11155         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11156
11157 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11158
11159         * tabular_funcs.C: use a "using std::getline" instead of the
11160         previous fix from Angus (necessary for cxx + lyxstring)
11161
11162 2001-12-24  Juergen Vigna  <jug@sad.it>
11163
11164         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11165
11166         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11167         problems. First check a minipage also if we have some ert-contents
11168         (not only on par->size(), second set the right depth of the paragraph
11169         on the relink to the root-paragraph-list!
11170
11171         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11172         which then did not anymore update the main paragraphs on undo/redo!
11173
11174 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11177         code. Support all font-changing funcs (even those which are not in
11178         menu currently). Support for reporting font settings in
11179         mathed (disabled until Andre provides a function on mathed's side).
11180
11181         * func_status.h (toggle): small helper function to set toggle
11182         state on a flag.
11183
11184 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11185
11186         * tabular_funcs.C: getline -> std::getline
11187
11188 2001-12-21  Juergen Vigna  <jug@sad.it>
11189
11190         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11191         accessed and could be 0 (I couldn't generate this but it seems
11192         Michael could!).
11193
11194 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11197         * tabular_funcs.h: here and include iosfwd
11198
11199 2001-12-20  Juergen Vigna  <jug@sad.it>
11200
11201         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11202         inside inset but undo_par was.
11203
11204 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * Thesaurus.C: always include <config.h> in sources.
11207
11208         * Painter.h:
11209         * lyxlookup.h:
11210         * box.h: do not include <config.h> in header files
11211
11212         * text.C (paintLastRow): remove unused variable
11213
11214         * text.C (transformChar):
11215         (insertChar):
11216         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11217
11218         * Painter.C (text):
11219         * font.C (width): rewrite to use uppercase() instead of
11220         islower/toupper.
11221
11222         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11223
11224 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * lyxfind.C: clean up of find failure position change
11227
11228 2001-12-20  Juergen Vigna  <jug@sad.it>
11229
11230         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11231
11232         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11233         (TeXRow): added to LaTeX a single tabular row.
11234         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11235         (Latex): simplified and finally good LT-h/f support.
11236         (various_functions): just small adaptions for LT-h/f support.
11237
11238         * tabular_funcs.[hC]: added and moved here all not classfunctions
11239         of LyXTabular.
11240
11241 2001-12-19  Juergen Vigna  <jug@sad.it>
11242
11243         * tabular.[Ch]: better support for longtabular options (not finished
11244         yet!)
11245
11246 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11247
11248         * text.C (paintLastRow): use the label font instead of the font of
11249         the last character to compute the size of *_BOX. This makes more
11250         sense and avoids a crash with empty paragraphs.
11251         Use Painter::rectangle to draw EMPTY_BOX.
11252
11253 2001-12-19  Juergen Vigna  <jug@sad.it>
11254
11255         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11256         the paragraphs if the replaced paragraph is not the first one!
11257         Tried to delete not used paragraphs but does not work yet so for
11258         now it's inside #ifdef's and by default off!
11259
11260 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * MenuBackend.C: include "lyx_main.h" instead of declaring
11263         lastfiles (actually was declared as LastFiles* instead of a
11264         scoped_ptr).
11265
11266 2001-12-17  Juergen Vigna  <jug@sad.it>
11267
11268         * tabular.C (AppendColumn): applied John's fix
11269
11270 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * BufferView.h:
11273         * BufferView.C:
11274         * BufferView_pimpl.h:
11275         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11276
11277         * Makefile.am:
11278         * box.h: new start of class for above
11279
11280         * lyxfunc.C: ignore space-only minibuffer dispatches.
11281           Show the command name when it doesn't exist
11282
11283         * minibuffer.C: don't add empty lines to the history
11284
11285         * minibuffer.C: add a space on dropdown completion
11286
11287 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * text.C: fix line above/below drawing in insets
11290
11291 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * lyxlength.C (LyXLength): Initialize private variables.
11294
11295 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11296
11297         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11298         when inserting error insets.
11299
11300 2001-12-13  Juergen Vigna  <jug@sad.it>
11301
11302         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11303         actually sometimes the before-paragraph.
11304         (setUndo): don't clear the redostack if we're not actually undoing!
11305
11306 2001-12-06  Juergen Vigna  <jug@sad.it>
11307
11308         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11309         and fixed redoing of main paragraph, so we can use it now ;)
11310
11311         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11312
11313 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11316         Juergen's request
11317
11318 2001-12-13  André Pönitz <poenitz@gmx.net>
11319
11320         * undostack.[Ch]:
11321         * undo_func.C: minor cleanup
11322
11323 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11326         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11327         font in urw-fonts package which is marked as -urw-fontspecific and
11328         does not work (incidentally, changing the encoding in the
11329         fonts.dir of this package to -adobe-fontspecific fixes the
11330         problem).
11331
11332         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11333         is a crash when undoing first paragraph (Juergen, please take a
11334         look). THis does not mean the undo fix is wrong, just that it
11335         uncovers problems.
11336
11337         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11338         the (Paragraph*) version when needed instead of duplicating the
11339         code.
11340
11341         * text.C (workWidth): use Inset::parOwner to find out where the
11342         inset has been inserted. This is a huge performance gain for large
11343         documents with lots of insets. If Inset::parOwner is not set, fall
11344         back on the brute force method
11345
11346         * paragraph_pimpl.C (insertInset):
11347         * paragraph.C (Paragraph):
11348         (cutIntoMinibuffer): set parOwner of insets when
11349         inserting/removing them
11350
11351         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11352
11353 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11354
11355         * commandtags.h:
11356         * LyXAction.C:
11357         * lyx_main.C:
11358         * lyxfunc.C:
11359         * mathed/formulabase.C:
11360         * mathed/math_cursor.[Ch]:
11361         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11362
11363
11364 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * lyxlength.[Ch] (operator!=): new function
11367
11368 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * text.C (workWidth): use Inset::parOwner to find out where the
11371         inset has been inserted. This is a huge performance gain for large
11372         documents with lots of insets. If Inset::parOwner is not set, fall
11373         back on the brute force method
11374
11375         * paragraph_pimpl.C (insertInset):
11376         * paragraph.C (Paragraph):
11377         (cutIntoMinibuffer): set parOwner of insets when
11378         inserting/removing them
11379
11380         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11381
11382 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * tabular-old.C (getTokenValue):
11385         * tabular.C (getTokenValue):
11386         (write_attribute): new versions for LyXLength
11387         (everywhere): adjust the use of widths
11388
11389         * tabular.h: change the type of widths from string to LyXLength
11390
11391 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11392
11393         * paragraph.C: fixed missing line number count when exporting
11394         Environments to LaTeX file
11395
11396         * buffer.C: added informational message for checking line numbers.
11397
11398 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11401         paragraph, do the 'double space' part, but not the 'empty
11402         paragraph' one.
11403
11404         * text.C (workWidth): small optimization
11405         (getLengthMarkerHeight): use minimal size for negative lengths.
11406
11407 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11408
11409         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11410
11411         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11412
11413 2001-12-11  André Pönitz <poenitz@gmx.net>
11414
11415         * FontLoader.C:
11416         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11417
11418 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * text2.C: keep selection on a setFont()
11421
11422 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * lyx_cb.C: another bv->text misuse, from insert label
11425
11426 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * kbsequence.h:
11429         * kbsequence.C: re-instate nmodifier mask
11430
11431 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11432
11433         * lyx_main.h: make lyxGUI private.
11434
11435 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * lyxfind.C: place the cursor correctly on failed search
11438
11439 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * text.C (getLengthMarkerHeight): for small heights, the arrows
11442         are not always on top/bottom of the text
11443         (drawLengthMarker): smaller arrows; take the left margin in
11444         account; draw also vfills.
11445         (paintFirstRow):
11446         (paintLastRow): remove special code for vfill and standard spaces,
11447         since everything is handled in drawLengthMarker now.
11448
11449 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * buffer.C (insertErtContents): try to handle font and language
11452         interaction a bit better.g
11453
11454         * ColorHandler.C (updateColor): change the hash to cover the whole
11455         LColor enum, ws cleanup
11456         (getGCLinepars): ditto
11457         (getGCLinepars): only lookup in the linecache once.
11458
11459 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * iterators.C (operator++): Make the iterator more robust
11462
11463         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11464         (John's patch)
11465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11466
11467 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * lyxtext.h:
11470         * text.C: better added space drawing
11471
11472 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * LyXView.C:
11475         * BufferView2.C: fix layout combo update on inset unlock
11476
11477 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * Makefile.am: don't compile unused files
11480
11481 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * lyxfunc.C:
11484         * commandtags.h:
11485         * LyXAction.C: remove old LFUN_LAYOUTNO
11486
11487 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11488
11489         * paragraph_pimpl.h:
11490         * paragraph_pimpl.C: isTextAt() doesn't need font param
11491
11492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * lyxlex.h:
11495         * lyxlex.C: little cleanup
11496
11497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * BufferView_pimpl.C: fix insertAscii for insets
11500
11501 2001-12-05  Juergen Vigna  <jug@sad.it>
11502
11503         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11504         set the right font on the "multi" paragraph paste!
11505
11506 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * trans_decl.h:
11509         * trans_mgr.[Ch]:
11510         * trans.[Ch]:
11511         * lyxgluelength.C:
11512         * lyxlength.C: remove out-commented code.
11513
11514         * BufferView_pimpl:
11515         * CutAndPaste.C:
11516         * DepTable.C:
11517         * buffer.C:
11518         * chset.C:
11519         * lastfiles.C:
11520         * lyxlex.C:
11521         * lyxlex_pimpl.C:
11522         * lyxserver.C:
11523         * screen.C:
11524         * tabular-old.C:
11525         * tabular.C:
11526         * text.C:
11527         * trans_mgr.C:
11528         * vc-backend.C: change "while(" to "while ("
11529
11530         * lyxlength.[Ch]: add zero function to check if length is zero or
11531         not
11532         * lyxgluelength.C: use it
11533
11534 2001-12-05  Allan Rae  <rae@lyx.org>
11535
11536         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11537         Works for 2.95.3, from what I understand of Garst's reports this should
11538         work for other g++ versions.  We're screwed if the abs(int) definition
11539         changed between bugfix releases of gcc.
11540
11541 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * text.C: fix chapter label offset !
11544
11545 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * lyxtext.h:
11548         * text.C: fix hfill at end of line, clean up
11549
11550 2001-12-04  Juergen Vigna  <jug@sad.it>
11551
11552         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11553         that we force an update of the inset and it's owners if neccessary.
11554
11555 2001-12-03  Juergen Vigna  <jug@sad.it>
11556
11557         * text.C (rowLast): simplified code
11558
11559 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * lyxfunc.C: fix show options on timeout
11562
11563 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * screen.C (topCursorVisible): scroll half a page when the cursor
11566         reached top of bottom of screen
11567
11568 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * minibuffer.C: deactivate on loss of focus
11571
11572 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * vspace.[Ch] (operator!=): add operator.
11575
11576 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11577
11578         * BufferView_pimpl.C: refuse to open an inset when
11579         there's a selection.
11580
11581 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * BufferView_pimpl.C: allow to click on RHS of full row insets
11584
11585 2001-11-30  Juergen Vigna  <jug@sad.it>
11586
11587         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11588         insets for undo reasons.
11589
11590 2001-11-28  André Pönitz <poenitz@gmx.net>
11591
11592         * vspace.[Ch]: cosmetical changes
11593
11594 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * LyXAction.h:
11597         * LyXAction.C:
11598         * lyxfunc.h:
11599         * lyxfunc.C:
11600         * kbmap.h:
11601         * kbmap.C:
11602         * lyxrc.C:
11603         * kbsequence.h:
11604         * kbsequence.C: part re-write of old kb code
11605
11606         * Painter.C:
11607         * WorkArea.C: remove Lgb_bug_find_hack
11608
11609 2001-11-30  José Matos <jamatos@fep.up.pt>
11610
11611         * buffer.C (makeDocBookFile): add a comment to point a hack.
11612         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11613         Fixed a double write of labels.
11614
11615 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11616
11617         * LaTeX.C:
11618         * LaTeX.h Fixed bug in LaTeX class where it would not
11619         re-run latex if no depfiles were changed, but the .dvi was removed.
11620
11621 2001-11-28  André Pönitz <poenitz@gmx.net>
11622
11623         * all the files from the change on 2001/11/26:
11624         use lyx::layout_type instead of LyXTextClass::size_type
11625         use lyx::textclass_type instead of LyXTextClassList::size_type
11626
11627 2001-11-29  Juergen Vigna  <jug@sad.it>
11628
11629         * text.C: added support for paragraph::isFreeSpacing()
11630
11631         * buffer.C: same as above
11632
11633         * paragraph.h: inserted isFreeSpacing() function to enable
11634         FreeSpacing inside InsetERT.
11635
11636         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11637         of the paragraph's in the cut/copy buffer to 0!
11638
11639         * text2.C (removeRow): remove the assert as it can!
11640
11641         * lyxtext.h: added helper function firstRow returning firstrow and
11642         made firstrow private again.
11643
11644         * BufferView2.C (lockInset): don't relock if we're already locked!
11645
11646         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11647         the only paragraph.
11648         (removeRow): added Assert::(firstrow)
11649
11650         * debug.C: forgot to add INSETTEXT here.
11651
11652 2001-11-28  Juergen Vigna  <jug@sad.it>
11653
11654         * sp_spell.C (initialize): changed error text to more general
11655         spellchecker command use (not only ispell!)
11656
11657         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11658
11659         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11660
11661 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * vspace.C: initialise lyxgluelength on failure
11664
11665 2001-11-28  Allan Rae  <rae@lyx.org>
11666
11667         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11668         declaration & definition that looks like a function declaration.
11669
11670 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11671
11672         * BufferView2.C (copy):
11673         (copyEnvironment): do not clear the selection when doing a copy.
11674
11675         * text.C (paintFirstRow): compilation fix
11676
11677 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11678
11679         * tabular.C (Latex): correct line count when writing latex.
11680
11681 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * paragraph_pimpl.h:
11684         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11685           bug a bit
11686
11687 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * text.C:
11690         * LColor.h:
11691         * LColor.C: change vfillline->added_space
11692
11693         * text.C: add markers and text for added space
11694
11695         * vspace.C: fix comment
11696
11697 2001-11-28  André Pönitz <poenitz@gmx.net>
11698
11699         * paragraph.C: whitespace changes
11700         * all the other files from the change on 2001/11/26:
11701         change *::pos_type into lyx::pos_type
11702
11703 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11704
11705         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11706         language of the document when inserting error insets.
11707
11708 2001-11-26  André Pönitz <poenitz@gmx.net>
11709
11710         * BufferView_pimpl.[Ch]:
11711         *       CutAndPaste.C:
11712         * buffer.[Ch]:
11713         * lyxcursor.[Ch]:
11714         * lyxfind.C:
11715         * lyxfunc.C:
11716         * lyxrow.[Ch]:
11717         * paragraph.[Ch]:
11718         * paragraph_pimpl.[Ch]:
11719         * sp_spell.C:
11720         * text.C:
11721         * text2.C: reduce header dependencies, introduce type for positions
11722
11723 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * <various>: change to use Alert.h
11726
11727 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11728
11729         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11730         when encountering an unknown token.
11731         (readLyXformat2): Show an error message if there were unknown tokens.
11732
11733 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView2.C:
11736         * BufferView_pimpl.C:
11737         * buffer.C:
11738         * paragraph.h:
11739         * text.C:
11740         * text2.C: use par->isInset()
11741
11742 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * paragraph_pimpl.h:
11745         * paragraph_pimpl.C: cleanup
11746
11747 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * text2.C (removeRow):
11750         * text.C (setHeightOfRow): remove useless (and costly) call to
11751         getRow.
11752
11753 2001-11-20  Allan Rae  <rae@lyx.org>
11754
11755         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11756         Now need Inset*::checkInsertChar() to return true for appropriate
11757         cases so that the characters in the minibuffer will actually be
11758         inserted.
11759
11760 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * text.C: change the order of the includes.
11763         (workWidth): initialize it at once.
11764         (workWidth): make maxw unsigned
11765         (setHeightOfRow): remove unused variable (inset)
11766         (selectSelectedWord): remove unused variable (inset)
11767         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11768
11769 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11772         server is not running.
11773         (openConnection):
11774         (closeConnection): add debug info when server is disabled.
11775
11776         * ColorHandler.C (getGCForeground): send debug message to GUI
11777         channel.
11778
11779         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11780
11781         * kbmap.C (bind): modify because return conventions of
11782         kb_sequence::parse have changed.
11783
11784         * kbsequence.C (parse): only ignore spaces and not any stupid
11785         control character. This avoids tests like s[i] <= ' ', which are
11786         guaranteed to fail with 8bit characters and signed chars.
11787         Change return code to string::npos when there have been no error
11788         (0 was a bad idea when error is at first character)
11789
11790 2001-11-14  José Matos  <jamatos@fep.up.pt>
11791
11792         * buffer.h:
11793         * buffer.C (simpleDocBookOnePar): removed unused argument.
11794
11795 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11796
11797         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11798         insets which are part of a word. Paragraph::isLetter takes care of
11799         that now. Use Paragraph::isInset to identify insets.
11800         (selectSelectedWord): do not test for hyphenation break.
11801
11802         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11803         that protected spaces are considered as spaces.
11804
11805         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11806         Inset::isLetter.
11807
11808 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * lyxserver.h:
11811         * lyxserver.C: fix it. and small cleanup.
11812
11813 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * BufferView_pimpl.C: use inline helpers
11816
11817         * LaTeXFeatures.h:
11818         * LaTeXFeatures.C: fix typos
11819
11820         * Spacing.h:
11821         * Spacing.C: move spacing_string into class
11822
11823         * ToolbarDefaults.C: move stuff into namespace anon
11824
11825         * layout.h: update enum
11826
11827         * lyxfunc.C: use better debug
11828
11829         * minibuffer.h: fix typo
11830
11831         * debug.h:
11832         * debug.C:
11833         * WorkArea.C: add and use Debug::WORKAREA
11834
11835         * lyxtext.h:
11836         * text.C:
11837         * text2.C: code re-organisation, inline helpers
11838
11839 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11840
11841         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11842         std::vector.empty().
11843
11844 2001-11-09  Allan Rae  <rae@lyx.org>
11845
11846         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11847         '\n's after tables.  Tabular and ERT inset work now makes this no
11848         longer necessary.
11849
11850 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * minibuffer.h:
11853         * minibuffer.C: fix crash, improve drop-down completion
11854
11855 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * lyxserver.h:
11858         * lyxserver.C: invalidate fd's when doing endPipe()
11859
11860 2001-11-08  José Matos  <jamatos@fep.up.pt>
11861
11862         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11863         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11864
11865         * paragraph.h:
11866         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11867
11868 2001-11-07  José Matos  <jamatos@fep.up.pt>
11869
11870         * buffer.h:
11871         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11872         const qualifier.
11873
11874         * buffer.C (sgmlOpenTag):
11875         * buffer.C (sgmlCloseTag): removed debug info.
11876
11877         * buffer.h (sgmlOpenTag):
11878         * buffer.h (sgmlCloseTag): made public.
11879
11880 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11881
11882         * buffer.C (saveParamsAsDefaults):
11883         * lyx_cb.C (MenuLayoutSave): remove
11884
11885         * LyXAction.C (init):
11886         * commandtags.h:
11887         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11888
11889 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * buffer.C (setPaperStuff): removed from here...
11892
11893         * bufferparams.C (setPaperStuff): ... and moved there.
11894
11895 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * minibuffer.h:
11898         * minibuffer.C:
11899         * XFormsView.C: add support for drop-down completion
11900
11901 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11902
11903         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11904         commands.
11905
11906 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11907
11908         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11909         disabled.
11910
11911 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * lyx_main.C: change ref to known bugs
11914
11915 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11916
11917         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11918         to work around older babel problems.
11919
11920 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11921
11922         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11923
11924 2001-10-24  Juergen Vigna  <jug@sad.it>
11925
11926         * tabular-old.C (ReadOld): below variable changes reflected.
11927
11928         * tabular.[Ch]: added ltType struct for longtable header/footer
11929         defines and changed all instances where they are used. Added
11930         future support for double top/bottom rows.
11931
11932 2001-10-24  José Matos  <jamatos@fep.up.pt>
11933
11934         * buffer.h (docbookHandleCaption):
11935         * buffer.C (docbookHandleCaption): removed unused function.
11936         (makeDocBookFile): moved docbook supported version to v4.1.
11937
11938 2001-10-24  José Matos  <jamatos@fep.up.pt>
11939
11940         * tabular.h:
11941         * tabular.C (docbookRow): new function to export docbook code of a row.
11942         (DocBook): now honors the longtable flags.
11943
11944 2001-10-23  José Matos  <jamatos@fep.up.pt>
11945
11946         * LaTeXFeatures.h:
11947         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11948         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11949
11950         * buffer.C (makeLinuxDocFile):
11951         (makeDocBookFile): reworked the preamble, more clean, and with
11952         support for lyx defined entities. Changed the document declaration
11953         to be more XML friendly.
11954
11955         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11956         if we need to output XML that should be done with a filter.
11957
11958 2001-10-22  Juergen Vigna  <jug@sad.it>
11959
11960         * sp_pspell.h (class PSpell): add alive function needed in the
11961         controller to see if the spellchecker could be started.
11962
11963 2001-10-22  Juergen Vigna  <jug@sad.it>
11964
11965         * buffer.C (insertStringAsLines): modify the font for inserting
11966         chars in certain conditions by calling checkInsertChar(font).
11967
11968 2001-10-19  Juergen Vigna  <jug@sad.it>
11969
11970         * text.C (workWidth): use getRow instead of wrong algorithm.
11971         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11972
11973 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * lyxserver.h:
11976         * lyxserver.C:
11977         * lyx_main.h:
11978         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11979
11980 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11981
11982         * text.C (workWidth): do not search for the exact row when
11983         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11984         optimization for big documents.
11985
11986 2001-10-18  Juergen Vigna  <jug@sad.it>
11987
11988         * text.C (workWidth): new function with added Inset * parameter.
11989
11990 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11991
11992         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11993
11994         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11995         change return type of getColumnNearX.
11996
11997
11998         * text.C (changeRegionCase): use uppercase/lowercase instead of
11999         toupper/tolower.
12000         (leftMargin):
12001         (rightMargin): simplify code by factoring out the uses of
12002         textclasslist.
12003         (labelFill):
12004         (numberOfHfills):
12005         (setHeightOfRow):
12006         (appendParagraph): use Paragraph::size_type
12007
12008 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12009
12010         * vspace.C (asLatexString): add a missing break
12011
12012 2001-10-15  Herbert Voss  <voss@perce.de>
12013
12014         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12015
12016 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12017
12018         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12019         is not available.
12020
12021 2001-10-10  André Pönitz <poenitz@gmx.net>
12022
12023         * lyxfunc.C: removed greek_kb_flag.
12024
12025 2001-10-10  Herbert Voss  <voss@perce.de>
12026
12027         * lyx_main.C: delete global string help_lyxdir.
12028
12029 2001-10-09  Herbert Voss  <voss@perce.de>
12030
12031         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12032
12033         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12034
12035         * lyx_main.C: added global string help_lyxdir.
12036
12037         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12038
12039 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12040
12041         * lyxrc.C (set_font_norm_type): support iso8859-4
12042
12043 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12044
12045         * LaTeX.C (deplog): add another regex for MikTeX
12046
12047 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12048
12049         * lyxrc.C (set_font_norm_type): support iso8859-3
12050
12051 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12054
12055         * LaTeXFeatures.C: remove special case of french and index
12056
12057         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12058         before \begin{document}). This solves several incompatibilities.
12059
12060 2001-10-03  Garst Reese  <reese@isn.net>
12061
12062         * lyx_cb.C: change CheckTex error msg.
12063
12064 2001-10-03  José Matos  <jamatos@fep.up.pt>
12065
12066         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12067
12068 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12069
12070         * .cvsignore: update
12071
12072         * lyx_main.C (commandLineVersionInfo): use new style version info.
12073
12074         * buffer.C (writeFile):
12075         (makeLaTeXFile):
12076         (makeLinuxDocFile):
12077         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12078
12079         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12080
12081         * version.h: update to use stuff in version.C
12082
12083         * version.C.in: new file. Contains version information determined
12084         at compile time. This is a merging of version.h and
12085         version_info.h.in.
12086
12087 2001-10-03  Juergen Vigna  <jug@sad.it>
12088
12089         * BufferView_pimpl.C (update): don't change "dirty" status in
12090         updateInset call.
12091
12092 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12093
12094         * WorkArea.C (c-tor): re-position version string slightly.
12095
12096 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12099         revert to previous code.
12100
12101         WorkArea.[Ch]: (show, destroySplash): methods removed.
12102
12103         WorkArea.C: rework code so that it's an amalgam of the codes before and
12104         after the splash screen was moved to WorkArea.
12105
12106 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * lyxrc.C (read):
12109         * vspace.C (inPixels):
12110         (lyx_advance):
12111         * kbmap.C (bind):
12112         * buffer.C (insertStringAsLines):
12113         (asciiParagraph): fix types to be large enough
12114
12115         * lyxlex_pimpl.h: change member status from short to int
12116
12117         * layout.h: fix type of endlabeltype
12118
12119         * kbmap.C (bind):
12120         * kbsequence.C (parse): change return type to string::size_type
12121
12122         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12123         variable
12124
12125         * Bullet.C (bulletSize):
12126         (bulletEntry): do not use short ints as parameters
12127
12128         * BufferView2.C (insertLyXFile): change a char to an int.
12129
12130         * WorkArea.C (WorkArea): remove unneeded floats in computation
12131
12132 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12133
12134         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12135
12136         * paragraph.C (asString): Do not ignore newline/hfill chars when
12137         copying to the clipboard.
12138
12139 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12142         after a multi-line inset.
12143
12144 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12145
12146         * paragraph.C (validate): Set NeedLyXFootnoteCode
12147
12148 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12149
12150         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12151         and decrease-error to decrease.
12152
12153 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12156         it more readable (should be equivalent)
12157
12158 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12159
12160         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12161
12162 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12163
12164         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12165         of a cursor (row, etc.) after a character has been deleted
12166         (deleteEmptyParagraphMechanism): call the method above on _all_
12167         cursors held by the LyXText when a double space has been
12168         detected/deleted.
12169
12170 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12173         pixmap.
12174         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12175
12176         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12177         background. Use greyOut() and the new show() methods to toggle between
12178         the foreground and background. Add code to remove the splash after
12179         its initial showing.
12180
12181         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12182         (create_forms): no longer call Dialogs::showSplash.
12183
12184 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12185
12186         * .cvsignore: add version_info.h
12187
12188 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * version_info.h.in: new file
12191
12192         * Makefile.am: add version_info.h.in
12193
12194         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12195         version_info.h instead of VERSION_INFO
12196
12197 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12200         The ERT inset now returns string().
12201
12202 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * lyxtext.h, text.C (selectNextWord): renamed as
12205         selectNextWordToSpellcheck.
12206
12207         * text.C (selectNextWordToSpellcheck): Modified to not select
12208         words inside an ERT inset.
12209
12210 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * lyx_cb.C (MenuLayoutSave): change a bit the question
12213
12214         * sp_base.h: include <sys/types.h>
12215
12216 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12219
12220 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12221
12222         * several files: fix typos in user-visible strings
12223
12224 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * text2.C (pasteSelection): do not set the selection, since it
12227         will be cleared later. Actually, the intent was to fix the way the
12228         selection was set, but I figured rmoving the code was just as good.
12229
12230 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12231
12232         * FontLoader.C (available): Check if font is available without
12233         loading the font.
12234
12235 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12236
12237         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12238
12239 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12240
12241         * lyxrc.[Ch]: added display_graphics variable and associated code.
12242
12243 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * bufferparams.C (hasClassDefaults): new method. Returns true if
12246         the buffer parameters correspond to known class defaults
12247
12248 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * XFormsView.C (show): set minimum size to the main window.
12251
12252 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12253
12254         * text2.C (copySelection):
12255         (cutSelection):
12256         * lyxfind.C (LyXReplace):
12257         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12258         LyXText::selectionAsString.
12259
12260         * paragraph.C (asString): add "label" argument to the second form
12261
12262         * text2.C (selectionAsString): add "label" argument and pass it to
12263         Paragraph::asString.
12264
12265 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * lyx_main.C (commandLineHelp): remove version information
12268
12269 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12270
12271         * lyx_main.C: add -version commandline option
12272
12273 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * paragraph.h: make the optional constructor arg required instead.
12276         some modifications to other files because of this.
12277
12278         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12279
12280         * lyxserver.C (C_LyXComm_callback): make it static
12281
12282         * lyx_main.C (error_handler): make it static
12283
12284         * lyx_gui.C (LyX_XErrHandler): make it static
12285
12286         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12287
12288         * WorkArea.C: make the extern "C" methods static.
12289
12290         * Makefile.am (lyx_LDADD): simplify
12291
12292 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12295         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12296
12297         * LyXAction.C (init):
12298         * lyxfunc.C (dispatch): associated code removal.
12299
12300 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * lyxfont.h (isSymbolFont): shut off warning
12303
12304         * text.C (setHeightOfRow):
12305         (getVisibleRow): fix crash with empty paragraphs which have a
12306         bottom line
12307
12308 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12309
12310         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12311         code.
12312
12313 2001-09-04  José Matos  <jamatos@fep.up.pt>
12314         * buffer.C
12315         * buffer.h
12316         * tabular.C (docbook): rename docBook method to docbook.
12317
12318 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * Makefile.am: add dependencies to main.o.
12321
12322 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12323
12324         * FontLoader.C (available): Return false if !lyxrc.use_gui
12325
12326 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12327
12328         * FontInfo.C (query):
12329         * converter.C (view):
12330         * importer.C (Import):
12331         * exporter.C (Export): Can not -> cannot.
12332
12333 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * BufferView_pimpl.C: allow to create index inset even if
12336           string is empty
12337
12338 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12339
12340         * buffer.C (getLists): replace boost::tie code with an explicit pair
12341         as boost::tie can break some compilers.
12342
12343         * iterators.h: Added a std:: declaration to the return type of
12344         ParIterator::size.
12345
12346 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12349           case.
12350
12351 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12352
12353         * iterators.[Ch]: New files. Provide paragraph iterators.
12354
12355         * buffer.C (changeLanguage): Use paragraph iterators.
12356         (isMultiLingual): ditto
12357
12358         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12359
12360 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * FontLoader.C: Support for cmr font.
12363
12364 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12365
12366         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12367         (available): New method.
12368
12369         * FontInfo.C (getFontname): Use scalable fonts even when
12370         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12371         found.
12372
12373 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * converter.C (Formats::view): reverted! Incorrect fix.
12376
12377 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * converter.C (Formats::view): only output the -paper option
12380         if the dvi viewer is xdvi, thereby fixing bug #233429.
12381
12382 2001-08-23  Herbert Voss  <voss@perce>
12383
12384         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12385
12386 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12387
12388         * Spacing.h (Spacing): Set space to Default on in the default
12389         constructor.
12390
12391 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * vc-backend.h (RCS::versionString): add RCS to version
12394         (CVS::versionString): add CVS to version
12395
12396         * vc-backend.C (scanMaster): do not add CVS to version.
12397         (scanMaster): do not add RCS to version
12398
12399         * lyxvc.C (versionString): new method
12400
12401         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12402
12403 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * Spacing.C (set): initialize fval
12406
12407 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12410         " or \.
12411
12412 2001-08-16  Juergen Vigna  <jug@sad.it>
12413
12414         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12415
12416 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * BufferView_pimpl.C:
12419         * figureForm.C:
12420         * lyxtext.h:
12421         * text2.C: setParagraph takes linespacing now
12422
12423 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * LyxAction.C: add internal LFUN_CITATION_INSERT
12426
12427         * LyXView.C: actually apply fix
12428
12429         * bufferlist.C: fix open non-existent file
12430
12431         * lyxfind.C: fix indentation
12432
12433         * lyxfunc.C: remove unneeded assert, fix typo
12434
12435 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * MenuBackend.C: use "Floatname List"
12438
12439 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12440
12441         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12442         when converting LaTeX layout to insetERT.
12443         Generate a non-collapsed float when reading old float
12444
12445 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12448         ERT insets.
12449
12450 2001-08-13  Juergen Vigna  <jug@sad.it>
12451
12452         * text.C (fill): return 0 instead of 20 as this seems to be the more
12453         correct value.
12454
12455 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12458         lyxrc.font_norm.
12459
12460 2001-08-13  Juergen Vigna  <jug@sad.it>
12461
12462         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12463         casesensitive off.
12464         (SearchBackward): comment out the unlocking of the inset_owner this
12465         should not be needed!
12466
12467 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12468
12469         * Many files: Remove inherit_language, and add latex_language
12470
12471         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12472         collapsible insets.
12473
12474 2001-08-10  Juergen Vigna  <jug@sad.it>
12475
12476         * text.C (prepareToPrint): fixed hfill-width in draw!
12477
12478         * BufferView2.C (selectLastWord): save the selection cursor as this
12479         now is cleared in the function LyXText::clearSelection!
12480
12481 2001-08-08  Juergen Vigna  <jug@sad.it>
12482
12483         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12484         BACKSPACE type functions.
12485
12486         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12487         is only cutted from the document but not put in the cut-buffer, where
12488         still the old stuff should be.
12489
12490         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12491
12492         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12493
12494         * tabular.C (SetWidthOfCell): fixed special case where the width
12495         was not updated!
12496         (LeftLine): handle '|' in align_special.
12497         (RightLine): ditto
12498         (LeftAlreadyDrawed): ditto
12499         (SetWidthOfCell): ditto
12500
12501 2001-08-07  Juergen Vigna  <jug@sad.it>
12502
12503         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12504
12505 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12506
12507         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12508         * lyxlex.[hC]: ditto
12509
12510 2001-08-06  Juergen Vigna  <jug@sad.it>
12511
12512         * text.C (getVisibleRow): fix up row clearing a bit.
12513
12514 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12515
12516         * minibuffer.C: make sure the X server sees the changes in the input.
12517
12518 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * paragraph.C (getFont): split into...
12521         (getLabelFont): this
12522         (getLayoutFont): and this
12523         * paragraph_pimpl.C (realizeFont): calling this
12524
12525         * text2.C (getFont): split into...
12526         (getLayoutFont): this
12527         (getLabelFont): and this
12528         (realizeFont): all three calling this
12529
12530         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12531         files where used.
12532
12533 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12536
12537 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12538
12539         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12540         layouts from the Quote inset insertion.
12541
12542 2001-08-03  Juergen Vigna  <jug@sad.it>
12543
12544         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12545
12546         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12547         only if status not is already CHANGED_IN_DRAW (second level).
12548
12549         * text.C (draw): don't set the need_break_row when inside an
12550         InsetText LyXText.
12551
12552 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * buffer.C (parseSingleLyXformat2Token): handle more latex
12555         conversion cases.
12556
12557         * bufferview_funcs.[hC]: change function names to
12558         begin with small char, adjust other files.
12559
12560 2001-08-02  André Pönitz <poenitz@gmx.net>
12561
12562         * lyxfunc.C:
12563         BufferView_pimpl.C: remove broken special code for math-greek
12564
12565 2001-08-02  Juergen Vigna  <jug@sad.it>
12566
12567         * BufferView_pimpl.C (update): redone this function so that we
12568         update the text again if there was a CHANGE_IN_DRAW.
12569
12570         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12571         (drawFromTo): added a new internal bool which is used by draw() and
12572         redraw() function.
12573         (general): some cursor drawing problems fixed.
12574
12575 2001-08-01  Juergen Vigna  <jug@sad.it>
12576
12577         * lyxfind.C (LyXFind): fixed
12578         (SearchForward): ditto
12579         (SearchBackward): ditto
12580
12581         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12582         spurius drawing of the cursor in the main area.
12583
12584         * text2.C (status): small fix which could lead to a segfault!
12585         (clearSelection): remove unneeded BufferView param.
12586
12587 2001-08-01  André Pönitz <poenitz@gmx.net>
12588
12589         * lyxfunc.C: small change due to changed mathed interface
12590
12591 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12594
12595 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * lyxfunc.c: fail gracefully if file doesn't exist
12598
12599         * LyXSendto.C:
12600         * buffer.C:
12601         * lyxfunc.C:
12602         * BufferView_pimpl.C: IsDirWriteable() proto changed
12603
12604         * LyXView.C: fix updateWindowTitle() to store the last title
12605
12606 2001-07-31  Juergen Vigna  <jug@sad.it>
12607
12608         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12609         the font (wrong since using of Paragraph::highestFontInRange).
12610
12611         * paragraph.C (highestFontInRange): added a default_size parameter.
12612
12613         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12614         (setHeightOfRow): reformat
12615
12616 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12617
12618         * converter.[hC] + affected files: move to (inital-char)lowercase
12619         function names.
12620
12621         * ParagraphParameters.C (ParagraphParameters): remove commented code
12622
12623         * PainterBase.[Ch]: remove commented code
12624
12625         * LaTeXFeatures.h: add "bool floats" for float.sty
12626
12627         * LaTeXFeatures.C (LaTeXFeatures): init floats
12628         (require): handle float
12629         (getPackages): do it with floats
12630
12631 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * BufferView_pimpl.C (Dispatch): improve handling of
12634         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12635
12636         * commandtags.h: #include lyxfont.h here temporarily to avoid
12637         keybinding bug.
12638
12639         * bufferlist.h: include LString.h here.
12640
12641 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12642
12643         * text2.C (getStringToIndex): new method.
12644
12645 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12646
12647         * *: Reduced header file dependencies all over.
12648
12649 2001-07-30  Baruch Even  <baruch@lyx.org>
12650
12651         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12652
12653 2001-07-29  Baruch Even  <baruch@lyx.org>
12654
12655         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12656
12657 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * ParameterStruct.h (endif): add a default constructor to make
12660         sure that all variables is initialized.
12661
12662         * ParagraphParameters.C (ParagraphParameters): adjust
12663
12664 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12665
12666         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12667         index; also, check that there is something to index, and that it
12668         does not span over several paragraphs.
12669         (doubleClick): use WHOLE_WORD_STRICT for double click.
12670
12671         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12672
12673         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12674         scheme.
12675
12676 2001-07-26  Baruch Even  <baruch@lyx.org>
12677
12678         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12679         an InsetFig figure, backwards compatible reading of old figure code.
12680
12681 2001-07-27  Juergen Vigna  <jug@sad.it>
12682
12683         * text2.C: font.realize function adaption.
12684
12685         * text.C (draw): add a warnings lyxerr text if needed.
12686
12687         * layout.C: font.realize function adaption.
12688
12689         * language.C: add inherit_language and implement it's handlings
12690
12691         * bufferview_funcs.C (StyleReset): remove language parameter from
12692         font creation (should be language_inherit now).
12693
12694         * bufferparams.C (writeFile): handle ignore_language.
12695
12696         * paragraph.C (getFontSettings): the language has to be resolved
12697         otherwise we have problems in LyXFont!
12698
12699         * lyxfont.C (lyxWriteChanges): added document_language parameter
12700         (update): removed unneeded language parameter
12701
12702         * paragraph.C (validate): fixed wrong output of color-package when
12703         using interface colors for certain fonts in certain environments,
12704         which should not seen as that on the final output.
12705
12706 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * BufferView_pimpl.C:
12709         * Thesaurus.h:
12710         * Thesaurus.C:
12711         * Makefile.am:
12712         * commandtags.h:
12713         * LyXAction.C: add thesaurus support
12714
12715         * lyxfind.h:
12716         * lyxfind.C: add "once" parameter, for thesaurus, to not
12717           move to the next match
12718
12719 2001-07-26  Juergen Vigna  <jug@sad.it>
12720
12721         * lyxfont.C (realize): honor ignore_language too!
12722         (resolved): ditto.
12723
12724         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12725
12726         * text.C (draw): one place more for ignore_language to not draw
12727         itself!
12728
12729 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12732
12733 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12736         the minipage conversion problem.
12737
12738 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12741         insert an inset.
12742
12743 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * BufferView.h: don't forward declare WorkArea
12746
12747         * BufferView.C: don't include WorkArea.h
12748
12749 2001-07-25  André Pönitz <poenitz@gmx.net>
12750
12751         * commandtags.h:
12752         * LyXAction.C:
12753         * lyxfunc.C:  new LFUN 'math-space'
12754
12755         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12756
12757 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * text2.C (toggleInset): call open/close
12760
12761 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * lyxfunc.C (dispatch): add debug for the disabled case
12764
12765         * font.C (buttonText): make similar to rectText
12766
12767         * buffer.C (readInset): comment out parsing of insetlist and
12768         insttheorem
12769
12770         * PainterBase.C (rectText): small correction
12771
12772         * BufferView_pimpl.C: comment out insettheorem and insetlist
12773         * LyXAction.C: ditto
12774         * commandtags.h: ditto
12775
12776 2001-07-24  Juergen Vigna  <jug@sad.it>
12777
12778         * text.C (draw): honor the ignore_language.
12779
12780         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12781
12782 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12785         char inset.
12786
12787 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12788
12789         * lyxtext.h: remove unused (and unimplemented) methods
12790
12791 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12792
12793         * text.C (getVisibleRow): honor background color
12794
12795         * PainterBase.h:
12796         * Painter.h: remove default color argument for fillRectangle
12797
12798         * text.C (backgroundColor): new method
12799
12800 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * text.C (getVisibleRow): adjust
12803
12804         * font.[Ch] (rectText): new method, metrics
12805         (buttonText): new method, metrics
12806
12807         * PainterBase.[hC]: make rectText and buttonText always draw and take
12808         fewer paramteres.
12809
12810 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12811
12812         * ToolbarDefaults.C (read):
12813         * MenuBackend.C (read): allow escaping in all strings
12814
12815         * BufferView_pimpl.C (insertAndEditInset): new method.
12816         (Dispatch): use insertAndEditInset whenever appropriate.
12817
12818         * BufferView_pimpl.C (insertNote): removed
12819
12820         * BufferView_pimpl.C (smartQuote): new method, moved from
12821         BufferView; if an insetquote cannot be inserted, insert a '"'
12822         character instead.
12823
12824         * BufferView2.C: remove insertCorrectQuote();
12825
12826         * lyxfunc.C (getStatus): Add support for all remaingin
12827         inset-insert lfuns.
12828
12829         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12830
12831         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12832         command (necessary to pass " as parameter of self-insert.
12833
12834         * text.C (selectWordWhenUnderCursor):
12835         (selectWord): add word_location parameter
12836         (selectWordWhenUnderCursor): same + remove special code for word
12837         boundary.
12838         (selectNextWord): use kind() to guess type of insetspecialchar,
12839         not latex().
12840
12841         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12842         (insertErtContents): create ert insets as collapsed.
12843         (readInset): better compatibility code for Info inset.
12844
12845 2001-07-20  Juergen Vigna  <jug@sad.it>
12846
12847         * lyxfunc.C (dispatch): use always LyXFind now!
12848
12849         * text2.C (init): add a reinit flag so that the LyXText can be
12850         reinited instead of deleted and reallocated (used in InsetText).
12851
12852         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12853
12854         * text.C: ditto
12855
12856         * text2.C: ditto
12857
12858 2001-07-18  Juergen Vigna  <jug@sad.it>
12859
12860         * text.C (selectNextWord): handle insets inside inset by calling
12861         always the bv->text functions so that we can go up the_locking_inset!
12862
12863         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12864         in strange locations when inside an inset!
12865
12866         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12867         handling to include insets.
12868
12869         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12870
12871 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * LyXAction.C (init):
12874         * commandtags.h:
12875         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12876         LIGATURE_BREAK, since the name is so stupid.
12877
12878 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12879
12880         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12881         InsetInfos.
12882
12883         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12884
12885         * sp_form.[Ch]: remove.
12886
12887         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12888
12889         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12890         InsetInfo.
12891
12892         * src/buffer.C (readInset): ditto.
12893
12894 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12895
12896         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12897         menuSeparator(), endOfSentenceDot(), ldots() and
12898         hyphenationPoint(), which are therefore removed.
12899         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12900
12901         * LyXAction.C (init):
12902         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12903
12904         * paragraph.C (getWord): removed.
12905
12906         * BufferView_pimpl.C (Dispatch): use last word or selection for
12907         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12908
12909         * lyx_main.C (queryUserLyXDir): do not ask before creating
12910         user_dir, except if it has been named explicitely.
12911
12912 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12915         a document of zero size.
12916
12917 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12918
12919         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12920         approriately in the c-tor and in require().
12921         (getPackages): output the appropriate LaTeX for natbib support.
12922
12923         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12924         variables "use_natbib" and "use_numerical_citations" when reading the
12925         LyX file.
12926         (readInset): read the various natbib cite commands.
12927         (validate): white-space change.
12928
12929         * bufferparams.[Ch]: new variables "bool use_natbib" and
12930         "bool use_numerical_citations".
12931         (writeFile): output them in the LyX file.
12932
12933 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12934
12935         * lyxfunc.C (getStatus): add support for all the inset insertion
12936         commands.
12937
12938         * text2.C (insertInset):
12939         * paragraph.C (insetAllowed):
12940         * BufferView_pimpl.C (insertInset): update to take in account the
12941         renaming of insertInsetAllowed
12942
12943         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12944
12945         * text2.C (getInset): new method. returns inset at cursor position.
12946
12947         * BufferView_pimpl.C (Dispatch): changes because of this.
12948
12949         * LyXAction.C (init): rename open-stuff to inset-toggle.
12950
12951         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12952
12953         * text2.C (toggleInset): renamed from openStuff; use
12954         Inset::open().
12955
12956 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12957
12958         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12959
12960         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12961
12962 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * buffer.C (readLyXformat2): Add filename to the error dialog
12965
12966 2001-07-18  Juergen Vigna  <jug@sad.it>
12967
12968         * tabular.C (GetCellNumber): put an assert here instead of the check!
12969
12970 2001-07-17  Juergen Vigna  <jug@sad.it>
12971
12972         * BufferView_pimpl.C (toggleSelection): adapted too.
12973
12974         * text.C (selectNextWord): adapted for use with insets.
12975         (selectSelectedWord): ditto
12976
12977 2001-07-17  Juergen Vigna  <jug@sad.it>
12978
12979         * sp_spell.C (PSpell): fix initialitation order.
12980
12981 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * paragraph.C: spacing
12984
12985 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12986
12987         * sp_spell.C: repair language selection for pspell
12988
12989 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * lyxfunc.h: change more methods to begin with lower char.
12992
12993 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12996         for unknown layouts.
12997
12998 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (readLyXformat2): Generate an error dialog if there are
13001         unknown layouts.
13002
13003 2001-07-16  Juergen Vigna  <jug@sad.it>
13004
13005         * sp_spell.C: always compile ISpell part.
13006
13007         * lyxrc.C: added use_pspell entry and it's handling.
13008
13009 2001-07-13  Juergen Vigna  <jug@sad.it>
13010
13011         * sp_spell.C: removed double includes.
13012
13013 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         Consistent use of Lsstream.h:
13016         * Lsstream.h: added using std::stringstream for consistencies sake.
13017
13018         * buffer.C: removed using std::stringstream
13019
13020         * lyxfont.C (stateText):
13021         * paragraph.C (asString):
13022         * text.C (selectNextWord, selectSelectedWord):
13023         * text2.C (setCounter):
13024         * vspace.C (asString, asLatexString):
13025         std::ostringstream -> ostringstream.
13026
13027 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13028
13029         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13030         * commandtags.h: add LFUN_HELP_ABOUTLYX
13031         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13032
13033 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13034
13035         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13036         cursorToggle()
13037         * lyx_gui_misc.C: remove spellchecker
13038         * lyxfunc.C: showSpellchecker
13039         * sp_base.h: added
13040         * sp_ispell.h: added
13041         * sp_pspell.h: added
13042         * sp_spell.C: added
13043         * sp_form.[Ch]: removed
13044         * spellchecker.[Ch]: removed
13045
13046 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13047
13048         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13049         is set.
13050         (simpleTeXSpecialChars): Simply print the input character without
13051         any special translation if pass_thru is set.
13052
13053         * layout.h: Added bool pass_thru to layout class for being able to
13054         implement pass through of a paragraph for Literate Programming.
13055
13056         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13057         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13058         * layout.C (Read): add "passthru" to list of layout tags and add
13059         code to set the pass_thru boolean when it is read.
13060
13061 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * trans_decl.h: remove allowed from KmodInfo
13064
13065         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13066         remove allowed code
13067         (Load): adjust
13068
13069         * paragraph_pimpl.C (erase): use boost::prior
13070
13071         * Painter.C (text): use data() instead of c_str() when length is
13072         also provided.
13073         * WorkArea.C (putClipboard): ditto
13074         * font.h (width): ditto
13075
13076         * BufferView2.C: use it-> instead of (*it). for iterators
13077         * texrow.C: ditto
13078         * paragraph_pimpl.C: ditto
13079         * paragraph.C: ditto
13080         * minibuffer.C: ditto
13081         * language.C: ditto
13082         * kbmap.C: ditto
13083         * encoding.C: ditto
13084         * counters.C: ditto
13085         * converter.C: ditto
13086         * chset.C: ditto
13087         * Variables.C: ditto
13088         * TextCache.C: ditto
13089         * MenuBackend.C: ditto
13090         * LyXAction.C: ditto
13091         * LColor.C: ditto
13092         * FloatList.C: ditto
13093         * DepTable.C: ditto
13094         * ColorHandler.C (LyXColorHandler): ditto
13095
13096 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13097
13098         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13099
13100         * text2.C (openStuff): reintroduce this method (which had been
13101         nuked in NEW_INSETS frenzy).
13102
13103         * lyxfunc.C (Dispatch): when an action has not been handled, use
13104         its name in the error message, not its number.
13105
13106         * paragraph.C (inInset): change method name to begin with lowercase.
13107
13108         * undo_funcs.C:
13109         * text2.C: updates because of this.
13110
13111 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13112
13113         * ToolbarDefaults.C (add): add spaces in error message
13114
13115 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13116
13117         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13118         (readLyXformat2): rename return_par to first_par, use lyxlex's
13119         pushToken and remove the manual push handling.
13120         (parseSingleLyXformat2Token): add another ert comp. variable:
13121         in_tabular, rename return_par to first_par. handle newlines better
13122
13123 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13124
13125         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13126
13127 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * text2.C (getParFromID): removed
13130
13131         * buffer.C (getParFromID): new method moved form lyxtext.
13132         * BufferView2.C (insertErrors): adjust
13133         (setCursorFromRow): adjust
13134         * BufferView_pimpl.C (restorePosition): adjust
13135         * lyxfunc.C (Dispatch): adjust
13136         * undo_funcs.C (textUndo): adjust
13137         (textRedo): adjust
13138         (textHandleUndo): adjust
13139         (textHandleUndo): adjust
13140
13141 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * buffer.C: up' the LYX_FORMAT
13144
13145         * lyxfont.h: turn NO_LATEX on as default
13146
13147         * buffer.C (insertErtContents): new methods of tex style compability.
13148         (parseSingleLyXformat2Token): use it several places.
13149         * tabular.C (OldFormatRead): and here
13150
13151 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * text2.C: remove some commented code.
13154         reindent file.
13155
13156         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13157         * trans.C: changes because of the above.
13158
13159 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * text2.C (setCounter): Fix counters bug with bibliography layout.
13162
13163 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13166         own member functions
13167         (simpleTeXSpecialChars): ditto
13168
13169 2001-07-06  Juergen Vigna  <jug@sad.it>
13170
13171         * a lot of files: changed the access to LyXText::status and the
13172         call of undo-functions.
13173
13174         * undo.[Ch]: added a inset_id to the undo informations.
13175
13176         * undo_funcs.[Ch]: added and moved here all undo functions.
13177
13178         * lyxtext.h: give the status enum a weight, made status_ a private
13179         variable and made accessor functions for it, removed the whole bunch
13180         of undo-functions as they are now in their own file, make some
13181         functions publically available. Added function ownerParagraph with
13182         int parameter.
13183
13184         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13185         made InInset() a const function, added getParFromID() function.
13186
13187         * buffer.[Ch]: added const version for inset_iterator functions,
13188         added getInsetFromID() function.
13189
13190         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13191         changed undo functions for new version.
13192
13193 2001-07-05  Juergen Vigna  <jug@sad.it>
13194
13195         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13196         unknow mechanism does not call the proper constructor but only this
13197         one also if I request the other!?
13198
13199 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13202
13203         * text2.C (LyXText): use initialization lists.
13204
13205         * lyxtext.h (Selection): initialize set_ and mark_
13206         (init): remove method
13207
13208 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13209
13210         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13211
13212 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * screen.[Ch]: change method names to begin with lowercase
13215
13216         * BufferView_pimpl.C (updateScrollbar): simplify further and
13217         hopefully make it a bit faster.
13218
13219 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13222         calling directly xforms functions.
13223
13224         * Painter.C (Painter):
13225         * lyx_cb.C (MenuWrite):
13226         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13227         fl_display.
13228
13229         * lyx_gui.C: remove bogus guiruntime extern declaration.
13230
13231 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13234         in NEW_INSETS
13235         (redoDrawingOfParagraph): ditto
13236         (redoParagraphs): ditto
13237         (cutSelection): don't create a object for CutAndPaste use the
13238         static method directly
13239         (pasteSelection): ditto
13240
13241         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13242         LyXview (+ rename)
13243
13244 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * modifications to some other files because of this.
13247
13248         * Makefile.am (lyx_SOURCES): add XFormsView
13249
13250         * XFormsView.[Ch]: new files
13251
13252         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13253         the main window. Move the gui dependent stuff to XFormsView
13254
13255 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13256
13257         * tabular.C (GetCellInset): update cur_cell also in the row/col
13258         version of this function.
13259
13260         * lyxfunc.C: no need to include figure_form.h here.
13261
13262         * FontLoader.h:
13263         * lyxfunc.h:
13264         * lyxscreen.h:
13265         * text2.C:
13266         * lyxvc.C: no need to include forms.h here.
13267
13268 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13271
13272         * lyxfunc.C (Dispatch):
13273         * Spacing.C (set):
13274         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13275         constructor argument.
13276
13277 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * paragraph.C (Paragraph): dont't clear, and just set layout.
13280         (makeSameLayout): use params's copy contructor.
13281
13282         * ParagraphParameters.[Ch] (makeSame): delete method
13283
13284 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * Variables.[Ch]: fix indentation, rename set to isSet
13287
13288 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * lyxfunc.C (Dispatch): fix typo
13291
13292 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13293
13294         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13295         upper_bound.
13296
13297         * bufferlist.C: include assert.h for emergencyWrite().
13298
13299 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13300
13301         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13302           give up at last (bug #425202) !
13303
13304 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * lyx_gui_misc.C:
13307         * sp_form.h:
13308         * sp_form.C:
13309         * spellchecker.h:
13310         * spellchecker.C: strip spellchecker options and bring up
13311           preferences tab instead
13312
13313 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13316         the istringstream constructor
13317
13318 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * paragraph.C (getLayout): fix return value
13321
13322         * paragraph.h: do not declare getLayout as inline.
13323
13324         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13325
13326 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * lyxcursor.h (operator<): new func
13329         (operator>): new func
13330         (operator>=): new func
13331         (operator<=): new func
13332
13333         * text.C (changeCase): use selection.start and selection.end
13334         (changeRegionCase): require from to be <= to. Require par to be a
13335         valid paragraph.
13336
13337         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13338
13339 2001-06-27  Juergen Vigna  <jug@sad.it>
13340
13341         * text.C (cursorLeftOneWord): changed to return the cursor and added
13342         overlay with BufferView * parameter which calls this one.
13343         (getWord): added
13344         (selectWord): use new getWord function.
13345         (changeCase): renamed from changeWordCase as and extended to work
13346         also on selections.
13347
13348         * lyxtext.h: added enum word_location
13349
13350         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13351         changeCase as this operates now also on selections.
13352
13353 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13354
13355         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13356
13357         * many files: send debug output to Debug::INFO instead of
13358         Debug::ANY.
13359
13360         * converter.C (View):
13361         (Convert):
13362         (Move): send debug output to Debug::FILES instead of console.
13363
13364 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13365
13366         * lyxfunc.C (getStatus): use func_status
13367
13368         * func_status.h: new header, describing the results of
13369         LyXFunc::getStatus;
13370
13371         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13372         LFUN_MATH_HALIGN.
13373
13374 2001-06-25  The LyX Project  <jug@sad.it>
13375
13376         * buffer.C (sgmlOpenTag):
13377         (sgmlCloseTag):
13378         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13379
13380 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * text2.C: remove some dead code
13383
13384         * tabular.C (GetCellInset): store the last cell checked (gotten)
13385
13386         * tabular.h: add the helper for the speedup
13387
13388         * lyxtext.h: remove some dead code
13389
13390 2001-06-26  The LyX Project  <Asger>
13391
13392         * paragraph.C: Change export to LaTeX of alignment to
13393         \begin{center} and family for better roundtrip work with reLyX.
13394
13395         * Tune the math drawing a bit.
13396
13397 2001-06-25  The LyX Project  <Asger>
13398
13399         * LColor.C (LColor): New color for math background. New color
13400         for buttons.
13401
13402 2001-06-25  The LyX Project  <jug@sad.it>
13403
13404         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13405
13406         * lyxfunc.C (Open):
13407         * bufferlist.C (newFile): do not restrict to files ending with
13408         .lyx
13409
13410         * BufferView_pimpl.C (MenuInsertLyXFile):
13411
13412 2001-06-24  The LyX Project  <jug@sad.it>
13413
13414         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13415         of compare_no_case
13416
13417 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * lyxtext.h: rename most methods to begin with a small char.
13420         Lots of changes because of this.
13421
13422         * paragraph.C (Paragraph): do not call fitToSize
13423         (erase): call Pimpl::erase
13424         (insertChar): call Pimpl::insertChar
13425         (insertInset): call Pipl::insertInset
13426         (breakParagraph): do not call fitToSize
13427         (breakParagraphConservative): do not call fitToSize
13428         (fitToSize): remove method
13429
13430         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13431
13432 2001-06-24  The LyX Project  <Asger>
13433
13434         * Fix Qt compilation^2
13435
13436 2001-06-24  The LyX Project  <jug@sad.it>
13437
13438         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13439         depthHook(getDepth()-1).
13440
13441         * paragraph.h:
13442         * ParagraphParameters.h:
13443         * ParameterStruct.h: change type of depth to unsigned int ==
13444         depth_type. Many adaptations to other files before of that.
13445
13446 2001-06-24  The LyX Project  <Asger>
13447
13448         * Fix Qt compilation.
13449
13450 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * paragraph.h: renamed several methods to begin with small letter.
13453         several changes to many parts of the code because of this.
13454
13455 2001-06-23  The LyX Project  <jug@sad.it>
13456
13457         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13458         rewritten to discard all double spaces when KeepEmpty is off
13459         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13460         to only handle newlines but not fiddle with spaces and friends.
13461
13462         * lyxfunc.C (MenuNew): when doing 'new from template', use
13463         template_path as default directory
13464
13465 2001-06-23  The LyX Project  <Asger>
13466
13467         * Clean-up of header file includes all over
13468         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13469
13470 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * paragraph.h: renamed from lyxparagraph.h
13473
13474 2001-06-23  Asger  <lyx@violet.home.sad.it>
13475
13476         * Buffer.h: Removed Buffer::resize
13477         * BufferList.h: Removed BufferList::resize
13478         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13479         the document lazily when we change the width, or the font settings.
13480
13481 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13484
13485 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13486
13487         * buffer.h: remove out of date comment
13488
13489 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * lyxscreen.h:
13492         * screen.C: fix "theoretical" GC leak
13493
13494 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13495
13496         * LaTeX.C (scanAuxFile):
13497         (deplog): remove trailing \r when reading stream (useful under
13498         win32)
13499
13500 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13501
13502         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13503         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13504         and BufferView::theLockingInset(Inset*), so should use them and not
13505         access bv_->text->the_locking_inset directly.
13506
13507         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13508
13509 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * Makefile.am:
13512         * tex-defs.h: remove old unused file
13513
13514 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * BufferView_pimpl.C: fix typo, remove minibuffer message
13517           when buffer has loaded
13518
13519 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * lyxfunc.C (Dispatch): use stringstream
13522         (MenuNew): use stringstream
13523         (Open): use stringstream
13524
13525         * importer.C (Import): use stringstream
13526
13527         * bufferview_funcs.C (CurrentState): use stringstream
13528
13529         * LaTeX.C (run): use stringstream
13530
13531         * BufferView_pimpl.C (savePosition): use stringstream
13532         (restorePosition): use stringstream
13533         (MenuInsertLyXFile): use stringstream
13534
13535 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13536
13537         * BufferView.C:
13538         * Bullet.C:
13539         * ColorHandler.C:
13540         * FontInfo.C:
13541         * FontLoader.C:
13542         * LColor.C:
13543         * LaTeXFeatures.C:
13544         * Painter.C:
13545         * gettext.C:
13546         * lyx_gui_misc.C:
13547         * lyxserver.C:
13548         * vspace.C: removed // -*- C++ -*- as first line.
13549
13550         * lyxfind.h:
13551         * version.h: added // -*- C++ -*- as first line.
13552
13553 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13554
13555         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13556
13557         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13558         of string
13559
13560 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13563         of floats.
13564
13565 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * gettext.C: include LString.h even when --disable-nls is on.
13568
13569 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * converter.h (Get): changed argument type from int to
13572         FormatList::size_type to avoid unnecessary conversion.
13573
13574         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13575         before using it.
13576
13577 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * gettext.h: include LString.h even when --disable-nls is on.
13580
13581 2001-06-07  Juergen Vigna  <jug@sad.it>
13582
13583         * text.C (BreakAgain): subst spaces with tabs.
13584
13585         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13586         (resizeInsetsLyXText): set force on resizeLyXText.
13587
13588 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * gettext.h (gettext_init):
13591         (locale_init): use a real definition instead of a macro
13592
13593 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * Bufferview_pimpl.C:
13596         * LColor.h:
13597         * LColor.C: further lcolor tidies
13598
13599 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * BufferView_pimpl.C (updateScrollbar): simplify.
13602
13603         * BufferView2.C: don't include insets/insetinfo.h, change
13604         prototype for insertInset and call the Pimpl version. let
13605         updateInset call Pimpl version.
13606
13607         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13608         gotoInset to BufferView::Pimpl
13609
13610 2001-06-01  Juergen Vigna  <jug@sad.it>
13611
13612         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13613         inside a LockingInset (is the update needed at all?).
13614
13615 2001-05-31  Juergen Vigna  <jug@sad.it>
13616
13617         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13618         here not the old one otherwise how should we compare it afterwards
13619         if it's the same!
13620
13621 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * lyxfont.C:
13624         * tabular.C:
13625         * tabular-old.C:
13626         * FontInfo.C: bring C functions into global namespace when
13627         necessary
13628
13629 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * LString.h: make sure config.h has been loaded before LString.h.
13632
13633         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13634         (one for each char read by EatLine!).
13635
13636         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13637         variables.
13638
13639 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13642         to the same as the par we break from
13643
13644 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13647
13648         * MenuBackend.C (expand): also create menu entries for wide
13649         versions of the floats.
13650
13651         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13652
13653         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13654
13655         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13656         frontends/Makefile.am
13657
13658         * text2.C: adjust
13659         * text.C: adjust
13660
13661
13662         * tabular.C (getTokenValue): add std::
13663
13664         * tabular-old.C (getTokenValue): add std::
13665         (getTokenValue): ditto
13666         (getTokenValue): ditto
13667
13668         * screen.C (ToggleSelection): adjust
13669
13670         * lyxtext.h: put selection cursors inside a Selection struct.
13671
13672         * lyxfunc.C (moveCursorUpdate): adjust
13673
13674         * lyxfont.C (latexWriteStartChanges): add std::
13675
13676         * lyxfind.C: adjust
13677
13678         * font.h: delete with(char const *, LyXFont const &)
13679
13680         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13681
13682         * FontInfo.C (getFontname): add std::
13683
13684         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13685         (workAreaButtonPress): adjust
13686         (tripleClick): adjust
13687         (update): adjust
13688         (moveCursorUpdate): adjust
13689         (Dispatch): adjust
13690
13691         * BufferView2.C (gotoInset): adjust
13692
13693 2001-05-30  Juergen Vigna  <jug@sad.it>
13694
13695         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13696         to check pspell I add this as default as I now have new pspell
13697         libraries and they seem to use this.
13698
13699 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * text2.C (CutSelection): make the cursor valid before the call to
13702         ClearSelection.
13703
13704 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13707         relied on 0 terminated strings and other horrors. Bug found due to
13708         the new assert in lyxstring!
13709
13710         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13711         KP_ keys.
13712
13713 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13716         to latinkeys.bind.
13717
13718         * lyxfunc.C (processKeySym): change method of getting to the
13719         self-insert char.
13720
13721         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13722         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13723         * BufferView_pimpl.[Ch]: here as private methods.
13724
13725 2001-05-28  Juergen Vigna  <jug@sad.it>
13726
13727         * text.C (SetHeightOfRow): added the update() call again as it is
13728         needed to initialize inset dimensions!
13729
13730 2001-05-16  Juergen Vigna  <jug@sad.it>
13731
13732         * text2.C (SetCharFont): Add new function with BufferView * and
13733         bool toggleall parameters for setting insets internal fonts.
13734         (SetFont): Freeze the undo as we may change fonts in Insets and
13735         all this change should be inside only one Undo!
13736
13737         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13738         setting font's in insets as for them we have the SetFont function!
13739
13740 2001-05-15  Juergen Vigna  <jug@sad.it>
13741
13742         * text2.C (ClearSelection): to be sure we REALLY don't have any
13743         selection anymore!
13744
13745         * tabular.C (TeXCellPreamble): fixed the left border problem for
13746         multicolumn cells.
13747
13748 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13749
13750         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13751         dependancy file
13752
13753 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13754
13755         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13756         LFUN_BREAKPARAGRAPH.
13757
13758         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13759         help test to "internal only", similar for LFUN_INSERT_URL
13760
13761         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13762         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13763         auto_region_delete and deadkeys.
13764
13765 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13766
13767         * LColor.h:
13768         * LColor.C: remove some dead entries, tidy a little
13769
13770 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13773         commented code.
13774         (Dispatch): implement LFUN_ESCAPE
13775
13776         * commandtags.h: add LFUN_ESCAPE
13777
13778         * LyXAction.C (init): add entry for LFUN_ESCAPE
13779
13780         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13781         Remove commented code.
13782         (insertNote): moved here
13783         (open_new_inset): moved here
13784
13785         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13786         BufferView_pimpl
13787
13788 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * kbmap.C (findbinding): clean it up and make it work correctly.
13791
13792         * lyx_main.C (init): do not pass argc and argv as parameters
13793
13794 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13795
13796         * buffer.C: fix path for OS/2 & Win32
13797
13798         * lyx_gui.C:
13799         * lyx_main:
13800         * lyx_main.C: Added os:: class.
13801
13802         * os2_defines.h: update
13803
13804 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13807         better by trying again with reduced state.
13808
13809 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * lyxrc.C (read): print error about invalid key sequence only when
13812         debugging (because not all latinX keysyms are known to some X
13813         servers)
13814
13815         * kbsequence.C (getiso): add a few std:: qualifiers
13816         (getiso): comment out extra return statement.
13817
13818 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13821         handling.
13822         (Dispatch): enhance the accent inset a bit. (not perfect)
13823
13824 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13827
13828 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * bufferlist.C (emergencyWrite): fix assert() call
13831
13832 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13833
13834         * text.C (InsertChar): Added trivial patch to only send the "you
13835         can not do multiple spaces this way" message once during a
13836         session.
13837
13838 2001-05-08  Baruch Even  <baruch@lyx.org>
13839
13840         * Makefile.am: Changed order of libraries to get LyX to link properly
13841         with the gnome frontend.
13842
13843 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * LaTeXFeatures.h: add a std:: qualifier
13846
13847 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13848
13849         * paragraph.C (String): use stringstream
13850
13851 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * paragraph.C (writeFile): remove footflag arg
13854
13855         * buffer.C (makeLaTeXFile): use stringstream
13856         (latexParagraphs): remove footnot gurba
13857
13858         * LaTeXFeatures.C (getPackages): use stringstream
13859         (getMacros): likewise
13860         (getTClassPreamble): likewise
13861         (getFloatDefinitions): new method
13862
13863         * paragraph.C (writeFile): reindent
13864         (Erase): reindent
13865
13866         * WorkArea.h: revert the xpos + etc changes.
13867
13868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13869
13870         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13871
13872         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13873         (pasteSelection): likewise
13874         * text2.C (CreateUndo): likewise
13875
13876 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * minibuffer.C (peek_event): temporarily reduce the functionality
13879         of the minibuffer (to allow args on lfuns)
13880
13881         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13882         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13883
13884         * buffer.C (readInset): add compability reading of old float
13885         lists, add reading of new style float list.
13886         (readInset): avoid reevaluation of inscmd.getCmdName()
13887         (getLists): reindent
13888
13889         * MenuBackend.C (MenuItem): implement parsing of
13890         md_floatlistinsert and md_floatinsert.
13891         (expand::LastFiles): move initalizaton of iterators out of loop,
13892         avoid reevaluation.
13893         (expand::Documents): introduce typdedef vector<string> Strings,
13894         and use it.
13895         (expand::ExportFormats): introduce typedef vector<Format const *>
13896         Formats, and use it.
13897         (expand): implement FloatListInsert and FloatInsert.
13898
13899         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13900         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13901         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13902
13903         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13904         handling.
13905         (Dispatch::LFUN_FLOAT_LIST): implement
13906
13907 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13908
13909         * LaTeX.C (run): Fix problem with --export code.
13910
13911 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * BufferView.[Ch] (workarea): removed.
13914         (getClipboard) new method; wrapper for workarea()->getClipboard()
13915
13916         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13917         bug.
13918
13919         * WorkArea.h (width, height, xpos, ypos): These methods all
13920         returned the dimensions of the work_area sub-area of WorkArea,
13921         resulting in a position error if the WorkArea were resized. Now
13922         return the dimensions of the entire WorkArea.
13923
13924         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13925
13926 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * LaTeX.C (deplog): correct the syntax of regex reg1
13929
13930 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13931
13932         * undo.C: remove !NEW_INSETS cruft
13933
13934 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * text2.C: remove !NEW_INSETS cruft
13937
13938         * text.C: remove !NEW_INSETS cruft
13939
13940         * tabular.C: remove !NEW_INSETS cruft
13941
13942         * spellchecker.C: remove !NEW_INSETS cruft
13943
13944         * lyxtext.h: remove !NEW_INSETS cruft
13945
13946         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13947
13948         * lyxfunc.C: remove !NEW_INSETS cruft
13949
13950         * lyxfind.C: remove !NEW_INSETS cruft
13951
13952         * lyx_cb.C: remove !NEW_INSETS cruft
13953
13954         * figureForm.C: remove  !NEW_INSETS cruft
13955
13956         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13957
13958         * buffer.[Ch]: remove !NEW_INSETS cruft
13959
13960         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13961
13962         * CutAndPaste.C: remove !NEW_INSETS cruft
13963
13964         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13965
13966         * BufferView2.C: remove !NEW_INSETS cruft
13967
13968         * BufferView.h: remove !NEW_INSETS cruft
13969
13970 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * Lsstream.h: include LString.h before the sstream headers to
13973         fix problem with gcc 2.95.3 and lyxstring
13974
13975 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * lyx_main.C: add using directives when needed for C functions
13978         declared in std:: namespace.
13979
13980 2001-04-27  Juergen Vigna  <jug@sad.it>
13981
13982         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13983         (SetHeightOfRow): comment out the update call should not be needed!
13984
13985 2001-04-13  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13988         (LyXTabular): tried to minimize operator= operations (and realized
13989         hopfully Lars wish).
13990
13991 2001-04-27  Juergen Vigna  <jug@sad.it>
13992
13993         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13994
13995 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13998
13999         * buffer.C (readInset): hack to make listof algorithm work
14000
14001         * BufferView_pimpl.C: hack to make listof algorithm work
14002
14003 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14004
14005         * LyXAction.C: removed all !NEW_INSETS cruft
14006         (init): moved lfun_item in method
14007
14008         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14009
14010 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * BufferView2.C (theLockingInset): white space.
14013
14014 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * minibuffer.C: include <iostream>
14017
14018         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14019
14020         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14021
14022         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14023
14024         * text.[Ch] (TransposeChars): new method
14025
14026 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14027
14028         * call message directly through LyXView instead of through LyXFunc
14029         * BufferView2.C: adjust
14030         * BufferView_pimpl.C: adjust
14031         * FontLoader.C: adjust
14032         * buffer.C: adjust
14033         * bufferview_funcs.C: adjust
14034         * converter.C: adjust
14035         * figureForm.C: adjust
14036         * importer.C: adjust
14037         * lyx_cb.C: adjust
14038         * lyx_gui_misc.C: adjust
14039         * lyxfunc.C: adjust
14040         * lyxvc.C: adjust
14041         * text2.C: adjust
14042         + more files in subdirs
14043
14044         * lyxparagraph.h (size): move up int file
14045         (GetLayout): ditto
14046
14047         * adjust all uses of Assert to lyx::Assert.
14048
14049         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14050         lyxfunctional in namespace lyx
14051         * layout.C (hasLayout): ditto
14052         (GetLayout): ditto
14053         (GetLayout): ditto
14054         (delete_layout): ditto
14055         (NumberOfClass): ditto
14056         * converter.C (GetFormat): ditto
14057         (GetNumber): ditto
14058         (Add): ditto
14059         (Delete): ditto
14060         (SetViewer): ditto
14061         * bufferlist.C (getFileNames): ditto
14062         (emergencyWriteAll): ditto
14063         (exists): ditto
14064         (getBuffer): ditto
14065         * MenuBackend.C (hasSubmenu): ditto
14066         (hasMenu): ditto
14067         (getMenu): ditto
14068         * BufferView_pimpl.C (getInsetByCode): ditto
14069
14070 2001-04-18  Juergen Vigna  <jug@sad.it>
14071
14072         * vspace.C (asLatexString): fixed the 100% problem.
14073
14074 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * lyxfunc.C (Dispatch):
14077         * minibuffer.C:
14078         * minibuffer.h: add a few std:: qualifiers
14079
14080 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * minibuffer.[Ch]: reimplement so that commands is initiated and
14083         run from lyxfunc, simplified som handling, and made the completion
14084         and history code for complete. wip.
14085
14086         * lyxfunc.C (processKeySym): call message
14087         (miniDispatch): new temporary method
14088         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14089         (LFUN_MESSAGE): implement
14090         (LFUN_MESSAGE_PUSH): implement
14091         (LFUN_MESSAGE_POP): implement
14092         (initMiniBuffer): the initial/defualt minibuffer message.
14093
14094         * lyxfont.[Ch]: inline some more getters
14095
14096         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14097
14098         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14099
14100         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14101         (AutoSave): use LFUN_MESSAGE
14102         (Reconfigure): ditto
14103
14104         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14105
14106         * figureForm.C: use LFUN_MESSAGE
14107
14108         * converter.C (runLaTeX): use LFUN_MESSAGE
14109
14110         * bufferview_funcs.C: use LFUN_MESSAGE
14111         (Melt): ditto
14112         (changeDepth): ditto
14113
14114         * bufferparams.h: use boost::
14115
14116         * bufferlist.h: inherit privately from noncopyable
14117
14118         * bufferlist.C (loadLyXFile): remove some commented code.
14119
14120         * buffer.C (runChktex): use LFUN_MESSAGE
14121
14122         * ShareContainer.h: inherit privately from noncopyable
14123
14124         * ParagraphParameters.[hC] (depth): inline it.
14125
14126         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14127         methods.
14128         (message): new method
14129         (messagePush): ditto
14130         (messagePop): ditto
14131         (show): init minibuffer
14132         (showState): direct call
14133
14134         * LaTeX.[Ch]: inherit privately from noncopyable
14135         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14136         instead of WriteStatus.
14137
14138         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14139
14140         * BufferView_pimpl.C (buffer): don't init minibuffer
14141         (workAreaButtonPress): use LFUN_MESSAGE
14142         (workAreaButtonRelease): ditto
14143         (savePosition): ditto
14144         (restorePosition): ditto
14145         (MenuInsertLyXFile): ditto
14146         (workAreaExpose): don't init minibuffer
14147         (update): remove commented code, simplify
14148
14149         * BufferView2.C (openStuff): use LFUN_MESSAGE
14150         (toggleFloat): ditto
14151         (menuUndo): ditto
14152         (menuRedo): ditto
14153         (copyEnvironment): ditto
14154         (pasteEnvironment): ditto
14155         (copy): ditto
14156         (cut): ditto
14157         (paste): ditto
14158         (gotoInset): ditto
14159         (updateInset): remove some commented code
14160
14161         * lastfiles.h: inherit privately from noncopyable
14162         * layout.h: ditto
14163         * lyx_gui.h: ditto
14164         * lyx_main.h: ditto
14165         * lyxlex.h: ditto
14166         * lyxlex_pimpl.h: ditto
14167
14168         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14169         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14170         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14171
14172         * LyXAction.h: inherit privately from noncopyable, add methods
14173         func_begin, func_end, returning iterators to the func map.
14174
14175         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14176         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14177         (func_begin): new method
14178         (func_end): new method
14179
14180         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14181         and not)
14182         (copySelection): ditto
14183         (pasteSelection): ditto
14184
14185         * BufferView.C: whitespace change
14186         * BufferView.h: inherit privately from noncopyable
14187
14188 2001-04-16  Allan Rae  <rae@lyx.org>
14189
14190         * tabular-old.C (l_getline):
14191         * spellchecker.C (sc_check_word):
14192         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14193         an unrecognised preprocessor directive.  So ensure they're wrapped.
14194
14195 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14196
14197         * src/exporter.C (Export): Give an error message when path to file
14198         contains spaces.
14199
14200 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * LaTeX.C (deplog): Always check that foundfile exists.
14203
14204 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * lyx_main.h:
14207         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14208
14209 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * tabular.[Ch] (getLabelList): implement new method
14212
14213         * minibuffer.h: comment ouf setTiimer
14214
14215         * minibuffer.C (ExecutingCB): constify res
14216         (peek_event): constify s
14217         (Set): constify ntext
14218         (Init): constify nicename
14219
14220         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14221
14222         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14223         (savePosition): use two params to Minibuffer::Set
14224         (restorePosition): ditto
14225
14226 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * lyx_main.C: include language.h
14229
14230         * Makefile.am (lyx_main.o): add language.h
14231
14232 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * exporter.C:
14235         * paragraph.C:
14236         * screen.C:
14237         * tabular.C:
14238         * CutAndPaste.C: include gettext.h
14239
14240         * lyxfont.h: remove old hack with ON and OFF.
14241
14242         * lyxparagraph.h:
14243         * lyxfont.h: do not include language.h...
14244
14245         * BufferView2.C:
14246         * LaTeXFeatures.C:
14247         * Painter.C:
14248         * bufferview_funcs.C:
14249         * font.C:
14250         * lyxfont.C:
14251         * text.C:
14252         * text2.C:
14253         * trans_mgr.C:
14254         * paragraph.C: ... but do it here instead
14255
14256 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14259
14260         * tabular.C: small reformat
14261
14262         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14263         NEW_INSETS version
14264         (GetChar): ditto
14265         (BreakParagraph): ditto
14266         (SetOnlyLayout): ditto
14267         (SetLayout): ditto
14268
14269         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14270         with one arg less.
14271
14272         * lastfiles.C: removed most using decl, add std:: where needed
14273
14274         * buffer.C: ws changes
14275
14276         * MenuBackend.C (class compare_format): put into anon namespace
14277         (expand): constify label, names, action, action2
14278         (expand):
14279
14280         * text.C (SingleWidth): constify font
14281         (IsBoundary): constify rtl2
14282         (GetVisibleRow): constify ww
14283
14284         * LaTeX.C (deplog): constify logfile
14285
14286         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14287         start_x, end_x
14288         (workAreaExpose): constify widthChange, heightChange
14289
14290         * lyxrow.C (par): moved
14291         (height): moved
14292         (next): moved
14293         * lyxrow.h: as inlines here
14294
14295         * lyxfont.h (shape): moved from lyxfont.C
14296         (emph): moved from lyxfont.C
14297
14298         * lyxfont.C (LyXFont): use initialization list for all
14299         constructors
14300         (shape): move to lyxfont.h as inline
14301         (emph): move to lyxfont.h as inline
14302
14303
14304 2001-04-04  Juergen Vigna  <jug@sad.it>
14305
14306         * vspace.C: had to include stdio.h for use of sscanf
14307
14308 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * BufferView.h:
14311         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14312         independent of xforms.
14313
14314 2001-04-02  Juergen Vigna  <jug@sad.it>
14315
14316         * spellchecker.C: fixed namespace placing!
14317
14318 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14319
14320         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14321         the LyXParagraph * is 0.
14322
14323 2001-03-29  Juergen Vigna  <jug@sad.it>
14324
14325         * vspace.C: added support for %, c%, p%, l%.
14326         (stringFromUnit): added helper function.
14327         (asLatexString): changed to give right results for the %-values.
14328
14329         * buffer.C: convert the widthp in a width%.
14330
14331 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14332
14333         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14334         figureForm.[Ch].
14335
14336         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14337         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14338
14339         * lyx_cb.[Ch]: see above.
14340
14341         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14342         form1.[Ch].
14343
14344         * form1.[Ch]:
14345         * lyx.[Ch]: replaced by figure_form.[Ch].
14346
14347         * lyx_gui.C:
14348         * lyx_gui_misc.C:
14349         * lyxfunc.C: changed headers associated with above changes.
14350
14351 2001-03-27  Juergen Vigna  <jug@sad.it>
14352
14353         * BufferView_pimpl.C: set the temporary cursor right!
14354
14355 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14356
14357         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14358
14359 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14360
14361         * LString.h: removed "using std::getline"!
14362
14363         * BufferView_pimpl.C (Dispatch): changes due to changes in
14364         InsetInclude::Params.
14365
14366         * buffer.C (tag_name): removed redundant break statements as they were
14367         producing lots of warnings with my compiler.
14368
14369 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * LString.h: add "using std::getline" when using the real <string>.
14372
14373 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14374
14375         * buffer.C: removed bitset usage.
14376         PAR_TAG moved to an anonymous name space.
14377         (tag_name): new funtion, also in the anonymous namespace.
14378         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14379         (makeDocBookFile): clean code. Completed transition from string arrays
14380         to string vectors.
14381         (SimpleDocBookOnePar): code clean.
14382
14383 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14384
14385         * tabular.C: add some comments.
14386
14387 2001-03-22  Juergen Vigna  <jug@sad.it>
14388
14389         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14390         compatibility read a bit and fixed bug with minipage in different
14391         depth.
14392
14393 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14394
14395         * buffer.C (pop_tag): removed.
14396         (push_tag): removed.
14397         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14398         array replaced with vector. Added support for CDATA sections.
14399         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14400         at any nest level.
14401         (makeDocBookFile): XML conformant declaration of CDATA section,
14402         fixed bug related to <emphasis> in the first paragraph char.
14403         (sgmlOpenTag): exclude empty tags.
14404         (sgmlCloseTag): ditto.
14405
14406         * buffer.h (pop_tag): removed.
14407         (push_tag): removed.
14408
14409 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14410
14411         * language.h (Languages): added size_type and size().
14412
14413 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14414
14415         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14416         response on compability reading of minipages. One probliem is that
14417         the old usage of minipages was «flertydig»
14418
14419         * several files here and in subdirs: don't use static at file
14420         scope use anon namespaces instead.
14421
14422 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14423
14424         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14425         LaTeX output. This is necessary for Literate document
14426         processing.
14427
14428 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14429
14430         * buffer.C: insert hfill when needed.
14431
14432         * tabular.C (l_getline): use string::erase, small whitespace change.
14433
14434         * BufferView_pimpl.C: try the anon namespace.
14435         * WorkArea.C: ditto
14436
14437 2001-03-16  Juergen Vigna  <jug@sad.it>
14438
14439         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14440         otherwise it won't open options-dialogs.
14441
14442         * buffer.C: honor pextraWidth(p) on converting minipages.
14443
14444         * tabular.C (l_getline): changed the functions to strip trailing \r.
14445
14446 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14447
14448         * BufferView_pimpl.C:
14449         * minibuffer..C: added "using SigC::slot" declaration.
14450
14451 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14452
14453         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14454
14455         * text2.C: ditto
14456
14457         * text.C: ditto
14458
14459         * paragraph.C: ditto
14460
14461         * lyxtext.h: NO_PEXTRA
14462
14463         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14464
14465         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14466         * ParameterStruct.h: ditto
14467         * ParagraphParameters.h: ditto
14468         * lyxparagraph.h: ditto
14469
14470 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14471
14472         * buffer.C: add compability for minipage alignment.
14473         (latexParagraphs): remove unwanted pextra check.
14474
14475         * several files: remove CXX_WORKING_NAMESPACES
14476
14477         * buffer.C (pop_tag): tie is in namespace boost
14478
14479         * BufferView.h: noncopyable is in namespace boost
14480         * lyxlex.h: ditto
14481         * lyx_main.h: ditto
14482         * lyx_gui.h: ditto
14483         * layout.h: ditto
14484         * lastfiles.h: ditto
14485         * bufferlist.h: ditto
14486         * ShareContainer.h: ditto
14487         * LyXView.h: ditto
14488         * LyXAction.h: ditto
14489         * LaTeX.h: ditto
14490
14491 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * Merging changes from BRANCH_MVC back into HEAD.
14494
14495         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14496
14497 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * BufferView_pimpl.C: change from intl.C
14500
14501         * combox.h:
14502         * combox.C:
14503         * Makefile.am: move combox.*
14504
14505         * form1.h:
14506         * form1.C:
14507         * lyx_gui.C:
14508         * intl.h:
14509         * intl.C: remove dialog (covered by prefs)
14510
14511 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14512
14513         * lyxfunc.C (Dispatch): removed redundant break statement.
14514
14515 2001-03-14  Juergen Vigna  <jug@sad.it>
14516
14517         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14518
14519 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14520
14521         * buffer.C: add hack to fix compability reading of minipages.
14522
14523 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14524
14525         * buffer.C (getLists): Cleanup.
14526
14527 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * lyxfont.C (update): don't honor toggleall on font size.
14530
14531 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * bmtable.c:
14534         * bmtable.h:
14535         * Makefile.am: moved to frontends/xforms/
14536
14537         * lyx_gui_misc.C:
14538         * lyxfunc.C:
14539         * BufferView_pimpl.C: changes for moved mathpanel
14540
14541 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14542
14543         * gettext.h: fix gettext_init() in --disable-nls
14544
14545 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14548
14549 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * lyx.C:
14552         * lyx.h: strip external form
14553
14554 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * BufferView_pimpl.C: add comment, destroySplash()
14557
14558 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14559
14560         * BufferView_pimpl.C:
14561         * LyXAction.C:
14562         * buffer.C:
14563         * commandtags.h:
14564         * lyxfunc.C: use re-worked insetinclude
14565
14566 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14567
14568         * buffer.C: add using std::stringstream.
14569
14570         * lyx_cb.C: readd using std::ios.
14571
14572         * buffer.C: add using std::map.
14573
14574         * BufferView_pimpl.C: add using std::vector.
14575
14576         * ShareContainer.h: add std:: to swap.
14577
14578         * buffer.h: add some typedefs
14579         * buffer.C (getLists): use them
14580         (getLists): renamed from getTocList.
14581         add a counter for the different float types and use it in the
14582         generated string.
14583         (getLists): use the same counter for the NEW_INSETS and the "non"
14584         NEW_INSETS
14585
14586         * lyx_cb.h: remove unused items, includes, using etc.
14587
14588         * ShareContainer.h: remove some commented code, add more comments
14589         and "documentation".
14590
14591 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14592
14593         * buffer.C (getTocList): make the list also when NEW_INSETS is
14594         defined.
14595
14596         * buffer.h: remove TocType
14597
14598         * buffer.C (getTocList): change to return a map<string,
14599         vector<TocItem> >, implement for dynamic number of list.
14600
14601         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14602         * text2.C (PasteSelection): adjust
14603         * CutAndPaste.C (pasteSelection): adjust
14604
14605         * FloatList.C (FloatList): update from the new_insets branch.
14606         * Floating.[Ch]: ditto
14607         * LaTeXFeatures.C: ditto
14608         * buffer.C: ditto
14609         * lyxlex_pimpl.C: ditto
14610
14611         * paragraph.C (Last): remove when NEW_INSETS is defined.
14612
14613         * other file: changes because of the above.
14614
14615 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14616
14617         * lyxparagraph.h: rename next to next_, previous to previous_,
14618         make them private for NEW_INSETS. Rename Next() to next(),
14619         Previous() to previous().
14620
14621         * other files: changes because of the above.
14622
14623 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14624
14625         * BufferView.h:
14626         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14627         problem.
14628
14629 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * main.C (main): pass lyx_localedir to gettext_init().
14632
14633         * gettext.h: remove locale_init and gettext_init macros
14634
14635         * gettext.C (locale_init): new function
14636         (gettext_init): new function
14637
14638         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14639         setlocale().
14640
14641 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14642
14643         * Moved credits to frontends:
14644         * credits.[Ch]: removed
14645         * credits_form.[Ch]: removed
14646         * lyx_gui_misc.C: remove credits stuff
14647         * Makefile.am:
14648
14649 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14650
14651         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14652
14653         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14654         unneeded destructor.
14655
14656         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14657         a standalone pointer again.
14658
14659         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14660
14661 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * Makefile.am:
14664         * filedlg.h:
14665         * filedlg.C:
14666         * LyXAction.C:
14667         * ToolbarDefaults.C:
14668         * bufferlist.C:
14669         * commandtags.h:
14670         * form1.C:
14671         * form1.h:
14672         * lyx_cb.C:
14673         * lyx_cb.h:
14674         * lyxfunc.h:
14675         * lyxfunc.C:
14676         * BufferView_pimpl.C: use new file dialog in GUII
14677
14678         * lyx_cb.h:
14679         * lyx_cb.C: remove LayoutsCB to Toolbar
14680
14681 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * ShareContainer.h (get): add std:: qualifier
14684
14685 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * ShareContainer.h: define a proper ShareContainer::value_type
14688         type (and use typename to please compaq cxx)
14689
14690 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14691
14692         * lyxparagraph.h: move serveral local vars to
14693         ParameterStruct/ParagraphParameters., use ShareContainer in
14694         FontTable., make vars in FontTable private and add getter and
14695         setter.
14696
14697         * paragraph.C: changes because of the above.
14698
14699         * lyxfont.h: remove copy constructor and copy assignment. (the
14700         default ones is ok), move number inside FontBits. move inlines to
14701         lyxfont.C
14702
14703         * lyxfont.C: add number to initializaton of statics, move several
14704         inlines here. constify several local vars. some whitespace
14705         cleanup. Dont hide outerscope variables.
14706
14707         * Spacing.h: add two new constructors to match the set methods.
14708
14709         * ShareContainer.h: new file, will perhaps be moved to support
14710
14711         * ParameterStruct.h: new file
14712
14713         * ParagraphParameters.h: new file
14714
14715         * ParagraphParameters.C: new file
14716
14717         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14718         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14719
14720         * BufferView_pimpl.C: ParagraphParameter changes.
14721         * buffer.C: Likewise.
14722         * bufferview_funcs.C: Likewise.
14723         * text.C: Likewise.
14724         * text2.C: Likewise.
14725
14726 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14727
14728         * lyxfind.C (LyXReplace): do not redefine default argument in
14729         implementation.
14730         (IsStringInText): ditto
14731         (SearchForward): ditto
14732         (SearchBackward): ditto
14733
14734 2001-03-06  Juergen Vigna  <jug@sad.it>
14735
14736         * lyxfind.C (IsStringInText): put parentes around expressions.
14737
14738 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14739
14740         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14741
14742 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14745
14746         * stl_string_fwd.h: add comment
14747
14748         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14749
14750         * tabular.h:
14751         * tabular.C: remove unused DocBook methods
14752
14753         * intl.C:
14754         * language.C:
14755         * paragraph.C:
14756         * buffer.C:
14757         killed DO_USE_DEFAULT_LANGUAGE
14758
14759 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * lyx_gui.C: do not include language.h.
14762
14763         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14764         arguments in function implementation.
14765
14766 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14767
14768         * BufferView_pimpl.C: add <ctime>
14769
14770 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14771
14772         * BufferView_pimpl.C: add using std::find_if
14773
14774 2001-02-27  José Matos  <jamatos@fep.up.pt>
14775
14776         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14777         by OnlyPath.
14778
14779 2001-02-11  José Matos  <jamatos@fep.up.pt>
14780
14781         * buffer.C (makeDocBookFile): command styles now have a parameter as
14782         "title" by default.
14783
14784 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14785
14786         * layout_forms.[Ch]: removed
14787         * lyx_cb.[Ch]: out character
14788         * lyx_gui.C: out character
14789         * lyx_gui_misc.C: out character
14790         * bufferview_funcs.C: : out character,
14791         added toggleall as parameter in ToggleAndShow
14792
14793 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14796
14797         * text2.C (SetCurrentFont): Disable number property at boundary.
14798
14799 2001-02-26  Juergen Vigna  <jug@sad.it>
14800
14801         * lyxfunc.C (getStatus): added a string argument override function so
14802         that this is correctly called from LyXFunc::Dispatch if it contains a
14803         do_not_use_argument which is used!
14804         (Dispatch): added check for "custom" export and call appropriate func.
14805
14806 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * lyxrc.C: Add language_command_local, language_use_babel and
14809         language_global_options.
14810
14811         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14812
14813         * buffer.C (makeLaTeXFile): Use language_use_babel and
14814         language_global_options.
14815
14816 2001-02-23  Juergen Vigna  <jug@sad.it>
14817
14818         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14819         which works with LyXText and putted it inside BufferView. Here now we
14820         only call for that part the BufferView::Dispatch() function.
14821
14822         * BufferView.C (Dispatch): added.
14823
14824         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14825         functions which needs to use a LyXText over from LyXFunc.
14826         (MenuInsertLyXFile): added
14827         (getInsetByCode): added
14828         (moveCursorUpdate): added
14829         (static TEXT): added
14830
14831 2001-02-22  Juergen Vigna  <jug@sad.it>
14832
14833         * BufferView_pimpl.C (update): call a status update to see if LyXText
14834         needs it.
14835
14836 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14837
14838         * vc-backend.C (revert): implement for CVS
14839         (getLog): implement for CVS
14840
14841 2001-02-20  Juergen Vigna  <jug@sad.it>
14842
14843         * text2.C (ClearSelection): added BufferView param for inset_owner call
14844
14845         * lyxfunc.C (TEXT): added this function and use it instead of
14846         directly owner->view()-text of getLyXText().
14847
14848 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14849
14850         * src/layout_forms.C: out preamble
14851         * src/layout_forms.h: out preamble
14852         * src/lyx_cb.C: out preamble
14853         * src/lyx_cb.h: out preamble
14854         * src/lyx_gui.C: out preamble
14855         * src/lyx_gui_misc.C: out preamble
14856         * src/lyxfunc.C: connect with guii preamble
14857
14858 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14859
14860         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14861
14862 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14863
14864         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14865         whether to run bibtex.
14866
14867 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14870
14871 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14872
14873         * Makefile.am (lyx_SOURCES): removed bibforms.h
14874
14875         * vspace.h: doxygen
14876
14877         * text.C (GetVisibleRow): make several local vars const
14878
14879         * tabular.C: small cleanup.
14880
14881         * lyxserver.C (callback): use compare instead of strncmp
14882
14883         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14884         inlines to after class or to paragraph.C
14885
14886         * lyxfont.h: remove friend operator!=
14887
14888         * converter.h: move friend bool operator< to non friend and after
14889         class def.
14890
14891         * combox.h: small cleanup
14892
14893         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14894         to inlines after class def.
14895
14896         * buffer.C (pop_tag): use string operations instead of strcmp
14897
14898         * bmtable.c: doxygen, small cleanup
14899
14900         * LaTeX.h: remove friend operator==
14901
14902 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14903
14904         * screen.C:
14905         * lyxrc.[Ch]:
14906         * lyxfunc.C:
14907         * lyxfont.[Ch]:
14908         * lyx_cb.C:
14909         * intl.[Ch]:
14910         * commandtags.h:
14911         * buffer.C:
14912         * WorkArea.[Ch]:
14913         * LyXAction.C:
14914         * BufferView_pimpl.C:
14915         * BufferView.[Ch]: remove cruft
14916
14917 2001-02-14  Juergen Vigna  <jug@sad.it>
14918
14919         * lyxfunc.C: removed #if 0 unused code
14920
14921         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14922
14923         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14924
14925         * text2.C (SetSelection): added a BufferView * parameter
14926
14927 2001-02-13  Juergen Vigna  <jug@sad.it>
14928
14929         * lyxfunc.C (Dispatch): fixed protected blank problem.
14930         * BufferView2.C (protectedBlank): added LyxText * parameter.
14931
14932         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14933         (AppendColumn): same as above for column_info.
14934
14935         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14936         (moveCursorUpdate): use a LyXText param for support of InsetText.
14937
14938         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14939         (tripleClick): ditto
14940
14941         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14942
14943         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14944
14945         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14946
14947         * text2.C (SetSelection): set correct update status if inset_owner
14948         (ToggleFree): ditto
14949
14950 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14951
14952         * tabular.C: remove some commented code.
14953
14954 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * BufferView_pimpl.C: call hideSplash()
14957
14958         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14959
14960         * include_form.h:
14961         * bibforms.h: remove
14962
14963         * lyxfunc.C:
14964         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14965           add LFUN_CHILD_CREATE
14966
14967         * counters.h: fix tiny typo
14968
14969         * lyx_cb.C:
14970         * lyx.h:
14971         * lyx_gui.C:
14972         * lyx.C: move splash to frontends/xforms/
14973
14974         * lyx_gui_misc.C: move Include and Bibform to frontends
14975
14976         * lyxvc.h: clarify comment
14977
14978         * vspace.C: tiny housekeeping
14979
14980 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14981
14982         * text.C (PrepareToPrint): RTL Fix.
14983
14984         * paragraph.C (GetUChar): New method.
14985         (String):  Use GetUChar.
14986
14987         * buffer.C (asciiParagraph): Use GetUChar.
14988
14989 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14990
14991         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14992
14993 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * buffer.h:
14996         * buffer.C: rename to getLogName(), handle
14997           build log / latex log nicely
14998
14999 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15000
15001         * MenuBackend.C:
15002         * MenuBackend.h: remove support for reference menuitem type.
15003
15004 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * BufferView_pimpl.C: housekeeping
15007         * BufferView_pimpl.h:
15008         * LyXView.h:
15009         * Makefile.am:
15010         * Timeout.C:
15011         * Timeout.h:
15012         * minibuffer.h: move Timeout GUI-I
15013
15014 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15015
15016         * lyxrc.C (read): Update converters data-structures.
15017
15018 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15019
15020         * LaTeX.h (operator!=): add operator != for Aux_Info
15021
15022 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15025
15026         * LaTeXLog.C: deleted, useful code moved to Buffer
15027
15028         * buffer.h:
15029         * buffer.C: new function getLatexLogName()
15030
15031         * lyx_gui_misc.C:
15032         * lyx_gui.C:
15033         * lyxvc.C:
15034         * lyxvc.h:
15035         * lyxfunc.C: use frontends for LaTeX and VC logs
15036
15037 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * LaTeX.h: yet another std:: that Allan forgot.
15040
15041         * Variables.C (set): renamed from isset(), because this clashes
15042         with some HP-UX macros (grr).
15043
15044 2001-02-06  Allan Rae  <rae@lyx.org>
15045
15046         * LaTeX.h: Another bug fix.  Missing std:: this time.
15047
15048 2001-02-04  Allan Rae  <rae@lyx.org>
15049
15050         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15051         floats problem. I've left it commented out because it's not quite
15052         correct.  It should also test that the current object is a table or
15053         figure inset.  But I haven't gotten around to figuring out how to do
15054         that.  I *think* it'll be something like: "table" == inset.type()
15055
15056         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15057         bool.
15058
15059 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15060
15061         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15062         all the citation/databases/styles in the auxilary file.
15063         (run): Rerun latex if there was a babel language error.
15064
15065 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * text.C (Backspace): Preserve the font when changing newline char
15068         with a space.
15069         (BreakParagraph): If the cursor is before a space, delete the space.
15070
15071         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15072
15073 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15074
15075         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15076         new argument (code).
15077         (ChangeCitationsIfUnique): New method.
15078
15079         * paragraph.C (GetPositionOfInset): Handle bibkey.
15080
15081 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15082
15083         * BufferView_pimpl.h: change type of Position::par_pos to
15084         LyXParagraph::size_type.
15085
15086 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * BufferView_pimpl.C (savePosition, restorePosition): Write
15089         messages to minibuffer.
15090
15091 2001-01-28  José Matos  <jamatos@fep.up.pt>
15092
15093         * buffer.C (makeDocBookFile): adds support for document language.
15094         A silly restriction on the name of LatexCommand types where removed.
15095         Added support for CDATA sections, allows to chars unescaped, used
15096         among others in code, to avoid escape < and >.
15097
15098 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15101         saved positions instrad of a stack. Furthermore, a position is
15102         stored using paragraph id/paragraph position.
15103
15104         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15105         Remove LFUN_REF_BACK.
15106
15107 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15108
15109         * converter.C (dvipdfm_options): New method.
15110
15111 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15112
15113         * vspace.C (isValidLength): Fix for empty input string.
15114
15115 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * LyXAction.C (init): change description of LFUN_FIGURE to
15118         "Insert Graphics"
15119
15120 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * LaTeX.C: add using directive
15123
15124 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15125
15126         * MenuBackend.C (expand): Fix the sorting of the formats.
15127
15128 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * lyx_main.C: tiny error message fix
15131
15132 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15135         calling fl_initialize(). This fixes the problem with ',' as
15136         decimal separator in text files.
15137
15138 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * trans.C (process): Fix the keymap bug.
15141
15142 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15143
15144         * LaTeX.C (scanAuxFiles): New method. Provides support for
15145         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15146         (scanLogFile) Scan for "run BibTeX" messages.
15147
15148         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15149         OT1 font encoding. Also, load the aecompl package if the ae
15150         package is loaded.
15151
15152         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15153
15154 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * texrow.C (increasePos): turn two error messages into debug
15157         messages.
15158
15159 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * LaTeX.C (scanAux): Handle the \@input macro.
15162         (runBibTeX): Use scanAux().
15163
15164         * language.C (latex_options_): New field.
15165
15166         * LaTeXFeatures.C (getMacros): Add language macros.
15167
15168         * buffer.C (makeLaTeXFile): Small fix.
15169
15170 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15173
15174         * text2.C: add a using directive.
15175
15176 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15177
15178         * BufferView2.C:
15179         * lyx_gui_misc.h:
15180         * lyxfr1.C:
15181         * lyxfunc.C: kill LyXBell.
15182
15183 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * text.C (IsBoundary): Remove the error message
15186
15187         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15188
15189         * lyxrc.C (setDefaults): Correct initialization value for
15190         font_norm_type.
15191
15192 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15193
15194         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15195         gotoError().
15196
15197         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15198         and GotoNextNote().
15199
15200         * src/LyXAction.C: Added reference-next.
15201
15202         * text.C (InsertChar): Use contains instead of strchr.
15203
15204         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15205
15206 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15209         alignment commands (when needed).
15210
15211         * text.C (InsertChar): Add ':' to number separator chars.