]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2c82803a10ba2e1f1bf1d2259948949841040e43
[lyx.git] / src / ChangeLog
1 2004-03-30  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
4         has died. Fall through to the generic Dialogs::show("document").
5         
6 2004-03-30  Angus Leeming  <leeming@lyx.org>
7
8         * lfuns.h:
9         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
10         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
11
12         * lyxfunc.C (getStatus, dispatch): define the actions for these
13         lfuns. Little more than a cut and pste job from ControlDocument.C
14
15         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
16
17 2004-03-30  Angus Leeming  <leeming@lyx.org>
18
19         * lfuns.h:
20         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
21         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
22
23         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
24         open/closed state of ollapsable insets. Usage:
25
26         all-inset-toggle <state> <name>, where
27         <state> == "open" || "closed" || "toggle" and
28         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
29
30         * lyxtext.h, text2.C (toggleInset): removed.
31
32         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
33         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
34         now passes LFUN_INSET_TOGGLE to the found inset.
35
36         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
37         is now invoked as "all-insets-toggle toggle branch".
38
39 2004-03-30  Angus Leeming  <leeming@lyx.org>
40
41         * dociterator.C:
42         * insetiterator.C:
43         * pariterator.[Ch]: added/corrected header blurb.
44
45 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
46
47         * dociterator.[Ch]: add an inset_ member 
48         (backwardPos): implemented
49         (backwardPos, forwardPos): use inset_ when the stack is empty.
50         (doc_iterator_begin, doc_iterator_end): implemented
51         * pariterator.[Ch]: adjust, add begin, end
52         * insetiterator.[Ch]: adjust, add begin, end
53         * cursor.C: 
54         * document.C:
55         * BufferView.C:
56         * BufferView_pimpl.C:
57         * CutAndPaste.C: adjust
58
59 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * buffer.C: increment file format to 232.
62         * LaTeXFeatures.C: add bibtopic package.
63         * bufferparams.[Ch]: param \use_bibtopic.
64         
65         * lyxrc.[Ch]: add lyxrc bibtex_command
66         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
67         
68         * buffer.C: increment file format to 231.
69
70 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * dociterator.C: implement forwardPar
73         * iterators.[Ch]: remove, replaced by
74         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
75         * BufferView.C:
76         * BufferView_pimpl.C:
77         * CutAndPaste.C:
78         * buffer.C:
79         * bufferview_funcs.C:
80         * cursor.C:
81         * lyxfind.C
82         * lyxfunc.C
83         * paragraph_funcs.C
84         * toc.C:  
85         * Makefile.am: adjust
86
87 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
88
89         * CutAndPaste.C (pasteSelection): fix 2 crashes
90         (eraseSelection): fix a crash
91         * paragraph_funcs.C: remove a warning
92
93 2004-03-28  Angus Leeming  <leeming@lyx.org>
94
95         * lfuns.h:
96         * LyXAction.C (init): new LFUN_PRINT.
97
98         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
99
100 2004-03-27  Angus Leeming  <leeming@lyx.org>
101
102         * lfuns.h:
103         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
104
105         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
106
107 2004-03-27  Angus Leeming  <leeming@lyx.org>
108
109         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
110         insetlist always contains non-null pointers to insets.
111
112 2004-03-26  Angus Leeming  <leeming@lyx.org>
113
114         * src/BufferView_pimpl.C:
115         * src/CutAndPaste.C:
116         * src/buffer.C:
117         * src/iterators.C:
118         * src/output_plaintext.C:
119         * src/outputparams.h:
120         * src/paragraph_funcs.C:
121         * src/rowpainter.C:
122         * src/text.C:
123         * src/text2.C:
124         * src/frontends/controllers/ControlErrorList.C:
125         * src/frontends/gtk/FileDialogPrivate.C:
126         * src/frontends/gtk/GPainter.C:
127         * src/frontends/gtk/GToolbar.C:
128         * src/frontends/qt2/QRef.C:
129         * src/mathed/math_scriptinset.C: squash compiler warnings.
130
131 2004-03-26  Angus Leeming  <leeming@lyx.org>
132
133         * ispell.C (LaunchIspell::start):
134         * lyx_cb.C (AutoSaveBuffer::start):
135         invoke run(DontWait) rather than runNonBlocking().
136
137 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
140
141 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * kbsequence.C (print): adjust
144
145         * kbmap.C (printKeySym): rename and change signature
146         (printKey): use LyXKeySym::print()
147
148 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * undo.C: add using std::advance to compile for stlport
151
152 2004-03-24  Angus Leeming  <leeming@lyx.org>
153
154         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
155         it leads to a crash when no buffer is present.
156
157 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158             Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * lyxfunc.C (dispatch): 
161         * bufferparams.C (readToken): use the new LColor::setColor 
162
163         * LColor.[Ch] (setColor): new version that takes two strings as
164         argument and creates a new color entry if necessary
165
166 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
167
168         * buffer.C (makeLaTeXFile): if the main latex file that is
169         processed is usually a subdocument of some master, then pretend
170         for a while that it is actually the master
171
172 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
173
174         * buffer.C (getLabelList):
175         (getBibkeyList): use getMasterBuffer()
176         (getMasterBuffer): new method. Returns the main document in the
177         case where one is using included documents.
178
179 2004-03-25  André Pönitz  <poenitz@gmx.net>
180
181         * Makefile.am:
182         * iterators.[Ch]:
183         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
184
185         * ParagraphList_fwd.h: change ParagraphList to a std::vector
186
187         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
188         text*.C over here. Rename namespace CutAndPaste to lyx::cap
189
190         * ParameterStruct.h: merge with ParagraphParameters
191
192         * lyxtext.h: remove LyXText::parOffset() and getPar()
193
194         * text3.C: Remove all 'manual' update calls. We do now one per user
195         interaction which is completely sufficient.
196
197         * Bidi.C:
198         * BufferView.[Ch]:
199         * BufferView_pimpl.C:
200         * FontIterator.[Ch]:
201         * MenuBackend.C:
202         * ParagraphParameters.[Ch]:
203         * buffer.C:
204         * buffer.h:
205         * bufferlist.C:
206         * cursor.[Ch]:
207         * cursor_slice.[Ch]:
208         * dociterator.[Ch]:
209         * errorlist.[Ch]:
210         * factory.C:
211         * lfuns.h:
212         * lyxfind.C:
213         * lyxfunc.C:
214         * output_docbook.[Ch]:
215         * output_latex.[Ch]:
216         * output_linuxdoc.[Ch]:
217         * output_plaintext.[Ch]:
218         * paragraph.[Ch]:
219         * paragraph_funcs.[Ch]:
220         * paragraph_pimpl.[Ch]:
221         * rowpainter.C:
222         * tabular.[Ch]:
223         * text.C:
224         * text2.C:
225         * toc.C:
226         * undo.[Ch]: adjust
227
228         * frontends/controllers/ControlDocument.C:
229         * frontends/controllers/ControlErrorList.C:
230         * frontends/controllers/ControlSpellchecker.C:
231         * insets/inset.C:
232         * insets/inset.h:
233         * insets/insetbase.h:
234         * insets/insetbibitem.C:
235         * insets/insetbox.C:
236         * insets/insetbranch.C:
237         * insets/insetcaption.C:
238         * insets/insetcharstyle.C:
239         * insets/insetcharstyle.h:
240         * insets/insetcollapsable.C:
241         * insets/insetcollapsable.h:
242         * insets/insetert.C:
243         * insets/insetfloat.C:
244         * insets/insetfoot.C:
245         * insets/insetmarginal.C:
246         * insets/insetnote.C:
247         * insets/insetoptarg.C:
248         * insets/insettabular.C:
249         * insets/insettext.C:
250         * insets/insettext.h:
251         * insets/insetwrap.C:
252         * mathed/math_mboxinset.C:
253         * mathed/math_nestinset.C:
254         * mathed/math_scriptinset.C:
255         * mathed/math_scriptinset.h:
256         * support/types.h:
257
258 2004-03-24  Angus Leeming  <leeming@lyx.org>
259
260         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
261         deal with any child processes that have finished but are waiting to
262         communicate this fact to the rest of LyX.
263
264 2004-03-24  Angus Leeming  <leeming@lyx.org>
265
266         64-bit compile fixes.
267
268         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
269         (c-tor): pass lyx::pos_types rather than ints.
270
271         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
272         lyx::pos_type.
273
274         * text.C (Delete): compile fix.
275         (getPar): ensure that function declaration is the same as that in
276         the header file.
277
278 2004-03-23  Angus Leeming  <leeming@lyx.org>
279
280         * ispell.C (LaunchIspell):
281         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
282         a boost::shred_ptr rather than a std::auto_ptr.
283
284 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * lyxfunc.C (getStatus): handle read-only buffers correctly;
287         handle LFUN_FILE_INSERT_*
288
289         * lyxrc.C (setDefaults, getDescription, output, read):
290         * lyxrc.h: remove ps_command
291
292 2004-03-22  Angus Leeming  <leeming@lyx.org>
293
294         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
295         Ensure that error_handler is processed once only and that all data
296         is saved before attempting to output any warning messages.
297
298         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
299
300 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
301
302         * tabular.C (TeXRow): crash fix (from Kayvan and André)
303
304 2004-03-19  André Pönitz  <poenitz@gmx.net>
305
306         * cursor.[Ch] (reset): take main text inset as argument
307
308         * BufferView: adjust
309         * BufferView_pimpl.C: adjust
310
311         * paragraph.[Ch]: fix completely broken operator=()
312
313 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * LColor.C (getFromLyXName): make sure that the color name is used
316         as lowercase.
317
318 2004-03-17  Angus Leeming  <leeming@lyx.org>
319
320         * lfuns.h:
321         * LyXAction.C (init): remove LFUN_FORKS_KILL.
322
323         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
324         dialog and to kill a forked process.
325
326 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * text2.C (setCursorFromCoordinates): fix font problem
329
330 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
333         bogus "rebuild cursor" code
334
335 2004-03-11  André Pönitz  <poenitz@gmx.net>
336
337         * buffer.[Ch]: use InsetText instead of LyXText as container for
338         the main lyx text.
339
340         * dociterator.[Ch]: drop the BufferView * member which is not needed
341         anymore after the change to buffer.C
342
343         * paragraph_funcs.C:
344         * text.C:
345         * text2.C:
346         * BufferView.[Ch]:
347         * BufferView_pimpl.[Ch]:
348         * cursor.[Ch]:
349         * cursor_slice.[Ch]: adjust
350
351         * text3.C: fix bug in mathDispatch
352
353 2004-03-08  André Pönitz  <poenitz@gmx.net>
354
355         * undo.[Ch]: use 'StableDocumentIterator' as base for
356         the Undo struct.
357
358 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
359
360         * LaTeXFeatures.C:
361         * bufferparams.[Ch]: add jurabib support and param.
362
363         * LaTeX.C: add FIXME/comment.
364
365 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * buffer.C: increment file format to 230.
368
369 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
370
371         * cursor.C (dispatch): avoid infinite loops
372
373 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * rowpainter.C (paintSelection): fix x coordinates
376
377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
378
379         * text.C (rowBreakPoint): fix breaking before displayed insets
380
381 2004-03-01  André Pönitz  <poenitz@gmx.net>
382
383         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
384
385         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
386
387         * Makefile.am:
388         * BufferView.C:
389         * BufferView_pimpl.C:
390         * buffer.C:
391         * lyxfind.C:
392         * lyxfunc.C:
393         * text.C:
394         * text2.C:
395         * text3.C: adjust
396
397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * lyxtext.h:
400         * text.C:
401         * text2.C:
402         * rowpainter.C:
403         * BufferView_pimpl.C: rename textwidth -> maxwidth,
404         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
405
406 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * Bidi.[Ch] (computeTables): const correctness
409         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
410         fill_hfill, fill_label_hfill and x from Row
411         * lyxtext.h: prepareToPrint returns a RowMetrics
412         * rowPainter.C: adjust
413         * text.C (prepareToPrint): use width, not textWidth. adjust
414         (redoParagraphInternal, cursorX): adjust
415         * text2.C (getColumnNearX): adjust
416         (init): put a default value to the top LyXText::width
417
418 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
421
422 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * lyxtext.h: add FontIterator class
425
426         * text.C (FontIterator, operator*, operator->, operator++): add
427         (rowBreakPoint, setRowWidth): adjust (fixing a
428         rebreaking bug)
429
430 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * BufferView_pimpl.C (workAreaDispatch): allow also
433         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
434
435 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * text.C (rowBreakPoint): fix a bug showing with very large insets
438
439 2004-02-25  André Pönitz  <poenitz@gmx.net>
440
441         * text3.C:
442         * cursor.[Ch]: move some mathed specific code to mathed
443
444 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
445
446         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
447         use_tempdir in preferences
448         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
449         tempfile creation
450         * lyx_main.C: ensure that tempdir is valid
451         * lyxlex.h: correct typo
452         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
453         * paragraph.[Ch] (isMultiLingual): make const
454         * cursor.[Ch] (openable): make const
455
456 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
457
458         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
459
460 2004-02-20  André Pönitz  <poenitz@gmx.net>
461
462         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
463
464         * cursor.[Ch]: prepare for localized getStatus()
465
466         * lyxtext.h:
467         * tabular.C:
468         * text.C:
469         * text2.C:
470         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
471
472 2004-02-20  André Pönitz  <poenitz@gmx.net>
473
474         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
475
476 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text2.C (setCursorFromCoordinates): switch to absolute coords
479         (cursorUp): adjust
480         (cursorDown): adjust
481         * text3.C (dispatch): adjust
482
483 2004-02-16  André Pönitz  <poenitz@gmx.net>
484
485         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
486           insets/ChangeLog)
487
488         * cursor_slice.[Ch]: remove unneeded acessor function
489
490         * lyxtext.h: rename rtl() to isRTL()
491
492         * rowpainter.C:
493         * tabular.C:
494         * text.C:
495         * text2.C:
496         * text3.C: adjust
497
498 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * rowpainter.C (paintSelection): coord fix
501
502 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
503
504         * Spacing.C: compile fix
505
506 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * cursor.C (dispatch): restore current_ before returning
509
510 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * text2.C (cursorUp, cursorDown): fix coords
513         (moveUp): fix crash
514
515 2004-02-12  André Pönitz  <poenitz@gmx.net>
516
517         * lyxtext.h:
518         * text.C:
519         * text2.C:
520         * text3.C: add LCursor & parameter to most cursor movement functions
521           remove usage of LyXText::cursorRow() and cursorPar()
522
523         * cursor.[Ch]: add textRow() needed members
524
525         * BufferView.C:
526         * BufferView_pimpl.C:
527         * paragraph.[Ch]:
528         * BufferView.C:
529         * BufferView_pimpl.C: adjust
530
531 2004-02-11  André Pönitz  <poenitz@gmx.net>
532
533         * lyxfunc.C:
534         * BufferView.[Ch]:
535         * BufferView_pimpl.C: shift undo/redo handling
536
537         * cursor.[Ch]: fix mathed crash
538
539         * lyxfind.C:
540         * lyxtext.h: move selectionAsText to LCursor
541
542         * output_latex.C:
543         * paragraph.C:
544         * text.C:
545         * text2.C:
546         * text3.C: adjust
547
548         * rowpainter.C: fix excessive drawing
549
550 2004-02-06  André Pönitz  <poenitz@gmx.net>
551
552         * BufferView.[Ch]:
553         * BufferView_pimpl.[Ch]:
554         * text3.C: move some text specific LFUN handling
555
556 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * text3.C (checkInsetHit): adjust coords
559         * text2.C (getColumnNearX): adjust coords
560         (edit): adjust coords
561         * text.C (getRowNearY): add two asserts
562
563 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * converter.C:
566         * format.C: add using std::distance to compile on gcc 2.95/stlport
567
568 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
571
572 2004-02-04  André Pönitz  <poenitz@gmx.net>
573
574         * BufferView.[Ch] (insertInset):
575         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
576
577         * text2.C:
578         * text3.C: adjust
579
580 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
581
582         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
583         on the default clause of the switch
584         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
585         wasn't catched by LCursor::dispatch
586
587 2004-02-03  André Pönitz  <poenitz@gmx.net>
588
589         * BufferView.C:
590         * cursor.[Ch]: some additional asserts
591
592         * undo.[Ch]: remove LyXText dependency in interface
593
594         * lyxfunc.C: adjust
595
596         * lyxtext.h (firstPar, lastPar): remove dead functions
597
598         * text.C:
599         * text2.C:
600         * text3.C:
601         * paragraph.[Ch]: adjust
602
603 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
604
605         * lyxfind.C (find): fix argument order in call to ::find
606
607 2004-02-02  André Pönitz  <poenitz@gmx.net>
608
609         * cursor.[Ch]: remove direct access to anchor
610
611         * text.C: remove findText() hack
612
613 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
614
615         * iterators.[Ch] (lockPath): remove in favour of...
616         * BufferView.[Ch] (setCursor): this addition
617         * BufferView.C (putSelectionAt): adjust
618         * undo.C (performUndoOrRedo): adjust
619         * lyxfunc.C (dispatch): adjust
620
621 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * iterators.C (lockPath): add a missing slice
624         * undo.C (performUndoOrRedo): remove redundant positioning code
625
626 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
627
628         * vc-backend.C (scanMaster): ";" -> ';'
629
630 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
631
632         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
633         std::binary_function
634
635         * lyxtextclass.C (compare_name): rename to...
636         (LayoutNamesEqual): ...this
637
638         * lyxlex_pimpl.C (compare_tags): inherit from
639         std::binary_function, put back into anon namespace
640
641         * lyxfind.C (MatchString): inherig from std::binary_function
642         (findChange): use empty() istead of !size()
643
644         * format.C (FormatNamesEqual): new functor
645         (getFormat): use it
646         (getNumber): use it
647         (add): use it
648         (erase): use it
649         (setViewer): use it
650
651         * converter.C (compare_Converter): rename to...
652         (ConverterEqual): ...this, and fixup a bit.
653         (getConverter): use it, and make function const
654         (getNumber): use it, and make function const
655         (add): use it
656         (erase): use it:
657
658         * bufferlist.C: add using boost::bind
659
660         * MenuBackend.C (MenuNamesEqual): new functor
661         (hasMenu): use it, and make function const
662         (hasSubmenu): use nested bind to get rid of compare_memfun.
663
664 2004-01-30  André Pönitz  <poenitz@gmx.net>
665
666         * BufferView_pimpl.C:
667         * cursor.C:
668         * cursor.h:
669         * cursor_slice.[Ch]:
670         * lyxfunc.C:
671         * lyxtext.h:
672         * paragraph_funcs.C:
673         * paragraph_funcs.h:
674         * rowpainter.C:
675         * text.C:
676         * text2.C:
677         * text3.C: move some of the edit(x,y) handling to the insets
678         some coordinate changes.
679
680 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
681
682         * text.C: add using statements for std::advance and std::distance
683
684         * paragraph.C: add using statement for std::distance
685
686         * lyxfind.C: add using statement for std::advance
687
688         * cursor.C (region): remove std:: from swap
689         (openable): use nucleus in stead of operator->
690
691         * BufferView.C: add using statements for std::distance and std::swap
692
693 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
694
695         * iterators.C: Remove the pimple, move the needed structures to
696         the header file. Create accessor for the positions stack.
697         (asPosIterator): remove function
698
699         * PosIterator.C (PosIterator): move constructors to top of file
700         (PosIterator): reimplement the constructor taking a ParIterator in
701         terms of setFrom.
702         (setFrom): new function
703         (operator!=): inline it
704
705 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
706
707         * lyxfind.C (replaceAll): use std::advance
708
709         * iterators.h: inherit from std::iterator.
710
711         * PosIterator.C (advance, distance): remove
712         * PosIterator.h: interit from std::iterator.
713
714 2004-01-26  André Pönitz  <poenitz@gmx.net>
715
716         * BufferView.[Ch]:
717         * BufferView_pimpl.[Ch]:
718         * InsetList.[Ch]:
719         * PosIterator.[Ch]:
720         * buffer.h:
721         * bufferview_funcs.C:
722         * cursor.[Ch]:
723         * cursor_slice.h:
724         * factory.[Ch]:
725         * iterators.[Ch]:
726         * lyxfind.C:
727         * lyxfunc.C:
728         * lyxtext.h:
729         * output_docbook.C:
730         * output_latex.C:
731         * output_linuxdoc.C:
732         * output_plaintext.C:
733         * paragraph.[Ch]:
734         * paragraph_funcs.[Ch]:
735         * paragraph_pimpl.[Ch]:
736         * rowpainter.C:
737         * tabular.C:
738         * tabular.h:
739         * text.C:
740         * text2.C:
741         * text3.C: more IU:  dumps most of the rest of the mathcursor
742     implementation into cursor.[Ch]; "globalize" a bit of it.
743
744 2004-01-25  Angus Leeming  <leeming@lyx.org>
745
746         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
747
748 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
749
750         * LaTeXFeatures.h: add nice_ and nice() const
751         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
752
753 2004-01-20  André Pönitz  <poenitz@gmx.net>
754
755         * BufferView.[Ch]:
756         * BufferView_pimpl.C:
757         * PosIterator.C:
758         * bufferview_funcs.C:
759         * cursor.[Ch]:
760         * cursor_slice.[Ch]:
761         * factory.C:
762         * iterators.C:
763         * lyx_cb.C:
764         * lyxfind.C:
765         * lyxfunc.C:
766         * lyxtext.h:
767         * rowpainter.C:
768         * text.C:
769         * text2.C:
770         * text3.C:
771         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
772           LCursor and mathcursor parts to LCursor and InsetBase.
773
774 2004-01-15  André Pönitz  <poenitz@gmx.net>
775
776         * cursor_slice.[Ch]: add a few covienience functions
777
778         * funcrequest.[Ch]: remove BufferView * member
779
780         * BufferView_pimpl.C:
781         * cursor.C:
782         * factory.[Ch]:
783         * lyxfind.[Ch]:
784         * lyxfunc.C:
785         * lyxtext.h:
786         * text3.C:
787         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
788
789 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
792         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
793
794 2004-01-13  André Pönitz  <poenitz@gmx.net>
795
796         * textcursor.[Ch]:
797         * lyxtext.h: hide cursor and selection anchor behind accessor function
798
799         * BufferView.C:
800         * BufferView_pimpl.[Ch]:
801         * PosIterator.C:
802         * bufferview_funcs.C:
803         * cursor.h:
804         * lyxfind.C:
805         * lyxfunc.C:
806         * text.C:
807         * text2.C:
808         * text3.C:
809         * undo.C: adjust
810
811         * cursor.h:
812         * cursor_slice.[Ch]: some integer type changes for inset unification
813
814         * lyxcursor.[hC]: remove, it's CursorSlice now.
815
816         * Makefile.am:
817         * BufferView_pimpl.[Ch]:
818         * bufferview_funcs.C:
819         * cursor_slice.C:
820         * lyxtext.h:
821         * text.C:
822         * text2.C:
823         * text3.C:
824         * textcursor.[Ch]: adjust
825
826 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
827
828         * text2.C (undoSpan): add and use
829         * text.C (breakParagraph): use undoSpan (fix bug 578)
830         * lyxtext.h: adjust
831
832 2004-01-08  Angus Leeming  <leeming@lyx.org>
833
834         * BufferView_pimpl.C (MenuInsertLyXFile):
835         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
836         * lyxfunc.C (menuNew, open, doImport):
837         FileFilterList change to the FileDialog open and save functions.
838
839 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * ShareContainer.h: make isEqual and isUnique adaptable
842
843         * CutAndPaste.C: make resetOwnerAndChanges adaptable
844
845 2004-01-07  Angus Leeming  <leeming@lyx.org>
846
847         * LyXAction.C:
848         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
849
850         * BufferView_pimpl.C (dispatch): act on these LFUNs.
851
852         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
853         functions replacing find, replace and replaceAll.
854
855         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
856         LFUN_WORDFIND(FORWARD|BACKWARD).
857
858 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * text.C (breakParagraph): remove an outdated #warning
861
862 2004-01-07  André Pönitz  <poenitz@gmx.net>
863
864         * lyxfind.C: somewhat clearer logic
865
866         * text.C: prevent crash in cursorX on unitialized row cache
867
868 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * lyxcursor.[Ch] (operator>): add
871         * textcursor.C (selStart, selEnd): use std::min and std::max
872
873 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
874
875         * Chktex.C: include boost/format.hpp
876
877 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
878
879         * InsetList.C: replace functor MathcIt with adaptable functor
880         InsetTablePosLess
881         (insetIterator): modify accordingly
882
883         * BranchList.h: move the BranchNamesEqual functor here from...
884         * BranchList.C: ... to here
885
886         * BranchList.C: new BranchListEqual fuctor, use it. Remove
887         SameName and match.
888         (add): replace a finding loop with std::find_if.
889
890 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * output_docbook.C: moving LatexParam functionality into
893         .layout files
894
895 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
896
897         * buffer.C: increment format to 229.
898
899 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
900
901         * LaTeXFeatures.C:
902         * lyx_sty.[Ch]: remove minipageindent_def
903
904         * LyXAction.C:
905         * factory.C:
906         * lfuns.h:
907         * lyxfunc.C:
908         * text3.C: remove LFUN_INSET_MINIPAGE
909
910 2003-12-28  Angus Leeming  <leeming@lyx.org>
911
912         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
913
914 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
915
916         * text2.C (setParagraph): fix off-by-one crash
917
918 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * output_docbook.C: header stuff for AGU
921
922 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * text2.C (redoCursor): remove
925         * text.C:
926         * text3.C:
927         * BufferView_pimpl.C: remove calls to redoCursor and
928         setCursor(cursor.par(), cursor.pos()) all around
929
930 2003-12-15  Angus Leeming  <leeming@lyx.org>
931
932         * buffer.C: up the format to 228.
933
934 2003-12-15  André Pönitz  <poenitz@gmx.net>
935
936         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
937         slices
938
939         * Makefile.am:
940
941         * BufferView_pimpl.C:
942         * cursor.[Ch]:
943         * lyxcursor.[Ch]:
944         * rowpainter.[Ch]:
945         * lyxtext.h:
946         * text.C:
947         * text2.C:
948         * text3.C: adjust
949
950 2003-12-15  Angus Leeming  <leeming@lyx.org>
951
952         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
953         than getFromGUIName to manipulate the color.
954
955 2003-12-14  Angus Leeming  <leeming@lyx.org>
956
957         * BranchList.[Ch]: minimize the API.
958         (Branch::getBranch, getColor): now return a 'const &'.
959         (Branch::setSelected) now returns a bool set to true if the
960         selection status changes.
961         (BranchList::clear, size, getColor, setColor, setSelected,
962         allBranches, allSelected, separator): removed.
963         (BranchList::find): new functions, returning the Branch with
964         the given name.
965         (BranchList::add, remove): return a bool indicating that
966         the operation was successful.
967
968         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
969         new InsetBranch::isBranchSlected member function.
970
971         * LColor.[Ch]: mimimize the API.
972         (fill): renamed as addColor and made private.
973         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
974         versions of these functions taking a string arg have been removed.
975
976         * bufferparams.C (readToken):
977         * lyxfunc.C (dispatch):
978         * lyxrc.C (read): changes due to the altered BranchList and
979         LColor APIs.
980
981         * factory.C (createInset, readInset): changes due to altered
982         InsetBranch c-tor.
983
984 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
985
986         * factory.C:
987         * lyxfunc.C: remove insetminipage. "minipage-insert"
988         now produces a frameless minipage box inset.
989
990 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
991
992         * textcursor.[Ch] (selStart,selEnd): add new methods
993         remove selection::start, end, use LyXCursor::operator<
994         * lyxcursor.[Ch] (operator<): add
995         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
996         * BufferView.[Ch] (unsetXSel): add
997         * text2.C (clearSelection): use unsetXSel,adjust
998         * text.C: adjust
999         * text3.C: adjust
1000         * rowpainter.C: adjust
1001         * bufferview_funcs.C (put_selection_at): adjust
1002
1003 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * BufferView_pimpl.C: small coord. correction
1006
1007 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1008
1009         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1010         dragging over the splash screen.
1011
1012 2003-12-11  Angus Leeming  <leeming@lyx.org>
1013
1014         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1015         as it is now handled in LyXText::dispatch.
1016
1017         * text3.C (doInsertInset): remove a level of nesting.
1018
1019 2003-12-11  Angus Leeming  <leeming@lyx.org>
1020
1021         * factory.C (createInset): changes due to the changed interface to
1022         InsetCommandMailer::string2params.
1023
1024 2003-12-10  Angus Leeming  <leeming@lyx.org>
1025
1026         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1027         'dialog-show-new-inset <inset name>'
1028
1029 2003-12-10  Angus Leeming  <leeming@lyx.org>
1030
1031         * buffer.C: up the format to 227.
1032
1033         * factory.C: the box inset is now identified simply by 'Box'.
1034
1035 2003-12-10  Angus Leeming  <leeming@lyx.org>
1036
1037         * buffer.C: up the format to 226.
1038
1039         * factory.C: the note inset is now identified simply by 'Note'.
1040
1041 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1042
1043         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1044         when a pit is enough. Standarize a couple of loops.
1045
1046 2003-12-05  Angus Leeming  <leeming@lyx.org>
1047
1048         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1049         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1050         data to the re-worked "log" dialog.
1051
1052 2003-12-03  André Pönitz  <poenitz@gmx.net>
1053
1054         * PosIterator.C:
1055         * iterators.C:
1056         * lyxtext.h:
1057         * output_latex.C:
1058         * paragraph_funcs.C:
1059         * text.C:
1060         * text2.C: use Inset::getText instead of Inset::getParagraph
1061
1062 2003-12-03  André Pönitz  <poenitz@gmx.net>
1063
1064         * buffer.[Ch]:
1065         * lyxtext.h:
1066         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1067         InsetText::read() as LyXText::read()
1068
1069 2003-12-02  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1072         type. Add a comment in the implementation that the function uses
1073         the stream's bad() function rather than fail() as the std::streams
1074         would do.
1075
1076 2003-12-02  André Pönitz  <poenitz@gmx.net>
1077
1078         * lyxlex.[Ch]: make interface more similar to std::stream
1079
1080         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1081
1082 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1083
1084         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1085
1086 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1087
1088         * vspace.[Ch]: remove VSpace::NONE
1089
1090 2003-12-01  André Pönitz  <poenitz@gmx.net>
1091
1092         * buffer.[Ch]:
1093         * lyxtext.h: move ParagraphList member to LyXText
1094         rename LyXText::ownerParagraphs to LyXText::paragraph
1095
1096         * CutAndPaste.C:
1097         * bufferview_funcs.C:
1098         * iterators.[Ch]:
1099         * lyx_cb.C:
1100         * paragraph.C:
1101         * rowpainter.C:
1102         * tabular.C:
1103         * text.C:
1104         * text2.C:
1105         * text3.C: adjust
1106
1107         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1108
1109         * undo.C: fix cursor positioning
1110
1111 2003-12-01  John Levon  <levon@movementarian.org>
1112
1113         * BufferView_pimpl.C: fix a crash on exit with
1114         a buffer open
1115
1116 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1117
1118         * BranchList.C: fix setSelected() method.
1119
1120 2003-11-28  André Pönitz  <poenitz@gmx.net>
1121
1122         * ParagraphParameters.[Ch]:
1123         * ParameterStruct.h: remove space above/below from Paragraph to
1124          InsetVSpace
1125
1126         * BufferView_pimpl.C:
1127         * factory.C:
1128         * lyxfunc.C:
1129         * lyxtext.h:
1130         * output_latex.C:
1131         * paragraph.C:
1132         * paragraph_funcs.C:
1133         * rowpainter.[Ch]:
1134         * text.C:
1135         * text2.C:
1136         * text3.C: adjust
1137
1138 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1139
1140         * factory.C: Syntax change for CharStyles
1141
1142 2003-11-28  André Pönitz  <poenitz@gmx.net>
1143
1144         * BufferView.[Ch]:
1145         * BufferView.[Ch]:
1146         * buffer.[Ch]:
1147         * buffer.[Ch]: move LyXText member
1148
1149 2003-11-28  André Pönitz  <poenitz@gmx.net>
1150
1151         * BufferView.[Ch]: make LyXText * text a private member
1152
1153         * BufferView_pimpl.C:
1154         * cursor.C:
1155         * iterators.C:
1156         * lyx_cb.C:
1157         * lyxfind.C:
1158         * lyxtext.h:
1159         * rowpainter.[Ch]:
1160         * text.C:
1161         * text2.C:
1162         * undo.C: adjust
1163
1164         * output_plaintext.C: cleanup
1165
1166 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * buffer.C:
1169         * lyxtextclass.[Ch]: parametrize SGML document header
1170
1171 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * converter.[Ch]:
1174         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1175         getFlavor().
1176
1177 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1178
1179         * text2.C (setFont): rework using PosIterator (no more recursive)
1180         (setCharFont): no more needed
1181         (setLayout): no more selection cursors fiddling (done by redoCursor)
1182         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1183         destroy remaining ones)
1184
1185 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1186
1187         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1188         * lyxtext.h: ditto
1189         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1190         selection cursors
1191         * lyxfunc.C: adjust
1192         * text3.C: adjust + re-allow multi par depth changes
1193         * textcursor.C: simplify a bit
1194
1195 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1196
1197         * src/buffer.C:
1198         * src/lyxlayout.C:
1199         * src/lyxlayout.h:
1200         * src/lyxtext.h:
1201         * src/output_docbook.C:
1202         * src/output_latex.C:
1203         * src/paragraph.C:
1204         * src/paragraph.h:
1205         * src/sgml.C:
1206         * src/sgml.h:
1207         * src/text2.C: Introducing a number of tags parametrizing various
1208         XML formats that we may want to support
1209
1210 2003-11-25  André Pönitz  <poenitz@gmx.net>
1211
1212         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1213
1214         * lyxtext.h (leftMargin/rightMargin): simplify interface
1215
1216         * rowpainter.C:
1217         * text.C:
1218         * text2.C:
1219         * text3.C: adjust
1220
1221 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1222
1223         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1224         master file to any child files. Fixes bug 546.
1225
1226 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1229
1230 2003-11-24  André Pönitz  <poenitz@gmx.net>
1231
1232         * rowpainter.C: simplification
1233
1234         * text2.C (updateCounters): remove call to redoParagraph on
1235         changed labels as this is far too expensive.
1236
1237 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * converter.C (convert): fix a crash: this function gets
1240         called with buffer == 0 from importer code.
1241
1242 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1243
1244         * text3.C (cursorPrevious): make sure that we do not compare
1245         iterators form different containers.
1246         (cursorNext): ditto
1247
1248         * rowpainter.C (paintSelection): make sure that we do not compare
1249         iterators from different containers.
1250
1251         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1252         iterators from different ParagraphList containers.
1253         [NEXT] ditto
1254
1255         * text2.C (LyXText): change order of initialization slightly
1256         (operator=): new function. copy all variables except cache_par_
1257         (moveUp): make sure that we do not compare iterators from
1258         different ParagraphList constainers.
1259         (moveDown): ditto
1260
1261         * text.C (firstPar): new function
1262         (lastPar): new function
1263         (endPar): new function
1264
1265         * lyxtext.h: move things around and group public functions, public
1266         variables, private functions, private variables
1267
1268 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1269
1270         * factory.C: change call to InsetERT constructor to avoid
1271         additional invocation of method status
1272         * text2.C (toggleInset): remove redundant update() call
1273         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1274         instead of a Bufferview pointer
1275
1276 2003-11-21  André Pönitz  <poenitz@gmx.net>
1277
1278         * rowpainter.C: simplification
1279
1280 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1281
1282         * text3.C (dispatch): make possible to extend a word/row selection
1283         with the mouse
1284
1285 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * lyxtext.h: x0_,y0_ -> xo_,yo_
1288         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1289         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1290         * rowpainter.C (paintRows): paint full paragraphs
1291
1292 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1295         screen coordinates)
1296
1297 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * lyxtext.h: add x0_, y0_
1300         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1301         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1302
1303 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * text2.C (setCursorIntern): move the x_target update here *
1306         * text3.C: change some bv() to true/false in calls to
1307         cursorUp/Down/Right/Left
1308         * cursor.C: use helper function.
1309
1310 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1313         * paragraph_funcs.[Ch]: correct comment
1314         * rowpainter.C: do not paint selections away from bv->cursor()
1315         Fix a long standing selection painting bug.
1316         * text3.C: generalize mouse-selection code to LyXTexts other that
1317         top one
1318         * textcursor.C: do not use y coords if we can use par offsets
1319
1320 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1323         cursor position after e.g. inset insert)
1324
1325 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * lyxfind.C (replace): adjust to locking removal + some
1328         code simplification
1329
1330 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1333         of the path
1334
1335 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * lyxlayout.[Ch]:
1338         * output_docbook.C: XML sanitation: new layout
1339         parameters InnerTag and CommandDepth
1340
1341 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1342
1343         * BufferView_pimpl.C:
1344         * factory.C:
1345         * text3.C: Fix the insertion and modification of button-style
1346         insets
1347
1348 2003-11-13  André Pönitz  <poenitz@gmx.net>
1349
1350         * InsetList.[Ch]: remove deleteLyXText
1351
1352         * paragraph.[Ch]: cache beginOfBody position
1353
1354         * Bidi.C:
1355         * text.C:
1356         * text2.C:
1357         * text3.C: remove superfluous update() calls
1358
1359         * vspace.C: cleanup
1360
1361 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1364         * BufferView.C (fitLockedInsetCursor): remove
1365         * cursor.[Ch] (getDim): add
1366         * text.C (getRowNearY): add faster version
1367         * text3.C: remove some update calls
1368
1369 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * LaTeXFeatures.C:
1372         * LyXAction.C:
1373         * MenuBackend.C:
1374         * MenuBackend.h:
1375         * dispatchresult.h:
1376         * factory.C:
1377         * lfuns.h:
1378         * lyxfunc.C:
1379         * lyxtextclass.C:
1380         * lyxtextclass.h:
1381         * text3.C: The Character Style /XML short element patch.
1382
1383 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1384
1385         * text3.C:
1386         * factory.C: Small step to solving 'unable to insert some insets'
1387         problem
1388
1389 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1390
1391         * cursor.[Ch] (updatePos): new function for updating the y
1392         position of the tip inset
1393         * bufferview_funcs.C (put_selection_at):
1394         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1395
1396 2003-11-11  André Pönitz  <poenitz@gmx.net>
1397
1398         * text.C: remove big comment on invalid Paragraph pointers as it is
1399         not valid anymore
1400
1401 2003-11-11  André Pönitz  <poenitz@gmx.net>
1402
1403         * text_funcs.[Ch]: merge with ...
1404
1405         * text.C: ... this
1406
1407         * lyxtext.h:
1408         * text2.C:
1409         * text3.C: adjust
1410
1411         * Makefile.am: remove text_funcs.[Ch]
1412
1413 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1414
1415         * cursor.C (getPos): return absolute cached y coord
1416
1417         * BufferView_pimpl.C (fitCursor): new simplistic code
1418         (workAreaDispatch): add a fitCursor call
1419
1420 2003-11-10  André Pönitz  <poenitz@gmx.net>
1421
1422         * BufferView.[Ch]:
1423         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1424
1425 2003-11-10  André Pönitz  <poenitz@gmx.net>
1426
1427         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1428         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1429         indicate that the cursor needs to leave an inset
1430
1431         * lyxtext.h: remove inset locking
1432
1433         * cursor.[Ch]: re-implement functionality provided by inset locking
1434
1435         * BufferView.[Ch]:
1436         * BufferView_pimpl.[Ch]:
1437         * LyXAction.C:
1438         * bufferview_funcs.[Ch]:
1439         * factory.C:
1440         * funcrequest.[Ch]:
1441         * iterators.C:
1442         * lyx_cb.C:
1443         * lyxfind.C:
1444         * lyxfunc.C:
1445         * text.C:
1446         * text2.C:
1447         * text3.C:
1448         * undo.C: adjust
1449
1450 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1451
1452         * PosIterator.[Ch]: replace the stack with a vector, add inset
1453         accesor
1454         * iterators.[C]: adjust
1455
1456 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1459         replaced
1460         * paragraph_funcs.C (readParToken): put the correct id in the
1461         error item, not the id of the top paragraph
1462
1463 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1466         * bufferview_funcs.C (put_selection_at): use the above
1467
1468 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1471
1472 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1473
1474         * output_linuxdoc.h:
1475         * output_plaintext.h:
1476         * output.h:
1477         * output_docbook.h: add #include statements
1478
1479 2003-11-05  José Matos  <jamatos@lyx.org>
1480
1481         * output_docbook.[Ch]:
1482         * output_latex.[Ch]:
1483         * output_linuxdoc.[Ch]:
1484         * output_plaintext.[Ch]: New files for output formats.
1485         * output.[Ch]: New file for helper functions.
1486
1487         * buffer.[Ch]:
1488         * paragraph_funcs.[Ch]: output functions moved to new files.
1489
1490         * outputparams.h: rename of latexrunparams.h
1491
1492         * LaTeX.[Ch]:
1493         * buffer.[Ch]:
1494         * bufferlist.[Ch]:
1495         * converter.[Ch]:
1496         * exporter.C:
1497         * paragraph.[Ch]:
1498         * paragraph_funcs.[Ch]:
1499         * paragraph_pimpl.[Ch]:
1500         * tabular.[Ch]: rename ascii to plaintext
1501         and LatexRunParams to OutputParams.
1502
1503 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1504
1505         * iterators.[Ch] (text): require bv argument
1506         * undo.C (recordUndo):
1507         * lyxfunc.C (dispatch):
1508         * bufferview_funcs.C (put_selection_at): adjust
1509
1510 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1511
1512         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1513
1514 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1515
1516         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1517         nestings
1518
1519 2003-11-04  André Pönitz  <poenitz@gmx.net>
1520
1521         * cursor.[Ch]: restructure
1522
1523         * BufferView.[Ch]:
1524         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1525
1526         * iterators.[Ch] (asCursor): remove
1527
1528         * lfuns.h: remove LFUN_INSET_EDIT
1529
1530         * lyxfunc.C:
1531         * tabular.C:
1532         * text.C:
1533         * text2.C:
1534         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1535
1536 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1537
1538         * lyxfind.[Ch]: complete overhaul
1539         * BufferView_pimpl.C:
1540         * lyxfunc.C: adjust
1541         * paragraph.[Ch] (insert): add
1542
1543 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * BufferView.[Ch]:
1546         * lyxtext.h:
1547         * text.C: remove dead spellcheck code
1548
1549 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * dispatchresult.h: add a val setter
1552
1553         * cursor.C (dispatch): use a tempvar for data_[i]
1554
1555 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1556
1557         * PosIterator.[Ch]: compile fix
1558
1559 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1560
1561         * text.C (cursorPar): deactivate the cursor cache
1562
1563 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1566
1567 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * text3.C (dispatch): adjust for new DisptchResult semantics.
1570
1571         * lyxfunc.C (dispatch): handle update when return from
1572         Cursor::dispatch, adjust for new DispatchResult semantics.
1573
1574         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1575         DispatchResult(true) mean to not update. Add class functions for
1576         setting dispatched and update, as well as reading.
1577
1578         * cursor.C (dispatch): don't handle update here
1579
1580 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1583         * trans_mgr.C: adjust
1584
1585         * paragraph_funcs.C (readParToken): exception safety
1586
1587         * lyxvc.h: store the vcs pointer in a scoped_ptr
1588         * lyxvc.C: adjust
1589
1590         * lyxsocket.C (serverCallback): exception safety
1591
1592         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1593
1594         * ispell.C (clone): make it return a auto_ptr
1595
1596         * factory.C (createInset): exception safety
1597         (readInset): exception safety
1598
1599         * bufferlist.C (newBuffer): exception safety
1600
1601         * Thesaurus.C (Thesaurus): use initialization for aik_
1602
1603         * MenuBackend.C (expandToc): exception safety.
1604
1605 2003-11-03  André Pönitz  <poenitz@gmx.net>
1606
1607         * buffer.C:
1608         * buffer.h:
1609         * bufferview_funcs.C: remove getInsetFromId()
1610
1611         * lyxcursor.[Ch]:
1612         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1613
1614         * lyxfunc.C:
1615         * text2.C:
1616         * text3.C: adjust
1617
1618 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1619
1620         * PosIterator.C (distance, advance): new
1621         * bufferview_funcs.[Ch] (put_selection_at): new
1622         * iterators.[Ch] (lockPath): new
1623
1624 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * iterators.[Ch] (asPosIterator): added
1627         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1628         * PosIterator.[Ch]: added
1629
1630 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * text3.C:
1633         * lyxfunc.C:
1634         * cursor.C (dispatch):
1635         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1636
1637         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1638         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1639         contructor, add a class function dispatched. Remove operator>=
1640
1641 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1642
1643         * debug.C: only use the default constructor for debugstream
1644         (lyxerr) here.
1645
1646         * main.C (main): include debug.h and setup the lyxerr streambuf
1647         here.
1648
1649 2003-10-31  José Matos  <jamatos@lyx.org>
1650
1651         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1652
1653         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1654         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1655         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1656         * paragraph_pimpl.C (simpleTeXSpecialC):
1657         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1658         add LatexRunParams argument.
1659
1660         * exporter.C (Export): change call accordingly.
1661
1662         * latexrunparams.h: add new member to take care of the other backends.
1663 2003-10-30  José Matos  <jamatos@lyx.org>
1664
1665         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1666         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1667         factorise code for paragraph output.
1668         * buffer.[Ch]:
1669         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1670         move functions.
1671
1672 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * text3.C (dispatch):
1675         * lyxfunc.C (dispatch):
1676         * cursor.C (dispatch):
1677         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1678
1679         * dispatchresult.h: make the dispatch_result_t ctor explicit
1680
1681 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * sgml.[Ch]:
1684         * buffer.C: small refactoring of docbook stuff
1685
1686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1689         meaning.
1690
1691 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1694         operator dispatch_result_t, and operators for == != and >=
1695
1696         * cursor.C (dispatch): adjust for operator dispatch_result_t
1697         removal. comment out call to update
1698
1699         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1700
1701 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * text3.C:
1704         * text2.C:
1705         * text.C:
1706         * lyxtext.h:
1707         * lyxfunc.C:
1708         * cursor.C:
1709         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1710         (dispatch):
1711
1712         * dispatchresult.h: new file, DispatchResult broken out of
1713         insets/insetbase.h
1714
1715         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1716
1717 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1718
1719         * text.C (rowBreakPoint): put a hack inside #if 0
1720
1721 2003-10-28  André Pönitz  <poenitz@gmx.net>
1722
1723         * lyxtext.h:
1724         * metricsinfo.C:
1725         * paragraph_funcs.C:
1726         * rowpainter.C:
1727         * text.C:
1728         * text2.C: general cleanup (lots of small stuff)
1729
1730 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1731
1732         * text2.C (cursorEnd): simple fix to the "end key goes to one
1733         before the end on last row" bug
1734
1735 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1736
1737         * text.C (backspace): fix the "zombie characters"
1738
1739 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1740
1741         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1742
1743 2003-10-27  André Pönitz  <poenitz@gmx.net>
1744
1745         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1746
1747         * factory.C: handle new InsetPagebreak, InsetLine
1748
1749         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1750         and move handling into new InsetPagebreak, InsetLine
1751
1752         * BufferView_pimpl.C:
1753         * LyXAction.C:
1754         * ParagraphParameters.C:
1755         * ParameterStruct.h:
1756         * lyxfunc.C:
1757         * lyxtext.h:
1758         * paragraph.C:
1759         * paragraph.h:
1760         * paragraph_funcs.C:
1761         * paragraph_pimpl.C:
1762         * rowpainter.C:
1763         * text.C:
1764         * text2.C:
1765         * text3.C: adjust
1766
1767 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1768
1769         * text.C:
1770         * lyxrow_funcs.[Ch]:
1771         * Bidi.C:
1772         * paragraph.C:
1773         * lyxtext.h:
1774         * rowpainter.C:
1775         * text2.C:
1776         * text3.C: remove lastPos uses in favour of Row::endpos
1777
1778 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1779
1780         * undo.C (performUndoOrRedo): fix two crashes by setting a
1781         cursor by hand and reordering some calls. Use bv->lockInset instead
1782         of inset->edit because the latter loses cursor information
1783
1784 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1785
1786         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1787         by Martin
1788         (rowBreakPoint): fix width. change point to point + 1.
1789         Add a missing check.
1790
1791 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * MenuBackend.C:
1794         * lyxfunc.C: fix (at least partly) the problems
1795         with the Nav menu and headers inside branch insets
1796         reported by Kayvan
1797
1798 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1799
1800         * paragraph.C (getChar): add strong asserts
1801
1802         * lyxrow_funcs.C (lastPos): remove hideous hack
1803
1804         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1805         (fill): adjust to that (avoid an infinite loop)
1806
1807 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1808
1809         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1810
1811 2003-10-23  André Pönitz  <poenitz@gmx.net>
1812
1813         * RowList_fwd.h: change list<> to vector<> to gain speed
1814         after suggestion from Alfredo
1815
1816 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1817
1818         * lyxtext.h: move the bidi stuff from here...
1819         * text.C: and here
1820         * text2.C: and here
1821         * Bidi.[Ch]: ... to here
1822
1823 2003-10-23  André Pönitz  <poenitz@gmx.net>
1824
1825         * lyxtext.h:
1826         * text.C (isLastRow, isFirstRow): new functions
1827
1828         * paragraph.h: new width cache member
1829
1830         * rowpainter.C: replace RowList::iterator with Row & where possible
1831
1832         * lyxfunc.C: replace several view()->text with a single call
1833
1834         * toc.C: fix 'unused' warning
1835
1836 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1839         when woring with stream::pos_type
1840         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1841
1842 2003-10-22  André Pönitz  <poenitz@gmx.net>
1843
1844         * lyxtext.h:
1845         * text.C: use Row & instead of RowList::iterator
1846
1847         * lyxrow.h: rename end() to endpos()
1848
1849         * rowpainter.C:
1850         * text.C:
1851         * text2.C: adjust
1852
1853 2003-10-22  Angus Leeming  <leeming@lyx.org>
1854
1855         * buffer.[Ch] (fully_loaded): new member function, returning true
1856         only when the file has been loaded fully.
1857         Used to prevent the premature generation of previews and by the
1858         citation inset to prevent computation of the natbib-style label.
1859
1860         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1861         templates are all set up.
1862
1863         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1864
1865 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1866
1867         * text.C: fixed an "oops" in the "is a bit silly"
1868         bug fix
1869
1870 2003-10-21  André Pönitz  <poenitz@gmx.net>
1871
1872         * FuncStatus.[Ch]: small stuff, whitespace
1873
1874         * lyxfont.[Ch]: operator<<() for debug reasons
1875
1876         * lyxfunc.C:
1877         * lyxrow_funcs.C:
1878         * lyxtext.h: whitespace, spelling
1879
1880         * paragraph.C: naming of variables
1881
1882         * text.C:
1883         * text2.C: small stuff
1884
1885
1886 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1887
1888         * text.C: (1) finish off the inset display() work;
1889         (2) fix the "is a bit silly" bug (accessing char
1890         past end of par).
1891
1892 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * text.C: re-introduce display() for insets, fixing the
1895         various bugs (stretch of line above, math inset
1896         positioning, ...)
1897
1898 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * text.C (rightMargin): remove spurious semicolon
1901
1902         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1903         1415)
1904
1905 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * text3.C: fix one crash due to wrong cursor def
1908
1909 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1910
1911         * vc-backend.C (scanMaster): make the regex static
1912
1913         * LaTeX.C (scanAuxFile): make the regexs static
1914
1915         * text3.C (doInsertInset, dispatch, dispatch):
1916         * text2.C (cursorUp, cursorDown):
1917         * text.C (selectNextWordToSpellcheck):
1918         * BufferView_pimpl.C (dispatch):
1919         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1920
1921 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * lyxsocket.C: include <cerrno>
1924
1925 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * lyxfunc.C (dispatch): remove textcache stuff
1928
1929         * bufferlist.C (release): remove textcache stuff
1930         (closeAll): ditto
1931
1932         * TextCache.C: delete file
1933         * TextCache.h: delete file
1934
1935         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1936
1937         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1938         delete of the bv_->text.
1939         (resizeCurrentBuffer): remove texcache stuff
1940         (workAreaResize): ditto
1941
1942 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1943
1944         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1945         action.
1946
1947 2003-10-16  André Pönitz  <poenitz@gmx.net>
1948
1949         * lyxrow.[Ch]:
1950         * paragraph.h:
1951         * rowpainter.C:
1952         * text.C:
1953         * text2.C:
1954         * text3.C: speed up by storing y positions per paragraph plus per-row
1955         offset instead of having a 'full' y position in the row.
1956
1957 2003-10-15  André Pönitz  <poenitz@gmx.net>
1958
1959         * iterators.[Ch]:
1960         * iterators.[Ch]:
1961         * undo.[Ch]: make undo aware of inner insets
1962
1963 2003-10-14  Angus Leeming  <leeming@lyx.org>
1964
1965         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1966         static member functions LyX::ref() and LyX::cref.
1967         (lastfiles): new accessor functions for the new lastfiles_ member var.
1968         (addLyXView, views_): add a new LyXView to the list of views_.
1969         (updateInset): loop over all LyXViews to call their own updateInset
1970         member function, returning a pointer to the Buffer owning the inset.
1971
1972         * BufferView_pimpl.C (loadLyXFile):
1973         * MenuBackend.C (expandLastfiles):
1974         * bufferlist.C (MenuWrite, QuitLyX):
1975         lastfiles is no longer a global variable.
1976         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1977
1978         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1979         static function. Access through LyX::cref().emergencyCleanup().
1980
1981 2003-10-14  André Pönitz  <poenitz@gmx.net>
1982
1983         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1984
1985         * undo.[Ch]: restoring part of 'undo in insets'
1986
1987         * Makefile.am:
1988         * undo_funcs.[Ch]: merge with undo.[Ch]
1989
1990         * tabular.C: small cleansing stuff
1991
1992 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1993
1994         * paragraph_funcs.C (readParToken): report unknown insets as error
1995         boxes. Use the outer paragraph as location (also for unknown
1996         tokens).
1997
1998         * factory.C (readInset): do not abort on reading an unknown inset.
1999         Eat it and return 0.
2000
2001 2003-10-13  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2004
2005         * lyxrc.C: displayTranslator is now a function,
2006         declared in GraphicsTypes.h.
2007
2008 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2009
2010         * format.C: new placeholder $$a to pass the socket address.
2011
2012         * bufferlist.[Ch]: new function getBufferFromTmp.
2013
2014         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2015           files in the temporary dir.
2016
2017 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2018
2019         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2020
2021         * Makefile.am: add lyxsocket.[Ch].
2022
2023         * lyx_main.C (error_handler): handle SIGPIPE.
2024
2025 2003-10-13  André Pönitz  <poenitz@gmx.net>
2026
2027         * BufferView_pimpl.C:
2028         * lyxtext.h:
2029         * text.C:
2030         * text2.C:
2031         * text3.C:
2032         * undo_funcs.[Ch]: use paroffset_type instead of
2033           ParagraphList::iterators to prevent multiple conversion
2034           (and get a more robust interface)
2035
2036 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2039         * lyxtext.h: ditto
2040         * text3.C (dispatch): ditto
2041
2042 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2045         move the onlyfile, use onlyfile instead of foundfile in a couple
2046         of places.
2047
2048         * DepTable.C (update): flush the error stream a bit more
2049
2050 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * lyxserver.C (callback): adjust
2053
2054         * lyxfunc.C (getStatus): add a missing brace in commented code
2055         (ensureBufferClean): reindent
2056         (dispatch): delete version taking a string
2057
2058 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * LaTeX.C (deplog): move found file handlig from here...
2061         (handleFoundFile): .. to new function here.
2062         (deplog): make sure to discover several files mentioned on the
2063         same log line.
2064
2065 2003-10-10  André Pönitz  <poenitz@gmx.net>
2066
2067         * lyxfunc.C:
2068         * lyxtext.h:
2069         * tabular.C:
2070         * text.C:
2071         * text2.C:
2072         * text3.C: fix some of the tabular crashes
2073
2074 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2075
2076         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2077
2078         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2079
2080 2003-10-09  André Pönitz  <poenitz@gmx.net>
2081
2082         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2083
2084         * BufferView.C:
2085         * BufferView_pimpl.C:
2086         * bufferview_funcs.C:
2087         * lyx_cb.C:
2088         * lyxcursor.C:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * lyxtext.h:
2092         * text.C:
2093         * text2.C:
2094         * text3.C:
2095         * text_funcs.[Ch]:
2096         * textcursor.[Ch]:
2097         * undo_funcs.C: adjust
2098
2099 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2100
2101         * text2.C (incrementItemDepth): new function, use a backtracking
2102         algorithm to discover the correct item depth.
2103         (resetEnumCounterIfNeeded): new function, use a backtracking
2104         algorithm to discover if counter reset is needed.
2105         (setCounter): use them. Simplify a bit. Add different labels for
2106         different item depths for itemize.
2107
2108         * paragraph.C (Paragraph): remove initialization of enumdepth
2109         (operator=): ditto
2110
2111         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2112         enumerate and itemize. Change the type of itemdepth to signed char.
2113
2114 2003-10-08  André Pönitz  <poenitz@gmx.net>
2115
2116         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2117           thing assignable.
2118         * text.C:
2119         * text2.C: adjust
2120
2121         * tabular.[Ch]: fix crash after 'row-insert'
2122
2123 2003-10-08  Angus Leeming  <leeming@lyx.org>
2124
2125         Fix doxygen warnings.
2126
2127         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2128         Remove CutAndPaste:: prefix from header file declaration.
2129
2130         * LColor.h (fill): remove LColor:: prefix from declaration.
2131
2132         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2133         use lyx::depth_type rather than Paragraph::depth_type so that
2134         header file and .C file match.
2135
2136         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2137
2138         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2139         * aspell.C: \file aspell_local.C -> \file aspell.C
2140         * gettext.C: \file gettext.C -> \file src/gettext.C
2141         * gettext.h: \file gettext.h -> \file src/gettext.h
2142         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2143         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2144         * text.C: \file text.C -> \file src/text.C
2145
2146         * toc.C: move comment so that doxygen is not confused.
2147
2148 2003-10-07  Angus Leeming  <leeming@lyx.org>
2149
2150         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2151
2152 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2153
2154         * aspell.C:
2155         * aspell_local.h: add forgotten std::string's.
2156
2157 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2158
2159         * LaTeXFeatures.C:
2160         * LyXAction.C:
2161         * factory.C:
2162         * lfuns.h:
2163         * lyxfunc.C:
2164         * text3.C: The Box patch. Fancybox support, minipage, parbox
2165
2166 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2167
2168         * CutAndPaste.h:
2169         * DepTable.h:
2170         * FloatList.h:
2171         * LaTeXFeatures.h:
2172         * ParagraphParameters.h:
2173         * TextCache.h:
2174         * Thesaurus.h:
2175         * bufferlist.h:
2176         * exporter.h:
2177         * importer.h:
2178         * lastfiles.h:
2179         * lyxfind.h:
2180         * lyxfont.h:
2181         * lyxlex.h:
2182         * lyxtextclasslist.h:
2183         * messages.h:
2184         * paragraph.h:
2185         * paragraph_pimpl.C:
2186         * textcursor.h: add <string> and other small fixes to make Lars'
2187         std::string patch compile with STLport.
2188
2189 2003-10-06  Angus Leeming  <leeming@lyx.org>
2190
2191         * LColor.h: Add missing #include <string>.
2192
2193 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * All most all file in all subdirs: Make <string> be the prefered
2196         way of getting to std::string, add using declarations.
2197
2198 2003-10-06  André Pönitz  <poenitz@gmx.net>
2199
2200         * metricsinfo.C: initialize LyXFont before changing attribute.
2201         (fixes the 'math in \emph is upright' bug)
2202
2203 2003-10-06  André Pönitz  <poenitz@gmx.net>
2204
2205         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2206
2207 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2208
2209         * graph.C:
2210         * paragraph_pimpl.C: Small fixes to build using STLport
2211
2212 2003-10-02  André Pönitz  <poenitz@gmx.net>
2213
2214         * lyxfunc.C:
2215         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2216
2217 2003-10-01  André Pönitz  <poenitz@gmx.net>
2218
2219         * factory.C: assert early
2220
2221 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * lyx_main.C: remove the global debug object
2224
2225         * debug.h: adjust for new debugstream
2226
2227         * debug.C: adjust for new debugstream and keep the global debug
2228         object here.
2229
2230 2003-09-22  Angus Leeming  <leeming@lyx.org>
2231
2232         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2233         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2234         an incomplete class LyXFont.
2235
2236 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * factory.C: bug fix in branches
2239
2240 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * lyxfunc.C (processKeySym): adjust
2243         (dispatch): adjust
2244         (dispatch): change arg name from ev to func, adjust
2245         (sendDispatchMessage): ditto
2246
2247         * lyx_main.C (defaultKeyBindings): adjust keybindings
2248         (deadKeyBindings): ditto
2249
2250         * kbsequence.C (addkey): return a FuncRequest
2251
2252         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2253
2254         * kbmap.C (bind): take a FuncRequest as arg, adjust
2255         (read): adjust
2256         (lookup): adjust
2257         (defkey): change to take a FuncRequest as arg, adjust
2258         (findbinding): take a FuncRequest as arg, adjust.
2259
2260         * funcrequest.h (operator=): added
2261
2262         * funcrequest.C (FuncRequest): default kb_action changed from
2263         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2264
2265         * buffer.C (dispatch): simplify
2266         (dispatch): adjust to take a FuncRequest as arg, adjust
2267
2268         * boost.C (assertion_failed): change assertion message slightly
2269
2270         * ToolbarBackend.C (read): simplify
2271
2272         * MenuBackend.C (binding): adjust call to findbinding, add a
2273         message if no binding is found.
2274         (read): simplify
2275         (expandToc): correct by adding a empty FuncRequest
2276
2277         * LyXAction.C: include <boost/assert.hpp>
2278         (isPseudoAction): delete function
2279         (LookupFunc): change name to...
2280         (lookupFunc): this. change return type to FuncRequest.
2281         (getActionName): take kb_action as arg, simplify
2282         (funcHasFlag): add an assert, simplify.
2283
2284 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2285
2286         * toc.C (action): return a FuncRequest, simplify
2287
2288         * lyxfunc.C (processKeySym): adjust
2289         (getStatus): delete version that takes an int.
2290         (getStatus): adjust
2291         (dispatch): delete version that takes action as int
2292         (dispatch): adjust
2293         (sendDispatchMessage): simplify and adjust
2294
2295         * funcrequest.C (getArg): take unsigned int as arg
2296
2297         * ToolbarBackend.C (read): adjust
2298         (add): delete version that takes func as a string.
2299         (getIton): take a FuncRequest as arg
2300
2301         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2302         action.
2303
2304         * MenuBackend.C (MenuItem): add a new construct that only takes a
2305         Kind, simplify the constructor use for submenus.
2306         (add): adjust
2307         (expandLastfiles): adjust
2308         (expandDocuments): adjust
2309         (expandFormats): adjust
2310         (expandFloatListInsert): adjust
2311         (expandFloatInsert): adjust
2312         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2313
2314         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2315         Remove class variables lyx_pseudo_map and lyx_arg_map
2316
2317         * LyXAction.C (searchActionArg): delete function
2318         (getPseudoAction): delete function
2319         (retrieveActionArg): delete function
2320         (LookupFunc): make it return kb_action, simplify.
2321         (getActionName): simplify
2322
2323         * factory.C (createInset): fix new bug
2324
2325 2003-09-19  Angus Leeming  <leeming@lyx.org>
2326
2327         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2328         masterFilename_ parameter in the include inset.
2329
2330         * factory.C (createInset): changes due to the changes to InsetInclude.
2331
2332 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2333
2334         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2335
2336 2003-09-18  Angus Leeming  <leeming@lyx.org>
2337
2338         * buffer.C:
2339         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2340         Inset::fillWithBibKeys.
2341         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2342
2343 2003-09-18  Angus Leeming  <leeming@lyx.org>
2344
2345         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2346         variables.
2347         (ctor): pass and store a 'Buffer const &'
2348         (buffer): new member function.
2349
2350         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2351         '*this' to the LaTeXFeatures ctor.
2352
2353 2003-09-18  Angus Leeming  <leeming@lyx.org>
2354
2355         * LColor.h:
2356         * lyxfont.C:
2357         * lyxfont.h:
2358         * lyxtext.h:
2359         * text.C: rename EnumLColor as LColor_color.
2360
2361 2003-09-18  Angus Leeming  <leeming@lyx.org>
2362
2363         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2364         remove #include "insets/insetbase.h" from cursor.h.
2365
2366 2003-09-18  Angus Leeming  <leeming@lyx.org>
2367
2368         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2369         InsetOld_code to remove #include "inset.h".
2370
2371         * iterators.C: add #include "insets/inset.h"
2372
2373 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2374
2375         * BufferView.C: remove more locking stuff that apparently doesn't
2376         do anything sensible.
2377
2378 2003-09-16  André Pönitz  <poenitz@gmx.net>
2379
2380         * paragraph.[Ch]:
2381         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2382           performance boost.
2383
2384 2003-09-16  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2387
2388         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2389         arg/return type.
2390
2391         * paragraph.h: remove #include "lyxfont.h". Forward declare
2392         LyXFont_size.
2393
2394 2003-09-16  Angus Leeming  <leeming@lyx.org>
2395
2396         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2397         of support/textutils.h.
2398         (isWord): move the contents of support/textutils.h's IsWordChar here.
2399
2400         * buffer.C:
2401         * lyxfind.C:
2402         * rowpainter.C:
2403         * text.C:
2404         * text2.C: add #include "paragraph.h".
2405
2406         * rowpainter.C:
2407         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2408
2409 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * main.C:
2412         * lyx_main.C:
2413         * lyx_cb.C:
2414         * buffer.C:
2415         * LaTeX.C: use namespace alias for lyx::support::os
2416
2417 2003-09-16  Angus Leeming  <leeming@lyx.org>
2418
2419         * bufferparams.C:
2420         * bufferview_funcs.C:
2421         * factory.C:
2422         * lyxfunc.C:
2423         * paragraph_pimpl.C:
2424         * rowpainter.C:
2425         * text.C: add #include "LColor.h".
2426
2427 2003-09-16  Angus Leeming  <leeming@lyx.org>
2428
2429         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2430         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2431         return LyXFont &.
2432         Store the FontBits::color variable as an int rather than as an
2433         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2434         file.
2435
2436         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2437         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2438         string calls together.
2439
2440         * lyxrc.C: add #include "LColor.h".
2441
2442 2003-09-15  Angus Leeming  <leeming@lyx.org>
2443
2444         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2445         a cow_ptr.
2446
2447 2003-09-15  Angus Leeming  <leeming@lyx.org>
2448
2449         * LColor.h: add an EnumLColor wrapper for LColor::color.
2450
2451         * lyxfont.[Ch] (color, setColor, realColor):
2452         * lyxtext.h, text.C (backgroundColor):
2453         pass EnumLColor args to/from the functions, rather than LColor::color
2454         ones.
2455
2456         * lyxfont.h:
2457         * lyxtext.h: forward declare EnumLColor.
2458
2459         * lyx_main.C: add #include "LColor.h".
2460
2461 2003-09-15  Angus Leeming  <leeming@lyx.org>
2462
2463         * .cvsignore: add lyx-gtk.
2464
2465 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2466
2467         * Chktex.C
2468         * LaTeX.C
2469         * LaTeXFeatures.C
2470         * ParagraphParameters.C
2471         * Spacing.C
2472         * buffer.C
2473         * bufferparams.C
2474         * bufferview_funcs.C
2475         * chset.C
2476         * counters.C
2477         * funcrequest.C
2478         * lyxfont.C
2479         * lyxgluelength.C
2480         * lyxlength.C
2481         * paragraph.C
2482         * paragraph_funcs.C
2483         * text3.C
2484         * vc-backend.C: remove usage of STRCONV
2485
2486 2003-09-15  Angus Leeming  <leeming@lyx.org>
2487
2488         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2489         explicitly define the color passed to the painter.
2490
2491 2003-09-15  Angus Leeming  <leeming@lyx.org>
2492
2493         * bufferparams.C (BufferParams): reorder member initializers to avoid
2494         compiler warning.
2495
2496 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2497
2498         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2499         * text.C (updateRowPositions): remove an unusual nop
2500
2501 2003-09-12  André Pönitz  <poenitz@gmx.net>
2502
2503         * BufferView_pimpl.C:
2504         * Bullet.C:
2505         * layout.h:
2506         * lyxfunc.C:
2507         * lyxlayout.[Ch]:
2508         * lyxtextclass.C:
2509         * rowpainter.C:
2510         * text.C:
2511         * text2.C:
2512         * Counters.[Ch]: finish the 'automatic counters' job
2513
2514 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2515
2516         * aspell.C: include <boost/assert.cpp> (compile fix)
2517
2518 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2519
2520         * boost.C (assertion_failed): use lyx::support::abort instead of
2521         assert.
2522
2523 2003-09-10  Angus Leeming  <leeming@lyx.org>
2524
2525         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2526         with their _fwd progeny.
2527
2528 2003-09-09  Angus Leeming  <leeming@lyx.org>
2529
2530         134 files throughtout the source tree: replace 'using namespace abc;'
2531         directives with the appropriate 'using abc::xyz;' declarations.
2532
2533 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2534
2535         * boost.C (emergencyCleanup): moved here from LAssert.c
2536         (assertion_failed): new function, called by BOOST_ASSERT
2537
2538         * several files: change Assert to BOOST_ASSERT
2539
2540 2003-09-09  Angus Leeming  <leeming@lyx.org>
2541
2542         * buffer.[Ch]: Add an Impl class and move Buffer's member
2543         variables into it. As a result move several header files out of
2544         buffer.h.
2545
2546         Add header files to lots of .C files all over the tree as a result.
2547
2548 2003-09-09  Angus Leeming  <leeming@lyx.org>
2549
2550         * buffer.[Ch]: make Buffer's member variables private. Add
2551         accessor functions.
2552
2553         Lots of changes all over the tree as a result.
2554
2555 2003-09-08  Angus Leeming  <leeming@lyx.org>
2556
2557         * graph.C: #include <config.h>.
2558
2559 2003-09-08  Angus Leeming  <leeming@lyx.org>
2560
2561         * BranchList.C:
2562         * BufferView.C:
2563         * BufferView_pimpl.C:
2564         * CutAndPaste.C:
2565         * DepTable.C:
2566         * LaTeX.C:
2567         * LaTeXFeatures.C:
2568         * LyXAction.C:
2569         * MenuBackend.C:
2570         * TextCache.C:
2571         * aspell.C:
2572         * buffer.C:
2573         * bufferlist.C:
2574         * changes.C:
2575         * chset.C:
2576         * converter.C:
2577         * counters.C:
2578         * debug.C:
2579         * graph.C:
2580         * ispell.C:
2581         * lyx_cb.C:
2582         * lyxfind.C:
2583         * lyxfunc.C:
2584         * lyxlex_pimpl.C:
2585         * lyxrc.C:
2586         * lyxrow.C:
2587         * paragraph.C:
2588         * rowpainter.C:
2589         * texrow.C:
2590         * text.C:
2591         * text2.C:
2592         * toc.C: remove redundant using directives.
2593
2594 2003-09-07  Angus Leeming  <leeming@lyx.org>
2595
2596         * LaTeXFeatures.h: remove #include "support/types.h".
2597         * ToolbarBackend.h: remove #include <algorithm>.
2598         * changes.h: remove #include <ctime>.
2599         * debug.h: remove #include <iosfwd>.
2600         * graph.h: remove #include "support/std_string.h".
2601         * lyx_main.h: remove #include <csignal>.
2602         * lyxlex_pimpl.h: remove #include <fstream>.
2603         * sgml.h: remove #include <algorithm>, <utility>.
2604         * toc.h: remove #include "support/std_ostream.h".
2605         Add #include <iosfwd>.
2606
2607 2003-09-07  Angus Leeming  <leeming@lyx.org>
2608
2609         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2610
2611         * converter.h: forward declare LatexRunParams.
2612         * encoding.h: remove #include "lyxrc.h".
2613         * lyxtext.h: remove #include "LColor.h".
2614         * lyxtextclass.h: remove #include "support/types.h".
2615         * trans.h: remove #include "tex-accent.h".
2616         * trans_mgr.h: remove #include "tex-accent.h".
2617         * insets/inset.h: remove #include "support/types.h", <vector>.
2618         * insets/insetcollapsable.h: remove #include "LColor.h".
2619         * insets/insetinclude.h: remove #include "dimension.h".
2620         * insets/insetlatexaccent.h: remove #include "dimension.h".
2621         * insets/insetoptarg.h:: remove #include "insettext.h".
2622         * insets/insettext.h: remove #include "dimension.h",
2623         <boost/shared_ptr.hpp>
2624
2625         * insets/renderers.h: add #include "dimension.h".
2626         * insets/updatableinset.h: add #include "support/types.h".
2627
2628         * many .C files: Associated changes.
2629
2630 2003-09-06  Angus Leeming  <leeming@lyx.org>
2631
2632         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2633         one, inside testInvariant.
2634
2635         * PrinterParams.C: new file.
2636         * PrinterParams.[Ch]: move the function bodies out of line.
2637
2638 2003-09-06  Angus Leeming  <leeming@lyx.org>
2639
2640         * ParagraphParameters.h: forward declare ParameterStruct rather than
2641         including its header file.
2642         (depth): moved out-of-line.
2643
2644 2003-09-06  Angus Leeming  <leeming@lyx.org>
2645
2646         * BufferView_pimpl.h:
2647         * kbmap.h:
2648         * kbsequence.h:
2649         * lyxfunc.h: forward declare LyXKeySym rather than
2650         #include "frontends/LyXKeySym.h".
2651
2652         * BufferView_pimpl.C:
2653         * kbmap.C:
2654         * kbsequence.C:
2655         * lyxfunc.C: associated changes.
2656
2657 2003-09-06  Angus Leeming  <leeming@lyx.org>
2658
2659         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2660         As a result, can remove the #include "insets/inset.h" from BufferView.h
2661
2662 2003-09-06  Angus Leeming  <leeming@lyx.org>
2663
2664         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2665         As a result, can remove the #include "insets/inset.h" from BufferView.h
2666
2667 2003-09-06  Angus Leeming  <leeming@lyx.org>
2668
2669         * buffer_funcs.C:
2670         * buffer.h:
2671         * bufferlist.C:
2672         * BufferView.C:
2673         * bufferview_funcs.C:
2674         * BufferView_pimpl.C:
2675         * CutAndPaste.C:
2676         * lyx_cb.C:
2677         * lyxfunc.C:
2678         * paragraph.h:
2679         * ParagraphParameters.C:
2680         * tabular.C:
2681         * text3.C:
2682         * toc.C:
2683         * undo_funcs.C:
2684         * frontends/controllers/ControlDocument.C:
2685         * insets/insetcaption.C: rearrange the #includes into some sort of
2686         coherent order.
2687
2688         * buffer.h: remove #includes ErrorList.h, undo.h
2689
2690 2003-09-06  Angus Leeming  <leeming@lyx.org>
2691
2692         * support/types.h: add a 'depth_type' typedef, used to store the
2693         nesting depth of a paragraph.
2694
2695         * paragraph.h:
2696         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2697         defining explicitly.
2698
2699         * buffer.h:
2700         * paragraph_funcs.h:
2701         * ParagraphParameters.h:
2702         * sgml.h: use lyx::depth_type rather than Paragraph or
2703         ParameterStruct's depth_type.
2704
2705         * buffer.h
2706         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2707
2708         * BufferView.C:
2709         * BufferView_pimpl.C:
2710         * CutAndPaste.C:
2711         * ParagraphParameters.C:
2712         * buffer_funcs.C:
2713         * bufferlist.C:
2714         * bufferview_funcs.C:
2715         * lyx_cb.C:
2716         * lyxfunc.C:
2717         * tabular.C:
2718         * text3.C:
2719         * toc.C:
2720         * undo_funcs.C:
2721         * frontends/LyXView.C:
2722         * frontends/controllers/ControlDocument.C:
2723         * frontends/controllers/ControlErrorList.C:
2724         * insets/insetbibitem.C:
2725         * insets/insetbranch.C:
2726         * insets/insetcaption.C:
2727         * insets/insetcollapsable.C:
2728         * insets/insetenv.C:
2729         * insets/insetert.C:
2730         * insets/insetfloat.C:
2731         * insets/insetfoot.C:
2732         * insets/insetfootlike.C:
2733         * insets/insetnewline.C:
2734         * insets/insetquotes.C:
2735         * insets/insettabular.C:
2736         * insets/insettext.C:
2737         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2738
2739         * frontends/controllers/ControlChanges.C: #include "changes.h".
2740
2741 2003-09-06  Angus Leeming  <leeming@lyx.org>
2742
2743         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2744         than #including paragraph.h.
2745
2746         * ParagraphList.h:
2747         * RowList.h: deleted. Superfluous.
2748
2749         * CutAndPaste.h:
2750         * iterators.h:
2751         * lyxcursor.h:
2752         * lyxtext.h:
2753         * text_funcs.h:
2754         * undo.h:
2755         * undo_funcs.h:
2756         * insets/inset.h:
2757         * insets/insettext.h: use ParagraphList_fwd.h rather than
2758         ParagraphList.h.
2759
2760         * paragraph.h: don't forward declare ParagraphList.
2761
2762         * buffer.h:
2763         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2764         rather than ParagraphList.h. paragraph.h is still needed for the
2765         Paragraph::depth_type parameters.
2766
2767         * textcursor.h: enable it to compile stand-alone in light of the
2768         above changes.
2769
2770         * bufferview_funcs.C:
2771         * iterators.C:
2772         * lyxfunc.C:
2773         * lyxrow_funcs.C:
2774         * paragraph.C:
2775         * rowpainter.C:
2776         * text.C:
2777         * text2.C:
2778         * text3.C:
2779         * text_funcs.C:
2780         * textcursor.C:
2781         * undo.C:
2782         * frontends/controllers/ControlParagraph.C:
2783         * frontends/controllers/ControlTabular.C:
2784         * insets/insetmarginal.C:
2785         * insets/insetminipage.C:
2786         * insets/insetnote.C:
2787         * insets/insetoptarg.C: add header files needed to compile again.
2788
2789 2003-09-06  Angus Leeming  <leeming@lyx.org>
2790
2791         * RowList_fwd.h: new file, forward-declaring Row rather than
2792         #including lyxrow.h.
2793
2794         * lyxrow_funcs.h:
2795         * lyxtext.h:
2796         * paragraph.h:
2797         * insets/insettext.h: use it instead of RowList.h
2798
2799         * bufferview_funcs.C:
2800         * lyxfunc.C:
2801         * lyxrow_funcs.C:
2802         * paragraph.C:
2803         * rowpainter.C:
2804         * text.C:
2805         * text2.C:
2806         * text3.C: #include "RowList.h".
2807
2808 2003-09-05  Angus Leeming  <leeming@lyx.org>
2809
2810         * factory.C (createInset):
2811         * vspace.C (c-tor): replace sscanf call with an istringstream.
2812         * ispell.C: re-add missing HP/UX headers.
2813         * lyxserver.C: re-add missing  os2 headers.
2814
2815 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2816
2817         * BranchList.C:
2818         * graph.C:
2819         * ispell.C:
2820         * lastfiles.C:
2821         * lyx_cb.C:
2822         * lyxserver.C:
2823         * texrow.C:
2824         * text3.C: re-add missing system headers, needed for 2.95.2.
2825
2826 2003-09-05  Angus Leeming  <leeming@lyx.org>
2827
2828         Changes most place everywhere due to the removal of using directives
2829         from support/std_sstream.h.
2830
2831 2003-09-05  Angus Leeming  <leeming@lyx.org>
2832
2833         Replace LString.h with support/std_string.h,
2834         Lsstream.h with support/std_sstream.h,
2835         support/LIstream.h with support/std_istream.h,
2836         support/LOstream.h with support/std_ostream.h.
2837
2838         Changes resulting throughout the tree.
2839
2840 2003-09-05  Angus Leeming  <leeming@lyx.org>
2841
2842         * sgml.h: ensure that the header file can be compiled stand-alone.
2843         * *.C: strip out redundant #includes. (320 in total.)
2844
2845 2003-09-04  Angus Leeming  <leeming@lyx.org>
2846
2847         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2848         here (from getPackages).
2849
2850         * debug.[Ch]: add a new EXTERNAL tag.
2851
2852 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2853
2854         * text2.C (cursorEnd): simplify
2855         (setCursor): adjust
2856         (getColumnNearX): adjust
2857
2858         * text.C (computeBidiTables): adjust
2859         (fill): adjust
2860
2861         * rowpainter.C (paintChars): adjust
2862         (paintSelection): adjust
2863         (paintChangeBar): adjust
2864         (paintText): adjust
2865
2866         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2867         lastPos instead.
2868         (numberOfSeparators): adjust
2869
2870 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * LyXAction.C:
2873         * box.[Ch]:
2874         * lfuns.h:
2875         * lyxfunc.C:
2876         * text3.C: Restricts the mouse click functionality
2877         of insets like bibtex, include, toc and floatlist to the visible
2878         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2879         up the dialogs. Cursor has to be in front of the inset (i.e.
2880         start of row) for this to function.
2881
2882 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2883
2884         * bufferview_funcs.C (currentState): output row information
2885
2886 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2887
2888         * bufferview_funcs.C (currentState): output paragraph position
2889
2890 2003-09-04  Angus Leeming  <leeming@lyx.org>
2891
2892         * FloatList.h: move out #include "Floating.h".
2893         * LaTeX.h: move out #include "DepTable.h".
2894         * LyXAction.h: move out #include "funcrequest.h".
2895         * buffer.h: move out #include "author.h", "iterators.h".
2896         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2897         * lyx_main.h: move out #include "errorlist.h".
2898         * lyxfunc.h: move out #include "FuncStatus.h".
2899         * lyxtext: move out #include "lyxcursor.h".
2900         * paragraph_pimpl.h: move out #include "counters.h".
2901
2902 2003-09-03  Angus Leeming  <leeming@lyx.org>
2903
2904         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2905         preamble_snippets list, enabling us to add snippets to the preamble
2906         only if the snippet was not there already.
2907
2908 2003-09-04  Angus Leeming  <leeming@lyx.org>
2909
2910         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2911
2912 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2915         update
2916
2917 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2918
2919         * BranchList.C: point fix, earlier forgotten
2920
2921 2003-09-02  Angus Leeming  <leeming@lyx.org>
2922
2923         * box.C (contains): renamed from 'contained' after a fantastic
2924         amount of hot air.
2925
2926 2003-09-02  John Levon  <levon@movementarian.org>
2927
2928         * BufferView.C:
2929         * lyxcursor.h:
2930         * lyxcursor.C:
2931         * lyxfunc.C:
2932         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2933
2934 2003-09-02  John Levon  <levon@movementarian.org>
2935
2936         * text2.C: simplification of cursorEnd(), including partial
2937         fix for bug 1376
2938
2939 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * buffer.C (readFile): add a space
2942
2943 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2946
2947 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * buffer.C (readFile): new function, take a filename and a
2950         ParagraphList::iterator
2951         (readFile): adjust
2952         (readFile): adjust, make it private. don't use setStream, make
2953         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2954         always contain the filename.
2955
2956         * BufferView.C (insertLyXFile): simplify and make it work for
2957         gzipped files.
2958
2959 2003-08-30  John Levon  <levon@movementarian.org>
2960
2961         * Makefile.am: fix dist (from Kayvan)
2962
2963 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2964
2965         * most files: change to use const Buffer refs
2966
2967 2003-08-27  André Pönitz  <poenitz@gmx.net>
2968
2969         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2970         on top of ownerPar().
2971
2972 2003-08-27  John Levon  <levon@movementarian.org>
2973
2974         * funcrequest.C: properly initialise POD members
2975
2976 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * lyxtext.h (top_y): move top_y from here
2979         * text.C:
2980         * text2.C:
2981         * text3.C:
2982         * BufferView.[Ch]:
2983         * BufferView_pimpl.[Ch]: to here
2984         * frontends/screen.C:
2985         * insets/insettabular.C:
2986         * insets/insettext.C: adjust
2987         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2988
2989 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2990
2991         * BufferView.[Ch]:
2992         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2993
2994 2003-08-26  André Pönitz  <poenitz@gmx.net>
2995
2996         * paragraph_func.[Ch] (outerPar): new function
2997
2998         * paragraph.C:
2999         * paragraph_funcs.C:
3000         * paragraph_funcs.h:
3001         * paragraph_pimpl.C:
3002         * text2.C: remove Inset::par_owner
3003
3004 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * lyxrow_funcs.C:
3007         * lyxtext.h:
3008         * text.C:
3009         * text2.C: eliminates the needFullRow/display() stuff
3010         altogether, putting the logic in metrics/draw in the insets.
3011
3012 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * text2.C (redoParagraphInternal, redoParagraphs):
3015         * text.C (redoParagraph): add a call to updateRowPositions at the
3016         end of each 'metrics-like' call. Remove all others.
3017         (getRow): remove the 'y-computing' version.
3018         (getRowNearY): do not compute nor return the real y. Solve the
3019         'y < 0' problem and simplify.
3020
3021 2003-08-22  Angus Leeming  <leeming@lyx.org>
3022
3023         * *.[Ch]: clean-up of licence and author blurbs.
3024         Also move config.h out of a few .h files and into a few .C files.
3025
3026 2003-08-22  André Pönitz  <poenitz@gmx.net>
3027
3028         * lyxrow.[Ch]: add x_ and *fill_ members
3029
3030         * lyxtext.h:
3031         * text.C:
3032         * rowpainter.C:
3033         * text2.C: adjust/remove prepareToPrint() calls
3034
3035 2003-08-22  André Pönitz  <poenitz@gmx.net>
3036
3037         * lyxrow.[Ch]: add  end_ member
3038
3039         * lyxrow_funcs.C: use LyXRow::end_
3040
3041         * lyxtext.h (singleWidth): add LyXFont parameter
3042
3043         * rowpainter.C:
3044         * text2.C: adjust LyXText::singleWidth() calls
3045
3046         * text.C (redoParagraph): simplify row breaking logic
3047
3048
3049 2003-08-19  André Pönitz  <poenitz@gmx.net>
3050
3051         * funcrequest.C: initialize button_ member
3052
3053         * text3.C:
3054         * rowpainter.[Ch]: interface consolidation
3055
3056 2003-08-18  André Pönitz  <poenitz@gmx.net>
3057
3058         * BufferView.C:
3059         * BufferView_pimpl.C:
3060         * lyxfind.C:
3061         * paragraph_funcs.C:
3062         * rowpainter.C:
3063         * text3.C: remove LyXScreen::draw() and fitCursor calls
3064
3065         * BranchList.h: remove spurious semicolons
3066
3067         * MenuBackend.C: fix branchlist related crash
3068
3069 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3070
3071         * BranchList.[Ch]:
3072         * InsetList.[Ch]:
3073         * LColor.[Ch]:
3074         * LyXAction.C:
3075         * Makefile.am:
3076         * MenuBackend.[Ch]:
3077         * bufferparams.[Ch]:
3078         * factory.C:
3079         * lfuns.h:
3080         * lyxfunc.C:
3081         * text3.C: implements the 'branch inset'
3082         idea. This allows the output of various versions of a document
3083         from a single source version, selectively outputing or suppressing
3084         output of parts of the text.
3085         This implementation contains a 'branch list editor' in a separate
3086         tab of the document settings dialog. Branches are user definable
3087         and have a "display colour" to distinguish them on-screen.
3088
3089         ColorHandler was somewhat cleaned up.
3090         (1) make possible a dynamically growing LColor list by allowing
3091         the graphic context cache to grow along (vector);
3092         (2) eliminate an IMHO unnecessary step in colour allocation.
3093
3094 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3095
3096         * BufferView_pimpl.C: compile fix
3097
3098 2003-08-15  André Pönitz  <poenitz@gmx.net>
3099
3100         * rowpainter.C: remove extra metrics calls
3101
3102         * lyxtext.h: merge the two constructors into a single one,
3103           pass reference to owner's par list
3104
3105         * BufferView_pimpl.C:
3106         * text.C:
3107         * text2.C: adjust
3108
3109 2003-08-15  André Pönitz  <poenitz@gmx.net>
3110
3111         * lyxrow_funcs.[Ch]:
3112         * lyxtext.h:
3113         * paragraph.h:
3114         * paragraph_funcs.C:
3115         * rowpainter.C:
3116         * text.C:
3117         * text2.C:
3118         * text3.C:
3119         * text_funcs.C: split LyXText::rowlist_ into individual
3120         Paragraph::rows_ chunks
3121
3122         * BufferView.[Ch]:
3123         * BufferView_pimpl.[Ch]:
3124         * lyxfind.C:
3125         * lyxtext.h:
3126         * text3.C: remove toggleSelection()
3127
3128 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3129
3130         * bufferlist.C: beautify two alerts (shorter text of buttons)
3131         * buffer.C: Remove redundant ' ' from message
3132         * tabular.h:
3133         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3134         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3135         rename VALIGN_CENTER to VALIGN_MIDDLE
3136
3137 2003-08-11  André Pönitz  <poenitz@gmx.net>
3138
3139         * lyxtext.h (getPar):
3140         * text.C: new function
3141
3142 2003-08-11  André Pönitz  <poenitz@gmx.net>
3143
3144         * Makefile.am:
3145         * tracer.[Ch]: remove unneeded files
3146
3147         * InsetList.[Ch]: remove resizeInsetsLyXText()
3148
3149         * lyxtext.h:
3150         * text.C:
3151         * text2.C:
3152         * text3.C: merge insertParagraphs() and appendParagraph()
3153         remove breakAgain(), update()
3154
3155         * BufferView_pimpl.[Ch]:
3156         * bufferview_funcs.[Ch]:
3157         * lyxfunc.C:
3158         * paragraph.[Ch]:
3159         * rowpainter.C:
3160         * tabular.C: adjust after text & InsetList changes.
3161
3162 2003-08-08  André Pönitz  <poenitz@gmx.net>
3163
3164         * text.C (insertChar, backspace): replace rowlist fiddling
3165         with rebreak of full par
3166
3167         * lyxtext.h:
3168         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3169         checkParagraph, updateInset): removed
3170
3171 2003-08-07  André Pönitz  <poenitz@gmx.net>
3172
3173         * paragraph.C:
3174         * text3.C: merge some LFUN handlers, remove dead code
3175
3176 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3177
3178         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3179
3180 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3181
3182         * text2.C (DEPM): fix part of bug 1255 and 1256
3183
3184 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3185
3186         * BufferView_pimpl.C (workAreaDispatch): change to use
3187         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3188         that are no mouse related.
3189
3190 2003-08-05  André Pönitz  <poenitz@gmx.net>
3191
3192         * BufferView.[Ch]:
3193         * BufferView_pimpl.[Ch]:
3194         * bufferview_funcs.C:
3195         * text2.C:
3196         * text3.C: rip out "deep update"
3197
3198         * textcursor.[Ch] (last_sel_cursor): remove unused member
3199
3200 2003-08-04  André Pönitz  <poenitz@gmx.net>
3201
3202         * BufferView.[Ch]:
3203         * BufferView_pimpl.[Ch]:
3204         * ParagraphParameters.C:
3205         * bufferview_funcs.C:
3206         * lyx_cb.C:
3207         * lyxfind.C:
3208         * lyxfunc.C:
3209         * text.C:
3210         * text2.C:
3211         * text3.C: replace "complicated" BufferView::update(...) calls with
3212         simpler ones.
3213
3214         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3215
3216 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3217
3218         * Makefile.am (lyx_SOURCES): add paper.h
3219
3220 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3221
3222         * Makefile.am: move things around so that both lyx-qt and
3223         lyx-xforms can be built (according to --with-frontend). Then lyx
3224         is a symbolic link to lyx-[firstfrontend]
3225
3226 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3227
3228         * Always use std::endl with lyxerr
3229
3230 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3231
3232         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3233
3234 2003-08-01  André Pönitz  <poenitz@gmx.net>
3235
3236         * BufferView.[Ch]:
3237         * BufferView_pimpl.[Ch]:
3238         * lyxfunc.C:
3239         * text3.C: merge BufferView::repaint() and BufferView::update()
3240
3241 2003-08-01  José Matos  <jamatos@lyx.org>
3242
3243         * buffer.[Ch]: file_format is no longer a buffer data element.
3244
3245 2003-08-01  André Pönitz  <poenitz@gmx.net>
3246
3247         * BufferView.C:
3248         * lyxtext.h:
3249         * text.C:
3250         * text2.C: make redoParagraph more independent of current cursor
3251
3252         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3253         * text.C:
3254         * text2.C: remove unneeded members
3255
3256 2003-07-30  André Pönitz  <poenitz@gmx.net>
3257
3258         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3259
3260         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3261           create a single function...
3262
3263         * paragraph_funcs.C (moveItem): ... here.
3264
3265         * text.C:
3266           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3267
3268 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3269
3270         * LColor.[Ch]: Add comment and greyedout logical colors.
3271
3272 2003-07-30  André Pönitz  <poenitz@gmx.net>
3273
3274         * tabular.C: don't use Assert too heavily. This crashes where it
3275           shouldn't
3276
3277 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3280         is disabled (bug 1232)
3281
3282 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * factory.C: limited 'arg' scope
3285
3286 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3287
3288         * factory.C: fixed Note submenu issues
3289
3290 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3291
3292         * factory.C: submenu for Note/Comment/Greyedout
3293
3294 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * lyx_main.C (LyX):
3297         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3298
3299 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * LaTeXFeatures.C:
3302         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3303         greyedout. Patch provided by Jürgen Spitzmüller.
3304
3305 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3306
3307         * kbmap.C (read): fix error message when reading bind files
3308
3309 2003-07-29  Angus Leeming  <leeming@lyx.org>
3310
3311         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3312         certainly does not do what it purports to do. I am doing it, and
3313         us, a favour by killing it.
3314
3315 2003-07-28  José Matos  <jamatos@lyx.org>
3316
3317         * buffer.C (readBody, do_writeFile):
3318         * paragraph.C(readParagraph): \end_document replaces \the_end.
3319
3320 2003-07-29  André Pönitz  <poenitz@gmx.net>
3321
3322         * BufferView.[Ch]:
3323         * BufferView_pimpl.[Ch]:
3324         * lyxfunc.C:
3325         * text2.C:
3326         * text3.C:
3327         * textcursor.[Ch]: remove toggleToggle & Co
3328
3329 2003-07-28  José Matos  <jamatos@fep.up.pt>
3330
3331         * buffer.C (readParagraph):
3332         * params_func (readParToken, readParagraph):
3333         * paragraph.C (write): \layout -> \begin_layout.
3334
3335 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * lyxlex_pimpl.C (setFile): clean up slightly.
3338
3339         * bufferparams.h: add compressed var
3340
3341         * buffer_funcs.C (readFile): adjust for LyXLex change
3342         (newFile): ditto + simplify
3343
3344         * buffer.C (writeFile): handle writing of compressed files
3345
3346         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3347         Check if the file is compressed and set a bufferparm if so.
3348
3349         * Makefile.am (lyx_LDADD): remove explicit -lz
3350
3351 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3352
3353         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3354         makeDocBookFile): put the real LyX version in the first line of
3355         the file
3356
3357         * version.h:
3358         * version.C.in: remove lyx_docversion
3359
3360         * tabular.C (write_attribute): add a template-based version to
3361         write enums properly
3362
3363 2003-07-28  André Pönitz  <poenitz@gmx.net>
3364
3365         * lyxtext.h:
3366         * text.C:
3367         * text2.C:
3368         * text3.C: use doubles again for x-coordinates. They are needed.
3369
3370 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * messages.C (getLocaleDir): use lyx_localedir()
3373
3374         * lyxlex_pimpl.C (setFile): compress stuff
3375
3376         * buffer.C (writeFile): add some compression stuff
3377         (do_writeFile): new func, dont call expliti close... will this
3378         breake anything?
3379
3380         * Makefile.am (lyx_LDADD): add -lz
3381
3382 2003-07-28  José Matos  <jamatos@fep.up.pt>
3383
3384         * buffer.C: increment file format.
3385         * paragraph_funcs (readParagraph, readParToken):
3386         * paragraph.C (readParagraph): add \end_layout.
3387
3388 2003-07-27  Angus Leeming  <leeming@lyx.org>
3389
3390         * Makefile.am: remove special casing for configure-time setting of
3391         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3392
3393         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3394         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3395
3396 2003-07-26  André Pönitz  <poenitz@gmx.net>
3397
3398         * paragraph_func.[Ch]:
3399         * paragraph.C (realizeFont): inline it whereever it is used
3400
3401         * rowpainter.C:
3402         * text.C:
3403         * text2.C:
3404         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3405
3406
3407 2003-07-26  André Pönitz  <poenitz@gmx.net>
3408
3409         *       lyxtext.h:
3410         * text.C:
3411         * text2.C: get rid of LyXText::need_break_row
3412
3413 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * toc.[Ch]: put namespace toc inside namespace lyx
3416
3417         * MenuBackend.C (expandToc2): adjust for lyx::toc
3418         (expandToc): ditto
3419
3420         * lyxfunc.C (dispatch): adjust for lyx::find
3421
3422         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3423         lyx::find instead. Reorganize a bit.
3424         (LyXReplace): rename to replace
3425         (LyXFind): rename to find
3426
3427         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3428         (dispatch): ditto
3429
3430 2003-07-26  André Pönitz  <poenitz@gmx.net>
3431
3432         * text.C (setHeightOfRow): restrict scope of temporary variable
3433
3434         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3435           code (never has been used?)
3436
3437 2003-07-27  Asger Alstrup  <alstrup@local>
3438
3439         * text.C (fill): Optimise algorithm to exploit that we can reuse
3440         the LyXFont for many characters.
3441         (setHeightOfRow): Same thing.
3442         (rowBreakPoint): Same thing.
3443
3444 2003-07-26  Asger Alstrup  <alstrup@local>
3445
3446         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3447
3448         * text.C (singleWidth): Spurious font copying in hot-spot
3449         singleWidth avoided. Reorder tests for arabic for efficiency.
3450
3451         * text.C (fill): handle empty paragraphs better.
3452
3453 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3454
3455         * ispell.C:
3456         * encoding.h: add includes
3457
3458         * lyxrc.C: remove reading of bind files
3459
3460         * lyx_main.C (init): setup bindings and menus only if we have a
3461         gui.
3462
3463         * kbmap.C (read): new method. Do the actual reading of bind
3464         files.
3465
3466         * converter.C (dvipdfm_options):
3467         * bufferparams.C:
3468         * lyxrc.C (read):
3469         (output): adapt PAPER_* enums.
3470
3471         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3472
3473         * bufferparams.h: remove paper-related enums from there
3474
3475         * paper.h: New file. A trivial header file to hold paper-related
3476         enums. It should later expand to contain many paper-related
3477         horrors access.
3478
3479         * lyxrc.C: declare extern displayTranslator
3480
3481 2003-07-27  José Matos  <jamatos@fep.up.pt>
3482
3483         * tabular.[Ch] (linuxdoc): add support for tables and figures
3484         (linuxdoc).
3485
3486 2003-07-27  José Matos  <jamatos@fep.up.pt>
3487
3488         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3489         consistency in both functions.
3490         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3491
3492 2003-07-26  Asger Alstrup  <alstrup@local>
3493
3494         * rowpainter.C (paintRows): Change algorithm to work directly on
3495         the insets rather than asking every character in the document
3496         whether its an inset.
3497
3498 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * buffer.C (openFileWrite): factorize some code
3501
3502 2003-07-26  Angus Leeming  <leeming@lyx.org>
3503
3504         * lyx_cb.C:
3505         * lyx_main.[Ch]: replace occurances of system_tempdir with
3506         os::getTmpDir().
3507
3508 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * rename Inset to InsetOld
3511
3512 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3513
3514         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3515         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3516         which I think is a bit clearer. EDIT is gone, since it was
3517         premature optimisation, and broken for mathed anyway.
3518         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3519         with cursor positioning in insets as well (math insets still do not
3520         work, but that's a different story anyway.) It mysteriously
3521         crashes sometimes with undo in the first paragraph, but I'm fairly
3522         confident that this is a compiler bug.
3523
3524 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3525
3526         * paragraph.C (Paragraph): adjust for new clone return type
3527         (operator==): ditto
3528         (copyIntoMinibuffer): ditto
3529
3530 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3531
3532         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3533         by not having a special case, and always doing a full rebreak of
3534         the document after undo.
3535
3536 2003-07-23  Angus Leeming  <leeming@lyx.org>
3537
3538         * factory.C (createInset): InsetExternal::setParams now takes a
3539         Buffer const * arg.
3540
3541 2003-07-23  Angus Leeming  <leeming@lyx.org>
3542
3543         * factory.C (createInset): changed interface to the external and
3544         graphics mailers' string2params functions.
3545
3546 2003-07-23  Angus Leeming  <leeming@lyx.org>
3547
3548         * factory.C (createInset): pass a
3549         Buffer const * parameter to InsetExternalMailer's string2params.
3550
3551 2003-07-22  John Levon  <levon@movementarian.org>
3552
3553         * Thesaurus.h: include the right aiksaurus header
3554
3555 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3556
3557         * MenuBackend.C (expand): check menu shortcuts unconditionally
3558
3559 2003-07-21  Angus Leeming  <leeming@lyx.org>
3560
3561         * factory.C (createInset): pass a
3562         buffer_path parameter to InsetGraphicsMailer's string2params.
3563
3564 2003-07-21  Angus Leeming  <leeming@lyx.org>
3565
3566         * BufferView_pimpl.C (buffer):
3567         * buffer.C (d-tor):
3568         * lyx_main.C (LyX):
3569         * lyxfunc.C (dispatch):
3570         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3571         rather than the grfx shortcut.
3572
3573 2003-07-21  André Pönitz  <poenitz@gmx.net>
3574
3575         * rowpainter.C: remove unused variables
3576
3577         * tabular_funcs.C:
3578         * tabular_funcs.h: move to tabular.C
3579         * Makefile.am: adjust
3580
3581         * tabular.[Ch]: basic optical cleaning
3582
3583         * author.h: pass references, not values
3584
3585 2003-07-18  André Pönitz  <poenitz@gmx.net>
3586
3587         * lyxtext.h:
3588         * metricsinfo.C:
3589         * metricsinfo.h:
3590         * rowpainter.C:
3591         * text.C:
3592         * text2.C:
3593         * text3.C: two-phase drawing for InsetText and InsetTabular
3594         some float -> int changes.
3595
3596 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * lyx_main.C: fix the fix
3599
3600 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * lyx_main.C: fix a crash in batch mode if no files specified
3603         * converter.C: ws
3604
3605 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3606
3607         * format.[Ch] (papersize): moved to BufferParams
3608         * converter.[Ch] (dvips_options): moved to BufferParams
3609         (dvipdfm_options): moved to anon namespace
3610         * bufferparams.[Ch]: added above functions.
3611
3612 2003-07-17  André Pönitz  <poenitz@gmx.net>
3613
3614         * lyxtext.h:
3615         * rowpainter.C:
3616         * text2.C: don't call inset->update() anymore
3617
3618         * metricsinfo.[Ch]: add convenience constructor
3619
3620 2003-07-16  André Pönitz  <poenitz@gmx.net>
3621
3622         * lyxcursor.[Ch]:
3623         * lyxfunc.[Ch]:
3624         * text.C:
3625         * text2.C: replace the LyXCursor::irow_ member with
3626          on-demand computation of the value
3627
3628 2003-07-16  John Levon  <levon@movementarian.org>
3629
3630         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3631
3632 2003-07-15  André Pönitz  <poenitz@gmx.net>
3633
3634         * text.C:
3635         * text2.C: remove no more needed refresh_row
3636
3637 2003-07-15  André Pönitz  <poenitz@gmx.net>
3638
3639         * lyxtext.h:
3640         * rowpainter.C:
3641         * text2.C:
3642         * text3.C: refresh_status tristate -> need_update bool
3643
3644 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * lyxtext.h (init): remove reinit argument (act as if always true)
3647         * text2.C: adjust to that
3648
3649 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3650
3651         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3652         * text3.C: use it to delete selections in some cases
3653         (bugs 441, 673, 702, 954).
3654
3655 2003-07-14  André Pönitz  <poenitz@gmx.net>
3656
3657         * rowpainter.[Ch]: reduce interface
3658
3659 2003-07-14  André Pönitz  <poenitz@gmx.net>
3660
3661         * BufferView_pimpl.C:
3662         * text2.C: adjust after removing unused BufferView * argument
3663
3664 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3665
3666         * text2.C (init): fix a crash fired on resize
3667
3668 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3669
3670         * buffer.[Ch]: added new closing signal
3671         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3672         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3673         BufferView::Pimpl via the closing the signal
3674
3675 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * buffer.[Ch]: take out all bv-related from buffer
3678         * BufferView.C:
3679         * BufferView_pimpl.[Ch]: connect to new signals
3680         * CutAndPaste.C: removed useless asserts
3681         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3682         * lyxvc.[Ch]:
3683         * vc-backend.[Ch]:
3684         * lyxfunc.C: moved view-related funciontality from vc here
3685         * paragraph.C: removed outdated comments
3686         * text.C: ws
3687
3688 2003-07-10  André Pönitz  <poenitz@gmx.net>
3689
3690         * BufferView_pimpl.C:
3691         * tabular.h:
3692         * tabular_funcs.C:
3693         * text.C:
3694         * text2.C: remove InsetText::InnerCache, clean up consequences
3695
3696 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3697
3698         * ispell.C: fix two typos in error messages
3699
3700 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3701
3702         * Extend Note inset to other forms of annotation like Comment
3703         and Greyedout. Right button click gives dialog.
3704
3705         Files modified or added (+):
3706
3707         * insetnote.[Ch]
3708         * FormNote.[Ch]      +
3709         * ControlNote.[Ch]   +
3710         * form_note.fd       +
3711         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3712         frontends/controllers
3713         * xforms/Dialogs.C
3714         * factory.C
3715
3716 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3717
3718         * aspell.C: add missing namespace lyx::support
3719
3720 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * BufferView.[Ch] (newFile): Add
3723         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3724         * LaTeX.[Ch] (message): added this signal and use it
3725         * buffer.[Ch] (busy, message): added these signals and use them
3726         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3727         * converter.C:
3728         * exporter.C:
3729         * format.C:
3730         * importer.C: use buffer signals instead of direct bv calling
3731         * lyx_cb.[Ch] (ShowMessage): removed
3732         * lyx_main.C:
3733         * lyxfunc.C:
3734         * paragraph_funcs.C:
3735         * text2.C: use buffer signals
3736
3737 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3738
3739         * introduce namespace lyx::graphics
3740
3741 2003-07-02  André Pönitz  <poenitz@gmx.net>
3742
3743         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3744
3745 2003-07-01  André Pönitz  <poenitz@gmx.net>
3746
3747         * text.C:
3748         * text2.C:
3749         * text3.C:
3750         * text_funcs.[Ch]:
3751         * textcursor.h:
3752         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3753           text*.C to text_func.C
3754
3755 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * introduce namespace lyx::support
3758
3759 2003-06-30  André Pönitz  <poenitz@gmx.net>
3760
3761         * Chktex.C:
3762         * funcrequest.C:
3763         * lyxtext.h:
3764         * text.C: re-enable --with-included-string
3765
3766 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * textcursor.C: add <config.h>
3769
3770         * text.C (getWord): remove const from word_location arg
3771
3772         * lyxvc.C (getLogFile): fix const type order
3773
3774         * lyxtext.h: remove const from word_location arg, add arg name
3775
3776         * lyxlayout.h: currect type on labeltype.
3777
3778         * importer.C: correct \file
3779
3780         * converter.C (intToFormat): use std:: on ret val, ws changes
3781
3782         * bufferlist.h: correct \file
3783
3784         * buffer.C (makeLinuxDocFile): fix const type order
3785         (makeDocBookFile): ditto
3786         (fillWithBibKeys): use std:: on stdlib args.
3787
3788         * CutAndPaste.C: fix authors.
3789         (availableSelections): use std:: on return vector
3790
3791 2003-06-27  André Pönitz  <poenitz@gmx.net>
3792
3793         * BufferView_pimpl.C:
3794         * bufferview_funcs.C:
3795         * lyxcursor.C:
3796         * lyxcursor.h:
3797         * lyxfunc.C:
3798         * lyxtext.h:
3799         * rowpainter.C:
3800         * text.C:
3801         * text2.C:
3802         * text3.C: remove LyXCursor::row_ member
3803
3804         * lyxtext.h:
3805         * text.C: rename fullRebreak() to partialRebreak() and implement
3806           a fullRebreak() that really bereks fully
3807
3808         * textcursor.h: new struct for cursor-related data
3809
3810 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3811
3812         * lyx_main.C (LyX): get full path of document loaded on the
3813         command line
3814
3815 2003-06-26  André Pönitz  <poenitz@gmx.net>
3816
3817         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3818           remove unused/broken operator>,<,>=.
3819
3820         *       text.C: remove only use of broken operator<= in an Assert().
3821
3822 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3823
3824         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3825         moved errorlist_.clear to showErrorList
3826
3827 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * converter.C (scanLog, runLaTeX):
3830         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3831         move the bv->showErrorList call to the callers
3832         * lyxfunc.C: i.e. here...
3833         * text2.C: and here
3834         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3835         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3836         namespace, the second to...
3837         * buffer_funcs (BufferFormat, parseErrors): added
3838         * errorlist.C (ErrorList(TeXErrors const &)): removed
3839
3840 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3841
3842         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3843
3844 2003-06-24  "Garst R. Reese" <reese@isn.net>
3845
3846         * debug.C: fix typo
3847
3848 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3851
3852         * version.C.in: change docversion to 1.4
3853
3854 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3855
3856         * buffer.C: fix a bug just introduced
3857
3858 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * buffer.[Ch]: added the parseError signal and use it, removed
3861         sgmlError
3862         * BufferView.[Ch] (addError): moved to ...
3863         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3864         to the Buffer::parseError signal to catch (guess what) parse errors
3865         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3866
3867 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3870         ability to create a buffer and to return an existing one from
3871         the list. Moved these functions to...
3872         * buffer_funcs.[Ch]: added
3873         * BufferView.[Ch] (loadLyXFile): added
3874         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3875         job removed from bufferlist::loadLyXFile.
3876         * buffer.C (setReadOnly): make it work without view
3877         (i.e added an if (users))
3878
3879 2003-06-19  Angus Leeming  <leeming@lyx.org>
3880
3881         * lfuns.h:
3882         * LyXAction.C (init):
3883         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3884         with LFUN_DIALOG_SHOW <name> <data>.
3885
3886 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3887
3888         * CutAndPaste.C (availableSelections): small compilation fix for
3889         ancient (gcc 2.9x) compilers
3890
3891 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * text3.C (cursorNext): add tmp var
3894
3895         * text2.C (updateCounters): for function calling out of for clause
3896         (replaceSelectionWithString): ditto
3897         (insertStringAsParagraphs): ditto
3898         (getColumnNearX): add tmp var
3899         (setCursorFromCoordinates): add tmp var
3900         (cursorDownParagraph): add tmp var
3901         (deleteEmptyParagraphMechanism): add tmp var
3902
3903         * text.C (insertChar): add tmp var
3904
3905         * rowpainter.C (paintDepthBar): add tmp var
3906
3907         * CutAndPaste.C (availableSelections): potentially check all
3908         paragraphs in a cut to fill the shown strings.
3909
3910 2003-06-18  André Pönitz  <poenitz@gmx.net>
3911
3912         * kbmap.[Ch]: use vector<> instead of list<>
3913
3914 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3915
3916         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3917         pasteSelection with index
3918
3919         * text2.C (pasteSelection): modify, call pasteSelection with index
3920
3921         * paragraph.C (asString): reimplement version with no interval to
3922         call the one with interval.
3923
3924         * lyxtext.h: add index arg to pasteSelection
3925
3926         * MenuBackend.C (MenuItem): handle PasteRecent
3927         (Menu::read::Menutags): add md_pasterecent
3928         (read): handle it
3929         (expandPasteRecent): new function
3930         (expand): use it
3931
3932         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3933
3934         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3935         the limited stack
3936         (availableSelections): new function
3937
3938 2003-06-17  Angus Leeming  <leeming@lyx.org>
3939
3940         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3941
3942 2003-06-17  Angus Leeming  <leeming@lyx.org>
3943
3944         * lfuns.h:
3945         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3946
3947         * lyxfunc.C (dispatch): invoke it.
3948
3949 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3950
3951         * iterators.C (operator++, ParPosition): reintroduce some
3952         const_cast for the benefit of older compilers.
3953
3954 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3955
3956         * text3.C (dispatch): do not modify clipboard when doing
3957         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3958         LFUN_DELETE_SKIP on a selection selection
3959
3960 2003-06-16  André Pönitz  <poenitz@gmx.net>
3961
3962         * BufferView.C:
3963         * buffer.C:
3964         * buffer.h:
3965         * paragraph.C:
3966         * tabular.[Ch]: IU of clone() and getLabelList();
3967
3968 2003-06-13  André Pönitz  <poenitz@gmx.net>
3969
3970         * tabular.h: compactification
3971
3972 2003-06-12  André Pönitz  <poenitz@gmx.net>
3973
3974         * tabular.C:
3975         * tabular.h:
3976         * tabular_funcs.h: some renaming plus whitespace
3977
3978 2003-06-12  André Pönitz  <poenitz@gmx.net>
3979
3980         * BufferView.C:
3981         * BufferView_pimpl.C:
3982         * CutAndPaste.C:
3983         * buffer.C:
3984         * iterators.[Ch]:
3985         * lyxfunc.C:
3986         * text.C:
3987         * toc.C: Return a Paragraph & for ParIterator::operator*()
3988
3989 2003-06-11  John Levon  <levon@movementarian.org>
3990
3991         * lyx_main.C:
3992         * ToolbarBackend.h:
3993         * ToolbarBackend.C: add "Toolbars" section and
3994         put the flags there
3995
3996 2003-06-10  Angus Leeming  <leeming@lyx.org>
3997
3998         * lfuns.h:
3999         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4000
4001         * lyxfunc.C (dispatch): invoke it.
4002
4003 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * main.C: protect <ios> with HAVE_IOS
4006         (main): protect sync_with_stdio with HAVE_IOS
4007
4008 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4009
4010         * text2.C (cutSelection): adjust
4011         (pasteSelection): adjust
4012
4013         * messages.C: handle get of empty string
4014
4015         * main.C (main): use sync_with_stdio(false)
4016
4017         * lyxfunc.C (dispatch): adjust
4018
4019         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4020         (WriteAs): remove unneeded BufferView arg.
4021
4022         * bufferparams.h: use correct types on papersize, papersize2 and
4023         paperpackage.
4024
4025         * bufferparams.C (readToken): adjust for type
4026         (writeLaTeX): add missing cases to switch.
4027
4028         * bufferlist.C (quitWriteBuffer): adjust
4029         (close): adjust
4030
4031         * buffer.C (asciiParagraph): remove some commented code.
4032
4033         * CutAndPaste.C: remove current_view extern variable.
4034         (cutSelection): add BufferParams arg.
4035         (eraseSelection): add BufferParams arg.
4036         (pasteSelection): add Buffer const & arg
4037
4038 2003-06-07  John Levon  <levon@movementarian.org>
4039
4040         * buffer.C:
4041         * paragraph_funcs.C:
4042         * paragraph_pimpl.C:
4043         * text.C:
4044         * text2.C:
4045         * paragraph.h:
4046         * paragraph.C: allow InsetERT to freely space lines,
4047         and some consolidation of code
4048
4049 2003-06-06  José Matos  <jamatos@fep.up.pt>
4050
4051         * buffer.C (makeDocBookFile): fix bug #821
4052
4053 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4056
4057 2003-06-04  Angus Leeming  <leeming@lyx.org>
4058
4059         * buffer.C: bump format to 224.
4060
4061 2003-06-05  André Pönitz  <poenitz@gmx.net>
4062
4063         * text2.C (redoParagraphs): remove two const_cast<>
4064
4065 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4066
4067         * ParagraphList.h: remove last remnants of NO_STD_LIST
4068
4069 2003-06-03  Angus Leeming  <leeming@lyx.org>
4070
4071         * factory.C (createInset): small change to the way InsetExternal's params
4072         are set.
4073
4074 2003-06-04  André Pönitz  <poenitz@gmx.net>
4075
4076         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4077
4078         * paragraph_pimpl.h:
4079         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4080
4081         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4082
4083         * undo_funcs.C: make some simple cases of undo work again
4084
4085 2003-06-03  John Levon  <levon@movementarian.org>
4086
4087         * ispell.C: HPUX doesn't have sys/select.h
4088         (from Albert Chin)
4089
4090 2003-06-03  John Levon  <levon@movementarian.org>
4091
4092         * CutAndPaste.C: update tabular and include inset
4093         buffer references
4094
4095         * buffer.h:
4096         * paragraph.h:
4097         * paragraph.C: remove owningBuffer(), don't pass Buffer
4098         to clone()
4099
4100         * factory.C: insetGraphicsParams changed
4101
4102 2003-06-02  John Levon  <levon@movementarian.org>
4103
4104         * LyXAction.C:
4105         * factory.C:
4106         * lfuns.h:
4107         * lyxfunc.C:
4108         * text3.C: remove insetparent
4109
4110 2003-06-02  John Levon  <levon@movementarian.org>
4111
4112         * buffer.h:
4113         * buffer.C: fix inset_iterator.end(), move out of line
4114         (bug 1149)
4115
4116 2003-06-01  John Levon  <levon@movementarian.org>
4117
4118         * text3.C: use a proper cut/paste when doing inset
4119         insert (from Jürgen Spitzmüller)
4120
4121 2003-06-01  John Levon  <levon@movementarian.org>
4122
4123         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4124
4125 2003-05-30  André Pönitz  <poenitz@gmx.net>
4126
4127         * rowpainter.C: unify second drawing phase
4128
4129 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * trans_mgr.C: remove one case of current_view
4132
4133         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4134
4135         * paragraph_funcs.h: remove paragraph.h include
4136
4137         * paragraph.h: delete NO_STD_LIST stuff
4138
4139         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4140
4141         * buffer.h: remove paragraph.h include
4142
4143         * ParagraphList.C: delete file
4144
4145         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4146
4147         * toc.C (getTocList): adjust
4148
4149         * paragraph_pimpl.C (validate): adjust
4150
4151         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4152
4153         * paragraph.C (Paragraph): adjust
4154         (getPositionOfInset): use const_iterator, adjust
4155         (bibitem): use const_iterator, adjust
4156         (setInsetOwner): adjust
4157
4158         * iterators.C (operator++): adjust
4159
4160         * InsetList.[Ch]: Replace selfmade iterator with standard
4161         vector::iterator also introduce const_iterator. Remove getPos,
4162         getInset and setInset from InsetTable. Adjust accordingly.
4163
4164         * BufferView.C (lockInset): adjust
4165         (ChangeInsets): adjust
4166
4167         * tabular.[Ch]: delete commented same_id functions
4168
4169 2003-05-28  John Levon  <levon@movementarian.org>
4170
4171         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4172
4173 2003-05-28  André Pönitz  <poenitz@gmx.net>
4174
4175         * metricsinfo.[Ch]: remove 'fullredraw' member
4176
4177 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4178
4179         * lyxtextclass.C (operator): remove caching.
4180
4181 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * text3.C: adjust
4184
4185         * text2.C (cursorBottom): adjust
4186         (setCounter): use ParagraphList::find, adjust
4187
4188         * text.C (workWidth): use ParagraphList::find, adjust
4189
4190         * lyxcursor.C (LyXCursor): adjust
4191
4192         * buffer.C (inset_iterator): adjust
4193
4194         * ParagraphList.h: make iterator(value_type) private, make
4195         ParagraphList a friend of iterator.
4196
4197         * ParagraphList.C (find): new function
4198
4199         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4200
4201 2003-05-27  André Pönitz  <poenitz@gmx.net>
4202
4203         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4204
4205 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4206
4207         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4208
4209 2003-05-26  John Levon  <levon@movementarian.org>
4210
4211         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4212
4213 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * remove same_id from function signatures, adjust.
4216
4217 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4220
4221         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4222
4223         * paragraph.C (Paragraph): get rid of same_ids parameter
4224
4225         * ParagraphList.C (insert): adjust
4226         (push_back): adjust
4227
4228 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * paragraph_funcs.C (breakParagraph): adjust
4231         (breakParagraphConservative): adjust
4232
4233         * buffer.C (readParagraph): adjust
4234
4235         * ParagraphList.C (insert): take a reference instead of a pointer
4236         (insert): adjust
4237
4238         * paragraph.[Ch] (id): new function
4239
4240         * bufferlist.C (newFile): adjust
4241
4242         * ParagraphList.C (ParagraphList): adjust
4243         (assign): adjust
4244         (push_back): take a reference instead of a pointer.
4245
4246         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4247
4248         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4249         instead.
4250
4251         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4252         set else use old code.
4253
4254         * ParagraphList.C: remove all NO_NEXT code and only compile this
4255         code of NO_STD_LIST is set.
4256
4257 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4258
4259         * BufferView_pimpl.C:
4260         * TextCache.C:
4261         * TextCache.h:
4262         * bufferlist.C:
4263         * errorlist.h:
4264         * format.C:
4265         * format.h:
4266         * graph.C:
4267         * lyxfunc.C:
4268         * lyxrc.C:
4269         * graphics/GraphicsConverter.C:
4270         * graphics/PreviewLoader.C: header adjustment
4271
4272 2003-05-23  Angus Leeming  <leeming@lyx.org>
4273
4274         * LaTeXFeatures.[Ch] (useBabel): new method.
4275         * bufferparams.C (writeLaTeX): use it.
4276
4277 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * ParagraphList.h (set): remove unused function.
4280
4281 2003-05-23  André Pönitz  <poenitz@gmx.net>
4282
4283         * BufferView.C:
4284         * BufferView_pimpl.C:
4285         * buffer.C:
4286         * buffer.h:
4287         * lyxfunc.C:
4288         * undo_funcs.C: setUndo reworked
4289
4290         * iterators.[Ch]: add access to topmost ParagraphList
4291
4292         * lyxtext.[Ch] (workWidth): add a const
4293
4294 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * texrow.[Ch] (increasePos): remove function
4297         * exporter.C (export): removed unused var and outdated comment
4298
4299 2003-05-23  Angus Leeming  <leeming@lyx.org>
4300
4301         * latexrunparams.h: rename fragile as moving_arg.
4302         * paragraph.C (simpleTeXOnePar): ditto.
4303         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4304
4305 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4308         (createUndo): ditto
4309         (textUndoOrRedo): comment out a currently unused var.
4310
4311         * paragraph.h (NO_NEXT): enable NO_NEXT
4312
4313         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4314
4315         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4316
4317         * exporter.C (Export): adjust for removeAutoInsets removal.
4318
4319         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4320
4321         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4322
4323         * BufferView.[Ch] (removeAutoInsets): delete function
4324
4325 2003-05-22  Angus Leeming  <leeming@lyx.org>
4326
4327         * latexrunparams.h: add a free_spacing variable.
4328
4329         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4330         to pass moving_arg, as the data is stored in runparams.fragile.
4331
4332         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4333         to Inset::latexOptional or to simpleTeXOnePar.
4334
4335         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4336         free_spacing arg to Inset::latexOptional.
4337
4338         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4339         free_spacing arg.
4340
4341 2003-05-22  Angus Leeming  <leeming@lyx.org>
4342
4343         * latexrunparams.h: add fragile and use_babel variables.
4344
4345         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4346         * buffer.C (makeLaTeXFile): store this returned value in
4347         runparams.use_babel, thus passing it to the inset::latex methods.
4348
4349         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4350         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4351
4352         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4353         longer has a fragile arg, as it is stored in runparams.fragile.
4354
4355         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4356         moving_arg parameter as the data is stored in runparams.fragile.
4357
4358         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4359         a fragile parameter as the data is stored in runparams.fragile.
4360
4361 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4364
4365 2003-05-22  Angus Leeming  <leeming@lyx.org>
4366
4367         * latexrunparams.h: add a 'bool nice' which defaults to false.
4368
4369         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4370         now encapsulated within runparams.
4371
4372         * bufferlist.C (updateIncludedTeXfiles):
4373         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4374
4375 2003-05-22  Angus Leeming  <leeming@lyx.org>
4376
4377         * latexrunparams.h: new file containing struct LatexRunParams.
4378         * Makefile.am: add new file.
4379
4380         * LaTeX.[Ch] (c-tor, run):
4381         * buffer.[Ch] (makeLaTeXFile):
4382         * bufferlist.[Ch] (updateIncludedTeXfiles):
4383         * converter.C (convert, scanLog):
4384         * converter.[Ch] (runLaTeX):
4385         * exporter.C (Export):
4386         * paragraph.[Ch] (simpleTeXOnePar):
4387         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4388         * paragraph_funcs.[Ch] (latexParagraphs):
4389         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4390         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4391         pass around a LatexRunParams parameter.
4392
4393 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * paragraph.[Ch]: remove unused constructor
4396
4397         * ParagraphList.C (erase): new function, taking two iterators
4398
4399 2003-05-22  André Pönitz  <poenitz@gmx.net>
4400
4401         * undo_funcs.C: remove duplicated code
4402
4403         * iterator.[Ch]: operator=
4404
4405 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * tabular.C (SetMultiColumn): ws changes
4408
4409         * rowpainter.C (paintFirst): get rid of a ->previous
4410
4411         * lyx_cb.C (getPossibleLabel): parlist simplification
4412
4413         * BufferView.C (ChangeInsets): simplify slightly.
4414
4415 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4416
4417         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4418         * lfuns.h: new LFUN_SPACE
4419         * lyxfunc.C: protected space has a new lfun
4420         * paragraph_funcs.C: read new space insets
4421         * text3.C:
4422         * factory.C: handle new space insets
4423
4424 2003-05-22  André Pönitz  <poenitz@gmx.net>
4425
4426         * BufferView.C:
4427         * BufferView_pimpl.C:
4428         * buffer.[Ch]:
4429         * lyxfunc.C:
4430         * undo_funcs.C: return a ParIterator from getParFromID.
4431
4432         * iterators.[Ch]: add two const's
4433
4434 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * toc.C (getTocList): adjust
4437
4438         * iterators.[Ch]: rework for parlist
4439
4440         * buffer.C (par_iterator_begin): adjust
4441         (par_iterator_end): adjust
4442
4443         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4444
4445         * BufferView.C (removeAutoInsets): adjust
4446         (ChangeInsets): adjust
4447
4448 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * text.C (top_y): fix bug 1110
4451
4452 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * errorlist.[Ch]: added
4455         * buffer.C:
4456         * BufferView.[Ch]:
4457         * BufferView_pimpl.C:
4458         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4459         instead
4460
4461 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * Makefile.am: ensure that lyx is relinked upon changes to the
4464         various "convenience" libs.
4465
4466 2003-05-20  Angus Leeming  <leeming@lyx.org>
4467
4468         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4469         files are compiled in alphabetical order again.
4470
4471         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4472
4473 2003-05-19  Angus Leeming  <leeming@lyx.org>
4474
4475         * gettext.[Ch]: remove "char const * _(char const *)".
4476
4477 2003-05-19  André Pönitz  <poenitz@gmx.net>
4478
4479         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4480
4481         * Makefile.am:
4482         * BufferView.C:
4483         * DepTable.h:
4484         * LaTeXFeatures.C:
4485         * buffer.C:
4486         * lyxfont.C:
4487         * lyxlex.h:
4488         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4489
4490 2003-05-19  André Pönitz  <poenitz@gmx.net>
4491
4492         * buffer.C:
4493         * lyxlayout.[Ch]:
4494         * lyxtextclass.[Ch]:
4495         * paragraph.C:
4496         * paragraph_funcs.[Ch]:
4497         * text2.C:
4498         * text3.C: more insetenv work
4499
4500 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4501
4502         * ParagraphParameters.C (params2string): small bug fixed
4503
4504 2003-05-16  André Pönitz  <poenitz@gmx.net>
4505
4506         * debug.C:
4507         * bufferview_funcs.C: patch from Kornel Benko to prevent
4508           crash when _(...) is called twice in a statement
4509
4510 2003-05-16  André Pönitz  <poenitz@gmx.net>
4511
4512         * BufferView.C:
4513         * lyxfunc.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C:
4517         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4518
4519 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * lyx_main.C (init): remove spurious static_cast
4522
4523 2003-05-14  André Pönitz  <poenitz@gmx.net>
4524
4525         * BufferView.C: fix format string
4526
4527 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * BufferView.[Ch] (insertErrors): removed
4530         * BufferView.[Ch] (showErrorList): added
4531         * buffer.C (runChkTeX):
4532         * converter.C (scanLog): call showErrorList instead of inserterrors
4533
4534 2003-05-13  André Pönitz  <poenitz@gmx.net>
4535
4536         * BufferView_pimpl.C:
4537         * buffer.C:
4538         * bufferview_func.C:
4539         * MenuBackend.C:
4540         * lyxfunc.C:
4541         * lyxrc.C:
4542         * tex-accent.C:
4543         * text3.C:
4544         * toc.C:
4545         * tabular_funcs.h: tostr() from its own header
4546
4547         * ParagraphParameters.C:
4548         * ToolbarBackend.C:
4549         * bufferparams.C:
4550         * format.C:
4551         * lyxlex_pimpl.C:
4552         * text3.C: STRCONV()
4553
4554 2003-05-12  André Pönitz  <poenitz@gmx.net>
4555
4556         * BufferView.C:
4557         * BufferView_pimpl.C:
4558         * CutAndPaste.C:
4559         * LaTeX.C:
4560         * LaTeXFeatures.C:
4561         * ParagraphParameters.C:
4562         * buffer.C:
4563         * bufferlist.C:
4564         * bufferparams.C:
4565         * bufferview_funcs.C:
4566         * converter.C:
4567         * counters.C:
4568         * debug.C:
4569         * exporter.C:
4570         * format.C:
4571         * importer.C:
4572         * lyx_cb.C:
4573         * lyx_main.C:
4574         * lyxfont.C:
4575         * lyxfunc.C:
4576         * lyxvc.C:
4577         * paragraph.C:
4578         * paragraph_funcs.C:
4579         * tabular.C:
4580         * tabular_funcs.C:
4581         * text2.C:
4582         * text3.C:  boost::format -> bformat  all over the place
4583
4584
4585 2003-05-09  André Pönitz  <poenitz@gmx.net>
4586
4587         * LColor.[Ch]: Pimpl the #include <map> away
4588
4589 2003-05-09  John Levon  <levon@movementarian.org>
4590
4591         * bufferlist.C: never remove emergency saves
4592
4593 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * Makefile.am: better lib building
4596
4597 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4600         instead.
4601         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4602         (simpleTeXSpecialChars): adjust
4603         (simpleTeXSpecialChars): adjust
4604         * paragraph.C (simpleTeXOnePar): adjust
4605         * buffer.C (makeLaTeXFile): adjust
4606
4607         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4608
4609         * text2.C (changeDepth): parlist cleanup
4610         (getColumnNearX): ditto
4611
4612         * rowpainter.C (getLabelFont): parlist cleanup
4613
4614         * bufferlist.C (newFile): parlist cleanup
4615
4616         * CutAndPaste.C (eraseSelection): parlist cleanup
4617
4618         * BufferView_pimpl.C (trackChanges): parlist cleanup
4619         (dispatch): ditto
4620
4621         * BufferView.C (lockInset): parlist cleanup.
4622         (ChangeInsets): ditto
4623
4624 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * CutAndPaste.h: Update file header.
4627
4628         * CutAndPaste.C: Update file header.
4629         Store the parts cut out of the Document in a limited_stack.
4630         (copySelection): adjust
4631         (pasteSelection): new function, takes the index in the limited stack.
4632         (nrOfParagraphs): adjust
4633         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4634         simplify error inset insertion.
4635         (checkPastePossible): adjust
4636
4637 2003-05-06  John Levon  <levon@movementarian.org>
4638
4639         * text2.C: don't cast wrap inset to float
4640
4641 2003-05-05  André Pönitz  <poenitz@gmx.net>
4642
4643         * iterator.C:
4644         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4645
4646         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4647           few naked Paragraph *.
4648
4649 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4650
4651         * bufferparams.C: Output warning if a document with missing
4652         TeX document class is loaded
4653         * exporter.C: Disable TeX exports if the document class is missing
4654         * lyxtextclass.C:
4655         * lyxtextclass.h:
4656         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4657         isTeXClassAvailable()
4658
4659 2003-05-03  John Levon  <levon@movementarian.org>
4660
4661         * BufferView.h:
4662         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4663         explicit cursor show/hide
4664
4665         * BufferView_pimpl.h:
4666         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4667         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4668
4669         * lyxfunc.C: hide cursor before dispatching.
4670
4671         * lyx_cb.C:
4672         * lyxfind.C:
4673         * text.C:
4674         * text3.C: remove explicit cursor hides
4675
4676 2003-05-02  André Pönitz  <poenitz@gmx.net>
4677
4678         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4679
4680         * undo_funcs.C:
4681         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4682           linked lists
4683
4684         * text2.C: tiny whitespace
4685
4686 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * undo_funcs.C: almost only ws changes.
4689
4690         * ParagraphList.C (splice): just return if pl is empty.
4691
4692 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * ParagraphList.C (splice): new function.
4695
4696         * CutAndPaste.C (pasteSelection): use it
4697
4698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * CutAndPaste.C (pasteSelection): remove the last next and
4701         previous from this file.
4702
4703 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * CutAndPaste.C (pasteSelection): more clean up, user proper
4706         ParagraphList functions for pasteing.
4707
4708         * ParagraphList.C (insert): new function, three arg insert
4709
4710 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * ParagraphList.C (insert): new function, three arg insert
4713
4714         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4715         not on paragraphs.
4716
4717 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4720
4721 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4724
4725 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4728         (copySelection): clean up a bit.
4729         (pasteSelection): use make_pair
4730
4731         * ParagraphList.C (ParagraphList): implement copy constructor
4732         (operator=): implement, base on copy constructor.
4733         (assign): new func
4734
4735         * paragraph.C (erase): return a bool
4736
4737         * paragraph_pimpl.C (erasePos): remove function, move contents...
4738         (erase): ... here. Return a bool.
4739         (erase): call erase instead of erasePos.
4740
4741 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4742
4743         * ParagraphList.h: define PitPosPair
4744         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4745         ParagraphList, fix a bug on pasting multiple pars
4746         * text2.C: change interface to C&P
4747
4748 2003-04-30  André Pönitz  <poenitz@gmx.net>
4749
4750         * undo_func.C: revert part of yesterday's patch 2
4751
4752 2003-04-30  John Levon  <levon@movementarian.org>
4753
4754         * LColor.C: s/tabular/table/
4755
4756 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * text3.C (dispatch): do not convert iterator -> pointer
4759         * undo_funcs.C (setCursorParUndo): ditto
4760         * text_funcs.C (transposeChars): ditto
4761
4762         * text2.C (setLayout): ws changes only
4763
4764         * text.C (breakParagraph): do not convert iterator -> pointer
4765         (insertChar): ditto
4766         (acceptChange): ditto
4767         (rejectChange): ditto
4768         (changeCase): ditto
4769         (Delete): ditto
4770         (backspace): ditto
4771
4772         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4773         pointer
4774
4775 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * text3.C (gotoInset): YABG (yet another bad getChar)
4778
4779 2003-04-29  André Pönitz  <poenitz@gmx.net>
4780
4781         * paragraph.h: make operator= private unimplemented as long as
4782           it is unusable
4783
4784         * ParagraphList.C: whitespace
4785
4786         * paragraph.[Ch]:
4787         * paragraph_pimpl.[Ch]:
4788         * paragraph_funcs.C:
4789         * CutAndPaste.C:
4790         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4791
4792         * text2.C:
4793           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4794
4795 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4798         * paragraph.[Ch] (erase):
4799         * paragraph_pimpl.[Ch] (erase): change return type and value
4800         * text2.C (cutSelection): some rework
4801
4802 2003-04-28  John Levon  <levon@movementarian.org>
4803
4804         * bufferlist.C: changes for unsaved changes dialog
4805
4806 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * bufferlist.C (newFile): set language (messages_) for new
4809         documents also.
4810
4811         * buffer.C (readFile): ws changes only.
4812
4813 2003-04-28  André Pönitz  <poenitz@gmx.net>
4814
4815         * undo_funcs.C:
4816         * lyxfunc.C:
4817         * buffer.[Ch]:
4818         * BufferView_pimpl.C:
4819         * BufferView.C: getParFromID related ParagraphList::iterator changes
4820
4821 2003-04-28  André Pönitz  <poenitz@gmx.net>
4822
4823         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4824           Changes
4825
4826 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * messages.C: remove one more localedir class variable.
4829
4830 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * messages.C (getLocaleDir): singleton generation function
4833         (Pimpl): use it.
4834         (Messages): add a default constructor.
4835
4836         * main.C (main): do not setup localedir here, do not call
4837         gettext_init.
4838
4839         * gettext.C (_): use it.
4840         (gettext_init): delete funciton
4841
4842 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * gettext.C (getLyXMessages): new singleton generating function.
4845
4846         * buffer.C (updateDocLang): adjust
4847
4848         * Makefile.am (messages.o): add target
4849         (main.o): remove target
4850
4851 2003-04-27  John Levon  <levon@movementarian.org>
4852
4853         * bufferlist.C:
4854         * lyx_cb.C:
4855         * lyxfunc.C:
4856         * lyxvc.C: specify cancel button in Alert::prompt
4857
4858 2003-04-26  John Levon  <levon@movementarian.org>
4859
4860         * text3.C:
4861         * lyxfunc.C:
4862         * lfuns.h:
4863         * LyXAction.C: add LFUN_INSET_SETTINGS
4864
4865         * lyxfunc.C: don't enable tabular-feature when there's
4866         just any locking inset
4867
4868 2003-04-26  John Levon  <levon@movementarian.org>
4869
4870         * bufferlist.C: re-add Cancel to buffer close question
4871
4872         * lyxfunc.C: fix import UI a bit
4873
4874 2003-04-25  John Levon  <levon@movementarian.org>
4875
4876         * gettext.C: remove the broken asserts for now
4877
4878 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * messages.C: make case where setlocale cannot comply work better.
4881
4882         * buffer.C (updateDocLang): new function
4883         (changeLanguage): use it
4884         (readFile): use it
4885
4886         * text2.C (setCounter): use B_ a bit.
4887
4888         * lyxlayout.C (Read): be sure to trim the label strings.
4889
4890         * messages.C (Messages): fix typo in comment
4891
4892         * buffer.C (readFile): set message_ after file is loaded.
4893         (makeDocBookFile): remove double return
4894         (changeLanguage): reset message_ upon language change.
4895         (B_): new func, use this to get translated buffer strings.
4896
4897         * main.C: add myself and Jean Marc as authors.
4898
4899 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * messages.[hC]: pimplify Messages, and three different pimpls to be
4902         used in different circumstances.
4903
4904         * gettext.[Ch]: change for use with new message code.
4905
4906 2003-04-24 André Pönitz <poenitz@gmx.net>
4907
4908         * factory.C: support for eqref
4909
4910 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * messages.[Ch]: add missing char
4913
4914         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4915
4916         * messages.[Ch]: New files
4917
4918 2003-04-18  John Levon  <levon@movementarian.org>
4919
4920         * BufferView.h:
4921         * BufferView.C:
4922         * BufferView_pimpl.C:
4923         * lfuns.h:
4924         * LyXAction.C:
4925         * lyxtext.h:
4926         * text2.C: remove layout-copy/paste (bug 778)
4927
4928 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4931
4932 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4935         if they succeed. Act accordingly.
4936
4937 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * text2.C (setCharFont): adjust
4940         (setCounter): adjust
4941         (insertStringAsLines): adjust
4942
4943         * text.C (leftMargin): adjust
4944         (setHeightOfRow): adjust
4945
4946         * rowpainter.C (paintFirst): adjust
4947         (paintLast): adjust
4948
4949         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4950         (outerHook): ditto
4951         (isFirstInSequence): ditto
4952         (getEndLabel): ditto
4953         (outerFont): adjust
4954
4955         * paragraph.C (getParLanguage): comment out some hard stuff.
4956
4957         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4958         (sgmlError): ditto
4959         (simpleDocBookOnePar): ditto
4960         (makeDocBookFile): use ParagraphList::iterator
4961
4962         * CutAndPaste.C (pasteSelection): adjust
4963
4964 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * text2.C (getFont): adjust
4967         (getLayoutFont): adjust
4968         (getLabelFont): adjust
4969
4970         * paragraph_funcs.C (TeXOnePar): adjust
4971
4972         * buffer.C (simpleLinuxDocOnePar): adjust
4973         (simpleDocBookOnePar): adjust
4974
4975         * CutAndPaste.C (pasteSelection): adjust
4976
4977         * BufferView.C (getEncoding): adjust
4978
4979         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4980
4981 2003-04-16  John Levon  <levon@movementarian.org>
4982
4983         * lyxfind.C: use parlist stuff for search/changes
4984
4985 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4988
4989         * text2.C (deleteEmptyParagraphMechanism): adjust
4990
4991         * text2.[Ch] (ownerParagraph): delete func (both of them
4992
4993 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4996
4997 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * ParagraphList.C: prepare for NO_NEXT
5000
5001 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * text2.C (getFont): adjust
5004         (getLayoutFont): adjust
5005         (getLabelFont): adjust
5006
5007         * paragraph.C (getFont): adjust
5008         (getLabelFont): adjust
5009         (getLayoutFont): adjust
5010
5011         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5012
5013 2003-04-15  John Levon  <levon@movementarian.org>
5014
5015         From Angus Leeming
5016
5017         * lyx_main.C: handle Include in .ui files
5018
5019 2003-04-15  John Levon  <levon@movementarian.org>
5020
5021         * MenuBackend.C: make the doc files length shorter
5022
5023         * ToolbarBackend.h:
5024         * ToolbarBackend.C: handle toolbar placement flags,
5025         Minibuffer
5026
5027 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5030         adjust
5031
5032         * paragraph_funcs.C (TeXOnePar): adjust
5033
5034         * paragraph.C (getLabelFont): add outerfont arg, adjust
5035         (getLayoutFont): ditto
5036         (simpleTeXOnePar): adjust
5037
5038         * paragraph_pimpl.C (realizeFont): delete func
5039
5040 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5041
5042         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5043         row argument, constify cur argument.
5044
5045 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * text2.C (getFont): adjust
5048         (getLayoutFont): adjust
5049         (getLabelFont): adjust
5050
5051         * paragraph_funcs.C (TeXOnePar): adjust
5052         (outerFont): new func...
5053         (realizeFont): ...moved out from here, changed this to facilitate
5054         transition
5055
5056         * paragraph.C (getFont): take outerfont as arg, adjust
5057         (simpleTeXOnePar): add outerfont arg, adjust
5058
5059         * buffer.C (simpleLinuxDocOnePar): adjust
5060         (simpleDocBookOnePar): adjust
5061
5062         * CutAndPaste.C (pasteSelection): adjust
5063
5064         * BufferView.C (getEncoding): adjust
5065
5066 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * text2.C (setCharFont): adjust
5069         (setCounter): adjust
5070
5071         * text.C (leftMargin): adjust
5072         (setHeightOfRow): adjust
5073
5074         * rowpainter.C (paintFirst): adjust
5075         (paintLast): adjust
5076
5077         * paragraph_pimpl.C (realizeFont): adjust
5078
5079         * paragraph.C (isFirstInSequence): move from here...
5080         * paragraph_funcs.C (isFirstInSequence): ...to here
5081
5082         * paragraph.C (outerHook): move from here...
5083         * paragraph_funcs.C (outerHook): ...to here
5084
5085         * paragraph.C (depthHook): move from here...
5086         * paragraph_funcs.C (depthHook): ...to here
5087
5088         * paragraph.C (getEndLabel): move from here...
5089         * paragraph_funcs.C (getEndLabel): ...to here
5090
5091         * text2.C (realizeFont): move from here...
5092         * paragraph_funcs.C (realizeFont): ...to here
5093
5094 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5097
5098 2003-04-14  Angus Leeming  <leeming@lyx.org>
5099
5100         * LColor.[Ch]: scrap LColor mathcursor.
5101
5102 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * lyxlex.[Ch] (text): delete function
5105         * trans.C (Load): adjust
5106         * paragraph_funcs.C (readParToken): adjust
5107
5108 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5111         vector<char> instead of a char[].
5112
5113         * lyxlex_pimpl.C (getString): adjust
5114         (next): adjust
5115         (lex): use getString
5116         (eatLine): adjust
5117         (nextToken): adjust
5118
5119         * lyxlex.C (text): use pimpl_->getString()
5120         (getBool): ditto
5121         (findToken): ditto
5122
5123 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5126         (makeFontEntriesLayoutSpecific): temp var for par.size()
5127         (setLayout): temp var for ownerParagraphs().end()
5128         (fullRebreak): temp var for rows().end()
5129         (selectionAsString): temp var for boost::next(startpit), realize
5130         that the while really is a regular for loop.
5131         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5132         setCursor in one place.
5133         (setParagraph): temp vr for ownerParagraphs().end()
5134         (updateCounters): make the while loop a for loop
5135         (cutSelection): temp var for ownerParagraphs().end()
5136         (updateInset): make the do {} while() a regular for loop
5137         (getCursorX): use temp vars
5138         (setCurrentFont): use temp vars
5139         (getColumnNearX): use temp vars
5140
5141 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * text.C (transformChar): use temp var for getChar
5144         (computeBidiTables): use temp var for row->par()
5145         (fill): move temp vars for row->par() and pit->layout() earlier in
5146         the function.
5147         (labelFill): use temp var for row->par()
5148         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5149         asc and desc, realize that pit never changes and that firstpit is
5150         just a duplicate and not needed. Exchange rit->par() with pit in a
5151         lot of places.
5152         (breakAgain): use a temp var for boost::next(rit)
5153         (breakAgainOneRow): ditto
5154         (breakParagraph): use a temp var for rows().begin()
5155         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5156         (cursorRightOneWord): use temp var for cursor.par() and
5157         cursor.pos(), remove usage of tmpcursor.
5158         (cursorLeftOneWord): use temp var for cursor.par() and
5159         cursor.pos() only set cur at end of function.
5160
5161 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * text.C, text2.C: exchange all usage of Paragraph::next with
5164         boost::next(ParagraphList::iterator)
5165
5166         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5167
5168         * text2.C (cursorTop): simplify implementation
5169         (cursorBottom): ditto
5170         (setParagraph): use ParagraphList::iterator
5171         (setCurrentFont): adjust
5172         (getColumnNearX): adjust
5173         (cursorRight): adjust
5174         (cursorLeft): remove usage of Paragraph::previous
5175         (cursorUpParagraph): ditto
5176         (deleteEmptyParagraphMechanism): slight cleanup
5177
5178         * text.C (isBoundary): take a Paragraph const & instead of a
5179         pointer as arg.
5180         (addressBreakPoint): ditto
5181         (leftMargin): remove usage of Paragraph::previous.
5182         (setHeightOfRow): ditto
5183         (cursorLeftOneWord): ditto
5184         (selectNextWordToSpellcheck): ditto
5185         (Delete): ditto
5186         (backspace): ditto
5187         (breakParagraph): remove one usage of Paragraph::next
5188         (redoParagraph): ditto
5189         (acceptChange): ditto
5190         (insertChar): adjust
5191         (rowBreakPoint): adjust
5192
5193         * bufferview_funcs.C (toggleAndShow): adjust
5194
5195 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5198         methods to access it.
5199         * lyxtext.h:
5200         * text.C: Added updateRowPositions to compute all row positions.
5201         Make top_y and getRowNearY() to use the cached y position
5202
5203 2003-04-11  John Levon  <levon@movementarian.org>
5204
5205         * text.C (rowBreakPoint): reintroduce the labelEnd
5206         checks, code copied from the row fill stuff. Deep voodoo.
5207
5208         * text.C (fill): add a comment and debugging for the
5209         next poor soul.
5210
5211 2003-04-11  John Levon  <levon@movementarian.org>
5212
5213         * text.C: make sure fullrow insets get wrapped to the next line,
5214         even when they're in a manual label
5215
5216 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text2.C (insertParagraph): make it take ParagraphList::iterator
5219         as arg.
5220         (setLayout): make it return ParagraphList::iterator
5221         (redoParagraphs): ditto
5222         (setCounter): ditto
5223         (checkParagraph): ditto
5224
5225         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5226
5227         * text2.C: adjust several funcs.
5228         (realizeFont): take a ParagraphList::iterator as arg.
5229         (getLayoutFont): ditto
5230         (getLabelFont): ditto
5231         (setCharFont): ditto
5232
5233         * text.C: adjust several funcs.
5234
5235 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5236
5237         * text.C (selectNextWordToSpellcheck): don't accidentally
5238         skip insets
5239
5240 2003-04-10  John Levon  <levon@movementarian.org>
5241
5242         * ToolbarBackend.C (getIcon): special handling for
5243         LFUN_MATH_DELIM
5244
5245 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * text2.C (cursorRight): a getChar assert fixed
5248
5249 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * text2.C (getFont): change to take a ParagraphList::iterator
5252         instead of Paragraph*
5253         Adjust several functions.
5254
5255         * text.C (transformChar): change to take a ParagraphList::iterator
5256         instead of Paragraph*
5257         (singleWidth): ditto
5258         Adjust several functions.
5259
5260         * rowpainter.C: adjust several functions
5261         * rowpainter.h:store a ParagraphList::iterator and not a
5262         Paragraph&.
5263
5264
5265 2003-04-09  John Levon  <levon@movementarian.org>
5266
5267         * lyxfunc.C:
5268         * lfuns.h:
5269         * LyXAction.h:
5270         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5271         and the "help" bits as well
5272
5273 2003-04-09  John Levon  <levon@movementarian.org>
5274
5275         * ToolbarBackend.h:
5276         * ToolbarBackend.C: allow multiple toolbars
5277
5278 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * undo_funcs.C (setCursorParUndo): adjust
5281
5282         * text_funcs.C (transposeChars): adjust
5283
5284         * text3.C (gotoNextInset): adjust
5285         (dispatch): adjust
5286
5287         * text2.C (setLayout): adjust
5288         (changeDepth): adjust
5289         (setFont): adjust
5290         (redoParagraphs): adjust
5291         (selectionAsString): adjust
5292         (setParagraph): adjust
5293         (insertInset): adjust
5294         (cutSelection): adjust
5295         (copySelection): adjust
5296         (pasteSelection): adjust
5297         (insertStringAsLines): adjust
5298         (updateInset): adjust
5299         (setCursor): change to take a ParagraphList::iterator parameter
5300         (setCursorIntern): change to take a ParagraphList::iterator parameter
5301         (setCurrentFont): adjust
5302         (cursorLeft): adjust
5303         (cursorRight): adjust
5304         (deleteEmptyParagraphMechanism): adjust
5305
5306         * text.C (breakParagraph): adjust
5307         (insertChar): adjust
5308         (acceptChange): adjust
5309         (rejectChange): adjust
5310         (selectNextWordToSpellcheck): adjust
5311         (changeCase): adjust
5312         (Delete): adjust
5313         (backspace): adjust
5314
5315         * lyxfind.C (SearchForward): adjust
5316         (SearchBackward): adjust
5317         (nextChange): adjust
5318
5319         * lyxcursor.C (par): adjust
5320
5321         * lyxcursor.h: store a ParagraphList::iterator instead of a
5322         Paragraph*
5323
5324         * lyx_cb.C (getPossibleLabel): adjust
5325
5326         * bufferview_funcs.C (toggleAndShow): adjust
5327
5328         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5329         (dispatch): adjust
5330
5331         * BufferView.C (removeAutoInsets): adjust
5332         (lockedInsetStoreUndo): adjust
5333
5334 2003-04-09  John Levon  <levon@movementarian.org>
5335
5336         * ToolbarBackend.C: try icon without argument
5337         if with argument fails
5338
5339 2003-04-08  John Levon  <levon@movementarian.org>
5340
5341         * ToolbarBackend.h:
5342         * ToolbarBackend.C: add getIcon(), handle tooltip,
5343         and change from "Icon" to "Item".
5344
5345 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * BufferView.C (lockInset): another bad getchar crunched
5348
5349 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5352         again)
5353
5354 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * lyxfind.C (searchForward, searchBackwards): bug 782
5357
5358 2003-04-07  John Levon  <levon@movementarian.org>
5359
5360         * paragraph.C: remove dead comment
5361
5362         * text.C: remove troublesome depth-fiddling code
5363         in leftMargin() and rightMargin() (bug 1017)
5364
5365         * text.C: fix breaking of rows in nested lists
5366         (bug 1004)
5367
5368         * text2.C (updateCounters): fix up depth values
5369         (bug 1013)
5370
5371 2003-04-07  John Levon  <levon@movementarian.org>
5372
5373         * BufferView_pimpl.C: clear message when doc finishes resizing,
5374         and after a mouse event
5375
5376         * lyxfunc.C: clear message after exiting inset
5377
5378 2003-04-07  John Levon  <levon@movementarian.org>
5379
5380         * bufferview_funcs.C: show math status not outside
5381         status in the statusbar
5382
5383 2003-04-07  John Levon  <levon@movementarian.org>
5384
5385         * lyxfunc.C: note status changed after a depth change
5386
5387 2003-04-04  Angus Leeming  <leeming@lyx.org>
5388
5389         * LaTeX.h: move AuxInfo operator==, != out of line.
5390         Remove LaTeX virtual destructor; nothing derives from it.
5391         Move operator()() out of public area and rename it startscript().
5392         Change protected for private.
5393
5394 2003-04-04  Angus Leeming  <leeming@lyx.org>
5395
5396         * lyxfunc.C:
5397         * text2.C: remove unneeded #includes.
5398
5399 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text2.C (dEPM): fix the heigth of the next row
5402
5403 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * text.C: squashed an invalid getChar requester + some ws changes
5406
5407 2003-04-03  John Levon  <levon@movementarian.org>
5408
5409         * bufferview_funcs.h:
5410         * bufferview_funcs.C:
5411         * lyxfunc.C:
5412         * lyxtext.h:
5413         * text2.C: make getStatus work for the env depth lfuns
5414
5415 2003-04-03  John Levon  <levon@movementarian.org>
5416
5417         * bufferview_funcs.h:
5418         * bufferview_funcs.C:
5419         * lyxfunc.C:
5420         * lyxtext.h:
5421         * text2.C: parlistize decDepth(), by merging it with incDepth()
5422
5423 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * lyxrow.h: store a ParagraphList::iterator instead of a
5426         Paragraph* and adjust other class functions to suit.
5427
5428         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5429         above.
5430
5431 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * text2.C (setCursor): do not anchor to cursor row for the time being
5434
5435 2003-04-02  John Levon  <levon@movementarian.org>
5436
5437         * LyXAction.C:
5438         * lfuns.h:
5439         * lyx_main.C:
5440         * lyxtext.h:
5441         * text.C:
5442         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5443
5444 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * paragraph.h: make ParagraphList and ParagraphList::iterator
5447         friends of Paragraph.
5448
5449         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5450
5451         * ParagraphList.C: Use the private next_ and previous_ from
5452         Paragraph.
5453
5454 2003-04-01  John Levon  <levon@movementarian.org>
5455
5456         * ToolbarBackend.h:
5457         * ToolbarBackend.C:
5458         * Makefile.am: rename, remove defaults gunk
5459
5460         * MenuBackend.h:
5461         * MenuBackend.C: remove defaults gunk
5462
5463         * Languages.h:
5464         * Languages.C: remove defaults gunk
5465
5466         * lyx_main.h:
5467         * lyx_main.C: error out if files couldn't be found.
5468
5469 2003-04-02  John Levon  <levon@movementarian.org>
5470
5471         * text2.C: make incDepth() use parlist
5472
5473 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * undo_funcs.C (firstUndoParagraph): adjust
5476
5477         * text3.C (gotoInset): adjust
5478         (dispatch): adjust, and rewrite loop.
5479
5480         * text2.C (init): adjust, and rewrite loop.
5481         (redoParagraphs): adjust
5482         (updateInset): adjust, and rewrite loop.
5483         (deleteEmptyParagraphMechanism): adjust
5484
5485         * tabular.C (LyXTabular): adjust
5486         (SetMultiColumn): adjust
5487         (TeXRow): adjust
5488
5489         * lyxtext.[Ch] (ownerParagraph): delete function
5490         (ownerParagraphs): new function returns a ParagraphList.
5491
5492         * BufferView.C (removeAutoInsets): adjust
5493         (insertErrors): adjust
5494         (setCursorFromRow): adjust
5495
5496 2003-04-01  Angus Leeming  <leeming@lyx.org>
5497
5498         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5499         in the frontends.
5500
5501 2003-04-02  John Levon  <levon@movementarian.org>
5502
5503         * lyxtext.h:
5504         * text.C:
5505         * Makefile.am:
5506         * text_funcs.h:
5507         * text_funcs.C: make transposeChars a free function
5508
5509         * lyxrow_funcs.C: remove wrong comment
5510
5511 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * lyxtext.h: adjust
5514         * rowpainter.C: adjust
5515         * text.C: adjust
5516         * text2.C: adjust
5517         * text3.C: adjust
5518
5519         * lyxrow_funcs. [Ch]: new files
5520
5521         * lyxrow.[Ch]: remove next and previous pointers
5522         (next,previous): remove accessor functions
5523         (isParEnd): move to lyxrow_funcs
5524         (lastPos): move to lyxrow_funcs
5525         (nextRowIsAllInset): move to lyxrow_funcs
5526         (lastPrintablePos): move to lyxrow_funcs
5527         (numberOfSeparators): move to lyxrow_funcs
5528         (numberOfHfills): move to lyxrow_funcs
5529         (numberOfLabelHfills): move to lyxrow_funcs
5530         (hfillExpansion): move to lyxrow_funcs
5531
5532         * lyxfunc.C: adjust
5533
5534         * bufferview_funcs.C (toggleAndShow): adjust
5535
5536         * RowList.h: Remove class RowList from file leave just a
5537         std::list<Row>.
5538
5539         * RowList.C: delete file
5540
5541         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5542         and lyxrow_funcs.h
5543
5544 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * text3.C (cursorPrevious): adjust
5547         (cursorNext): adjust
5548         (dispatch): adjust
5549
5550         * text2.C (redoHeightOfParagraph): adjust
5551         (redoDrawingOfParagraph): adjust
5552         (setCursor): adjust
5553
5554         * text.C (breakParagraph): adjust
5555         (insertChar): adjust
5556         (backspace): adjust
5557
5558         * rowpainter.C (RowPainter): adjust
5559         (leftMargin): simplify and adjust
5560         (most rowpainter functions): adjust.
5561
5562         * rowpainter.h: store the row as RowList::iterator not as Row*
5563
5564         * lyxcursor.C (row): taka RowList::iterator as arg
5565         (irow): ditto
5566
5567         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5568         of Row*.
5569
5570 2003-04-01  Angus Leeming  <leeming@lyx.org>
5571
5572         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5573         stuff like bool Bool.
5574
5575 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5576
5577         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5578         rewrite a loop
5579
5580 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5583         RowList::iterator.
5584
5585         * lyxtext.h (rows): drop one version and leve a const variant that
5586         returns a RowList::iterator.
5587
5588 2003-03-31  Angus Leeming  <leeming@lyx.org>
5589
5590         * text.C (fill): ensure that the signature is the same as that in the
5591         header file.
5592
5593 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * text2.C (redoParagraphs): adjust
5596         (updateCounters): adjust
5597         (checkParagraph): adjust
5598         (getColumnNearX): adjust and reformat a bit.
5599
5600         * text.C (top_y): adjust
5601         (workWidth): adjust
5602         (leftMargin): adjust
5603         (prepareToPrint): adjust
5604         (getRow): adjust
5605         (getRowNearY): adjust
5606
5607         * lyxtext.h: make rowlist_ mutable.
5608
5609         * RowList.h: add const_iterator
5610         * RowList.C: adjust for RowList::const_iterator.
5611
5612         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5613         adjust.
5614
5615 2003-03-31  John Levon  <levon@movementarian.org>
5616
5617         * lyxrc.h:
5618         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5619
5620         * lyx_main.C: set default fonts from using lyx_gui funcs
5621
5622         * exporter.C: pdf_mode moved from lyxrc
5623
5624         * lyx_cb.C:
5625         * lyxfunc.C: changes from above
5626
5627 2003-03-31  John Levon  <levon@movementarian.org>
5628
5629         * lyx_main.C: fix to the last fix
5630
5631 2003-03-31  John Levon  <levon@movementarian.org>
5632
5633         * bufferlist.C: "Load original" -> "Load Original"
5634
5635         * converter.C:
5636         * exporter.C:
5637         * importer.C:
5638         * lyx_main.C:
5639         * format.C: more Alert cleanups
5640
5641 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * text2.C (removeParagraph): make it take a RowList::iterator as
5644         arg, adjust.
5645         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5646         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5647
5648         * text.C (anchor_row): make it take a RowList::iterator as arg,
5649         adjust.
5650         (computeBidiTables): make it take a const reference to Row instead
5651         of Row pointer, adjust.
5652         (leftMargin): make it take a RowList::iterator as arg, adjust.
5653         (rowBreakPoint): adjust
5654         (breakAgainOneRow): make it take a RowList::iterator as arg,
5655         adjust.
5656         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5657
5658         * bufferview_funcs.C (toggleAndShow): adjust
5659
5660 2003-03-30  John Levon  <levon@movementarian.org>
5661
5662         * Makefile.am:
5663         * BoostFormat.h:
5664         * boost-inst.C: moved to support
5665
5666         * several files: changes as a result
5667
5668 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * text2.C (LyXText): adjust.
5671         (init): adjust
5672         (removeRow): make it take a RowList::iterator as arg, adjust.
5673         (fullRebreak): adjust
5674         (deleteEmptyParagraphMechanism): adjust
5675         (clearPaint): adjust
5676         (postPaint): adjust
5677
5678         * text.C (top_y): adjust
5679         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5680         (breakAgain): make it take a RowList::iterator as arg, adjust.
5681         (breakParagraph): adjust
5682         (insertChar): adjust
5683         (backspace): adjust
5684
5685         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5686         need_break_row, and refresh_row.
5687
5688         * text3.C (dispatch): adjust
5689
5690         * text2.C (checkParagraph): adjust
5691         (setCursor): adjust
5692         (setCursorFromCoordinates): adjust
5693
5694         * text.C (top_y): adjust
5695         (workWidth): adjust
5696         (getRow): make it return a RowList::iterator, adjust
5697         (getRowNearY): make it return a RowList::iterator, adjust
5698
5699         * text2.C (init): adjust
5700         (insertRow): remove function
5701         (insertParagraph): adjust
5702         (redoParagraphs): adjust
5703         (fullRebreak): adjust
5704         (updateCounters): adjust
5705
5706         * text.C (top_y): rewrite to use RowList iterators.
5707         (top_y): adjust
5708         (setHeightOfRow): rewrite to sue RowList iterators.
5709         (appendParagraph): adjust
5710         (breakAgain): adjust
5711         (breakAgainOneRow): adjust
5712         (breakParagraph): adjust
5713         (getRow): adjust
5714         (getRowNearY): adjust, and remove commented code.
5715
5716         * lyxtext.h (firstRow): delete function
5717         (lastRow): delete function
5718         (rows): new function (const and non-const versions.)
5719         (insertRow): delete function
5720
5721         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5722
5723 2003-03-29  John Levon  <levon@movementarian.org>
5724
5725         * BufferView_pimpl.C: always update scrollbar top
5726         because pasting text when we're anchored could mean we
5727         miss an update altogether
5728
5729 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * text2.C (init): use rowlist_.end() and not 0.
5732         (insertRow): change to take a RowList::iterator as arg, adjust
5733         for this.
5734         (insertParagraph): change to take a RowList::iterator as arg,
5735         adjust for this.
5736         (redoParagraphs): remove some debug msgs.
5737
5738         * text.C (appendParagraph): change to take a RowList::iterator
5739         arg, adjust for this.
5740         (breakAgain): add an assert
5741         (breakAgainOneRow): ditto
5742
5743 2003-03-29  John Levon  <levon@movementarian.org>
5744
5745         * text2.C: do not clear selection after inc/decDepth
5746         (bug 550)
5747
5748 2003-03-29  John Levon  <levon@movementarian.org>
5749
5750         * BufferView.C:
5751         * buffer.C: fix broken strerrors according to Lars
5752
5753 2003-03-29  John Levon  <levon@movementarian.org>
5754
5755         * converters.C: more Alert cleanups
5756
5757 2003-03-29  John Levon  <levon@movementarian.org>
5758
5759         * bufferview_funcs.C: remove pointless Alert
5760
5761         * buffer.C: fix confusing error message when
5762         a template is chmoded 000
5763
5764 2003-03-29  John Levon  <levon@movementarian.org>
5765
5766         * BufferView.C:
5767         * BufferView.h:
5768         * BufferView_pimpl.C: Alert fixes
5769
5770         * Makefile.am:
5771         * tabular.C:
5772         * tabular-old.C: remove unused table compat reading
5773
5774 2003-03-29  John Levon  <levon@movementarian.org>
5775
5776         * BufferView.C:
5777         * buffer.C:
5778         * lyx_cb.h:
5779         * lyx_cb.C: more Alert cleanups
5780
5781         * lyxfunc.C: don't allow chktex if not latex document
5782
5783 2003-03-29  John Levon  <levon@movementarian.org>
5784
5785         * lyx_cb.C:
5786         * BufferView.C:
5787         * buffer.C: warnings pushed down from support/,
5788         kill err_alert
5789
5790 2003-03-29  John Levon  <levon@movementarian.org>
5791
5792         * lyxfunc.C: safety check for C-r (revert)
5793
5794 2003-03-29  John Levon  <levon@movementarian.org>
5795
5796         * bufferlist.h:
5797         * bufferlist.C: several UI fixes using Alert::prompt.
5798         Fix the pointless looping quit code. Fix stupid revert
5799         behaviour (bug 938)
5800
5801         * lyxvc.h:
5802         * lyxvc.C:
5803         * lyx_cb.C: use Alert::prompt
5804
5805         * lyx_main.C: remove a silly question
5806
5807         * lyxfunc.C: remove a couple of silly questions,
5808         use Alert::prompt
5809
5810 2003-03-28  John Levon  <levon@movementarian.org>
5811
5812         * text2.C: fix bug 974 (End on empty par)
5813
5814 2003-03-28  John Levon  <levon@movementarian.org>
5815
5816         * BufferView_pimpl.C:
5817         * LyXAction.C:
5818         * lfuns.h: remove do-nothing math greek lfuns
5819
5820 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * lyxgluelength.h (isValidGlueLength): add default arg on
5823         parameter 2. Remove default arg from friend in class.
5824
5825         * lyxlength.h (isValidLength): add default arg on parameter 2.
5826         Remove default arg from friend in class.
5827
5828         * text2.C (LyXText): adjust, initialize refresh_row.
5829         (init): adjust
5830         (removeRow): adjust
5831         (insertRow): adjust
5832         (insertParagraph): adjst
5833         (redoParagraphs): adjust
5834         (fullRebreak): adjust
5835         (updateCounters): adjust
5836         (deleteEmptyParagraphMechanism): first attempt at fixing a
5837         crashing bug.
5838
5839         * text.C (top_y): adjust
5840         (setHeightOfRow): adjust
5841         (getRow): adjust
5842         (getRowNearY): adjust
5843
5844         * lyxtext.h: include RowList.h
5845         (~LyXText): not needed anymore, deleted.
5846         (firstRow): modify for RowList
5847         (lastRow): new function
5848         Delete firstrow and lastrow class variables, add a Rowlist
5849         rowlist_ class variable.
5850
5851         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5852         paragraph is empty.
5853
5854         * RowList.C (insert): fix case where it == begin().
5855
5856 2003-03-26  Angus Leeming  <leeming@lyx.org>
5857
5858         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5859         the thesaurus dialog.
5860
5861 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5864
5865         * RowList.[Ch]: new files
5866
5867         * ParagraphList.C (erase): handle the case where it == begin
5868         correctly.
5869
5870 2003-03-25  John Levon  <levon@movementarian.org>
5871
5872         * Makefile.am:
5873         * aspell_local.h:
5874         * aspell.C: add new aspell support
5875
5876         * lyxrc.h:
5877         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5878         have it accessible.
5879
5880 2003-03-25  Angus Leeming  <leeming@lyx.org>
5881
5882         * lfuns.h:
5883         * LyXAction.C (init): new LFUN_INSET_INSERT.
5884
5885         * BufferView_pimpl.C (dispatch): split out part of the
5886         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5887
5888         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5889         LFUN_INSET_APPLY.
5890
5891 2003-03-25  Angus Leeming  <leeming@lyx.org>
5892
5893         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5894
5895 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5896
5897         * text2.C:
5898         * text3.C: remove useless row->height(0)
5899
5900 2003-03-25  John Levon  <levon@movementarian.org>
5901
5902         * lyxtext.h:
5903         * text2.C:
5904         * text3.C: rename the refreshing stuff to better names
5905
5906 2003-03-24  John Levon  <levon@movementarian.org>
5907
5908         * BufferView_pimpl.h:
5909         * BufferView_pimpl.C: update layout choice on a mouse
5910         press/release
5911
5912 2003-03-23  John Levon  <levon@movementarian.org>
5913
5914         * Makefile.am: fix commandtags.h reference
5915
5916 2003-03-22  John Levon  <levon@movementarian.org>
5917
5918         * BufferView_pimpl.C:
5919         * lyxtext.h:
5920         * rowpainter.C:
5921         * rowpainter.h:
5922         * text.C:
5923         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5924
5925 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * lyxtext.h:
5928         * text.C: take the rtl methods out of line
5929
5930 2003-03-21 André Pönitz <poenitz@gmx.net>
5931
5932         * metricsinfo.[Ch]: new files containing structures to be passed around
5933         during the two-phase-drawing...
5934
5935 2003-03-21 André Pönitz <poenitz@gmx.net>
5936
5937         * lyxtextclass.C: read 'environment' tag.
5938
5939 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * text2.C (removeRow): fix bug 964
5942
5943 2003-03-20  John Levon  <levon@movementarian.org>
5944
5945         * rowpainter.C:
5946         * text.C:
5947         * text2.C: paint cleanups. Inset::update() dropped font
5948         parameter
5949
5950 2003-03-19  John Levon  <levon@movementarian.org>
5951
5952         * lyxfunc.C: only fitcursor/markDirty if available()
5953
5954 2003-03-19  John Levon  <levon@movementarian.org>
5955
5956         * commandtags.h: rename to ...
5957
5958         * lfuns.h: ... this, and renumber / cleanup
5959
5960 2003-03-19  John Levon  <levon@movementarian.org>
5961
5962         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5963         fit the cursor after an lfun
5964
5965         * BufferView.h:
5966         * BufferView.C:
5967         * BufferView_pimpl.h:
5968         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5969
5970         * LyXAction.C: layout-character should have ReadOnly
5971
5972         * ParagraphParameters.C:
5973         * buffer.C:
5974         * bufferview_funcs.C:
5975         * lyx_cb.C:
5976         * lyxfind.C:
5977         * lyxtext.h:
5978         * text.C:
5979         * text2.C:
5980         * text3.C:
5981         * undo_funcs.C: changes from above
5982
5983 2003-03-18  John Levon  <levon@movementarian.org>
5984
5985         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5986         remove it from update()
5987
5988         * lyxfunc.C: update layout choice after an lfun
5989
5990         * text3.C: remove extra updateLayoutChoice()s
5991
5992 2003-03-18  John Levon  <levon@movementarian.org>
5993
5994         * text.C: top_y change means full repaint, fix
5995         a drawing bug with cursor movement
5996
5997 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5998
5999         * lyxtext.h:
6000         * text.C:
6001         * text2.C: anchor row on setCursor
6002
6003 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * lyxtext.h: remove almost all mutable keywords
6006         * text.C:
6007         * text2.C:
6008         * text3.C: remove const keywords accordingly
6009
6010 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6013         anon namespace
6014         (TeXEnvironment): ditto
6015         (TeXOnePar): ditto
6016
6017 2003-03-17  John Levon  <levon@movementarian.org>
6018
6019         * text.C (rowBreakPoint): remove attempt to fix displayed
6020         math insets inside a manual label
6021
6022 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * lyxtext.h: remove BufferView* as first arg from almost all class
6025         functions.
6026         * other files: adjust.
6027
6028 2003-03-17  John Levon  <levon@movementarian.org>
6029
6030         * lyxtext.h:
6031         * undo_funcs.C:
6032         * text2.C: more paint cleanups
6033
6034         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6035
6036         * rowpainter.h:
6037         * rowpainter.C: remove "smart" background painting code
6038
6039 2003-03-16  John Levon  <levon@movementarian.org>
6040
6041         * lyxtext.h:
6042         * text.C:
6043         * text2.C:
6044         * text3.C: add helper functions for setting refresh_row/y
6045
6046 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6047
6048         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6049         newline inset which *can* get inserted in the pass_thru layouts.
6050         This is primarily for literate documents.
6051
6052 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6053
6054         * buffer.C: increment LYX_FORMAT to 223
6055
6056 2003-03-14 André Pönitz <poenitz@gmx.net>
6057
6058         * textclass.h: prepare for environment handling, ws changes
6059         * lyxlayout.C: read latexheader and latexfooter tags
6060
6061 2003-03-14  John Levon  <levon@movementarian.org>
6062
6063         * text2.C: rewrite ::status() a bit
6064
6065 2003-03-13  John Levon  <levon@movementarian.org>
6066
6067         * lyxtext.h: add some docs
6068
6069 2003-03-13  John Levon  <levon@movementarian.org>
6070
6071         * lyxtext.h:
6072         * text.C:
6073         * text2.C:
6074         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6075
6076 2003-03-13  John Levon  <levon@movementarian.org>
6077
6078         * text3.C: fix appendix redrawing
6079
6080 2003-03-13  John Levon  <levon@movementarian.org>
6081
6082         * text.C (setHeightOfRow):
6083         * rowpainter.h:
6084         * rowpainter.C: make appendix mark have the text
6085           "Appendix" so the user knows what it is
6086
6087         * LColor.h:
6088         * LColor.C: s/appendixline/appendix/ from above
6089
6090 2003-03-13  John Levon  <levon@movementarian.org>
6091
6092         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6093
6094         * text.C: fix a getChar(pos) bug properly
6095
6096 2003-03-13  Angus Leeming  <leeming@lyx.org>
6097
6098         * commandtags.h:
6099         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6100         Probably only temporary. Let's see how things pan out.
6101
6102         * BufferView.C (unlockInset):
6103         * BufferView_pimpl.C (fitCursor):
6104         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6105
6106         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6107         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6108
6109         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6110         new functions that convert ParagraphParameters to and from a string.
6111
6112         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6113         BufferView::Pimpl's dispatch.
6114         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6115
6116 2003-03-13 André Pönitz <poenitz@gmx.net>
6117
6118         * lyxfunc.C:
6119         * text3.C:
6120         * factory.C: make it aware of InsetEnv
6121
6122 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * text2.C (setCursor): never ask for one past last
6125         (setCursor): add some debugging messages.
6126
6127         * text.C (singleWidth): never ask for one past last
6128         (singleWidth): ditto
6129         (leftMargin): ditto
6130         (rightMargin): ditto
6131         (rowBreakPoint): ditto
6132         (setHeightOfRow): ditto
6133         (prepareToPrint): ditto
6134
6135         * rowpainter.C (paintBackground): never ask for one past last
6136         (paintText): never ask for one past last
6137
6138         * paragraph_pimpl.C (getChar): make the assert stricter, never
6139         allow the one past last pos to be taken
6140
6141         * paragraph.C (getChar): ws changes only
6142
6143         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6144         (numberOfSeparators): ditto
6145         (numberOfHfills): ditto
6146
6147 2003-03-12  John Levon  <levon@movementarian.org>
6148
6149         * author.h:
6150         * author.C:
6151         * bufferparams.h:
6152         * bufferparams.C:
6153         * paragraph_funcs.C: fix per-buffer authorlists
6154
6155 2003-03-12  John Levon  <levon@movementarian.org>
6156
6157         * text.C: fix newline in right address
6158
6159 2003-03-12  Angus Leeming  <leeming@lyx.org>
6160
6161         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6162         duplicate those in LyXFunc::dispatch.
6163
6164         * commandtags.h:
6165         * LyXAction.C:
6166         * ToolbarDefaults.C:
6167         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6168         Add LFUN_FONTFREE_UPDATE.
6169
6170         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6171         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6172
6173         * bufferview_func.[Ch]: several new functions to facilliate
6174         transfer of data to and from the character dialog.
6175
6176 2003-03-12  John Levon  <levon@movementarian.org>
6177
6178         * buffer.C:
6179         * paragraph.h:
6180         * paragraph.C:
6181         * paragraph_funcs.C:
6182         * paragraph_pimpl.C:
6183         * sgml.C:
6184         * tabular.C:
6185         * text.C:
6186         * text3.C: remove META_NEWLINE in favour of an inset
6187
6188         * rowpainter.h:
6189         * rowpainter.C: remove paintNewline (done by inset)
6190
6191 2003-03-12  John Levon  <levon@movementarian.org>
6192
6193         * paragraph_pimpl.C: complain about bad getChar()s
6194         for a while at least
6195
6196 2003-03-12  John Levon  <levon@movementarian.org>
6197
6198         * buffer.h:
6199         * buffer.C: move paragraph read into a separate function,
6200         a little renaming to reflect that.
6201
6202         * bufferparams.h:
6203         * bufferparams.C: remove the author_ids map, not necessary now
6204
6205         * factory.h:
6206         * factory.C: moved Buffer::readInset to here
6207
6208         * paragraph_funcs.h:
6209         * paragraph_funcs.C: readParagraph free function moved from
6210         buffer.C
6211
6212         * tabular.C: name change
6213
6214 2003-03-12  John Levon  <levon@movementarian.org>
6215
6216         * buffer.C:
6217         * ParagraphParameters.C: move par params input to
6218         a read() method
6219
6220         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6221         behave like a normal read from the stream wrt reading
6222         a line vs. a \\token
6223
6224 2003-03-12  John Levon  <levon@movementarian.org>
6225
6226         * paragraph.C:
6227         * ParagraphParameters.h:
6228         * ParagraphParameters.C: move output code to a
6229         ::write() method
6230
6231 2003-03-12  John Levon  <levon@movementarian.org>
6232
6233         * BufferView.C (insertLyXFile):
6234         * buffer.h:
6235         * buffer.C:
6236         * tabular.C: use a parlist iterator for creating the
6237           document.
6238
6239 2003-03-12  John Levon  <levon@movementarian.org>
6240
6241         * buffer.C: make current_change static local not
6242           static file-scope
6243
6244 2003-03-12  John Levon  <levon@movementarian.org>
6245
6246         * buffer.C: fix insertStringAsLines for change tracking
6247
6248 2003-03-12  John Levon  <levon@movementarian.org>
6249
6250         * BufferView.C:
6251         * tabular.C:
6252         * buffer.h:
6253         * buffer.C:
6254         * bufferparams.h:
6255         * bufferparams.C: move author list into params. Rename some
6256           functions. Move the header reading into a separate token
6257           loop. Move the header token reading into BufferParams.
6258
6259 2003-03-12  John Levon  <levon@movementarian.org>
6260
6261         * changes.C: put debug inside lyxerr.debugging() checks
6262
6263 2003-03-11 André Pönitz <poenitz@gmx.net>
6264
6265         * factory.C: make it aware of InsetHFill
6266
6267 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6268
6269         * buffer.C (latexParagraphs): move function from here...
6270         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6271         args.
6272
6273 2003-03-10  Angus Leeming  <leeming@lyx.org>
6274
6275         * LyXAction.C (init): fix bug in poplating array with multiple entries
6276         with the same LFUN (spotted by JMarc).
6277
6278 2003-03-10  John Levon  <levon@movementarian.org>
6279
6280         * text.C:
6281         * text2.C: move getColumnNearX() near its
6282         only call site
6283
6284 2003-03-10  John Levon  <levon@movementarian.org>
6285
6286         * text.C: fix break before a minipage
6287
6288 2003-03-10  John Levon  <levon@movementarian.org>
6289
6290         * text.C: fix the last commit
6291
6292 2003-03-09  John Levon  <levon@movementarian.org>
6293
6294         * lyxtext.h:
6295         * text.C:
6296         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6297         bug 365 (don't break before insets unless needed). Don't
6298         return a value > last under any circumstances.
6299
6300 2003-03-09  Angus Leeming  <leeming@lyx.org>
6301
6302         * BufferView_pimpl.C (trackChanges, dispatch): call
6303         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6304
6305 2003-03-09  Angus Leeming  <leeming@lyx.org>
6306
6307         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6308         than Dialogs::showAboutlyx().
6309
6310 2003-03-09  Angus Leeming  <leeming@lyx.org>
6311
6312         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6313         than Dialogs::showTabularCreate().
6314
6315 2003-03-09  John Levon  <levon@movementarian.org>
6316
6317         * lyxtext.h:
6318         * text.C:
6319         * text2.C: 3rd arg to nextBreakPoint was always the same.
6320           Use references.
6321
6322 2003-03-08  John Levon  <levon@movementarian.org>
6323
6324         * lyxrow.C:
6325         * paragraph.C:
6326         * paragraph.h:
6327         * rowpainter.C:
6328         * text.C:
6329         * text2.C: Remove the "main" bit from the "main body"
6330           notion.
6331
6332 2003-03-08  John Levon  <levon@movementarian.org>
6333
6334         * text.C (leftMargin): The left margin of an empty
6335         manual label paragraph should not include the label width
6336         string length.
6337
6338         * text.C (prepareToPrint): don't attempt to measure hfills
6339         for empty manual label paragraphs - the answer should be 0
6340
6341 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * CutAndPaste.C: remove commented code and reindent.
6344
6345 2003-03-08  John Levon  <levon@movementarian.org>
6346
6347         * lyxfunc.h:
6348         * lyxfunc.C: move reloadBuffer()
6349
6350         * BufferView.h:
6351         * BufferView.C: to here
6352
6353         * lyxvc.C: add comment
6354
6355         * vc-backend.h:
6356         * vc-backend.C: call bv->reload() to avoid
6357           getStatus() check on MENURELOAD
6358
6359 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6360
6361         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6362         to an old format .dep file.
6363
6364 2003-03-07  Angus Leeming  <leeming@lyx.org>
6365
6366         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6367         when the LFUN_MOUSE_RELEASE should have been handled by
6368         inset->localDispatch.
6369
6370 2003-03-07  Angus Leeming  <leeming@lyx.org>
6371
6372         * BufferView_pimpl.C (dispatch):
6373         * LyXAction.C (init):
6374         * ToolbarDefaults.C (init):
6375         * commandtags.h:
6376         * lyxfunc.C (getStatus):
6377         remove LFUN_INSET_GRAPHICS.
6378
6379         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6380
6381 2003-03-07  Angus Leeming  <leeming@lyx.org>
6382
6383         * commandtags.h:
6384         * LyXAction.C (init):
6385         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6386
6387         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6388
6389         * commandtags.h:
6390         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6391
6392         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6393         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6394
6395 2003-03-07  Angus Leeming  <leeming@lyx.org>
6396
6397         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6398         remove "ert".
6399
6400 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * ParagraphList.C (front): new function
6403         (back): implement
6404
6405 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6408         and top_row_offset_. removed var first_y.
6409         * text.C (top_y):
6410         * text2.C (LyXText, removeRow):
6411         * text3.C:
6412         * BufferView_pimpl.C:
6413         use these methods instead of using first_y
6414
6415 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * text2.C (pasteSelection): adjust for checkPastePossible
6418
6419         * CutAndPaste.C: remove Paragraph * buf and replace with
6420         ParagraphList paragraphs.
6421         (DeleteBuffer): delete
6422         (cutSelection): change the tc type to textclass_type
6423         (copySelection): change the tc type to textclass_type
6424         (copySelection): adjust for ParagraphList
6425         (pasteSelection): change the tc type to textclass_type
6426         (pasteSelection): adjust for Paragraphlist
6427         (nrOfParagraphs): simplify for ParagraphList
6428         (checkPastePossible): simplify for ParagraphList
6429         (checkPastePossible): remove unused arg
6430
6431         * ParagraphList.C (insert): handle the case where there are no
6432         paragraphs yet.
6433
6434         * CutAndPaste.h: make CutAndPaste a namespace.
6435
6436         * text3.C (dispatch): adjust
6437
6438         * text.C (breakParagraph): add a ParagraphList as arg
6439
6440         * paragraph_funcs.C (breakParagraph): change to take a
6441         BufferParams and a ParagraphList as args.
6442         (breakParagraphConservative): ditto
6443         (mergeParagraph): ditto
6444         (TeXDeeper): add a ParagraphList arg
6445         (TeXEnvironment): ditto
6446         (TeXOnePar): ditto
6447
6448         * buffer.C (readLyXformat2): adjust
6449         (insertStringAsLines): adjust
6450         (latexParagraphs): adjust
6451
6452         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6453         (cutSelection): adjust
6454         (pasteSelection): adjust
6455
6456         * BufferView_pimpl.C (insertInset): adjust
6457
6458 2003-03-05  Angus Leeming  <leeming@lyx.org>
6459
6460         * commandtags.h:
6461         * LyXAction.C (init):
6462         * BufferView_pimpl.C (dispatch):
6463         * lyxfunc.C (getStatus):
6464         remove LFUN_CHILD_INSERT.
6465
6466         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6467
6468 2003-03-05  Angus Leeming  <leeming@lyx.org>
6469
6470         * commandtags.h:
6471         * LyXAction.C (init):
6472         * src/factory.C (createInset):
6473         * lyxfunc.C (getStatus):
6474         * text3.C (dispatch):
6475         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6476
6477         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6478
6479 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * ParagraphList.C (insert): handle insert right before end()
6482         (erase): fix cases where it can be first or last paragraph.
6483
6484 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6487         Paragraph::next and Paragraph::previous
6488         (TeXOnePar): ditto
6489
6490         * text.C (breakParagraph): adjust
6491
6492         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6493         BufferParams& as arg.
6494         (breakParagraph): use ParagraphList::insert
6495         (breakParagraphConservative): take a Buffer* instead of a
6496         BufferParams& as arg.
6497         (breakParagraphConservative): use ParagraphList::insert.
6498
6499         * buffer.C (insertStringAsLines): un-const it
6500         (insertStringAsLines): adjust
6501
6502         * ParagraphList.C (insert): new function
6503
6504         * CutAndPaste.C (pasteSelection): adjust
6505
6506         * text.C (backspace): adjust
6507
6508         * tabular.C (SetMultiColumn): adjust
6509
6510         * CutAndPaste.C (cutSelection): adjust
6511         (pasteSelection): adjust
6512
6513         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6514         Buffer const * as arg
6515
6516         * ParagraphList.C (erase): new function
6517         * paragraph_funcs.C (mergeParagraph): use it
6518         (mergeParagraph): make it take a Buffer* instead of a
6519         BufferParams* as arg
6520
6521         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6522         as arg
6523         (breakParagraphConservative): ditto
6524
6525         * paragraph.h: remove the breakParagraph friend
6526
6527         * paragraph.C (eraseIntern): new function
6528         (setChange): new function
6529
6530         * paragraph_funcs.C (mergeParagraph): make it take a
6531         ParagraphList::iterator instead of a Paragraph *, adjust
6532         accordingly.
6533
6534         * paragraph.h: move an #endif so that the change tracking stuff
6535         also works in the NO_NEXT case.
6536
6537 2003-03-04  Angus Leeming  <leeming@lyx.org>
6538
6539         * commandtags.h:
6540         * LyXAction.C: new LFUN_INSET_MODIFY.
6541
6542         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6543         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6544
6545 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * several files: ws changes only
6548
6549         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6550         (TeXEnvironment): ditto
6551         (TeXDeeper): ditto
6552
6553         * buffer.C (makeLaTeXFile): adjust
6554         (latexParagraphs): make it take ParagraphList::iterator as args
6555
6556 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * buffer.C (latexParagraphs): adjust
6559
6560         * paragraph.C (TeXOnePar): move function...
6561         (optArgInset): move function...
6562         (TeXEnvironment): move function...
6563         * paragraph_pimpl.C (TeXDeeper): move function...
6564         * paragraph_funcs.C: ...here
6565
6566         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6567
6568 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * buffer.C (readInset): remove compability code for old Figure and
6571         InsetInfo insets
6572
6573 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * buffer.C: ws changes
6576         (readInset):
6577
6578         * BufferView_pimpl.C: ditto
6579         * author.C: ditto
6580         * buffer.h: ditto
6581         * bufferlist.h: ditto
6582         * changes.h: ditto
6583         * lyxfunc.C: ditto
6584
6585 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6586
6587         * converter.[Ch]: split into itself +
6588         * graph.[Ch]
6589         * format.[Ch]
6590         * Makefile.am: += graph.[Ch] + format.[Ch]
6591         * MenuBackend.C
6592         * buffer.C
6593         * exporter.C
6594         * importer.C
6595         * lyx_main.C
6596         * lyxfunc.C
6597         * lyxrc.C: added #include "format.h"
6598
6599 2003-02-27  Angus Leeming  <leeming@lyx.org>
6600
6601         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6602           a label.
6603
6604         * factory.C (createInset): add "label" to the factory.
6605
6606         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6607           string and do no more.
6608
6609 2003-02-27  Angus Leeming  <leeming@lyx.org>
6610
6611         * commandtags.h:
6612         * LyXAction.C (init):
6613         * factory.C (createInset):
6614         * BufferView_pimpl.C (dispatch):
6615           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6616
6617         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6618
6619         * lyxfunc.C (dispatch):
6620         * text3.C (dispatch): pass name to params2string.
6621
6622 2003-02-26  Angus Leeming  <leeming@lyx.org>
6623
6624         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6625           blocks together.
6626           Rearrange the ~includes. Strip out the unnecessary ones.
6627
6628         * factory.C (createInset): reformat.
6629           create new insets for the various LFUN_XYZ_APPLY lfuns.
6630
6631 2003-02-26  John Levon  <levon@movementarian.org>
6632
6633         * lyxrow.h:
6634         * lyxrow.C: add isParStart,isParEnd helpers
6635
6636         * paragraph.h: make isInserted/DeletedText take refs
6637
6638         * paragraph_funcs.h:
6639         * paragraph_funcs.C: remove #if 0'd code
6640
6641         * lyxtext.h:
6642         * text3.C:
6643         * text2.C:
6644         * text.C: use lyxrow helpers above.
6645           Move draw and paint routines to RowPainter.
6646           Make several methods use refs not pointers.
6647           Make backgroundColor() const.
6648           Add markChangeInDraw(), isInInset().
6649           Merge changeRegionCase into changeCase.
6650           Make workWidth() shouldn't-happen code into an Assert.
6651
6652         * rowpainter.h:
6653         * rowpainter.C: new class for painting a row.
6654
6655         * vspace.h:
6656         * vspace.C: make inPixels take a ref
6657
6658 2003-02-26  Angus Leeming  <leeming@lyx.org>
6659
6660         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6661         LFUN_REF_APPLY.
6662
6663 2003-02-25  John Levon  <levon@movementarian.org>
6664
6665         * ispell.C: give the forked command a more accurate name
6666
6667 2003-02-22  John Levon  <levon@movementarian.org>
6668
6669         * toc.h:
6670         * toc.C: make TocItem store an id not a Paragraph *
6671           (bug #913)
6672
6673 2003-02-21  Angus Leeming  <leeming@lyx.org>
6674
6675         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6676           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6677           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6678           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6679           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6680           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6681
6682         * BufferView_pimpl.C (dispatch):
6683         * LyXAction.C (init):
6684         * factory.C (createInset):
6685         * lyxfunc.C (getStatus, dispatch):
6686         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6687
6688 2003-02-21  Angus Leeming  <leeming@lyx.org>
6689
6690         * BufferView_pimpl.C (MenuInsertLyXFile):
6691         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6692         * lyxfunc.C (menuNew, open, doImport):
6693           no longer pass a LyXView & to fileDlg.
6694
6695 2003-02-21  Angus Leeming  <leeming@lyx.org>
6696
6697         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6698         * LyXAction.C: change, BIBKEY to BIBITEM.
6699         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6700         Change InsetBibKey to InsetBibitem.
6701         Change BIBKEY_CODE to BIBITEM_CODE.
6702         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6703         * factory.C: replace insetbib.h with insetbibitem.h.
6704         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6705         * paragraph.C: replace insetbib.h with insetbibitem.h.
6706         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6707         Change bibkey() to bibitem().
6708         * text.C: remove insetbib.h.
6709         * text2.C: replace insetbib.h with insetbibitem.h.
6710         change bibkey() to bibitem().
6711         * text3.C: remove insetbib.h.
6712         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6713
6714 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6715
6716         * lyxrc.C (output): enclose user email in quotes (in case there are
6717         several words)
6718
6719 2003-02-18  John Levon  <levon@movementarian.org>
6720
6721         * buffer.h: add std::
6722
6723 2003-02-17  John Levon  <levon@movementarian.org>
6724
6725         * SpellBase.h:
6726         * ispell.h:
6727         * ispell.C:
6728         * pspell.h:
6729         * pspell.C: reworking. Especially in ispell, a large
6730           number of clean ups and bug fixes.
6731
6732         * lyxfunc.C: fix revert to behave sensibly
6733
6734 2003-02-17 André Pönitz <poenitz@gmx.net>
6735
6736         * LyXAction.C:
6737         * commandtags.h: new LFUN_INSERT_BIBKEY
6738
6739         * layout.h:
6740         * lyxlayout.C:
6741         * buffer.C:
6742         * factory.C:
6743         * text.C:
6744         * text2.C:
6745         * text3.C:
6746         * paragraph.[Ch]:
6747         * paragraph_func.C: remove special bibkey handling
6748
6749 2003-02-17  John Levon  <levon@movementarian.org>
6750
6751         * text.C (Delete): fix case where delete at the end of
6752           the very first paragraph would not merge the pars
6753
6754 2003-02-17  John Levon  <levon@movementarian.org>
6755
6756         * lyxrow.C: fix lastPrintablePos()
6757
6758 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * bufferparams.C (writeLaTeX): add a std:here
6761
6762         * buffer.C: and remove a using directive there
6763
6764 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6765
6766         * buffer.C (makeLaTeXFile): move the code that generates the
6767           preamble...
6768
6769         * bufferparams.C (writeLaTeX): ... in this new method
6770
6771         * LaTeXFeatures.C (getEncodingSet): make const
6772           (getLanguages): make const
6773
6774         * MenuBackend.C (binding): returns the binding associated to this
6775           action
6776           (add): sets the status of each item by calling getStatus. Adds
6777           some intelligence.
6778           (read): add support for OptSubMenu
6779           (expand): remove extra separator at the end of expanded menu
6780
6781 2003-02-15  John Levon  <levon@movementarian.org>
6782
6783         * BufferView.C:
6784         * BufferView_pimpl.C:
6785         * bufferlist.h:
6786         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6787           inset code that had no actual effect. Remove unneeded status
6788           code.
6789
6790 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6791
6792         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6793           in preamble
6794
6795 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6796
6797         * text.C (drawLengthMarker): also draw an arrow marker for
6798           symbolic lengths (medskip...)
6799
6800 2003-02-14  John Levon  <levon@movementarian.org>
6801
6802         * tabular.h:
6803         * tabular.C: better method names
6804
6805 2003-02-14  John Levon  <levon@movementarian.org>
6806
6807         * BufferView_pimpl.C:
6808         * bufferlist.C:
6809         * buffer.C:
6810         * converter.C:
6811         * lyx_cb.C:
6812         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6813           it's a more accurate name. Remove some pointless uses.
6814
6815 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6816
6817         * text2.C (LyXText): change order of initilizers to shut off
6818           warnings
6819
6820 2003-02-14  John Levon  <levon@movementarian.org>
6821
6822         * buffer.C: use ParIterator for getParFromID()
6823
6824         * paragraph.h:
6825         * paragraph.C:
6826         * paragraph_pimpl.h:
6827         * paragraph_pimpl.C: remove unused getParFromID()
6828
6829 2003-02-14  John Levon  <levon@movementarian.org>
6830
6831         * buffer.C: remove some very old #if 0'd parse code
6832
6833 2003-02-13  John Levon  <levon@movementarian.org>
6834
6835         * text.h:
6836         * text.C:
6837         * text2.C: move hfillExpansion(), numberOfSeparators(),
6838           rowLast(), rowLastPrintable(), numberofHfills(),
6839           numberOfLabelHfills() ...
6840
6841         * lyxrow.h:
6842         * lyxrow.C: ... to member functions here.
6843
6844         * paragraph.h:
6845         * paragraph.C:
6846         * lyxtext.h:
6847         * text.C: remove LyXText::beginningOfMainBody(), and call
6848           p->beginningOfMainBody() directly. Move the check for
6849           LABEL_MANUAL into the latter.
6850
6851         * text.h:
6852         * text.C:
6853         * text2.C:
6854         * vspace.C:
6855         * BufferView.h:
6856         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6857
6858         * text.h:
6859         * text.C:
6860         * text2.C:
6861         * text3.C:
6862         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6863           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6864
6865 2003-02-13  John Levon  <levon@movementarian.org>
6866
6867         * CutAndPaste.C: remove debug
6868
6869 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6870
6871         * paragraph.C (asString): remove two unused variables
6872
6873         * lyxtextclass.C (readTitleType):
6874           (Read):
6875           (LyXTextClass): handle new members titletype_ and titlename_
6876
6877         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6878
6879 2003-02-09  John Levon  <levon@movementarian.org>
6880
6881         * buffer.h:
6882         * buffer.C: replace hand-coded list with a map for the dep clean
6883
6884 2003-02-08  John Levon  <levon@movementarian.org>
6885
6886         * LaTeX.C: consolidate code into showRunMessage() helper
6887
6888 2003-02-08  John Levon  <levon@movementarian.org>
6889
6890         * lyxfind.C:
6891         * lyxtext.h:
6892         * text2.C:
6893         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6894           and pass the size in explicitly
6895
6896         * BufferView_pimpl.h:
6897         * BufferView_pimpl.C:
6898         * BufferView.h:
6899         * BufferView.C: add getCurrentChange()
6900
6901         * BufferView_pimpl.h:
6902         * BufferView_pimpl.C: handle change lfuns
6903
6904         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6905           for changes. Mark pasted paragraphs as new.
6906
6907         * support/lyxtime.h:
6908         * support/lyxtime.C:
6909         * DepTable.C: abstract time_t as lyx::time_type
6910
6911         * LColor.h:
6912         * LColor.C: add colours for new text, deleted text, changebars
6913
6914         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6915           package use "usenames" option.
6916
6917         * commandtags.h:
6918         * lyxfunc.C:
6919         * LyXAction.C: add change lfuns
6920
6921         * Makefile.am:
6922         * author.h:
6923         * author.C: author handling
6924
6925         * buffer.h:
6926         * buffer.C: add a per-buffer author list, with first entry as
6927           current author. Handle new .lyx tokens for change tracking. Output
6928           author list to .lyx file. Output dvipost stuff to .tex preamble.
6929           Bump lyx format to 222.
6930
6931         * bufferlist.h:
6932         * bufferlist.C: add setCurrentAuthor() to reset current author details
6933           in all buffers.
6934
6935         * bufferparams.h:
6936         * bufferparams.C: add param for tracking
6937
6938         * bufferview_funcs.C: output change info in minibuffer
6939
6940         * Makefile.am:
6941         * changes.h:
6942         * changes.C: add change-tracking structure
6943
6944         * debug.h:
6945         * debug.C: add CHANGES debug flag
6946
6947         * lyxfind.h:
6948         * lyxfind.C: add code for finding the next change piece
6949
6950         * lyxrc.h:
6951         * lyxrc.C: add user_name and user_email
6952
6953         * lyxrow.h:
6954         * lyxrow.C: add a metric for the top of the text line
6955
6956         * lyxtext.h:
6957         * text.C: implement accept/rejectChange()
6958
6959         * lyxtext.h:
6960         * text.C: paint changebars. Paint new/deleted text in the chosen
6961         colours. Strike through deleted text.
6962
6963         * paragraph.h:
6964         * paragraph.C:
6965         * paragraph_pimpl.h:
6966         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6967           in the current change to the insert functions. Rework erase to
6968           mark text as deleted, adding an eraseIntern() and a range-based
6969           erase(). Implement per-paragraph change lookup and
6970           accept/reject.
6971
6972         * paragraph_funcs.C: Fixup paste for change tracking.
6973
6974         * tabular.C: mark added row/columns as new.
6975
6976         * text.C: fix rowLast() to never return -1. Don't allow
6977           spellchecking of deleted text. Track transpose changes. Don't
6978           allow paragraph break or merge where appropriate.
6979
6980         * text2.C: leave cursor at end of selection after a cut.
6981
6982 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6983
6984         * text.C (getLengthMarkerHeight):
6985         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6986         visible on screen too.
6987
6988 2003-02-07  John Levon  <levon@movementarian.org>
6989
6990         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6991
6992 2003-02-05  Angus Leeming  <leeming@lyx.org>
6993
6994         * lyxserver.C (read_ready): revert my patch of 11 September last year
6995         as it sends PC cpu through the roof. Presumably this means that
6996         the lyxserver will no longer run on an Alpha...
6997
6998 2003-01-30  Angus Leeming  <leeming@lyx.org>
6999
7000         * factory.C (createInset): create an InsetCommandParam of type "index"
7001         and use it to 'do the right thing'.
7002
7003         * text2.C (getStringToIndex): ensure that cursor position is always
7004         reset to the reset_cursor position.
7005
7006 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7007
7008         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7009         disabled.
7010
7011 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7012
7013         * bufferview.C:
7014         * lyxcb.C:
7015         * lyxfunc.C: Output messages with identical spelling, punctuation,
7016         and spaces
7017
7018 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7019
7020         * MenuBackend.C (expandFormats): List only viewable export formats
7021         in "View" menu
7022
7023         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7024         message
7025
7026         * lyxfunc.C (getStatus): Make sure that formats other than
7027         "fax" can also be disabled
7028
7029 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7030
7031         * text3.C (dispatch): put the lfuns that insert insets in 3
7032         groups, and call doInsertInset with appropriate arguments.
7033         (doInsertInset): new function, that creates an inset and inserts
7034         it according to some boolean parameters.
7035
7036 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * buffer.C (readFile): remember to pass on 'par' when calling
7039         readFile recursively.
7040
7041 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7042
7043         * MenuBackend.C (expandFormats): add "..." to import formats.
7044
7045 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7046
7047         * paragraph.C (asString): Remove XForms RTL hacks.
7048
7049 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7050         * buffer.C: fix typo
7051
7052 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * Makefile.am (LIBS): delete var
7055         (lyx_LDADD): add @LIBS@ here instead.
7056
7057 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7058
7059         * Clarify the meaning of "wheel mouse jump"
7060
7061 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7062
7063         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7064         tabular in a float
7065
7066 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7067
7068         * importer.C (Loaders): do not preallocate 3 elements in the
7069         vector, since one ends up with 6 elements otherwise
7070
7071 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7072
7073         * DepTable.C (write): write the file name as last element of the
7074         .dep file (because it may contain spaces)
7075         (read): read info in the right order
7076
7077 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7078
7079         * paragraph_pimpl.C (simpleTeXBlanks):
7080         (simpleTeXSpecialChars):
7081         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7082
7083         * tabular.C (latex): add some missing case statements. Reindent.
7084
7085         * MenuBackend.C (expandToc): remove unused variable.
7086
7087 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7088
7089         * LColor.C:
7090         * LaTeX.C:
7091         * LyXAction.C:
7092         * MenuBackend.C:
7093         * buffer.C:
7094         * exporter.C:
7095         * lyxfunc.C:
7096         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7097         and the like.
7098
7099 2003-01-05  John Levon  <levon@movementarian.org>
7100
7101         * BufferView.h:
7102         * BufferView.C: add getEncoding()
7103
7104         * kbsequence.h:
7105         * kbsequence.C: do not store last keypress
7106
7107         * lyxfunc.h:
7108         * lyxfunc.C: store last keypress here instead. Pass encoding
7109           to getISOEncoded()
7110
7111 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7112
7113         * lyx_main.C (init): remove annoying error message when following
7114         symbolic links (bug #780)
7115
7116 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * text.C (insertChar):
7119         * lyxrc.C (getDescription): remove extra spaces
7120
7121 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7122
7123         * lyxrc.C (getDescription): remove extra spaces
7124
7125 2002-12-20  John Levon  <levon@movementarian.org>
7126
7127         * text3.C: hack fix for page up/down across tall rows
7128
7129 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7132         not been invoked
7133
7134 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7137         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7138         thesaurus is not compiled in
7139
7140 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7141
7142         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7143
7144 2002-12-16  Angus Leeming  <leeming@lyx.org>
7145
7146         * lyxrc.[Ch]:
7147         * lyx_main.C (init): remove override_x_deadkeys stuff.
7148
7149 2002-12-12  John Levon  <levon@movementarian.org>
7150
7151         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7152           insert. Only remove shift modifier under strict
7153           circumstances.
7154
7155 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * MenuBackend.C (expandToc): fix crash.
7158
7159 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * MenuBackend.C (expandToc): gettext on float names.
7162
7163 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7164
7165         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7166         implement bool empty() [bug 490]
7167
7168 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7171
7172 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * several files: ws changes
7175
7176 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * text2.C (setCounter): clean up a bit, use boost.format.
7179         (updateCounters): initialize par upon declaration.
7180
7181         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7182         if the layout exists. We do not just store the layout any more.
7183         (SwitchLayoutsBetweenClasses): use boost.format
7184
7185 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * converter.C (convert): if from and to files are the same, use a
7188         temporary files as intermediary
7189
7190 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7191
7192         * commandtags.h:
7193         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7194
7195 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7196
7197         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7198
7199 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * tabular.C (asciiPrintCell): use string(size, char) instead of
7202         explicit loop.
7203
7204         * sgml.C (openTag): fix order of arguments to string constructor
7205         (closeTag): ditto
7206
7207         * lyxfunc.C (dispatch): use boost.format
7208
7209         * lots of files: change "c" -> 'c'
7210
7211 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7212
7213         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7214
7215 2002-11-25  Angus Leeming  <leeming@lyx.org>
7216
7217         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7218
7219         * lyx_main.C (init): compile fix.
7220
7221 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7222
7223         * lyx_cb.C (start): boost.formatify
7224         do not include <iostream>
7225
7226         * lengthcommon.C: ws only
7227
7228         * boost-inst.C,BoostFormat.h: add more explict instantations
7229
7230 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * lots of files: handle USE_BOOST_FORMAT
7233
7234 2002-11-21  John Levon  <levon@movementarian.org>
7235
7236         * pspell.C: fix compile
7237
7238 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7239
7240         * lyxfunc.C (dispatch): use boost::format
7241         (open): ditto
7242         (doImport): ditto
7243
7244         * lyxfont.C (stateText): use boost::format
7245
7246         * lyx_main.C (LyX): use boost::format
7247         (init): ditto
7248         (queryUserLyXDir): ditto
7249         (readRcFile): ditto
7250         (parse_dbg): ditto
7251         (typedef boost::function): use the recommened syntax.
7252
7253         * importer.C (Import): use boost::format
7254
7255         * debug.C (showLevel): use boost::format
7256
7257         * converter.C (view): use boost::format
7258         (convert): ditto
7259         (move): ditto
7260         (scanLog): ditto
7261
7262         * bufferview_funcs.C (currentState): use boost::format
7263
7264         * bufferlist.C (emergencyWrite): use boost::format
7265
7266         * buffer.C (readLyXformat2): use boost::format
7267         (parseSingleLyXformat2Token): ditto
7268
7269         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7270
7271         * LaTeX.C (run): use boost::format
7272
7273         * Chktex.C (scanLogFile): use boost::format
7274
7275         * BufferView_pimpl.C (savePosition): use boost::format
7276         (restorePosition): ditto
7277         (MenuInsertLyXFile): ditto
7278
7279         * BoostFormat.h: help file for explicit instation.
7280
7281 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7282
7283         * tabular.C (latex): Support for block alignment in fixed width
7284         columns.
7285
7286 2002-11-17  John Levon  <levon@movementarian.org>
7287
7288         * BufferView_pimpl.C:
7289         * lyx_cb.C:
7290         * lyxfunc.C: split filedialog into open/save
7291
7292 2002-11-08  Juergen Vigna  <jug@sad.it>
7293
7294         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7295         by my last patch (hopefully).
7296
7297 2002-11-08  John Levon  <levon@movementarian.org>
7298
7299         * iterators.h:
7300         * iterators.C:
7301         * buffer.h:
7302         * buffer.C:
7303         * paragraph.h:
7304         * paragraph.C:
7305         * toc.h:
7306         * toc.C: ParConstIterator, and use it (from Lars)
7307
7308 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7309
7310         * lyxtextclass.[Ch]: revise and add doxygen comments
7311
7312 2002-11-07  John Levon  <levon@movementarian.org>
7313
7314         * text.C: fix progress value for spellchecker
7315
7316         * toc.C: fix navigate menu for insetwrap inside minipage
7317
7318         * paragraph_funcs.C: added FIXME for suspect code
7319
7320 2002-11-07  John Levon  <levon@movementarian.org>
7321
7322         * BufferView_pimpl.C: fix redrawing of insets
7323           on buffer switch
7324
7325 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * text2.C (updateCounters): fix bug 668
7328
7329 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7330
7331         * text3.C (dispatch): Do not make the buffer dirty when moving the
7332         cursor.
7333
7334 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * vc-backend.C: STRCONV
7337         (scanMaster): ditto
7338
7339         * text2.C (setCounter): STRCONV
7340
7341         * paragraph.C (asString): STRCONV
7342
7343         * lyxlength.C (asString): STRCONV
7344         (asLatexString): ditto
7345
7346         * lyxgluelength.C (asString): STRCONV
7347         (asLatexString): ditto
7348
7349         * lyxfunc.C (dispatch): STRCONV
7350         (open): ditto
7351
7352         * lyxfont.C (stateText): STRCONV
7353
7354         * importer.C (Import): STRCONV
7355
7356         * counters.C (labelItem): STRCONV
7357         (numberLabel): ditto
7358         (numberLabel): remove unused ostringstream o
7359
7360         * chset.C: STRCONV
7361         (loadFile): ditto
7362
7363         * bufferview_funcs.C (currentState): STRCONV
7364
7365         * buffer.C (readFile): STRCONV
7366         (asciiParagraph): ditto
7367         (makeLaTeXFile): ditto
7368
7369         * Spacing.C (writeEnvirBegin): STRCONV
7370
7371         * LaTeXFeatures.C (getLanguages): STRCONV
7372         (getPackages): ditto
7373         (getMacros): ditto
7374         (getBabelOptions): ditto
7375         (getTClassPreamble): ditto
7376         (getLyXSGMLEntities): ditto
7377         (getIncludedFiles): ditto
7378
7379         * LaTeX.C: STRCONV
7380         (run): ditto
7381         (scanAuxFile): ditto
7382         (deplog): ditto
7383
7384         * LString.h: add the STRCONV macros
7385
7386         * BufferView_pimpl.C (savePosition): STRCONV
7387         (restorePosition): ditto
7388         (MenuInsertLyXFile): ditto
7389
7390         * vc-backend.C (scanMaster): change from submatch[...] to
7391         submatch.str(...)
7392
7393         * funcrequest.C: include config.h
7394
7395         * factory.C: include config.h
7396
7397         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7398
7399         * box.C: include config.h
7400
7401         * LaTeX.C (scanAuxFile): change from submatch[...] to
7402         submatch.str(...)
7403         (deplog): ditto
7404
7405 2002-10-25  Angus Leeming  <leeming@lyx.org>
7406
7407         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7408
7409         * ispell.[Ch] (setError): new method.
7410         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7411         Use setError() insetead of goto END.
7412
7413         * lyx_cb.C (AutoSave): move out child process into new class
7414         AutoSaveBuffer.
7415
7416 2002-10-30  John Levon  <levon@movementarian.org>
7417
7418         * text3.C: make start appendix undoable
7419
7420 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7421
7422         * lyxlength.C (inPixels): Fix returned value.
7423
7424         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7425         environment.
7426
7427 2002-10-24  Angus Leeming  <leeming@lyx.org>
7428
7429         * lyxgluelength.h: no need to forward declare BufferParams
7430         or BufferView, so don't.
7431
7432 2002-10-21  John Levon  <levon@movementarian.org>
7433
7434         * BufferView.C: menuUndo ->undo, redo
7435
7436         * BufferView.h: document, remove dead, make some methods private
7437
7438         * paragraph_funcs.h:
7439         * paragraph_funcs.C:
7440         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7441
7442         * buffer.h:
7443         * buffer.C:
7444         * sgml.h:
7445         * sgml.C: move sgml open/close tag into sgml.C
7446
7447         * bufferview_funcs.h: unused prototype
7448
7449         * lyxfunc.h:
7450         * lyxfunc.C: remove unused
7451
7452         * lyxtext.h:
7453         * text.C: remove unused
7454
7455 2002-10-21  John Levon  <levon@movementarian.org>
7456
7457         * BufferView.h:
7458         * BufferView.C:
7459         * BufferView_pimpl.h:
7460         * BufferView_pimpl.C: fix mouse wheel handling based on
7461           patch from Darren Freeman
7462
7463 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7464
7465         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7466
7467 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * lyxlength.C (inPixels): Fix hanfling of negative length.
7470         Fix LyXLength::MU case.
7471
7472 2002-10-16  John Levon  <levon@movementarian.org>
7473
7474         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7475
7476 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7477
7478         * converter.C (view): add support for $$i (file name) and $$p
7479         (file path) for the viewer command. If $$i is not specified, then
7480         it is appended to the command (for compatibility with old syntax)
7481
7482 2002-10-14  Juergen Vigna  <jug@sad.it>
7483
7484         * undo_funcs.C (textHandleUndo): alter the order in which the
7485         new undopar is added to the LyXText, as we have to set first
7486         the right prev/next and then add it as otherwise the rebuild of
7487         LyXText is not correct. Also reset the cursor to the right paragraph,
7488         with this IMO we could remove the hack in "redoParagraphs()".
7489
7490 2002-10-09  Angus Leeming  <leeming@lyx.org>
7491
7492         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7493         to turn off an optimisation if a new inset is to be inserted.
7494
7495 2002-10-11 André Pönitz <poenitz@gmx.net>
7496
7497         * lyxtext.h: make some functions public to allow access
7498         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7499
7500 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7501
7502         * text3.C (dispatch): when changing layout, avoid an infinite loop
7503         [bug #652]
7504
7505 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7506
7507         * lyxrc.C (read): treat a viewer or converter command of "none" as
7508         if it were empty.
7509
7510         * MenuBackend.C (expandFormats): for an update, also allow the
7511         formats that are not viewable
7512
7513         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7514         script if it is newer than the lyxrc.defaults in user directory
7515
7516 2002-10-07 André Pönitz <poenitz@gmx.net>
7517
7518         * text.C: Vitaly Lipatov's small i18n fix
7519
7520 2002-09-25  Angus Leeming  <leeming@lyx.org>
7521
7522         * ispell.h: doxygen fix.
7523
7524 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7525
7526         * buffer.h (readFile): Add a new argument to the method, to allow
7527         reading of old-format templates.
7528
7529 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7530
7531         * toc.C (getTocList): Get TOC from InsetWrap.
7532
7533 2002-09-16  John Levon  <levon@movementarian.org>
7534
7535         * lyxfunc.C: check tabular for cut/copy too
7536
7537 2002-09-12  John Levon  <levon@movementarian.org>
7538
7539         * LyXAction.C: tidy
7540
7541         * factory.h:
7542         * factory.C: add header
7543
7544         * paragraph_funcs.h:
7545         * paragraph_funcs.C: cleanup
7546
7547 2002-09-11  John Levon  <levon@movementarian.org>
7548
7549         * PrinterParams.h: odd/even default to true
7550
7551 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7552
7553         * PrinterParams.h: update printer parameters for new xforms dialog
7554
7555 2002-09-11  Angus Leeming  <leeming@lyx.org>
7556
7557         * lyxserver.C (read_ready): re-write to make it more transparent
7558         and to make it work in coherent fashion under Tru64 Unix.
7559
7560 2002-09-11  André Pönitz <poenitz@gmx.net>
7561
7562         * commandtags.h:
7563         * LyXAction.C:
7564         * text3.C: implement LFUN_WORDSEL
7565
7566 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7569         make floatlist_ a boost::shared_ptr<FloatList>
7570
7571         * lyxtextclass.C: include FloatList.h
7572         (LyXTextClass): initialize floatlist_
7573         (TextClassTags): add TC_NOFLOAT
7574         (Read): match "nofloat" to TC_NOFLOAT and use it.
7575         (readFloat): modify call to floatlist_
7576         (floats): ditto
7577         (floats): ditto
7578
7579         * FloatList.[Ch] (FloatList): remove commented out float
7580         initialization.
7581         (erase): new function
7582
7583 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7584
7585         * MenuBackend.C (expandToc): fix crash when there is no document
7586         open
7587
7588 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7589
7590         * many files: Add insetwrap.
7591
7592 2002-09-09  John Levon  <levon@movementarian.org>
7593
7594         * text2.C: remove confusing and awkward depth wraparound
7595
7596 2002-09-09  John Levon  <levon@movementarian.org>
7597
7598         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7599
7600         * buffer.h:
7601         * buffer.C: remove getIncludeonlyList()
7602
7603         * paragraph.C:
7604         * lyxfunc.C: remove headers
7605
7606 2002-09-09  Juergen Vigna  <jug@sad.it>
7607
7608         * text.C (getColumnNearX): fix form Michael this is most
7609         probably a cut&paste bug.
7610
7611 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7614
7615         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7616         references, ws changes.
7617
7618         * text2.C (init): update counters after init
7619         (insertParagraph): no need to set counter on idividual paragraphs.
7620         (setCounter): access the counters object in the textclass object
7621         on in the buffer object.
7622         (updateCounters): ditto
7623
7624         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7625         shared_ptr<Counters> to avoid loading counters.h in all
7626         compilation units.
7627         (LyXTextClass): initialize ctrs_
7628         (TextClassTags): add TC_COUNTER, and ...
7629         (Read): use it here.
7630         (CounterTags): new tags
7631         (readCounter): new function
7632         (counters): new funtion
7633         (defaultLayoutName): return a const reference
7634
7635         * counters.C (Counters): remove contructor
7636         (newCounter): remove a couple of unneeded statements.
7637         (newCounter): simplify a bit.
7638         (numberLabel): some small formatting changes.
7639
7640         * buffer.[Ch]: remove all traces of counters, move the Counters
7641         object to the LyXTextClass.
7642
7643 2002-09-06  Alain Castera  <castera@in2p3.fr>
7644
7645         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7646         package to set the horizontal alignment on fixed width columns.
7647
7648         * lyx_sty.C:
7649         * lyx_sty.h: added tabularnewline macro def.
7650
7651         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7652
7653 2002-09-06  John Levon  <levon@movementarian.org>
7654
7655         * LyXAction.C: tooltips for sub/superscript
7656
7657         * MenuBackend.C: a bit more verbose
7658
7659         * lyxfunc.C: tiny clean
7660
7661         * undo_funcs.C: document undo_frozen
7662
7663 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * counters.C (Counters): add missing algorithm counter.
7666
7667         * text2.C (setCounter): lookup the counter with layouts latexname
7668         instead of by section number.
7669         (setCounter): use a hackish way to lookup the correct enum
7670         counter.
7671         a float name->type change
7672         reset enum couners with counter name directly instead of depth value.
7673
7674         * counters.C (Counters): remove the push_backs, change to use the
7675         float type not the float name.
7676         (labelItem): remove unused string, float name->type change
7677
7678         * counters.h: don't include vector, loose the enums and sects vectors
7679
7680 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7683         (Read): add float->TC_FLOAT to textclassTags
7684         (Read): and handle it in the switch
7685         (readFloat): new function
7686
7687         * FloatList.C (FloatList): comment out the hardcoded float
7688         definitions.
7689
7690         * lyxlayout.h: ws change.
7691
7692 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7693
7694         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7695
7696 2002-09-03  Angus Leeming  <leeming@lyx.org>
7697
7698         * BufferView_pimpl.h: qualified name is not allowed in member
7699         declaration: WorkArea & Pimpl::workarea() const;
7700
7701         * factory.C: added using std::endl directive.
7702
7703         * text3.C: added using std::find and std::vector directives.
7704
7705 2002-08-29  André Pönitz <poenitz@gmx.net>
7706
7707         * lyxtext.h:
7708         * text2.C: remove unused member number_of_rows
7709
7710         * Makefile.am:
7711         * BufferView2.C: remove file, move contents to...
7712         * BufferView.C: ... here
7713
7714         * BufferView_pimpl.C:
7715         * factory.C: move more inset creation to factory
7716
7717         * vspace.C: avoid direct usage of LyXText, ws changes
7718
7719         * BufferView.[Ch]:
7720                 don't provide direct access to WorkArea, use two simple
7721                 acessors haveSelction() and workHeight() instead
7722
7723
7724 2002-08-29  John Levon  <levon@movementarian.org>
7725
7726         * BufferView_pimpl.C (dispatch): do not continue when
7727           no buffer
7728
7729 2002-08-28  André Pönitz <poenitz@gmx.net>
7730
7731         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7732
7733         * BufferView.h:
7734         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7735
7736 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7737
7738         * buffer.C: increment LYX_FORMAT to 221
7739
7740         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7741         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7742
7743         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7744
7745         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7746
7747 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7748
7749         * factory.C (createInset): use LyXTextClass::floats
7750
7751         * MenuBackend.C (expandFloatListInsert):
7752         (expandFloatInsert):
7753         (expandToc):
7754
7755         * text2.C (setCounter):
7756
7757         * LaTeXFeatures.C (useFloat):
7758         (getFloatDefinitions):
7759
7760         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7761
7762         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7763         floatlist_, with accessor floats().
7764
7765         * FloatList.h: remove global FloatList
7766
7767 2002-08-26  André Pönitz <poenitz@gmx.net>
7768
7769         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7770
7771         * BufferView.h:
7772         * BufferView2.C:
7773         * BufferView_pimpl.C:
7774         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7775
7776 2002-08-25  John Levon  <levon@movementarian.org>
7777
7778         * LyXAction.C: fix margin note description
7779
7780 2002-08-24  John Levon  <levon@movementarian.org>
7781
7782         * buffer.C:
7783         * bufferlist.C:
7784         * bufferview_funcs.C:
7785         * lyxfont.C:
7786         * undo_funcs.C: cleanups
7787
7788         * lyxfunc.C: disable CUT/COPY when no selection
7789
7790 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7791
7792         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7793         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7794
7795         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7796         Add backward compatibility to "mono", "gray" and "no".
7797
7798 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7799
7800         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7801         (and file_format >= 200).
7802
7803 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7804
7805         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7806
7807 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7810
7811 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7812
7813         * BufferView_pimpl.C:
7814         * LyXAction.C:
7815         * buffer.C:
7816         * commandtags.h:
7817         * lyxfunc.C:
7818         * paragraph.[Ch]:
7819         * text2.C:
7820         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7821         inset and code to make it  work with the paragraph code. The inset
7822         can be anywhere in the paragraph, but will only do the expected
7823         thing in LaTeX if the layout file contains the parameter line
7824                         OptionalArgs    1
7825         (or more generally, a nonzero value) for that layout.
7826
7827 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * paragraph.h: remove the declaration of undefined counters class
7830         function.
7831
7832 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7833
7834         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7835         Dr. Richard Hawkins.
7836
7837 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7838
7839         * paragraph_funcs.h: remove some unneeded includes
7840
7841         * text.C (backspace): pasteParagraph now in global scipe
7842
7843         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7844         (pasteSelection): ditto
7845
7846         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7847         * paragraph_funcs.C (pasteParagraph): ... here
7848
7849 2002-08-20  André Pönitz <poenitz@gmx.net>
7850
7851         * commandtags.h: new LFUNs for swapping/copying table row/colums
7852
7853         * LyXAction.C:
7854         * lyxfunc.C: support for new lfuns
7855
7856 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * tabular.C:
7859         * buffer.[Ch]: remove NO_COMPABILITY stuff
7860
7861 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * boost.C (throw_exception): new file, with helper function for
7864         boost compiled without exceptions.
7865
7866         * paragraph.h:
7867         * lyxlength.C:
7868         * buffer.C:
7869         * ParameterStruct.h:
7870         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7871
7872         * bufferlist.C (emergencyWriteAll): use boost bind
7873
7874         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7875
7876         * text.C: include paragraph_funcs.h
7877         (breakParagraph): breakParagraph is now in global scope
7878
7879         * paragraph_funcs.[Ch]: new files
7880
7881         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7882         global scope
7883
7884         * buffer.C: include paragraph_funcs.h
7885         (insertStringAsLines): breakParagraph is now in global scope
7886
7887         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7888         paragraph_funcs.C
7889
7890         * CutAndPaste.C: include paragraph_funcs.h
7891         (cutSelection): breakParagraphConservative is now in global scope
7892         (pasteSelection): ditto
7893
7894         * buffer.h: declare oprator== and operator!= for
7895         Buffer::inset_iterator
7896
7897         * bufferlist.C (emergencyWrite): don't use fmt(...)
7898
7899         * text3.C: add using std::endl
7900
7901         * BufferView.C (moveCursorUpdate): remove default arg
7902
7903 2002-08-20  André Pönitz <poenitz@gmx.net>
7904
7905         * buffer.[Ch]: move inline functions to .C
7906
7907         * BufferView2.C:
7908         * BufferView_pimpl.C:
7909         * text.C:
7910         * buffer.[Ch]: use improved inset_iterator
7911
7912         * buffer.C:
7913         * paragraph.[Ch]: write one paragraph at a time
7914
7915 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7916
7917         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7918         style if style is not specified.
7919
7920 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7921
7922         * text2.C (setCounter): when searching for right label for a
7923         caption, make sure to recurse to parent insets (so that a caption
7924         in a minipage in a figure float works) (bug #568)
7925
7926 2002-08-20  André Pönitz <poenitz@gmx.net>
7927
7928         * text3.C: new file for LyXText::dispatch() and helpers
7929
7930         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7931
7932         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7933
7934 2002-08-19  André Pönitz <poenitz@gmx.net>
7935
7936         * lyxtext.h:
7937         * text.C: new LyXText::dispatch()
7938
7939         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7940
7941 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7942
7943         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7944
7945         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7946         Hebrew text.
7947
7948 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * Makefile.am: use $(variables) instead of @substitutions@
7951
7952 2002-08-15  André Pönitz <poenitz@gmx.net>
7953
7954         * lyxfunc.C:
7955         * BufferView_pimpl.C: streamlining mathed <-> outer world
7956         interaction
7957
7958         * commandtags.h:
7959         * LyXAction.C: remove unused LFUN_MATH
7960
7961 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7964
7965 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7966
7967         * paragraph.C (Paragraph): reformat a bit
7968         (cutIntoMinibuffer): use builtin InsetList function instad of
7969         doing it manually.
7970         (getInset): ditto
7971
7972         * buffer.C: include boost/bind.hpp, add using std::for_each
7973         (writeFileAscii): use ParagraphList iterators
7974         (validate): use for_each for validate traversal of paragraphs
7975         (getBibkeyList): use ParagraphList iterators
7976         (resizeInsets): use for_each to resizeInsetsLyXText for all
7977         paragraphs.
7978         (getParFromID): use ParagraphList iterators
7979
7980         * BufferView2.C (lockInset): use paragraph list and iterators
7981
7982 2002-08-14  John Levon  <levon@movementarian.org>
7983
7984         * lyxserver.C: remove spurious xforms include
7985
7986 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7987
7988         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7989
7990 2002-08-13  André Pönitz <poenitz@gmx.net>
7991
7992         * LyXAction.[Ch]:
7993         * lyxfunc.C: further cleaning
7994
7995 2002-08-13  André Pönitz <poenitz@gmx.net>
7996
7997         * funcrequest.h: new constructor
7998
7999         * funcrequest.C: move stuff here from .h
8000
8001         * Makefile.am:
8002         * BufferView_pimpl.C:
8003         * LyXAction.C:
8004         * toc.C:
8005         * lyxfunc.C: subsequent changes
8006
8007         * lyxfunc.h: new view() member function
8008
8009         * lyxfunc.C: subsequent changes
8010
8011 2002-08-13  Angus Leeming  <leeming@lyx.org>
8012
8013         * BufferView2.C:
8014         * BufferView_pimpl.C:
8015         * buffer.C:
8016         * converter.C:
8017         * importer.C:
8018         * lyxfunc.C:
8019         * lyxvc.C:
8020         * toc.C:
8021         * vc-backend.C:
8022         changes due to the changed LyXView interface that now returns references
8023         to member variables not pointers.
8024
8025 2002-08-13  Angus Leeming  <leeming@lyx.org>
8026
8027         * WordLangTuple (word, lang_code): return references to strings,
8028         not strings.
8029
8030         * BufferView.h:
8031         * SpellBase.h:
8032         * lyxtext.h: forward-declare WordLangTuple.
8033
8034         * BufferView2.C:
8035         * ispell.C:
8036         * pspell.C:
8037         * text.C: #include "WordLangTuple.h".
8038
8039         * lyxtext.h:
8040         * text.C: (selectNextWordToSpellcheck): constify return type.
8041
8042 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8043
8044         * buffer.C:
8045         * buffer.h:
8046         * lyxtext.h:
8047         * paragraph.C:
8048         * paragraph_pimpl.h:
8049         * text.C:
8050         * text2.C:
8051         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8052         suggested by Angus.
8053         Made updateCounter always count from start of buffer, and removed
8054         second argument (par).
8055         Reverted floats number display to '#'. Perhaps I'll try again when the
8056         code base is sanitized a bit.
8057
8058 2002-08-12  Angus Leeming  <leeming@lyx.org>
8059
8060         * buffer.[Ch] (getLabelList): constify.
8061
8062 2002-08-07  André Pönitz <poenitz@gmx.net>
8063
8064         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8065
8066         * funcrequest.h: extension to keep mouse (x,y) position
8067
8068 2002-08-12  Juergen Vigna  <jug@sad.it>
8069
8070         * BufferView2.C (insertErrors): forbid undo when inserting error
8071         insets.
8072
8073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8074
8075 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * ParagraphList.[Ch]: new files
8078
8079         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8080
8081         * BufferView2.C (lockInset): ParagraphList changes
8082         * toc.C: ditto
8083         * text2.C: ditto
8084         * bufferlist.C: ditto
8085         * buffer.h: ditto
8086         * buffer.C: ditto
8087
8088 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8091         unused class variable counter_,
8092
8093         * paragraph.[Ch] (getFirstCounter): delete unused function
8094
8095         * counters.C: include LAssert.h
8096         (reset): add a new function with no arg, change other version to
8097         not have def. arg and to not allow empty arg.
8098
8099         * text2.C (setCounter): remove empty arg from call to Counters::reset
8100
8101 2002-08-11  John Levon  <levon@movementarian.org>
8102
8103         * Makefile.am: add WordLangTuple.h
8104
8105 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8108         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8109
8110         * insets/insettext.C: InsetList changes
8111
8112         * graphics/GraphicsSupport.C (operator()): InsetList changes
8113
8114         * toc.C (getTocList): InsetList changes
8115
8116         * paragraph_pimpl.[Ch]: InsetList changes
8117
8118         * paragraph.[Ch]: InsetList changes
8119
8120         * buffer.C (inset_iterator): InsetList changes
8121         (setParagraph): ditto
8122         * buffer.h (inset_iterator): ditto
8123         * iterators.C (operator++): ditto
8124         * iterators.h: ditto
8125
8126         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8127
8128         * InsetList.[Ch]: new files, most InsetList handling moved out of
8129         paragraph.C.
8130
8131         * BufferView2.C (removeAutoInsets): InsetList changes
8132         (lockInset): ditto
8133         (ChangeInsets): ditto
8134
8135 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * paragraph_pimpl.h (empty): new function
8138
8139         * paragraph.[Ch] (empty): new function
8140
8141         * other files: use the new Paragraph::empty function
8142
8143 2002-08-09  John Levon  <levon@movementarian.org>
8144
8145         * lyxtext.h: remove unused refresh_height
8146
8147 2002-08-09  John Levon  <levon@movementarian.org>
8148
8149         * Makefile.am:
8150         * sgml.h:
8151         * sgml.C:
8152         * buffer.C:
8153         * paragraph.h:
8154         * paragraph.C: move sgml char escaping out of paragraph
8155
8156         * paragraph.h:
8157         * paragraph.C: remove id setter
8158
8159         * buffer.C:
8160         * paragraph.C:
8161         * paragraph_pimpl.C: remove dead tex_code_break_column
8162
8163         * bufferview_funcs.C: small cleanup
8164
8165         * lyxfunc.C: remove dead proto
8166
8167         * lyxtext.h: make some stuff private. Remove some dead stuff.
8168
8169         * lyxgluelength.C: make as[LyX]String() readable
8170
8171 2002-08-08  John Levon  <levon@movementarian.org>
8172
8173         * LyXAction.h:
8174         * LyXAction.C:
8175         * MenuBackend.C:
8176         * ToolbarDefaults.C:
8177         * lyxfunc.C:
8178         * lyxrc.C:
8179         * toc.C: lyxaction cleanup
8180
8181 2002-08-08  John Levon  <levon@movementarian.org>
8182
8183         * BufferView2.C: small cleanup
8184
8185         * lyxfind.h:
8186         * lyxfind.C: move unnecessary header into the .C
8187
8188 2002-08-08  John Levon  <levon@movementarian.org>
8189
8190         * funcrequest.h: just tedious nonsense
8191
8192         * lyx_main.h:
8193         * lyx_main.C: cleanups
8194
8195         * buffer.C:
8196         * vspace.C: remove dead header lyx_main.h
8197
8198 2002-08-07  Angus Leeming  <leeming@lyx.org>
8199
8200         * Paragraph.[Ch]:
8201         * paragraph_pimpl.h:
8202         Forward declare class Counters in paragraph.h by moving the ctrs member
8203         variable into Paragraph::Pimpl.
8204         (counters): new method, returning a reference to pimpl_->ctrs.
8205
8206         * text2.C: ensuing changes.
8207
8208 2002-08-07  John Levon  <levon@movementarian.org>
8209
8210         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8211
8212         * BufferView_pimpl.C: announce X selection on double/triple
8213           click
8214
8215         * lyx_main.C: use correct bool in batch dispatch
8216
8217         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8218
8219 2002-08-07  André Pönitz <poenitz@gmx.net>
8220
8221         * funcrequest.h: new class to wrap a kb_action and its argument
8222
8223         * BufferView.[Ch]:
8224         * BufferView_pimpl[Ch]:
8225         * LaTeX.C:
8226         * LyXAction.[Ch]:
8227         * lyxfunc.[Ch]:
8228         * lyxrc.C: subsequent changes
8229
8230
8231 2002-08-07  John Levon  <levon@movementarian.org>
8232
8233         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8234           document options change.
8235
8236 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8237
8238         * counters.[Ch]
8239         * text2.C
8240         * paragraph.[Ch]
8241         * makefile.am: move counters functionality over from
8242         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8243
8244 2002-08-06  John Levon  <levon@movementarian.org>
8245
8246         * WordLangTuple.h: new file for word + language code tuple
8247
8248         * SpellBase.h:
8249         * pspell.h:
8250         * pspell.C:
8251         * ispell.h:
8252         * ispell.C:
8253         * lyxtext.h:
8254         * text.C:
8255         * text2.C:
8256         * BufferView.h:
8257         * BufferView2.C: use WordLangTuple
8258
8259         * layout.h:
8260         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8261
8262 2002-08-06  John Levon  <levon@movementarian.org>
8263
8264         * lyx_main.C: fix cmdline batch handling
8265
8266 2002-08-06  André Pönitz <poenitz@gmx.net>
8267
8268         * lyxrc.C: set default for show_banner to true
8269
8270 2002-08-06  John Levon  <levon@movementarian.org>
8271
8272         * pspell.C: fix a crash, and allow new aspell to work
8273
8274 2002-08-06  John Levon  <levon@movementarian.org>
8275
8276         * lyxfunc.C:
8277         * kbmap.C: small cleanup
8278
8279         * vspace.h:
8280         * vspace.C: add const
8281
8282 2002-08-05  John Levon  <levon@movementarian.org>
8283
8284         * LyXAction.C: back to tabular-insert
8285
8286 2002-08-04  John Levon  <levon@movementarian.org>
8287
8288         * BufferView.h:
8289         * BufferView.C: cosmetic change
8290
8291         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8292
8293         * bufferlist.C:
8294         * buffer.h:
8295         * buffer.C:
8296         * lyxcb.h:
8297         * lyxcb.C:
8298         * lyxserver.C:
8299         * lyxvc.C:
8300         * vc-backend.C:
8301         * BufferView2.C: purge all "Lyx" not "LyX" strings
8302
8303         * lyxcursor.h:
8304         * lyxcursor.C: attempt to add some documentation
8305
8306         * lyxfunc.C:
8307         * commandtags.h:
8308         * LyXAction.C:
8309         * ToolbarDefaults.C:
8310         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8311           merge with LFUN_TABULAR_INSERT
8312
8313         * Makefile.am:
8314         * SpellBase.h:
8315         * ispell.h:
8316         * ispell.C:
8317         * pspell.h:
8318         * pspell.C: split up i/pspell implementations into separate
8319           files, many cleanups
8320
8321         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8322
8323         * text2.C: some cleanup
8324
8325         * lyxfunc.C: don't check for isp_command == "none" any more, it
8326           didn't make any sense
8327
8328 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8329
8330         * counters.[Ch]
8331         * text2.C
8332         * paragraph.[Ch]
8333         * makefile.am: move counters functionality over
8334         from text2.C/paragraph.[Ch] to counters.[Ch], and
8335         make proper C++.
8336 2002-08-02  John Levon  <levon@movementarian.org>
8337
8338         * buffer.C: s/lyxconvert/lyx2lyx/
8339
8340 2002-08-02  Angus Leeming  <leeming@lyx.org>
8341
8342         * lyxlex.C: revert John's change as it breaks reading of the user
8343         preamble.
8344
8345 2002-08-02  Angus Leeming  <leeming@lyx.org>
8346
8347         * importer.C (Import):
8348         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8349         changes due to LyXView::view() now returning a boost::shared_ptr.
8350
8351 2002-08-02  John Levon  <levon@movementarian.org>
8352
8353         * lyxlex.C: small cleanup
8354
8355 2002-08-02  John Levon  <levon@movementarian.org>
8356
8357         * text2.C (status): small cleanup, no logic change
8358
8359 2002-08-01  John Levon  <levon@movementarian.org>
8360
8361         * buffer.h:
8362         * buffer.C (writeFile): don't output alerts, caller
8363           handles this
8364
8365         * bufferlist.C:
8366         * lyx_cb.C: from above
8367
8368         * lyxfunc.C: allow to open non-existent files
8369
8370 2002-07-31  John Levon  <levon@movementarian.org>
8371
8372         * lyxserver.C: don't let incidental errors get
8373           in the way (errno)
8374
8375 2002-07-30  John Levon  <levon@movementarian.org>
8376
8377         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8378
8379 2002-07-30  John Levon  <levon@movementarian.org>
8380
8381         * lyxserver.h:
8382         * lyxserver.C: remove I/O callback too
8383
8384 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8385
8386         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8387         log.
8388
8389 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * many files: strip,frontStrip -> trim,ltrim,rtrim
8392
8393 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * PrinterParams.h: remove extern containsOnly, and include
8396         support/lstrings.h instead.
8397
8398         * LaTeX.C (scanAuxFile): modify because of strip changes
8399         (deplog): ditto
8400         * buffer.C (makeLaTeXFile): ditto
8401         * bufferparams.C (writeFile): ditt
8402         * lyxfont.C (stateText): ditto
8403         * lyxserver.C (read_ready): ditto
8404         * vc-backend.C (scanMaster): ditto
8405
8406         * BufferView_pimpl.h: ws changes
8407
8408         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8409
8410 2002-07-26  André Pönitz <poenitz@gmx.net>
8411
8412         * kb_sequence.C: remove unnedred usings
8413
8414 2002-07-26  Juergen Vigna  <jug@sad.it>
8415
8416         * lyxfind.C (LyXReplace): we have to check better if the returned
8417         text is not of theLockingInset()->getLockingInset().
8418
8419 2002-07-25  Juergen Vigna  <jug@sad.it>
8420
8421         * lyxfind.C (LyXReplace): don't replace if we don't get the
8422         right LyXText.
8423
8424         * undo_funcs.C (createUndo): remove debugging code.
8425
8426 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8427
8428         * buffer.C (parseSingleLyXformat2Token): Use default placement
8429         when reading old floats.
8430
8431         * FloatList.C (FloatList): Change the default placement of figure
8432         and tables to "tbp".
8433
8434 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8435
8436         * MenuBackend.C: using std::max
8437
8438 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8439
8440         * MenuBackend.C (expandToc):
8441         (expandToc2): code moved from xforms menu frontend. It is now
8442         generic and TOCs are transparent to menu frontends.
8443
8444 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * toc.C (getTocList): protect against buf=0
8447
8448         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8449         Menu as first parameter. Now, this calls itself recursively to
8450         expand a whole tree (this will be useful for TOC handling)
8451         (expandFloatInsert): remove 'wide' version of floats
8452
8453         * MenuBackend.h (submenuname): returns the name of the submenu.
8454         (submenu): returns the submenu itself, provided it has been
8455         created by MenuBackend::expand
8456
8457 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8460         insets which have noFontChange == true. (bug #172)
8461
8462 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8463
8464         * BufferView_pimpl.C: add connection objects and use them...
8465         (Pimpl): here.
8466
8467 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8468
8469         * MenuBackend.C (expandLastfiles):
8470         (expandDocuments):
8471         (expandFormats):
8472         (expandFloatListInsert):
8473         (expandFloatInsert):
8474         (expand): split expand in parts
8475
8476 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8477
8478         * lyx_gui.C: use lyx_gui::exit()
8479
8480 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8481
8482         * LyXAction.C: show the failing pseudo action
8483
8484 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8485
8486         * buffer.C (readFile): Run the lyxconvert script in order to read
8487         old files.
8488
8489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * LyXAction.C:
8492         * commandtags.h:
8493         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8494
8495 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8496
8497         * LyXAction.C:
8498         * commandtags.h:
8499         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8500
8501 2002-07-22  Herbert Voss  <voss@lyx.org>
8502
8503         * lengthcommon.C:
8504         * lyxlength.[Ch]: add support for the vertical lengths
8505
8506 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * toc.[Ch]: std:: fixes
8509
8510 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8511
8512         * lyxrc.C: do not include lyx_main.h
8513
8514         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8515         for layouts
8516
8517         * lyxrc.C:
8518         * encoding.C:
8519         * bufferlist.C:
8520         * BufferView2.C: include "lyxlex.h"
8521
8522         * tabular.h:
8523         * bufferparams.h: do not #include "lyxlex.h"
8524
8525         * lyxtextclasslist.C (Add): remove method
8526         (classlist): renamed to classlist_
8527
8528         * paragraph_pimpl.C:
8529         * paragraph.C:
8530         * text2.C:
8531         * CutAndPaste.C:
8532         * bufferview_funcs.C:
8533         * bufferlist.C:
8534         * text.C:
8535         * LaTeXFeatures.C:
8536         * buffer.C:
8537         * toc.C (getTocList): use BufferParams::getLyXTextClass
8538
8539         * toc.C (getTocList): use InsetFloat::addToToc
8540
8541         * toc.[Ch]: new files, containing helper functions to handle table
8542         of contents
8543
8544         * lyxfunc.C (dispatch): no need to remove spaces around command
8545         given as a string
8546         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8547         first command of the sequence; it is not very clever, but I do not
8548         have a better idea, actually
8549
8550         * LyXAction.C (LookupFunc): make sure to remove space at the
8551         beginning and end of the command
8552
8553 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * MenuBackend.C (getMenubar): new method: return the menubar of
8556         this menu set
8557         (read): treat differently reading of menu and menubar (in
8558         particular, the menubar has no name now)
8559         (Menu::menubar): remove
8560
8561         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8562         saving is finished
8563
8564 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8567         a bibitem inset in a RTL paragraph.
8568
8569 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * paragraph_pimpl.C: constify
8572
8573         * BufferView_pimpl.C:
8574         * LaTeX.C:
8575         * lyxfunc.C: fix dispatch in a nicer way
8576
8577 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8578
8579         * lyxfunc.C (dispatch):
8580         * BufferView_pimpl.C:
8581         * BufferView_pimpl.h:
8582         * BufferView.C:
8583         * BufferView.h: rename Dispatch() to dispatch()
8584
8585         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8586
8587         * lyxlayout.C (Read): honor DependsOn tag
8588
8589         * lyxlayout.[Ch] (depends_on): new method
8590
8591         * version.C.in: update lyx_docversion
8592
8593         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8594
8595         * paragraph.C (validate): remove from here...
8596         * paragraph_pimpl.C (validate): ... and move here
8597         (isTextAt): make it const
8598
8599         * buffer.C (getLists): ws cleanup
8600
8601 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8602
8603         * language.C (read): Use iso8859-1 encoding in latex_lang
8604         (this prevents LyX from crashing when using iso10646-1 encoding).
8605
8606 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8607
8608         * text2.C (toggleInset): if cursor is inside an inset, close the
8609         inset and leave cursor _after_ it
8610
8611 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8612
8613         * lyxfunc.C: move minibuffer completion handling out of here
8614
8615 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8616
8617         * BufferView_pimpl.C:
8618         * LaTeX.C: fix dispatch calls
8619
8620 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8621
8622         * text.C (drawChars): Fix Arabic text rendering.
8623
8624 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * LyXAction.C:
8627         * commandtags.h:
8628         * lyxfunc.C: remove message-push/pop
8629
8630         * lyxserver.C:
8631         * lyxfunc.h:
8632         * lyxfunc.C: rationalise some code by removing verboseDispatch
8633           in favour of a bool argument to dispatch()
8634
8635 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8636
8637         * lyx_main.C (init): make sure to read symlinks as absolute paths
8638
8639 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * lyxfunc.h:
8642         * lyxfunc.C: no need for commandshortcut to be a member
8643
8644 2002-07-15  André Pönitz <poenitz@gmx.net>
8645
8646         * converter.C: add support for $$s (scripts from lib/scripts dir)
8647         * lyx_main.C: white space
8648
8649 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * bufferlist.C:
8652         * lyxrc.h:
8653         * lyxrc.C: remove second exit confirmation
8654
8655 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * BufferView.h:
8658         * BufferView.C:
8659         * BufferView2.C:
8660         * BufferView_pimpl.h:
8661         * BufferView_pimpl.C:
8662         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8663
8664 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * MenuBackend.C (expand): add numeric shortcuts to document menu
8667
8668         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8669
8670 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8671
8672         * lyxfont.C (setLyXFamily):
8673         (setLyXSeries):
8674         (setLyXShape):
8675         (setLyXSize):
8676         (setLyXMisc):
8677         (lyxRead):
8678         * debug.C (value):
8679         * buffer.C (asciiParagraph): use ascii_lowercase
8680
8681 2002-07-15  Mike Fabian  <mfabian@suse.de>
8682
8683         * lyxlex_pimpl.C (search_kw):
8684         * lyxlex.C (getLongString):
8685         * converter.h (operator<):
8686         * converter.C (operator<):
8687         * buffer.C (parseSingleLyXformat2Token):
8688         (asciiParagraph):
8689         * ToolbarDefaults.C (read):
8690         * MenuBackend.C (checkShortcuts):
8691         (read):
8692         * LColor.C (getFromGUIName):
8693         (getFromLyXName): use the compare_ascii_no_case instead of
8694         compare_no_case, because in turkish, 'i' is not the lowercase
8695         version of 'I', and thus turkish locale breaks parsing of tags.
8696
8697 2002-07-16  Angus Leeming  <leeming@lyx.org>
8698
8699         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8700         now takes a Buffer const & argument.
8701
8702 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * BufferView.C (resize): check there's a buffer to resize
8705
8706 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * lyxfunc.C: remove dead code
8709
8710         * lyxserver.h:
8711         * lyxserver.C: use lyx_guii::set_read_callback
8712
8713 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8716         an inset in a RTL paragraph.
8717
8718 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * lyxfunc.C: repaint after a font size update
8721
8722 2002-07-15  André Pönitz <poenitz@gmx.net>
8723
8724         * lyxlength.C: inBP should be able to return negative values
8725
8726 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8727
8728         * lyxfunc.C: use lyx_gui::update_fonts()
8729
8730 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8731
8732         * lyxfunc.C: use lyx_gui::update_color()
8733
8734 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8735
8736         * bufferlist.C:
8737         * lyxfunc.h:
8738         * lyxfunc.C:
8739         * lyxrc.h:
8740         * lyxrc.C: remove file->new asks for name option, and let
8741           buffer-new take an argument
8742
8743 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * BufferView_pimpl.C: remove unneeded extra repaint()
8746
8747 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * LyXAction.C: allow command-sequence with NoBuffer
8750
8751         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8752
8753 2002-07-10  Angus Leeming  <leeming@lyx.org>
8754
8755         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8756
8757 2002-07-09  Angus Leeming  <leeming@lyx.org>
8758
8759         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8760
8761 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * lengthcommon.h: whitespace
8764
8765         * lyxfunc.C: update scrollbar after goto paragraph
8766
8767         * lyxtext.h: factor out page break drawing, and fix it so
8768           page break/added space paints as selected nicely
8769
8770 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * BufferView_pimpl.C: add FIXMEs, clean up a little
8773
8774 2002-07-09  André Pönitz <poenitz@gmx.net>
8775
8776         * lyxfont.[Ch]: support for wasy symbols
8777
8778 2002-07-08  André Pönitz <poenitz@gmx.net>
8779
8780         * BufferView_pimpl.C: apply John's patch for #93.
8781
8782 2002-07-05  Angus Leeming  <leeming@lyx.org>
8783
8784         * BufferView_pimpl.C (buffer): generate previews if desired.
8785
8786         * LColor.h: add "preview" to the color enum.
8787
8788         * LColor.C (LColor): add a corresponding entry to the items array.
8789
8790         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8791         with this buffer.
8792
8793 2002-07-05  Angus Leeming  <leeming@lyx.org>
8794
8795         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8796         The body of the code is now in the method that is passed an ostream &
8797         rather than a file name.
8798         Pass an additional only_preamble parameter, useful for the forthcoming
8799         preview stuff.
8800
8801 2002-07-03  André Pönitz <poenitz@gmx.net>
8802
8803         * lyxfunc.C: simplify getStatus() a bit for math stuff
8804
8805 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8806
8807         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8808
8809 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * text.C (changeRegionCase): do not change case of all the
8812         document when region ends at paragraph end (bug #461)
8813
8814 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * paragraph.C (startTeXParParams):
8817         (endTeXParParams): add \protect when necessary
8818
8819 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * BufferView_pimpl.C (workAreaExpose): remove warning
8822
8823 2002-06-27  Angus Leeming  <leeming@lyx.org>
8824
8825         * Makefile.am: add lyxlayout_ptr_fwd.h.
8826
8827 2002-06-26  André Pönitz <poenitz@gmx.net>
8828
8829         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8830
8831 2002-06-25  Angus Leeming  <leeming@lyx.org>
8832
8833         * lyxfunc.C (dispatch): Comment out the call to
8834         grfx::GCache::changeDisplay. The method no longer exists now that the
8835         pixmap generation part of the graphics loader has been moved into
8836         InsetGraphics.
8837
8838 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8839
8840         * text2.C: layout as layout
8841
8842         * text.C: layout as layout
8843
8844         * tabular.C (OldFormatRead): layout as layout
8845
8846         * paragraph_pimpl.C (TeXDeeper): layout as layout
8847         (realizeFont): layout as layout
8848
8849         * paragraph.C (writeFile): layout as layout
8850         (validate): layout as layout
8851         (getFont): layout as layout
8852         (getLabelFont): layout as layout
8853         (getLayoutFont): layout as layout
8854         (breakParagraph): layout as layout
8855         (stripLeadingSpaces): layout as layout
8856         (getEndLabel): layout as layout
8857         (getMaxDepthAfter): layout as layout
8858         (applyLayout): layout as layout
8859         (TeXOnePar): layout as layout
8860         (simpleTeXOnePar): layout as layout
8861         (TeXEnvironment): layout as layout
8862         (layout): layout as layout
8863         (layout): layout as layout
8864
8865         * lyxtextclass.C (compare_name): new functor to work with
8866         shared_ptr, layout as layout
8867         (Read): layout as layout
8868         (hasLayout): layout as layout
8869         (operator): layout as layout
8870         (delete_layout): layout as layout
8871         (defaultLayout): layout as layout
8872
8873         * lyxlayout_ptr_fwd.h: new file
8874
8875         * lyxlayout.C (Read): layout as layout
8876
8877         * lyx_cb.C (MenuInsertLabel): layout as layout
8878
8879         * bufferlist.C (newFile): layout as layout
8880
8881         * buffer.C (readLyXformat2): layout as layout
8882         (parseSingleLyXformat2Token): layout as layout
8883         (insertStringAsLines): layout as layout
8884         (asciiParagraph): layout as layout
8885         (latexParagraphs): layout as layout
8886         (makeLinuxDocFile): layout as layout
8887         (simpleLinuxDocOnePar): layout as layout
8888         (makeDocBookFile): layout as layout
8889         (simpleDocBookOnePar): layout as layout
8890         (getLists): layout as layout
8891
8892         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8893
8894         * CutAndPaste.C (cutSelection): layout as layout
8895         (pasteSelection): layout as layout
8896         (SwitchLayoutsBetweenClasses): layout as layout
8897
8898         * BufferView_pimpl.C (Dispatch): layout as layout
8899         (smartQuote): layout as layout
8900
8901         * BufferView2.C (unlockInset): layout as layout
8902
8903 2002-06-24  André Pönitz <poenitz@gmx.net>
8904
8905         * lyxfunc.C: fix #487
8906
8907 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * lyxrc.h:
8910         * lyxrc.C:
8911         * lyxfunc.C: remove display_shortcuts, show_banner
8912
8913 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * Buffer_pimpl.C: oops, update on resize
8916
8917 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * buffer.C:
8920         * converter.C:
8921         * exporter.C:
8922         * lyxfunc.C:
8923         * BufferView.h:
8924         * BufferView.C: use repaint()
8925
8926         * BufferView_pimpl.h:
8927         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8928           as it's a clearer description. Remove superfluous
8929           redraws.
8930
8931 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * text.C: fix bug 488. Not ideal, but getting
8934           getWord() to work properly for the insets that
8935           matter is more difficult ...
8936
8937 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * BufferView_pimpl.C:
8940         * LyXAction.C:
8941         * commandtags.h:
8942         * lyxfunc.C: remove the six million index lyxfuncs to just
8943           one, and DTRT (bug 458)
8944
8945 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8946
8947         * BufferView.h:
8948         * BufferView.C:
8949         * BufferView_pimpl.h:
8950         * BufferView_pimpl.C: clean up resize() stuff,
8951           and unnecessary updateScreen()s
8952
8953 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8954
8955         * BufferView.h:
8956         * BufferView.C:
8957         * BufferView_pimpl.h:
8958         * BufferView_pimpl.C:
8959         * lyxfind.h:
8960         * lyxfind.C:
8961         * minibuffer.C: remove focus management of workarea,
8962           not needed. Use screen's greyOut()
8963
8964 2002-06-17  Herbert Voss  <voss@lyx.org>
8965
8966         * converter.C: (convert) do not post a message, when converting
8967         fails, let the calling function decide what to do in this case
8968
8969 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8970
8971         * lyxfunc.C: tidy up a little
8972
8973 2002-06-16    <alstrup@diku.dk>
8974
8975         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8976         Got rid of FORMS_H_LOCATION include. Now we are
8977         GUII.
8978
8979 2002-06-15  LyX Development team  <lyx@rilke>
8980
8981         * buffer.[Ch] (sgmlOpenTag):
8982         (sgmlCloseTag): Added support for avoiding pernicious mixed
8983         content. Return number of lines written.
8984
8985         (makeLinuxDocFile):
8986         (makeDocBookFile): Fixed calls to sgml*Tag.
8987         Simple white space clean.
8988
8989         (simpleDocBookOnePar): Simple white space clean.
8990
8991         * tabular.[Ch] (docBook): Renamed to docbook and got another
8992         argument to related with the pernicious mixed content.
8993
8994         (docbookRow): Fixed calls for docbook inset method.
8995
8996 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8997
8998         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8999         so it's X11 independent.
9000
9001         * kb*.[Ch]: ditto.
9002
9003         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9004
9005 2002-06-15  Lyx Development team  <lyx@electronia>
9006
9007         * intl.h: Renamed getTrans to getTransManager.
9008
9009 2002-06-14  Angus Leeming  <leeming@lyx.org>
9010
9011         * Makefile.am: nuke forgotten stl_string_fwd.h.
9012
9013 2002-06-12  Angus Leeming  <leeming@lyx.org>
9014
9015         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9016
9017 2002-06-13  Angus Leeming  <leeming@lyx.org>
9018
9019         * LaTeX.C:
9020         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9021
9022 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9023
9024         * kbmap.C (getiso): add support for cyrillic and greek
9025
9026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9027
9028         * BufferView.h:
9029         * BufferView.C:
9030         * BufferView_pimpl.h:
9031         * BufferView_pimpl.C: move bogus scrolling logic
9032           to xforms
9033
9034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * lyxfunc.C:
9037         * BufferView_pimpl.C: view->resize() change
9038
9039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * BufferView_pimpl.C: topCursorVisible
9042           prototype change
9043
9044 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * Makefile.am:
9047         * lyx_gui.h:
9048         * lyx_gui.C: move to frontends/
9049
9050         * main.C:
9051         * lyx_main.h:
9052         * lyx_main.C: changes from above
9053
9054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * intl.C:
9057         * intl.h:
9058         * kbmap.C:
9059         * kbsequence.C:
9060         * lyx_cb.C:
9061         * lyx_main.C: minor tidy
9062
9063 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * BufferView_pimpl.h:
9066         * BufferView_pimpl.C:
9067         * BufferView.h:
9068         * BufferView.C: make painter() const,
9069           remove dead code
9070
9071         * BufferView2.C: use screen() accessor
9072
9073         * lyx_main.h:
9074         * lyx_main.C: some minor cleanup
9075
9076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * BufferView_pimpl.h:
9079         * BufferView_pimpl.C: remove enter/leaveView,
9080           use workHeight()
9081
9082 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * BufferView.h:
9085         * BufferView.C:
9086         * BufferView2.C:
9087         * BufferView_pimpl.h:
9088         * BufferView_pimpl.C: only construct screen once,
9089           rename
9090
9091         * lyxrc.C: remove pointless comment
9092
9093 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * BufferView.h:
9096         * BufferView.C: remove active() and belowMouse()
9097
9098         * BufferView_pimpl.h:
9099         * BufferView_pimpl.C: use workarea() not workarea_,
9100           and make it use a scoped_ptr instead
9101
9102 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9103
9104         * lyx_gui.C: add debug message on BadWindow
9105
9106 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * sp_spell.C: fdopen is not part of the C++ standard.
9109
9110         * paragraph.C (InsetIterator): use >= instead of ==
9111
9112 2002-06-07  Angus Leeming  <leeming@lyx.org>
9113
9114         Fixes needed to compile with Compaq cxx 6.5.
9115         * BufferView_pimpl.C:
9116         * DepTable.C:
9117         * buffer.C:
9118         * converter.C:
9119         * encoding.C:
9120         * lyx_gui.C:
9121         * lyx_main.C:
9122         * lyxtextclasslist.C:
9123         * minibuffer.C:
9124         * sp_spell.C:
9125         * tabular_funcs.C:
9126         * vc-backend.C:
9127         all c-library variables have been moved into namespace std. Wrap
9128         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9129
9130         * lyxlength.C:
9131         * tabular-old.C:
9132         * tabular.C:
9133         Add a using std::abs declaration.
9134
9135         * kbmap.h (modifier_pair):
9136         * paragraph.h (InsetTable, InsetList):
9137         * lyxfont.h (FontBits):
9138         type definition made public.
9139
9140         * bufferlist.C (emergencyWriteAll): the compiler complains that
9141         there is more than one possible lyx::class_fun template to choose from.
9142         I re-named the void specialisation as lyx::void_class_fun.
9143
9144         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9145
9146         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9147         the compiler is is unable to find tostr in write_attribute.
9148
9149 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * buffer.C (sgmlError): hide #warning
9152
9153 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * xtl/*: get rid of xtl, which is not in use anyway
9156
9157         * LyXAction.C (init):
9158         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9159         were unimplemented xtl experimentation
9160
9161 2002-06-04  André Pönitz <poenitz@gmx.net>
9162
9163         * lyxfunc.C: disable array operation on simple formulae
9164
9165 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * converter.C: constify a bit
9168
9169 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * lyx_gui.C: check xforms version correctly
9172
9173 2002-04-30  Herbert Voss  <voss@lyx.org>
9174
9175         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9176         "keep" option
9177
9178 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9181           attempt to register it with a VCS)
9182
9183 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9184
9185         * lyx_main.C (init): honor variables LYX_DIR_13x and
9186         LYX_USERDIR_13x
9187
9188 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9189
9190         * buffer.h:
9191         * buffer.C:
9192         * lyx_main.C: fix a crash on bad command line,
9193           and give a useful exit status on error
9194
9195         * lyxfunc.C (doImport): allow -i lyx to work
9196
9197 2002-03-30  André Pönitz <poenitz@gmx.net>
9198
9199         * lyxfunc.C: mathed font changes
9200
9201 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * LaTeX.C:
9204         * importer.h:
9205         * importer.C:
9206         * lyx_sty.h:
9207         * lyx_sty.C:
9208         * lyxlex.C:
9209         * lyxrow.h:
9210         * lyxtext.h:
9211         * paragraph.h:
9212         * paragraph.C:
9213         * texrow.h:
9214         * texrow.C:
9215         * text.C:
9216         * trans_mgr.h: srcdocs, and some minor cleanups
9217
9218 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9221         call getFont all the time)
9222
9223 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9224
9225         * switch from SigC signals to boost::signals
9226
9227 2002-05-29  André Pönitz <poenitz@gmx.net>
9228
9229         * paragraph_pimpl.C (getChar): don't call size() too often...
9230
9231 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9232
9233         * paragraph_pimpl.C (insertChar): do not try to update tables when
9234         appending (pos == size())
9235
9236         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9237         in order to reduce drastically the number of comparisons needed to
9238         parse a large document
9239
9240 2002-05-29  André Pönitz <poenitz@gmx.net>
9241
9242         * text.C:
9243         * text2.C:
9244         * lyxtextclass.C:
9245         * sp_pspell.h:
9246         * textclasslist.[Ch]:
9247         * sp_ispell.h: whitespace change
9248
9249 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9252         lyxaction directly now.
9253
9254 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * trans.C:
9257         * lyxfont.C:
9258         * lyxvc.C: remove unused headers
9259
9260 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * Makefile.am:
9263         * buffer.h:
9264         * undostack.h:
9265         * undostack.C:
9266         * undo_funcs.h:
9267         * undo_funcs.C: some cleanups. Use shared_ptr
9268           and a template for the undo stacks.
9269
9270 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * BufferView_pimpl.h:
9273         * BufferView_pimpl.C:
9274         * kbmap.h:
9275         * kbmap.C:
9276         * kbsequence.h:
9277         * kbsequence.C:
9278         * lyxfunc.h:
9279         * lyxfunc.C:
9280         * text2.C: use key_state/mouse_state
9281
9282 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9283
9284         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9285         and LSubstring
9286
9287         * chset.C: change include order
9288         (loadFile): use boost regex and get rid of LRegex and LSubstring
9289
9290         * Makefile.am (BOOST_LIBS): new variable
9291         (lyx_LDADD): use it
9292
9293         * LaTeX.C: change include order.
9294         (scanAuxFile): use boost regex and get rid of LRegex and
9295         LSubstring
9296         (deplog): ditto
9297
9298 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * ColorHandler.h:
9301         * ColorHandler.C:
9302         * FontInfo.h:
9303         * FontInfo.C: moved to frontends/xforms/
9304
9305         * FontLoader.h:
9306         * FontLoader.C: moved into frontends for GUIIzation
9307
9308         * Makefile.am:
9309         * lyx_gui.C:
9310         * lyxfont.C:
9311         * lyxfunc.C: changes from above
9312
9313 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * LColor.C: remove spurious X include
9316
9317         * BufferView_pimpl.C:
9318         * Makefile.am:
9319         * font.h:
9320         * font.C:
9321         * text.C:
9322         * text2.C: move font metrics to frontends/
9323
9324 2002-05-24  Juergen Vigna  <jug@sad.it>
9325
9326         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9327         setting the undo_cursor.
9328
9329         * ParagraphParameters.h: include local includes first.
9330
9331 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9332
9333         * BufferView_pimpl.C:
9334         * BufferView_pimpl.h:
9335         * Makefile.am:
9336         * WorkArea.h:
9337         * WorkArea.C:
9338         * screen.C: move WorkArea into frontends/
9339
9340         * lyxscreen.h:
9341         * screen.C:
9342         * text.C:
9343         * BufferView.C:
9344         * BufferView2.C: move LyXScreen into frontends/
9345
9346         * lyxlookup.h:
9347         * lyxlookup.C:
9348         * lyx_gui.C: move lyxlookup into frontends/xforms/
9349
9350 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * BufferView2.C:
9353         * BufferView_pimpl.C:
9354         * FontLoader.C:
9355         * LyXView.h:
9356         * LyXView.C:
9357         * Makefile.am:
9358         * WorkArea.C:
9359         * XFormsView.h:
9360         * XFormsView.C:
9361         * buffer.C:
9362         * bufferlist.C:
9363         * bufferview_funcs.C:
9364         * converter.C:
9365         * importer.C:
9366         * lyx_cb.C:
9367         * lyx_gui.C:
9368         * lyx_main.C:
9369         * lyx_find.C:
9370         * lyxfunc.C:
9371         * lyxvc.C:
9372         * minibuffer.C:
9373         * text.C:
9374         * text2.C:
9375         * trans.C:
9376         * vc-backend.C: move LyX/XFormsView into frontends/
9377
9378 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * Makefile.am:
9381         * PainterBase.C:
9382         * PainterBase.h:
9383         * Painter.C:
9384         * Painter.h:
9385         * WorkArea.C:
9386         * WorkArea.h:
9387         * screen.C:
9388         * tabular.C:
9389         * text.C:
9390         * text2.C: move Painter to frontends/
9391
9392 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * buffer.C: comment out some some code that depend upon lyx_format
9395         < 220
9396
9397         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9398         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9399
9400         * buffer.h (NO_COMPABILITY): turn off compability
9401
9402         * ColorHandler.C: include scoped_array.hpp
9403
9404         * font.C: Use more specific smart_ptr header.
9405         * Painter.C: ditto
9406         * gettext.C: ditto
9407         * ShareContainer.h: ditto
9408         * lyx_main.h: ditto
9409         * kbmap.h: ditto
9410         * FontInfo.h: ditto
9411         * BufferView_pimpl.h: ditto
9412         * ColorHandler.h: ditto
9413
9414         * kbmap.C (defkey): change call to shared_ptr::reset
9415
9416 2002-05-21  Juergen Vigna  <jug@sad.it>
9417
9418         * buffer.C (insertErtContents): fix to insert ert asis if it is
9419         non empty. Skip it completely if it contains only whitespaces.
9420
9421 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9422
9423         * BufferView_pimpl.C:
9424         * BufferView2.C: clear selection on paste (bug 393)
9425
9426 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9427
9428         * DepTable.C: include ctime
9429
9430 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9431
9432         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9433
9434 2002-05-14  Juergen Vigna  <jug@sad.it>
9435
9436         * text.C (breakParagraph): fixed function to honor the keepempty
9437         layout in the right maner and also to permit the right breaking
9438         algorithm on empty or non empyt keepempty paragraphs.
9439
9440         * paragraph.C (breakParagraph): we have to check also if the par
9441         is really empty (!size()) for isempty otherwise we do the wrong
9442         paragraph break.
9443
9444 2002-05-10  Juergen Vigna  <jug@sad.it>
9445
9446         * buffer.[Ch] : The following are only changes to the ert
9447         compatibility read reading old LaTeX layout and font stuff and
9448         convert it to ERTInsets.
9449
9450         * buffer.h: added isErtInset().
9451
9452         * buffer.C (struct ErtComp): add a fromlayout bool to check
9453         if we're inside a LaTeX layout.
9454         (isErtInset): new helper function.
9455         (insertErtContents): look for other ert insets before this one
9456         and insert the contents there, so that we don't have subsequent
9457         ERT insets with nothing between them. This way we create only one
9458         inset with multiple paragraphs. Also check if we don't insert only
9459         spaces ' ' as they are ignored anyway afterwards in the .tex file
9460         so if we have only spaces we will ignore this latex part in the
9461         new file.
9462         (parseSingleLyXformat2Token \\layout): better compatibility when
9463         reading layout-latex stuff.
9464         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9465         language tag.
9466         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9467         stuff after reading the inset only get the information back from
9468         the stack.
9469
9470 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9473
9474         * LaTeXFeatures.C (getBabelOptions): New method.
9475
9476 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9477
9478         * BufferView_pimpl.C (Dispatch): work around missing argument for
9479         'layout'
9480
9481 2002-05-08  Juergen Vigna  <jug@sad.it>
9482
9483         * text.C (leftMargin): handle paragraph leftindent.
9484
9485         * paragraph.C (writeFile): write the new \\leftindent tag.
9486         (validate): handle leftindent code.
9487         (TeXEnvironment): handle paragraphleftindent code again.
9488
9489         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9490
9491         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9492         for paragrap_extra indent code and new token \\leftindent.
9493         (latexParagraphs): handle the leftindent as environment.
9494
9495         * ParameterStruct.h: added leftindent support.
9496
9497         * ParagraphParameters.C (leftIndent): added support functions for
9498         the paragraph left indent.
9499
9500         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9501         more appropriate.
9502
9503 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9504
9505         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9506         inside insetERT.
9507
9508         * text.C (computeBidiTables): No bidi in insetERT.
9509
9510         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9511         in RTL documents.
9512
9513 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9514
9515         * version.C.in: pre 5
9516
9517 2002-05-02  José Matos  <jamatos@fep.up.pt>
9518         * buffer.C (makeDocBookFile): white space changes, add newline to
9519         command styles.
9520         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9521
9522         * tabular.C (docBook): fix typo.
9523
9524 2002-05-03  Juergen Vigna  <jug@sad.it>
9525
9526         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9527         change in LyXText as we can not be sure it was not freed.
9528         (drawOneRow): remove unused code.
9529
9530         * text.C (drawInset): redo the calculation of the need_break_row as
9531         it could have a row which was already freed.
9532         (draw): look at the return value of drawInset and return false if
9533         it also returned false.
9534         (paintRowText): look at the return value of draw and return false if
9535         it also returned false.
9536
9537         * lyxtext.h: added bool return type to drawInset() and draw() so that
9538         if we have a change in the row so that the rowbreak has to be redone
9539         we abort drawing as it will be called again.
9540
9541 2002-05-02  Juergen Vigna  <jug@sad.it>
9542
9543         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9544         a change in the maintext also if we're inside an inset.
9545         (Dispatch): set the cursor again after a break line and after the
9546         screen has been updated as it could be we're in a different row.
9547
9548         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9549         to set the cursor behind the pargraph with > size().
9550         (setCursor): check also for the same paragraph when checking where
9551         to put the cursor if we have a NFR inset.
9552
9553         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9554         parts of layout read further up as it still was in the wrong
9555         position.
9556
9557 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * screen.C (drawFromTo): change sine fullRebreak always return
9560         true.
9561
9562         * buffer.C (parseSingleLyXformat2Token): reindent some
9563
9564         * BufferView_pimpl.C (update): change since fullRebreak always
9565         return true.
9566         (Dispatch): git rid of the last hardcoded "Standard"s.
9567
9568 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9569
9570         * text2.[Ch] (fullRebreak): make it return void now that we always
9571         returned true.
9572
9573 2002-04-30  Juergen Vigna  <jug@sad.it>
9574
9575         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9576         ert compatibility check for "latex" layout.
9577
9578 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9581         minipages: use col% instead of p%, and also use the current font.
9582         (makeLaTeXFile): Fix use babel condition.
9583         (parseSingleLyXformat2Token): Correct font when reading old floats.
9584
9585 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9586
9587         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9588         inserting list of floats.
9589
9590 2002-04-25  Herbert Voss  <voss@lyx.org>
9591
9592         * MenuBackend.C (expand): don't add the graphics extensions to the
9593         export menu
9594
9595 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9598         non-existing layout, do not complain if it was the default layout
9599         of the original class (bug #342)
9600
9601 2002-04-24  Juergen Vigna  <jug@sad.it>
9602
9603         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9604         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9605
9606 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9607
9608         * buffer.C (getBibkeyList): If using \bibliography, return the
9609         option field with the reference itself. Enables us to provide natbib
9610         support when using \bibliography.
9611
9612 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9613
9614         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9615
9616         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9617         natbib is provided by the LaTeX class.
9618
9619 2002-04-23  Juergen Vigna  <jug@sad.it>
9620
9621         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9622         Wakeup functions.
9623
9624         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9625
9626 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9629
9630         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9631         ensuremath around textordmasculine, textordfeminine and
9632         textdegree.
9633
9634 2002-04-19  Juergen Vigna  <jug@sad.it>
9635
9636         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9637         reinitializing the buffer otherwise row-dimensions may be wrong.
9638         (update): reset also the selection cursors if they do exits otherwise
9639         their x/y positions may be wrong.
9640
9641         * text2.C (cursorDown): don't enter the inset if we came from a row
9642         above and are one row over the inset.
9643
9644         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9645         really leaving an inset.
9646
9647 2002-04-18  Juergen Vigna  <jug@sad.it>
9648
9649         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9650         of the selected paragraph does not have the selected layout also if
9651         the last one had!
9652
9653         * text2.C (setLayout): fixed bug which did not change last selected
9654         paragraph.
9655
9656         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9657         changed the read and substituted \\end_float with \\end_inset!
9658
9659         * BufferView_pimpl.C (cursorPrevious):
9660         (cursorNext): fixed to make it work with rows heigher than the work
9661         area without moving the cursor only the draw of the row.
9662         (workAreaMotionNotify): fix jumping over high rows.
9663
9664 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9665
9666         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9667         Ressler.
9668
9669 2002-04-16  Juergen Vigna  <jug@sad.it>
9670
9671         * text2.C (setCursor): set also the irow().
9672         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9673         (cursorUp):
9674         (cursorDown): support for locking an inset if the x_fix value goes
9675         inside it. That way I can transverse insets too with cursor up/down.
9676
9677         * lyxrow.h: added irow helper function same as other (i) functions.
9678
9679         * BufferView_pimpl.C (cursorPrevious):
9680         (cursorNext): fixed for insets!
9681
9682 2002-04-15  Juergen Vigna  <jug@sad.it>
9683
9684         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9685         position otherwise it is wrong in some cases.
9686
9687         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9688         inside the inset before the call.
9689
9690 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9691
9692         * buffer.[Ch] (getBibkeyList): make it const.
9693
9694 2002-04-12  Juergen Vigna  <jug@sad.it>
9695
9696         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9697
9698         * text2.C (getCursorX): new helper function
9699         (setCursor): compute also ix_
9700         (setCursorFromCoordinates): set also ix.
9701
9702         * lyxcursor.h: added ix_ and helper functions.
9703
9704         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9705
9706         * buffer.C (insertStringAsLines): dont break paragraph if the this
9707         paragraph is inside an inset which does not permit it!
9708
9709         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9710         also with no chars on this paragraph.
9711         (paintRowText): only paint stuff if it's inside the workarea!
9712
9713         * paragraph.C (breakParagraph): honor keepempty flag and break the
9714         paragraph always below not above.
9715
9716         * BufferView2.C (unlockInset): update the paragraph layout on inset
9717         unlock as we changed paragraph in such a case.
9718
9719         * lyxfind.C (LyXFind): clear the former selection if not found!
9720
9721         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9722         again called in insertChar().
9723
9724         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9725         an inset which uses the whole row!
9726         (rightMargin): ditto.
9727         (insertChar): force a rebreak if we inserted an inset!
9728
9729 2002-03-28  Herbert Voss  <voss@lyx.org>
9730
9731         * lyxlength.[Ch]: add inBP() to get the right PS-point
9732         units (BigPoint). With inPixels we have rounding errors
9733
9734 2002-04-11  Juergen Vigna  <jug@sad.it>
9735
9736         * text2.C (setCursorFromCoordinates): set iy to the right value.
9737         (setCursor): add check if row->previous exists!
9738
9739         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9740         an old float_type as this was the case in the old code!
9741
9742         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9743
9744         * BufferView2.C (showLockedInsetCursor): use iy
9745         (fitLockedInsetCursor): ditto
9746
9747         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9748         locked insets as there we have the right value now.
9749
9750         * lyxcursor.C: added iy_ variable and iy functions to set to the
9751         baseline of cursor-y of the locked inset.
9752
9753         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9754         (setCursor): fixed for insets which need a full row.
9755
9756         * text.C (rowLastPrintable): don't ignore the last space when before
9757         an inset which needs a full row.
9758         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9759         as last character of a row when before a inset which needs a full row.
9760
9761 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * version.C.in: update date
9764
9765         * text2.C (fullRebreak): try to always return true and see what
9766         happens...
9767
9768 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * MenuBackend.C (expand): use Floating::listName
9771
9772         * FloatList.C (FloatList): add listName argument to the built-in
9773         floats
9774
9775         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9776         text associated with the float.
9777
9778 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9781
9782 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9783
9784         * ShareContainer.h: add a couple of missing typenames.
9785
9786 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9787
9788         * lyxrc.C (getDescription): use _() correctly rather than N_().
9789
9790 2002-03-28  Herbert Voss  <voss@lyx.org>
9791
9792         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9793         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9794
9795 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9798         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9799
9800 2002-03-29  Juergen Vigna  <jug@sad.it>
9801
9802         * lyxfunc.C (dispatch): add a missing fitCursor call.
9803
9804         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9805         it was scrolled by a cursor move, so return the bool status.
9806
9807         * BufferView.C (fitCursor): return the bool flag also to the outside
9808         world as this is needed.
9809
9810         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9811
9812         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9813         call the edit() as it is not needed (and wrong) IMO.
9814         (workAreaButtonPress): set the screen_first variable before evt.
9815         unlock the inset as this may change screen_first and then we have
9816         a wrong y position for the click!
9817
9818 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * MenuBackend.C (expand): another translation that I missed
9821
9822 2002-03-28  Juergen Vigna  <jug@sad.it>
9823
9824         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9825
9826         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9827
9828 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9831
9832         * MenuBackend.C (expand): fix export/view/update when there is no
9833         document open.
9834
9835 2002-03-27  Herbert Voss  <voss@lyx.org>
9836
9837         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9838         and text%
9839
9840 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * bufferview_funcs.C (currentState): only show paragraph number
9843         for is DEVEL_VERSION is set.
9844
9845         * lyxfunc.C (dispatch): put warning in INFO channel
9846
9847         * MenuBackend.C (expand): translate the name of floats
9848
9849         * FloatList.C (FloatList): mark the float names for translation
9850
9851         * converter.C (convert): use LibScriptSearch
9852
9853 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * MenuBackend.C (defaults): fix default menu (we might as well get
9856         rid of it...)
9857
9858 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9861         directory.
9862
9863 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * lyxvc.C: reorder includes.
9866
9867 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9870           properly
9871
9872 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * CutAndPaste.C: change layouts earlier on paste
9875           to avoid crashing when calling getFont()
9876
9877 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9878
9879         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9880         irritating #error.
9881
9882 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * WorkArea.C: remove 'Pending' debug message.
9885
9886         * most files: ws cleanup
9887
9888         * buffer.[Ch]: ws changes
9889
9890         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9891
9892 2002-03-21  Juergen Vigna  <jug@sad.it>
9893
9894         * tabular.C (SetMultiColumn): collapse also the contents of the
9895         cells and set the last border right. Added a Buffer const * param.
9896
9897 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9898
9899         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9900         linking or not.
9901
9902 2002-03-19  Juergen Vigna  <jug@sad.it>
9903
9904         * text2.C (clearSelection): reset also xsel_cache.
9905
9906         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9907         where it needs to be called (John tells us to do so too :)
9908         (selectionLost): reset sel_cache.
9909
9910         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9911
9912 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * text2.C (setCursorIntern): put debuging code in INSETS channel
9915
9916 2002-03-19  André Pönitz <poenitz@gmx.net>
9917
9918         * lyxfunc.C: tiny whitespace change
9919
9920 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * ToolbarDefaults.C (init):
9923         * LyXAction.C (init):
9924         * commandtags.h:
9925         * BufferView_pimpl.C (Dispatch):
9926         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9927
9928 2002-03-19  Allan Rae  <rae@lyx.org>
9929
9930         * exporter.C (Export): removeAutoInsets before doing anything else.
9931         While I've just introduced a dependency on BufferView this really is
9932         the best place to clean the buffer otherwise you need to cleanup in
9933         a dozen places before calling export or cleanup in a dozen functions
9934         that export calls.
9935
9936         * converter.C (runLaTeX):
9937         (scanLog): Better handling of removeAutoInsets and screen updates.
9938
9939         * lyxfunc.C (dispatch): small whitespace changes
9940
9941 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * WorkArea.C (C_WorkAreaEvent): return a value.
9944         (event_cb): return 1 if we handled the event, 0 otherwise.
9945
9946         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9947
9948 2002-03-18  Juergen Vigna  <jug@sad.it>
9949
9950         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9951         (GetAdditionalWidth): ditto.
9952         (RightLine): ditto.
9953         (LeftLine): ditto.
9954
9955         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9956         inset if we're there actually (probably not used right now but this
9957         is the direction to go for unifying code).
9958         (paste): disable code to clear the selection.
9959
9960         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9961         inside an InsetText and move the check further up as it is in the
9962         wrong place.
9963
9964         * text2.C (pasteSelection): set a selection over the pasted text.
9965
9966 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9967
9968         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9969         and libgraphics to build on Cygwin.
9970
9971 2002-03-15  Juergen Vigna  <jug@sad.it>
9972
9973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9974         inserting an Inset into the paragraph. I know this is not the best
9975         fix but we already use current_view in CutAndPaste so we will remove
9976         all of it's using at the same time.
9977
9978         * buffer.C (sgmlError): deactivated function till it is rewritten in
9979         the right mode, now it can create problems.
9980
9981         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9982         before accessing it.
9983
9984 2002-03-14  Juergen Vigna  <jug@sad.it>
9985
9986         * undo_funcs.C (textHandleUndo): do the right thing when updating
9987         the inset after the undo/redo.
9988
9989         * text2.C (setCursor): just some testcode for #44 not ready yet.
9990
9991         * undo_funcs.C (textHandleUndo): set the next() and previous()
9992         pointers of the paragraph to 0 before deleting otherwise we have
9993         problems with the Paragraph::[destructor].
9994
9995         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9996         on a paragraph insertion.
9997
9998 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9999
10000         * buffer.C (asciiParagraph): use += operator for char append to
10001         string.
10002
10003         * paragraph.C (getFontSettings): compare >= not just >
10004         (highestFontInRange): ditto
10005         (setFont): ditto
10006
10007 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * paragraph.C: change several algorithm to be more appripriate for
10010         the problem domain. This is lookip in FontList and in the InsetList.
10011
10012 2002-03-13  André Pönitz <poenitz@gmx.net>
10013
10014         * commandtags.h:
10015         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10016
10017 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * commandtags.h:
10020         * LyXAction.C:
10021         * lyxfunc.C:
10022         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10023
10024 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10025
10026         * Painter.C (display): anon helper function, adjust code for this
10027         change.
10028         (pixmap): remove function.
10029
10030         * Painter.h: remove private display variable.
10031
10032         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10033
10034 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10035
10036         * WorkArea.[Ch]: remove figinset_canvas cruft.
10037
10038 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * lyxtextclass.C (operator): add one item cache optimization.
10041
10042         * bufferlist.h: doxy changes
10043
10044         * bufferlist.C: ws changes
10045
10046         * DepTable.[Ch] (ext_exist): place const in the right spot.
10047
10048         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10049         call resizeInsets.
10050         (workAreaExpose): call resizeInsets when the with BufferView changes.
10051         (Dispatch): adjust for protectedBlank removal
10052         (specialChar): call updateInset if the insert went ok.
10053
10054         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10055         specialChar instead.
10056
10057         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10058
10059         * BufferView.h: doxy change
10060
10061         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10062
10063         * lyxtextclass.C (operator[]): remove non-const version
10064         (defaultLayout): remove non-const version
10065
10066 2002-03-12  Juergen Vigna  <jug@sad.it>
10067
10068         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10069         did resize the LyXText too.
10070
10071         * buffer.C (readLyXformat2): set layout information on newly allocated
10072         paragraphs.
10073
10074         * tabular.C (OldFormatRead): set layout information on the paragraph.
10075
10076 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10077
10078         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10079
10080 2002-03-11  Juergen Vigna  <jug@sad.it>
10081
10082         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10083         plainly wrong.
10084         (resizeCurrentBuffer): force also the insets to resize themselfes.
10085         (moveCursorUpdate): fixed up for InsetText.
10086
10087 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10088
10089         * commandtags.h:
10090         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10091         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10092         value of Dialogs::tooltipsEnabled().
10093         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10094
10095 2002-03-08  Juergen Vigna  <jug@sad.it>
10096
10097         * BufferView_pimpl.C (updateInset): update inset inside inset also
10098         if it isn't inside theLockingInset().
10099
10100 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * buffer.C (asciiParagraph): redo some of the word and line length
10103         handling.
10104         (getLists): look for Caption instead of caption.
10105
10106 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * buffer.C (Buffer): initialize niceFile to true
10109         (makeLaTeXFile):
10110         (makeLinuxDocFile):
10111         (makeDocBookFile): make sure niceFile is true on exit
10112
10113 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10116
10117 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10118
10119         * LyXSendto.C: remove.
10120         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10121         * lyx_gui.C: remove now-redundant comment.
10122         * ColorHandler.h: remove forward declaration of class WorkArea.
10123         * lyxfunc.C: remove #include "WorkArea.h".
10124
10125 2002-03-07  Juergen Vigna  <jug@sad.it>
10126
10127         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10128         got moved away with the DEPM and also set the inset_owner always
10129         right which before could have been omitted.
10130
10131 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10132
10133         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10134         wanted layout is not found.
10135
10136 2002-03-07  Juergen Vigna  <jug@sad.it>
10137
10138         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10139
10140 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10141
10142         * paragraph.C (breakParagraph): use default layout not layout of
10143         prev paragraph.
10144         (Paragraph): clear ParagraphParameters.
10145
10146 2002-03-06  Juergen Vigna  <jug@sad.it>
10147
10148         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10149         otherwise it would not be a valid lenght. Fixed a special case in
10150         the minipage compatibility read where we end the document with a
10151         minipage.
10152
10153         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10154         was set as it could be 0 for InsetTexts first entry.
10155
10156 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10157
10158         * paragraph.C (writeFile): if layout is empty write out
10159         defaultLayoutName().
10160
10161         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10162         file without named layout we set layout to defaultLayoutName().
10163
10164 2002-03-06  Juergen Vigna  <jug@sad.it>
10165
10166         * CutAndPaste.C (copySelection): set layout for new paragraph.
10167
10168         * text.C (prepareToPrint): leave ERT inset left aligned
10169         (leftMargin): don't indent paragraphs inside ERT insets
10170
10171 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * paragraph.C (breakParagraph): dont call clear do the work manually
10174
10175         * paragraph.[Ch] (clear): remove function
10176
10177 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * paragraph.C (Paragraph): dont call clear, the work has already
10180         been done.
10181
10182         * lyxtextclass.C (operator): assert if n is empty
10183
10184         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10185         work manually instead.
10186
10187 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * BufferView_pimpl.C: protect selectionLost against text == 0
10190
10191 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * text.C (breakParagraph): fix a setting layout to '0' problem.
10194
10195 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10196
10197         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10198         final location of file, for the included files, and graphics.
10199
10200 2002-03-05  Juergen Vigna  <jug@sad.it>
10201
10202         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10203
10204 2002-03-04  Juergen Vigna  <jug@sad.it>
10205
10206         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10207
10208         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10209         last column of multicolumn cells.
10210         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10211
10212 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10213
10214         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10215         file if it doesn't go to a temporary file.
10216
10217         * buffer.C (sgmlOpenTag):
10218         (sgmlCloseTag):  remove extra newline insertion.
10219
10220 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * text.C (getRowNearY): comment out debug msg
10223
10224 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * text2.C: first -> first_y
10227
10228         * text.C (getRowNearY): add some attemts at a possible
10229         optimization, not working.
10230
10231         * tabular.[Ch]: add BufferParams to several function so that newly
10232         created paragraph can be initialized to he default layotu for the
10233         buffers textclass.
10234
10235         * tabular-old.C (ReadOld): add buf->params to call of Init
10236
10237         * screen.C: rename text->first to text->first_y
10238
10239         * paragraph.C (breakParagraph): always set layout in the broken
10240         paragraph
10241
10242         * lyxtextclass.C (Read): remove lowercase
10243         (hasLayout): ditto
10244         (operator): ditto
10245         (delete_layout): ditto
10246
10247         * lyxtext.h: rename first -> first_y
10248
10249         * lyxlayout.C (Read): remove lowercase
10250         (name): ditto
10251         (setName): ditto
10252         (obsoleted_by): ditto
10253
10254         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10255
10256         * buffer.C (insertErtContents): add params are to InsetERT
10257         (parseSingleLyXformat2Token): add code to check if a paragraphs
10258         layout really exist.
10259         (parseSingleLyXformat2Token): add params to several inset
10260         constructors
10261         (asciiParagraph): remove lowercase, do the layout comparisons with
10262         no_case
10263
10264         * BufferView_pimpl.C (cursorNext): first -> first_y
10265         (resizeCurrentBuffer): first -> first_y
10266         (updateScrollbar): first -> first_y
10267         (scrollCB): first -> first_y
10268         (workAreaMotionNotify): first -> first_y
10269         (workAreaButtonPress): first -> first_y
10270         (checkInsetHit): first -> first_y
10271         (cursorPrevious): first -> first_y
10272         (cursorNext): first -> first_y
10273         (Dispatch): add buffer_->params to severl inset contructors
10274
10275 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10276
10277         * lyxlayout.C (Read): remove some debug info that I forgot.
10278
10279         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10280         clean up the code slightly.
10281         (makeLinuxDocFile): ditto
10282         (makeDocBookFile): ditto
10283
10284         * text2.C: layout as string
10285
10286         * text.C: layout as string
10287
10288         * paragraph_pimpl.C: layout as string
10289
10290         * paragraph.[Ch]: layout as string
10291
10292         * lyxtextclasslist.[Ch]: layout as string
10293
10294         * lyxtextclass.[Ch]: layout as string
10295
10296         * lyxtext.h: layout as string
10297
10298         * lyxlayout.[Ch]: layout as string
10299
10300         * lyx_cb.C: layout as string
10301
10302         * bufferview_funcs.C: layout as string
10303
10304         * bufferparams.C: layout as string
10305
10306         * buffer.C: layout as string
10307
10308         * LyXView.[Ch]: layout as string
10309
10310         * LaTeXFeatures.[Ch]: layout as string
10311
10312         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10313
10314         * BufferView_pimpl.C: change current_layout to string, remove
10315         lyx::layout_type.
10316         (Dispatch):
10317         (smartQuote):
10318         (insertInset):
10319         (workAreaButtonRelease): layout as string
10320
10321         * BufferView2.C (unlockInset): adjust
10322
10323         * vspace.C (asLatexCommand): use an explict temp variable.
10324
10325 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * Makefile.am: use FRONTEND_*
10328
10329 2002-03-01  Juergen Vigna  <jug@sad.it>
10330
10331         * tabular.C (SetWidthOfMulticolCell): changed to something better
10332         I hope but still work in progress.
10333         (recalculateMulticolumnsOfColumn): renamed function from
10334         recalculateMulticolCells as it is more appropriate now.
10335         (SetWidthOfCell): calculate multicols better.
10336
10337 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10340
10341         * lyxfunc.C (processKeySym): print sequence also if it is
10342         `deleted' (complete)
10343
10344         * kbsequence.C (print): print sequence even if it is deleted
10345         (complete would be a better word, actually).
10346
10347         * lyxfunc.C (dispatch): print complete options after a prefix key
10348
10349         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10350
10351 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10352
10353         * text2.C (setCharFont): eliminate setCharFont code duplication.
10354
10355 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10358         LFUN_TABULAR_FEATURE (bug #177)
10359
10360 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10361
10362         * Makefile.am: remove figure.h
10363
10364 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10365
10366         * Bufferview_pimpl.C:
10367         * CutAndPasteC:
10368         * LaTeX.C:
10369         * LyXSendto.C:
10370         * buffer.C:
10371         * bufferlist.C:
10372         * converter.C:
10373         * language.C:
10374         * lyxfunc.C:
10375         * lyxvc.C:
10376         * paragraph.C:
10377         * text.C:
10378         * text2.C: remove #include "lyx_gui_misc.h".
10379
10380         * LaTeX.C: added #include <cstdio>
10381
10382 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10385         that the paragraph following this one can have.
10386
10387         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10388
10389         * vspace.C (asLatexCommand): fix bogus gcc warning
10390
10391         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10392
10393 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10394
10395         * text2.C (setLayout): get rid of redundant code
10396
10397 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10398
10399         * text2.C (incDepth): make sure depth cannot be increased beyond
10400         reasonable values.
10401
10402 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10405         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10406
10407         * PainterBase.h (image):
10408         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10409         a LyXImage const *.
10410
10411 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * BufferView.C:
10414         * BufferView.h:
10415         * BufferView_pimpl.C:
10416         * BufferView_pimpl.h:
10417         * LaTeXFeatures.C:
10418         * LyXAction.C:
10419         * LyXView.C:
10420         * Makefile.am:
10421         * UpdateList.h:
10422         * UpdateList.C:
10423         * buffer.C:
10424         * figure.h:
10425         * figureForm.C:
10426         * figureForm.h:
10427         * figure_form.C:
10428         * figure_form.h:
10429         * lyx_cb.C:
10430         * lyx_gui.C:
10431         * lyx_gui_misc.C:
10432         * lyxfunc.C:
10433         * sp_base.h:
10434         * sp_ispell.h:
10435         * sp_pspell.h:
10436         * sp_spell.C: remove fig inset, and the crap house of
10437           cards that follows it
10438
10439 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * Makefile.am:
10442         * lyxserver.C:
10443         * os2_defines.h:
10444         * os2_errortable.h:
10445         * nt_defines.h: move .h into support/
10446
10447         * vms_defines.h: remove
10448
10449         * WorkArea.C: add space in debug output
10450
10451         * text2.C:
10452         * paragraph.C:
10453         * buffer.C: add WITH_WARNINGS
10454
10455         * vc-backend.h:
10456         * vc-backend.C:
10457         * bufferlist.C: s/retrive/retrieve/, add docs
10458
10459         * vspace.h:
10460         * vspace.C:
10461         * kbmap.h:
10462         * lyxlength.h:
10463         * lyxgluelength.h:
10464         * length_common.h:
10465         * chset.h:
10466         * chset.C: add docs
10467
10468         * lyxgui.C: add ID to X error handler
10469
10470         * lyxtestclass.c: fix typo
10471
10472 2002-02-26  Juergen Vigna  <jug@sad.it>
10473
10474         * tabular_funcs.C (write_attribute): changed so that some default
10475         attributes are not written at all.
10476         (getTokenValue): set default values before trying to read the
10477         value so we have the return value always set as default if we don't
10478         find the token we search for.
10479
10480         * tabular.C (Write): write bools as bools not as strings!
10481
10482 2002-02-22  Juergen Vigna  <jug@sad.it>
10483
10484         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10485         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10486
10487         * text.C (leftMargin): don't add an indent for paragraphs inside
10488         tabular cells (fix #208).
10489
10490 2002-02-21  José Matos  <jamatos@fep.up.pt>
10491
10492         * tabular.C (docBook): fixed support for long tables.
10493
10494 2002-02-20  Juergen Vigna  <jug@sad.it>
10495
10496         * text2.C (getFont): get the drawing font of the Inset if this
10497         paragraph is inside an inset (only important for InsetERT for now).
10498
10499         * buffer.C (insertErtContents): use new lanugage params in ERT
10500         constructor.
10501
10502         * CutAndPaste.C: commenting out seemingly uneeded code.
10503
10504 2002-02-19  Allan Rae  <rae@lyx.org>
10505
10506         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10507         Iterators might be simple to use but they also get invalidated.
10508         (removeAutoInsets): renamed saved cursor tracking variables and added
10509         some comments to clarify what everything does.
10510
10511 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10512
10513         * Chktex.C:
10514         * LaTeX.C:
10515         * LyXSendto.C:
10516         * converter.C:
10517         * lyx_cb.C:
10518         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10519         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10520
10521         * lyxfunc.C:
10522         * vc-backend.h: remove #include "support/syscall.h"
10523
10524         * LaTeX.C:
10525         * LyXSendto.C:
10526         * converter.C: rearrange #includes in Lars' approved fashion.
10527
10528         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10529         forward declare class Timeout in the header file.
10530
10531         * XFormsView.C: changes due to the above.
10532
10533         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10534         similar to LyXView.
10535
10536         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10537         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10538
10539 2002-02-18  José Matos  <jamatos@fep.up.pt>
10540
10541         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10542         insets contents.
10543
10544 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10545
10546         * a lot of small ws changes
10547         * add a lot of using std::XXX
10548         * use std construcs some places where approp.
10549         * use some exisint stuff from lyxfunctional where approp.
10550         * Make file changes to use partial linking (lets test this now...)
10551
10552 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10553
10554         * Chktex.C:
10555         * buffer.C:
10556         remove #include "support/syscontr.h" as it's redundant. Always has been.
10557
10558         * Chktex.C:
10559         * LaTeX.C:
10560         * LyXSendto.C:
10561         * converter.C:
10562         * lyx_cb.C:
10563         * vc-backend.C:
10564         change Systemcalls::System to Systemcalls::Wait and
10565         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10566         No change of functionality, just reflects the stripped down Systemcalls
10567         class.
10568
10569 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10570
10571         * debug.[Ch]: add a GRAPHICS type to the enum.
10572
10573 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10576
10577         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10578         there is an inset.
10579
10580 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10583         match the changes below.
10584
10585         * text2.C (toggleInset): if there is not editable inset at cursor
10586         position, try to see if cursor is _inside_ a collapsable inset
10587         and close it.
10588
10589 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10592         document menu has a nice checkbox
10593
10594 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * lyxlength.C (asLatexString): change PW to output as percent of
10597         \textwidth.
10598
10599         * lengthcommon.C: change '%' to 't%'
10600
10601         * lyxfunc.C (dispatch): a few comments from Martin
10602
10603 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * WorkArea.h:
10606         * WorkArea.C:
10607         * BufferView_pimpl.h:
10608         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10609           the X selection.
10610
10611 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * vspace.C (inPixels): fix compiler warning
10614
10615 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10616
10617         * lyxfunc.C (getStatus): fix status message for disabled commands.
10618
10619 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * BufferView_pimpl.C: fix crash on close buffer
10622         during selection (#227)
10623
10624 2002-01-27  Herbert Voss  <voss@lyx.org>
10625
10626         * buffer.C: link old Figure to new graphic inset
10627
10628 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * FontLoader.C (getFontinfo): Change the latex font names in order
10631         to match the names of type1inst.
10632
10633 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10634
10635         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10636
10637         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10638         (extchanged): ditto
10639         (ext_exist): ditto
10640         (remove_files_with_extension): ditto
10641         (remove_file): ditto
10642         (write): ditto
10643
10644         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10645         document is smaller than the work area height. Do not initialize
10646         static variables to 0.
10647
10648 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10651
10652         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10653         LFUN_LAYOUT_PARAGRAPHS.
10654
10655         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10656         tabular. It is possible to provide a possible cell, which will
10657         typically be the actcell from the corresponding insettabular
10658
10659         * lyxfunc.C (getStatus): small cleanup; disable
10660         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10661         true
10662
10663 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10666
10667         * paragraph.C (startTeXParParams):
10668         (endTeXParParams): new methods. The LaTeX code to
10669         start/end paragraph formatting
10670         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10671         empty (fixes bug #200)
10672
10673         * vspace.C (inPixels): adapt to the change below
10674         (inPixels): [later] more cleanups (remove unused variables)
10675
10676         * lyxlength.C (inPixels): change to use a width and a height as
10677         parameter.
10678
10679 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10682         Replaced with \paperwidth
10683
10684         * DepTable.C (insert): add std:: qualifier
10685
10686 2002-01-18  Allan Rae  <rae@lyx.org>
10687
10688         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10689         updated also?
10690
10691         * text.C (drawInset): Turned out I didn't know enough about how
10692         rebreaking worked.  This fixes most of the redraw problems.  I see
10693         an occasional cursor trail when a line is broken now and the cursor
10694         placement can seem out by a few pixels also after a rebreak.
10695
10696 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * buffer.C (parseSingleLyXformat2Token): update because minipage
10699         width is now a LyXLength
10700
10701         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10702
10703         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10704         math insets
10705
10706 2002-01-17  Juergen Vigna  <jug@sad.it>
10707
10708         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10709
10710         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10711         is set correctly and the inset is updated correctly.
10712
10713 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10714
10715         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10716         the beginning of the loop.
10717
10718 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * lyxrc.C: improve help for use_scalable_fonts
10721
10722 2002-01-17  Allan Rae  <rae@lyx.org>
10723
10724         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10725
10726 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10727
10728         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10729         make sure to set their inset_owner to the right value (bug #171)
10730
10731 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10732
10733         * DepTable.h
10734         * DepTable.C: Implement mtime checking to reduce time spent doing
10735         CRCs.
10736
10737 2002-01-16  Juergen Vigna  <jug@sad.it>
10738
10739         * tabular.C (GetAdditionalHeight): one of error fixed.
10740
10741         * lyxrc.C (output): small fix in writing use_pspell.
10742
10743 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10744
10745         * sp_base.h: #include LString.h
10746
10747 2002-01-16  Allan Rae  <rae@lyx.org>
10748
10749         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10750         Can someone check this please?
10751
10752         * text.C (drawInset): It was possible that p.row would be removed by
10753         breakAgainOneRow upsetting a few other settings.  There may be another
10754         small tweak possible by setting need_break_row = 0 when p.row has been
10755         removed but I don't know enough about the logic here.
10756
10757 2002-01-15  Allan Rae  <rae@lyx.org>
10758
10759         * text.C (insertChar): removed conditional truism.
10760
10761         * BufferView2.C (removeAutoInsets): More tweaks.
10762         cur_par_prev could be a stray pointer.  Check for trailing empty line
10763         in case last line was cur_par and only had an error inset on it.
10764
10765 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10768         absolute
10769
10770         * vc-backend.C (most methods):
10771         * exporter.C (Export):
10772         * converter.C (convert):
10773         (runLaTeX):
10774         * LyXSendto.C (SendtoApplyCB):
10775         * lyxfunc.C (dispatch):
10776         (menuNew):
10777         (open):
10778         (doImport):
10779         * lyx_cb.C (AutoSave):
10780         (InsertAsciiFile):
10781         * BufferView_pimpl.C (MenuInsertLyXFile):
10782         * buffer.C (runChktex): use Buffer::filePath().
10783
10784         * buffer.h: rename filename to filename_; rename filepath to
10785         filepath_ and make it private
10786         (filePath): new method
10787
10788         * buffer.C (writeFile): use fileName()
10789         (getLatexName):
10790
10791         * lyx_main.C (init): fix starting  of LyX when the binary is a
10792         link from so,ewhere else.
10793
10794         * minibuffer.C: include <cctype> for isprint
10795
10796 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10797
10798         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10799         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10800         name clash with InsetCollapsable's width function.
10801
10802 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lastfiles.C: include <iterator>
10805
10806 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10807
10808         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10809         std::count.
10810
10811         * buffer.C (makeLaTeXFile): ditto.
10812         Also make loop operation more transparent.
10813
10814 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10815
10816         * ToolbarDefaults.C: remove trailing comma closing namespace.
10817
10818         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10819
10820         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10821         as in WorkArea.
10822
10823         * trans.C (Load): comment out unused variable, allowed.
10824
10825 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10826
10827         * minibuffer.[Ch] (append_char): new method to recieve input from the
10828         drop-down completion browser. If a key was pressed, then recieve this
10829         char and append it to the existing string.
10830         (peek_event): modify the positioning data passed to the completion
10831         browser so that it can be placed above the minibuffer rather than below.
10832 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * LyXAction.C (init): alloe error-next for readonly documents.
10835
10836         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10837         count.
10838
10839 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10840
10841         * bufferlist.C (readFile): create the buffer _after_ checking that
10842         the file exists.
10843
10844         * lyxfunc.C (verboseDispatch): fix handling of arguments
10845
10846         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10847
10848         * lyxrc.C: use string::erase() instead of initializing to "".
10849
10850
10851 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * BufferView_pimpl.h:
10854         * BufferView_pimpl.C:
10855         * WorkArea.h:
10856         * WorkArea.C:
10857         * text2.C: tell X when we have made a selection for copying
10858
10859 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * BufferView_pimpl.C (MenuInsertLyXFile):
10862         * lyxfunc.C (menuNew):
10863         (open):
10864         (doImport): add shortcuts to directory buttons
10865
10866         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10867         open a float)
10868
10869         * lyxfunc.C (setStatusMessage):
10870         (getStatusMessage): new methods
10871         (getStatus):use setStatusMessage instead of setErrorMessage
10872         (dispatch): when function is disabled, set error message here
10873         [instead of in getStatus previously]
10874
10875         * BufferView_pimpl.C (workAreaButtonRelease): update
10876         toolbar/menubar here too.
10877
10878 2002-01-13  Allan Rae  <rae@lyx.org>
10879
10880         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10881         Now seems indestructible.  Remaining task is to audit all other
10882         code affected by deleteEmptyParagraphMechanism.  One small quirk
10883         left is that an empty document with an error in the preamble can
10884         be made to report an error but no error box appears.  I don't know
10885         where it goes.
10886         (removeAutoInsets): Improved comments.
10887
10888 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * Thesaurus.h:
10891         * Thesaurus.C: update for Aiksaurus 0.14
10892
10893 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * text2.C (firstParagraph): removed member function, all uses
10896         replaces with ownerParagraph
10897         (redoParagraphs): here
10898         (updateInset): here
10899         (toggleAppendix): here
10900         * BufferView2.C (insertErrors): here
10901         (setCursorFromRow): here
10902
10903 2002-01-13  Allan Rae  <rae@lyx.org>
10904
10905         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10906         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10907         There is still a way to segfault this although you may have to do this
10908         multiple times: Have an InsetERT with an unknown command in it.
10909         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10910         <down-arrow>, <Enter> again, View->DVI, BANG!
10911
10912         * text2.C (setCursor):
10913         (deleteEmptyParagraphMechanism):
10914         * lyxtext.h (setCursor):
10915         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10916         Making use of the return value may help fix other bugs.
10917
10918 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10921
10922         * LyXView.C (updateMenubar): call MenuBar::update here
10923         (updateToolbar): but not here
10924         (showState): do not update toolbar/menubar
10925
10926         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10927         should need to care about that.
10928
10929         * lyxfunc.C (verboseDispatch): simplify a bit
10930         (getStatus): have a version which takes a pseudoaction, and
10931         another which requires a (kb_action,string).
10932
10933         * LyXAction.C (retrieveActionArg): make it work also when action
10934         is not a pseudo-action.
10935         (getActionName): simplify a bit
10936         (helpText):
10937
10938 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * lyxfunc.C (verboseDispatch): new families of methods with
10941         several ways to specify a command and a bool to indicate whether
10942         the command name and shortcut should be displayed in minibuffer
10943         (eventually, we could extend that to a finer bitmask like
10944         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10945         (dispatch): the pristine dispatch command which just, well,
10946         dispatchs! Note it still sets its result to minibuffer; I'm not
10947         sure we want that.
10948
10949         * lyxfunc.h: remove setHintMessage
10950
10951         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10952
10953 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * BufferView_pimpl.C (specialChar): delete new inset if we have
10956         not been able to insert it.
10957
10958         * kbmap.C: revert to using int instead of kb_action, since all we
10959         are dealing with is pseudo-actions.
10960
10961         * LyXAction.C (searchActionArg): change to return int instead of
10962         kb_action, since the result is a pseudoaction.
10963
10964 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10965
10966         * buffer.C (insertErtContents): Fix (partially) the font bug.
10967
10968 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10969
10970         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10971         as the other one is broken on my machine!
10972
10973 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10974
10975         * commandtags.h:
10976         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10977
10978 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10981         reflect their actual use. Provide compatibility code for older lyxrc
10982         files.
10983
10984         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10985         FL_NORMAL_STYLE.
10986         change names of popup font variables in line with the changes to lyxrc.C
10987
10988 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10989
10990         * buffer.C (asciiParagraph): avoid outputing a word twice after
10991         an inset.
10992
10993         * lyxrc.C (getDescription): document that document_path and
10994         template_path can be empty.
10995
10996 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * LaTeXFeatures.C (getMacros):
10999         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11000
11001         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11002
11003         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11004         getPackages.
11005         (getPackages): rename feature "floats" to "float". Use an array to
11006         iterate over 'simple' features (i.e. just a \usepackage). Add
11007         handling of "amsmath" (renamed from "amsstyle").
11008
11009 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11010
11011         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11012         features list.
11013
11014 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11015
11016         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11017         FuncStaus::FuncStatus & FuncStaus::some_method().
11018
11019 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11020
11021         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11022         of the func_satus stuff. Edited and massaged in various ways by
11023         JMarc.
11024
11025         * lyxfunc.C (getStatus): use FuncStatus
11026
11027 2002-01-08  Juergen Vigna  <jug@sad.it>
11028
11029         * text.C (nextBreakPoint): use function Inset::isChar().
11030
11031         * paragraph.C (TeXOnePar): use function
11032         Inset::forceDefaultParagraphs.
11033
11034         * buffer.C (latexParagraphs): use function
11035         Inset::forceDefaultParagraphs.
11036
11037 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11038
11039         * lyx_gui.C (init): set the style of the menu popups to
11040         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11041
11042 2002-01-07  Juergen Vigna  <jug@sad.it>
11043
11044         * text.C (setHeightOfRow): small fix
11045         (prepareToPrint): don't look at alignment if we don't have the place
11046         for doing it.
11047
11048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * box.C: New file. Move the Box methods and functions out of box.h,
11051         following Lars' suggestion.
11052
11053 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11054
11055         * box.h: #include "support/LOstream.h", needed for inlined function.
11056
11057         * lyxtextclass.C:
11058         * lyxtextclasslist.C: added some using std declarations.
11059
11060 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * box.h: make signed dimensions to allow insets wider than
11063           the screen (bug #162)
11064
11065         * BufferView_pimpl.C: add some insetHit debug
11066
11067 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * vc-backend.C: add FIXME
11070
11071 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * lyxfunc.C (getStatus): enable code for showing math font status
11074         in toolbar/menu.
11075
11076 2002-01-07  Juergen Vigna  <jug@sad.it>
11077
11078         * text.C (nextBreakPoint): removed debug output not needed anymore.
11079
11080 2002-01-06  Juergen Vigna  <jug@sad.it>
11081
11082         * text.C (nextBreakPoint): fixed up this function we had this bug
11083         since ever but now hopefully we break row better.
11084         (insertChar): we have to check if an inset is the next char as it
11085         could now happen that a large inset is causing a break.
11086
11087 2002-01-05  Juergen Vigna  <jug@sad.it>
11088
11089         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11090         if it doesn't like to be drawed.
11091
11092 2002-01-04  Juergen Vigna  <jug@sad.it>
11093
11094         * BufferView2.C (lockInset): forgot to set a cursor.
11095
11096         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11097
11098 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11099
11100         * FormMathsPanel.C:
11101         * FormMathsPanel.h
11102         * MathsSymbols.C:
11103         * form_maths_panel.C:
11104         * form_maths_panel.h:
11105         * form_maths_panel.fd: implemented sub- and super- buttons in math
11106         panel.
11107
11108         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11109         (or ^ space) to be used as in TeX (req'd by André).
11110
11111         * lyxfunc.C: Allow ^ and _ again to be used both as
11112         super/subscript (mathed) and as themselves (in text).
11113
11114 2002-01-03  Allan Rae  <rae@lyx.org>
11115
11116         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11117         "LyX" or the filename of the current buffer if it has one.  This is a
11118         modified form of John Levon's patch.
11119
11120         * XFormsView.C (setWindowTitle): also set icon title.
11121
11122         * LyXView.h (setWindowTitle): signature changed.
11123         * XFormsView.h (setWindowTitle): ditto.
11124
11125 2002-01-02  Juergen Vigna  <jug@sad.it>
11126
11127         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11128
11129 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11130
11131         * screen.C (topCursorVisible): introduce a temp var for
11132         text->cursor.row(), handle the case where this row is null. (kindo
11133         hachish)
11134
11135         * text2.C (setCursor): add a couple of asserts.
11136
11137         * paragraph.h (inset_iterator): add -> operator
11138
11139         * paragraph.[Ch] (autoDeleteInsets): remove member function
11140
11141         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11142         cursor pos correctly and handle inset deletion by itself.
11143         (insertErrors): move iterator declaration out of for expression
11144
11145         * lyxtextclass.C: add <algorithm>
11146
11147         * Makefile.am: added the new files to sources, removed layout.C
11148
11149         * layout.C: removed file
11150
11151         * layout.h: remove LYX_DUMMY_LAYOUT
11152
11153         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11154         layout.
11155
11156         * lyxlayout.[Ch]:
11157         * lyxtextclass.[Ch]:
11158         * lyxtextclasslist.[Ch]: new files
11159
11160         * include order changes to a lot of files, also changes because of
11161         the six new files.
11162
11163 2001-12-27  Juergen Vigna  <jug@sad.it>
11164
11165         * buffer.C (asciiParagraph): more fixes.
11166
11167         * tabular.C (ascii): make ascii export support export of only the
11168         data separated by a column-delimiter.
11169         (ascii): better support for ascii export.
11170
11171         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11172
11173 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11174
11175         * tabular_funcs.C: use a "using std::getline" instead of the
11176         previous fix from Angus (necessary for cxx + lyxstring)
11177
11178 2001-12-24  Juergen Vigna  <jug@sad.it>
11179
11180         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11181
11182         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11183         problems. First check a minipage also if we have some ert-contents
11184         (not only on par->size(), second set the right depth of the paragraph
11185         on the relink to the root-paragraph-list!
11186
11187         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11188         which then did not anymore update the main paragraphs on undo/redo!
11189
11190 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11193         code. Support all font-changing funcs (even those which are not in
11194         menu currently). Support for reporting font settings in
11195         mathed (disabled until Andre provides a function on mathed's side).
11196
11197         * func_status.h (toggle): small helper function to set toggle
11198         state on a flag.
11199
11200 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11201
11202         * tabular_funcs.C: getline -> std::getline
11203
11204 2001-12-21  Juergen Vigna  <jug@sad.it>
11205
11206         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11207         accessed and could be 0 (I couldn't generate this but it seems
11208         Michael could!).
11209
11210 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11211
11212         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11213         * tabular_funcs.h: here and include iosfwd
11214
11215 2001-12-20  Juergen Vigna  <jug@sad.it>
11216
11217         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11218         inside inset but undo_par was.
11219
11220 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * Thesaurus.C: always include <config.h> in sources.
11223
11224         * Painter.h:
11225         * lyxlookup.h:
11226         * box.h: do not include <config.h> in header files
11227
11228         * text.C (paintLastRow): remove unused variable
11229
11230         * text.C (transformChar):
11231         (insertChar):
11232         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11233
11234         * Painter.C (text):
11235         * font.C (width): rewrite to use uppercase() instead of
11236         islower/toupper.
11237
11238         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11239
11240 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * lyxfind.C: clean up of find failure position change
11243
11244 2001-12-20  Juergen Vigna  <jug@sad.it>
11245
11246         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11247
11248         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11249         (TeXRow): added to LaTeX a single tabular row.
11250         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11251         (Latex): simplified and finally good LT-h/f support.
11252         (various_functions): just small adaptions for LT-h/f support.
11253
11254         * tabular_funcs.[hC]: added and moved here all not classfunctions
11255         of LyXTabular.
11256
11257 2001-12-19  Juergen Vigna  <jug@sad.it>
11258
11259         * tabular.[Ch]: better support for longtabular options (not finished
11260         yet!)
11261
11262 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * text.C (paintLastRow): use the label font instead of the font of
11265         the last character to compute the size of *_BOX. This makes more
11266         sense and avoids a crash with empty paragraphs.
11267         Use Painter::rectangle to draw EMPTY_BOX.
11268
11269 2001-12-19  Juergen Vigna  <jug@sad.it>
11270
11271         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11272         the paragraphs if the replaced paragraph is not the first one!
11273         Tried to delete not used paragraphs but does not work yet so for
11274         now it's inside #ifdef's and by default off!
11275
11276 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * MenuBackend.C: include "lyx_main.h" instead of declaring
11279         lastfiles (actually was declared as LastFiles* instead of a
11280         scoped_ptr).
11281
11282 2001-12-17  Juergen Vigna  <jug@sad.it>
11283
11284         * tabular.C (AppendColumn): applied John's fix
11285
11286 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * BufferView.h:
11289         * BufferView.C:
11290         * BufferView_pimpl.h:
11291         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11292
11293         * Makefile.am:
11294         * box.h: new start of class for above
11295
11296         * lyxfunc.C: ignore space-only minibuffer dispatches.
11297           Show the command name when it doesn't exist
11298
11299         * minibuffer.C: don't add empty lines to the history
11300
11301         * minibuffer.C: add a space on dropdown completion
11302
11303 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11304
11305         * text.C: fix line above/below drawing in insets
11306
11307 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * lyxlength.C (LyXLength): Initialize private variables.
11310
11311 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11312
11313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11314         when inserting error insets.
11315
11316 2001-12-13  Juergen Vigna  <jug@sad.it>
11317
11318         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11319         actually sometimes the before-paragraph.
11320         (setUndo): don't clear the redostack if we're not actually undoing!
11321
11322 2001-12-06  Juergen Vigna  <jug@sad.it>
11323
11324         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11325         and fixed redoing of main paragraph, so we can use it now ;)
11326
11327         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11328
11329 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11332         Juergen's request
11333
11334 2001-12-13  André Pönitz <poenitz@gmx.net>
11335
11336         * undostack.[Ch]:
11337         * undo_func.C: minor cleanup
11338
11339 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11340
11341         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11342         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11343         font in urw-fonts package which is marked as -urw-fontspecific and
11344         does not work (incidentally, changing the encoding in the
11345         fonts.dir of this package to -adobe-fontspecific fixes the
11346         problem).
11347
11348         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11349         is a crash when undoing first paragraph (Juergen, please take a
11350         look). THis does not mean the undo fix is wrong, just that it
11351         uncovers problems.
11352
11353         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11354         the (Paragraph*) version when needed instead of duplicating the
11355         code.
11356
11357         * text.C (workWidth): use Inset::parOwner to find out where the
11358         inset has been inserted. This is a huge performance gain for large
11359         documents with lots of insets. If Inset::parOwner is not set, fall
11360         back on the brute force method
11361
11362         * paragraph_pimpl.C (insertInset):
11363         * paragraph.C (Paragraph):
11364         (cutIntoMinibuffer): set parOwner of insets when
11365         inserting/removing them
11366
11367         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11368
11369 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11370
11371         * commandtags.h:
11372         * LyXAction.C:
11373         * lyx_main.C:
11374         * lyxfunc.C:
11375         * mathed/formulabase.C:
11376         * mathed/math_cursor.[Ch]:
11377         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11378
11379
11380 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * lyxlength.[Ch] (operator!=): new function
11383
11384 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * text.C (workWidth): use Inset::parOwner to find out where the
11387         inset has been inserted. This is a huge performance gain for large
11388         documents with lots of insets. If Inset::parOwner is not set, fall
11389         back on the brute force method
11390
11391         * paragraph_pimpl.C (insertInset):
11392         * paragraph.C (Paragraph):
11393         (cutIntoMinibuffer): set parOwner of insets when
11394         inserting/removing them
11395
11396         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11397
11398 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * tabular-old.C (getTokenValue):
11401         * tabular.C (getTokenValue):
11402         (write_attribute): new versions for LyXLength
11403         (everywhere): adjust the use of widths
11404
11405         * tabular.h: change the type of widths from string to LyXLength
11406
11407 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11408
11409         * paragraph.C: fixed missing line number count when exporting
11410         Environments to LaTeX file
11411
11412         * buffer.C: added informational message for checking line numbers.
11413
11414 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11417         paragraph, do the 'double space' part, but not the 'empty
11418         paragraph' one.
11419
11420         * text.C (workWidth): small optimization
11421         (getLengthMarkerHeight): use minimal size for negative lengths.
11422
11423 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11426
11427         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11428
11429 2001-12-11  André Pönitz <poenitz@gmx.net>
11430
11431         * FontLoader.C:
11432         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11433
11434 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * text2.C: keep selection on a setFont()
11437
11438 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * lyx_cb.C: another bv->text misuse, from insert label
11441
11442 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * kbsequence.h:
11445         * kbsequence.C: re-instate nmodifier mask
11446
11447 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11448
11449         * lyx_main.h: make lyxGUI private.
11450
11451 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * lyxfind.C: place the cursor correctly on failed search
11454
11455 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11456
11457         * text.C (getLengthMarkerHeight): for small heights, the arrows
11458         are not always on top/bottom of the text
11459         (drawLengthMarker): smaller arrows; take the left margin in
11460         account; draw also vfills.
11461         (paintFirstRow):
11462         (paintLastRow): remove special code for vfill and standard spaces,
11463         since everything is handled in drawLengthMarker now.
11464
11465 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * buffer.C (insertErtContents): try to handle font and language
11468         interaction a bit better.g
11469
11470         * ColorHandler.C (updateColor): change the hash to cover the whole
11471         LColor enum, ws cleanup
11472         (getGCLinepars): ditto
11473         (getGCLinepars): only lookup in the linecache once.
11474
11475 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11476
11477         * iterators.C (operator++): Make the iterator more robust
11478
11479         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11480         (John's patch)
11481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11482
11483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * lyxtext.h:
11486         * text.C: better added space drawing
11487
11488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * LyXView.C:
11491         * BufferView2.C: fix layout combo update on inset unlock
11492
11493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * Makefile.am: don't compile unused files
11496
11497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * lyxfunc.C:
11500         * commandtags.h:
11501         * LyXAction.C: remove old LFUN_LAYOUTNO
11502
11503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * paragraph_pimpl.h:
11506         * paragraph_pimpl.C: isTextAt() doesn't need font param
11507
11508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * lyxlex.h:
11511         * lyxlex.C: little cleanup
11512
11513 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * BufferView_pimpl.C: fix insertAscii for insets
11516
11517 2001-12-05  Juergen Vigna  <jug@sad.it>
11518
11519         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11520         set the right font on the "multi" paragraph paste!
11521
11522 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * trans_decl.h:
11525         * trans_mgr.[Ch]:
11526         * trans.[Ch]:
11527         * lyxgluelength.C:
11528         * lyxlength.C: remove out-commented code.
11529
11530         * BufferView_pimpl:
11531         * CutAndPaste.C:
11532         * DepTable.C:
11533         * buffer.C:
11534         * chset.C:
11535         * lastfiles.C:
11536         * lyxlex.C:
11537         * lyxlex_pimpl.C:
11538         * lyxserver.C:
11539         * screen.C:
11540         * tabular-old.C:
11541         * tabular.C:
11542         * text.C:
11543         * trans_mgr.C:
11544         * vc-backend.C: change "while(" to "while ("
11545
11546         * lyxlength.[Ch]: add zero function to check if length is zero or
11547         not
11548         * lyxgluelength.C: use it
11549
11550 2001-12-05  Allan Rae  <rae@lyx.org>
11551
11552         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11553         Works for 2.95.3, from what I understand of Garst's reports this should
11554         work for other g++ versions.  We're screwed if the abs(int) definition
11555         changed between bugfix releases of gcc.
11556
11557 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * text.C: fix chapter label offset !
11560
11561 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * lyxtext.h:
11564         * text.C: fix hfill at end of line, clean up
11565
11566 2001-12-04  Juergen Vigna  <jug@sad.it>
11567
11568         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11569         that we force an update of the inset and it's owners if neccessary.
11570
11571 2001-12-03  Juergen Vigna  <jug@sad.it>
11572
11573         * text.C (rowLast): simplified code
11574
11575 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * lyxfunc.C: fix show options on timeout
11578
11579 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * screen.C (topCursorVisible): scroll half a page when the cursor
11582         reached top of bottom of screen
11583
11584 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * minibuffer.C: deactivate on loss of focus
11587
11588 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * vspace.[Ch] (operator!=): add operator.
11591
11592 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * BufferView_pimpl.C: refuse to open an inset when
11595         there's a selection.
11596
11597 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * BufferView_pimpl.C: allow to click on RHS of full row insets
11600
11601 2001-11-30  Juergen Vigna  <jug@sad.it>
11602
11603         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11604         insets for undo reasons.
11605
11606 2001-11-28  André Pönitz <poenitz@gmx.net>
11607
11608         * vspace.[Ch]: cosmetical changes
11609
11610 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * LyXAction.h:
11613         * LyXAction.C:
11614         * lyxfunc.h:
11615         * lyxfunc.C:
11616         * kbmap.h:
11617         * kbmap.C:
11618         * lyxrc.C:
11619         * kbsequence.h:
11620         * kbsequence.C: part re-write of old kb code
11621
11622         * Painter.C:
11623         * WorkArea.C: remove Lgb_bug_find_hack
11624
11625 2001-11-30  José Matos <jamatos@fep.up.pt>
11626
11627         * buffer.C (makeDocBookFile): add a comment to point a hack.
11628         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11629         Fixed a double write of labels.
11630
11631 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11632
11633         * LaTeX.C:
11634         * LaTeX.h Fixed bug in LaTeX class where it would not
11635         re-run latex if no depfiles were changed, but the .dvi was removed.
11636
11637 2001-11-28  André Pönitz <poenitz@gmx.net>
11638
11639         * all the files from the change on 2001/11/26:
11640         use lyx::layout_type instead of LyXTextClass::size_type
11641         use lyx::textclass_type instead of LyXTextClassList::size_type
11642
11643 2001-11-29  Juergen Vigna  <jug@sad.it>
11644
11645         * text.C: added support for paragraph::isFreeSpacing()
11646
11647         * buffer.C: same as above
11648
11649         * paragraph.h: inserted isFreeSpacing() function to enable
11650         FreeSpacing inside InsetERT.
11651
11652         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11653         of the paragraph's in the cut/copy buffer to 0!
11654
11655         * text2.C (removeRow): remove the assert as it can!
11656
11657         * lyxtext.h: added helper function firstRow returning firstrow and
11658         made firstrow private again.
11659
11660         * BufferView2.C (lockInset): don't relock if we're already locked!
11661
11662         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11663         the only paragraph.
11664         (removeRow): added Assert::(firstrow)
11665
11666         * debug.C: forgot to add INSETTEXT here.
11667
11668 2001-11-28  Juergen Vigna  <jug@sad.it>
11669
11670         * sp_spell.C (initialize): changed error text to more general
11671         spellchecker command use (not only ispell!)
11672
11673         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11674
11675         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11676
11677 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * vspace.C: initialise lyxgluelength on failure
11680
11681 2001-11-28  Allan Rae  <rae@lyx.org>
11682
11683         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11684         declaration & definition that looks like a function declaration.
11685
11686 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11687
11688         * BufferView2.C (copy):
11689         (copyEnvironment): do not clear the selection when doing a copy.
11690
11691         * text.C (paintFirstRow): compilation fix
11692
11693 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11694
11695         * tabular.C (Latex): correct line count when writing latex.
11696
11697 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * paragraph_pimpl.h:
11700         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11701           bug a bit
11702
11703 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * text.C:
11706         * LColor.h:
11707         * LColor.C: change vfillline->added_space
11708
11709         * text.C: add markers and text for added space
11710
11711         * vspace.C: fix comment
11712
11713 2001-11-28  André Pönitz <poenitz@gmx.net>
11714
11715         * paragraph.C: whitespace changes
11716         * all the other files from the change on 2001/11/26:
11717         change *::pos_type into lyx::pos_type
11718
11719 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11720
11721         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11722         language of the document when inserting error insets.
11723
11724 2001-11-26  André Pönitz <poenitz@gmx.net>
11725
11726         * BufferView_pimpl.[Ch]:
11727         *       CutAndPaste.C:
11728         * buffer.[Ch]:
11729         * lyxcursor.[Ch]:
11730         * lyxfind.C:
11731         * lyxfunc.C:
11732         * lyxrow.[Ch]:
11733         * paragraph.[Ch]:
11734         * paragraph_pimpl.[Ch]:
11735         * sp_spell.C:
11736         * text.C:
11737         * text2.C: reduce header dependencies, introduce type for positions
11738
11739 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * <various>: change to use Alert.h
11742
11743 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11744
11745         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11746         when encountering an unknown token.
11747         (readLyXformat2): Show an error message if there were unknown tokens.
11748
11749 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11750
11751         * BufferView2.C:
11752         * BufferView_pimpl.C:
11753         * buffer.C:
11754         * paragraph.h:
11755         * text.C:
11756         * text2.C: use par->isInset()
11757
11758 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * paragraph_pimpl.h:
11761         * paragraph_pimpl.C: cleanup
11762
11763 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11764
11765         * text2.C (removeRow):
11766         * text.C (setHeightOfRow): remove useless (and costly) call to
11767         getRow.
11768
11769 2001-11-20  Allan Rae  <rae@lyx.org>
11770
11771         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11772         Now need Inset*::checkInsertChar() to return true for appropriate
11773         cases so that the characters in the minibuffer will actually be
11774         inserted.
11775
11776 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * text.C: change the order of the includes.
11779         (workWidth): initialize it at once.
11780         (workWidth): make maxw unsigned
11781         (setHeightOfRow): remove unused variable (inset)
11782         (selectSelectedWord): remove unused variable (inset)
11783         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11784
11785 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11786
11787         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11788         server is not running.
11789         (openConnection):
11790         (closeConnection): add debug info when server is disabled.
11791
11792         * ColorHandler.C (getGCForeground): send debug message to GUI
11793         channel.
11794
11795         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11796
11797         * kbmap.C (bind): modify because return conventions of
11798         kb_sequence::parse have changed.
11799
11800         * kbsequence.C (parse): only ignore spaces and not any stupid
11801         control character. This avoids tests like s[i] <= ' ', which are
11802         guaranteed to fail with 8bit characters and signed chars.
11803         Change return code to string::npos when there have been no error
11804         (0 was a bad idea when error is at first character)
11805
11806 2001-11-14  José Matos  <jamatos@fep.up.pt>
11807
11808         * buffer.h:
11809         * buffer.C (simpleDocBookOnePar): removed unused argument.
11810
11811 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11814         insets which are part of a word. Paragraph::isLetter takes care of
11815         that now. Use Paragraph::isInset to identify insets.
11816         (selectSelectedWord): do not test for hyphenation break.
11817
11818         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11819         that protected spaces are considered as spaces.
11820
11821         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11822         Inset::isLetter.
11823
11824 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * lyxserver.h:
11827         * lyxserver.C: fix it. and small cleanup.
11828
11829 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * BufferView_pimpl.C: use inline helpers
11832
11833         * LaTeXFeatures.h:
11834         * LaTeXFeatures.C: fix typos
11835
11836         * Spacing.h:
11837         * Spacing.C: move spacing_string into class
11838
11839         * ToolbarDefaults.C: move stuff into namespace anon
11840
11841         * layout.h: update enum
11842
11843         * lyxfunc.C: use better debug
11844
11845         * minibuffer.h: fix typo
11846
11847         * debug.h:
11848         * debug.C:
11849         * WorkArea.C: add and use Debug::WORKAREA
11850
11851         * lyxtext.h:
11852         * text.C:
11853         * text2.C: code re-organisation, inline helpers
11854
11855 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11856
11857         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11858         std::vector.empty().
11859
11860 2001-11-09  Allan Rae  <rae@lyx.org>
11861
11862         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11863         '\n's after tables.  Tabular and ERT inset work now makes this no
11864         longer necessary.
11865
11866 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * minibuffer.h:
11869         * minibuffer.C: fix crash, improve drop-down completion
11870
11871 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * lyxserver.h:
11874         * lyxserver.C: invalidate fd's when doing endPipe()
11875
11876 2001-11-08  José Matos  <jamatos@fep.up.pt>
11877
11878         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11879         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11880
11881         * paragraph.h:
11882         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11883
11884 2001-11-07  José Matos  <jamatos@fep.up.pt>
11885
11886         * buffer.h:
11887         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11888         const qualifier.
11889
11890         * buffer.C (sgmlOpenTag):
11891         * buffer.C (sgmlCloseTag): removed debug info.
11892
11893         * buffer.h (sgmlOpenTag):
11894         * buffer.h (sgmlCloseTag): made public.
11895
11896 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * buffer.C (saveParamsAsDefaults):
11899         * lyx_cb.C (MenuLayoutSave): remove
11900
11901         * LyXAction.C (init):
11902         * commandtags.h:
11903         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11904
11905 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11906
11907         * buffer.C (setPaperStuff): removed from here...
11908
11909         * bufferparams.C (setPaperStuff): ... and moved there.
11910
11911 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * minibuffer.h:
11914         * minibuffer.C:
11915         * XFormsView.C: add support for drop-down completion
11916
11917 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11918
11919         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11920         commands.
11921
11922 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11923
11924         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11925         disabled.
11926
11927 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyx_main.C: change ref to known bugs
11930
11931 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11932
11933         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11934         to work around older babel problems.
11935
11936 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11937
11938         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11939
11940 2001-10-24  Juergen Vigna  <jug@sad.it>
11941
11942         * tabular-old.C (ReadOld): below variable changes reflected.
11943
11944         * tabular.[Ch]: added ltType struct for longtable header/footer
11945         defines and changed all instances where they are used. Added
11946         future support for double top/bottom rows.
11947
11948 2001-10-24  José Matos  <jamatos@fep.up.pt>
11949
11950         * buffer.h (docbookHandleCaption):
11951         * buffer.C (docbookHandleCaption): removed unused function.
11952         (makeDocBookFile): moved docbook supported version to v4.1.
11953
11954 2001-10-24  José Matos  <jamatos@fep.up.pt>
11955
11956         * tabular.h:
11957         * tabular.C (docbookRow): new function to export docbook code of a row.
11958         (DocBook): now honors the longtable flags.
11959
11960 2001-10-23  José Matos  <jamatos@fep.up.pt>
11961
11962         * LaTeXFeatures.h:
11963         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11964         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11965
11966         * buffer.C (makeLinuxDocFile):
11967         (makeDocBookFile): reworked the preamble, more clean, and with
11968         support for lyx defined entities. Changed the document declaration
11969         to be more XML friendly.
11970
11971         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11972         if we need to output XML that should be done with a filter.
11973
11974 2001-10-22  Juergen Vigna  <jug@sad.it>
11975
11976         * sp_pspell.h (class PSpell): add alive function needed in the
11977         controller to see if the spellchecker could be started.
11978
11979 2001-10-22  Juergen Vigna  <jug@sad.it>
11980
11981         * buffer.C (insertStringAsLines): modify the font for inserting
11982         chars in certain conditions by calling checkInsertChar(font).
11983
11984 2001-10-19  Juergen Vigna  <jug@sad.it>
11985
11986         * text.C (workWidth): use getRow instead of wrong algorithm.
11987         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11988
11989 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyxserver.h:
11992         * lyxserver.C:
11993         * lyx_main.h:
11994         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11995
11996 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11997
11998         * text.C (workWidth): do not search for the exact row when
11999         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12000         optimization for big documents.
12001
12002 2001-10-18  Juergen Vigna  <jug@sad.it>
12003
12004         * text.C (workWidth): new function with added Inset * parameter.
12005
12006 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12007
12008         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12009
12010         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12011         change return type of getColumnNearX.
12012
12013
12014         * text.C (changeRegionCase): use uppercase/lowercase instead of
12015         toupper/tolower.
12016         (leftMargin):
12017         (rightMargin): simplify code by factoring out the uses of
12018         textclasslist.
12019         (labelFill):
12020         (numberOfHfills):
12021         (setHeightOfRow):
12022         (appendParagraph): use Paragraph::size_type
12023
12024 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * vspace.C (asLatexString): add a missing break
12027
12028 2001-10-15  Herbert Voss  <voss@perce.de>
12029
12030         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12031
12032 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12033
12034         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12035         is not available.
12036
12037 2001-10-10  André Pönitz <poenitz@gmx.net>
12038
12039         * lyxfunc.C: removed greek_kb_flag.
12040
12041 2001-10-10  Herbert Voss  <voss@perce.de>
12042
12043         * lyx_main.C: delete global string help_lyxdir.
12044
12045 2001-10-09  Herbert Voss  <voss@perce.de>
12046
12047         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12048
12049         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12050
12051         * lyx_main.C: added global string help_lyxdir.
12052
12053         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12054
12055 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12056
12057         * lyxrc.C (set_font_norm_type): support iso8859-4
12058
12059 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12060
12061         * LaTeX.C (deplog): add another regex for MikTeX
12062
12063 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12064
12065         * lyxrc.C (set_font_norm_type): support iso8859-3
12066
12067 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12070
12071         * LaTeXFeatures.C: remove special case of french and index
12072
12073         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12074         before \begin{document}). This solves several incompatibilities.
12075
12076 2001-10-03  Garst Reese  <reese@isn.net>
12077
12078         * lyx_cb.C: change CheckTex error msg.
12079
12080 2001-10-03  José Matos  <jamatos@fep.up.pt>
12081
12082         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12083
12084 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * .cvsignore: update
12087
12088         * lyx_main.C (commandLineVersionInfo): use new style version info.
12089
12090         * buffer.C (writeFile):
12091         (makeLaTeXFile):
12092         (makeLinuxDocFile):
12093         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12094
12095         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12096
12097         * version.h: update to use stuff in version.C
12098
12099         * version.C.in: new file. Contains version information determined
12100         at compile time. This is a merging of version.h and
12101         version_info.h.in.
12102
12103 2001-10-03  Juergen Vigna  <jug@sad.it>
12104
12105         * BufferView_pimpl.C (update): don't change "dirty" status in
12106         updateInset call.
12107
12108 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         * WorkArea.C (c-tor): re-position version string slightly.
12111
12112 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12115         revert to previous code.
12116
12117         WorkArea.[Ch]: (show, destroySplash): methods removed.
12118
12119         WorkArea.C: rework code so that it's an amalgam of the codes before and
12120         after the splash screen was moved to WorkArea.
12121
12122 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12123
12124         * lyxrc.C (read):
12125         * vspace.C (inPixels):
12126         (lyx_advance):
12127         * kbmap.C (bind):
12128         * buffer.C (insertStringAsLines):
12129         (asciiParagraph): fix types to be large enough
12130
12131         * lyxlex_pimpl.h: change member status from short to int
12132
12133         * layout.h: fix type of endlabeltype
12134
12135         * kbmap.C (bind):
12136         * kbsequence.C (parse): change return type to string::size_type
12137
12138         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12139         variable
12140
12141         * Bullet.C (bulletSize):
12142         (bulletEntry): do not use short ints as parameters
12143
12144         * BufferView2.C (insertLyXFile): change a char to an int.
12145
12146         * WorkArea.C (WorkArea): remove unneeded floats in computation
12147
12148 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12151
12152         * paragraph.C (asString): Do not ignore newline/hfill chars when
12153         copying to the clipboard.
12154
12155 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12156
12157         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12158         after a multi-line inset.
12159
12160 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12161
12162         * paragraph.C (validate): Set NeedLyXFootnoteCode
12163
12164 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12165
12166         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12167         and decrease-error to decrease.
12168
12169 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12172         it more readable (should be equivalent)
12173
12174 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12175
12176         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12177
12178 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12181         of a cursor (row, etc.) after a character has been deleted
12182         (deleteEmptyParagraphMechanism): call the method above on _all_
12183         cursors held by the LyXText when a double space has been
12184         detected/deleted.
12185
12186 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12187
12188         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12189         pixmap.
12190         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12191
12192         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12193         background. Use greyOut() and the new show() methods to toggle between
12194         the foreground and background. Add code to remove the splash after
12195         its initial showing.
12196
12197         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12198         (create_forms): no longer call Dialogs::showSplash.
12199
12200 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * .cvsignore: add version_info.h
12203
12204 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12205
12206         * version_info.h.in: new file
12207
12208         * Makefile.am: add version_info.h.in
12209
12210         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12211         version_info.h instead of VERSION_INFO
12212
12213 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12214
12215         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12216         The ERT inset now returns string().
12217
12218 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12219
12220         * lyxtext.h, text.C (selectNextWord): renamed as
12221         selectNextWordToSpellcheck.
12222
12223         * text.C (selectNextWordToSpellcheck): Modified to not select
12224         words inside an ERT inset.
12225
12226 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * lyx_cb.C (MenuLayoutSave): change a bit the question
12229
12230         * sp_base.h: include <sys/types.h>
12231
12232 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12235
12236 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12237
12238         * several files: fix typos in user-visible strings
12239
12240 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12241
12242         * text2.C (pasteSelection): do not set the selection, since it
12243         will be cleared later. Actually, the intent was to fix the way the
12244         selection was set, but I figured rmoving the code was just as good.
12245
12246 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * FontLoader.C (available): Check if font is available without
12249         loading the font.
12250
12251 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12252
12253         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12254
12255 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * lyxrc.[Ch]: added display_graphics variable and associated code.
12258
12259 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12260
12261         * bufferparams.C (hasClassDefaults): new method. Returns true if
12262         the buffer parameters correspond to known class defaults
12263
12264 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * XFormsView.C (show): set minimum size to the main window.
12267
12268 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12269
12270         * text2.C (copySelection):
12271         (cutSelection):
12272         * lyxfind.C (LyXReplace):
12273         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12274         LyXText::selectionAsString.
12275
12276         * paragraph.C (asString): add "label" argument to the second form
12277
12278         * text2.C (selectionAsString): add "label" argument and pass it to
12279         Paragraph::asString.
12280
12281 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * lyx_main.C (commandLineHelp): remove version information
12284
12285 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12286
12287         * lyx_main.C: add -version commandline option
12288
12289 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * paragraph.h: make the optional constructor arg required instead.
12292         some modifications to other files because of this.
12293
12294         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12295
12296         * lyxserver.C (C_LyXComm_callback): make it static
12297
12298         * lyx_main.C (error_handler): make it static
12299
12300         * lyx_gui.C (LyX_XErrHandler): make it static
12301
12302         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12303
12304         * WorkArea.C: make the extern "C" methods static.
12305
12306         * Makefile.am (lyx_LDADD): simplify
12307
12308 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12311         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12312
12313         * LyXAction.C (init):
12314         * lyxfunc.C (dispatch): associated code removal.
12315
12316 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12317
12318         * lyxfont.h (isSymbolFont): shut off warning
12319
12320         * text.C (setHeightOfRow):
12321         (getVisibleRow): fix crash with empty paragraphs which have a
12322         bottom line
12323
12324 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12325
12326         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12327         code.
12328
12329 2001-09-04  José Matos  <jamatos@fep.up.pt>
12330         * buffer.C
12331         * buffer.h
12332         * tabular.C (docbook): rename docBook method to docbook.
12333
12334 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12335
12336         * Makefile.am: add dependencies to main.o.
12337
12338 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12339
12340         * FontLoader.C (available): Return false if !lyxrc.use_gui
12341
12342 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12343
12344         * FontInfo.C (query):
12345         * converter.C (view):
12346         * importer.C (Import):
12347         * exporter.C (Export): Can not -> cannot.
12348
12349 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView_pimpl.C: allow to create index inset even if
12352           string is empty
12353
12354 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12355
12356         * buffer.C (getLists): replace boost::tie code with an explicit pair
12357         as boost::tie can break some compilers.
12358
12359         * iterators.h: Added a std:: declaration to the return type of
12360         ParIterator::size.
12361
12362 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12365           case.
12366
12367 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * iterators.[Ch]: New files. Provide paragraph iterators.
12370
12371         * buffer.C (changeLanguage): Use paragraph iterators.
12372         (isMultiLingual): ditto
12373
12374         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12375
12376 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * FontLoader.C: Support for cmr font.
12379
12380 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12381
12382         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12383         (available): New method.
12384
12385         * FontInfo.C (getFontname): Use scalable fonts even when
12386         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12387         found.
12388
12389 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * converter.C (Formats::view): reverted! Incorrect fix.
12392
12393 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * converter.C (Formats::view): only output the -paper option
12396         if the dvi viewer is xdvi, thereby fixing bug #233429.
12397
12398 2001-08-23  Herbert Voss  <voss@perce>
12399
12400         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12401
12402 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12403
12404         * Spacing.h (Spacing): Set space to Default on in the default
12405         constructor.
12406
12407 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * vc-backend.h (RCS::versionString): add RCS to version
12410         (CVS::versionString): add CVS to version
12411
12412         * vc-backend.C (scanMaster): do not add CVS to version.
12413         (scanMaster): do not add RCS to version
12414
12415         * lyxvc.C (versionString): new method
12416
12417         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12418
12419 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * Spacing.C (set): initialize fval
12422
12423 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12426         " or \.
12427
12428 2001-08-16  Juergen Vigna  <jug@sad.it>
12429
12430         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12431
12432 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView_pimpl.C:
12435         * figureForm.C:
12436         * lyxtext.h:
12437         * text2.C: setParagraph takes linespacing now
12438
12439 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * LyxAction.C: add internal LFUN_CITATION_INSERT
12442
12443         * LyXView.C: actually apply fix
12444
12445         * bufferlist.C: fix open non-existent file
12446
12447         * lyxfind.C: fix indentation
12448
12449         * lyxfunc.C: remove unneeded assert, fix typo
12450
12451 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * MenuBackend.C: use "Floatname List"
12454
12455 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12458         when converting LaTeX layout to insetERT.
12459         Generate a non-collapsed float when reading old float
12460
12461 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12462
12463         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12464         ERT insets.
12465
12466 2001-08-13  Juergen Vigna  <jug@sad.it>
12467
12468         * text.C (fill): return 0 instead of 20 as this seems to be the more
12469         correct value.
12470
12471 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12472
12473         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12474         lyxrc.font_norm.
12475
12476 2001-08-13  Juergen Vigna  <jug@sad.it>
12477
12478         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12479         casesensitive off.
12480         (SearchBackward): comment out the unlocking of the inset_owner this
12481         should not be needed!
12482
12483 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * Many files: Remove inherit_language, and add latex_language
12486
12487         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12488         collapsible insets.
12489
12490 2001-08-10  Juergen Vigna  <jug@sad.it>
12491
12492         * text.C (prepareToPrint): fixed hfill-width in draw!
12493
12494         * BufferView2.C (selectLastWord): save the selection cursor as this
12495         now is cleared in the function LyXText::clearSelection!
12496
12497 2001-08-08  Juergen Vigna  <jug@sad.it>
12498
12499         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12500         BACKSPACE type functions.
12501
12502         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12503         is only cutted from the document but not put in the cut-buffer, where
12504         still the old stuff should be.
12505
12506         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12507
12508         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12509
12510         * tabular.C (SetWidthOfCell): fixed special case where the width
12511         was not updated!
12512         (LeftLine): handle '|' in align_special.
12513         (RightLine): ditto
12514         (LeftAlreadyDrawed): ditto
12515         (SetWidthOfCell): ditto
12516
12517 2001-08-07  Juergen Vigna  <jug@sad.it>
12518
12519         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12520
12521 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12524         * lyxlex.[hC]: ditto
12525
12526 2001-08-06  Juergen Vigna  <jug@sad.it>
12527
12528         * text.C (getVisibleRow): fix up row clearing a bit.
12529
12530 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * minibuffer.C: make sure the X server sees the changes in the input.
12533
12534 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12535
12536         * paragraph.C (getFont): split into...
12537         (getLabelFont): this
12538         (getLayoutFont): and this
12539         * paragraph_pimpl.C (realizeFont): calling this
12540
12541         * text2.C (getFont): split into...
12542         (getLayoutFont): this
12543         (getLabelFont): and this
12544         (realizeFont): all three calling this
12545
12546         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12547         files where used.
12548
12549 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12550
12551         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12552
12553 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12554
12555         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12556         layouts from the Quote inset insertion.
12557
12558 2001-08-03  Juergen Vigna  <jug@sad.it>
12559
12560         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12561
12562         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12563         only if status not is already CHANGED_IN_DRAW (second level).
12564
12565         * text.C (draw): don't set the need_break_row when inside an
12566         InsetText LyXText.
12567
12568 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * buffer.C (parseSingleLyXformat2Token): handle more latex
12571         conversion cases.
12572
12573         * bufferview_funcs.[hC]: change function names to
12574         begin with small char, adjust other files.
12575
12576 2001-08-02  André Pönitz <poenitz@gmx.net>
12577
12578         * lyxfunc.C:
12579         BufferView_pimpl.C: remove broken special code for math-greek
12580
12581 2001-08-02  Juergen Vigna  <jug@sad.it>
12582
12583         * BufferView_pimpl.C (update): redone this function so that we
12584         update the text again if there was a CHANGE_IN_DRAW.
12585
12586         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12587         (drawFromTo): added a new internal bool which is used by draw() and
12588         redraw() function.
12589         (general): some cursor drawing problems fixed.
12590
12591 2001-08-01  Juergen Vigna  <jug@sad.it>
12592
12593         * lyxfind.C (LyXFind): fixed
12594         (SearchForward): ditto
12595         (SearchBackward): ditto
12596
12597         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12598         spurius drawing of the cursor in the main area.
12599
12600         * text2.C (status): small fix which could lead to a segfault!
12601         (clearSelection): remove unneeded BufferView param.
12602
12603 2001-08-01  André Pönitz <poenitz@gmx.net>
12604
12605         * lyxfunc.C: small change due to changed mathed interface
12606
12607 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12608
12609         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12610
12611 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * lyxfunc.c: fail gracefully if file doesn't exist
12614
12615         * LyXSendto.C:
12616         * buffer.C:
12617         * lyxfunc.C:
12618         * BufferView_pimpl.C: IsDirWriteable() proto changed
12619
12620         * LyXView.C: fix updateWindowTitle() to store the last title
12621
12622 2001-07-31  Juergen Vigna  <jug@sad.it>
12623
12624         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12625         the font (wrong since using of Paragraph::highestFontInRange).
12626
12627         * paragraph.C (highestFontInRange): added a default_size parameter.
12628
12629         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12630         (setHeightOfRow): reformat
12631
12632 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * converter.[hC] + affected files: move to (inital-char)lowercase
12635         function names.
12636
12637         * ParagraphParameters.C (ParagraphParameters): remove commented code
12638
12639         * PainterBase.[Ch]: remove commented code
12640
12641         * LaTeXFeatures.h: add "bool floats" for float.sty
12642
12643         * LaTeXFeatures.C (LaTeXFeatures): init floats
12644         (require): handle float
12645         (getPackages): do it with floats
12646
12647 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12648
12649         * BufferView_pimpl.C (Dispatch): improve handling of
12650         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12651
12652         * commandtags.h: #include lyxfont.h here temporarily to avoid
12653         keybinding bug.
12654
12655         * bufferlist.h: include LString.h here.
12656
12657 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * text2.C (getStringToIndex): new method.
12660
12661 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12662
12663         * *: Reduced header file dependencies all over.
12664
12665 2001-07-30  Baruch Even  <baruch@lyx.org>
12666
12667         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12668
12669 2001-07-29  Baruch Even  <baruch@lyx.org>
12670
12671         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12672
12673 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12674
12675         * ParameterStruct.h (endif): add a default constructor to make
12676         sure that all variables is initialized.
12677
12678         * ParagraphParameters.C (ParagraphParameters): adjust
12679
12680 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12683         index; also, check that there is something to index, and that it
12684         does not span over several paragraphs.
12685         (doubleClick): use WHOLE_WORD_STRICT for double click.
12686
12687         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12688
12689         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12690         scheme.
12691
12692 2001-07-26  Baruch Even  <baruch@lyx.org>
12693
12694         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12695         an InsetFig figure, backwards compatible reading of old figure code.
12696
12697 2001-07-27  Juergen Vigna  <jug@sad.it>
12698
12699         * text2.C: font.realize function adaption.
12700
12701         * text.C (draw): add a warnings lyxerr text if needed.
12702
12703         * layout.C: font.realize function adaption.
12704
12705         * language.C: add inherit_language and implement it's handlings
12706
12707         * bufferview_funcs.C (StyleReset): remove language parameter from
12708         font creation (should be language_inherit now).
12709
12710         * bufferparams.C (writeFile): handle ignore_language.
12711
12712         * paragraph.C (getFontSettings): the language has to be resolved
12713         otherwise we have problems in LyXFont!
12714
12715         * lyxfont.C (lyxWriteChanges): added document_language parameter
12716         (update): removed unneeded language parameter
12717
12718         * paragraph.C (validate): fixed wrong output of color-package when
12719         using interface colors for certain fonts in certain environments,
12720         which should not seen as that on the final output.
12721
12722 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * BufferView_pimpl.C:
12725         * Thesaurus.h:
12726         * Thesaurus.C:
12727         * Makefile.am:
12728         * commandtags.h:
12729         * LyXAction.C: add thesaurus support
12730
12731         * lyxfind.h:
12732         * lyxfind.C: add "once" parameter, for thesaurus, to not
12733           move to the next match
12734
12735 2001-07-26  Juergen Vigna  <jug@sad.it>
12736
12737         * lyxfont.C (realize): honor ignore_language too!
12738         (resolved): ditto.
12739
12740         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12741
12742         * text.C (draw): one place more for ignore_language to not draw
12743         itself!
12744
12745 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12748
12749 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12752         the minipage conversion problem.
12753
12754 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12757         insert an inset.
12758
12759 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * BufferView.h: don't forward declare WorkArea
12762
12763         * BufferView.C: don't include WorkArea.h
12764
12765 2001-07-25  André Pönitz <poenitz@gmx.net>
12766
12767         * commandtags.h:
12768         * LyXAction.C:
12769         * lyxfunc.C:  new LFUN 'math-space'
12770
12771         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12772
12773 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * text2.C (toggleInset): call open/close
12776
12777 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * lyxfunc.C (dispatch): add debug for the disabled case
12780
12781         * font.C (buttonText): make similar to rectText
12782
12783         * buffer.C (readInset): comment out parsing of insetlist and
12784         insttheorem
12785
12786         * PainterBase.C (rectText): small correction
12787
12788         * BufferView_pimpl.C: comment out insettheorem and insetlist
12789         * LyXAction.C: ditto
12790         * commandtags.h: ditto
12791
12792 2001-07-24  Juergen Vigna  <jug@sad.it>
12793
12794         * text.C (draw): honor the ignore_language.
12795
12796         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12797
12798 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12801         char inset.
12802
12803 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12804
12805         * lyxtext.h: remove unused (and unimplemented) methods
12806
12807 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12808
12809         * text.C (getVisibleRow): honor background color
12810
12811         * PainterBase.h:
12812         * Painter.h: remove default color argument for fillRectangle
12813
12814         * text.C (backgroundColor): new method
12815
12816 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * text.C (getVisibleRow): adjust
12819
12820         * font.[Ch] (rectText): new method, metrics
12821         (buttonText): new method, metrics
12822
12823         * PainterBase.[hC]: make rectText and buttonText always draw and take
12824         fewer paramteres.
12825
12826 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12827
12828         * ToolbarDefaults.C (read):
12829         * MenuBackend.C (read): allow escaping in all strings
12830
12831         * BufferView_pimpl.C (insertAndEditInset): new method.
12832         (Dispatch): use insertAndEditInset whenever appropriate.
12833
12834         * BufferView_pimpl.C (insertNote): removed
12835
12836         * BufferView_pimpl.C (smartQuote): new method, moved from
12837         BufferView; if an insetquote cannot be inserted, insert a '"'
12838         character instead.
12839
12840         * BufferView2.C: remove insertCorrectQuote();
12841
12842         * lyxfunc.C (getStatus): Add support for all remaingin
12843         inset-insert lfuns.
12844
12845         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12846
12847         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12848         command (necessary to pass " as parameter of self-insert.
12849
12850         * text.C (selectWordWhenUnderCursor):
12851         (selectWord): add word_location parameter
12852         (selectWordWhenUnderCursor): same + remove special code for word
12853         boundary.
12854         (selectNextWord): use kind() to guess type of insetspecialchar,
12855         not latex().
12856
12857         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12858         (insertErtContents): create ert insets as collapsed.
12859         (readInset): better compatibility code for Info inset.
12860
12861 2001-07-20  Juergen Vigna  <jug@sad.it>
12862
12863         * lyxfunc.C (dispatch): use always LyXFind now!
12864
12865         * text2.C (init): add a reinit flag so that the LyXText can be
12866         reinited instead of deleted and reallocated (used in InsetText).
12867
12868         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12869
12870         * text.C: ditto
12871
12872         * text2.C: ditto
12873
12874 2001-07-18  Juergen Vigna  <jug@sad.it>
12875
12876         * text.C (selectNextWord): handle insets inside inset by calling
12877         always the bv->text functions so that we can go up the_locking_inset!
12878
12879         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12880         in strange locations when inside an inset!
12881
12882         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12883         handling to include insets.
12884
12885         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12886
12887 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * LyXAction.C (init):
12890         * commandtags.h:
12891         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12892         LIGATURE_BREAK, since the name is so stupid.
12893
12894 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12895
12896         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12897         InsetInfos.
12898
12899         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12900
12901         * sp_form.[Ch]: remove.
12902
12903         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12904
12905         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12906         InsetInfo.
12907
12908         * src/buffer.C (readInset): ditto.
12909
12910 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12911
12912         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12913         menuSeparator(), endOfSentenceDot(), ldots() and
12914         hyphenationPoint(), which are therefore removed.
12915         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12916
12917         * LyXAction.C (init):
12918         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12919
12920         * paragraph.C (getWord): removed.
12921
12922         * BufferView_pimpl.C (Dispatch): use last word or selection for
12923         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12924
12925         * lyx_main.C (queryUserLyXDir): do not ask before creating
12926         user_dir, except if it has been named explicitely.
12927
12928 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12929
12930         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12931         a document of zero size.
12932
12933 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12934
12935         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12936         approriately in the c-tor and in require().
12937         (getPackages): output the appropriate LaTeX for natbib support.
12938
12939         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12940         variables "use_natbib" and "use_numerical_citations" when reading the
12941         LyX file.
12942         (readInset): read the various natbib cite commands.
12943         (validate): white-space change.
12944
12945         * bufferparams.[Ch]: new variables "bool use_natbib" and
12946         "bool use_numerical_citations".
12947         (writeFile): output them in the LyX file.
12948
12949 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12950
12951         * lyxfunc.C (getStatus): add support for all the inset insertion
12952         commands.
12953
12954         * text2.C (insertInset):
12955         * paragraph.C (insetAllowed):
12956         * BufferView_pimpl.C (insertInset): update to take in account the
12957         renaming of insertInsetAllowed
12958
12959         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12960
12961         * text2.C (getInset): new method. returns inset at cursor position.
12962
12963         * BufferView_pimpl.C (Dispatch): changes because of this.
12964
12965         * LyXAction.C (init): rename open-stuff to inset-toggle.
12966
12967         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12968
12969         * text2.C (toggleInset): renamed from openStuff; use
12970         Inset::open().
12971
12972 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12973
12974         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12975
12976         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12977
12978 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12979
12980         * buffer.C (readLyXformat2): Add filename to the error dialog
12981
12982 2001-07-18  Juergen Vigna  <jug@sad.it>
12983
12984         * tabular.C (GetCellNumber): put an assert here instead of the check!
12985
12986 2001-07-17  Juergen Vigna  <jug@sad.it>
12987
12988         * BufferView_pimpl.C (toggleSelection): adapted too.
12989
12990         * text.C (selectNextWord): adapted for use with insets.
12991         (selectSelectedWord): ditto
12992
12993 2001-07-17  Juergen Vigna  <jug@sad.it>
12994
12995         * sp_spell.C (PSpell): fix initialitation order.
12996
12997 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * paragraph.C: spacing
13000
13001 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13002
13003         * sp_spell.C: repair language selection for pspell
13004
13005 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * lyxfunc.h: change more methods to begin with lower char.
13008
13009 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13012         for unknown layouts.
13013
13014 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * buffer.C (readLyXformat2): Generate an error dialog if there are
13017         unknown layouts.
13018
13019 2001-07-16  Juergen Vigna  <jug@sad.it>
13020
13021         * sp_spell.C: always compile ISpell part.
13022
13023         * lyxrc.C: added use_pspell entry and it's handling.
13024
13025 2001-07-13  Juergen Vigna  <jug@sad.it>
13026
13027         * sp_spell.C: removed double includes.
13028
13029 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         Consistent use of Lsstream.h:
13032         * Lsstream.h: added using std::stringstream for consistencies sake.
13033
13034         * buffer.C: removed using std::stringstream
13035
13036         * lyxfont.C (stateText):
13037         * paragraph.C (asString):
13038         * text.C (selectNextWord, selectSelectedWord):
13039         * text2.C (setCounter):
13040         * vspace.C (asString, asLatexString):
13041         std::ostringstream -> ostringstream.
13042
13043 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13044
13045         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13046         * commandtags.h: add LFUN_HELP_ABOUTLYX
13047         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13048
13049 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13050
13051         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13052         cursorToggle()
13053         * lyx_gui_misc.C: remove spellchecker
13054         * lyxfunc.C: showSpellchecker
13055         * sp_base.h: added
13056         * sp_ispell.h: added
13057         * sp_pspell.h: added
13058         * sp_spell.C: added
13059         * sp_form.[Ch]: removed
13060         * spellchecker.[Ch]: removed
13061
13062 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13063
13064         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13065         is set.
13066         (simpleTeXSpecialChars): Simply print the input character without
13067         any special translation if pass_thru is set.
13068
13069         * layout.h: Added bool pass_thru to layout class for being able to
13070         implement pass through of a paragraph for Literate Programming.
13071
13072         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13073         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13074         * layout.C (Read): add "passthru" to list of layout tags and add
13075         code to set the pass_thru boolean when it is read.
13076
13077 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * trans_decl.h: remove allowed from KmodInfo
13080
13081         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13082         remove allowed code
13083         (Load): adjust
13084
13085         * paragraph_pimpl.C (erase): use boost::prior
13086
13087         * Painter.C (text): use data() instead of c_str() when length is
13088         also provided.
13089         * WorkArea.C (putClipboard): ditto
13090         * font.h (width): ditto
13091
13092         * BufferView2.C: use it-> instead of (*it). for iterators
13093         * texrow.C: ditto
13094         * paragraph_pimpl.C: ditto
13095         * paragraph.C: ditto
13096         * minibuffer.C: ditto
13097         * language.C: ditto
13098         * kbmap.C: ditto
13099         * encoding.C: ditto
13100         * counters.C: ditto
13101         * converter.C: ditto
13102         * chset.C: ditto
13103         * Variables.C: ditto
13104         * TextCache.C: ditto
13105         * MenuBackend.C: ditto
13106         * LyXAction.C: ditto
13107         * LColor.C: ditto
13108         * FloatList.C: ditto
13109         * DepTable.C: ditto
13110         * ColorHandler.C (LyXColorHandler): ditto
13111
13112 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13115
13116         * text2.C (openStuff): reintroduce this method (which had been
13117         nuked in NEW_INSETS frenzy).
13118
13119         * lyxfunc.C (Dispatch): when an action has not been handled, use
13120         its name in the error message, not its number.
13121
13122         * paragraph.C (inInset): change method name to begin with lowercase.
13123
13124         * undo_funcs.C:
13125         * text2.C: updates because of this.
13126
13127 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * ToolbarDefaults.C (add): add spaces in error message
13130
13131 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13134         (readLyXformat2): rename return_par to first_par, use lyxlex's
13135         pushToken and remove the manual push handling.
13136         (parseSingleLyXformat2Token): add another ert comp. variable:
13137         in_tabular, rename return_par to first_par. handle newlines better
13138
13139 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13142
13143 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * text2.C (getParFromID): removed
13146
13147         * buffer.C (getParFromID): new method moved form lyxtext.
13148         * BufferView2.C (insertErrors): adjust
13149         (setCursorFromRow): adjust
13150         * BufferView_pimpl.C (restorePosition): adjust
13151         * lyxfunc.C (Dispatch): adjust
13152         * undo_funcs.C (textUndo): adjust
13153         (textRedo): adjust
13154         (textHandleUndo): adjust
13155         (textHandleUndo): adjust
13156
13157 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * buffer.C: up' the LYX_FORMAT
13160
13161         * lyxfont.h: turn NO_LATEX on as default
13162
13163         * buffer.C (insertErtContents): new methods of tex style compability.
13164         (parseSingleLyXformat2Token): use it several places.
13165         * tabular.C (OldFormatRead): and here
13166
13167 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * text2.C: remove some commented code.
13170         reindent file.
13171
13172         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13173         * trans.C: changes because of the above.
13174
13175 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * text2.C (setCounter): Fix counters bug with bibliography layout.
13178
13179 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13182         own member functions
13183         (simpleTeXSpecialChars): ditto
13184
13185 2001-07-06  Juergen Vigna  <jug@sad.it>
13186
13187         * a lot of files: changed the access to LyXText::status and the
13188         call of undo-functions.
13189
13190         * undo.[Ch]: added a inset_id to the undo informations.
13191
13192         * undo_funcs.[Ch]: added and moved here all undo functions.
13193
13194         * lyxtext.h: give the status enum a weight, made status_ a private
13195         variable and made accessor functions for it, removed the whole bunch
13196         of undo-functions as they are now in their own file, make some
13197         functions publically available. Added function ownerParagraph with
13198         int parameter.
13199
13200         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13201         made InInset() a const function, added getParFromID() function.
13202
13203         * buffer.[Ch]: added const version for inset_iterator functions,
13204         added getInsetFromID() function.
13205
13206         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13207         changed undo functions for new version.
13208
13209 2001-07-05  Juergen Vigna  <jug@sad.it>
13210
13211         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13212         unknow mechanism does not call the proper constructor but only this
13213         one also if I request the other!?
13214
13215 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13218
13219         * text2.C (LyXText): use initialization lists.
13220
13221         * lyxtext.h (Selection): initialize set_ and mark_
13222         (init): remove method
13223
13224 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13225
13226         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13227
13228 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * screen.[Ch]: change method names to begin with lowercase
13231
13232         * BufferView_pimpl.C (updateScrollbar): simplify further and
13233         hopefully make it a bit faster.
13234
13235 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13238         calling directly xforms functions.
13239
13240         * Painter.C (Painter):
13241         * lyx_cb.C (MenuWrite):
13242         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13243         fl_display.
13244
13245         * lyx_gui.C: remove bogus guiruntime extern declaration.
13246
13247 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13250         in NEW_INSETS
13251         (redoDrawingOfParagraph): ditto
13252         (redoParagraphs): ditto
13253         (cutSelection): don't create a object for CutAndPaste use the
13254         static method directly
13255         (pasteSelection): ditto
13256
13257         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13258         LyXview (+ rename)
13259
13260 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * modifications to some other files because of this.
13263
13264         * Makefile.am (lyx_SOURCES): add XFormsView
13265
13266         * XFormsView.[Ch]: new files
13267
13268         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13269         the main window. Move the gui dependent stuff to XFormsView
13270
13271 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * tabular.C (GetCellInset): update cur_cell also in the row/col
13274         version of this function.
13275
13276         * lyxfunc.C: no need to include figure_form.h here.
13277
13278         * FontLoader.h:
13279         * lyxfunc.h:
13280         * lyxscreen.h:
13281         * text2.C:
13282         * lyxvc.C: no need to include forms.h here.
13283
13284 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13287
13288         * lyxfunc.C (Dispatch):
13289         * Spacing.C (set):
13290         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13291         constructor argument.
13292
13293 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * paragraph.C (Paragraph): dont't clear, and just set layout.
13296         (makeSameLayout): use params's copy contructor.
13297
13298         * ParagraphParameters.[Ch] (makeSame): delete method
13299
13300 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * Variables.[Ch]: fix indentation, rename set to isSet
13303
13304 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * lyxfunc.C (Dispatch): fix typo
13307
13308 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13311         upper_bound.
13312
13313         * bufferlist.C: include assert.h for emergencyWrite().
13314
13315 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13318           give up at last (bug #425202) !
13319
13320 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * lyx_gui_misc.C:
13323         * sp_form.h:
13324         * sp_form.C:
13325         * spellchecker.h:
13326         * spellchecker.C: strip spellchecker options and bring up
13327           preferences tab instead
13328
13329 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13332         the istringstream constructor
13333
13334 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * paragraph.C (getLayout): fix return value
13337
13338         * paragraph.h: do not declare getLayout as inline.
13339
13340         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13341
13342 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * lyxcursor.h (operator<): new func
13345         (operator>): new func
13346         (operator>=): new func
13347         (operator<=): new func
13348
13349         * text.C (changeCase): use selection.start and selection.end
13350         (changeRegionCase): require from to be <= to. Require par to be a
13351         valid paragraph.
13352
13353         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13354
13355 2001-06-27  Juergen Vigna  <jug@sad.it>
13356
13357         * text.C (cursorLeftOneWord): changed to return the cursor and added
13358         overlay with BufferView * parameter which calls this one.
13359         (getWord): added
13360         (selectWord): use new getWord function.
13361         (changeCase): renamed from changeWordCase as and extended to work
13362         also on selections.
13363
13364         * lyxtext.h: added enum word_location
13365
13366         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13367         changeCase as this operates now also on selections.
13368
13369 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13370
13371         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13372
13373         * many files: send debug output to Debug::INFO instead of
13374         Debug::ANY.
13375
13376         * converter.C (View):
13377         (Convert):
13378         (Move): send debug output to Debug::FILES instead of console.
13379
13380 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13381
13382         * lyxfunc.C (getStatus): use func_status
13383
13384         * func_status.h: new header, describing the results of
13385         LyXFunc::getStatus;
13386
13387         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13388         LFUN_MATH_HALIGN.
13389
13390 2001-06-25  The LyX Project  <jug@sad.it>
13391
13392         * buffer.C (sgmlOpenTag):
13393         (sgmlCloseTag):
13394         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13395
13396 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * text2.C: remove some dead code
13399
13400         * tabular.C (GetCellInset): store the last cell checked (gotten)
13401
13402         * tabular.h: add the helper for the speedup
13403
13404         * lyxtext.h: remove some dead code
13405
13406 2001-06-26  The LyX Project  <Asger>
13407
13408         * paragraph.C: Change export to LaTeX of alignment to
13409         \begin{center} and family for better roundtrip work with reLyX.
13410
13411         * Tune the math drawing a bit.
13412
13413 2001-06-25  The LyX Project  <Asger>
13414
13415         * LColor.C (LColor): New color for math background. New color
13416         for buttons.
13417
13418 2001-06-25  The LyX Project  <jug@sad.it>
13419
13420         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13421
13422         * lyxfunc.C (Open):
13423         * bufferlist.C (newFile): do not restrict to files ending with
13424         .lyx
13425
13426         * BufferView_pimpl.C (MenuInsertLyXFile):
13427
13428 2001-06-24  The LyX Project  <jug@sad.it>
13429
13430         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13431         of compare_no_case
13432
13433 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * lyxtext.h: rename most methods to begin with a small char.
13436         Lots of changes because of this.
13437
13438         * paragraph.C (Paragraph): do not call fitToSize
13439         (erase): call Pimpl::erase
13440         (insertChar): call Pimpl::insertChar
13441         (insertInset): call Pipl::insertInset
13442         (breakParagraph): do not call fitToSize
13443         (breakParagraphConservative): do not call fitToSize
13444         (fitToSize): remove method
13445
13446         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13447
13448 2001-06-24  The LyX Project  <Asger>
13449
13450         * Fix Qt compilation^2
13451
13452 2001-06-24  The LyX Project  <jug@sad.it>
13453
13454         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13455         depthHook(getDepth()-1).
13456
13457         * paragraph.h:
13458         * ParagraphParameters.h:
13459         * ParameterStruct.h: change type of depth to unsigned int ==
13460         depth_type. Many adaptations to other files before of that.
13461
13462 2001-06-24  The LyX Project  <Asger>
13463
13464         * Fix Qt compilation.
13465
13466 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * paragraph.h: renamed several methods to begin with small letter.
13469         several changes to many parts of the code because of this.
13470
13471 2001-06-23  The LyX Project  <jug@sad.it>
13472
13473         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13474         rewritten to discard all double spaces when KeepEmpty is off
13475         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13476         to only handle newlines but not fiddle with spaces and friends.
13477
13478         * lyxfunc.C (MenuNew): when doing 'new from template', use
13479         template_path as default directory
13480
13481 2001-06-23  The LyX Project  <Asger>
13482
13483         * Clean-up of header file includes all over
13484         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13485
13486 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487
13488         * paragraph.h: renamed from lyxparagraph.h
13489
13490 2001-06-23  Asger  <lyx@violet.home.sad.it>
13491
13492         * Buffer.h: Removed Buffer::resize
13493         * BufferList.h: Removed BufferList::resize
13494         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13495         the document lazily when we change the width, or the font settings.
13496
13497 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13500
13501 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * buffer.h: remove out of date comment
13504
13505 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * lyxscreen.h:
13508         * screen.C: fix "theoretical" GC leak
13509
13510 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * LaTeX.C (scanAuxFile):
13513         (deplog): remove trailing \r when reading stream (useful under
13514         win32)
13515
13516 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13517
13518         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13519         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13520         and BufferView::theLockingInset(Inset*), so should use them and not
13521         access bv_->text->the_locking_inset directly.
13522
13523         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13524
13525 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * Makefile.am:
13528         * tex-defs.h: remove old unused file
13529
13530 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * BufferView_pimpl.C: fix typo, remove minibuffer message
13533           when buffer has loaded
13534
13535 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * lyxfunc.C (Dispatch): use stringstream
13538         (MenuNew): use stringstream
13539         (Open): use stringstream
13540
13541         * importer.C (Import): use stringstream
13542
13543         * bufferview_funcs.C (CurrentState): use stringstream
13544
13545         * LaTeX.C (run): use stringstream
13546
13547         * BufferView_pimpl.C (savePosition): use stringstream
13548         (restorePosition): use stringstream
13549         (MenuInsertLyXFile): use stringstream
13550
13551 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * BufferView.C:
13554         * Bullet.C:
13555         * ColorHandler.C:
13556         * FontInfo.C:
13557         * FontLoader.C:
13558         * LColor.C:
13559         * LaTeXFeatures.C:
13560         * Painter.C:
13561         * gettext.C:
13562         * lyx_gui_misc.C:
13563         * lyxserver.C:
13564         * vspace.C: removed // -*- C++ -*- as first line.
13565
13566         * lyxfind.h:
13567         * version.h: added // -*- C++ -*- as first line.
13568
13569 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13570
13571         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13572
13573         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13574         of string
13575
13576 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13579         of floats.
13580
13581 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * gettext.C: include LString.h even when --disable-nls is on.
13584
13585 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * converter.h (Get): changed argument type from int to
13588         FormatList::size_type to avoid unnecessary conversion.
13589
13590         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13591         before using it.
13592
13593 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * gettext.h: include LString.h even when --disable-nls is on.
13596
13597 2001-06-07  Juergen Vigna  <jug@sad.it>
13598
13599         * text.C (BreakAgain): subst spaces with tabs.
13600
13601         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13602         (resizeInsetsLyXText): set force on resizeLyXText.
13603
13604 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13605
13606         * gettext.h (gettext_init):
13607         (locale_init): use a real definition instead of a macro
13608
13609 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13610
13611         * Bufferview_pimpl.C:
13612         * LColor.h:
13613         * LColor.C: further lcolor tidies
13614
13615 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * BufferView_pimpl.C (updateScrollbar): simplify.
13618
13619         * BufferView2.C: don't include insets/insetinfo.h, change
13620         prototype for insertInset and call the Pimpl version. let
13621         updateInset call Pimpl version.
13622
13623         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13624         gotoInset to BufferView::Pimpl
13625
13626 2001-06-01  Juergen Vigna  <jug@sad.it>
13627
13628         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13629         inside a LockingInset (is the update needed at all?).
13630
13631 2001-05-31  Juergen Vigna  <jug@sad.it>
13632
13633         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13634         here not the old one otherwise how should we compare it afterwards
13635         if it's the same!
13636
13637 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * lyxfont.C:
13640         * tabular.C:
13641         * tabular-old.C:
13642         * FontInfo.C: bring C functions into global namespace when
13643         necessary
13644
13645 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * LString.h: make sure config.h has been loaded before LString.h.
13648
13649         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13650         (one for each char read by EatLine!).
13651
13652         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13653         variables.
13654
13655 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13658         to the same as the par we break from
13659
13660 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13663
13664         * MenuBackend.C (expand): also create menu entries for wide
13665         versions of the floats.
13666
13667         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13668
13669         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13670
13671         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13672         frontends/Makefile.am
13673
13674         * text2.C: adjust
13675         * text.C: adjust
13676
13677
13678         * tabular.C (getTokenValue): add std::
13679
13680         * tabular-old.C (getTokenValue): add std::
13681         (getTokenValue): ditto
13682         (getTokenValue): ditto
13683
13684         * screen.C (ToggleSelection): adjust
13685
13686         * lyxtext.h: put selection cursors inside a Selection struct.
13687
13688         * lyxfunc.C (moveCursorUpdate): adjust
13689
13690         * lyxfont.C (latexWriteStartChanges): add std::
13691
13692         * lyxfind.C: adjust
13693
13694         * font.h: delete with(char const *, LyXFont const &)
13695
13696         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13697
13698         * FontInfo.C (getFontname): add std::
13699
13700         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13701         (workAreaButtonPress): adjust
13702         (tripleClick): adjust
13703         (update): adjust
13704         (moveCursorUpdate): adjust
13705         (Dispatch): adjust
13706
13707         * BufferView2.C (gotoInset): adjust
13708
13709 2001-05-30  Juergen Vigna  <jug@sad.it>
13710
13711         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13712         to check pspell I add this as default as I now have new pspell
13713         libraries and they seem to use this.
13714
13715 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * text2.C (CutSelection): make the cursor valid before the call to
13718         ClearSelection.
13719
13720 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13721
13722         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13723         relied on 0 terminated strings and other horrors. Bug found due to
13724         the new assert in lyxstring!
13725
13726         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13727         KP_ keys.
13728
13729 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13732         to latinkeys.bind.
13733
13734         * lyxfunc.C (processKeySym): change method of getting to the
13735         self-insert char.
13736
13737         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13738         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13739         * BufferView_pimpl.[Ch]: here as private methods.
13740
13741 2001-05-28  Juergen Vigna  <jug@sad.it>
13742
13743         * text.C (SetHeightOfRow): added the update() call again as it is
13744         needed to initialize inset dimensions!
13745
13746 2001-05-16  Juergen Vigna  <jug@sad.it>
13747
13748         * text2.C (SetCharFont): Add new function with BufferView * and
13749         bool toggleall parameters for setting insets internal fonts.
13750         (SetFont): Freeze the undo as we may change fonts in Insets and
13751         all this change should be inside only one Undo!
13752
13753         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13754         setting font's in insets as for them we have the SetFont function!
13755
13756 2001-05-15  Juergen Vigna  <jug@sad.it>
13757
13758         * text2.C (ClearSelection): to be sure we REALLY don't have any
13759         selection anymore!
13760
13761         * tabular.C (TeXCellPreamble): fixed the left border problem for
13762         multicolumn cells.
13763
13764 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13767         dependancy file
13768
13769 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13772         LFUN_BREAKPARAGRAPH.
13773
13774         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13775         help test to "internal only", similar for LFUN_INSERT_URL
13776
13777         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13778         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13779         auto_region_delete and deadkeys.
13780
13781 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * LColor.h:
13784         * LColor.C: remove some dead entries, tidy a little
13785
13786 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13789         commented code.
13790         (Dispatch): implement LFUN_ESCAPE
13791
13792         * commandtags.h: add LFUN_ESCAPE
13793
13794         * LyXAction.C (init): add entry for LFUN_ESCAPE
13795
13796         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13797         Remove commented code.
13798         (insertNote): moved here
13799         (open_new_inset): moved here
13800
13801         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13802         BufferView_pimpl
13803
13804 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13805
13806         * kbmap.C (findbinding): clean it up and make it work correctly.
13807
13808         * lyx_main.C (init): do not pass argc and argv as parameters
13809
13810 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13811
13812         * buffer.C: fix path for OS/2 & Win32
13813
13814         * lyx_gui.C:
13815         * lyx_main:
13816         * lyx_main.C: Added os:: class.
13817
13818         * os2_defines.h: update
13819
13820 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13823         better by trying again with reduced state.
13824
13825 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * lyxrc.C (read): print error about invalid key sequence only when
13828         debugging (because not all latinX keysyms are known to some X
13829         servers)
13830
13831         * kbsequence.C (getiso): add a few std:: qualifiers
13832         (getiso): comment out extra return statement.
13833
13834 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13837         handling.
13838         (Dispatch): enhance the accent inset a bit. (not perfect)
13839
13840 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13843
13844 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * bufferlist.C (emergencyWrite): fix assert() call
13847
13848 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13849
13850         * text.C (InsertChar): Added trivial patch to only send the "you
13851         can not do multiple spaces this way" message once during a
13852         session.
13853
13854 2001-05-08  Baruch Even  <baruch@lyx.org>
13855
13856         * Makefile.am: Changed order of libraries to get LyX to link properly
13857         with the gnome frontend.
13858
13859 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * LaTeXFeatures.h: add a std:: qualifier
13862
13863 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * paragraph.C (String): use stringstream
13866
13867 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13868
13869         * paragraph.C (writeFile): remove footflag arg
13870
13871         * buffer.C (makeLaTeXFile): use stringstream
13872         (latexParagraphs): remove footnot gurba
13873
13874         * LaTeXFeatures.C (getPackages): use stringstream
13875         (getMacros): likewise
13876         (getTClassPreamble): likewise
13877         (getFloatDefinitions): new method
13878
13879         * paragraph.C (writeFile): reindent
13880         (Erase): reindent
13881
13882         * WorkArea.h: revert the xpos + etc changes.
13883
13884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13885
13886         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13887
13888         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13889         (pasteSelection): likewise
13890         * text2.C (CreateUndo): likewise
13891
13892 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * minibuffer.C (peek_event): temporarily reduce the functionality
13895         of the minibuffer (to allow args on lfuns)
13896
13897         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13898         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13899
13900         * buffer.C (readInset): add compability reading of old float
13901         lists, add reading of new style float list.
13902         (readInset): avoid reevaluation of inscmd.getCmdName()
13903         (getLists): reindent
13904
13905         * MenuBackend.C (MenuItem): implement parsing of
13906         md_floatlistinsert and md_floatinsert.
13907         (expand::LastFiles): move initalizaton of iterators out of loop,
13908         avoid reevaluation.
13909         (expand::Documents): introduce typdedef vector<string> Strings,
13910         and use it.
13911         (expand::ExportFormats): introduce typedef vector<Format const *>
13912         Formats, and use it.
13913         (expand): implement FloatListInsert and FloatInsert.
13914
13915         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13916         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13917         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13918
13919         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13920         handling.
13921         (Dispatch::LFUN_FLOAT_LIST): implement
13922
13923 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13924
13925         * LaTeX.C (run): Fix problem with --export code.
13926
13927 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13928
13929         * BufferView.[Ch] (workarea): removed.
13930         (getClipboard) new method; wrapper for workarea()->getClipboard()
13931
13932         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13933         bug.
13934
13935         * WorkArea.h (width, height, xpos, ypos): These methods all
13936         returned the dimensions of the work_area sub-area of WorkArea,
13937         resulting in a position error if the WorkArea were resized. Now
13938         return the dimensions of the entire WorkArea.
13939
13940         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13941
13942 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13943
13944         * LaTeX.C (deplog): correct the syntax of regex reg1
13945
13946 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13947
13948         * undo.C: remove !NEW_INSETS cruft
13949
13950 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * text2.C: remove !NEW_INSETS cruft
13953
13954         * text.C: remove !NEW_INSETS cruft
13955
13956         * tabular.C: remove !NEW_INSETS cruft
13957
13958         * spellchecker.C: remove !NEW_INSETS cruft
13959
13960         * lyxtext.h: remove !NEW_INSETS cruft
13961
13962         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13963
13964         * lyxfunc.C: remove !NEW_INSETS cruft
13965
13966         * lyxfind.C: remove !NEW_INSETS cruft
13967
13968         * lyx_cb.C: remove !NEW_INSETS cruft
13969
13970         * figureForm.C: remove  !NEW_INSETS cruft
13971
13972         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13973
13974         * buffer.[Ch]: remove !NEW_INSETS cruft
13975
13976         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13977
13978         * CutAndPaste.C: remove !NEW_INSETS cruft
13979
13980         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13981
13982         * BufferView2.C: remove !NEW_INSETS cruft
13983
13984         * BufferView.h: remove !NEW_INSETS cruft
13985
13986 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * Lsstream.h: include LString.h before the sstream headers to
13989         fix problem with gcc 2.95.3 and lyxstring
13990
13991 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * lyx_main.C: add using directives when needed for C functions
13994         declared in std:: namespace.
13995
13996 2001-04-27  Juergen Vigna  <jug@sad.it>
13997
13998         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13999         (SetHeightOfRow): comment out the update call should not be needed!
14000
14001 2001-04-13  Juergen Vigna  <jug@sad.it>
14002
14003         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14004         (LyXTabular): tried to minimize operator= operations (and realized
14005         hopfully Lars wish).
14006
14007 2001-04-27  Juergen Vigna  <jug@sad.it>
14008
14009         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14010
14011 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14014
14015         * buffer.C (readInset): hack to make listof algorithm work
14016
14017         * BufferView_pimpl.C: hack to make listof algorithm work
14018
14019 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * LyXAction.C: removed all !NEW_INSETS cruft
14022         (init): moved lfun_item in method
14023
14024         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14025
14026 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * BufferView2.C (theLockingInset): white space.
14029
14030 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14031
14032         * minibuffer.C: include <iostream>
14033
14034         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14035
14036         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14037
14038         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14039
14040         * text.[Ch] (TransposeChars): new method
14041
14042 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * call message directly through LyXView instead of through LyXFunc
14045         * BufferView2.C: adjust
14046         * BufferView_pimpl.C: adjust
14047         * FontLoader.C: adjust
14048         * buffer.C: adjust
14049         * bufferview_funcs.C: adjust
14050         * converter.C: adjust
14051         * figureForm.C: adjust
14052         * importer.C: adjust
14053         * lyx_cb.C: adjust
14054         * lyx_gui_misc.C: adjust
14055         * lyxfunc.C: adjust
14056         * lyxvc.C: adjust
14057         * text2.C: adjust
14058         + more files in subdirs
14059
14060         * lyxparagraph.h (size): move up int file
14061         (GetLayout): ditto
14062
14063         * adjust all uses of Assert to lyx::Assert.
14064
14065         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14066         lyxfunctional in namespace lyx
14067         * layout.C (hasLayout): ditto
14068         (GetLayout): ditto
14069         (GetLayout): ditto
14070         (delete_layout): ditto
14071         (NumberOfClass): ditto
14072         * converter.C (GetFormat): ditto
14073         (GetNumber): ditto
14074         (Add): ditto
14075         (Delete): ditto
14076         (SetViewer): ditto
14077         * bufferlist.C (getFileNames): ditto
14078         (emergencyWriteAll): ditto
14079         (exists): ditto
14080         (getBuffer): ditto
14081         * MenuBackend.C (hasSubmenu): ditto
14082         (hasMenu): ditto
14083         (getMenu): ditto
14084         * BufferView_pimpl.C (getInsetByCode): ditto
14085
14086 2001-04-18  Juergen Vigna  <jug@sad.it>
14087
14088         * vspace.C (asLatexString): fixed the 100% problem.
14089
14090 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14091
14092         * lyxfunc.C (Dispatch):
14093         * minibuffer.C:
14094         * minibuffer.h: add a few std:: qualifiers
14095
14096 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * minibuffer.[Ch]: reimplement so that commands is initiated and
14099         run from lyxfunc, simplified som handling, and made the completion
14100         and history code for complete. wip.
14101
14102         * lyxfunc.C (processKeySym): call message
14103         (miniDispatch): new temporary method
14104         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14105         (LFUN_MESSAGE): implement
14106         (LFUN_MESSAGE_PUSH): implement
14107         (LFUN_MESSAGE_POP): implement
14108         (initMiniBuffer): the initial/defualt minibuffer message.
14109
14110         * lyxfont.[Ch]: inline some more getters
14111
14112         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14113
14114         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14115
14116         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14117         (AutoSave): use LFUN_MESSAGE
14118         (Reconfigure): ditto
14119
14120         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14121
14122         * figureForm.C: use LFUN_MESSAGE
14123
14124         * converter.C (runLaTeX): use LFUN_MESSAGE
14125
14126         * bufferview_funcs.C: use LFUN_MESSAGE
14127         (Melt): ditto
14128         (changeDepth): ditto
14129
14130         * bufferparams.h: use boost::
14131
14132         * bufferlist.h: inherit privately from noncopyable
14133
14134         * bufferlist.C (loadLyXFile): remove some commented code.
14135
14136         * buffer.C (runChktex): use LFUN_MESSAGE
14137
14138         * ShareContainer.h: inherit privately from noncopyable
14139
14140         * ParagraphParameters.[hC] (depth): inline it.
14141
14142         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14143         methods.
14144         (message): new method
14145         (messagePush): ditto
14146         (messagePop): ditto
14147         (show): init minibuffer
14148         (showState): direct call
14149
14150         * LaTeX.[Ch]: inherit privately from noncopyable
14151         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14152         instead of WriteStatus.
14153
14154         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14155
14156         * BufferView_pimpl.C (buffer): don't init minibuffer
14157         (workAreaButtonPress): use LFUN_MESSAGE
14158         (workAreaButtonRelease): ditto
14159         (savePosition): ditto
14160         (restorePosition): ditto
14161         (MenuInsertLyXFile): ditto
14162         (workAreaExpose): don't init minibuffer
14163         (update): remove commented code, simplify
14164
14165         * BufferView2.C (openStuff): use LFUN_MESSAGE
14166         (toggleFloat): ditto
14167         (menuUndo): ditto
14168         (menuRedo): ditto
14169         (copyEnvironment): ditto
14170         (pasteEnvironment): ditto
14171         (copy): ditto
14172         (cut): ditto
14173         (paste): ditto
14174         (gotoInset): ditto
14175         (updateInset): remove some commented code
14176
14177         * lastfiles.h: inherit privately from noncopyable
14178         * layout.h: ditto
14179         * lyx_gui.h: ditto
14180         * lyx_main.h: ditto
14181         * lyxlex.h: ditto
14182         * lyxlex_pimpl.h: ditto
14183
14184         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14185         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14186         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14187
14188         * LyXAction.h: inherit privately from noncopyable, add methods
14189         func_begin, func_end, returning iterators to the func map.
14190
14191         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14192         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14193         (func_begin): new method
14194         (func_end): new method
14195
14196         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14197         and not)
14198         (copySelection): ditto
14199         (pasteSelection): ditto
14200
14201         * BufferView.C: whitespace change
14202         * BufferView.h: inherit privately from noncopyable
14203
14204 2001-04-16  Allan Rae  <rae@lyx.org>
14205
14206         * tabular-old.C (l_getline):
14207         * spellchecker.C (sc_check_word):
14208         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14209         an unrecognised preprocessor directive.  So ensure they're wrapped.
14210
14211 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * src/exporter.C (Export): Give an error message when path to file
14214         contains spaces.
14215
14216 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * LaTeX.C (deplog): Always check that foundfile exists.
14219
14220 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * lyx_main.h:
14223         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14224
14225 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * tabular.[Ch] (getLabelList): implement new method
14228
14229         * minibuffer.h: comment ouf setTiimer
14230
14231         * minibuffer.C (ExecutingCB): constify res
14232         (peek_event): constify s
14233         (Set): constify ntext
14234         (Init): constify nicename
14235
14236         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14237
14238         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14239         (savePosition): use two params to Minibuffer::Set
14240         (restorePosition): ditto
14241
14242 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * lyx_main.C: include language.h
14245
14246         * Makefile.am (lyx_main.o): add language.h
14247
14248 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * exporter.C:
14251         * paragraph.C:
14252         * screen.C:
14253         * tabular.C:
14254         * CutAndPaste.C: include gettext.h
14255
14256         * lyxfont.h: remove old hack with ON and OFF.
14257
14258         * lyxparagraph.h:
14259         * lyxfont.h: do not include language.h...
14260
14261         * BufferView2.C:
14262         * LaTeXFeatures.C:
14263         * Painter.C:
14264         * bufferview_funcs.C:
14265         * font.C:
14266         * lyxfont.C:
14267         * text.C:
14268         * text2.C:
14269         * trans_mgr.C:
14270         * paragraph.C: ... but do it here instead
14271
14272 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14275
14276         * tabular.C: small reformat
14277
14278         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14279         NEW_INSETS version
14280         (GetChar): ditto
14281         (BreakParagraph): ditto
14282         (SetOnlyLayout): ditto
14283         (SetLayout): ditto
14284
14285         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14286         with one arg less.
14287
14288         * lastfiles.C: removed most using decl, add std:: where needed
14289
14290         * buffer.C: ws changes
14291
14292         * MenuBackend.C (class compare_format): put into anon namespace
14293         (expand): constify label, names, action, action2
14294         (expand):
14295
14296         * text.C (SingleWidth): constify font
14297         (IsBoundary): constify rtl2
14298         (GetVisibleRow): constify ww
14299
14300         * LaTeX.C (deplog): constify logfile
14301
14302         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14303         start_x, end_x
14304         (workAreaExpose): constify widthChange, heightChange
14305
14306         * lyxrow.C (par): moved
14307         (height): moved
14308         (next): moved
14309         * lyxrow.h: as inlines here
14310
14311         * lyxfont.h (shape): moved from lyxfont.C
14312         (emph): moved from lyxfont.C
14313
14314         * lyxfont.C (LyXFont): use initialization list for all
14315         constructors
14316         (shape): move to lyxfont.h as inline
14317         (emph): move to lyxfont.h as inline
14318
14319
14320 2001-04-04  Juergen Vigna  <jug@sad.it>
14321
14322         * vspace.C: had to include stdio.h for use of sscanf
14323
14324 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14325
14326         * BufferView.h:
14327         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14328         independent of xforms.
14329
14330 2001-04-02  Juergen Vigna  <jug@sad.it>
14331
14332         * spellchecker.C: fixed namespace placing!
14333
14334 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14337         the LyXParagraph * is 0.
14338
14339 2001-03-29  Juergen Vigna  <jug@sad.it>
14340
14341         * vspace.C: added support for %, c%, p%, l%.
14342         (stringFromUnit): added helper function.
14343         (asLatexString): changed to give right results for the %-values.
14344
14345         * buffer.C: convert the widthp in a width%.
14346
14347 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14350         figureForm.[Ch].
14351
14352         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14353         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14354
14355         * lyx_cb.[Ch]: see above.
14356
14357         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14358         form1.[Ch].
14359
14360         * form1.[Ch]:
14361         * lyx.[Ch]: replaced by figure_form.[Ch].
14362
14363         * lyx_gui.C:
14364         * lyx_gui_misc.C:
14365         * lyxfunc.C: changed headers associated with above changes.
14366
14367 2001-03-27  Juergen Vigna  <jug@sad.it>
14368
14369         * BufferView_pimpl.C: set the temporary cursor right!
14370
14371 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14372
14373         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14374
14375 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14376
14377         * LString.h: removed "using std::getline"!
14378
14379         * BufferView_pimpl.C (Dispatch): changes due to changes in
14380         InsetInclude::Params.
14381
14382         * buffer.C (tag_name): removed redundant break statements as they were
14383         producing lots of warnings with my compiler.
14384
14385 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * LString.h: add "using std::getline" when using the real <string>.
14388
14389 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14390
14391         * buffer.C: removed bitset usage.
14392         PAR_TAG moved to an anonymous name space.
14393         (tag_name): new funtion, also in the anonymous namespace.
14394         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14395         (makeDocBookFile): clean code. Completed transition from string arrays
14396         to string vectors.
14397         (SimpleDocBookOnePar): code clean.
14398
14399 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14400
14401         * tabular.C: add some comments.
14402
14403 2001-03-22  Juergen Vigna  <jug@sad.it>
14404
14405         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14406         compatibility read a bit and fixed bug with minipage in different
14407         depth.
14408
14409 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14410
14411         * buffer.C (pop_tag): removed.
14412         (push_tag): removed.
14413         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14414         array replaced with vector. Added support for CDATA sections.
14415         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14416         at any nest level.
14417         (makeDocBookFile): XML conformant declaration of CDATA section,
14418         fixed bug related to <emphasis> in the first paragraph char.
14419         (sgmlOpenTag): exclude empty tags.
14420         (sgmlCloseTag): ditto.
14421
14422         * buffer.h (pop_tag): removed.
14423         (push_tag): removed.
14424
14425 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * language.h (Languages): added size_type and size().
14428
14429 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14430
14431         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14432         response on compability reading of minipages. One probliem is that
14433         the old usage of minipages was «flertydig»
14434
14435         * several files here and in subdirs: don't use static at file
14436         scope use anon namespaces instead.
14437
14438 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14439
14440         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14441         LaTeX output. This is necessary for Literate document
14442         processing.
14443
14444 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14445
14446         * buffer.C: insert hfill when needed.
14447
14448         * tabular.C (l_getline): use string::erase, small whitespace change.
14449
14450         * BufferView_pimpl.C: try the anon namespace.
14451         * WorkArea.C: ditto
14452
14453 2001-03-16  Juergen Vigna  <jug@sad.it>
14454
14455         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14456         otherwise it won't open options-dialogs.
14457
14458         * buffer.C: honor pextraWidth(p) on converting minipages.
14459
14460         * tabular.C (l_getline): changed the functions to strip trailing \r.
14461
14462 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14463
14464         * BufferView_pimpl.C:
14465         * minibuffer..C: added "using SigC::slot" declaration.
14466
14467 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14468
14469         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14470
14471         * text2.C: ditto
14472
14473         * text.C: ditto
14474
14475         * paragraph.C: ditto
14476
14477         * lyxtext.h: NO_PEXTRA
14478
14479         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14480
14481         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14482         * ParameterStruct.h: ditto
14483         * ParagraphParameters.h: ditto
14484         * lyxparagraph.h: ditto
14485
14486 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14487
14488         * buffer.C: add compability for minipage alignment.
14489         (latexParagraphs): remove unwanted pextra check.
14490
14491         * several files: remove CXX_WORKING_NAMESPACES
14492
14493         * buffer.C (pop_tag): tie is in namespace boost
14494
14495         * BufferView.h: noncopyable is in namespace boost
14496         * lyxlex.h: ditto
14497         * lyx_main.h: ditto
14498         * lyx_gui.h: ditto
14499         * layout.h: ditto
14500         * lastfiles.h: ditto
14501         * bufferlist.h: ditto
14502         * ShareContainer.h: ditto
14503         * LyXView.h: ditto
14504         * LyXAction.h: ditto
14505         * LaTeX.h: ditto
14506
14507 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14508
14509         * Merging changes from BRANCH_MVC back into HEAD.
14510
14511         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14512
14513 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14514
14515         * BufferView_pimpl.C: change from intl.C
14516
14517         * combox.h:
14518         * combox.C:
14519         * Makefile.am: move combox.*
14520
14521         * form1.h:
14522         * form1.C:
14523         * lyx_gui.C:
14524         * intl.h:
14525         * intl.C: remove dialog (covered by prefs)
14526
14527 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         * lyxfunc.C (Dispatch): removed redundant break statement.
14530
14531 2001-03-14  Juergen Vigna  <jug@sad.it>
14532
14533         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14534
14535 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14536
14537         * buffer.C: add hack to fix compability reading of minipages.
14538
14539 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14540
14541         * buffer.C (getLists): Cleanup.
14542
14543 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * lyxfont.C (update): don't honor toggleall on font size.
14546
14547 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14548
14549         * bmtable.c:
14550         * bmtable.h:
14551         * Makefile.am: moved to frontends/xforms/
14552
14553         * lyx_gui_misc.C:
14554         * lyxfunc.C:
14555         * BufferView_pimpl.C: changes for moved mathpanel
14556
14557 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * gettext.h: fix gettext_init() in --disable-nls
14560
14561 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14564
14565 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * lyx.C:
14568         * lyx.h: strip external form
14569
14570 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * BufferView_pimpl.C: add comment, destroySplash()
14573
14574 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * BufferView_pimpl.C:
14577         * LyXAction.C:
14578         * buffer.C:
14579         * commandtags.h:
14580         * lyxfunc.C: use re-worked insetinclude
14581
14582 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14583
14584         * buffer.C: add using std::stringstream.
14585
14586         * lyx_cb.C: readd using std::ios.
14587
14588         * buffer.C: add using std::map.
14589
14590         * BufferView_pimpl.C: add using std::vector.
14591
14592         * ShareContainer.h: add std:: to swap.
14593
14594         * buffer.h: add some typedefs
14595         * buffer.C (getLists): use them
14596         (getLists): renamed from getTocList.
14597         add a counter for the different float types and use it in the
14598         generated string.
14599         (getLists): use the same counter for the NEW_INSETS and the "non"
14600         NEW_INSETS
14601
14602         * lyx_cb.h: remove unused items, includes, using etc.
14603
14604         * ShareContainer.h: remove some commented code, add more comments
14605         and "documentation".
14606
14607 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14608
14609         * buffer.C (getTocList): make the list also when NEW_INSETS is
14610         defined.
14611
14612         * buffer.h: remove TocType
14613
14614         * buffer.C (getTocList): change to return a map<string,
14615         vector<TocItem> >, implement for dynamic number of list.
14616
14617         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14618         * text2.C (PasteSelection): adjust
14619         * CutAndPaste.C (pasteSelection): adjust
14620
14621         * FloatList.C (FloatList): update from the new_insets branch.
14622         * Floating.[Ch]: ditto
14623         * LaTeXFeatures.C: ditto
14624         * buffer.C: ditto
14625         * lyxlex_pimpl.C: ditto
14626
14627         * paragraph.C (Last): remove when NEW_INSETS is defined.
14628
14629         * other file: changes because of the above.
14630
14631 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14632
14633         * lyxparagraph.h: rename next to next_, previous to previous_,
14634         make them private for NEW_INSETS. Rename Next() to next(),
14635         Previous() to previous().
14636
14637         * other files: changes because of the above.
14638
14639 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * BufferView.h:
14642         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14643         problem.
14644
14645 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * main.C (main): pass lyx_localedir to gettext_init().
14648
14649         * gettext.h: remove locale_init and gettext_init macros
14650
14651         * gettext.C (locale_init): new function
14652         (gettext_init): new function
14653
14654         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14655         setlocale().
14656
14657 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14658
14659         * Moved credits to frontends:
14660         * credits.[Ch]: removed
14661         * credits_form.[Ch]: removed
14662         * lyx_gui_misc.C: remove credits stuff
14663         * Makefile.am:
14664
14665 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14666
14667         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14668
14669         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14670         unneeded destructor.
14671
14672         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14673         a standalone pointer again.
14674
14675         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14676
14677 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14678
14679         * Makefile.am:
14680         * filedlg.h:
14681         * filedlg.C:
14682         * LyXAction.C:
14683         * ToolbarDefaults.C:
14684         * bufferlist.C:
14685         * commandtags.h:
14686         * form1.C:
14687         * form1.h:
14688         * lyx_cb.C:
14689         * lyx_cb.h:
14690         * lyxfunc.h:
14691         * lyxfunc.C:
14692         * BufferView_pimpl.C: use new file dialog in GUII
14693
14694         * lyx_cb.h:
14695         * lyx_cb.C: remove LayoutsCB to Toolbar
14696
14697 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * ShareContainer.h (get): add std:: qualifier
14700
14701 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * ShareContainer.h: define a proper ShareContainer::value_type
14704         type (and use typename to please compaq cxx)
14705
14706 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14707
14708         * lyxparagraph.h: move serveral local vars to
14709         ParameterStruct/ParagraphParameters., use ShareContainer in
14710         FontTable., make vars in FontTable private and add getter and
14711         setter.
14712
14713         * paragraph.C: changes because of the above.
14714
14715         * lyxfont.h: remove copy constructor and copy assignment. (the
14716         default ones is ok), move number inside FontBits. move inlines to
14717         lyxfont.C
14718
14719         * lyxfont.C: add number to initializaton of statics, move several
14720         inlines here. constify several local vars. some whitespace
14721         cleanup. Dont hide outerscope variables.
14722
14723         * Spacing.h: add two new constructors to match the set methods.
14724
14725         * ShareContainer.h: new file, will perhaps be moved to support
14726
14727         * ParameterStruct.h: new file
14728
14729         * ParagraphParameters.h: new file
14730
14731         * ParagraphParameters.C: new file
14732
14733         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14734         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14735
14736         * BufferView_pimpl.C: ParagraphParameter changes.
14737         * buffer.C: Likewise.
14738         * bufferview_funcs.C: Likewise.
14739         * text.C: Likewise.
14740         * text2.C: Likewise.
14741
14742 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14743
14744         * lyxfind.C (LyXReplace): do not redefine default argument in
14745         implementation.
14746         (IsStringInText): ditto
14747         (SearchForward): ditto
14748         (SearchBackward): ditto
14749
14750 2001-03-06  Juergen Vigna  <jug@sad.it>
14751
14752         * lyxfind.C (IsStringInText): put parentes around expressions.
14753
14754 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14755
14756         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14757
14758 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14759
14760         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14761
14762         * stl_string_fwd.h: add comment
14763
14764         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14765
14766         * tabular.h:
14767         * tabular.C: remove unused DocBook methods
14768
14769         * intl.C:
14770         * language.C:
14771         * paragraph.C:
14772         * buffer.C:
14773         killed DO_USE_DEFAULT_LANGUAGE
14774
14775 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * lyx_gui.C: do not include language.h.
14778
14779         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14780         arguments in function implementation.
14781
14782 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14783
14784         * BufferView_pimpl.C: add <ctime>
14785
14786 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14787
14788         * BufferView_pimpl.C: add using std::find_if
14789
14790 2001-02-27  José Matos  <jamatos@fep.up.pt>
14791
14792         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14793         by OnlyPath.
14794
14795 2001-02-11  José Matos  <jamatos@fep.up.pt>
14796
14797         * buffer.C (makeDocBookFile): command styles now have a parameter as
14798         "title" by default.
14799
14800 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14801
14802         * layout_forms.[Ch]: removed
14803         * lyx_cb.[Ch]: out character
14804         * lyx_gui.C: out character
14805         * lyx_gui_misc.C: out character
14806         * bufferview_funcs.C: : out character,
14807         added toggleall as parameter in ToggleAndShow
14808
14809 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14810
14811         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14812
14813         * text2.C (SetCurrentFont): Disable number property at boundary.
14814
14815 2001-02-26  Juergen Vigna  <jug@sad.it>
14816
14817         * lyxfunc.C (getStatus): added a string argument override function so
14818         that this is correctly called from LyXFunc::Dispatch if it contains a
14819         do_not_use_argument which is used!
14820         (Dispatch): added check for "custom" export and call appropriate func.
14821
14822 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14823
14824         * lyxrc.C: Add language_command_local, language_use_babel and
14825         language_global_options.
14826
14827         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14828
14829         * buffer.C (makeLaTeXFile): Use language_use_babel and
14830         language_global_options.
14831
14832 2001-02-23  Juergen Vigna  <jug@sad.it>
14833
14834         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14835         which works with LyXText and putted it inside BufferView. Here now we
14836         only call for that part the BufferView::Dispatch() function.
14837
14838         * BufferView.C (Dispatch): added.
14839
14840         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14841         functions which needs to use a LyXText over from LyXFunc.
14842         (MenuInsertLyXFile): added
14843         (getInsetByCode): added
14844         (moveCursorUpdate): added
14845         (static TEXT): added
14846
14847 2001-02-22  Juergen Vigna  <jug@sad.it>
14848
14849         * BufferView_pimpl.C (update): call a status update to see if LyXText
14850         needs it.
14851
14852 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14853
14854         * vc-backend.C (revert): implement for CVS
14855         (getLog): implement for CVS
14856
14857 2001-02-20  Juergen Vigna  <jug@sad.it>
14858
14859         * text2.C (ClearSelection): added BufferView param for inset_owner call
14860
14861         * lyxfunc.C (TEXT): added this function and use it instead of
14862         directly owner->view()-text of getLyXText().
14863
14864 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14865
14866         * src/layout_forms.C: out preamble
14867         * src/layout_forms.h: out preamble
14868         * src/lyx_cb.C: out preamble
14869         * src/lyx_cb.h: out preamble
14870         * src/lyx_gui.C: out preamble
14871         * src/lyx_gui_misc.C: out preamble
14872         * src/lyxfunc.C: connect with guii preamble
14873
14874 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14875
14876         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14877
14878 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14879
14880         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14881         whether to run bibtex.
14882
14883 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14886
14887 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14888
14889         * Makefile.am (lyx_SOURCES): removed bibforms.h
14890
14891         * vspace.h: doxygen
14892
14893         * text.C (GetVisibleRow): make several local vars const
14894
14895         * tabular.C: small cleanup.
14896
14897         * lyxserver.C (callback): use compare instead of strncmp
14898
14899         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14900         inlines to after class or to paragraph.C
14901
14902         * lyxfont.h: remove friend operator!=
14903
14904         * converter.h: move friend bool operator< to non friend and after
14905         class def.
14906
14907         * combox.h: small cleanup
14908
14909         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14910         to inlines after class def.
14911
14912         * buffer.C (pop_tag): use string operations instead of strcmp
14913
14914         * bmtable.c: doxygen, small cleanup
14915
14916         * LaTeX.h: remove friend operator==
14917
14918 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14919
14920         * screen.C:
14921         * lyxrc.[Ch]:
14922         * lyxfunc.C:
14923         * lyxfont.[Ch]:
14924         * lyx_cb.C:
14925         * intl.[Ch]:
14926         * commandtags.h:
14927         * buffer.C:
14928         * WorkArea.[Ch]:
14929         * LyXAction.C:
14930         * BufferView_pimpl.C:
14931         * BufferView.[Ch]: remove cruft
14932
14933 2001-02-14  Juergen Vigna  <jug@sad.it>
14934
14935         * lyxfunc.C: removed #if 0 unused code
14936
14937         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14938
14939         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14940
14941         * text2.C (SetSelection): added a BufferView * parameter
14942
14943 2001-02-13  Juergen Vigna  <jug@sad.it>
14944
14945         * lyxfunc.C (Dispatch): fixed protected blank problem.
14946         * BufferView2.C (protectedBlank): added LyxText * parameter.
14947
14948         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14949         (AppendColumn): same as above for column_info.
14950
14951         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14952         (moveCursorUpdate): use a LyXText param for support of InsetText.
14953
14954         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14955         (tripleClick): ditto
14956
14957         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14958
14959         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14960
14961         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14962
14963         * text2.C (SetSelection): set correct update status if inset_owner
14964         (ToggleFree): ditto
14965
14966 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14967
14968         * tabular.C: remove some commented code.
14969
14970 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * BufferView_pimpl.C: call hideSplash()
14973
14974         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14975
14976         * include_form.h:
14977         * bibforms.h: remove
14978
14979         * lyxfunc.C:
14980         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14981           add LFUN_CHILD_CREATE
14982
14983         * counters.h: fix tiny typo
14984
14985         * lyx_cb.C:
14986         * lyx.h:
14987         * lyx_gui.C:
14988         * lyx.C: move splash to frontends/xforms/
14989
14990         * lyx_gui_misc.C: move Include and Bibform to frontends
14991
14992         * lyxvc.h: clarify comment
14993
14994         * vspace.C: tiny housekeeping
14995
14996 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14997
14998         * text.C (PrepareToPrint): RTL Fix.
14999
15000         * paragraph.C (GetUChar): New method.
15001         (String):  Use GetUChar.
15002
15003         * buffer.C (asciiParagraph): Use GetUChar.
15004
15005 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15006
15007         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15008
15009 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * buffer.h:
15012         * buffer.C: rename to getLogName(), handle
15013           build log / latex log nicely
15014
15015 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * MenuBackend.C:
15018         * MenuBackend.h: remove support for reference menuitem type.
15019
15020 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * BufferView_pimpl.C: housekeeping
15023         * BufferView_pimpl.h:
15024         * LyXView.h:
15025         * Makefile.am:
15026         * Timeout.C:
15027         * Timeout.h:
15028         * minibuffer.h: move Timeout GUI-I
15029
15030 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15031
15032         * lyxrc.C (read): Update converters data-structures.
15033
15034 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15035
15036         * LaTeX.h (operator!=): add operator != for Aux_Info
15037
15038 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15041
15042         * LaTeXLog.C: deleted, useful code moved to Buffer
15043
15044         * buffer.h:
15045         * buffer.C: new function getLatexLogName()
15046
15047         * lyx_gui_misc.C:
15048         * lyx_gui.C:
15049         * lyxvc.C:
15050         * lyxvc.h:
15051         * lyxfunc.C: use frontends for LaTeX and VC logs
15052
15053 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15054
15055         * LaTeX.h: yet another std:: that Allan forgot.
15056
15057         * Variables.C (set): renamed from isset(), because this clashes
15058         with some HP-UX macros (grr).
15059
15060 2001-02-06  Allan Rae  <rae@lyx.org>
15061
15062         * LaTeX.h: Another bug fix.  Missing std:: this time.
15063
15064 2001-02-04  Allan Rae  <rae@lyx.org>
15065
15066         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15067         floats problem. I've left it commented out because it's not quite
15068         correct.  It should also test that the current object is a table or
15069         figure inset.  But I haven't gotten around to figuring out how to do
15070         that.  I *think* it'll be something like: "table" == inset.type()
15071
15072         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15073         bool.
15074
15075 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15078         all the citation/databases/styles in the auxilary file.
15079         (run): Rerun latex if there was a babel language error.
15080
15081 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15082
15083         * text.C (Backspace): Preserve the font when changing newline char
15084         with a space.
15085         (BreakParagraph): If the cursor is before a space, delete the space.
15086
15087         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15088
15089 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15092         new argument (code).
15093         (ChangeCitationsIfUnique): New method.
15094
15095         * paragraph.C (GetPositionOfInset): Handle bibkey.
15096
15097 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * BufferView_pimpl.h: change type of Position::par_pos to
15100         LyXParagraph::size_type.
15101
15102 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15103
15104         * BufferView_pimpl.C (savePosition, restorePosition): Write
15105         messages to minibuffer.
15106
15107 2001-01-28  José Matos  <jamatos@fep.up.pt>
15108
15109         * buffer.C (makeDocBookFile): adds support for document language.
15110         A silly restriction on the name of LatexCommand types where removed.
15111         Added support for CDATA sections, allows to chars unescaped, used
15112         among others in code, to avoid escape < and >.
15113
15114 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15117         saved positions instrad of a stack. Furthermore, a position is
15118         stored using paragraph id/paragraph position.
15119
15120         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15121         Remove LFUN_REF_BACK.
15122
15123 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15124
15125         * converter.C (dvipdfm_options): New method.
15126
15127 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15128
15129         * vspace.C (isValidLength): Fix for empty input string.
15130
15131 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * LyXAction.C (init): change description of LFUN_FIGURE to
15134         "Insert Graphics"
15135
15136 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * LaTeX.C: add using directive
15139
15140 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * MenuBackend.C (expand): Fix the sorting of the formats.
15143
15144 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * lyx_main.C: tiny error message fix
15147
15148 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15151         calling fl_initialize(). This fixes the problem with ',' as
15152         decimal separator in text files.
15153
15154 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * trans.C (process): Fix the keymap bug.
15157
15158 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * LaTeX.C (scanAuxFiles): New method. Provides support for
15161         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15162         (scanLogFile) Scan for "run BibTeX" messages.
15163
15164         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15165         OT1 font encoding. Also, load the aecompl package if the ae
15166         package is loaded.
15167
15168         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15169
15170 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * texrow.C (increasePos): turn two error messages into debug
15173         messages.
15174
15175 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * LaTeX.C (scanAux): Handle the \@input macro.
15178         (runBibTeX): Use scanAux().
15179
15180         * language.C (latex_options_): New field.
15181
15182         * LaTeXFeatures.C (getMacros): Add language macros.
15183
15184         * buffer.C (makeLaTeXFile): Small fix.
15185
15186 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15189
15190         * text2.C: add a using directive.
15191
15192 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * BufferView2.C:
15195         * lyx_gui_misc.h:
15196         * lyxfr1.C:
15197         * lyxfunc.C: kill LyXBell.
15198
15199 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * text.C (IsBoundary): Remove the error message
15202
15203         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15204
15205         * lyxrc.C (setDefaults): Correct initialization value for
15206         font_norm_type.
15207
15208 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15209
15210         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15211         gotoError().
15212
15213         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15214         and GotoNextNote().
15215
15216         * src/LyXAction.C: Added reference-next.
15217
15218         * text.C (InsertChar): Use contains instead of strchr.
15219
15220         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15221
15222 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15223
15224         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15225         alignment commands (when needed).
15226
15227         * text.C (InsertChar): Add ':' to number separator chars.