]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2acaf85e29953e8206502004b1eeef53d5e9d817
[lyx.git] / src / ChangeLog
1 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * undo.C: add using std::advance to compile for stlport
4
5 2004-03-24  Angus Leeming  <leeming@lyx.org>
6
7         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
8         it leads to a crash when no buffer is present.
9
10 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11             Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * lyxfunc.C (dispatch): 
14         * bufferparams.C (readToken): use the new LColor::setColor 
15
16         * LColor.[Ch] (setColor): new version that takes two strings as
17         argument and creates a new color entry if necessary
18
19 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
20
21         * buffer.C (makeLaTeXFile): if the main latex file that is
22         processed is usually a subdocument of some master, then pretend
23         for a while that it is actually the master
24
25 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
26
27         * buffer.C (getLabelList):
28         (getBibkeyList): use getMasterBuffer()
29         (getMasterBuffer): new method. Returns the main document in the
30         case where one is using included documents.
31
32 2004-03-25  André Pönitz  <poenitz@gmx.net>
33
34         * Makefile.am:
35         * iterators.[Ch]:
36         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
37
38         * ParagraphList_fwd.h: change ParagraphList to a std::vector
39
40         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
41         text*.C over here. Rename namespace CutAndPaste to lyx::cap
42
43         * ParameterStruct.h: merge with ParagraphParameters
44
45         * lyxtext.h: remove LyXText::parOffset() and getPar()
46
47         * text3.C: Remove all 'manual' update calls. We do now one per user
48         interaction which is completely sufficient.
49
50         * Bidi.C:
51         * BufferView.[Ch]:
52         * BufferView_pimpl.C:
53         * FontIterator.[Ch]:
54         * MenuBackend.C:
55         * ParagraphParameters.[Ch]:
56         * buffer.C:
57         * buffer.h:
58         * bufferlist.C:
59         * cursor.[Ch]:
60         * cursor_slice.[Ch]:
61         * dociterator.[Ch]:
62         * errorlist.[Ch]:
63         * factory.C:
64         * lfuns.h:
65         * lyxfind.C:
66         * lyxfunc.C:
67         * output_docbook.[Ch]:
68         * output_latex.[Ch]:
69         * output_linuxdoc.[Ch]:
70         * output_plaintext.[Ch]:
71         * paragraph.[Ch]:
72         * paragraph_funcs.[Ch]:
73         * paragraph_pimpl.[Ch]:
74         * rowpainter.C:
75         * tabular.[Ch]:
76         * text.C:
77         * text2.C:
78         * toc.C:
79         * undo.[Ch]: adjust
80
81         * frontends/controllers/ControlDocument.C:
82         * frontends/controllers/ControlErrorList.C:
83         * frontends/controllers/ControlSpellchecker.C:
84         * insets/inset.C:
85         * insets/inset.h:
86         * insets/insetbase.h:
87         * insets/insetbibitem.C:
88         * insets/insetbox.C:
89         * insets/insetbranch.C:
90         * insets/insetcaption.C:
91         * insets/insetcharstyle.C:
92         * insets/insetcharstyle.h:
93         * insets/insetcollapsable.C:
94         * insets/insetcollapsable.h:
95         * insets/insetert.C:
96         * insets/insetfloat.C:
97         * insets/insetfoot.C:
98         * insets/insetmarginal.C:
99         * insets/insetnote.C:
100         * insets/insetoptarg.C:
101         * insets/insettabular.C:
102         * insets/insettext.C:
103         * insets/insettext.h:
104         * insets/insetwrap.C:
105         * mathed/math_mboxinset.C:
106         * mathed/math_nestinset.C:
107         * mathed/math_scriptinset.C:
108         * mathed/math_scriptinset.h:
109         * support/types.h:
110
111 2004-03-24  Angus Leeming  <leeming@lyx.org>
112
113         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
114         deal with any child processes that have finished but are waiting to
115         communicate this fact to the rest of LyX.
116
117 2004-03-24  Angus Leeming  <leeming@lyx.org>
118
119         64-bit compile fixes.
120
121         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
122         (c-tor): pass lyx::pos_types rather than ints.
123
124         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
125         lyx::pos_type.
126
127         * text.C (Delete): compile fix.
128         (getPar): ensure that function declaration is the same as that in
129         the header file.
130
131 2004-03-23  Angus Leeming  <leeming@lyx.org>
132
133         * ispell.C (LaunchIspell):
134         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
135         a boost::shred_ptr rather than a std::auto_ptr.
136
137 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * lyxfunc.C (getStatus): handle read-only buffers correctly;
140         handle LFUN_FILE_INSERT_*
141
142         * lyxrc.C (setDefaults, getDescription, output, read):
143         * lyxrc.h: remove ps_command
144
145 2004-03-22  Angus Leeming  <leeming@lyx.org>
146
147         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
148         Ensure that error_handler is processed once only and that all data
149         is saved before attempting to output any warning messages.
150
151         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
152
153 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
154
155         * tabular.C (TeXRow): crash fix (from Kayvan and André)
156
157 2004-03-19  André Pönitz  <poenitz@gmx.net>
158
159         * cursor.[Ch] (reset): take main text inset as argument
160
161         * BufferView: adjust
162         * BufferView_pimpl.C: adjust
163
164         * paragraph.[Ch]: fix completely broken operator=()
165
166 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * LColor.C (getFromLyXName): make sure that the color name is used
169         as lowercase.
170
171 2004-03-17  Angus Leeming  <leeming@lyx.org>
172
173         * lfuns.h:
174         * LyXAction.C (init): remove LFUN_FORKS_KILL.
175
176         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
177         dialog and to kill a forked process.
178
179 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
180
181         * text2.C (setCursorFromCoordinates): fix font problem
182
183 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
186         bogus "rebuild cursor" code
187
188 2004-03-11  André Pönitz  <poenitz@gmx.net>
189
190         * buffer.[Ch]: use InsetText instead of LyXText as container for
191         the main lyx text.
192
193         * dociterator.[Ch]: drop the BufferView * member which is not needed
194         anymore after the change to buffer.C
195
196         * paragraph_funcs.C:
197         * text.C:
198         * text2.C:
199         * BufferView.[Ch]:
200         * BufferView_pimpl.[Ch]:
201         * cursor.[Ch]:
202         * cursor_slice.[Ch]: adjust
203
204         * text3.C: fix bug in mathDispatch
205
206 2004-03-08  André Pönitz  <poenitz@gmx.net>
207
208         * undo.[Ch]: use 'StableDocumentIterator' as base for
209         the Undo struct.
210
211 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * LaTeXFeatures.C:
214         * bufferparams.[Ch]: add jurabib support and param.
215
216         * LaTeX.C: add FIXME/comment.
217
218 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
219
220         * buffer.C: increment file format to 230.
221
222 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * cursor.C (dispatch): avoid infinite loops
225
226 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
227
228         * rowpainter.C (paintSelection): fix x coordinates
229
230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * text.C (rowBreakPoint): fix breaking before displayed insets
233
234 2004-03-01  André Pönitz  <poenitz@gmx.net>
235
236         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
237
238         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
239
240         * Makefile.am:
241         * BufferView.C:
242         * BufferView_pimpl.C:
243         * buffer.C:
244         * lyxfind.C:
245         * lyxfunc.C:
246         * text.C:
247         * text2.C:
248         * text3.C: adjust
249
250 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
251
252         * lyxtext.h:
253         * text.C:
254         * text2.C:
255         * rowpainter.C:
256         * BufferView_pimpl.C: rename textwidth -> maxwidth,
257         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
258
259 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
260
261         * Bidi.[Ch] (computeTables): const correctness
262         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
263         fill_hfill, fill_label_hfill and x from Row
264         * lyxtext.h: prepareToPrint returns a RowMetrics
265         * rowPainter.C: adjust
266         * text.C (prepareToPrint): use width, not textWidth. adjust
267         (redoParagraphInternal, cursorX): adjust
268         * text2.C (getColumnNearX): adjust
269         (init): put a default value to the top LyXText::width
270
271 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
272
273         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
274
275 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
276
277         * lyxtext.h: add FontIterator class
278
279         * text.C (FontIterator, operator*, operator->, operator++): add
280         (rowBreakPoint, setRowWidth): adjust (fixing a
281         rebreaking bug)
282
283 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * BufferView_pimpl.C (workAreaDispatch): allow also
286         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
287
288 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * text.C (rowBreakPoint): fix a bug showing with very large insets
291
292 2004-02-25  André Pönitz  <poenitz@gmx.net>
293
294         * text3.C:
295         * cursor.[Ch]: move some mathed specific code to mathed
296
297 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
300         use_tempdir in preferences
301         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
302         tempfile creation
303         * lyx_main.C: ensure that tempdir is valid
304         * lyxlex.h: correct typo
305         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
306         * paragraph.[Ch] (isMultiLingual): make const
307         * cursor.[Ch] (openable): make const
308
309 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
310
311         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
312
313 2004-02-20  André Pönitz  <poenitz@gmx.net>
314
315         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
316
317         * cursor.[Ch]: prepare for localized getStatus()
318
319         * lyxtext.h:
320         * tabular.C:
321         * text.C:
322         * text2.C:
323         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
324
325 2004-02-20  André Pönitz  <poenitz@gmx.net>
326
327         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
328
329 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * text2.C (setCursorFromCoordinates): switch to absolute coords
332         (cursorUp): adjust
333         (cursorDown): adjust
334         * text3.C (dispatch): adjust
335
336 2004-02-16  André Pönitz  <poenitz@gmx.net>
337
338         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
339           insets/ChangeLog)
340
341         * cursor_slice.[Ch]: remove unneeded acessor function
342
343         * lyxtext.h: rename rtl() to isRTL()
344
345         * rowpainter.C:
346         * tabular.C:
347         * text.C:
348         * text2.C:
349         * text3.C: adjust
350
351 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
352
353         * rowpainter.C (paintSelection): coord fix
354
355 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
356
357         * Spacing.C: compile fix
358
359 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * cursor.C (dispatch): restore current_ before returning
362
363 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * text2.C (cursorUp, cursorDown): fix coords
366         (moveUp): fix crash
367
368 2004-02-12  André Pönitz  <poenitz@gmx.net>
369
370         * lyxtext.h:
371         * text.C:
372         * text2.C:
373         * text3.C: add LCursor & parameter to most cursor movement functions
374           remove usage of LyXText::cursorRow() and cursorPar()
375
376         * cursor.[Ch]: add textRow() needed members
377
378         * BufferView.C:
379         * BufferView_pimpl.C:
380         * paragraph.[Ch]:
381         * BufferView.C:
382         * BufferView_pimpl.C: adjust
383
384 2004-02-11  André Pönitz  <poenitz@gmx.net>
385
386         * lyxfunc.C:
387         * BufferView.[Ch]:
388         * BufferView_pimpl.C: shift undo/redo handling
389
390         * cursor.[Ch]: fix mathed crash
391
392         * lyxfind.C:
393         * lyxtext.h: move selectionAsText to LCursor
394
395         * output_latex.C:
396         * paragraph.C:
397         * text.C:
398         * text2.C:
399         * text3.C: adjust
400
401         * rowpainter.C: fix excessive drawing
402
403 2004-02-06  André Pönitz  <poenitz@gmx.net>
404
405         * BufferView.[Ch]:
406         * BufferView_pimpl.[Ch]:
407         * text3.C: move some text specific LFUN handling
408
409 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * text3.C (checkInsetHit): adjust coords
412         * text2.C (getColumnNearX): adjust coords
413         (edit): adjust coords
414         * text.C (getRowNearY): add two asserts
415
416 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * converter.C:
419         * format.C: add using std::distance to compile on gcc 2.95/stlport
420
421 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
424
425 2004-02-04  André Pönitz  <poenitz@gmx.net>
426
427         * BufferView.[Ch] (insertInset):
428         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
429
430         * text2.C:
431         * text3.C: adjust
432
433 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
436         on the default clause of the switch
437         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
438         wasn't catched by LCursor::dispatch
439
440 2004-02-03  André Pönitz  <poenitz@gmx.net>
441
442         * BufferView.C:
443         * cursor.[Ch]: some additional asserts
444
445         * undo.[Ch]: remove LyXText dependency in interface
446
447         * lyxfunc.C: adjust
448
449         * lyxtext.h (firstPar, lastPar): remove dead functions
450
451         * text.C:
452         * text2.C:
453         * text3.C:
454         * paragraph.[Ch]: adjust
455
456 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * lyxfind.C (find): fix argument order in call to ::find
459
460 2004-02-02  André Pönitz  <poenitz@gmx.net>
461
462         * cursor.[Ch]: remove direct access to anchor
463
464         * text.C: remove findText() hack
465
466 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * iterators.[Ch] (lockPath): remove in favour of...
469         * BufferView.[Ch] (setCursor): this addition
470         * BufferView.C (putSelectionAt): adjust
471         * undo.C (performUndoOrRedo): adjust
472         * lyxfunc.C (dispatch): adjust
473
474 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * iterators.C (lockPath): add a missing slice
477         * undo.C (performUndoOrRedo): remove redundant positioning code
478
479 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
480
481         * vc-backend.C (scanMaster): ";" -> ';'
482
483 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
484
485         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
486         std::binary_function
487
488         * lyxtextclass.C (compare_name): rename to...
489         (LayoutNamesEqual): ...this
490
491         * lyxlex_pimpl.C (compare_tags): inherit from
492         std::binary_function, put back into anon namespace
493
494         * lyxfind.C (MatchString): inherig from std::binary_function
495         (findChange): use empty() istead of !size()
496
497         * format.C (FormatNamesEqual): new functor
498         (getFormat): use it
499         (getNumber): use it
500         (add): use it
501         (erase): use it
502         (setViewer): use it
503
504         * converter.C (compare_Converter): rename to...
505         (ConverterEqual): ...this, and fixup a bit.
506         (getConverter): use it, and make function const
507         (getNumber): use it, and make function const
508         (add): use it
509         (erase): use it:
510
511         * bufferlist.C: add using boost::bind
512
513         * MenuBackend.C (MenuNamesEqual): new functor
514         (hasMenu): use it, and make function const
515         (hasSubmenu): use nested bind to get rid of compare_memfun.
516
517 2004-01-30  André Pönitz  <poenitz@gmx.net>
518
519         * BufferView_pimpl.C:
520         * cursor.C:
521         * cursor.h:
522         * cursor_slice.[Ch]:
523         * lyxfunc.C:
524         * lyxtext.h:
525         * paragraph_funcs.C:
526         * paragraph_funcs.h:
527         * rowpainter.C:
528         * text.C:
529         * text2.C:
530         * text3.C: move some of the edit(x,y) handling to the insets
531         some coordinate changes.
532
533 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
534
535         * text.C: add using statements for std::advance and std::distance
536
537         * paragraph.C: add using statement for std::distance
538
539         * lyxfind.C: add using statement for std::advance
540
541         * cursor.C (region): remove std:: from swap
542         (openable): use nucleus in stead of operator->
543
544         * BufferView.C: add using statements for std::distance and std::swap
545
546 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
547
548         * iterators.C: Remove the pimple, move the needed structures to
549         the header file. Create accessor for the positions stack.
550         (asPosIterator): remove function
551
552         * PosIterator.C (PosIterator): move constructors to top of file
553         (PosIterator): reimplement the constructor taking a ParIterator in
554         terms of setFrom.
555         (setFrom): new function
556         (operator!=): inline it
557
558 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
559
560         * lyxfind.C (replaceAll): use std::advance
561
562         * iterators.h: inherit from std::iterator.
563
564         * PosIterator.C (advance, distance): remove
565         * PosIterator.h: interit from std::iterator.
566
567 2004-01-26  André Pönitz  <poenitz@gmx.net>
568
569         * BufferView.[Ch]:
570         * BufferView_pimpl.[Ch]:
571         * InsetList.[Ch]:
572         * PosIterator.[Ch]:
573         * buffer.h:
574         * bufferview_funcs.C:
575         * cursor.[Ch]:
576         * cursor_slice.h:
577         * factory.[Ch]:
578         * iterators.[Ch]:
579         * lyxfind.C:
580         * lyxfunc.C:
581         * lyxtext.h:
582         * output_docbook.C:
583         * output_latex.C:
584         * output_linuxdoc.C:
585         * output_plaintext.C:
586         * paragraph.[Ch]:
587         * paragraph_funcs.[Ch]:
588         * paragraph_pimpl.[Ch]:
589         * rowpainter.C:
590         * tabular.C:
591         * tabular.h:
592         * text.C:
593         * text2.C:
594         * text3.C: more IU:  dumps most of the rest of the mathcursor
595     implementation into cursor.[Ch]; "globalize" a bit of it.
596
597 2004-01-25  Angus Leeming  <leeming@lyx.org>
598
599         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
600
601 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * LaTeXFeatures.h: add nice_ and nice() const
604         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
605
606 2004-01-20  André Pönitz  <poenitz@gmx.net>
607
608         * BufferView.[Ch]:
609         * BufferView_pimpl.C:
610         * PosIterator.C:
611         * bufferview_funcs.C:
612         * cursor.[Ch]:
613         * cursor_slice.[Ch]:
614         * factory.C:
615         * iterators.C:
616         * lyx_cb.C:
617         * lyxfind.C:
618         * lyxfunc.C:
619         * lyxtext.h:
620         * rowpainter.C:
621         * text.C:
622         * text2.C:
623         * text3.C:
624         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
625           LCursor and mathcursor parts to LCursor and InsetBase.
626
627 2004-01-15  André Pönitz  <poenitz@gmx.net>
628
629         * cursor_slice.[Ch]: add a few covienience functions
630
631         * funcrequest.[Ch]: remove BufferView * member
632
633         * BufferView_pimpl.C:
634         * cursor.C:
635         * factory.[Ch]:
636         * lyxfind.[Ch]:
637         * lyxfunc.C:
638         * lyxtext.h:
639         * text3.C:
640         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
641
642 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
643
644         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
645         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
646
647 2004-01-13  André Pönitz  <poenitz@gmx.net>
648
649         * textcursor.[Ch]:
650         * lyxtext.h: hide cursor and selection anchor behind accessor function
651
652         * BufferView.C:
653         * BufferView_pimpl.[Ch]:
654         * PosIterator.C:
655         * bufferview_funcs.C:
656         * cursor.h:
657         * lyxfind.C:
658         * lyxfunc.C:
659         * text.C:
660         * text2.C:
661         * text3.C:
662         * undo.C: adjust
663
664         * cursor.h:
665         * cursor_slice.[Ch]: some integer type changes for inset unification
666
667         * lyxcursor.[hC]: remove, it's CursorSlice now.
668
669         * Makefile.am:
670         * BufferView_pimpl.[Ch]:
671         * bufferview_funcs.C:
672         * cursor_slice.C:
673         * lyxtext.h:
674         * text.C:
675         * text2.C:
676         * text3.C:
677         * textcursor.[Ch]: adjust
678
679 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
680
681         * text2.C (undoSpan): add and use
682         * text.C (breakParagraph): use undoSpan (fix bug 578)
683         * lyxtext.h: adjust
684
685 2004-01-08  Angus Leeming  <leeming@lyx.org>
686
687         * BufferView_pimpl.C (MenuInsertLyXFile):
688         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
689         * lyxfunc.C (menuNew, open, doImport):
690         FileFilterList change to the FileDialog open and save functions.
691
692 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
693
694         * ShareContainer.h: make isEqual and isUnique adaptable
695
696         * CutAndPaste.C: make resetOwnerAndChanges adaptable
697
698 2004-01-07  Angus Leeming  <leeming@lyx.org>
699
700         * LyXAction.C:
701         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
702
703         * BufferView_pimpl.C (dispatch): act on these LFUNs.
704
705         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
706         functions replacing find, replace and replaceAll.
707
708         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
709         LFUN_WORDFIND(FORWARD|BACKWARD).
710
711 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * text.C (breakParagraph): remove an outdated #warning
714
715 2004-01-07  André Pönitz  <poenitz@gmx.net>
716
717         * lyxfind.C: somewhat clearer logic
718
719         * text.C: prevent crash in cursorX on unitialized row cache
720
721 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * lyxcursor.[Ch] (operator>): add
724         * textcursor.C (selStart, selEnd): use std::min and std::max
725
726 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
727
728         * Chktex.C: include boost/format.hpp
729
730 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * InsetList.C: replace functor MathcIt with adaptable functor
733         InsetTablePosLess
734         (insetIterator): modify accordingly
735
736         * BranchList.h: move the BranchNamesEqual functor here from...
737         * BranchList.C: ... to here
738
739         * BranchList.C: new BranchListEqual fuctor, use it. Remove
740         SameName and match.
741         (add): replace a finding loop with std::find_if.
742
743 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * output_docbook.C: moving LatexParam functionality into
746         .layout files
747
748 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
749
750         * buffer.C: increment format to 229.
751
752 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
753
754         * LaTeXFeatures.C:
755         * lyx_sty.[Ch]: remove minipageindent_def
756
757         * LyXAction.C:
758         * factory.C:
759         * lfuns.h:
760         * lyxfunc.C:
761         * text3.C: remove LFUN_INSET_MINIPAGE
762
763 2003-12-28  Angus Leeming  <leeming@lyx.org>
764
765         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
766
767 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
768
769         * text2.C (setParagraph): fix off-by-one crash
770
771 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
772
773         * output_docbook.C: header stuff for AGU
774
775 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
776
777         * text2.C (redoCursor): remove
778         * text.C:
779         * text3.C:
780         * BufferView_pimpl.C: remove calls to redoCursor and
781         setCursor(cursor.par(), cursor.pos()) all around
782
783 2003-12-15  Angus Leeming  <leeming@lyx.org>
784
785         * buffer.C: up the format to 228.
786
787 2003-12-15  André Pönitz  <poenitz@gmx.net>
788
789         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
790         slices
791
792         * Makefile.am:
793
794         * BufferView_pimpl.C:
795         * cursor.[Ch]:
796         * lyxcursor.[Ch]:
797         * rowpainter.[Ch]:
798         * lyxtext.h:
799         * text.C:
800         * text2.C:
801         * text3.C: adjust
802
803 2003-12-15  Angus Leeming  <leeming@lyx.org>
804
805         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
806         than getFromGUIName to manipulate the color.
807
808 2003-12-14  Angus Leeming  <leeming@lyx.org>
809
810         * BranchList.[Ch]: minimize the API.
811         (Branch::getBranch, getColor): now return a 'const &'.
812         (Branch::setSelected) now returns a bool set to true if the
813         selection status changes.
814         (BranchList::clear, size, getColor, setColor, setSelected,
815         allBranches, allSelected, separator): removed.
816         (BranchList::find): new functions, returning the Branch with
817         the given name.
818         (BranchList::add, remove): return a bool indicating that
819         the operation was successful.
820
821         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
822         new InsetBranch::isBranchSlected member function.
823
824         * LColor.[Ch]: mimimize the API.
825         (fill): renamed as addColor and made private.
826         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
827         versions of these functions taking a string arg have been removed.
828
829         * bufferparams.C (readToken):
830         * lyxfunc.C (dispatch):
831         * lyxrc.C (read): changes due to the altered BranchList and
832         LColor APIs.
833
834         * factory.C (createInset, readInset): changes due to altered
835         InsetBranch c-tor.
836
837 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
838
839         * factory.C:
840         * lyxfunc.C: remove insetminipage. "minipage-insert"
841         now produces a frameless minipage box inset.
842
843 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
844
845         * textcursor.[Ch] (selStart,selEnd): add new methods
846         remove selection::start, end, use LyXCursor::operator<
847         * lyxcursor.[Ch] (operator<): add
848         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
849         * BufferView.[Ch] (unsetXSel): add
850         * text2.C (clearSelection): use unsetXSel,adjust
851         * text.C: adjust
852         * text3.C: adjust
853         * rowpainter.C: adjust
854         * bufferview_funcs.C (put_selection_at): adjust
855
856 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * BufferView_pimpl.C: small coord. correction
859
860 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
863         dragging over the splash screen.
864
865 2003-12-11  Angus Leeming  <leeming@lyx.org>
866
867         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
868         as it is now handled in LyXText::dispatch.
869
870         * text3.C (doInsertInset): remove a level of nesting.
871
872 2003-12-11  Angus Leeming  <leeming@lyx.org>
873
874         * factory.C (createInset): changes due to the changed interface to
875         InsetCommandMailer::string2params.
876
877 2003-12-10  Angus Leeming  <leeming@lyx.org>
878
879         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
880         'dialog-show-new-inset <inset name>'
881
882 2003-12-10  Angus Leeming  <leeming@lyx.org>
883
884         * buffer.C: up the format to 227.
885
886         * factory.C: the box inset is now identified simply by 'Box'.
887
888 2003-12-10  Angus Leeming  <leeming@lyx.org>
889
890         * buffer.C: up the format to 226.
891
892         * factory.C: the note inset is now identified simply by 'Note'.
893
894 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
895
896         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
897         when a pit is enough. Standarize a couple of loops.
898
899 2003-12-05  Angus Leeming  <leeming@lyx.org>
900
901         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
902         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
903         data to the re-worked "log" dialog.
904
905 2003-12-03  André Pönitz  <poenitz@gmx.net>
906
907         * PosIterator.C:
908         * iterators.C:
909         * lyxtext.h:
910         * output_latex.C:
911         * paragraph_funcs.C:
912         * text.C:
913         * text2.C: use Inset::getText instead of Inset::getParagraph
914
915 2003-12-03  André Pönitz  <poenitz@gmx.net>
916
917         * buffer.[Ch]:
918         * lyxtext.h:
919         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
920         InsetText::read() as LyXText::read()
921
922 2003-12-02  Angus Leeming  <leeming@lyx.org>
923
924         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
925         type. Add a comment in the implementation that the function uses
926         the stream's bad() function rather than fail() as the std::streams
927         would do.
928
929 2003-12-02  André Pönitz  <poenitz@gmx.net>
930
931         * lyxlex.[Ch]: make interface more similar to std::stream
932
933         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
934
935 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
936
937         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
938
939 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
940
941         * vspace.[Ch]: remove VSpace::NONE
942
943 2003-12-01  André Pönitz  <poenitz@gmx.net>
944
945         * buffer.[Ch]:
946         * lyxtext.h: move ParagraphList member to LyXText
947         rename LyXText::ownerParagraphs to LyXText::paragraph
948
949         * CutAndPaste.C:
950         * bufferview_funcs.C:
951         * iterators.[Ch]:
952         * lyx_cb.C:
953         * paragraph.C:
954         * rowpainter.C:
955         * tabular.C:
956         * text.C:
957         * text2.C:
958         * text3.C: adjust
959
960         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
961
962         * undo.C: fix cursor positioning
963
964 2003-12-01  John Levon  <levon@movementarian.org>
965
966         * BufferView_pimpl.C: fix a crash on exit with
967         a buffer open
968
969 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * BranchList.C: fix setSelected() method.
972
973 2003-11-28  André Pönitz  <poenitz@gmx.net>
974
975         * ParagraphParameters.[Ch]:
976         * ParameterStruct.h: remove space above/below from Paragraph to
977          InsetVSpace
978
979         * BufferView_pimpl.C:
980         * factory.C:
981         * lyxfunc.C:
982         * lyxtext.h:
983         * output_latex.C:
984         * paragraph.C:
985         * paragraph_funcs.C:
986         * rowpainter.[Ch]:
987         * text.C:
988         * text2.C:
989         * text3.C: adjust
990
991 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
992
993         * factory.C: Syntax change for CharStyles
994
995 2003-11-28  André Pönitz  <poenitz@gmx.net>
996
997         * BufferView.[Ch]:
998         * BufferView.[Ch]:
999         * buffer.[Ch]:
1000         * buffer.[Ch]: move LyXText member
1001
1002 2003-11-28  André Pönitz  <poenitz@gmx.net>
1003
1004         * BufferView.[Ch]: make LyXText * text a private member
1005
1006         * BufferView_pimpl.C:
1007         * cursor.C:
1008         * iterators.C:
1009         * lyx_cb.C:
1010         * lyxfind.C:
1011         * lyxtext.h:
1012         * rowpainter.[Ch]:
1013         * text.C:
1014         * text2.C:
1015         * undo.C: adjust
1016
1017         * output_plaintext.C: cleanup
1018
1019 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * buffer.C:
1022         * lyxtextclass.[Ch]: parametrize SGML document header
1023
1024 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * converter.[Ch]:
1027         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1028         getFlavor().
1029
1030 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * text2.C (setFont): rework using PosIterator (no more recursive)
1033         (setCharFont): no more needed
1034         (setLayout): no more selection cursors fiddling (done by redoCursor)
1035         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1036         destroy remaining ones)
1037
1038 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1041         * lyxtext.h: ditto
1042         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1043         selection cursors
1044         * lyxfunc.C: adjust
1045         * text3.C: adjust + re-allow multi par depth changes
1046         * textcursor.C: simplify a bit
1047
1048 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * src/buffer.C:
1051         * src/lyxlayout.C:
1052         * src/lyxlayout.h:
1053         * src/lyxtext.h:
1054         * src/output_docbook.C:
1055         * src/output_latex.C:
1056         * src/paragraph.C:
1057         * src/paragraph.h:
1058         * src/sgml.C:
1059         * src/sgml.h:
1060         * src/text2.C: Introducing a number of tags parametrizing various
1061         XML formats that we may want to support
1062
1063 2003-11-25  André Pönitz  <poenitz@gmx.net>
1064
1065         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1066
1067         * lyxtext.h (leftMargin/rightMargin): simplify interface
1068
1069         * rowpainter.C:
1070         * text.C:
1071         * text2.C:
1072         * text3.C: adjust
1073
1074 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1075
1076         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1077         master file to any child files. Fixes bug 546.
1078
1079 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1082
1083 2003-11-24  André Pönitz  <poenitz@gmx.net>
1084
1085         * rowpainter.C: simplification
1086
1087         * text2.C (updateCounters): remove call to redoParagraph on
1088         changed labels as this is far too expensive.
1089
1090 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * converter.C (convert): fix a crash: this function gets
1093         called with buffer == 0 from importer code.
1094
1095 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1096
1097         * text3.C (cursorPrevious): make sure that we do not compare
1098         iterators form different containers.
1099         (cursorNext): ditto
1100
1101         * rowpainter.C (paintSelection): make sure that we do not compare
1102         iterators from different containers.
1103
1104         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1105         iterators from different ParagraphList containers.
1106         [NEXT] ditto
1107
1108         * text2.C (LyXText): change order of initialization slightly
1109         (operator=): new function. copy all variables except cache_par_
1110         (moveUp): make sure that we do not compare iterators from
1111         different ParagraphList constainers.
1112         (moveDown): ditto
1113
1114         * text.C (firstPar): new function
1115         (lastPar): new function
1116         (endPar): new function
1117
1118         * lyxtext.h: move things around and group public functions, public
1119         variables, private functions, private variables
1120
1121 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1122
1123         * factory.C: change call to InsetERT constructor to avoid
1124         additional invocation of method status
1125         * text2.C (toggleInset): remove redundant update() call
1126         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1127         instead of a Bufferview pointer
1128
1129 2003-11-21  André Pönitz  <poenitz@gmx.net>
1130
1131         * rowpainter.C: simplification
1132
1133 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1134
1135         * text3.C (dispatch): make possible to extend a word/row selection
1136         with the mouse
1137
1138 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * lyxtext.h: x0_,y0_ -> xo_,yo_
1141         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1142         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1143         * rowpainter.C (paintRows): paint full paragraphs
1144
1145 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1148         screen coordinates)
1149
1150 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * lyxtext.h: add x0_, y0_
1153         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1154         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1155
1156 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1157
1158         * text2.C (setCursorIntern): move the x_target update here *
1159         * text3.C: change some bv() to true/false in calls to
1160         cursorUp/Down/Right/Left
1161         * cursor.C: use helper function.
1162
1163 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1164
1165         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1166         * paragraph_funcs.[Ch]: correct comment
1167         * rowpainter.C: do not paint selections away from bv->cursor()
1168         Fix a long standing selection painting bug.
1169         * text3.C: generalize mouse-selection code to LyXTexts other that
1170         top one
1171         * textcursor.C: do not use y coords if we can use par offsets
1172
1173 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1176         cursor position after e.g. inset insert)
1177
1178 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * lyxfind.C (replace): adjust to locking removal + some
1181         code simplification
1182
1183 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1186         of the path
1187
1188 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * lyxlayout.[Ch]:
1191         * output_docbook.C: XML sanitation: new layout
1192         parameters InnerTag and CommandDepth
1193
1194 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * BufferView_pimpl.C:
1197         * factory.C:
1198         * text3.C: Fix the insertion and modification of button-style
1199         insets
1200
1201 2003-11-13  André Pönitz  <poenitz@gmx.net>
1202
1203         * InsetList.[Ch]: remove deleteLyXText
1204
1205         * paragraph.[Ch]: cache beginOfBody position
1206
1207         * Bidi.C:
1208         * text.C:
1209         * text2.C:
1210         * text3.C: remove superfluous update() calls
1211
1212         * vspace.C: cleanup
1213
1214 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1217         * BufferView.C (fitLockedInsetCursor): remove
1218         * cursor.[Ch] (getDim): add
1219         * text.C (getRowNearY): add faster version
1220         * text3.C: remove some update calls
1221
1222 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1223
1224         * LaTeXFeatures.C:
1225         * LyXAction.C:
1226         * MenuBackend.C:
1227         * MenuBackend.h:
1228         * dispatchresult.h:
1229         * factory.C:
1230         * lfuns.h:
1231         * lyxfunc.C:
1232         * lyxtextclass.C:
1233         * lyxtextclass.h:
1234         * text3.C: The Character Style /XML short element patch.
1235
1236 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * text3.C:
1239         * factory.C: Small step to solving 'unable to insert some insets'
1240         problem
1241
1242 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * cursor.[Ch] (updatePos): new function for updating the y
1245         position of the tip inset
1246         * bufferview_funcs.C (put_selection_at):
1247         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1248
1249 2003-11-11  André Pönitz  <poenitz@gmx.net>
1250
1251         * text.C: remove big comment on invalid Paragraph pointers as it is
1252         not valid anymore
1253
1254 2003-11-11  André Pönitz  <poenitz@gmx.net>
1255
1256         * text_funcs.[Ch]: merge with ...
1257
1258         * text.C: ... this
1259
1260         * lyxtext.h:
1261         * text2.C:
1262         * text3.C: adjust
1263
1264         * Makefile.am: remove text_funcs.[Ch]
1265
1266 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1267
1268         * cursor.C (getPos): return absolute cached y coord
1269
1270         * BufferView_pimpl.C (fitCursor): new simplistic code
1271         (workAreaDispatch): add a fitCursor call
1272
1273 2003-11-10  André Pönitz  <poenitz@gmx.net>
1274
1275         * BufferView.[Ch]:
1276         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1277
1278 2003-11-10  André Pönitz  <poenitz@gmx.net>
1279
1280         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1281         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1282         indicate that the cursor needs to leave an inset
1283
1284         * lyxtext.h: remove inset locking
1285
1286         * cursor.[Ch]: re-implement functionality provided by inset locking
1287
1288         * BufferView.[Ch]:
1289         * BufferView_pimpl.[Ch]:
1290         * LyXAction.C:
1291         * bufferview_funcs.[Ch]:
1292         * factory.C:
1293         * funcrequest.[Ch]:
1294         * iterators.C:
1295         * lyx_cb.C:
1296         * lyxfind.C:
1297         * lyxfunc.C:
1298         * text.C:
1299         * text2.C:
1300         * text3.C:
1301         * undo.C: adjust
1302
1303 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1304
1305         * PosIterator.[Ch]: replace the stack with a vector, add inset
1306         accesor
1307         * iterators.[C]: adjust
1308
1309 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1310
1311         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1312         replaced
1313         * paragraph_funcs.C (readParToken): put the correct id in the
1314         error item, not the id of the top paragraph
1315
1316 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1317
1318         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1319         * bufferview_funcs.C (put_selection_at): use the above
1320
1321 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1322
1323         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1324
1325 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * output_linuxdoc.h:
1328         * output_plaintext.h:
1329         * output.h:
1330         * output_docbook.h: add #include statements
1331
1332 2003-11-05  José Matos  <jamatos@lyx.org>
1333
1334         * output_docbook.[Ch]:
1335         * output_latex.[Ch]:
1336         * output_linuxdoc.[Ch]:
1337         * output_plaintext.[Ch]: New files for output formats.
1338         * output.[Ch]: New file for helper functions.
1339
1340         * buffer.[Ch]:
1341         * paragraph_funcs.[Ch]: output functions moved to new files.
1342
1343         * outputparams.h: rename of latexrunparams.h
1344
1345         * LaTeX.[Ch]:
1346         * buffer.[Ch]:
1347         * bufferlist.[Ch]:
1348         * converter.[Ch]:
1349         * exporter.C:
1350         * paragraph.[Ch]:
1351         * paragraph_funcs.[Ch]:
1352         * paragraph_pimpl.[Ch]:
1353         * tabular.[Ch]: rename ascii to plaintext
1354         and LatexRunParams to OutputParams.
1355
1356 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1357
1358         * iterators.[Ch] (text): require bv argument
1359         * undo.C (recordUndo):
1360         * lyxfunc.C (dispatch):
1361         * bufferview_funcs.C (put_selection_at): adjust
1362
1363 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1364
1365         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1366
1367 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1368
1369         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1370         nestings
1371
1372 2003-11-04  André Pönitz  <poenitz@gmx.net>
1373
1374         * cursor.[Ch]: restructure
1375
1376         * BufferView.[Ch]:
1377         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1378
1379         * iterators.[Ch] (asCursor): remove
1380
1381         * lfuns.h: remove LFUN_INSET_EDIT
1382
1383         * lyxfunc.C:
1384         * tabular.C:
1385         * text.C:
1386         * text2.C:
1387         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1388
1389 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1390
1391         * lyxfind.[Ch]: complete overhaul
1392         * BufferView_pimpl.C:
1393         * lyxfunc.C: adjust
1394         * paragraph.[Ch] (insert): add
1395
1396 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1397
1398         * BufferView.[Ch]:
1399         * lyxtext.h:
1400         * text.C: remove dead spellcheck code
1401
1402 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * dispatchresult.h: add a val setter
1405
1406         * cursor.C (dispatch): use a tempvar for data_[i]
1407
1408 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * PosIterator.[Ch]: compile fix
1411
1412 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1413
1414         * text.C (cursorPar): deactivate the cursor cache
1415
1416 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1417
1418         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1419
1420 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1421
1422         * text3.C (dispatch): adjust for new DisptchResult semantics.
1423
1424         * lyxfunc.C (dispatch): handle update when return from
1425         Cursor::dispatch, adjust for new DispatchResult semantics.
1426
1427         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1428         DispatchResult(true) mean to not update. Add class functions for
1429         setting dispatched and update, as well as reading.
1430
1431         * cursor.C (dispatch): don't handle update here
1432
1433 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1434
1435         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1436         * trans_mgr.C: adjust
1437
1438         * paragraph_funcs.C (readParToken): exception safety
1439
1440         * lyxvc.h: store the vcs pointer in a scoped_ptr
1441         * lyxvc.C: adjust
1442
1443         * lyxsocket.C (serverCallback): exception safety
1444
1445         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1446
1447         * ispell.C (clone): make it return a auto_ptr
1448
1449         * factory.C (createInset): exception safety
1450         (readInset): exception safety
1451
1452         * bufferlist.C (newBuffer): exception safety
1453
1454         * Thesaurus.C (Thesaurus): use initialization for aik_
1455
1456         * MenuBackend.C (expandToc): exception safety.
1457
1458 2003-11-03  André Pönitz  <poenitz@gmx.net>
1459
1460         * buffer.C:
1461         * buffer.h:
1462         * bufferview_funcs.C: remove getInsetFromId()
1463
1464         * lyxcursor.[Ch]:
1465         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1466
1467         * lyxfunc.C:
1468         * text2.C:
1469         * text3.C: adjust
1470
1471 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1472
1473         * PosIterator.C (distance, advance): new
1474         * bufferview_funcs.[Ch] (put_selection_at): new
1475         * iterators.[Ch] (lockPath): new
1476
1477 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1478
1479         * iterators.[Ch] (asPosIterator): added
1480         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1481         * PosIterator.[Ch]: added
1482
1483 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1484
1485         * text3.C:
1486         * lyxfunc.C:
1487         * cursor.C (dispatch):
1488         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1489
1490         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1491         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1492         contructor, add a class function dispatched. Remove operator>=
1493
1494 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1495
1496         * debug.C: only use the default constructor for debugstream
1497         (lyxerr) here.
1498
1499         * main.C (main): include debug.h and setup the lyxerr streambuf
1500         here.
1501
1502 2003-10-31  José Matos  <jamatos@lyx.org>
1503
1504         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1505
1506         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1507         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1508         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1509         * paragraph_pimpl.C (simpleTeXSpecialC):
1510         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1511         add LatexRunParams argument.
1512
1513         * exporter.C (Export): change call accordingly.
1514
1515         * latexrunparams.h: add new member to take care of the other backends.
1516 2003-10-30  José Matos  <jamatos@lyx.org>
1517
1518         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1519         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1520         factorise code for paragraph output.
1521         * buffer.[Ch]:
1522         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1523         move functions.
1524
1525 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1526
1527         * text3.C (dispatch):
1528         * lyxfunc.C (dispatch):
1529         * cursor.C (dispatch):
1530         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1531
1532         * dispatchresult.h: make the dispatch_result_t ctor explicit
1533
1534 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1535
1536         * sgml.[Ch]:
1537         * buffer.C: small refactoring of docbook stuff
1538
1539 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1540
1541         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1542         meaning.
1543
1544 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1545
1546         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1547         operator dispatch_result_t, and operators for == != and >=
1548
1549         * cursor.C (dispatch): adjust for operator dispatch_result_t
1550         removal. comment out call to update
1551
1552         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1553
1554 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1555
1556         * text3.C:
1557         * text2.C:
1558         * text.C:
1559         * lyxtext.h:
1560         * lyxfunc.C:
1561         * cursor.C:
1562         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1563         (dispatch):
1564
1565         * dispatchresult.h: new file, DispatchResult broken out of
1566         insets/insetbase.h
1567
1568         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1569
1570 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1571
1572         * text.C (rowBreakPoint): put a hack inside #if 0
1573
1574 2003-10-28  André Pönitz  <poenitz@gmx.net>
1575
1576         * lyxtext.h:
1577         * metricsinfo.C:
1578         * paragraph_funcs.C:
1579         * rowpainter.C:
1580         * text.C:
1581         * text2.C: general cleanup (lots of small stuff)
1582
1583 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1584
1585         * text2.C (cursorEnd): simple fix to the "end key goes to one
1586         before the end on last row" bug
1587
1588 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1589
1590         * text.C (backspace): fix the "zombie characters"
1591
1592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1593
1594         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1595
1596 2003-10-27  André Pönitz  <poenitz@gmx.net>
1597
1598         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1599
1600         * factory.C: handle new InsetPagebreak, InsetLine
1601
1602         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1603         and move handling into new InsetPagebreak, InsetLine
1604
1605         * BufferView_pimpl.C:
1606         * LyXAction.C:
1607         * ParagraphParameters.C:
1608         * ParameterStruct.h:
1609         * lyxfunc.C:
1610         * lyxtext.h:
1611         * paragraph.C:
1612         * paragraph.h:
1613         * paragraph_funcs.C:
1614         * paragraph_pimpl.C:
1615         * rowpainter.C:
1616         * text.C:
1617         * text2.C:
1618         * text3.C: adjust
1619
1620 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1621
1622         * text.C:
1623         * lyxrow_funcs.[Ch]:
1624         * Bidi.C:
1625         * paragraph.C:
1626         * lyxtext.h:
1627         * rowpainter.C:
1628         * text2.C:
1629         * text3.C: remove lastPos uses in favour of Row::endpos
1630
1631 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1632
1633         * undo.C (performUndoOrRedo): fix two crashes by setting a
1634         cursor by hand and reordering some calls. Use bv->lockInset instead
1635         of inset->edit because the latter loses cursor information
1636
1637 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1638
1639         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1640         by Martin
1641         (rowBreakPoint): fix width. change point to point + 1.
1642         Add a missing check.
1643
1644 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1645
1646         * MenuBackend.C:
1647         * lyxfunc.C: fix (at least partly) the problems
1648         with the Nav menu and headers inside branch insets
1649         reported by Kayvan
1650
1651 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1652
1653         * paragraph.C (getChar): add strong asserts
1654
1655         * lyxrow_funcs.C (lastPos): remove hideous hack
1656
1657         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1658         (fill): adjust to that (avoid an infinite loop)
1659
1660 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1661
1662         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1663
1664 2003-10-23  André Pönitz  <poenitz@gmx.net>
1665
1666         * RowList_fwd.h: change list<> to vector<> to gain speed
1667         after suggestion from Alfredo
1668
1669 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1670
1671         * lyxtext.h: move the bidi stuff from here...
1672         * text.C: and here
1673         * text2.C: and here
1674         * Bidi.[Ch]: ... to here
1675
1676 2003-10-23  André Pönitz  <poenitz@gmx.net>
1677
1678         * lyxtext.h:
1679         * text.C (isLastRow, isFirstRow): new functions
1680
1681         * paragraph.h: new width cache member
1682
1683         * rowpainter.C: replace RowList::iterator with Row & where possible
1684
1685         * lyxfunc.C: replace several view()->text with a single call
1686
1687         * toc.C: fix 'unused' warning
1688
1689 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1690
1691         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1692         when woring with stream::pos_type
1693         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1694
1695 2003-10-22  André Pönitz  <poenitz@gmx.net>
1696
1697         * lyxtext.h:
1698         * text.C: use Row & instead of RowList::iterator
1699
1700         * lyxrow.h: rename end() to endpos()
1701
1702         * rowpainter.C:
1703         * text.C:
1704         * text2.C: adjust
1705
1706 2003-10-22  Angus Leeming  <leeming@lyx.org>
1707
1708         * buffer.[Ch] (fully_loaded): new member function, returning true
1709         only when the file has been loaded fully.
1710         Used to prevent the premature generation of previews and by the
1711         citation inset to prevent computation of the natbib-style label.
1712
1713         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1714         templates are all set up.
1715
1716         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1717
1718 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1719
1720         * text.C: fixed an "oops" in the "is a bit silly"
1721         bug fix
1722
1723 2003-10-21  André Pönitz  <poenitz@gmx.net>
1724
1725         * FuncStatus.[Ch]: small stuff, whitespace
1726
1727         * lyxfont.[Ch]: operator<<() for debug reasons
1728
1729         * lyxfunc.C:
1730         * lyxrow_funcs.C:
1731         * lyxtext.h: whitespace, spelling
1732
1733         * paragraph.C: naming of variables
1734
1735         * text.C:
1736         * text2.C: small stuff
1737
1738
1739 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1740
1741         * text.C: (1) finish off the inset display() work;
1742         (2) fix the "is a bit silly" bug (accessing char
1743         past end of par).
1744
1745 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1746
1747         * text.C: re-introduce display() for insets, fixing the
1748         various bugs (stretch of line above, math inset
1749         positioning, ...)
1750
1751 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * text.C (rightMargin): remove spurious semicolon
1754
1755         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1756         1415)
1757
1758 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1759
1760         * text3.C: fix one crash due to wrong cursor def
1761
1762 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1763
1764         * vc-backend.C (scanMaster): make the regex static
1765
1766         * LaTeX.C (scanAuxFile): make the regexs static
1767
1768         * text3.C (doInsertInset, dispatch, dispatch):
1769         * text2.C (cursorUp, cursorDown):
1770         * text.C (selectNextWordToSpellcheck):
1771         * BufferView_pimpl.C (dispatch):
1772         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1773
1774 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * lyxsocket.C: include <cerrno>
1777
1778 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * lyxfunc.C (dispatch): remove textcache stuff
1781
1782         * bufferlist.C (release): remove textcache stuff
1783         (closeAll): ditto
1784
1785         * TextCache.C: delete file
1786         * TextCache.h: delete file
1787
1788         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1789
1790         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1791         delete of the bv_->text.
1792         (resizeCurrentBuffer): remove texcache stuff
1793         (workAreaResize): ditto
1794
1795 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1796
1797         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1798         action.
1799
1800 2003-10-16  André Pönitz  <poenitz@gmx.net>
1801
1802         * lyxrow.[Ch]:
1803         * paragraph.h:
1804         * rowpainter.C:
1805         * text.C:
1806         * text2.C:
1807         * text3.C: speed up by storing y positions per paragraph plus per-row
1808         offset instead of having a 'full' y position in the row.
1809
1810 2003-10-15  André Pönitz  <poenitz@gmx.net>
1811
1812         * iterators.[Ch]:
1813         * iterators.[Ch]:
1814         * undo.[Ch]: make undo aware of inner insets
1815
1816 2003-10-14  Angus Leeming  <leeming@lyx.org>
1817
1818         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1819         static member functions LyX::ref() and LyX::cref.
1820         (lastfiles): new accessor functions for the new lastfiles_ member var.
1821         (addLyXView, views_): add a new LyXView to the list of views_.
1822         (updateInset): loop over all LyXViews to call their own updateInset
1823         member function, returning a pointer to the Buffer owning the inset.
1824
1825         * BufferView_pimpl.C (loadLyXFile):
1826         * MenuBackend.C (expandLastfiles):
1827         * bufferlist.C (MenuWrite, QuitLyX):
1828         lastfiles is no longer a global variable.
1829         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1830
1831         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1832         static function. Access through LyX::cref().emergencyCleanup().
1833
1834 2003-10-14  André Pönitz  <poenitz@gmx.net>
1835
1836         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1837
1838         * undo.[Ch]: restoring part of 'undo in insets'
1839
1840         * Makefile.am:
1841         * undo_funcs.[Ch]: merge with undo.[Ch]
1842
1843         * tabular.C: small cleansing stuff
1844
1845 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1846
1847         * paragraph_funcs.C (readParToken): report unknown insets as error
1848         boxes. Use the outer paragraph as location (also for unknown
1849         tokens).
1850
1851         * factory.C (readInset): do not abort on reading an unknown inset.
1852         Eat it and return 0.
1853
1854 2003-10-13  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1857
1858         * lyxrc.C: displayTranslator is now a function,
1859         declared in GraphicsTypes.h.
1860
1861 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1862
1863         * format.C: new placeholder $$a to pass the socket address.
1864
1865         * bufferlist.[Ch]: new function getBufferFromTmp.
1866
1867         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1868           files in the temporary dir.
1869
1870 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1871
1872         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1873
1874         * Makefile.am: add lyxsocket.[Ch].
1875
1876         * lyx_main.C (error_handler): handle SIGPIPE.
1877
1878 2003-10-13  André Pönitz  <poenitz@gmx.net>
1879
1880         * BufferView_pimpl.C:
1881         * lyxtext.h:
1882         * text.C:
1883         * text2.C:
1884         * text3.C:
1885         * undo_funcs.[Ch]: use paroffset_type instead of
1886           ParagraphList::iterators to prevent multiple conversion
1887           (and get a more robust interface)
1888
1889 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1892         * lyxtext.h: ditto
1893         * text3.C (dispatch): ditto
1894
1895 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1896
1897         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1898         move the onlyfile, use onlyfile instead of foundfile in a couple
1899         of places.
1900
1901         * DepTable.C (update): flush the error stream a bit more
1902
1903 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * lyxserver.C (callback): adjust
1906
1907         * lyxfunc.C (getStatus): add a missing brace in commented code
1908         (ensureBufferClean): reindent
1909         (dispatch): delete version taking a string
1910
1911 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1912
1913         * LaTeX.C (deplog): move found file handlig from here...
1914         (handleFoundFile): .. to new function here.
1915         (deplog): make sure to discover several files mentioned on the
1916         same log line.
1917
1918 2003-10-10  André Pönitz  <poenitz@gmx.net>
1919
1920         * lyxfunc.C:
1921         * lyxtext.h:
1922         * tabular.C:
1923         * text.C:
1924         * text2.C:
1925         * text3.C: fix some of the tabular crashes
1926
1927 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1928
1929         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1930
1931         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1932
1933 2003-10-09  André Pönitz  <poenitz@gmx.net>
1934
1935         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1936
1937         * BufferView.C:
1938         * BufferView_pimpl.C:
1939         * bufferview_funcs.C:
1940         * lyx_cb.C:
1941         * lyxcursor.C:
1942         * lyxfind.C:
1943         * lyxfunc.C:
1944         * lyxtext.h:
1945         * text.C:
1946         * text2.C:
1947         * text3.C:
1948         * text_funcs.[Ch]:
1949         * textcursor.[Ch]:
1950         * undo_funcs.C: adjust
1951
1952 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * text2.C (incrementItemDepth): new function, use a backtracking
1955         algorithm to discover the correct item depth.
1956         (resetEnumCounterIfNeeded): new function, use a backtracking
1957         algorithm to discover if counter reset is needed.
1958         (setCounter): use them. Simplify a bit. Add different labels for
1959         different item depths for itemize.
1960
1961         * paragraph.C (Paragraph): remove initialization of enumdepth
1962         (operator=): ditto
1963
1964         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1965         enumerate and itemize. Change the type of itemdepth to signed char.
1966
1967 2003-10-08  André Pönitz  <poenitz@gmx.net>
1968
1969         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1970           thing assignable.
1971         * text.C:
1972         * text2.C: adjust
1973
1974         * tabular.[Ch]: fix crash after 'row-insert'
1975
1976 2003-10-08  Angus Leeming  <leeming@lyx.org>
1977
1978         Fix doxygen warnings.
1979
1980         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1981         Remove CutAndPaste:: prefix from header file declaration.
1982
1983         * LColor.h (fill): remove LColor:: prefix from declaration.
1984
1985         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1986         use lyx::depth_type rather than Paragraph::depth_type so that
1987         header file and .C file match.
1988
1989         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1990
1991         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1992         * aspell.C: \file aspell_local.C -> \file aspell.C
1993         * gettext.C: \file gettext.C -> \file src/gettext.C
1994         * gettext.h: \file gettext.h -> \file src/gettext.h
1995         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1996         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1997         * text.C: \file text.C -> \file src/text.C
1998
1999         * toc.C: move comment so that doxygen is not confused.
2000
2001 2003-10-07  Angus Leeming  <leeming@lyx.org>
2002
2003         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2004
2005 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2006
2007         * aspell.C:
2008         * aspell_local.h: add forgotten std::string's.
2009
2010 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2011
2012         * LaTeXFeatures.C:
2013         * LyXAction.C:
2014         * factory.C:
2015         * lfuns.h:
2016         * lyxfunc.C:
2017         * text3.C: The Box patch. Fancybox support, minipage, parbox
2018
2019 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2020
2021         * CutAndPaste.h:
2022         * DepTable.h:
2023         * FloatList.h:
2024         * LaTeXFeatures.h:
2025         * ParagraphParameters.h:
2026         * TextCache.h:
2027         * Thesaurus.h:
2028         * bufferlist.h:
2029         * exporter.h:
2030         * importer.h:
2031         * lastfiles.h:
2032         * lyxfind.h:
2033         * lyxfont.h:
2034         * lyxlex.h:
2035         * lyxtextclasslist.h:
2036         * messages.h:
2037         * paragraph.h:
2038         * paragraph_pimpl.C:
2039         * textcursor.h: add <string> and other small fixes to make Lars'
2040         std::string patch compile with STLport.
2041
2042 2003-10-06  Angus Leeming  <leeming@lyx.org>
2043
2044         * LColor.h: Add missing #include <string>.
2045
2046 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * All most all file in all subdirs: Make <string> be the prefered
2049         way of getting to std::string, add using declarations.
2050
2051 2003-10-06  André Pönitz  <poenitz@gmx.net>
2052
2053         * metricsinfo.C: initialize LyXFont before changing attribute.
2054         (fixes the 'math in \emph is upright' bug)
2055
2056 2003-10-06  André Pönitz  <poenitz@gmx.net>
2057
2058         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2059
2060 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * graph.C:
2063         * paragraph_pimpl.C: Small fixes to build using STLport
2064
2065 2003-10-02  André Pönitz  <poenitz@gmx.net>
2066
2067         * lyxfunc.C:
2068         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2069
2070 2003-10-01  André Pönitz  <poenitz@gmx.net>
2071
2072         * factory.C: assert early
2073
2074 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2075
2076         * lyx_main.C: remove the global debug object
2077
2078         * debug.h: adjust for new debugstream
2079
2080         * debug.C: adjust for new debugstream and keep the global debug
2081         object here.
2082
2083 2003-09-22  Angus Leeming  <leeming@lyx.org>
2084
2085         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2086         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2087         an incomplete class LyXFont.
2088
2089 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2090
2091         * factory.C: bug fix in branches
2092
2093 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2094
2095         * lyxfunc.C (processKeySym): adjust
2096         (dispatch): adjust
2097         (dispatch): change arg name from ev to func, adjust
2098         (sendDispatchMessage): ditto
2099
2100         * lyx_main.C (defaultKeyBindings): adjust keybindings
2101         (deadKeyBindings): ditto
2102
2103         * kbsequence.C (addkey): return a FuncRequest
2104
2105         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2106
2107         * kbmap.C (bind): take a FuncRequest as arg, adjust
2108         (read): adjust
2109         (lookup): adjust
2110         (defkey): change to take a FuncRequest as arg, adjust
2111         (findbinding): take a FuncRequest as arg, adjust.
2112
2113         * funcrequest.h (operator=): added
2114
2115         * funcrequest.C (FuncRequest): default kb_action changed from
2116         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2117
2118         * buffer.C (dispatch): simplify
2119         (dispatch): adjust to take a FuncRequest as arg, adjust
2120
2121         * boost.C (assertion_failed): change assertion message slightly
2122
2123         * ToolbarBackend.C (read): simplify
2124
2125         * MenuBackend.C (binding): adjust call to findbinding, add a
2126         message if no binding is found.
2127         (read): simplify
2128         (expandToc): correct by adding a empty FuncRequest
2129
2130         * LyXAction.C: include <boost/assert.hpp>
2131         (isPseudoAction): delete function
2132         (LookupFunc): change name to...
2133         (lookupFunc): this. change return type to FuncRequest.
2134         (getActionName): take kb_action as arg, simplify
2135         (funcHasFlag): add an assert, simplify.
2136
2137 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * toc.C (action): return a FuncRequest, simplify
2140
2141         * lyxfunc.C (processKeySym): adjust
2142         (getStatus): delete version that takes an int.
2143         (getStatus): adjust
2144         (dispatch): delete version that takes action as int
2145         (dispatch): adjust
2146         (sendDispatchMessage): simplify and adjust
2147
2148         * funcrequest.C (getArg): take unsigned int as arg
2149
2150         * ToolbarBackend.C (read): adjust
2151         (add): delete version that takes func as a string.
2152         (getIton): take a FuncRequest as arg
2153
2154         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2155         action.
2156
2157         * MenuBackend.C (MenuItem): add a new construct that only takes a
2158         Kind, simplify the constructor use for submenus.
2159         (add): adjust
2160         (expandLastfiles): adjust
2161         (expandDocuments): adjust
2162         (expandFormats): adjust
2163         (expandFloatListInsert): adjust
2164         (expandFloatInsert): adjust
2165         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2166
2167         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2168         Remove class variables lyx_pseudo_map and lyx_arg_map
2169
2170         * LyXAction.C (searchActionArg): delete function
2171         (getPseudoAction): delete function
2172         (retrieveActionArg): delete function
2173         (LookupFunc): make it return kb_action, simplify.
2174         (getActionName): simplify
2175
2176         * factory.C (createInset): fix new bug
2177
2178 2003-09-19  Angus Leeming  <leeming@lyx.org>
2179
2180         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2181         masterFilename_ parameter in the include inset.
2182
2183         * factory.C (createInset): changes due to the changes to InsetInclude.
2184
2185 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2186
2187         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2188
2189 2003-09-18  Angus Leeming  <leeming@lyx.org>
2190
2191         * buffer.C:
2192         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2193         Inset::fillWithBibKeys.
2194         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2195
2196 2003-09-18  Angus Leeming  <leeming@lyx.org>
2197
2198         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2199         variables.
2200         (ctor): pass and store a 'Buffer const &'
2201         (buffer): new member function.
2202
2203         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2204         '*this' to the LaTeXFeatures ctor.
2205
2206 2003-09-18  Angus Leeming  <leeming@lyx.org>
2207
2208         * LColor.h:
2209         * lyxfont.C:
2210         * lyxfont.h:
2211         * lyxtext.h:
2212         * text.C: rename EnumLColor as LColor_color.
2213
2214 2003-09-18  Angus Leeming  <leeming@lyx.org>
2215
2216         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2217         remove #include "insets/insetbase.h" from cursor.h.
2218
2219 2003-09-18  Angus Leeming  <leeming@lyx.org>
2220
2221         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2222         InsetOld_code to remove #include "inset.h".
2223
2224         * iterators.C: add #include "insets/inset.h"
2225
2226 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2227
2228         * BufferView.C: remove more locking stuff that apparently doesn't
2229         do anything sensible.
2230
2231 2003-09-16  André Pönitz  <poenitz@gmx.net>
2232
2233         * paragraph.[Ch]:
2234         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2235           performance boost.
2236
2237 2003-09-16  Angus Leeming  <leeming@lyx.org>
2238
2239         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2240
2241         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2242         arg/return type.
2243
2244         * paragraph.h: remove #include "lyxfont.h". Forward declare
2245         LyXFont_size.
2246
2247 2003-09-16  Angus Leeming  <leeming@lyx.org>
2248
2249         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2250         of support/textutils.h.
2251         (isWord): move the contents of support/textutils.h's IsWordChar here.
2252
2253         * buffer.C:
2254         * lyxfind.C:
2255         * rowpainter.C:
2256         * text.C:
2257         * text2.C: add #include "paragraph.h".
2258
2259         * rowpainter.C:
2260         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2261
2262 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * main.C:
2265         * lyx_main.C:
2266         * lyx_cb.C:
2267         * buffer.C:
2268         * LaTeX.C: use namespace alias for lyx::support::os
2269
2270 2003-09-16  Angus Leeming  <leeming@lyx.org>
2271
2272         * bufferparams.C:
2273         * bufferview_funcs.C:
2274         * factory.C:
2275         * lyxfunc.C:
2276         * paragraph_pimpl.C:
2277         * rowpainter.C:
2278         * text.C: add #include "LColor.h".
2279
2280 2003-09-16  Angus Leeming  <leeming@lyx.org>
2281
2282         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2283         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2284         return LyXFont &.
2285         Store the FontBits::color variable as an int rather than as an
2286         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2287         file.
2288
2289         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2290         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2291         string calls together.
2292
2293         * lyxrc.C: add #include "LColor.h".
2294
2295 2003-09-15  Angus Leeming  <leeming@lyx.org>
2296
2297         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2298         a cow_ptr.
2299
2300 2003-09-15  Angus Leeming  <leeming@lyx.org>
2301
2302         * LColor.h: add an EnumLColor wrapper for LColor::color.
2303
2304         * lyxfont.[Ch] (color, setColor, realColor):
2305         * lyxtext.h, text.C (backgroundColor):
2306         pass EnumLColor args to/from the functions, rather than LColor::color
2307         ones.
2308
2309         * lyxfont.h:
2310         * lyxtext.h: forward declare EnumLColor.
2311
2312         * lyx_main.C: add #include "LColor.h".
2313
2314 2003-09-15  Angus Leeming  <leeming@lyx.org>
2315
2316         * .cvsignore: add lyx-gtk.
2317
2318 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2319
2320         * Chktex.C
2321         * LaTeX.C
2322         * LaTeXFeatures.C
2323         * ParagraphParameters.C
2324         * Spacing.C
2325         * buffer.C
2326         * bufferparams.C
2327         * bufferview_funcs.C
2328         * chset.C
2329         * counters.C
2330         * funcrequest.C
2331         * lyxfont.C
2332         * lyxgluelength.C
2333         * lyxlength.C
2334         * paragraph.C
2335         * paragraph_funcs.C
2336         * text3.C
2337         * vc-backend.C: remove usage of STRCONV
2338
2339 2003-09-15  Angus Leeming  <leeming@lyx.org>
2340
2341         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2342         explicitly define the color passed to the painter.
2343
2344 2003-09-15  Angus Leeming  <leeming@lyx.org>
2345
2346         * bufferparams.C (BufferParams): reorder member initializers to avoid
2347         compiler warning.
2348
2349 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2350
2351         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2352         * text.C (updateRowPositions): remove an unusual nop
2353
2354 2003-09-12  André Pönitz  <poenitz@gmx.net>
2355
2356         * BufferView_pimpl.C:
2357         * Bullet.C:
2358         * layout.h:
2359         * lyxfunc.C:
2360         * lyxlayout.[Ch]:
2361         * lyxtextclass.C:
2362         * rowpainter.C:
2363         * text.C:
2364         * text2.C:
2365         * Counters.[Ch]: finish the 'automatic counters' job
2366
2367 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2368
2369         * aspell.C: include <boost/assert.cpp> (compile fix)
2370
2371 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2372
2373         * boost.C (assertion_failed): use lyx::support::abort instead of
2374         assert.
2375
2376 2003-09-10  Angus Leeming  <leeming@lyx.org>
2377
2378         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2379         with their _fwd progeny.
2380
2381 2003-09-09  Angus Leeming  <leeming@lyx.org>
2382
2383         134 files throughtout the source tree: replace 'using namespace abc;'
2384         directives with the appropriate 'using abc::xyz;' declarations.
2385
2386 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2387
2388         * boost.C (emergencyCleanup): moved here from LAssert.c
2389         (assertion_failed): new function, called by BOOST_ASSERT
2390
2391         * several files: change Assert to BOOST_ASSERT
2392
2393 2003-09-09  Angus Leeming  <leeming@lyx.org>
2394
2395         * buffer.[Ch]: Add an Impl class and move Buffer's member
2396         variables into it. As a result move several header files out of
2397         buffer.h.
2398
2399         Add header files to lots of .C files all over the tree as a result.
2400
2401 2003-09-09  Angus Leeming  <leeming@lyx.org>
2402
2403         * buffer.[Ch]: make Buffer's member variables private. Add
2404         accessor functions.
2405
2406         Lots of changes all over the tree as a result.
2407
2408 2003-09-08  Angus Leeming  <leeming@lyx.org>
2409
2410         * graph.C: #include <config.h>.
2411
2412 2003-09-08  Angus Leeming  <leeming@lyx.org>
2413
2414         * BranchList.C:
2415         * BufferView.C:
2416         * BufferView_pimpl.C:
2417         * CutAndPaste.C:
2418         * DepTable.C:
2419         * LaTeX.C:
2420         * LaTeXFeatures.C:
2421         * LyXAction.C:
2422         * MenuBackend.C:
2423         * TextCache.C:
2424         * aspell.C:
2425         * buffer.C:
2426         * bufferlist.C:
2427         * changes.C:
2428         * chset.C:
2429         * converter.C:
2430         * counters.C:
2431         * debug.C:
2432         * graph.C:
2433         * ispell.C:
2434         * lyx_cb.C:
2435         * lyxfind.C:
2436         * lyxfunc.C:
2437         * lyxlex_pimpl.C:
2438         * lyxrc.C:
2439         * lyxrow.C:
2440         * paragraph.C:
2441         * rowpainter.C:
2442         * texrow.C:
2443         * text.C:
2444         * text2.C:
2445         * toc.C: remove redundant using directives.
2446
2447 2003-09-07  Angus Leeming  <leeming@lyx.org>
2448
2449         * LaTeXFeatures.h: remove #include "support/types.h".
2450         * ToolbarBackend.h: remove #include <algorithm>.
2451         * changes.h: remove #include <ctime>.
2452         * debug.h: remove #include <iosfwd>.
2453         * graph.h: remove #include "support/std_string.h".
2454         * lyx_main.h: remove #include <csignal>.
2455         * lyxlex_pimpl.h: remove #include <fstream>.
2456         * sgml.h: remove #include <algorithm>, <utility>.
2457         * toc.h: remove #include "support/std_ostream.h".
2458         Add #include <iosfwd>.
2459
2460 2003-09-07  Angus Leeming  <leeming@lyx.org>
2461
2462         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2463
2464         * converter.h: forward declare LatexRunParams.
2465         * encoding.h: remove #include "lyxrc.h".
2466         * lyxtext.h: remove #include "LColor.h".
2467         * lyxtextclass.h: remove #include "support/types.h".
2468         * trans.h: remove #include "tex-accent.h".
2469         * trans_mgr.h: remove #include "tex-accent.h".
2470         * insets/inset.h: remove #include "support/types.h", <vector>.
2471         * insets/insetcollapsable.h: remove #include "LColor.h".
2472         * insets/insetinclude.h: remove #include "dimension.h".
2473         * insets/insetlatexaccent.h: remove #include "dimension.h".
2474         * insets/insetoptarg.h:: remove #include "insettext.h".
2475         * insets/insettext.h: remove #include "dimension.h",
2476         <boost/shared_ptr.hpp>
2477
2478         * insets/renderers.h: add #include "dimension.h".
2479         * insets/updatableinset.h: add #include "support/types.h".
2480
2481         * many .C files: Associated changes.
2482
2483 2003-09-06  Angus Leeming  <leeming@lyx.org>
2484
2485         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2486         one, inside testInvariant.
2487
2488         * PrinterParams.C: new file.
2489         * PrinterParams.[Ch]: move the function bodies out of line.
2490
2491 2003-09-06  Angus Leeming  <leeming@lyx.org>
2492
2493         * ParagraphParameters.h: forward declare ParameterStruct rather than
2494         including its header file.
2495         (depth): moved out-of-line.
2496
2497 2003-09-06  Angus Leeming  <leeming@lyx.org>
2498
2499         * BufferView_pimpl.h:
2500         * kbmap.h:
2501         * kbsequence.h:
2502         * lyxfunc.h: forward declare LyXKeySym rather than
2503         #include "frontends/LyXKeySym.h".
2504
2505         * BufferView_pimpl.C:
2506         * kbmap.C:
2507         * kbsequence.C:
2508         * lyxfunc.C: associated changes.
2509
2510 2003-09-06  Angus Leeming  <leeming@lyx.org>
2511
2512         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2513         As a result, can remove the #include "insets/inset.h" from BufferView.h
2514
2515 2003-09-06  Angus Leeming  <leeming@lyx.org>
2516
2517         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2518         As a result, can remove the #include "insets/inset.h" from BufferView.h
2519
2520 2003-09-06  Angus Leeming  <leeming@lyx.org>
2521
2522         * buffer_funcs.C:
2523         * buffer.h:
2524         * bufferlist.C:
2525         * BufferView.C:
2526         * bufferview_funcs.C:
2527         * BufferView_pimpl.C:
2528         * CutAndPaste.C:
2529         * lyx_cb.C:
2530         * lyxfunc.C:
2531         * paragraph.h:
2532         * ParagraphParameters.C:
2533         * tabular.C:
2534         * text3.C:
2535         * toc.C:
2536         * undo_funcs.C:
2537         * frontends/controllers/ControlDocument.C:
2538         * insets/insetcaption.C: rearrange the #includes into some sort of
2539         coherent order.
2540
2541         * buffer.h: remove #includes ErrorList.h, undo.h
2542
2543 2003-09-06  Angus Leeming  <leeming@lyx.org>
2544
2545         * support/types.h: add a 'depth_type' typedef, used to store the
2546         nesting depth of a paragraph.
2547
2548         * paragraph.h:
2549         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2550         defining explicitly.
2551
2552         * buffer.h:
2553         * paragraph_funcs.h:
2554         * ParagraphParameters.h:
2555         * sgml.h: use lyx::depth_type rather than Paragraph or
2556         ParameterStruct's depth_type.
2557
2558         * buffer.h
2559         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2560
2561         * BufferView.C:
2562         * BufferView_pimpl.C:
2563         * CutAndPaste.C:
2564         * ParagraphParameters.C:
2565         * buffer_funcs.C:
2566         * bufferlist.C:
2567         * bufferview_funcs.C:
2568         * lyx_cb.C:
2569         * lyxfunc.C:
2570         * tabular.C:
2571         * text3.C:
2572         * toc.C:
2573         * undo_funcs.C:
2574         * frontends/LyXView.C:
2575         * frontends/controllers/ControlDocument.C:
2576         * frontends/controllers/ControlErrorList.C:
2577         * insets/insetbibitem.C:
2578         * insets/insetbranch.C:
2579         * insets/insetcaption.C:
2580         * insets/insetcollapsable.C:
2581         * insets/insetenv.C:
2582         * insets/insetert.C:
2583         * insets/insetfloat.C:
2584         * insets/insetfoot.C:
2585         * insets/insetfootlike.C:
2586         * insets/insetnewline.C:
2587         * insets/insetquotes.C:
2588         * insets/insettabular.C:
2589         * insets/insettext.C:
2590         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2591
2592         * frontends/controllers/ControlChanges.C: #include "changes.h".
2593
2594 2003-09-06  Angus Leeming  <leeming@lyx.org>
2595
2596         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2597         than #including paragraph.h.
2598
2599         * ParagraphList.h:
2600         * RowList.h: deleted. Superfluous.
2601
2602         * CutAndPaste.h:
2603         * iterators.h:
2604         * lyxcursor.h:
2605         * lyxtext.h:
2606         * text_funcs.h:
2607         * undo.h:
2608         * undo_funcs.h:
2609         * insets/inset.h:
2610         * insets/insettext.h: use ParagraphList_fwd.h rather than
2611         ParagraphList.h.
2612
2613         * paragraph.h: don't forward declare ParagraphList.
2614
2615         * buffer.h:
2616         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2617         rather than ParagraphList.h. paragraph.h is still needed for the
2618         Paragraph::depth_type parameters.
2619
2620         * textcursor.h: enable it to compile stand-alone in light of the
2621         above changes.
2622
2623         * bufferview_funcs.C:
2624         * iterators.C:
2625         * lyxfunc.C:
2626         * lyxrow_funcs.C:
2627         * paragraph.C:
2628         * rowpainter.C:
2629         * text.C:
2630         * text2.C:
2631         * text3.C:
2632         * text_funcs.C:
2633         * textcursor.C:
2634         * undo.C:
2635         * frontends/controllers/ControlParagraph.C:
2636         * frontends/controllers/ControlTabular.C:
2637         * insets/insetmarginal.C:
2638         * insets/insetminipage.C:
2639         * insets/insetnote.C:
2640         * insets/insetoptarg.C: add header files needed to compile again.
2641
2642 2003-09-06  Angus Leeming  <leeming@lyx.org>
2643
2644         * RowList_fwd.h: new file, forward-declaring Row rather than
2645         #including lyxrow.h.
2646
2647         * lyxrow_funcs.h:
2648         * lyxtext.h:
2649         * paragraph.h:
2650         * insets/insettext.h: use it instead of RowList.h
2651
2652         * bufferview_funcs.C:
2653         * lyxfunc.C:
2654         * lyxrow_funcs.C:
2655         * paragraph.C:
2656         * rowpainter.C:
2657         * text.C:
2658         * text2.C:
2659         * text3.C: #include "RowList.h".
2660
2661 2003-09-05  Angus Leeming  <leeming@lyx.org>
2662
2663         * factory.C (createInset):
2664         * vspace.C (c-tor): replace sscanf call with an istringstream.
2665         * ispell.C: re-add missing HP/UX headers.
2666         * lyxserver.C: re-add missing  os2 headers.
2667
2668 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2669
2670         * BranchList.C:
2671         * graph.C:
2672         * ispell.C:
2673         * lastfiles.C:
2674         * lyx_cb.C:
2675         * lyxserver.C:
2676         * texrow.C:
2677         * text3.C: re-add missing system headers, needed for 2.95.2.
2678
2679 2003-09-05  Angus Leeming  <leeming@lyx.org>
2680
2681         Changes most place everywhere due to the removal of using directives
2682         from support/std_sstream.h.
2683
2684 2003-09-05  Angus Leeming  <leeming@lyx.org>
2685
2686         Replace LString.h with support/std_string.h,
2687         Lsstream.h with support/std_sstream.h,
2688         support/LIstream.h with support/std_istream.h,
2689         support/LOstream.h with support/std_ostream.h.
2690
2691         Changes resulting throughout the tree.
2692
2693 2003-09-05  Angus Leeming  <leeming@lyx.org>
2694
2695         * sgml.h: ensure that the header file can be compiled stand-alone.
2696         * *.C: strip out redundant #includes. (320 in total.)
2697
2698 2003-09-04  Angus Leeming  <leeming@lyx.org>
2699
2700         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2701         here (from getPackages).
2702
2703         * debug.[Ch]: add a new EXTERNAL tag.
2704
2705 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2706
2707         * text2.C (cursorEnd): simplify
2708         (setCursor): adjust
2709         (getColumnNearX): adjust
2710
2711         * text.C (computeBidiTables): adjust
2712         (fill): adjust
2713
2714         * rowpainter.C (paintChars): adjust
2715         (paintSelection): adjust
2716         (paintChangeBar): adjust
2717         (paintText): adjust
2718
2719         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2720         lastPos instead.
2721         (numberOfSeparators): adjust
2722
2723 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * LyXAction.C:
2726         * box.[Ch]:
2727         * lfuns.h:
2728         * lyxfunc.C:
2729         * text3.C: Restricts the mouse click functionality
2730         of insets like bibtex, include, toc and floatlist to the visible
2731         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2732         up the dialogs. Cursor has to be in front of the inset (i.e.
2733         start of row) for this to function.
2734
2735 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2736
2737         * bufferview_funcs.C (currentState): output row information
2738
2739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2740
2741         * bufferview_funcs.C (currentState): output paragraph position
2742
2743 2003-09-04  Angus Leeming  <leeming@lyx.org>
2744
2745         * FloatList.h: move out #include "Floating.h".
2746         * LaTeX.h: move out #include "DepTable.h".
2747         * LyXAction.h: move out #include "funcrequest.h".
2748         * buffer.h: move out #include "author.h", "iterators.h".
2749         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2750         * lyx_main.h: move out #include "errorlist.h".
2751         * lyxfunc.h: move out #include "FuncStatus.h".
2752         * lyxtext: move out #include "lyxcursor.h".
2753         * paragraph_pimpl.h: move out #include "counters.h".
2754
2755 2003-09-03  Angus Leeming  <leeming@lyx.org>
2756
2757         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2758         preamble_snippets list, enabling us to add snippets to the preamble
2759         only if the snippet was not there already.
2760
2761 2003-09-04  Angus Leeming  <leeming@lyx.org>
2762
2763         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2764
2765 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2768         update
2769
2770 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2771
2772         * BranchList.C: point fix, earlier forgotten
2773
2774 2003-09-02  Angus Leeming  <leeming@lyx.org>
2775
2776         * box.C (contains): renamed from 'contained' after a fantastic
2777         amount of hot air.
2778
2779 2003-09-02  John Levon  <levon@movementarian.org>
2780
2781         * BufferView.C:
2782         * lyxcursor.h:
2783         * lyxcursor.C:
2784         * lyxfunc.C:
2785         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2786
2787 2003-09-02  John Levon  <levon@movementarian.org>
2788
2789         * text2.C: simplification of cursorEnd(), including partial
2790         fix for bug 1376
2791
2792 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * buffer.C (readFile): add a space
2795
2796 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2797
2798         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2799
2800 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * buffer.C (readFile): new function, take a filename and a
2803         ParagraphList::iterator
2804         (readFile): adjust
2805         (readFile): adjust, make it private. don't use setStream, make
2806         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2807         always contain the filename.
2808
2809         * BufferView.C (insertLyXFile): simplify and make it work for
2810         gzipped files.
2811
2812 2003-08-30  John Levon  <levon@movementarian.org>
2813
2814         * Makefile.am: fix dist (from Kayvan)
2815
2816 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * most files: change to use const Buffer refs
2819
2820 2003-08-27  André Pönitz  <poenitz@gmx.net>
2821
2822         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2823         on top of ownerPar().
2824
2825 2003-08-27  John Levon  <levon@movementarian.org>
2826
2827         * funcrequest.C: properly initialise POD members
2828
2829 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * lyxtext.h (top_y): move top_y from here
2832         * text.C:
2833         * text2.C:
2834         * text3.C:
2835         * BufferView.[Ch]:
2836         * BufferView_pimpl.[Ch]: to here
2837         * frontends/screen.C:
2838         * insets/insettabular.C:
2839         * insets/insettext.C: adjust
2840         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2841
2842 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * BufferView.[Ch]:
2845         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2846
2847 2003-08-26  André Pönitz  <poenitz@gmx.net>
2848
2849         * paragraph_func.[Ch] (outerPar): new function
2850
2851         * paragraph.C:
2852         * paragraph_funcs.C:
2853         * paragraph_funcs.h:
2854         * paragraph_pimpl.C:
2855         * text2.C: remove Inset::par_owner
2856
2857 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2858
2859         * lyxrow_funcs.C:
2860         * lyxtext.h:
2861         * text.C:
2862         * text2.C: eliminates the needFullRow/display() stuff
2863         altogether, putting the logic in metrics/draw in the insets.
2864
2865 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * text2.C (redoParagraphInternal, redoParagraphs):
2868         * text.C (redoParagraph): add a call to updateRowPositions at the
2869         end of each 'metrics-like' call. Remove all others.
2870         (getRow): remove the 'y-computing' version.
2871         (getRowNearY): do not compute nor return the real y. Solve the
2872         'y < 0' problem and simplify.
2873
2874 2003-08-22  Angus Leeming  <leeming@lyx.org>
2875
2876         * *.[Ch]: clean-up of licence and author blurbs.
2877         Also move config.h out of a few .h files and into a few .C files.
2878
2879 2003-08-22  André Pönitz  <poenitz@gmx.net>
2880
2881         * lyxrow.[Ch]: add x_ and *fill_ members
2882
2883         * lyxtext.h:
2884         * text.C:
2885         * rowpainter.C:
2886         * text2.C: adjust/remove prepareToPrint() calls
2887
2888 2003-08-22  André Pönitz  <poenitz@gmx.net>
2889
2890         * lyxrow.[Ch]: add  end_ member
2891
2892         * lyxrow_funcs.C: use LyXRow::end_
2893
2894         * lyxtext.h (singleWidth): add LyXFont parameter
2895
2896         * rowpainter.C:
2897         * text2.C: adjust LyXText::singleWidth() calls
2898
2899         * text.C (redoParagraph): simplify row breaking logic
2900
2901
2902 2003-08-19  André Pönitz  <poenitz@gmx.net>
2903
2904         * funcrequest.C: initialize button_ member
2905
2906         * text3.C:
2907         * rowpainter.[Ch]: interface consolidation
2908
2909 2003-08-18  André Pönitz  <poenitz@gmx.net>
2910
2911         * BufferView.C:
2912         * BufferView_pimpl.C:
2913         * lyxfind.C:
2914         * paragraph_funcs.C:
2915         * rowpainter.C:
2916         * text3.C: remove LyXScreen::draw() and fitCursor calls
2917
2918         * BranchList.h: remove spurious semicolons
2919
2920         * MenuBackend.C: fix branchlist related crash
2921
2922 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * BranchList.[Ch]:
2925         * InsetList.[Ch]:
2926         * LColor.[Ch]:
2927         * LyXAction.C:
2928         * Makefile.am:
2929         * MenuBackend.[Ch]:
2930         * bufferparams.[Ch]:
2931         * factory.C:
2932         * lfuns.h:
2933         * lyxfunc.C:
2934         * text3.C: implements the 'branch inset'
2935         idea. This allows the output of various versions of a document
2936         from a single source version, selectively outputing or suppressing
2937         output of parts of the text.
2938         This implementation contains a 'branch list editor' in a separate
2939         tab of the document settings dialog. Branches are user definable
2940         and have a "display colour" to distinguish them on-screen.
2941
2942         ColorHandler was somewhat cleaned up.
2943         (1) make possible a dynamically growing LColor list by allowing
2944         the graphic context cache to grow along (vector);
2945         (2) eliminate an IMHO unnecessary step in colour allocation.
2946
2947 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2948
2949         * BufferView_pimpl.C: compile fix
2950
2951 2003-08-15  André Pönitz  <poenitz@gmx.net>
2952
2953         * rowpainter.C: remove extra metrics calls
2954
2955         * lyxtext.h: merge the two constructors into a single one,
2956           pass reference to owner's par list
2957
2958         * BufferView_pimpl.C:
2959         * text.C:
2960         * text2.C: adjust
2961
2962 2003-08-15  André Pönitz  <poenitz@gmx.net>
2963
2964         * lyxrow_funcs.[Ch]:
2965         * lyxtext.h:
2966         * paragraph.h:
2967         * paragraph_funcs.C:
2968         * rowpainter.C:
2969         * text.C:
2970         * text2.C:
2971         * text3.C:
2972         * text_funcs.C: split LyXText::rowlist_ into individual
2973         Paragraph::rows_ chunks
2974
2975         * BufferView.[Ch]:
2976         * BufferView_pimpl.[Ch]:
2977         * lyxfind.C:
2978         * lyxtext.h:
2979         * text3.C: remove toggleSelection()
2980
2981 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2982
2983         * bufferlist.C: beautify two alerts (shorter text of buttons)
2984         * buffer.C: Remove redundant ' ' from message
2985         * tabular.h:
2986         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2987         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2988         rename VALIGN_CENTER to VALIGN_MIDDLE
2989
2990 2003-08-11  André Pönitz  <poenitz@gmx.net>
2991
2992         * lyxtext.h (getPar):
2993         * text.C: new function
2994
2995 2003-08-11  André Pönitz  <poenitz@gmx.net>
2996
2997         * Makefile.am:
2998         * tracer.[Ch]: remove unneeded files
2999
3000         * InsetList.[Ch]: remove resizeInsetsLyXText()
3001
3002         * lyxtext.h:
3003         * text.C:
3004         * text2.C:
3005         * text3.C: merge insertParagraphs() and appendParagraph()
3006         remove breakAgain(), update()
3007
3008         * BufferView_pimpl.[Ch]:
3009         * bufferview_funcs.[Ch]:
3010         * lyxfunc.C:
3011         * paragraph.[Ch]:
3012         * rowpainter.C:
3013         * tabular.C: adjust after text & InsetList changes.
3014
3015 2003-08-08  André Pönitz  <poenitz@gmx.net>
3016
3017         * text.C (insertChar, backspace): replace rowlist fiddling
3018         with rebreak of full par
3019
3020         * lyxtext.h:
3021         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3022         checkParagraph, updateInset): removed
3023
3024 2003-08-07  André Pönitz  <poenitz@gmx.net>
3025
3026         * paragraph.C:
3027         * text3.C: merge some LFUN handlers, remove dead code
3028
3029 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3030
3031         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3032
3033 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * text2.C (DEPM): fix part of bug 1255 and 1256
3036
3037 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * BufferView_pimpl.C (workAreaDispatch): change to use
3040         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3041         that are no mouse related.
3042
3043 2003-08-05  André Pönitz  <poenitz@gmx.net>
3044
3045         * BufferView.[Ch]:
3046         * BufferView_pimpl.[Ch]:
3047         * bufferview_funcs.C:
3048         * text2.C:
3049         * text3.C: rip out "deep update"
3050
3051         * textcursor.[Ch] (last_sel_cursor): remove unused member
3052
3053 2003-08-04  André Pönitz  <poenitz@gmx.net>
3054
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.[Ch]:
3057         * ParagraphParameters.C:
3058         * bufferview_funcs.C:
3059         * lyx_cb.C:
3060         * lyxfind.C:
3061         * lyxfunc.C:
3062         * text.C:
3063         * text2.C:
3064         * text3.C: replace "complicated" BufferView::update(...) calls with
3065         simpler ones.
3066
3067         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3068
3069 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3070
3071         * Makefile.am (lyx_SOURCES): add paper.h
3072
3073 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3074
3075         * Makefile.am: move things around so that both lyx-qt and
3076         lyx-xforms can be built (according to --with-frontend). Then lyx
3077         is a symbolic link to lyx-[firstfrontend]
3078
3079 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3080
3081         * Always use std::endl with lyxerr
3082
3083 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3084
3085         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3086
3087 2003-08-01  André Pönitz  <poenitz@gmx.net>
3088
3089         * BufferView.[Ch]:
3090         * BufferView_pimpl.[Ch]:
3091         * lyxfunc.C:
3092         * text3.C: merge BufferView::repaint() and BufferView::update()
3093
3094 2003-08-01  José Matos  <jamatos@lyx.org>
3095
3096         * buffer.[Ch]: file_format is no longer a buffer data element.
3097
3098 2003-08-01  André Pönitz  <poenitz@gmx.net>
3099
3100         * BufferView.C:
3101         * lyxtext.h:
3102         * text.C:
3103         * text2.C: make redoParagraph more independent of current cursor
3104
3105         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3106         * text.C:
3107         * text2.C: remove unneeded members
3108
3109 2003-07-30  André Pönitz  <poenitz@gmx.net>
3110
3111         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3112
3113         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3114           create a single function...
3115
3116         * paragraph_funcs.C (moveItem): ... here.
3117
3118         * text.C:
3119           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3120
3121 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3122
3123         * LColor.[Ch]: Add comment and greyedout logical colors.
3124
3125 2003-07-30  André Pönitz  <poenitz@gmx.net>
3126
3127         * tabular.C: don't use Assert too heavily. This crashes where it
3128           shouldn't
3129
3130 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3133         is disabled (bug 1232)
3134
3135 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3136
3137         * factory.C: limited 'arg' scope
3138
3139 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3140
3141         * factory.C: fixed Note submenu issues
3142
3143 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * factory.C: submenu for Note/Comment/Greyedout
3146
3147 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * lyx_main.C (LyX):
3150         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3151
3152 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3153
3154         * LaTeXFeatures.C:
3155         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3156         greyedout. Patch provided by Jürgen Spitzmüller.
3157
3158 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3159
3160         * kbmap.C (read): fix error message when reading bind files
3161
3162 2003-07-29  Angus Leeming  <leeming@lyx.org>
3163
3164         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3165         certainly does not do what it purports to do. I am doing it, and
3166         us, a favour by killing it.
3167
3168 2003-07-28  José Matos  <jamatos@lyx.org>
3169
3170         * buffer.C (readBody, do_writeFile):
3171         * paragraph.C(readParagraph): \end_document replaces \the_end.
3172
3173 2003-07-29  André Pönitz  <poenitz@gmx.net>
3174
3175         * BufferView.[Ch]:
3176         * BufferView_pimpl.[Ch]:
3177         * lyxfunc.C:
3178         * text2.C:
3179         * text3.C:
3180         * textcursor.[Ch]: remove toggleToggle & Co
3181
3182 2003-07-28  José Matos  <jamatos@fep.up.pt>
3183
3184         * buffer.C (readParagraph):
3185         * params_func (readParToken, readParagraph):
3186         * paragraph.C (write): \layout -> \begin_layout.
3187
3188 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * lyxlex_pimpl.C (setFile): clean up slightly.
3191
3192         * bufferparams.h: add compressed var
3193
3194         * buffer_funcs.C (readFile): adjust for LyXLex change
3195         (newFile): ditto + simplify
3196
3197         * buffer.C (writeFile): handle writing of compressed files
3198
3199         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3200         Check if the file is compressed and set a bufferparm if so.
3201
3202         * Makefile.am (lyx_LDADD): remove explicit -lz
3203
3204 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3205
3206         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3207         makeDocBookFile): put the real LyX version in the first line of
3208         the file
3209
3210         * version.h:
3211         * version.C.in: remove lyx_docversion
3212
3213         * tabular.C (write_attribute): add a template-based version to
3214         write enums properly
3215
3216 2003-07-28  André Pönitz  <poenitz@gmx.net>
3217
3218         * lyxtext.h:
3219         * text.C:
3220         * text2.C:
3221         * text3.C: use doubles again for x-coordinates. They are needed.
3222
3223 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3224
3225         * messages.C (getLocaleDir): use lyx_localedir()
3226
3227         * lyxlex_pimpl.C (setFile): compress stuff
3228
3229         * buffer.C (writeFile): add some compression stuff
3230         (do_writeFile): new func, dont call expliti close... will this
3231         breake anything?
3232
3233         * Makefile.am (lyx_LDADD): add -lz
3234
3235 2003-07-28  José Matos  <jamatos@fep.up.pt>
3236
3237         * buffer.C: increment file format.
3238         * paragraph_funcs (readParagraph, readParToken):
3239         * paragraph.C (readParagraph): add \end_layout.
3240
3241 2003-07-27  Angus Leeming  <leeming@lyx.org>
3242
3243         * Makefile.am: remove special casing for configure-time setting of
3244         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3245
3246         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3247         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3248
3249 2003-07-26  André Pönitz  <poenitz@gmx.net>
3250
3251         * paragraph_func.[Ch]:
3252         * paragraph.C (realizeFont): inline it whereever it is used
3253
3254         * rowpainter.C:
3255         * text.C:
3256         * text2.C:
3257         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3258
3259
3260 2003-07-26  André Pönitz  <poenitz@gmx.net>
3261
3262         *       lyxtext.h:
3263         * text.C:
3264         * text2.C: get rid of LyXText::need_break_row
3265
3266 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * toc.[Ch]: put namespace toc inside namespace lyx
3269
3270         * MenuBackend.C (expandToc2): adjust for lyx::toc
3271         (expandToc): ditto
3272
3273         * lyxfunc.C (dispatch): adjust for lyx::find
3274
3275         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3276         lyx::find instead. Reorganize a bit.
3277         (LyXReplace): rename to replace
3278         (LyXFind): rename to find
3279
3280         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3281         (dispatch): ditto
3282
3283 2003-07-26  André Pönitz  <poenitz@gmx.net>
3284
3285         * text.C (setHeightOfRow): restrict scope of temporary variable
3286
3287         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3288           code (never has been used?)
3289
3290 2003-07-27  Asger Alstrup  <alstrup@local>
3291
3292         * text.C (fill): Optimise algorithm to exploit that we can reuse
3293         the LyXFont for many characters.
3294         (setHeightOfRow): Same thing.
3295         (rowBreakPoint): Same thing.
3296
3297 2003-07-26  Asger Alstrup  <alstrup@local>
3298
3299         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3300
3301         * text.C (singleWidth): Spurious font copying in hot-spot
3302         singleWidth avoided. Reorder tests for arabic for efficiency.
3303
3304         * text.C (fill): handle empty paragraphs better.
3305
3306 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3307
3308         * ispell.C:
3309         * encoding.h: add includes
3310
3311         * lyxrc.C: remove reading of bind files
3312
3313         * lyx_main.C (init): setup bindings and menus only if we have a
3314         gui.
3315
3316         * kbmap.C (read): new method. Do the actual reading of bind
3317         files.
3318
3319         * converter.C (dvipdfm_options):
3320         * bufferparams.C:
3321         * lyxrc.C (read):
3322         (output): adapt PAPER_* enums.
3323
3324         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3325
3326         * bufferparams.h: remove paper-related enums from there
3327
3328         * paper.h: New file. A trivial header file to hold paper-related
3329         enums. It should later expand to contain many paper-related
3330         horrors access.
3331
3332         * lyxrc.C: declare extern displayTranslator
3333
3334 2003-07-27  José Matos  <jamatos@fep.up.pt>
3335
3336         * tabular.[Ch] (linuxdoc): add support for tables and figures
3337         (linuxdoc).
3338
3339 2003-07-27  José Matos  <jamatos@fep.up.pt>
3340
3341         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3342         consistency in both functions.
3343         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3344
3345 2003-07-26  Asger Alstrup  <alstrup@local>
3346
3347         * rowpainter.C (paintRows): Change algorithm to work directly on
3348         the insets rather than asking every character in the document
3349         whether its an inset.
3350
3351 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * buffer.C (openFileWrite): factorize some code
3354
3355 2003-07-26  Angus Leeming  <leeming@lyx.org>
3356
3357         * lyx_cb.C:
3358         * lyx_main.[Ch]: replace occurances of system_tempdir with
3359         os::getTmpDir().
3360
3361 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * rename Inset to InsetOld
3364
3365 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3366
3367         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3368         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3369         which I think is a bit clearer. EDIT is gone, since it was
3370         premature optimisation, and broken for mathed anyway.
3371         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3372         with cursor positioning in insets as well (math insets still do not
3373         work, but that's a different story anyway.) It mysteriously
3374         crashes sometimes with undo in the first paragraph, but I'm fairly
3375         confident that this is a compiler bug.
3376
3377 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * paragraph.C (Paragraph): adjust for new clone return type
3380         (operator==): ditto
3381         (copyIntoMinibuffer): ditto
3382
3383 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3384
3385         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3386         by not having a special case, and always doing a full rebreak of
3387         the document after undo.
3388
3389 2003-07-23  Angus Leeming  <leeming@lyx.org>
3390
3391         * factory.C (createInset): InsetExternal::setParams now takes a
3392         Buffer const * arg.
3393
3394 2003-07-23  Angus Leeming  <leeming@lyx.org>
3395
3396         * factory.C (createInset): changed interface to the external and
3397         graphics mailers' string2params functions.
3398
3399 2003-07-23  Angus Leeming  <leeming@lyx.org>
3400
3401         * factory.C (createInset): pass a
3402         Buffer const * parameter to InsetExternalMailer's string2params.
3403
3404 2003-07-22  John Levon  <levon@movementarian.org>
3405
3406         * Thesaurus.h: include the right aiksaurus header
3407
3408 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3409
3410         * MenuBackend.C (expand): check menu shortcuts unconditionally
3411
3412 2003-07-21  Angus Leeming  <leeming@lyx.org>
3413
3414         * factory.C (createInset): pass a
3415         buffer_path parameter to InsetGraphicsMailer's string2params.
3416
3417 2003-07-21  Angus Leeming  <leeming@lyx.org>
3418
3419         * BufferView_pimpl.C (buffer):
3420         * buffer.C (d-tor):
3421         * lyx_main.C (LyX):
3422         * lyxfunc.C (dispatch):
3423         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3424         rather than the grfx shortcut.
3425
3426 2003-07-21  André Pönitz  <poenitz@gmx.net>
3427
3428         * rowpainter.C: remove unused variables
3429
3430         * tabular_funcs.C:
3431         * tabular_funcs.h: move to tabular.C
3432         * Makefile.am: adjust
3433
3434         * tabular.[Ch]: basic optical cleaning
3435
3436         * author.h: pass references, not values
3437
3438 2003-07-18  André Pönitz  <poenitz@gmx.net>
3439
3440         * lyxtext.h:
3441         * metricsinfo.C:
3442         * metricsinfo.h:
3443         * rowpainter.C:
3444         * text.C:
3445         * text2.C:
3446         * text3.C: two-phase drawing for InsetText and InsetTabular
3447         some float -> int changes.
3448
3449 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3450
3451         * lyx_main.C: fix the fix
3452
3453 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * lyx_main.C: fix a crash in batch mode if no files specified
3456         * converter.C: ws
3457
3458 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * format.[Ch] (papersize): moved to BufferParams
3461         * converter.[Ch] (dvips_options): moved to BufferParams
3462         (dvipdfm_options): moved to anon namespace
3463         * bufferparams.[Ch]: added above functions.
3464
3465 2003-07-17  André Pönitz  <poenitz@gmx.net>
3466
3467         * lyxtext.h:
3468         * rowpainter.C:
3469         * text2.C: don't call inset->update() anymore
3470
3471         * metricsinfo.[Ch]: add convenience constructor
3472
3473 2003-07-16  André Pönitz  <poenitz@gmx.net>
3474
3475         * lyxcursor.[Ch]:
3476         * lyxfunc.[Ch]:
3477         * text.C:
3478         * text2.C: replace the LyXCursor::irow_ member with
3479          on-demand computation of the value
3480
3481 2003-07-16  John Levon  <levon@movementarian.org>
3482
3483         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3484
3485 2003-07-15  André Pönitz  <poenitz@gmx.net>
3486
3487         * text.C:
3488         * text2.C: remove no more needed refresh_row
3489
3490 2003-07-15  André Pönitz  <poenitz@gmx.net>
3491
3492         * lyxtext.h:
3493         * rowpainter.C:
3494         * text2.C:
3495         * text3.C: refresh_status tristate -> need_update bool
3496
3497 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3498
3499         * lyxtext.h (init): remove reinit argument (act as if always true)
3500         * text2.C: adjust to that
3501
3502 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3503
3504         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3505         * text3.C: use it to delete selections in some cases
3506         (bugs 441, 673, 702, 954).
3507
3508 2003-07-14  André Pönitz  <poenitz@gmx.net>
3509
3510         * rowpainter.[Ch]: reduce interface
3511
3512 2003-07-14  André Pönitz  <poenitz@gmx.net>
3513
3514         * BufferView_pimpl.C:
3515         * text2.C: adjust after removing unused BufferView * argument
3516
3517 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * text2.C (init): fix a crash fired on resize
3520
3521 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * buffer.[Ch]: added new closing signal
3524         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3525         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3526         BufferView::Pimpl via the closing the signal
3527
3528 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3529
3530         * buffer.[Ch]: take out all bv-related from buffer
3531         * BufferView.C:
3532         * BufferView_pimpl.[Ch]: connect to new signals
3533         * CutAndPaste.C: removed useless asserts
3534         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3535         * lyxvc.[Ch]:
3536         * vc-backend.[Ch]:
3537         * lyxfunc.C: moved view-related funciontality from vc here
3538         * paragraph.C: removed outdated comments
3539         * text.C: ws
3540
3541 2003-07-10  André Pönitz  <poenitz@gmx.net>
3542
3543         * BufferView_pimpl.C:
3544         * tabular.h:
3545         * tabular_funcs.C:
3546         * text.C:
3547         * text2.C: remove InsetText::InnerCache, clean up consequences
3548
3549 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3550
3551         * ispell.C: fix two typos in error messages
3552
3553 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3554
3555         * Extend Note inset to other forms of annotation like Comment
3556         and Greyedout. Right button click gives dialog.
3557
3558         Files modified or added (+):
3559
3560         * insetnote.[Ch]
3561         * FormNote.[Ch]      +
3562         * ControlNote.[Ch]   +
3563         * form_note.fd       +
3564         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3565         frontends/controllers
3566         * xforms/Dialogs.C
3567         * factory.C
3568
3569 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3570
3571         * aspell.C: add missing namespace lyx::support
3572
3573 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3574
3575         * BufferView.[Ch] (newFile): Add
3576         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3577         * LaTeX.[Ch] (message): added this signal and use it
3578         * buffer.[Ch] (busy, message): added these signals and use them
3579         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3580         * converter.C:
3581         * exporter.C:
3582         * format.C:
3583         * importer.C: use buffer signals instead of direct bv calling
3584         * lyx_cb.[Ch] (ShowMessage): removed
3585         * lyx_main.C:
3586         * lyxfunc.C:
3587         * paragraph_funcs.C:
3588         * text2.C: use buffer signals
3589
3590 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * introduce namespace lyx::graphics
3593
3594 2003-07-02  André Pönitz  <poenitz@gmx.net>
3595
3596         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3597
3598 2003-07-01  André Pönitz  <poenitz@gmx.net>
3599
3600         * text.C:
3601         * text2.C:
3602         * text3.C:
3603         * text_funcs.[Ch]:
3604         * textcursor.h:
3605         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3606           text*.C to text_func.C
3607
3608 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * introduce namespace lyx::support
3611
3612 2003-06-30  André Pönitz  <poenitz@gmx.net>
3613
3614         * Chktex.C:
3615         * funcrequest.C:
3616         * lyxtext.h:
3617         * text.C: re-enable --with-included-string
3618
3619 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3620
3621         * textcursor.C: add <config.h>
3622
3623         * text.C (getWord): remove const from word_location arg
3624
3625         * lyxvc.C (getLogFile): fix const type order
3626
3627         * lyxtext.h: remove const from word_location arg, add arg name
3628
3629         * lyxlayout.h: currect type on labeltype.
3630
3631         * importer.C: correct \file
3632
3633         * converter.C (intToFormat): use std:: on ret val, ws changes
3634
3635         * bufferlist.h: correct \file
3636
3637         * buffer.C (makeLinuxDocFile): fix const type order
3638         (makeDocBookFile): ditto
3639         (fillWithBibKeys): use std:: on stdlib args.
3640
3641         * CutAndPaste.C: fix authors.
3642         (availableSelections): use std:: on return vector
3643
3644 2003-06-27  André Pönitz  <poenitz@gmx.net>
3645
3646         * BufferView_pimpl.C:
3647         * bufferview_funcs.C:
3648         * lyxcursor.C:
3649         * lyxcursor.h:
3650         * lyxfunc.C:
3651         * lyxtext.h:
3652         * rowpainter.C:
3653         * text.C:
3654         * text2.C:
3655         * text3.C: remove LyXCursor::row_ member
3656
3657         * lyxtext.h:
3658         * text.C: rename fullRebreak() to partialRebreak() and implement
3659           a fullRebreak() that really bereks fully
3660
3661         * textcursor.h: new struct for cursor-related data
3662
3663 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * lyx_main.C (LyX): get full path of document loaded on the
3666         command line
3667
3668 2003-06-26  André Pönitz  <poenitz@gmx.net>
3669
3670         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3671           remove unused/broken operator>,<,>=.
3672
3673         *       text.C: remove only use of broken operator<= in an Assert().
3674
3675 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3676
3677         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3678         moved errorlist_.clear to showErrorList
3679
3680 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * converter.C (scanLog, runLaTeX):
3683         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3684         move the bv->showErrorList call to the callers
3685         * lyxfunc.C: i.e. here...
3686         * text2.C: and here
3687         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3688         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3689         namespace, the second to...
3690         * buffer_funcs (BufferFormat, parseErrors): added
3691         * errorlist.C (ErrorList(TeXErrors const &)): removed
3692
3693 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3694
3695         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3696
3697 2003-06-24  "Garst R. Reese" <reese@isn.net>
3698
3699         * debug.C: fix typo
3700
3701 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3702
3703         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3704
3705         * version.C.in: change docversion to 1.4
3706
3707 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * buffer.C: fix a bug just introduced
3710
3711 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * buffer.[Ch]: added the parseError signal and use it, removed
3714         sgmlError
3715         * BufferView.[Ch] (addError): moved to ...
3716         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3717         to the Buffer::parseError signal to catch (guess what) parse errors
3718         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3719
3720 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3723         ability to create a buffer and to return an existing one from
3724         the list. Moved these functions to...
3725         * buffer_funcs.[Ch]: added
3726         * BufferView.[Ch] (loadLyXFile): added
3727         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3728         job removed from bufferlist::loadLyXFile.
3729         * buffer.C (setReadOnly): make it work without view
3730         (i.e added an if (users))
3731
3732 2003-06-19  Angus Leeming  <leeming@lyx.org>
3733
3734         * lfuns.h:
3735         * LyXAction.C (init):
3736         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3737         with LFUN_DIALOG_SHOW <name> <data>.
3738
3739 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3740
3741         * CutAndPaste.C (availableSelections): small compilation fix for
3742         ancient (gcc 2.9x) compilers
3743
3744 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * text3.C (cursorNext): add tmp var
3747
3748         * text2.C (updateCounters): for function calling out of for clause
3749         (replaceSelectionWithString): ditto
3750         (insertStringAsParagraphs): ditto
3751         (getColumnNearX): add tmp var
3752         (setCursorFromCoordinates): add tmp var
3753         (cursorDownParagraph): add tmp var
3754         (deleteEmptyParagraphMechanism): add tmp var
3755
3756         * text.C (insertChar): add tmp var
3757
3758         * rowpainter.C (paintDepthBar): add tmp var
3759
3760         * CutAndPaste.C (availableSelections): potentially check all
3761         paragraphs in a cut to fill the shown strings.
3762
3763 2003-06-18  André Pönitz  <poenitz@gmx.net>
3764
3765         * kbmap.[Ch]: use vector<> instead of list<>
3766
3767 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3768
3769         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3770         pasteSelection with index
3771
3772         * text2.C (pasteSelection): modify, call pasteSelection with index
3773
3774         * paragraph.C (asString): reimplement version with no interval to
3775         call the one with interval.
3776
3777         * lyxtext.h: add index arg to pasteSelection
3778
3779         * MenuBackend.C (MenuItem): handle PasteRecent
3780         (Menu::read::Menutags): add md_pasterecent
3781         (read): handle it
3782         (expandPasteRecent): new function
3783         (expand): use it
3784
3785         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3786
3787         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3788         the limited stack
3789         (availableSelections): new function
3790
3791 2003-06-17  Angus Leeming  <leeming@lyx.org>
3792
3793         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3794
3795 2003-06-17  Angus Leeming  <leeming@lyx.org>
3796
3797         * lfuns.h:
3798         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3799
3800         * lyxfunc.C (dispatch): invoke it.
3801
3802 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3803
3804         * iterators.C (operator++, ParPosition): reintroduce some
3805         const_cast for the benefit of older compilers.
3806
3807 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3808
3809         * text3.C (dispatch): do not modify clipboard when doing
3810         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3811         LFUN_DELETE_SKIP on a selection selection
3812
3813 2003-06-16  André Pönitz  <poenitz@gmx.net>
3814
3815         * BufferView.C:
3816         * buffer.C:
3817         * buffer.h:
3818         * paragraph.C:
3819         * tabular.[Ch]: IU of clone() and getLabelList();
3820
3821 2003-06-13  André Pönitz  <poenitz@gmx.net>
3822
3823         * tabular.h: compactification
3824
3825 2003-06-12  André Pönitz  <poenitz@gmx.net>
3826
3827         * tabular.C:
3828         * tabular.h:
3829         * tabular_funcs.h: some renaming plus whitespace
3830
3831 2003-06-12  André Pönitz  <poenitz@gmx.net>
3832
3833         * BufferView.C:
3834         * BufferView_pimpl.C:
3835         * CutAndPaste.C:
3836         * buffer.C:
3837         * iterators.[Ch]:
3838         * lyxfunc.C:
3839         * text.C:
3840         * toc.C: Return a Paragraph & for ParIterator::operator*()
3841
3842 2003-06-11  John Levon  <levon@movementarian.org>
3843
3844         * lyx_main.C:
3845         * ToolbarBackend.h:
3846         * ToolbarBackend.C: add "Toolbars" section and
3847         put the flags there
3848
3849 2003-06-10  Angus Leeming  <leeming@lyx.org>
3850
3851         * lfuns.h:
3852         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3853
3854         * lyxfunc.C (dispatch): invoke it.
3855
3856 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * main.C: protect <ios> with HAVE_IOS
3859         (main): protect sync_with_stdio with HAVE_IOS
3860
3861 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3862
3863         * text2.C (cutSelection): adjust
3864         (pasteSelection): adjust
3865
3866         * messages.C: handle get of empty string
3867
3868         * main.C (main): use sync_with_stdio(false)
3869
3870         * lyxfunc.C (dispatch): adjust
3871
3872         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3873         (WriteAs): remove unneeded BufferView arg.
3874
3875         * bufferparams.h: use correct types on papersize, papersize2 and
3876         paperpackage.
3877
3878         * bufferparams.C (readToken): adjust for type
3879         (writeLaTeX): add missing cases to switch.
3880
3881         * bufferlist.C (quitWriteBuffer): adjust
3882         (close): adjust
3883
3884         * buffer.C (asciiParagraph): remove some commented code.
3885
3886         * CutAndPaste.C: remove current_view extern variable.
3887         (cutSelection): add BufferParams arg.
3888         (eraseSelection): add BufferParams arg.
3889         (pasteSelection): add Buffer const & arg
3890
3891 2003-06-07  John Levon  <levon@movementarian.org>
3892
3893         * buffer.C:
3894         * paragraph_funcs.C:
3895         * paragraph_pimpl.C:
3896         * text.C:
3897         * text2.C:
3898         * paragraph.h:
3899         * paragraph.C: allow InsetERT to freely space lines,
3900         and some consolidation of code
3901
3902 2003-06-06  José Matos  <jamatos@fep.up.pt>
3903
3904         * buffer.C (makeDocBookFile): fix bug #821
3905
3906 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3907
3908         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3909
3910 2003-06-04  Angus Leeming  <leeming@lyx.org>
3911
3912         * buffer.C: bump format to 224.
3913
3914 2003-06-05  André Pönitz  <poenitz@gmx.net>
3915
3916         * text2.C (redoParagraphs): remove two const_cast<>
3917
3918 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3919
3920         * ParagraphList.h: remove last remnants of NO_STD_LIST
3921
3922 2003-06-03  Angus Leeming  <leeming@lyx.org>
3923
3924         * factory.C (createInset): small change to the way InsetExternal's params
3925         are set.
3926
3927 2003-06-04  André Pönitz  <poenitz@gmx.net>
3928
3929         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3930
3931         * paragraph_pimpl.h:
3932         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3933
3934         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3935
3936         * undo_funcs.C: make some simple cases of undo work again
3937
3938 2003-06-03  John Levon  <levon@movementarian.org>
3939
3940         * ispell.C: HPUX doesn't have sys/select.h
3941         (from Albert Chin)
3942
3943 2003-06-03  John Levon  <levon@movementarian.org>
3944
3945         * CutAndPaste.C: update tabular and include inset
3946         buffer references
3947
3948         * buffer.h:
3949         * paragraph.h:
3950         * paragraph.C: remove owningBuffer(), don't pass Buffer
3951         to clone()
3952
3953         * factory.C: insetGraphicsParams changed
3954
3955 2003-06-02  John Levon  <levon@movementarian.org>
3956
3957         * LyXAction.C:
3958         * factory.C:
3959         * lfuns.h:
3960         * lyxfunc.C:
3961         * text3.C: remove insetparent
3962
3963 2003-06-02  John Levon  <levon@movementarian.org>
3964
3965         * buffer.h:
3966         * buffer.C: fix inset_iterator.end(), move out of line
3967         (bug 1149)
3968
3969 2003-06-01  John Levon  <levon@movementarian.org>
3970
3971         * text3.C: use a proper cut/paste when doing inset
3972         insert (from Jürgen Spitzmüller)
3973
3974 2003-06-01  John Levon  <levon@movementarian.org>
3975
3976         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3977
3978 2003-05-30  André Pönitz  <poenitz@gmx.net>
3979
3980         * rowpainter.C: unify second drawing phase
3981
3982 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3983
3984         * trans_mgr.C: remove one case of current_view
3985
3986         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3987
3988         * paragraph_funcs.h: remove paragraph.h include
3989
3990         * paragraph.h: delete NO_STD_LIST stuff
3991
3992         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3993
3994         * buffer.h: remove paragraph.h include
3995
3996         * ParagraphList.C: delete file
3997
3998         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3999
4000         * toc.C (getTocList): adjust
4001
4002         * paragraph_pimpl.C (validate): adjust
4003
4004         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4005
4006         * paragraph.C (Paragraph): adjust
4007         (getPositionOfInset): use const_iterator, adjust
4008         (bibitem): use const_iterator, adjust
4009         (setInsetOwner): adjust
4010
4011         * iterators.C (operator++): adjust
4012
4013         * InsetList.[Ch]: Replace selfmade iterator with standard
4014         vector::iterator also introduce const_iterator. Remove getPos,
4015         getInset and setInset from InsetTable. Adjust accordingly.
4016
4017         * BufferView.C (lockInset): adjust
4018         (ChangeInsets): adjust
4019
4020         * tabular.[Ch]: delete commented same_id functions
4021
4022 2003-05-28  John Levon  <levon@movementarian.org>
4023
4024         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4025
4026 2003-05-28  André Pönitz  <poenitz@gmx.net>
4027
4028         * metricsinfo.[Ch]: remove 'fullredraw' member
4029
4030 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4031
4032         * lyxtextclass.C (operator): remove caching.
4033
4034 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * text3.C: adjust
4037
4038         * text2.C (cursorBottom): adjust
4039         (setCounter): use ParagraphList::find, adjust
4040
4041         * text.C (workWidth): use ParagraphList::find, adjust
4042
4043         * lyxcursor.C (LyXCursor): adjust
4044
4045         * buffer.C (inset_iterator): adjust
4046
4047         * ParagraphList.h: make iterator(value_type) private, make
4048         ParagraphList a friend of iterator.
4049
4050         * ParagraphList.C (find): new function
4051
4052         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4053
4054 2003-05-27  André Pönitz  <poenitz@gmx.net>
4055
4056         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4057
4058 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4059
4060         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4061
4062 2003-05-26  John Levon  <levon@movementarian.org>
4063
4064         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4065
4066 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * remove same_id from function signatures, adjust.
4069
4070 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4073
4074         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4075
4076         * paragraph.C (Paragraph): get rid of same_ids parameter
4077
4078         * ParagraphList.C (insert): adjust
4079         (push_back): adjust
4080
4081 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * paragraph_funcs.C (breakParagraph): adjust
4084         (breakParagraphConservative): adjust
4085
4086         * buffer.C (readParagraph): adjust
4087
4088         * ParagraphList.C (insert): take a reference instead of a pointer
4089         (insert): adjust
4090
4091         * paragraph.[Ch] (id): new function
4092
4093         * bufferlist.C (newFile): adjust
4094
4095         * ParagraphList.C (ParagraphList): adjust
4096         (assign): adjust
4097         (push_back): take a reference instead of a pointer.
4098
4099         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4100
4101         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4102         instead.
4103
4104         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4105         set else use old code.
4106
4107         * ParagraphList.C: remove all NO_NEXT code and only compile this
4108         code of NO_STD_LIST is set.
4109
4110 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4111
4112         * BufferView_pimpl.C:
4113         * TextCache.C:
4114         * TextCache.h:
4115         * bufferlist.C:
4116         * errorlist.h:
4117         * format.C:
4118         * format.h:
4119         * graph.C:
4120         * lyxfunc.C:
4121         * lyxrc.C:
4122         * graphics/GraphicsConverter.C:
4123         * graphics/PreviewLoader.C: header adjustment
4124
4125 2003-05-23  Angus Leeming  <leeming@lyx.org>
4126
4127         * LaTeXFeatures.[Ch] (useBabel): new method.
4128         * bufferparams.C (writeLaTeX): use it.
4129
4130 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * ParagraphList.h (set): remove unused function.
4133
4134 2003-05-23  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.C:
4137         * BufferView_pimpl.C:
4138         * buffer.C:
4139         * buffer.h:
4140         * lyxfunc.C:
4141         * undo_funcs.C: setUndo reworked
4142
4143         * iterators.[Ch]: add access to topmost ParagraphList
4144
4145         * lyxtext.[Ch] (workWidth): add a const
4146
4147 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * texrow.[Ch] (increasePos): remove function
4150         * exporter.C (export): removed unused var and outdated comment
4151
4152 2003-05-23  Angus Leeming  <leeming@lyx.org>
4153
4154         * latexrunparams.h: rename fragile as moving_arg.
4155         * paragraph.C (simpleTeXOnePar): ditto.
4156         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4157
4158 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4161         (createUndo): ditto
4162         (textUndoOrRedo): comment out a currently unused var.
4163
4164         * paragraph.h (NO_NEXT): enable NO_NEXT
4165
4166         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4167
4168         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4169
4170         * exporter.C (Export): adjust for removeAutoInsets removal.
4171
4172         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4173
4174         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4175
4176         * BufferView.[Ch] (removeAutoInsets): delete function
4177
4178 2003-05-22  Angus Leeming  <leeming@lyx.org>
4179
4180         * latexrunparams.h: add a free_spacing variable.
4181
4182         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4183         to pass moving_arg, as the data is stored in runparams.fragile.
4184
4185         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4186         to Inset::latexOptional or to simpleTeXOnePar.
4187
4188         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4189         free_spacing arg to Inset::latexOptional.
4190
4191         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4192         free_spacing arg.
4193
4194 2003-05-22  Angus Leeming  <leeming@lyx.org>
4195
4196         * latexrunparams.h: add fragile and use_babel variables.
4197
4198         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4199         * buffer.C (makeLaTeXFile): store this returned value in
4200         runparams.use_babel, thus passing it to the inset::latex methods.
4201
4202         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4203         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4204
4205         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4206         longer has a fragile arg, as it is stored in runparams.fragile.
4207
4208         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4209         moving_arg parameter as the data is stored in runparams.fragile.
4210
4211         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4212         a fragile parameter as the data is stored in runparams.fragile.
4213
4214 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4217
4218 2003-05-22  Angus Leeming  <leeming@lyx.org>
4219
4220         * latexrunparams.h: add a 'bool nice' which defaults to false.
4221
4222         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4223         now encapsulated within runparams.
4224
4225         * bufferlist.C (updateIncludedTeXfiles):
4226         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4227
4228 2003-05-22  Angus Leeming  <leeming@lyx.org>
4229
4230         * latexrunparams.h: new file containing struct LatexRunParams.
4231         * Makefile.am: add new file.
4232
4233         * LaTeX.[Ch] (c-tor, run):
4234         * buffer.[Ch] (makeLaTeXFile):
4235         * bufferlist.[Ch] (updateIncludedTeXfiles):
4236         * converter.C (convert, scanLog):
4237         * converter.[Ch] (runLaTeX):
4238         * exporter.C (Export):
4239         * paragraph.[Ch] (simpleTeXOnePar):
4240         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4241         * paragraph_funcs.[Ch] (latexParagraphs):
4242         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4243         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4244         pass around a LatexRunParams parameter.
4245
4246 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * paragraph.[Ch]: remove unused constructor
4249
4250         * ParagraphList.C (erase): new function, taking two iterators
4251
4252 2003-05-22  André Pönitz  <poenitz@gmx.net>
4253
4254         * undo_funcs.C: remove duplicated code
4255
4256         * iterator.[Ch]: operator=
4257
4258 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * tabular.C (SetMultiColumn): ws changes
4261
4262         * rowpainter.C (paintFirst): get rid of a ->previous
4263
4264         * lyx_cb.C (getPossibleLabel): parlist simplification
4265
4266         * BufferView.C (ChangeInsets): simplify slightly.
4267
4268 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4269
4270         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4271         * lfuns.h: new LFUN_SPACE
4272         * lyxfunc.C: protected space has a new lfun
4273         * paragraph_funcs.C: read new space insets
4274         * text3.C:
4275         * factory.C: handle new space insets
4276
4277 2003-05-22  André Pönitz  <poenitz@gmx.net>
4278
4279         * BufferView.C:
4280         * BufferView_pimpl.C:
4281         * buffer.[Ch]:
4282         * lyxfunc.C:
4283         * undo_funcs.C: return a ParIterator from getParFromID.
4284
4285         * iterators.[Ch]: add two const's
4286
4287 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * toc.C (getTocList): adjust
4290
4291         * iterators.[Ch]: rework for parlist
4292
4293         * buffer.C (par_iterator_begin): adjust
4294         (par_iterator_end): adjust
4295
4296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4297
4298         * BufferView.C (removeAutoInsets): adjust
4299         (ChangeInsets): adjust
4300
4301 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * text.C (top_y): fix bug 1110
4304
4305 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4306
4307         * errorlist.[Ch]: added
4308         * buffer.C:
4309         * BufferView.[Ch]:
4310         * BufferView_pimpl.C:
4311         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4312         instead
4313
4314 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * Makefile.am: ensure that lyx is relinked upon changes to the
4317         various "convenience" libs.
4318
4319 2003-05-20  Angus Leeming  <leeming@lyx.org>
4320
4321         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4322         files are compiled in alphabetical order again.
4323
4324         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4325
4326 2003-05-19  Angus Leeming  <leeming@lyx.org>
4327
4328         * gettext.[Ch]: remove "char const * _(char const *)".
4329
4330 2003-05-19  André Pönitz  <poenitz@gmx.net>
4331
4332         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4333
4334         * Makefile.am:
4335         * BufferView.C:
4336         * DepTable.h:
4337         * LaTeXFeatures.C:
4338         * buffer.C:
4339         * lyxfont.C:
4340         * lyxlex.h:
4341         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4342
4343 2003-05-19  André Pönitz  <poenitz@gmx.net>
4344
4345         * buffer.C:
4346         * lyxlayout.[Ch]:
4347         * lyxtextclass.[Ch]:
4348         * paragraph.C:
4349         * paragraph_funcs.[Ch]:
4350         * text2.C:
4351         * text3.C: more insetenv work
4352
4353 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4354
4355         * ParagraphParameters.C (params2string): small bug fixed
4356
4357 2003-05-16  André Pönitz  <poenitz@gmx.net>
4358
4359         * debug.C:
4360         * bufferview_funcs.C: patch from Kornel Benko to prevent
4361           crash when _(...) is called twice in a statement
4362
4363 2003-05-16  André Pönitz  <poenitz@gmx.net>
4364
4365         * BufferView.C:
4366         * lyxfunc.C:
4367         * text.C:
4368         * text2.C:
4369         * text3.C:
4370         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4371
4372 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * lyx_main.C (init): remove spurious static_cast
4375
4376 2003-05-14  André Pönitz  <poenitz@gmx.net>
4377
4378         * BufferView.C: fix format string
4379
4380 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * BufferView.[Ch] (insertErrors): removed
4383         * BufferView.[Ch] (showErrorList): added
4384         * buffer.C (runChkTeX):
4385         * converter.C (scanLog): call showErrorList instead of inserterrors
4386
4387 2003-05-13  André Pönitz  <poenitz@gmx.net>
4388
4389         * BufferView_pimpl.C:
4390         * buffer.C:
4391         * bufferview_func.C:
4392         * MenuBackend.C:
4393         * lyxfunc.C:
4394         * lyxrc.C:
4395         * tex-accent.C:
4396         * text3.C:
4397         * toc.C:
4398         * tabular_funcs.h: tostr() from its own header
4399
4400         * ParagraphParameters.C:
4401         * ToolbarBackend.C:
4402         * bufferparams.C:
4403         * format.C:
4404         * lyxlex_pimpl.C:
4405         * text3.C: STRCONV()
4406
4407 2003-05-12  André Pönitz  <poenitz@gmx.net>
4408
4409         * BufferView.C:
4410         * BufferView_pimpl.C:
4411         * CutAndPaste.C:
4412         * LaTeX.C:
4413         * LaTeXFeatures.C:
4414         * ParagraphParameters.C:
4415         * buffer.C:
4416         * bufferlist.C:
4417         * bufferparams.C:
4418         * bufferview_funcs.C:
4419         * converter.C:
4420         * counters.C:
4421         * debug.C:
4422         * exporter.C:
4423         * format.C:
4424         * importer.C:
4425         * lyx_cb.C:
4426         * lyx_main.C:
4427         * lyxfont.C:
4428         * lyxfunc.C:
4429         * lyxvc.C:
4430         * paragraph.C:
4431         * paragraph_funcs.C:
4432         * tabular.C:
4433         * tabular_funcs.C:
4434         * text2.C:
4435         * text3.C:  boost::format -> bformat  all over the place
4436
4437
4438 2003-05-09  André Pönitz  <poenitz@gmx.net>
4439
4440         * LColor.[Ch]: Pimpl the #include <map> away
4441
4442 2003-05-09  John Levon  <levon@movementarian.org>
4443
4444         * bufferlist.C: never remove emergency saves
4445
4446 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * Makefile.am: better lib building
4449
4450 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4453         instead.
4454         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4455         (simpleTeXSpecialChars): adjust
4456         (simpleTeXSpecialChars): adjust
4457         * paragraph.C (simpleTeXOnePar): adjust
4458         * buffer.C (makeLaTeXFile): adjust
4459
4460         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4461
4462         * text2.C (changeDepth): parlist cleanup
4463         (getColumnNearX): ditto
4464
4465         * rowpainter.C (getLabelFont): parlist cleanup
4466
4467         * bufferlist.C (newFile): parlist cleanup
4468
4469         * CutAndPaste.C (eraseSelection): parlist cleanup
4470
4471         * BufferView_pimpl.C (trackChanges): parlist cleanup
4472         (dispatch): ditto
4473
4474         * BufferView.C (lockInset): parlist cleanup.
4475         (ChangeInsets): ditto
4476
4477 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * CutAndPaste.h: Update file header.
4480
4481         * CutAndPaste.C: Update file header.
4482         Store the parts cut out of the Document in a limited_stack.
4483         (copySelection): adjust
4484         (pasteSelection): new function, takes the index in the limited stack.
4485         (nrOfParagraphs): adjust
4486         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4487         simplify error inset insertion.
4488         (checkPastePossible): adjust
4489
4490 2003-05-06  John Levon  <levon@movementarian.org>
4491
4492         * text2.C: don't cast wrap inset to float
4493
4494 2003-05-05  André Pönitz  <poenitz@gmx.net>
4495
4496         * iterator.C:
4497         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4498
4499         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4500           few naked Paragraph *.
4501
4502 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4503
4504         * bufferparams.C: Output warning if a document with missing
4505         TeX document class is loaded
4506         * exporter.C: Disable TeX exports if the document class is missing
4507         * lyxtextclass.C:
4508         * lyxtextclass.h:
4509         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4510         isTeXClassAvailable()
4511
4512 2003-05-03  John Levon  <levon@movementarian.org>
4513
4514         * BufferView.h:
4515         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4516         explicit cursor show/hide
4517
4518         * BufferView_pimpl.h:
4519         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4520         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4521
4522         * lyxfunc.C: hide cursor before dispatching.
4523
4524         * lyx_cb.C:
4525         * lyxfind.C:
4526         * text.C:
4527         * text3.C: remove explicit cursor hides
4528
4529 2003-05-02  André Pönitz  <poenitz@gmx.net>
4530
4531         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4532
4533         * undo_funcs.C:
4534         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4535           linked lists
4536
4537         * text2.C: tiny whitespace
4538
4539 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * undo_funcs.C: almost only ws changes.
4542
4543         * ParagraphList.C (splice): just return if pl is empty.
4544
4545 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * ParagraphList.C (splice): new function.
4548
4549         * CutAndPaste.C (pasteSelection): use it
4550
4551 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * CutAndPaste.C (pasteSelection): remove the last next and
4554         previous from this file.
4555
4556 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * CutAndPaste.C (pasteSelection): more clean up, user proper
4559         ParagraphList functions for pasteing.
4560
4561         * ParagraphList.C (insert): new function, three arg insert
4562
4563 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * ParagraphList.C (insert): new function, three arg insert
4566
4567         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4568         not on paragraphs.
4569
4570 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4571
4572         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4573
4574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4577
4578 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4581         (copySelection): clean up a bit.
4582         (pasteSelection): use make_pair
4583
4584         * ParagraphList.C (ParagraphList): implement copy constructor
4585         (operator=): implement, base on copy constructor.
4586         (assign): new func
4587
4588         * paragraph.C (erase): return a bool
4589
4590         * paragraph_pimpl.C (erasePos): remove function, move contents...
4591         (erase): ... here. Return a bool.
4592         (erase): call erase instead of erasePos.
4593
4594 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4595
4596         * ParagraphList.h: define PitPosPair
4597         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4598         ParagraphList, fix a bug on pasting multiple pars
4599         * text2.C: change interface to C&P
4600
4601 2003-04-30  André Pönitz  <poenitz@gmx.net>
4602
4603         * undo_func.C: revert part of yesterday's patch 2
4604
4605 2003-04-30  John Levon  <levon@movementarian.org>
4606
4607         * LColor.C: s/tabular/table/
4608
4609 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * text3.C (dispatch): do not convert iterator -> pointer
4612         * undo_funcs.C (setCursorParUndo): ditto
4613         * text_funcs.C (transposeChars): ditto
4614
4615         * text2.C (setLayout): ws changes only
4616
4617         * text.C (breakParagraph): do not convert iterator -> pointer
4618         (insertChar): ditto
4619         (acceptChange): ditto
4620         (rejectChange): ditto
4621         (changeCase): ditto
4622         (Delete): ditto
4623         (backspace): ditto
4624
4625         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4626         pointer
4627
4628 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * text3.C (gotoInset): YABG (yet another bad getChar)
4631
4632 2003-04-29  André Pönitz  <poenitz@gmx.net>
4633
4634         * paragraph.h: make operator= private unimplemented as long as
4635           it is unusable
4636
4637         * ParagraphList.C: whitespace
4638
4639         * paragraph.[Ch]:
4640         * paragraph_pimpl.[Ch]:
4641         * paragraph_funcs.C:
4642         * CutAndPaste.C:
4643         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4644
4645         * text2.C:
4646           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4647
4648 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4651         * paragraph.[Ch] (erase):
4652         * paragraph_pimpl.[Ch] (erase): change return type and value
4653         * text2.C (cutSelection): some rework
4654
4655 2003-04-28  John Levon  <levon@movementarian.org>
4656
4657         * bufferlist.C: changes for unsaved changes dialog
4658
4659 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * bufferlist.C (newFile): set language (messages_) for new
4662         documents also.
4663
4664         * buffer.C (readFile): ws changes only.
4665
4666 2003-04-28  André Pönitz  <poenitz@gmx.net>
4667
4668         * undo_funcs.C:
4669         * lyxfunc.C:
4670         * buffer.[Ch]:
4671         * BufferView_pimpl.C:
4672         * BufferView.C: getParFromID related ParagraphList::iterator changes
4673
4674 2003-04-28  André Pönitz  <poenitz@gmx.net>
4675
4676         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4677           Changes
4678
4679 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * messages.C: remove one more localedir class variable.
4682
4683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * messages.C (getLocaleDir): singleton generation function
4686         (Pimpl): use it.
4687         (Messages): add a default constructor.
4688
4689         * main.C (main): do not setup localedir here, do not call
4690         gettext_init.
4691
4692         * gettext.C (_): use it.
4693         (gettext_init): delete funciton
4694
4695 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * gettext.C (getLyXMessages): new singleton generating function.
4698
4699         * buffer.C (updateDocLang): adjust
4700
4701         * Makefile.am (messages.o): add target
4702         (main.o): remove target
4703
4704 2003-04-27  John Levon  <levon@movementarian.org>
4705
4706         * bufferlist.C:
4707         * lyx_cb.C:
4708         * lyxfunc.C:
4709         * lyxvc.C: specify cancel button in Alert::prompt
4710
4711 2003-04-26  John Levon  <levon@movementarian.org>
4712
4713         * text3.C:
4714         * lyxfunc.C:
4715         * lfuns.h:
4716         * LyXAction.C: add LFUN_INSET_SETTINGS
4717
4718         * lyxfunc.C: don't enable tabular-feature when there's
4719         just any locking inset
4720
4721 2003-04-26  John Levon  <levon@movementarian.org>
4722
4723         * bufferlist.C: re-add Cancel to buffer close question
4724
4725         * lyxfunc.C: fix import UI a bit
4726
4727 2003-04-25  John Levon  <levon@movementarian.org>
4728
4729         * gettext.C: remove the broken asserts for now
4730
4731 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * messages.C: make case where setlocale cannot comply work better.
4734
4735         * buffer.C (updateDocLang): new function
4736         (changeLanguage): use it
4737         (readFile): use it
4738
4739         * text2.C (setCounter): use B_ a bit.
4740
4741         * lyxlayout.C (Read): be sure to trim the label strings.
4742
4743         * messages.C (Messages): fix typo in comment
4744
4745         * buffer.C (readFile): set message_ after file is loaded.
4746         (makeDocBookFile): remove double return
4747         (changeLanguage): reset message_ upon language change.
4748         (B_): new func, use this to get translated buffer strings.
4749
4750         * main.C: add myself and Jean Marc as authors.
4751
4752 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * messages.[hC]: pimplify Messages, and three different pimpls to be
4755         used in different circumstances.
4756
4757         * gettext.[Ch]: change for use with new message code.
4758
4759 2003-04-24 André Pönitz <poenitz@gmx.net>
4760
4761         * factory.C: support for eqref
4762
4763 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * messages.[Ch]: add missing char
4766
4767         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4768
4769         * messages.[Ch]: New files
4770
4771 2003-04-18  John Levon  <levon@movementarian.org>
4772
4773         * BufferView.h:
4774         * BufferView.C:
4775         * BufferView_pimpl.C:
4776         * lfuns.h:
4777         * LyXAction.C:
4778         * lyxtext.h:
4779         * text2.C: remove layout-copy/paste (bug 778)
4780
4781 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4784
4785 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4788         if they succeed. Act accordingly.
4789
4790 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * text2.C (setCharFont): adjust
4793         (setCounter): adjust
4794         (insertStringAsLines): adjust
4795
4796         * text.C (leftMargin): adjust
4797         (setHeightOfRow): adjust
4798
4799         * rowpainter.C (paintFirst): adjust
4800         (paintLast): adjust
4801
4802         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4803         (outerHook): ditto
4804         (isFirstInSequence): ditto
4805         (getEndLabel): ditto
4806         (outerFont): adjust
4807
4808         * paragraph.C (getParLanguage): comment out some hard stuff.
4809
4810         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4811         (sgmlError): ditto
4812         (simpleDocBookOnePar): ditto
4813         (makeDocBookFile): use ParagraphList::iterator
4814
4815         * CutAndPaste.C (pasteSelection): adjust
4816
4817 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * text2.C (getFont): adjust
4820         (getLayoutFont): adjust
4821         (getLabelFont): adjust
4822
4823         * paragraph_funcs.C (TeXOnePar): adjust
4824
4825         * buffer.C (simpleLinuxDocOnePar): adjust
4826         (simpleDocBookOnePar): adjust
4827
4828         * CutAndPaste.C (pasteSelection): adjust
4829
4830         * BufferView.C (getEncoding): adjust
4831
4832         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4833
4834 2003-04-16  John Levon  <levon@movementarian.org>
4835
4836         * lyxfind.C: use parlist stuff for search/changes
4837
4838 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4841
4842         * text2.C (deleteEmptyParagraphMechanism): adjust
4843
4844         * text2.[Ch] (ownerParagraph): delete func (both of them
4845
4846 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4849
4850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * ParagraphList.C: prepare for NO_NEXT
4853
4854 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * text2.C (getFont): adjust
4857         (getLayoutFont): adjust
4858         (getLabelFont): adjust
4859
4860         * paragraph.C (getFont): adjust
4861         (getLabelFont): adjust
4862         (getLayoutFont): adjust
4863
4864         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4865
4866 2003-04-15  John Levon  <levon@movementarian.org>
4867
4868         From Angus Leeming
4869
4870         * lyx_main.C: handle Include in .ui files
4871
4872 2003-04-15  John Levon  <levon@movementarian.org>
4873
4874         * MenuBackend.C: make the doc files length shorter
4875
4876         * ToolbarBackend.h:
4877         * ToolbarBackend.C: handle toolbar placement flags,
4878         Minibuffer
4879
4880 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4883         adjust
4884
4885         * paragraph_funcs.C (TeXOnePar): adjust
4886
4887         * paragraph.C (getLabelFont): add outerfont arg, adjust
4888         (getLayoutFont): ditto
4889         (simpleTeXOnePar): adjust
4890
4891         * paragraph_pimpl.C (realizeFont): delete func
4892
4893 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4896         row argument, constify cur argument.
4897
4898 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * text2.C (getFont): adjust
4901         (getLayoutFont): adjust
4902         (getLabelFont): adjust
4903
4904         * paragraph_funcs.C (TeXOnePar): adjust
4905         (outerFont): new func...
4906         (realizeFont): ...moved out from here, changed this to facilitate
4907         transition
4908
4909         * paragraph.C (getFont): take outerfont as arg, adjust
4910         (simpleTeXOnePar): add outerfont arg, adjust
4911
4912         * buffer.C (simpleLinuxDocOnePar): adjust
4913         (simpleDocBookOnePar): adjust
4914
4915         * CutAndPaste.C (pasteSelection): adjust
4916
4917         * BufferView.C (getEncoding): adjust
4918
4919 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * text2.C (setCharFont): adjust
4922         (setCounter): adjust
4923
4924         * text.C (leftMargin): adjust
4925         (setHeightOfRow): adjust
4926
4927         * rowpainter.C (paintFirst): adjust
4928         (paintLast): adjust
4929
4930         * paragraph_pimpl.C (realizeFont): adjust
4931
4932         * paragraph.C (isFirstInSequence): move from here...
4933         * paragraph_funcs.C (isFirstInSequence): ...to here
4934
4935         * paragraph.C (outerHook): move from here...
4936         * paragraph_funcs.C (outerHook): ...to here
4937
4938         * paragraph.C (depthHook): move from here...
4939         * paragraph_funcs.C (depthHook): ...to here
4940
4941         * paragraph.C (getEndLabel): move from here...
4942         * paragraph_funcs.C (getEndLabel): ...to here
4943
4944         * text2.C (realizeFont): move from here...
4945         * paragraph_funcs.C (realizeFont): ...to here
4946
4947 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4950
4951 2003-04-14  Angus Leeming  <leeming@lyx.org>
4952
4953         * LColor.[Ch]: scrap LColor mathcursor.
4954
4955 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * lyxlex.[Ch] (text): delete function
4958         * trans.C (Load): adjust
4959         * paragraph_funcs.C (readParToken): adjust
4960
4961 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4964         vector<char> instead of a char[].
4965
4966         * lyxlex_pimpl.C (getString): adjust
4967         (next): adjust
4968         (lex): use getString
4969         (eatLine): adjust
4970         (nextToken): adjust
4971
4972         * lyxlex.C (text): use pimpl_->getString()
4973         (getBool): ditto
4974         (findToken): ditto
4975
4976 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4979         (makeFontEntriesLayoutSpecific): temp var for par.size()
4980         (setLayout): temp var for ownerParagraphs().end()
4981         (fullRebreak): temp var for rows().end()
4982         (selectionAsString): temp var for boost::next(startpit), realize
4983         that the while really is a regular for loop.
4984         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4985         setCursor in one place.
4986         (setParagraph): temp vr for ownerParagraphs().end()
4987         (updateCounters): make the while loop a for loop
4988         (cutSelection): temp var for ownerParagraphs().end()
4989         (updateInset): make the do {} while() a regular for loop
4990         (getCursorX): use temp vars
4991         (setCurrentFont): use temp vars
4992         (getColumnNearX): use temp vars
4993
4994 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * text.C (transformChar): use temp var for getChar
4997         (computeBidiTables): use temp var for row->par()
4998         (fill): move temp vars for row->par() and pit->layout() earlier in
4999         the function.
5000         (labelFill): use temp var for row->par()
5001         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5002         asc and desc, realize that pit never changes and that firstpit is
5003         just a duplicate and not needed. Exchange rit->par() with pit in a
5004         lot of places.
5005         (breakAgain): use a temp var for boost::next(rit)
5006         (breakAgainOneRow): ditto
5007         (breakParagraph): use a temp var for rows().begin()
5008         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5009         (cursorRightOneWord): use temp var for cursor.par() and
5010         cursor.pos(), remove usage of tmpcursor.
5011         (cursorLeftOneWord): use temp var for cursor.par() and
5012         cursor.pos() only set cur at end of function.
5013
5014 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * text.C, text2.C: exchange all usage of Paragraph::next with
5017         boost::next(ParagraphList::iterator)
5018
5019         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5020
5021         * text2.C (cursorTop): simplify implementation
5022         (cursorBottom): ditto
5023         (setParagraph): use ParagraphList::iterator
5024         (setCurrentFont): adjust
5025         (getColumnNearX): adjust
5026         (cursorRight): adjust
5027         (cursorLeft): remove usage of Paragraph::previous
5028         (cursorUpParagraph): ditto
5029         (deleteEmptyParagraphMechanism): slight cleanup
5030
5031         * text.C (isBoundary): take a Paragraph const & instead of a
5032         pointer as arg.
5033         (addressBreakPoint): ditto
5034         (leftMargin): remove usage of Paragraph::previous.
5035         (setHeightOfRow): ditto
5036         (cursorLeftOneWord): ditto
5037         (selectNextWordToSpellcheck): ditto
5038         (Delete): ditto
5039         (backspace): ditto
5040         (breakParagraph): remove one usage of Paragraph::next
5041         (redoParagraph): ditto
5042         (acceptChange): ditto
5043         (insertChar): adjust
5044         (rowBreakPoint): adjust
5045
5046         * bufferview_funcs.C (toggleAndShow): adjust
5047
5048 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5049
5050         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5051         methods to access it.
5052         * lyxtext.h:
5053         * text.C: Added updateRowPositions to compute all row positions.
5054         Make top_y and getRowNearY() to use the cached y position
5055
5056 2003-04-11  John Levon  <levon@movementarian.org>
5057
5058         * text.C (rowBreakPoint): reintroduce the labelEnd
5059         checks, code copied from the row fill stuff. Deep voodoo.
5060
5061         * text.C (fill): add a comment and debugging for the
5062         next poor soul.
5063
5064 2003-04-11  John Levon  <levon@movementarian.org>
5065
5066         * text.C: make sure fullrow insets get wrapped to the next line,
5067         even when they're in a manual label
5068
5069 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * text2.C (insertParagraph): make it take ParagraphList::iterator
5072         as arg.
5073         (setLayout): make it return ParagraphList::iterator
5074         (redoParagraphs): ditto
5075         (setCounter): ditto
5076         (checkParagraph): ditto
5077
5078         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5079
5080         * text2.C: adjust several funcs.
5081         (realizeFont): take a ParagraphList::iterator as arg.
5082         (getLayoutFont): ditto
5083         (getLabelFont): ditto
5084         (setCharFont): ditto
5085
5086         * text.C: adjust several funcs.
5087
5088 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * text.C (selectNextWordToSpellcheck): don't accidentally
5091         skip insets
5092
5093 2003-04-10  John Levon  <levon@movementarian.org>
5094
5095         * ToolbarBackend.C (getIcon): special handling for
5096         LFUN_MATH_DELIM
5097
5098 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * text2.C (cursorRight): a getChar assert fixed
5101
5102 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * text2.C (getFont): change to take a ParagraphList::iterator
5105         instead of Paragraph*
5106         Adjust several functions.
5107
5108         * text.C (transformChar): change to take a ParagraphList::iterator
5109         instead of Paragraph*
5110         (singleWidth): ditto
5111         Adjust several functions.
5112
5113         * rowpainter.C: adjust several functions
5114         * rowpainter.h:store a ParagraphList::iterator and not a
5115         Paragraph&.
5116
5117
5118 2003-04-09  John Levon  <levon@movementarian.org>
5119
5120         * lyxfunc.C:
5121         * lfuns.h:
5122         * LyXAction.h:
5123         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5124         and the "help" bits as well
5125
5126 2003-04-09  John Levon  <levon@movementarian.org>
5127
5128         * ToolbarBackend.h:
5129         * ToolbarBackend.C: allow multiple toolbars
5130
5131 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * undo_funcs.C (setCursorParUndo): adjust
5134
5135         * text_funcs.C (transposeChars): adjust
5136
5137         * text3.C (gotoNextInset): adjust
5138         (dispatch): adjust
5139
5140         * text2.C (setLayout): adjust
5141         (changeDepth): adjust
5142         (setFont): adjust
5143         (redoParagraphs): adjust
5144         (selectionAsString): adjust
5145         (setParagraph): adjust
5146         (insertInset): adjust
5147         (cutSelection): adjust
5148         (copySelection): adjust
5149         (pasteSelection): adjust
5150         (insertStringAsLines): adjust
5151         (updateInset): adjust
5152         (setCursor): change to take a ParagraphList::iterator parameter
5153         (setCursorIntern): change to take a ParagraphList::iterator parameter
5154         (setCurrentFont): adjust
5155         (cursorLeft): adjust
5156         (cursorRight): adjust
5157         (deleteEmptyParagraphMechanism): adjust
5158
5159         * text.C (breakParagraph): adjust
5160         (insertChar): adjust
5161         (acceptChange): adjust
5162         (rejectChange): adjust
5163         (selectNextWordToSpellcheck): adjust
5164         (changeCase): adjust
5165         (Delete): adjust
5166         (backspace): adjust
5167
5168         * lyxfind.C (SearchForward): adjust
5169         (SearchBackward): adjust
5170         (nextChange): adjust
5171
5172         * lyxcursor.C (par): adjust
5173
5174         * lyxcursor.h: store a ParagraphList::iterator instead of a
5175         Paragraph*
5176
5177         * lyx_cb.C (getPossibleLabel): adjust
5178
5179         * bufferview_funcs.C (toggleAndShow): adjust
5180
5181         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5182         (dispatch): adjust
5183
5184         * BufferView.C (removeAutoInsets): adjust
5185         (lockedInsetStoreUndo): adjust
5186
5187 2003-04-09  John Levon  <levon@movementarian.org>
5188
5189         * ToolbarBackend.C: try icon without argument
5190         if with argument fails
5191
5192 2003-04-08  John Levon  <levon@movementarian.org>
5193
5194         * ToolbarBackend.h:
5195         * ToolbarBackend.C: add getIcon(), handle tooltip,
5196         and change from "Icon" to "Item".
5197
5198 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5199
5200         * BufferView.C (lockInset): another bad getchar crunched
5201
5202 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5203
5204         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5205         again)
5206
5207 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * lyxfind.C (searchForward, searchBackwards): bug 782
5210
5211 2003-04-07  John Levon  <levon@movementarian.org>
5212
5213         * paragraph.C: remove dead comment
5214
5215         * text.C: remove troublesome depth-fiddling code
5216         in leftMargin() and rightMargin() (bug 1017)
5217
5218         * text.C: fix breaking of rows in nested lists
5219         (bug 1004)
5220
5221         * text2.C (updateCounters): fix up depth values
5222         (bug 1013)
5223
5224 2003-04-07  John Levon  <levon@movementarian.org>
5225
5226         * BufferView_pimpl.C: clear message when doc finishes resizing,
5227         and after a mouse event
5228
5229         * lyxfunc.C: clear message after exiting inset
5230
5231 2003-04-07  John Levon  <levon@movementarian.org>
5232
5233         * bufferview_funcs.C: show math status not outside
5234         status in the statusbar
5235
5236 2003-04-07  John Levon  <levon@movementarian.org>
5237
5238         * lyxfunc.C: note status changed after a depth change
5239
5240 2003-04-04  Angus Leeming  <leeming@lyx.org>
5241
5242         * LaTeX.h: move AuxInfo operator==, != out of line.
5243         Remove LaTeX virtual destructor; nothing derives from it.
5244         Move operator()() out of public area and rename it startscript().
5245         Change protected for private.
5246
5247 2003-04-04  Angus Leeming  <leeming@lyx.org>
5248
5249         * lyxfunc.C:
5250         * text2.C: remove unneeded #includes.
5251
5252 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * text2.C (dEPM): fix the heigth of the next row
5255
5256 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5257
5258         * text.C: squashed an invalid getChar requester + some ws changes
5259
5260 2003-04-03  John Levon  <levon@movementarian.org>
5261
5262         * bufferview_funcs.h:
5263         * bufferview_funcs.C:
5264         * lyxfunc.C:
5265         * lyxtext.h:
5266         * text2.C: make getStatus work for the env depth lfuns
5267
5268 2003-04-03  John Levon  <levon@movementarian.org>
5269
5270         * bufferview_funcs.h:
5271         * bufferview_funcs.C:
5272         * lyxfunc.C:
5273         * lyxtext.h:
5274         * text2.C: parlistize decDepth(), by merging it with incDepth()
5275
5276 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * lyxrow.h: store a ParagraphList::iterator instead of a
5279         Paragraph* and adjust other class functions to suit.
5280
5281         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5282         above.
5283
5284 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * text2.C (setCursor): do not anchor to cursor row for the time being
5287
5288 2003-04-02  John Levon  <levon@movementarian.org>
5289
5290         * LyXAction.C:
5291         * lfuns.h:
5292         * lyx_main.C:
5293         * lyxtext.h:
5294         * text.C:
5295         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5296
5297 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * paragraph.h: make ParagraphList and ParagraphList::iterator
5300         friends of Paragraph.
5301
5302         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5303
5304         * ParagraphList.C: Use the private next_ and previous_ from
5305         Paragraph.
5306
5307 2003-04-01  John Levon  <levon@movementarian.org>
5308
5309         * ToolbarBackend.h:
5310         * ToolbarBackend.C:
5311         * Makefile.am: rename, remove defaults gunk
5312
5313         * MenuBackend.h:
5314         * MenuBackend.C: remove defaults gunk
5315
5316         * Languages.h:
5317         * Languages.C: remove defaults gunk
5318
5319         * lyx_main.h:
5320         * lyx_main.C: error out if files couldn't be found.
5321
5322 2003-04-02  John Levon  <levon@movementarian.org>
5323
5324         * text2.C: make incDepth() use parlist
5325
5326 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * undo_funcs.C (firstUndoParagraph): adjust
5329
5330         * text3.C (gotoInset): adjust
5331         (dispatch): adjust, and rewrite loop.
5332
5333         * text2.C (init): adjust, and rewrite loop.
5334         (redoParagraphs): adjust
5335         (updateInset): adjust, and rewrite loop.
5336         (deleteEmptyParagraphMechanism): adjust
5337
5338         * tabular.C (LyXTabular): adjust
5339         (SetMultiColumn): adjust
5340         (TeXRow): adjust
5341
5342         * lyxtext.[Ch] (ownerParagraph): delete function
5343         (ownerParagraphs): new function returns a ParagraphList.
5344
5345         * BufferView.C (removeAutoInsets): adjust
5346         (insertErrors): adjust
5347         (setCursorFromRow): adjust
5348
5349 2003-04-01  Angus Leeming  <leeming@lyx.org>
5350
5351         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5352         in the frontends.
5353
5354 2003-04-02  John Levon  <levon@movementarian.org>
5355
5356         * lyxtext.h:
5357         * text.C:
5358         * Makefile.am:
5359         * text_funcs.h:
5360         * text_funcs.C: make transposeChars a free function
5361
5362         * lyxrow_funcs.C: remove wrong comment
5363
5364 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * lyxtext.h: adjust
5367         * rowpainter.C: adjust
5368         * text.C: adjust
5369         * text2.C: adjust
5370         * text3.C: adjust
5371
5372         * lyxrow_funcs. [Ch]: new files
5373
5374         * lyxrow.[Ch]: remove next and previous pointers
5375         (next,previous): remove accessor functions
5376         (isParEnd): move to lyxrow_funcs
5377         (lastPos): move to lyxrow_funcs
5378         (nextRowIsAllInset): move to lyxrow_funcs
5379         (lastPrintablePos): move to lyxrow_funcs
5380         (numberOfSeparators): move to lyxrow_funcs
5381         (numberOfHfills): move to lyxrow_funcs
5382         (numberOfLabelHfills): move to lyxrow_funcs
5383         (hfillExpansion): move to lyxrow_funcs
5384
5385         * lyxfunc.C: adjust
5386
5387         * bufferview_funcs.C (toggleAndShow): adjust
5388
5389         * RowList.h: Remove class RowList from file leave just a
5390         std::list<Row>.
5391
5392         * RowList.C: delete file
5393
5394         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5395         and lyxrow_funcs.h
5396
5397 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * text3.C (cursorPrevious): adjust
5400         (cursorNext): adjust
5401         (dispatch): adjust
5402
5403         * text2.C (redoHeightOfParagraph): adjust
5404         (redoDrawingOfParagraph): adjust
5405         (setCursor): adjust
5406
5407         * text.C (breakParagraph): adjust
5408         (insertChar): adjust
5409         (backspace): adjust
5410
5411         * rowpainter.C (RowPainter): adjust
5412         (leftMargin): simplify and adjust
5413         (most rowpainter functions): adjust.
5414
5415         * rowpainter.h: store the row as RowList::iterator not as Row*
5416
5417         * lyxcursor.C (row): taka RowList::iterator as arg
5418         (irow): ditto
5419
5420         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5421         of Row*.
5422
5423 2003-04-01  Angus Leeming  <leeming@lyx.org>
5424
5425         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5426         stuff like bool Bool.
5427
5428 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5429
5430         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5431         rewrite a loop
5432
5433 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5436         RowList::iterator.
5437
5438         * lyxtext.h (rows): drop one version and leve a const variant that
5439         returns a RowList::iterator.
5440
5441 2003-03-31  Angus Leeming  <leeming@lyx.org>
5442
5443         * text.C (fill): ensure that the signature is the same as that in the
5444         header file.
5445
5446 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * text2.C (redoParagraphs): adjust
5449         (updateCounters): adjust
5450         (checkParagraph): adjust
5451         (getColumnNearX): adjust and reformat a bit.
5452
5453         * text.C (top_y): adjust
5454         (workWidth): adjust
5455         (leftMargin): adjust
5456         (prepareToPrint): adjust
5457         (getRow): adjust
5458         (getRowNearY): adjust
5459
5460         * lyxtext.h: make rowlist_ mutable.
5461
5462         * RowList.h: add const_iterator
5463         * RowList.C: adjust for RowList::const_iterator.
5464
5465         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5466         adjust.
5467
5468 2003-03-31  John Levon  <levon@movementarian.org>
5469
5470         * lyxrc.h:
5471         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5472
5473         * lyx_main.C: set default fonts from using lyx_gui funcs
5474
5475         * exporter.C: pdf_mode moved from lyxrc
5476
5477         * lyx_cb.C:
5478         * lyxfunc.C: changes from above
5479
5480 2003-03-31  John Levon  <levon@movementarian.org>
5481
5482         * lyx_main.C: fix to the last fix
5483
5484 2003-03-31  John Levon  <levon@movementarian.org>
5485
5486         * bufferlist.C: "Load original" -> "Load Original"
5487
5488         * converter.C:
5489         * exporter.C:
5490         * importer.C:
5491         * lyx_main.C:
5492         * format.C: more Alert cleanups
5493
5494 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * text2.C (removeParagraph): make it take a RowList::iterator as
5497         arg, adjust.
5498         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5499         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5500
5501         * text.C (anchor_row): make it take a RowList::iterator as arg,
5502         adjust.
5503         (computeBidiTables): make it take a const reference to Row instead
5504         of Row pointer, adjust.
5505         (leftMargin): make it take a RowList::iterator as arg, adjust.
5506         (rowBreakPoint): adjust
5507         (breakAgainOneRow): make it take a RowList::iterator as arg,
5508         adjust.
5509         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5510
5511         * bufferview_funcs.C (toggleAndShow): adjust
5512
5513 2003-03-30  John Levon  <levon@movementarian.org>
5514
5515         * Makefile.am:
5516         * BoostFormat.h:
5517         * boost-inst.C: moved to support
5518
5519         * several files: changes as a result
5520
5521 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * text2.C (LyXText): adjust.
5524         (init): adjust
5525         (removeRow): make it take a RowList::iterator as arg, adjust.
5526         (fullRebreak): adjust
5527         (deleteEmptyParagraphMechanism): adjust
5528         (clearPaint): adjust
5529         (postPaint): adjust
5530
5531         * text.C (top_y): adjust
5532         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5533         (breakAgain): make it take a RowList::iterator as arg, adjust.
5534         (breakParagraph): adjust
5535         (insertChar): adjust
5536         (backspace): adjust
5537
5538         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5539         need_break_row, and refresh_row.
5540
5541         * text3.C (dispatch): adjust
5542
5543         * text2.C (checkParagraph): adjust
5544         (setCursor): adjust
5545         (setCursorFromCoordinates): adjust
5546
5547         * text.C (top_y): adjust
5548         (workWidth): adjust
5549         (getRow): make it return a RowList::iterator, adjust
5550         (getRowNearY): make it return a RowList::iterator, adjust
5551
5552         * text2.C (init): adjust
5553         (insertRow): remove function
5554         (insertParagraph): adjust
5555         (redoParagraphs): adjust
5556         (fullRebreak): adjust
5557         (updateCounters): adjust
5558
5559         * text.C (top_y): rewrite to use RowList iterators.
5560         (top_y): adjust
5561         (setHeightOfRow): rewrite to sue RowList iterators.
5562         (appendParagraph): adjust
5563         (breakAgain): adjust
5564         (breakAgainOneRow): adjust
5565         (breakParagraph): adjust
5566         (getRow): adjust
5567         (getRowNearY): adjust, and remove commented code.
5568
5569         * lyxtext.h (firstRow): delete function
5570         (lastRow): delete function
5571         (rows): new function (const and non-const versions.)
5572         (insertRow): delete function
5573
5574         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5575
5576 2003-03-29  John Levon  <levon@movementarian.org>
5577
5578         * BufferView_pimpl.C: always update scrollbar top
5579         because pasting text when we're anchored could mean we
5580         miss an update altogether
5581
5582 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * text2.C (init): use rowlist_.end() and not 0.
5585         (insertRow): change to take a RowList::iterator as arg, adjust
5586         for this.
5587         (insertParagraph): change to take a RowList::iterator as arg,
5588         adjust for this.
5589         (redoParagraphs): remove some debug msgs.
5590
5591         * text.C (appendParagraph): change to take a RowList::iterator
5592         arg, adjust for this.
5593         (breakAgain): add an assert
5594         (breakAgainOneRow): ditto
5595
5596 2003-03-29  John Levon  <levon@movementarian.org>
5597
5598         * text2.C: do not clear selection after inc/decDepth
5599         (bug 550)
5600
5601 2003-03-29  John Levon  <levon@movementarian.org>
5602
5603         * BufferView.C:
5604         * buffer.C: fix broken strerrors according to Lars
5605
5606 2003-03-29  John Levon  <levon@movementarian.org>
5607
5608         * converters.C: more Alert cleanups
5609
5610 2003-03-29  John Levon  <levon@movementarian.org>
5611
5612         * bufferview_funcs.C: remove pointless Alert
5613
5614         * buffer.C: fix confusing error message when
5615         a template is chmoded 000
5616
5617 2003-03-29  John Levon  <levon@movementarian.org>
5618
5619         * BufferView.C:
5620         * BufferView.h:
5621         * BufferView_pimpl.C: Alert fixes
5622
5623         * Makefile.am:
5624         * tabular.C:
5625         * tabular-old.C: remove unused table compat reading
5626
5627 2003-03-29  John Levon  <levon@movementarian.org>
5628
5629         * BufferView.C:
5630         * buffer.C:
5631         * lyx_cb.h:
5632         * lyx_cb.C: more Alert cleanups
5633
5634         * lyxfunc.C: don't allow chktex if not latex document
5635
5636 2003-03-29  John Levon  <levon@movementarian.org>
5637
5638         * lyx_cb.C:
5639         * BufferView.C:
5640         * buffer.C: warnings pushed down from support/,
5641         kill err_alert
5642
5643 2003-03-29  John Levon  <levon@movementarian.org>
5644
5645         * lyxfunc.C: safety check for C-r (revert)
5646
5647 2003-03-29  John Levon  <levon@movementarian.org>
5648
5649         * bufferlist.h:
5650         * bufferlist.C: several UI fixes using Alert::prompt.
5651         Fix the pointless looping quit code. Fix stupid revert
5652         behaviour (bug 938)
5653
5654         * lyxvc.h:
5655         * lyxvc.C:
5656         * lyx_cb.C: use Alert::prompt
5657
5658         * lyx_main.C: remove a silly question
5659
5660         * lyxfunc.C: remove a couple of silly questions,
5661         use Alert::prompt
5662
5663 2003-03-28  John Levon  <levon@movementarian.org>
5664
5665         * text2.C: fix bug 974 (End on empty par)
5666
5667 2003-03-28  John Levon  <levon@movementarian.org>
5668
5669         * BufferView_pimpl.C:
5670         * LyXAction.C:
5671         * lfuns.h: remove do-nothing math greek lfuns
5672
5673 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * lyxgluelength.h (isValidGlueLength): add default arg on
5676         parameter 2. Remove default arg from friend in class.
5677
5678         * lyxlength.h (isValidLength): add default arg on parameter 2.
5679         Remove default arg from friend in class.
5680
5681         * text2.C (LyXText): adjust, initialize refresh_row.
5682         (init): adjust
5683         (removeRow): adjust
5684         (insertRow): adjust
5685         (insertParagraph): adjst
5686         (redoParagraphs): adjust
5687         (fullRebreak): adjust
5688         (updateCounters): adjust
5689         (deleteEmptyParagraphMechanism): first attempt at fixing a
5690         crashing bug.
5691
5692         * text.C (top_y): adjust
5693         (setHeightOfRow): adjust
5694         (getRow): adjust
5695         (getRowNearY): adjust
5696
5697         * lyxtext.h: include RowList.h
5698         (~LyXText): not needed anymore, deleted.
5699         (firstRow): modify for RowList
5700         (lastRow): new function
5701         Delete firstrow and lastrow class variables, add a Rowlist
5702         rowlist_ class variable.
5703
5704         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5705         paragraph is empty.
5706
5707         * RowList.C (insert): fix case where it == begin().
5708
5709 2003-03-26  Angus Leeming  <leeming@lyx.org>
5710
5711         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5712         the thesaurus dialog.
5713
5714 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5717
5718         * RowList.[Ch]: new files
5719
5720         * ParagraphList.C (erase): handle the case where it == begin
5721         correctly.
5722
5723 2003-03-25  John Levon  <levon@movementarian.org>
5724
5725         * Makefile.am:
5726         * aspell_local.h:
5727         * aspell.C: add new aspell support
5728
5729         * lyxrc.h:
5730         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5731         have it accessible.
5732
5733 2003-03-25  Angus Leeming  <leeming@lyx.org>
5734
5735         * lfuns.h:
5736         * LyXAction.C (init): new LFUN_INSET_INSERT.
5737
5738         * BufferView_pimpl.C (dispatch): split out part of the
5739         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5740
5741         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5742         LFUN_INSET_APPLY.
5743
5744 2003-03-25  Angus Leeming  <leeming@lyx.org>
5745
5746         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5747
5748 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5749
5750         * text2.C:
5751         * text3.C: remove useless row->height(0)
5752
5753 2003-03-25  John Levon  <levon@movementarian.org>
5754
5755         * lyxtext.h:
5756         * text2.C:
5757         * text3.C: rename the refreshing stuff to better names
5758
5759 2003-03-24  John Levon  <levon@movementarian.org>
5760
5761         * BufferView_pimpl.h:
5762         * BufferView_pimpl.C: update layout choice on a mouse
5763         press/release
5764
5765 2003-03-23  John Levon  <levon@movementarian.org>
5766
5767         * Makefile.am: fix commandtags.h reference
5768
5769 2003-03-22  John Levon  <levon@movementarian.org>
5770
5771         * BufferView_pimpl.C:
5772         * lyxtext.h:
5773         * rowpainter.C:
5774         * rowpainter.h:
5775         * text.C:
5776         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5777
5778 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5779
5780         * lyxtext.h:
5781         * text.C: take the rtl methods out of line
5782
5783 2003-03-21 André Pönitz <poenitz@gmx.net>
5784
5785         * metricsinfo.[Ch]: new files containing structures to be passed around
5786         during the two-phase-drawing...
5787
5788 2003-03-21 André Pönitz <poenitz@gmx.net>
5789
5790         * lyxtextclass.C: read 'environment' tag.
5791
5792 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5793
5794         * text2.C (removeRow): fix bug 964
5795
5796 2003-03-20  John Levon  <levon@movementarian.org>
5797
5798         * rowpainter.C:
5799         * text.C:
5800         * text2.C: paint cleanups. Inset::update() dropped font
5801         parameter
5802
5803 2003-03-19  John Levon  <levon@movementarian.org>
5804
5805         * lyxfunc.C: only fitcursor/markDirty if available()
5806
5807 2003-03-19  John Levon  <levon@movementarian.org>
5808
5809         * commandtags.h: rename to ...
5810
5811         * lfuns.h: ... this, and renumber / cleanup
5812
5813 2003-03-19  John Levon  <levon@movementarian.org>
5814
5815         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5816         fit the cursor after an lfun
5817
5818         * BufferView.h:
5819         * BufferView.C:
5820         * BufferView_pimpl.h:
5821         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5822
5823         * LyXAction.C: layout-character should have ReadOnly
5824
5825         * ParagraphParameters.C:
5826         * buffer.C:
5827         * bufferview_funcs.C:
5828         * lyx_cb.C:
5829         * lyxfind.C:
5830         * lyxtext.h:
5831         * text.C:
5832         * text2.C:
5833         * text3.C:
5834         * undo_funcs.C: changes from above
5835
5836 2003-03-18  John Levon  <levon@movementarian.org>
5837
5838         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5839         remove it from update()
5840
5841         * lyxfunc.C: update layout choice after an lfun
5842
5843         * text3.C: remove extra updateLayoutChoice()s
5844
5845 2003-03-18  John Levon  <levon@movementarian.org>
5846
5847         * text.C: top_y change means full repaint, fix
5848         a drawing bug with cursor movement
5849
5850 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * lyxtext.h:
5853         * text.C:
5854         * text2.C: anchor row on setCursor
5855
5856 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5857
5858         * lyxtext.h: remove almost all mutable keywords
5859         * text.C:
5860         * text2.C:
5861         * text3.C: remove const keywords accordingly
5862
5863 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5866         anon namespace
5867         (TeXEnvironment): ditto
5868         (TeXOnePar): ditto
5869
5870 2003-03-17  John Levon  <levon@movementarian.org>
5871
5872         * text.C (rowBreakPoint): remove attempt to fix displayed
5873         math insets inside a manual label
5874
5875 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * lyxtext.h: remove BufferView* as first arg from almost all class
5878         functions.
5879         * other files: adjust.
5880
5881 2003-03-17  John Levon  <levon@movementarian.org>
5882
5883         * lyxtext.h:
5884         * undo_funcs.C:
5885         * text2.C: more paint cleanups
5886
5887         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5888
5889         * rowpainter.h:
5890         * rowpainter.C: remove "smart" background painting code
5891
5892 2003-03-16  John Levon  <levon@movementarian.org>
5893
5894         * lyxtext.h:
5895         * text.C:
5896         * text2.C:
5897         * text3.C: add helper functions for setting refresh_row/y
5898
5899 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5900
5901         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5902         newline inset which *can* get inserted in the pass_thru layouts.
5903         This is primarily for literate documents.
5904
5905 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5906
5907         * buffer.C: increment LYX_FORMAT to 223
5908
5909 2003-03-14 André Pönitz <poenitz@gmx.net>
5910
5911         * textclass.h: prepare for environment handling, ws changes
5912         * lyxlayout.C: read latexheader and latexfooter tags
5913
5914 2003-03-14  John Levon  <levon@movementarian.org>
5915
5916         * text2.C: rewrite ::status() a bit
5917
5918 2003-03-13  John Levon  <levon@movementarian.org>
5919
5920         * lyxtext.h: add some docs
5921
5922 2003-03-13  John Levon  <levon@movementarian.org>
5923
5924         * lyxtext.h:
5925         * text.C:
5926         * text2.C:
5927         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5928
5929 2003-03-13  John Levon  <levon@movementarian.org>
5930
5931         * text3.C: fix appendix redrawing
5932
5933 2003-03-13  John Levon  <levon@movementarian.org>
5934
5935         * text.C (setHeightOfRow):
5936         * rowpainter.h:
5937         * rowpainter.C: make appendix mark have the text
5938           "Appendix" so the user knows what it is
5939
5940         * LColor.h:
5941         * LColor.C: s/appendixline/appendix/ from above
5942
5943 2003-03-13  John Levon  <levon@movementarian.org>
5944
5945         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5946
5947         * text.C: fix a getChar(pos) bug properly
5948
5949 2003-03-13  Angus Leeming  <leeming@lyx.org>
5950
5951         * commandtags.h:
5952         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5953         Probably only temporary. Let's see how things pan out.
5954
5955         * BufferView.C (unlockInset):
5956         * BufferView_pimpl.C (fitCursor):
5957         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5958
5959         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5960         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5961
5962         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5963         new functions that convert ParagraphParameters to and from a string.
5964
5965         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5966         BufferView::Pimpl's dispatch.
5967         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5968
5969 2003-03-13 André Pönitz <poenitz@gmx.net>
5970
5971         * lyxfunc.C:
5972         * text3.C:
5973         * factory.C: make it aware of InsetEnv
5974
5975 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * text2.C (setCursor): never ask for one past last
5978         (setCursor): add some debugging messages.
5979
5980         * text.C (singleWidth): never ask for one past last
5981         (singleWidth): ditto
5982         (leftMargin): ditto
5983         (rightMargin): ditto
5984         (rowBreakPoint): ditto
5985         (setHeightOfRow): ditto
5986         (prepareToPrint): ditto
5987
5988         * rowpainter.C (paintBackground): never ask for one past last
5989         (paintText): never ask for one past last
5990
5991         * paragraph_pimpl.C (getChar): make the assert stricter, never
5992         allow the one past last pos to be taken
5993
5994         * paragraph.C (getChar): ws changes only
5995
5996         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5997         (numberOfSeparators): ditto
5998         (numberOfHfills): ditto
5999
6000 2003-03-12  John Levon  <levon@movementarian.org>
6001
6002         * author.h:
6003         * author.C:
6004         * bufferparams.h:
6005         * bufferparams.C:
6006         * paragraph_funcs.C: fix per-buffer authorlists
6007
6008 2003-03-12  John Levon  <levon@movementarian.org>
6009
6010         * text.C: fix newline in right address
6011
6012 2003-03-12  Angus Leeming  <leeming@lyx.org>
6013
6014         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6015         duplicate those in LyXFunc::dispatch.
6016
6017         * commandtags.h:
6018         * LyXAction.C:
6019         * ToolbarDefaults.C:
6020         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6021         Add LFUN_FONTFREE_UPDATE.
6022
6023         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6024         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6025
6026         * bufferview_func.[Ch]: several new functions to facilliate
6027         transfer of data to and from the character dialog.
6028
6029 2003-03-12  John Levon  <levon@movementarian.org>
6030
6031         * buffer.C:
6032         * paragraph.h:
6033         * paragraph.C:
6034         * paragraph_funcs.C:
6035         * paragraph_pimpl.C:
6036         * sgml.C:
6037         * tabular.C:
6038         * text.C:
6039         * text3.C: remove META_NEWLINE in favour of an inset
6040
6041         * rowpainter.h:
6042         * rowpainter.C: remove paintNewline (done by inset)
6043
6044 2003-03-12  John Levon  <levon@movementarian.org>
6045
6046         * paragraph_pimpl.C: complain about bad getChar()s
6047         for a while at least
6048
6049 2003-03-12  John Levon  <levon@movementarian.org>
6050
6051         * buffer.h:
6052         * buffer.C: move paragraph read into a separate function,
6053         a little renaming to reflect that.
6054
6055         * bufferparams.h:
6056         * bufferparams.C: remove the author_ids map, not necessary now
6057
6058         * factory.h:
6059         * factory.C: moved Buffer::readInset to here
6060
6061         * paragraph_funcs.h:
6062         * paragraph_funcs.C: readParagraph free function moved from
6063         buffer.C
6064
6065         * tabular.C: name change
6066
6067 2003-03-12  John Levon  <levon@movementarian.org>
6068
6069         * buffer.C:
6070         * ParagraphParameters.C: move par params input to
6071         a read() method
6072
6073         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6074         behave like a normal read from the stream wrt reading
6075         a line vs. a \\token
6076
6077 2003-03-12  John Levon  <levon@movementarian.org>
6078
6079         * paragraph.C:
6080         * ParagraphParameters.h:
6081         * ParagraphParameters.C: move output code to a
6082         ::write() method
6083
6084 2003-03-12  John Levon  <levon@movementarian.org>
6085
6086         * BufferView.C (insertLyXFile):
6087         * buffer.h:
6088         * buffer.C:
6089         * tabular.C: use a parlist iterator for creating the
6090           document.
6091
6092 2003-03-12  John Levon  <levon@movementarian.org>
6093
6094         * buffer.C: make current_change static local not
6095           static file-scope
6096
6097 2003-03-12  John Levon  <levon@movementarian.org>
6098
6099         * buffer.C: fix insertStringAsLines for change tracking
6100
6101 2003-03-12  John Levon  <levon@movementarian.org>
6102
6103         * BufferView.C:
6104         * tabular.C:
6105         * buffer.h:
6106         * buffer.C:
6107         * bufferparams.h:
6108         * bufferparams.C: move author list into params. Rename some
6109           functions. Move the header reading into a separate token
6110           loop. Move the header token reading into BufferParams.
6111
6112 2003-03-12  John Levon  <levon@movementarian.org>
6113
6114         * changes.C: put debug inside lyxerr.debugging() checks
6115
6116 2003-03-11 André Pönitz <poenitz@gmx.net>
6117
6118         * factory.C: make it aware of InsetHFill
6119
6120 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6121
6122         * buffer.C (latexParagraphs): move function from here...
6123         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6124         args.
6125
6126 2003-03-10  Angus Leeming  <leeming@lyx.org>
6127
6128         * LyXAction.C (init): fix bug in poplating array with multiple entries
6129         with the same LFUN (spotted by JMarc).
6130
6131 2003-03-10  John Levon  <levon@movementarian.org>
6132
6133         * text.C:
6134         * text2.C: move getColumnNearX() near its
6135         only call site
6136
6137 2003-03-10  John Levon  <levon@movementarian.org>
6138
6139         * text.C: fix break before a minipage
6140
6141 2003-03-10  John Levon  <levon@movementarian.org>
6142
6143         * text.C: fix the last commit
6144
6145 2003-03-09  John Levon  <levon@movementarian.org>
6146
6147         * lyxtext.h:
6148         * text.C:
6149         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6150         bug 365 (don't break before insets unless needed). Don't
6151         return a value > last under any circumstances.
6152
6153 2003-03-09  Angus Leeming  <leeming@lyx.org>
6154
6155         * BufferView_pimpl.C (trackChanges, dispatch): call
6156         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6157
6158 2003-03-09  Angus Leeming  <leeming@lyx.org>
6159
6160         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6161         than Dialogs::showAboutlyx().
6162
6163 2003-03-09  Angus Leeming  <leeming@lyx.org>
6164
6165         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6166         than Dialogs::showTabularCreate().
6167
6168 2003-03-09  John Levon  <levon@movementarian.org>
6169
6170         * lyxtext.h:
6171         * text.C:
6172         * text2.C: 3rd arg to nextBreakPoint was always the same.
6173           Use references.
6174
6175 2003-03-08  John Levon  <levon@movementarian.org>
6176
6177         * lyxrow.C:
6178         * paragraph.C:
6179         * paragraph.h:
6180         * rowpainter.C:
6181         * text.C:
6182         * text2.C: Remove the "main" bit from the "main body"
6183           notion.
6184
6185 2003-03-08  John Levon  <levon@movementarian.org>
6186
6187         * text.C (leftMargin): The left margin of an empty
6188         manual label paragraph should not include the label width
6189         string length.
6190
6191         * text.C (prepareToPrint): don't attempt to measure hfills
6192         for empty manual label paragraphs - the answer should be 0
6193
6194 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * CutAndPaste.C: remove commented code and reindent.
6197
6198 2003-03-08  John Levon  <levon@movementarian.org>
6199
6200         * lyxfunc.h:
6201         * lyxfunc.C: move reloadBuffer()
6202
6203         * BufferView.h:
6204         * BufferView.C: to here
6205
6206         * lyxvc.C: add comment
6207
6208         * vc-backend.h:
6209         * vc-backend.C: call bv->reload() to avoid
6210           getStatus() check on MENURELOAD
6211
6212 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6213
6214         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6215         to an old format .dep file.
6216
6217 2003-03-07  Angus Leeming  <leeming@lyx.org>
6218
6219         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6220         when the LFUN_MOUSE_RELEASE should have been handled by
6221         inset->localDispatch.
6222
6223 2003-03-07  Angus Leeming  <leeming@lyx.org>
6224
6225         * BufferView_pimpl.C (dispatch):
6226         * LyXAction.C (init):
6227         * ToolbarDefaults.C (init):
6228         * commandtags.h:
6229         * lyxfunc.C (getStatus):
6230         remove LFUN_INSET_GRAPHICS.
6231
6232         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6233
6234 2003-03-07  Angus Leeming  <leeming@lyx.org>
6235
6236         * commandtags.h:
6237         * LyXAction.C (init):
6238         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6239
6240         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6241
6242         * commandtags.h:
6243         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6244
6245         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6246         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6247
6248 2003-03-07  Angus Leeming  <leeming@lyx.org>
6249
6250         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6251         remove "ert".
6252
6253 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * ParagraphList.C (front): new function
6256         (back): implement
6257
6258 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6259
6260         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6261         and top_row_offset_. removed var first_y.
6262         * text.C (top_y):
6263         * text2.C (LyXText, removeRow):
6264         * text3.C:
6265         * BufferView_pimpl.C:
6266         use these methods instead of using first_y
6267
6268 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * text2.C (pasteSelection): adjust for checkPastePossible
6271
6272         * CutAndPaste.C: remove Paragraph * buf and replace with
6273         ParagraphList paragraphs.
6274         (DeleteBuffer): delete
6275         (cutSelection): change the tc type to textclass_type
6276         (copySelection): change the tc type to textclass_type
6277         (copySelection): adjust for ParagraphList
6278         (pasteSelection): change the tc type to textclass_type
6279         (pasteSelection): adjust for Paragraphlist
6280         (nrOfParagraphs): simplify for ParagraphList
6281         (checkPastePossible): simplify for ParagraphList
6282         (checkPastePossible): remove unused arg
6283
6284         * ParagraphList.C (insert): handle the case where there are no
6285         paragraphs yet.
6286
6287         * CutAndPaste.h: make CutAndPaste a namespace.
6288
6289         * text3.C (dispatch): adjust
6290
6291         * text.C (breakParagraph): add a ParagraphList as arg
6292
6293         * paragraph_funcs.C (breakParagraph): change to take a
6294         BufferParams and a ParagraphList as args.
6295         (breakParagraphConservative): ditto
6296         (mergeParagraph): ditto
6297         (TeXDeeper): add a ParagraphList arg
6298         (TeXEnvironment): ditto
6299         (TeXOnePar): ditto
6300
6301         * buffer.C (readLyXformat2): adjust
6302         (insertStringAsLines): adjust
6303         (latexParagraphs): adjust
6304
6305         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6306         (cutSelection): adjust
6307         (pasteSelection): adjust
6308
6309         * BufferView_pimpl.C (insertInset): adjust
6310
6311 2003-03-05  Angus Leeming  <leeming@lyx.org>
6312
6313         * commandtags.h:
6314         * LyXAction.C (init):
6315         * BufferView_pimpl.C (dispatch):
6316         * lyxfunc.C (getStatus):
6317         remove LFUN_CHILD_INSERT.
6318
6319         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6320
6321 2003-03-05  Angus Leeming  <leeming@lyx.org>
6322
6323         * commandtags.h:
6324         * LyXAction.C (init):
6325         * src/factory.C (createInset):
6326         * lyxfunc.C (getStatus):
6327         * text3.C (dispatch):
6328         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6329
6330         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6331
6332 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * ParagraphList.C (insert): handle insert right before end()
6335         (erase): fix cases where it can be first or last paragraph.
6336
6337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6340         Paragraph::next and Paragraph::previous
6341         (TeXOnePar): ditto
6342
6343         * text.C (breakParagraph): adjust
6344
6345         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6346         BufferParams& as arg.
6347         (breakParagraph): use ParagraphList::insert
6348         (breakParagraphConservative): take a Buffer* instead of a
6349         BufferParams& as arg.
6350         (breakParagraphConservative): use ParagraphList::insert.
6351
6352         * buffer.C (insertStringAsLines): un-const it
6353         (insertStringAsLines): adjust
6354
6355         * ParagraphList.C (insert): new function
6356
6357         * CutAndPaste.C (pasteSelection): adjust
6358
6359         * text.C (backspace): adjust
6360
6361         * tabular.C (SetMultiColumn): adjust
6362
6363         * CutAndPaste.C (cutSelection): adjust
6364         (pasteSelection): adjust
6365
6366         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6367         Buffer const * as arg
6368
6369         * ParagraphList.C (erase): new function
6370         * paragraph_funcs.C (mergeParagraph): use it
6371         (mergeParagraph): make it take a Buffer* instead of a
6372         BufferParams* as arg
6373
6374         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6375         as arg
6376         (breakParagraphConservative): ditto
6377
6378         * paragraph.h: remove the breakParagraph friend
6379
6380         * paragraph.C (eraseIntern): new function
6381         (setChange): new function
6382
6383         * paragraph_funcs.C (mergeParagraph): make it take a
6384         ParagraphList::iterator instead of a Paragraph *, adjust
6385         accordingly.
6386
6387         * paragraph.h: move an #endif so that the change tracking stuff
6388         also works in the NO_NEXT case.
6389
6390 2003-03-04  Angus Leeming  <leeming@lyx.org>
6391
6392         * commandtags.h:
6393         * LyXAction.C: new LFUN_INSET_MODIFY.
6394
6395         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6396         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6397
6398 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * several files: ws changes only
6401
6402         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6403         (TeXEnvironment): ditto
6404         (TeXDeeper): ditto
6405
6406         * buffer.C (makeLaTeXFile): adjust
6407         (latexParagraphs): make it take ParagraphList::iterator as args
6408
6409 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * buffer.C (latexParagraphs): adjust
6412
6413         * paragraph.C (TeXOnePar): move function...
6414         (optArgInset): move function...
6415         (TeXEnvironment): move function...
6416         * paragraph_pimpl.C (TeXDeeper): move function...
6417         * paragraph_funcs.C: ...here
6418
6419         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6420
6421 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * buffer.C (readInset): remove compability code for old Figure and
6424         InsetInfo insets
6425
6426 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * buffer.C: ws changes
6429         (readInset):
6430
6431         * BufferView_pimpl.C: ditto
6432         * author.C: ditto
6433         * buffer.h: ditto
6434         * bufferlist.h: ditto
6435         * changes.h: ditto
6436         * lyxfunc.C: ditto
6437
6438 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6439
6440         * converter.[Ch]: split into itself +
6441         * graph.[Ch]
6442         * format.[Ch]
6443         * Makefile.am: += graph.[Ch] + format.[Ch]
6444         * MenuBackend.C
6445         * buffer.C
6446         * exporter.C
6447         * importer.C
6448         * lyx_main.C
6449         * lyxfunc.C
6450         * lyxrc.C: added #include "format.h"
6451
6452 2003-02-27  Angus Leeming  <leeming@lyx.org>
6453
6454         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6455           a label.
6456
6457         * factory.C (createInset): add "label" to the factory.
6458
6459         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6460           string and do no more.
6461
6462 2003-02-27  Angus Leeming  <leeming@lyx.org>
6463
6464         * commandtags.h:
6465         * LyXAction.C (init):
6466         * factory.C (createInset):
6467         * BufferView_pimpl.C (dispatch):
6468           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6469
6470         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6471
6472         * lyxfunc.C (dispatch):
6473         * text3.C (dispatch): pass name to params2string.
6474
6475 2003-02-26  Angus Leeming  <leeming@lyx.org>
6476
6477         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6478           blocks together.
6479           Rearrange the ~includes. Strip out the unnecessary ones.
6480
6481         * factory.C (createInset): reformat.
6482           create new insets for the various LFUN_XYZ_APPLY lfuns.
6483
6484 2003-02-26  John Levon  <levon@movementarian.org>
6485
6486         * lyxrow.h:
6487         * lyxrow.C: add isParStart,isParEnd helpers
6488
6489         * paragraph.h: make isInserted/DeletedText take refs
6490
6491         * paragraph_funcs.h:
6492         * paragraph_funcs.C: remove #if 0'd code
6493
6494         * lyxtext.h:
6495         * text3.C:
6496         * text2.C:
6497         * text.C: use lyxrow helpers above.
6498           Move draw and paint routines to RowPainter.
6499           Make several methods use refs not pointers.
6500           Make backgroundColor() const.
6501           Add markChangeInDraw(), isInInset().
6502           Merge changeRegionCase into changeCase.
6503           Make workWidth() shouldn't-happen code into an Assert.
6504
6505         * rowpainter.h:
6506         * rowpainter.C: new class for painting a row.
6507
6508         * vspace.h:
6509         * vspace.C: make inPixels take a ref
6510
6511 2003-02-26  Angus Leeming  <leeming@lyx.org>
6512
6513         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6514         LFUN_REF_APPLY.
6515
6516 2003-02-25  John Levon  <levon@movementarian.org>
6517
6518         * ispell.C: give the forked command a more accurate name
6519
6520 2003-02-22  John Levon  <levon@movementarian.org>
6521
6522         * toc.h:
6523         * toc.C: make TocItem store an id not a Paragraph *
6524           (bug #913)
6525
6526 2003-02-21  Angus Leeming  <leeming@lyx.org>
6527
6528         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6529           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6530           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6531           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6532           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6533           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6534
6535         * BufferView_pimpl.C (dispatch):
6536         * LyXAction.C (init):
6537         * factory.C (createInset):
6538         * lyxfunc.C (getStatus, dispatch):
6539         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6540
6541 2003-02-21  Angus Leeming  <leeming@lyx.org>
6542
6543         * BufferView_pimpl.C (MenuInsertLyXFile):
6544         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6545         * lyxfunc.C (menuNew, open, doImport):
6546           no longer pass a LyXView & to fileDlg.
6547
6548 2003-02-21  Angus Leeming  <leeming@lyx.org>
6549
6550         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6551         * LyXAction.C: change, BIBKEY to BIBITEM.
6552         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6553         Change InsetBibKey to InsetBibitem.
6554         Change BIBKEY_CODE to BIBITEM_CODE.
6555         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6556         * factory.C: replace insetbib.h with insetbibitem.h.
6557         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6558         * paragraph.C: replace insetbib.h with insetbibitem.h.
6559         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6560         Change bibkey() to bibitem().
6561         * text.C: remove insetbib.h.
6562         * text2.C: replace insetbib.h with insetbibitem.h.
6563         change bibkey() to bibitem().
6564         * text3.C: remove insetbib.h.
6565         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6566
6567 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6568
6569         * lyxrc.C (output): enclose user email in quotes (in case there are
6570         several words)
6571
6572 2003-02-18  John Levon  <levon@movementarian.org>
6573
6574         * buffer.h: add std::
6575
6576 2003-02-17  John Levon  <levon@movementarian.org>
6577
6578         * SpellBase.h:
6579         * ispell.h:
6580         * ispell.C:
6581         * pspell.h:
6582         * pspell.C: reworking. Especially in ispell, a large
6583           number of clean ups and bug fixes.
6584
6585         * lyxfunc.C: fix revert to behave sensibly
6586
6587 2003-02-17 André Pönitz <poenitz@gmx.net>
6588
6589         * LyXAction.C:
6590         * commandtags.h: new LFUN_INSERT_BIBKEY
6591
6592         * layout.h:
6593         * lyxlayout.C:
6594         * buffer.C:
6595         * factory.C:
6596         * text.C:
6597         * text2.C:
6598         * text3.C:
6599         * paragraph.[Ch]:
6600         * paragraph_func.C: remove special bibkey handling
6601
6602 2003-02-17  John Levon  <levon@movementarian.org>
6603
6604         * text.C (Delete): fix case where delete at the end of
6605           the very first paragraph would not merge the pars
6606
6607 2003-02-17  John Levon  <levon@movementarian.org>
6608
6609         * lyxrow.C: fix lastPrintablePos()
6610
6611 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6612
6613         * bufferparams.C (writeLaTeX): add a std:here
6614
6615         * buffer.C: and remove a using directive there
6616
6617 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6618
6619         * buffer.C (makeLaTeXFile): move the code that generates the
6620           preamble...
6621
6622         * bufferparams.C (writeLaTeX): ... in this new method
6623
6624         * LaTeXFeatures.C (getEncodingSet): make const
6625           (getLanguages): make const
6626
6627         * MenuBackend.C (binding): returns the binding associated to this
6628           action
6629           (add): sets the status of each item by calling getStatus. Adds
6630           some intelligence.
6631           (read): add support for OptSubMenu
6632           (expand): remove extra separator at the end of expanded menu
6633
6634 2003-02-15  John Levon  <levon@movementarian.org>
6635
6636         * BufferView.C:
6637         * BufferView_pimpl.C:
6638         * bufferlist.h:
6639         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6640           inset code that had no actual effect. Remove unneeded status
6641           code.
6642
6643 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6644
6645         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6646           in preamble
6647
6648 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6649
6650         * text.C (drawLengthMarker): also draw an arrow marker for
6651           symbolic lengths (medskip...)
6652
6653 2003-02-14  John Levon  <levon@movementarian.org>
6654
6655         * tabular.h:
6656         * tabular.C: better method names
6657
6658 2003-02-14  John Levon  <levon@movementarian.org>
6659
6660         * BufferView_pimpl.C:
6661         * bufferlist.C:
6662         * buffer.C:
6663         * converter.C:
6664         * lyx_cb.C:
6665         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6666           it's a more accurate name. Remove some pointless uses.
6667
6668 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6669
6670         * text2.C (LyXText): change order of initilizers to shut off
6671           warnings
6672
6673 2003-02-14  John Levon  <levon@movementarian.org>
6674
6675         * buffer.C: use ParIterator for getParFromID()
6676
6677         * paragraph.h:
6678         * paragraph.C:
6679         * paragraph_pimpl.h:
6680         * paragraph_pimpl.C: remove unused getParFromID()
6681
6682 2003-02-14  John Levon  <levon@movementarian.org>
6683
6684         * buffer.C: remove some very old #if 0'd parse code
6685
6686 2003-02-13  John Levon  <levon@movementarian.org>
6687
6688         * text.h:
6689         * text.C:
6690         * text2.C: move hfillExpansion(), numberOfSeparators(),
6691           rowLast(), rowLastPrintable(), numberofHfills(),
6692           numberOfLabelHfills() ...
6693
6694         * lyxrow.h:
6695         * lyxrow.C: ... to member functions here.
6696
6697         * paragraph.h:
6698         * paragraph.C:
6699         * lyxtext.h:
6700         * text.C: remove LyXText::beginningOfMainBody(), and call
6701           p->beginningOfMainBody() directly. Move the check for
6702           LABEL_MANUAL into the latter.
6703
6704         * text.h:
6705         * text.C:
6706         * text2.C:
6707         * vspace.C:
6708         * BufferView.h:
6709         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6710
6711         * text.h:
6712         * text.C:
6713         * text2.C:
6714         * text3.C:
6715         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6716           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6717
6718 2003-02-13  John Levon  <levon@movementarian.org>
6719
6720         * CutAndPaste.C: remove debug
6721
6722 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * paragraph.C (asString): remove two unused variables
6725
6726         * lyxtextclass.C (readTitleType):
6727           (Read):
6728           (LyXTextClass): handle new members titletype_ and titlename_
6729
6730         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6731
6732 2003-02-09  John Levon  <levon@movementarian.org>
6733
6734         * buffer.h:
6735         * buffer.C: replace hand-coded list with a map for the dep clean
6736
6737 2003-02-08  John Levon  <levon@movementarian.org>
6738
6739         * LaTeX.C: consolidate code into showRunMessage() helper
6740
6741 2003-02-08  John Levon  <levon@movementarian.org>
6742
6743         * lyxfind.C:
6744         * lyxtext.h:
6745         * text2.C:
6746         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6747           and pass the size in explicitly
6748
6749         * BufferView_pimpl.h:
6750         * BufferView_pimpl.C:
6751         * BufferView.h:
6752         * BufferView.C: add getCurrentChange()
6753
6754         * BufferView_pimpl.h:
6755         * BufferView_pimpl.C: handle change lfuns
6756
6757         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6758           for changes. Mark pasted paragraphs as new.
6759
6760         * support/lyxtime.h:
6761         * support/lyxtime.C:
6762         * DepTable.C: abstract time_t as lyx::time_type
6763
6764         * LColor.h:
6765         * LColor.C: add colours for new text, deleted text, changebars
6766
6767         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6768           package use "usenames" option.
6769
6770         * commandtags.h:
6771         * lyxfunc.C:
6772         * LyXAction.C: add change lfuns
6773
6774         * Makefile.am:
6775         * author.h:
6776         * author.C: author handling
6777
6778         * buffer.h:
6779         * buffer.C: add a per-buffer author list, with first entry as
6780           current author. Handle new .lyx tokens for change tracking. Output
6781           author list to .lyx file. Output dvipost stuff to .tex preamble.
6782           Bump lyx format to 222.
6783
6784         * bufferlist.h:
6785         * bufferlist.C: add setCurrentAuthor() to reset current author details
6786           in all buffers.
6787
6788         * bufferparams.h:
6789         * bufferparams.C: add param for tracking
6790
6791         * bufferview_funcs.C: output change info in minibuffer
6792
6793         * Makefile.am:
6794         * changes.h:
6795         * changes.C: add change-tracking structure
6796
6797         * debug.h:
6798         * debug.C: add CHANGES debug flag
6799
6800         * lyxfind.h:
6801         * lyxfind.C: add code for finding the next change piece
6802
6803         * lyxrc.h:
6804         * lyxrc.C: add user_name and user_email
6805
6806         * lyxrow.h:
6807         * lyxrow.C: add a metric for the top of the text line
6808
6809         * lyxtext.h:
6810         * text.C: implement accept/rejectChange()
6811
6812         * lyxtext.h:
6813         * text.C: paint changebars. Paint new/deleted text in the chosen
6814         colours. Strike through deleted text.
6815
6816         * paragraph.h:
6817         * paragraph.C:
6818         * paragraph_pimpl.h:
6819         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6820           in the current change to the insert functions. Rework erase to
6821           mark text as deleted, adding an eraseIntern() and a range-based
6822           erase(). Implement per-paragraph change lookup and
6823           accept/reject.
6824
6825         * paragraph_funcs.C: Fixup paste for change tracking.
6826
6827         * tabular.C: mark added row/columns as new.
6828
6829         * text.C: fix rowLast() to never return -1. Don't allow
6830           spellchecking of deleted text. Track transpose changes. Don't
6831           allow paragraph break or merge where appropriate.
6832
6833         * text2.C: leave cursor at end of selection after a cut.
6834
6835 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6836
6837         * text.C (getLengthMarkerHeight):
6838         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6839         visible on screen too.
6840
6841 2003-02-07  John Levon  <levon@movementarian.org>
6842
6843         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6844
6845 2003-02-05  Angus Leeming  <leeming@lyx.org>
6846
6847         * lyxserver.C (read_ready): revert my patch of 11 September last year
6848         as it sends PC cpu through the roof. Presumably this means that
6849         the lyxserver will no longer run on an Alpha...
6850
6851 2003-01-30  Angus Leeming  <leeming@lyx.org>
6852
6853         * factory.C (createInset): create an InsetCommandParam of type "index"
6854         and use it to 'do the right thing'.
6855
6856         * text2.C (getStringToIndex): ensure that cursor position is always
6857         reset to the reset_cursor position.
6858
6859 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6860
6861         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6862         disabled.
6863
6864 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6865
6866         * bufferview.C:
6867         * lyxcb.C:
6868         * lyxfunc.C: Output messages with identical spelling, punctuation,
6869         and spaces
6870
6871 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6872
6873         * MenuBackend.C (expandFormats): List only viewable export formats
6874         in "View" menu
6875
6876         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6877         message
6878
6879         * lyxfunc.C (getStatus): Make sure that formats other than
6880         "fax" can also be disabled
6881
6882 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6883
6884         * text3.C (dispatch): put the lfuns that insert insets in 3
6885         groups, and call doInsertInset with appropriate arguments.
6886         (doInsertInset): new function, that creates an inset and inserts
6887         it according to some boolean parameters.
6888
6889 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * buffer.C (readFile): remember to pass on 'par' when calling
6892         readFile recursively.
6893
6894 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6895
6896         * MenuBackend.C (expandFormats): add "..." to import formats.
6897
6898 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6899
6900         * paragraph.C (asString): Remove XForms RTL hacks.
6901
6902 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6903         * buffer.C: fix typo
6904
6905 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * Makefile.am (LIBS): delete var
6908         (lyx_LDADD): add @LIBS@ here instead.
6909
6910 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6911
6912         * Clarify the meaning of "wheel mouse jump"
6913
6914 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6915
6916         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6917         tabular in a float
6918
6919 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6920
6921         * importer.C (Loaders): do not preallocate 3 elements in the
6922         vector, since one ends up with 6 elements otherwise
6923
6924 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6925
6926         * DepTable.C (write): write the file name as last element of the
6927         .dep file (because it may contain spaces)
6928         (read): read info in the right order
6929
6930 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6931
6932         * paragraph_pimpl.C (simpleTeXBlanks):
6933         (simpleTeXSpecialChars):
6934         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6935
6936         * tabular.C (latex): add some missing case statements. Reindent.
6937
6938         * MenuBackend.C (expandToc): remove unused variable.
6939
6940 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6941
6942         * LColor.C:
6943         * LaTeX.C:
6944         * LyXAction.C:
6945         * MenuBackend.C:
6946         * buffer.C:
6947         * exporter.C:
6948         * lyxfunc.C:
6949         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6950         and the like.
6951
6952 2003-01-05  John Levon  <levon@movementarian.org>
6953
6954         * BufferView.h:
6955         * BufferView.C: add getEncoding()
6956
6957         * kbsequence.h:
6958         * kbsequence.C: do not store last keypress
6959
6960         * lyxfunc.h:
6961         * lyxfunc.C: store last keypress here instead. Pass encoding
6962           to getISOEncoded()
6963
6964 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6965
6966         * lyx_main.C (init): remove annoying error message when following
6967         symbolic links (bug #780)
6968
6969 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6970
6971         * text.C (insertChar):
6972         * lyxrc.C (getDescription): remove extra spaces
6973
6974 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6975
6976         * lyxrc.C (getDescription): remove extra spaces
6977
6978 2002-12-20  John Levon  <levon@movementarian.org>
6979
6980         * text3.C: hack fix for page up/down across tall rows
6981
6982 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6983
6984         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6985         not been invoked
6986
6987 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6988
6989         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6990         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6991         thesaurus is not compiled in
6992
6993 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6994
6995         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6996
6997 2002-12-16  Angus Leeming  <leeming@lyx.org>
6998
6999         * lyxrc.[Ch]:
7000         * lyx_main.C (init): remove override_x_deadkeys stuff.
7001
7002 2002-12-12  John Levon  <levon@movementarian.org>
7003
7004         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7005           insert. Only remove shift modifier under strict
7006           circumstances.
7007
7008 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * MenuBackend.C (expandToc): fix crash.
7011
7012 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * MenuBackend.C (expandToc): gettext on float names.
7015
7016 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7017
7018         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7019         implement bool empty() [bug 490]
7020
7021 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7024
7025 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * several files: ws changes
7028
7029 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * text2.C (setCounter): clean up a bit, use boost.format.
7032         (updateCounters): initialize par upon declaration.
7033
7034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7035         if the layout exists. We do not just store the layout any more.
7036         (SwitchLayoutsBetweenClasses): use boost.format
7037
7038 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7039
7040         * converter.C (convert): if from and to files are the same, use a
7041         temporary files as intermediary
7042
7043 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7044
7045         * commandtags.h:
7046         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7047
7048 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7049
7050         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7051
7052 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * tabular.C (asciiPrintCell): use string(size, char) instead of
7055         explicit loop.
7056
7057         * sgml.C (openTag): fix order of arguments to string constructor
7058         (closeTag): ditto
7059
7060         * lyxfunc.C (dispatch): use boost.format
7061
7062         * lots of files: change "c" -> 'c'
7063
7064 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7065
7066         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7067
7068 2002-11-25  Angus Leeming  <leeming@lyx.org>
7069
7070         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7071
7072         * lyx_main.C (init): compile fix.
7073
7074 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * lyx_cb.C (start): boost.formatify
7077         do not include <iostream>
7078
7079         * lengthcommon.C: ws only
7080
7081         * boost-inst.C,BoostFormat.h: add more explict instantations
7082
7083 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * lots of files: handle USE_BOOST_FORMAT
7086
7087 2002-11-21  John Levon  <levon@movementarian.org>
7088
7089         * pspell.C: fix compile
7090
7091 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7092
7093         * lyxfunc.C (dispatch): use boost::format
7094         (open): ditto
7095         (doImport): ditto
7096
7097         * lyxfont.C (stateText): use boost::format
7098
7099         * lyx_main.C (LyX): use boost::format
7100         (init): ditto
7101         (queryUserLyXDir): ditto
7102         (readRcFile): ditto
7103         (parse_dbg): ditto
7104         (typedef boost::function): use the recommened syntax.
7105
7106         * importer.C (Import): use boost::format
7107
7108         * debug.C (showLevel): use boost::format
7109
7110         * converter.C (view): use boost::format
7111         (convert): ditto
7112         (move): ditto
7113         (scanLog): ditto
7114
7115         * bufferview_funcs.C (currentState): use boost::format
7116
7117         * bufferlist.C (emergencyWrite): use boost::format
7118
7119         * buffer.C (readLyXformat2): use boost::format
7120         (parseSingleLyXformat2Token): ditto
7121
7122         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7123
7124         * LaTeX.C (run): use boost::format
7125
7126         * Chktex.C (scanLogFile): use boost::format
7127
7128         * BufferView_pimpl.C (savePosition): use boost::format
7129         (restorePosition): ditto
7130         (MenuInsertLyXFile): ditto
7131
7132         * BoostFormat.h: help file for explicit instation.
7133
7134 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * tabular.C (latex): Support for block alignment in fixed width
7137         columns.
7138
7139 2002-11-17  John Levon  <levon@movementarian.org>
7140
7141         * BufferView_pimpl.C:
7142         * lyx_cb.C:
7143         * lyxfunc.C: split filedialog into open/save
7144
7145 2002-11-08  Juergen Vigna  <jug@sad.it>
7146
7147         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7148         by my last patch (hopefully).
7149
7150 2002-11-08  John Levon  <levon@movementarian.org>
7151
7152         * iterators.h:
7153         * iterators.C:
7154         * buffer.h:
7155         * buffer.C:
7156         * paragraph.h:
7157         * paragraph.C:
7158         * toc.h:
7159         * toc.C: ParConstIterator, and use it (from Lars)
7160
7161 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7162
7163         * lyxtextclass.[Ch]: revise and add doxygen comments
7164
7165 2002-11-07  John Levon  <levon@movementarian.org>
7166
7167         * text.C: fix progress value for spellchecker
7168
7169         * toc.C: fix navigate menu for insetwrap inside minipage
7170
7171         * paragraph_funcs.C: added FIXME for suspect code
7172
7173 2002-11-07  John Levon  <levon@movementarian.org>
7174
7175         * BufferView_pimpl.C: fix redrawing of insets
7176           on buffer switch
7177
7178 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7179
7180         * text2.C (updateCounters): fix bug 668
7181
7182 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7183
7184         * text3.C (dispatch): Do not make the buffer dirty when moving the
7185         cursor.
7186
7187 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7188
7189         * vc-backend.C: STRCONV
7190         (scanMaster): ditto
7191
7192         * text2.C (setCounter): STRCONV
7193
7194         * paragraph.C (asString): STRCONV
7195
7196         * lyxlength.C (asString): STRCONV
7197         (asLatexString): ditto
7198
7199         * lyxgluelength.C (asString): STRCONV
7200         (asLatexString): ditto
7201
7202         * lyxfunc.C (dispatch): STRCONV
7203         (open): ditto
7204
7205         * lyxfont.C (stateText): STRCONV
7206
7207         * importer.C (Import): STRCONV
7208
7209         * counters.C (labelItem): STRCONV
7210         (numberLabel): ditto
7211         (numberLabel): remove unused ostringstream o
7212
7213         * chset.C: STRCONV
7214         (loadFile): ditto
7215
7216         * bufferview_funcs.C (currentState): STRCONV
7217
7218         * buffer.C (readFile): STRCONV
7219         (asciiParagraph): ditto
7220         (makeLaTeXFile): ditto
7221
7222         * Spacing.C (writeEnvirBegin): STRCONV
7223
7224         * LaTeXFeatures.C (getLanguages): STRCONV
7225         (getPackages): ditto
7226         (getMacros): ditto
7227         (getBabelOptions): ditto
7228         (getTClassPreamble): ditto
7229         (getLyXSGMLEntities): ditto
7230         (getIncludedFiles): ditto
7231
7232         * LaTeX.C: STRCONV
7233         (run): ditto
7234         (scanAuxFile): ditto
7235         (deplog): ditto
7236
7237         * LString.h: add the STRCONV macros
7238
7239         * BufferView_pimpl.C (savePosition): STRCONV
7240         (restorePosition): ditto
7241         (MenuInsertLyXFile): ditto
7242
7243         * vc-backend.C (scanMaster): change from submatch[...] to
7244         submatch.str(...)
7245
7246         * funcrequest.C: include config.h
7247
7248         * factory.C: include config.h
7249
7250         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7251
7252         * box.C: include config.h
7253
7254         * LaTeX.C (scanAuxFile): change from submatch[...] to
7255         submatch.str(...)
7256         (deplog): ditto
7257
7258 2002-10-25  Angus Leeming  <leeming@lyx.org>
7259
7260         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7261
7262         * ispell.[Ch] (setError): new method.
7263         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7264         Use setError() insetead of goto END.
7265
7266         * lyx_cb.C (AutoSave): move out child process into new class
7267         AutoSaveBuffer.
7268
7269 2002-10-30  John Levon  <levon@movementarian.org>
7270
7271         * text3.C: make start appendix undoable
7272
7273 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7274
7275         * lyxlength.C (inPixels): Fix returned value.
7276
7277         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7278         environment.
7279
7280 2002-10-24  Angus Leeming  <leeming@lyx.org>
7281
7282         * lyxgluelength.h: no need to forward declare BufferParams
7283         or BufferView, so don't.
7284
7285 2002-10-21  John Levon  <levon@movementarian.org>
7286
7287         * BufferView.C: menuUndo ->undo, redo
7288
7289         * BufferView.h: document, remove dead, make some methods private
7290
7291         * paragraph_funcs.h:
7292         * paragraph_funcs.C:
7293         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7294
7295         * buffer.h:
7296         * buffer.C:
7297         * sgml.h:
7298         * sgml.C: move sgml open/close tag into sgml.C
7299
7300         * bufferview_funcs.h: unused prototype
7301
7302         * lyxfunc.h:
7303         * lyxfunc.C: remove unused
7304
7305         * lyxtext.h:
7306         * text.C: remove unused
7307
7308 2002-10-21  John Levon  <levon@movementarian.org>
7309
7310         * BufferView.h:
7311         * BufferView.C:
7312         * BufferView_pimpl.h:
7313         * BufferView_pimpl.C: fix mouse wheel handling based on
7314           patch from Darren Freeman
7315
7316 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7317
7318         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7319
7320 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7321
7322         * lyxlength.C (inPixels): Fix hanfling of negative length.
7323         Fix LyXLength::MU case.
7324
7325 2002-10-16  John Levon  <levon@movementarian.org>
7326
7327         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7328
7329 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7330
7331         * converter.C (view): add support for $$i (file name) and $$p
7332         (file path) for the viewer command. If $$i is not specified, then
7333         it is appended to the command (for compatibility with old syntax)
7334
7335 2002-10-14  Juergen Vigna  <jug@sad.it>
7336
7337         * undo_funcs.C (textHandleUndo): alter the order in which the
7338         new undopar is added to the LyXText, as we have to set first
7339         the right prev/next and then add it as otherwise the rebuild of
7340         LyXText is not correct. Also reset the cursor to the right paragraph,
7341         with this IMO we could remove the hack in "redoParagraphs()".
7342
7343 2002-10-09  Angus Leeming  <leeming@lyx.org>
7344
7345         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7346         to turn off an optimisation if a new inset is to be inserted.
7347
7348 2002-10-11 André Pönitz <poenitz@gmx.net>
7349
7350         * lyxtext.h: make some functions public to allow access
7351         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7352
7353 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7354
7355         * text3.C (dispatch): when changing layout, avoid an infinite loop
7356         [bug #652]
7357
7358 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7359
7360         * lyxrc.C (read): treat a viewer or converter command of "none" as
7361         if it were empty.
7362
7363         * MenuBackend.C (expandFormats): for an update, also allow the
7364         formats that are not viewable
7365
7366         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7367         script if it is newer than the lyxrc.defaults in user directory
7368
7369 2002-10-07 André Pönitz <poenitz@gmx.net>
7370
7371         * text.C: Vitaly Lipatov's small i18n fix
7372
7373 2002-09-25  Angus Leeming  <leeming@lyx.org>
7374
7375         * ispell.h: doxygen fix.
7376
7377 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7378
7379         * buffer.h (readFile): Add a new argument to the method, to allow
7380         reading of old-format templates.
7381
7382 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7383
7384         * toc.C (getTocList): Get TOC from InsetWrap.
7385
7386 2002-09-16  John Levon  <levon@movementarian.org>
7387
7388         * lyxfunc.C: check tabular for cut/copy too
7389
7390 2002-09-12  John Levon  <levon@movementarian.org>
7391
7392         * LyXAction.C: tidy
7393
7394         * factory.h:
7395         * factory.C: add header
7396
7397         * paragraph_funcs.h:
7398         * paragraph_funcs.C: cleanup
7399
7400 2002-09-11  John Levon  <levon@movementarian.org>
7401
7402         * PrinterParams.h: odd/even default to true
7403
7404 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7405
7406         * PrinterParams.h: update printer parameters for new xforms dialog
7407
7408 2002-09-11  Angus Leeming  <leeming@lyx.org>
7409
7410         * lyxserver.C (read_ready): re-write to make it more transparent
7411         and to make it work in coherent fashion under Tru64 Unix.
7412
7413 2002-09-11  André Pönitz <poenitz@gmx.net>
7414
7415         * commandtags.h:
7416         * LyXAction.C:
7417         * text3.C: implement LFUN_WORDSEL
7418
7419 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7422         make floatlist_ a boost::shared_ptr<FloatList>
7423
7424         * lyxtextclass.C: include FloatList.h
7425         (LyXTextClass): initialize floatlist_
7426         (TextClassTags): add TC_NOFLOAT
7427         (Read): match "nofloat" to TC_NOFLOAT and use it.
7428         (readFloat): modify call to floatlist_
7429         (floats): ditto
7430         (floats): ditto
7431
7432         * FloatList.[Ch] (FloatList): remove commented out float
7433         initialization.
7434         (erase): new function
7435
7436 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7437
7438         * MenuBackend.C (expandToc): fix crash when there is no document
7439         open
7440
7441 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7442
7443         * many files: Add insetwrap.
7444
7445 2002-09-09  John Levon  <levon@movementarian.org>
7446
7447         * text2.C: remove confusing and awkward depth wraparound
7448
7449 2002-09-09  John Levon  <levon@movementarian.org>
7450
7451         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7452
7453         * buffer.h:
7454         * buffer.C: remove getIncludeonlyList()
7455
7456         * paragraph.C:
7457         * lyxfunc.C: remove headers
7458
7459 2002-09-09  Juergen Vigna  <jug@sad.it>
7460
7461         * text.C (getColumnNearX): fix form Michael this is most
7462         probably a cut&paste bug.
7463
7464 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7467
7468         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7469         references, ws changes.
7470
7471         * text2.C (init): update counters after init
7472         (insertParagraph): no need to set counter on idividual paragraphs.
7473         (setCounter): access the counters object in the textclass object
7474         on in the buffer object.
7475         (updateCounters): ditto
7476
7477         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7478         shared_ptr<Counters> to avoid loading counters.h in all
7479         compilation units.
7480         (LyXTextClass): initialize ctrs_
7481         (TextClassTags): add TC_COUNTER, and ...
7482         (Read): use it here.
7483         (CounterTags): new tags
7484         (readCounter): new function
7485         (counters): new funtion
7486         (defaultLayoutName): return a const reference
7487
7488         * counters.C (Counters): remove contructor
7489         (newCounter): remove a couple of unneeded statements.
7490         (newCounter): simplify a bit.
7491         (numberLabel): some small formatting changes.
7492
7493         * buffer.[Ch]: remove all traces of counters, move the Counters
7494         object to the LyXTextClass.
7495
7496 2002-09-06  Alain Castera  <castera@in2p3.fr>
7497
7498         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7499         package to set the horizontal alignment on fixed width columns.
7500
7501         * lyx_sty.C:
7502         * lyx_sty.h: added tabularnewline macro def.
7503
7504         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7505
7506 2002-09-06  John Levon  <levon@movementarian.org>
7507
7508         * LyXAction.C: tooltips for sub/superscript
7509
7510         * MenuBackend.C: a bit more verbose
7511
7512         * lyxfunc.C: tiny clean
7513
7514         * undo_funcs.C: document undo_frozen
7515
7516 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * counters.C (Counters): add missing algorithm counter.
7519
7520         * text2.C (setCounter): lookup the counter with layouts latexname
7521         instead of by section number.
7522         (setCounter): use a hackish way to lookup the correct enum
7523         counter.
7524         a float name->type change
7525         reset enum couners with counter name directly instead of depth value.
7526
7527         * counters.C (Counters): remove the push_backs, change to use the
7528         float type not the float name.
7529         (labelItem): remove unused string, float name->type change
7530
7531         * counters.h: don't include vector, loose the enums and sects vectors
7532
7533 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7536         (Read): add float->TC_FLOAT to textclassTags
7537         (Read): and handle it in the switch
7538         (readFloat): new function
7539
7540         * FloatList.C (FloatList): comment out the hardcoded float
7541         definitions.
7542
7543         * lyxlayout.h: ws change.
7544
7545 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7546
7547         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7548
7549 2002-09-03  Angus Leeming  <leeming@lyx.org>
7550
7551         * BufferView_pimpl.h: qualified name is not allowed in member
7552         declaration: WorkArea & Pimpl::workarea() const;
7553
7554         * factory.C: added using std::endl directive.
7555
7556         * text3.C: added using std::find and std::vector directives.
7557
7558 2002-08-29  André Pönitz <poenitz@gmx.net>
7559
7560         * lyxtext.h:
7561         * text2.C: remove unused member number_of_rows
7562
7563         * Makefile.am:
7564         * BufferView2.C: remove file, move contents to...
7565         * BufferView.C: ... here
7566
7567         * BufferView_pimpl.C:
7568         * factory.C: move more inset creation to factory
7569
7570         * vspace.C: avoid direct usage of LyXText, ws changes
7571
7572         * BufferView.[Ch]:
7573                 don't provide direct access to WorkArea, use two simple
7574                 acessors haveSelction() and workHeight() instead
7575
7576
7577 2002-08-29  John Levon  <levon@movementarian.org>
7578
7579         * BufferView_pimpl.C (dispatch): do not continue when
7580           no buffer
7581
7582 2002-08-28  André Pönitz <poenitz@gmx.net>
7583
7584         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7585
7586         * BufferView.h:
7587         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7588
7589 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7590
7591         * buffer.C: increment LYX_FORMAT to 221
7592
7593         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7594         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7595
7596         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7597
7598         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7599
7600 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7601
7602         * factory.C (createInset): use LyXTextClass::floats
7603
7604         * MenuBackend.C (expandFloatListInsert):
7605         (expandFloatInsert):
7606         (expandToc):
7607
7608         * text2.C (setCounter):
7609
7610         * LaTeXFeatures.C (useFloat):
7611         (getFloatDefinitions):
7612
7613         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7614
7615         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7616         floatlist_, with accessor floats().
7617
7618         * FloatList.h: remove global FloatList
7619
7620 2002-08-26  André Pönitz <poenitz@gmx.net>
7621
7622         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7623
7624         * BufferView.h:
7625         * BufferView2.C:
7626         * BufferView_pimpl.C:
7627         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7628
7629 2002-08-25  John Levon  <levon@movementarian.org>
7630
7631         * LyXAction.C: fix margin note description
7632
7633 2002-08-24  John Levon  <levon@movementarian.org>
7634
7635         * buffer.C:
7636         * bufferlist.C:
7637         * bufferview_funcs.C:
7638         * lyxfont.C:
7639         * undo_funcs.C: cleanups
7640
7641         * lyxfunc.C: disable CUT/COPY when no selection
7642
7643 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7644
7645         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7646         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7647
7648         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7649         Add backward compatibility to "mono", "gray" and "no".
7650
7651 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7652
7653         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7654         (and file_format >= 200).
7655
7656 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7659
7660 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7661
7662         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7663
7664 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7665
7666         * BufferView_pimpl.C:
7667         * LyXAction.C:
7668         * buffer.C:
7669         * commandtags.h:
7670         * lyxfunc.C:
7671         * paragraph.[Ch]:
7672         * text2.C:
7673         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7674         inset and code to make it  work with the paragraph code. The inset
7675         can be anywhere in the paragraph, but will only do the expected
7676         thing in LaTeX if the layout file contains the parameter line
7677                         OptionalArgs    1
7678         (or more generally, a nonzero value) for that layout.
7679
7680 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * paragraph.h: remove the declaration of undefined counters class
7683         function.
7684
7685 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7686
7687         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7688         Dr. Richard Hawkins.
7689
7690 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * paragraph_funcs.h: remove some unneeded includes
7693
7694         * text.C (backspace): pasteParagraph now in global scipe
7695
7696         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7697         (pasteSelection): ditto
7698
7699         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7700         * paragraph_funcs.C (pasteParagraph): ... here
7701
7702 2002-08-20  André Pönitz <poenitz@gmx.net>
7703
7704         * commandtags.h: new LFUNs for swapping/copying table row/colums
7705
7706         * LyXAction.C:
7707         * lyxfunc.C: support for new lfuns
7708
7709 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * tabular.C:
7712         * buffer.[Ch]: remove NO_COMPABILITY stuff
7713
7714 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7715
7716         * boost.C (throw_exception): new file, with helper function for
7717         boost compiled without exceptions.
7718
7719         * paragraph.h:
7720         * lyxlength.C:
7721         * buffer.C:
7722         * ParameterStruct.h:
7723         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7724
7725         * bufferlist.C (emergencyWriteAll): use boost bind
7726
7727         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7728
7729         * text.C: include paragraph_funcs.h
7730         (breakParagraph): breakParagraph is now in global scope
7731
7732         * paragraph_funcs.[Ch]: new files
7733
7734         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7735         global scope
7736
7737         * buffer.C: include paragraph_funcs.h
7738         (insertStringAsLines): breakParagraph is now in global scope
7739
7740         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7741         paragraph_funcs.C
7742
7743         * CutAndPaste.C: include paragraph_funcs.h
7744         (cutSelection): breakParagraphConservative is now in global scope
7745         (pasteSelection): ditto
7746
7747         * buffer.h: declare oprator== and operator!= for
7748         Buffer::inset_iterator
7749
7750         * bufferlist.C (emergencyWrite): don't use fmt(...)
7751
7752         * text3.C: add using std::endl
7753
7754         * BufferView.C (moveCursorUpdate): remove default arg
7755
7756 2002-08-20  André Pönitz <poenitz@gmx.net>
7757
7758         * buffer.[Ch]: move inline functions to .C
7759
7760         * BufferView2.C:
7761         * BufferView_pimpl.C:
7762         * text.C:
7763         * buffer.[Ch]: use improved inset_iterator
7764
7765         * buffer.C:
7766         * paragraph.[Ch]: write one paragraph at a time
7767
7768 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7769
7770         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7771         style if style is not specified.
7772
7773 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7774
7775         * text2.C (setCounter): when searching for right label for a
7776         caption, make sure to recurse to parent insets (so that a caption
7777         in a minipage in a figure float works) (bug #568)
7778
7779 2002-08-20  André Pönitz <poenitz@gmx.net>
7780
7781         * text3.C: new file for LyXText::dispatch() and helpers
7782
7783         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7784
7785         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7786
7787 2002-08-19  André Pönitz <poenitz@gmx.net>
7788
7789         * lyxtext.h:
7790         * text.C: new LyXText::dispatch()
7791
7792         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7793
7794 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7795
7796         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7797
7798         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7799         Hebrew text.
7800
7801 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7802
7803         * Makefile.am: use $(variables) instead of @substitutions@
7804
7805 2002-08-15  André Pönitz <poenitz@gmx.net>
7806
7807         * lyxfunc.C:
7808         * BufferView_pimpl.C: streamlining mathed <-> outer world
7809         interaction
7810
7811         * commandtags.h:
7812         * LyXAction.C: remove unused LFUN_MATH
7813
7814 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7817
7818 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * paragraph.C (Paragraph): reformat a bit
7821         (cutIntoMinibuffer): use builtin InsetList function instad of
7822         doing it manually.
7823         (getInset): ditto
7824
7825         * buffer.C: include boost/bind.hpp, add using std::for_each
7826         (writeFileAscii): use ParagraphList iterators
7827         (validate): use for_each for validate traversal of paragraphs
7828         (getBibkeyList): use ParagraphList iterators
7829         (resizeInsets): use for_each to resizeInsetsLyXText for all
7830         paragraphs.
7831         (getParFromID): use ParagraphList iterators
7832
7833         * BufferView2.C (lockInset): use paragraph list and iterators
7834
7835 2002-08-14  John Levon  <levon@movementarian.org>
7836
7837         * lyxserver.C: remove spurious xforms include
7838
7839 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7840
7841         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7842
7843 2002-08-13  André Pönitz <poenitz@gmx.net>
7844
7845         * LyXAction.[Ch]:
7846         * lyxfunc.C: further cleaning
7847
7848 2002-08-13  André Pönitz <poenitz@gmx.net>
7849
7850         * funcrequest.h: new constructor
7851
7852         * funcrequest.C: move stuff here from .h
7853
7854         * Makefile.am:
7855         * BufferView_pimpl.C:
7856         * LyXAction.C:
7857         * toc.C:
7858         * lyxfunc.C: subsequent changes
7859
7860         * lyxfunc.h: new view() member function
7861
7862         * lyxfunc.C: subsequent changes
7863
7864 2002-08-13  Angus Leeming  <leeming@lyx.org>
7865
7866         * BufferView2.C:
7867         * BufferView_pimpl.C:
7868         * buffer.C:
7869         * converter.C:
7870         * importer.C:
7871         * lyxfunc.C:
7872         * lyxvc.C:
7873         * toc.C:
7874         * vc-backend.C:
7875         changes due to the changed LyXView interface that now returns references
7876         to member variables not pointers.
7877
7878 2002-08-13  Angus Leeming  <leeming@lyx.org>
7879
7880         * WordLangTuple (word, lang_code): return references to strings,
7881         not strings.
7882
7883         * BufferView.h:
7884         * SpellBase.h:
7885         * lyxtext.h: forward-declare WordLangTuple.
7886
7887         * BufferView2.C:
7888         * ispell.C:
7889         * pspell.C:
7890         * text.C: #include "WordLangTuple.h".
7891
7892         * lyxtext.h:
7893         * text.C: (selectNextWordToSpellcheck): constify return type.
7894
7895 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7896
7897         * buffer.C:
7898         * buffer.h:
7899         * lyxtext.h:
7900         * paragraph.C:
7901         * paragraph_pimpl.h:
7902         * text.C:
7903         * text2.C:
7904         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7905         suggested by Angus.
7906         Made updateCounter always count from start of buffer, and removed
7907         second argument (par).
7908         Reverted floats number display to '#'. Perhaps I'll try again when the
7909         code base is sanitized a bit.
7910
7911 2002-08-12  Angus Leeming  <leeming@lyx.org>
7912
7913         * buffer.[Ch] (getLabelList): constify.
7914
7915 2002-08-07  André Pönitz <poenitz@gmx.net>
7916
7917         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7918
7919         * funcrequest.h: extension to keep mouse (x,y) position
7920
7921 2002-08-12  Juergen Vigna  <jug@sad.it>
7922
7923         * BufferView2.C (insertErrors): forbid undo when inserting error
7924         insets.
7925
7926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7927
7928 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * ParagraphList.[Ch]: new files
7931
7932         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7933
7934         * BufferView2.C (lockInset): ParagraphList changes
7935         * toc.C: ditto
7936         * text2.C: ditto
7937         * bufferlist.C: ditto
7938         * buffer.h: ditto
7939         * buffer.C: ditto
7940
7941 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7944         unused class variable counter_,
7945
7946         * paragraph.[Ch] (getFirstCounter): delete unused function
7947
7948         * counters.C: include LAssert.h
7949         (reset): add a new function with no arg, change other version to
7950         not have def. arg and to not allow empty arg.
7951
7952         * text2.C (setCounter): remove empty arg from call to Counters::reset
7953
7954 2002-08-11  John Levon  <levon@movementarian.org>
7955
7956         * Makefile.am: add WordLangTuple.h
7957
7958 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7961         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7962
7963         * insets/insettext.C: InsetList changes
7964
7965         * graphics/GraphicsSupport.C (operator()): InsetList changes
7966
7967         * toc.C (getTocList): InsetList changes
7968
7969         * paragraph_pimpl.[Ch]: InsetList changes
7970
7971         * paragraph.[Ch]: InsetList changes
7972
7973         * buffer.C (inset_iterator): InsetList changes
7974         (setParagraph): ditto
7975         * buffer.h (inset_iterator): ditto
7976         * iterators.C (operator++): ditto
7977         * iterators.h: ditto
7978
7979         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7980
7981         * InsetList.[Ch]: new files, most InsetList handling moved out of
7982         paragraph.C.
7983
7984         * BufferView2.C (removeAutoInsets): InsetList changes
7985         (lockInset): ditto
7986         (ChangeInsets): ditto
7987
7988 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * paragraph_pimpl.h (empty): new function
7991
7992         * paragraph.[Ch] (empty): new function
7993
7994         * other files: use the new Paragraph::empty function
7995
7996 2002-08-09  John Levon  <levon@movementarian.org>
7997
7998         * lyxtext.h: remove unused refresh_height
7999
8000 2002-08-09  John Levon  <levon@movementarian.org>
8001
8002         * Makefile.am:
8003         * sgml.h:
8004         * sgml.C:
8005         * buffer.C:
8006         * paragraph.h:
8007         * paragraph.C: move sgml char escaping out of paragraph
8008
8009         * paragraph.h:
8010         * paragraph.C: remove id setter
8011
8012         * buffer.C:
8013         * paragraph.C:
8014         * paragraph_pimpl.C: remove dead tex_code_break_column
8015
8016         * bufferview_funcs.C: small cleanup
8017
8018         * lyxfunc.C: remove dead proto
8019
8020         * lyxtext.h: make some stuff private. Remove some dead stuff.
8021
8022         * lyxgluelength.C: make as[LyX]String() readable
8023
8024 2002-08-08  John Levon  <levon@movementarian.org>
8025
8026         * LyXAction.h:
8027         * LyXAction.C:
8028         * MenuBackend.C:
8029         * ToolbarDefaults.C:
8030         * lyxfunc.C:
8031         * lyxrc.C:
8032         * toc.C: lyxaction cleanup
8033
8034 2002-08-08  John Levon  <levon@movementarian.org>
8035
8036         * BufferView2.C: small cleanup
8037
8038         * lyxfind.h:
8039         * lyxfind.C: move unnecessary header into the .C
8040
8041 2002-08-08  John Levon  <levon@movementarian.org>
8042
8043         * funcrequest.h: just tedious nonsense
8044
8045         * lyx_main.h:
8046         * lyx_main.C: cleanups
8047
8048         * buffer.C:
8049         * vspace.C: remove dead header lyx_main.h
8050
8051 2002-08-07  Angus Leeming  <leeming@lyx.org>
8052
8053         * Paragraph.[Ch]:
8054         * paragraph_pimpl.h:
8055         Forward declare class Counters in paragraph.h by moving the ctrs member
8056         variable into Paragraph::Pimpl.
8057         (counters): new method, returning a reference to pimpl_->ctrs.
8058
8059         * text2.C: ensuing changes.
8060
8061 2002-08-07  John Levon  <levon@movementarian.org>
8062
8063         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8064
8065         * BufferView_pimpl.C: announce X selection on double/triple
8066           click
8067
8068         * lyx_main.C: use correct bool in batch dispatch
8069
8070         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8071
8072 2002-08-07  André Pönitz <poenitz@gmx.net>
8073
8074         * funcrequest.h: new class to wrap a kb_action and its argument
8075
8076         * BufferView.[Ch]:
8077         * BufferView_pimpl[Ch]:
8078         * LaTeX.C:
8079         * LyXAction.[Ch]:
8080         * lyxfunc.[Ch]:
8081         * lyxrc.C: subsequent changes
8082
8083
8084 2002-08-07  John Levon  <levon@movementarian.org>
8085
8086         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8087           document options change.
8088
8089 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8090
8091         * counters.[Ch]
8092         * text2.C
8093         * paragraph.[Ch]
8094         * makefile.am: move counters functionality over from
8095         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8096
8097 2002-08-06  John Levon  <levon@movementarian.org>
8098
8099         * WordLangTuple.h: new file for word + language code tuple
8100
8101         * SpellBase.h:
8102         * pspell.h:
8103         * pspell.C:
8104         * ispell.h:
8105         * ispell.C:
8106         * lyxtext.h:
8107         * text.C:
8108         * text2.C:
8109         * BufferView.h:
8110         * BufferView2.C: use WordLangTuple
8111
8112         * layout.h:
8113         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8114
8115 2002-08-06  John Levon  <levon@movementarian.org>
8116
8117         * lyx_main.C: fix cmdline batch handling
8118
8119 2002-08-06  André Pönitz <poenitz@gmx.net>
8120
8121         * lyxrc.C: set default for show_banner to true
8122
8123 2002-08-06  John Levon  <levon@movementarian.org>
8124
8125         * pspell.C: fix a crash, and allow new aspell to work
8126
8127 2002-08-06  John Levon  <levon@movementarian.org>
8128
8129         * lyxfunc.C:
8130         * kbmap.C: small cleanup
8131
8132         * vspace.h:
8133         * vspace.C: add const
8134
8135 2002-08-05  John Levon  <levon@movementarian.org>
8136
8137         * LyXAction.C: back to tabular-insert
8138
8139 2002-08-04  John Levon  <levon@movementarian.org>
8140
8141         * BufferView.h:
8142         * BufferView.C: cosmetic change
8143
8144         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8145
8146         * bufferlist.C:
8147         * buffer.h:
8148         * buffer.C:
8149         * lyxcb.h:
8150         * lyxcb.C:
8151         * lyxserver.C:
8152         * lyxvc.C:
8153         * vc-backend.C:
8154         * BufferView2.C: purge all "Lyx" not "LyX" strings
8155
8156         * lyxcursor.h:
8157         * lyxcursor.C: attempt to add some documentation
8158
8159         * lyxfunc.C:
8160         * commandtags.h:
8161         * LyXAction.C:
8162         * ToolbarDefaults.C:
8163         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8164           merge with LFUN_TABULAR_INSERT
8165
8166         * Makefile.am:
8167         * SpellBase.h:
8168         * ispell.h:
8169         * ispell.C:
8170         * pspell.h:
8171         * pspell.C: split up i/pspell implementations into separate
8172           files, many cleanups
8173
8174         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8175
8176         * text2.C: some cleanup
8177
8178         * lyxfunc.C: don't check for isp_command == "none" any more, it
8179           didn't make any sense
8180
8181 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8182
8183         * counters.[Ch]
8184         * text2.C
8185         * paragraph.[Ch]
8186         * makefile.am: move counters functionality over
8187         from text2.C/paragraph.[Ch] to counters.[Ch], and
8188         make proper C++.
8189 2002-08-02  John Levon  <levon@movementarian.org>
8190
8191         * buffer.C: s/lyxconvert/lyx2lyx/
8192
8193 2002-08-02  Angus Leeming  <leeming@lyx.org>
8194
8195         * lyxlex.C: revert John's change as it breaks reading of the user
8196         preamble.
8197
8198 2002-08-02  Angus Leeming  <leeming@lyx.org>
8199
8200         * importer.C (Import):
8201         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8202         changes due to LyXView::view() now returning a boost::shared_ptr.
8203
8204 2002-08-02  John Levon  <levon@movementarian.org>
8205
8206         * lyxlex.C: small cleanup
8207
8208 2002-08-02  John Levon  <levon@movementarian.org>
8209
8210         * text2.C (status): small cleanup, no logic change
8211
8212 2002-08-01  John Levon  <levon@movementarian.org>
8213
8214         * buffer.h:
8215         * buffer.C (writeFile): don't output alerts, caller
8216           handles this
8217
8218         * bufferlist.C:
8219         * lyx_cb.C: from above
8220
8221         * lyxfunc.C: allow to open non-existent files
8222
8223 2002-07-31  John Levon  <levon@movementarian.org>
8224
8225         * lyxserver.C: don't let incidental errors get
8226           in the way (errno)
8227
8228 2002-07-30  John Levon  <levon@movementarian.org>
8229
8230         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8231
8232 2002-07-30  John Levon  <levon@movementarian.org>
8233
8234         * lyxserver.h:
8235         * lyxserver.C: remove I/O callback too
8236
8237 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8238
8239         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8240         log.
8241
8242 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * many files: strip,frontStrip -> trim,ltrim,rtrim
8245
8246 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * PrinterParams.h: remove extern containsOnly, and include
8249         support/lstrings.h instead.
8250
8251         * LaTeX.C (scanAuxFile): modify because of strip changes
8252         (deplog): ditto
8253         * buffer.C (makeLaTeXFile): ditto
8254         * bufferparams.C (writeFile): ditt
8255         * lyxfont.C (stateText): ditto
8256         * lyxserver.C (read_ready): ditto
8257         * vc-backend.C (scanMaster): ditto
8258
8259         * BufferView_pimpl.h: ws changes
8260
8261         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8262
8263 2002-07-26  André Pönitz <poenitz@gmx.net>
8264
8265         * kb_sequence.C: remove unnedred usings
8266
8267 2002-07-26  Juergen Vigna  <jug@sad.it>
8268
8269         * lyxfind.C (LyXReplace): we have to check better if the returned
8270         text is not of theLockingInset()->getLockingInset().
8271
8272 2002-07-25  Juergen Vigna  <jug@sad.it>
8273
8274         * lyxfind.C (LyXReplace): don't replace if we don't get the
8275         right LyXText.
8276
8277         * undo_funcs.C (createUndo): remove debugging code.
8278
8279 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8280
8281         * buffer.C (parseSingleLyXformat2Token): Use default placement
8282         when reading old floats.
8283
8284         * FloatList.C (FloatList): Change the default placement of figure
8285         and tables to "tbp".
8286
8287 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * MenuBackend.C: using std::max
8290
8291 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8292
8293         * MenuBackend.C (expandToc):
8294         (expandToc2): code moved from xforms menu frontend. It is now
8295         generic and TOCs are transparent to menu frontends.
8296
8297 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8298
8299         * toc.C (getTocList): protect against buf=0
8300
8301         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8302         Menu as first parameter. Now, this calls itself recursively to
8303         expand a whole tree (this will be useful for TOC handling)
8304         (expandFloatInsert): remove 'wide' version of floats
8305
8306         * MenuBackend.h (submenuname): returns the name of the submenu.
8307         (submenu): returns the submenu itself, provided it has been
8308         created by MenuBackend::expand
8309
8310 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8311
8312         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8313         insets which have noFontChange == true. (bug #172)
8314
8315 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8316
8317         * BufferView_pimpl.C: add connection objects and use them...
8318         (Pimpl): here.
8319
8320 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8321
8322         * MenuBackend.C (expandLastfiles):
8323         (expandDocuments):
8324         (expandFormats):
8325         (expandFloatListInsert):
8326         (expandFloatInsert):
8327         (expand): split expand in parts
8328
8329 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * lyx_gui.C: use lyx_gui::exit()
8332
8333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * LyXAction.C: show the failing pseudo action
8336
8337 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * buffer.C (readFile): Run the lyxconvert script in order to read
8340         old files.
8341
8342 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * LyXAction.C:
8345         * commandtags.h:
8346         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8347
8348 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * LyXAction.C:
8351         * commandtags.h:
8352         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8353
8354 2002-07-22  Herbert Voss  <voss@lyx.org>
8355
8356         * lengthcommon.C:
8357         * lyxlength.[Ch]: add support for the vertical lengths
8358
8359 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * toc.[Ch]: std:: fixes
8362
8363 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8364
8365         * lyxrc.C: do not include lyx_main.h
8366
8367         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8368         for layouts
8369
8370         * lyxrc.C:
8371         * encoding.C:
8372         * bufferlist.C:
8373         * BufferView2.C: include "lyxlex.h"
8374
8375         * tabular.h:
8376         * bufferparams.h: do not #include "lyxlex.h"
8377
8378         * lyxtextclasslist.C (Add): remove method
8379         (classlist): renamed to classlist_
8380
8381         * paragraph_pimpl.C:
8382         * paragraph.C:
8383         * text2.C:
8384         * CutAndPaste.C:
8385         * bufferview_funcs.C:
8386         * bufferlist.C:
8387         * text.C:
8388         * LaTeXFeatures.C:
8389         * buffer.C:
8390         * toc.C (getTocList): use BufferParams::getLyXTextClass
8391
8392         * toc.C (getTocList): use InsetFloat::addToToc
8393
8394         * toc.[Ch]: new files, containing helper functions to handle table
8395         of contents
8396
8397         * lyxfunc.C (dispatch): no need to remove spaces around command
8398         given as a string
8399         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8400         first command of the sequence; it is not very clever, but I do not
8401         have a better idea, actually
8402
8403         * LyXAction.C (LookupFunc): make sure to remove space at the
8404         beginning and end of the command
8405
8406 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * MenuBackend.C (getMenubar): new method: return the menubar of
8409         this menu set
8410         (read): treat differently reading of menu and menubar (in
8411         particular, the menubar has no name now)
8412         (Menu::menubar): remove
8413
8414         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8415         saving is finished
8416
8417 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8418
8419         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8420         a bibitem inset in a RTL paragraph.
8421
8422 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * paragraph_pimpl.C: constify
8425
8426         * BufferView_pimpl.C:
8427         * LaTeX.C:
8428         * lyxfunc.C: fix dispatch in a nicer way
8429
8430 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8431
8432         * lyxfunc.C (dispatch):
8433         * BufferView_pimpl.C:
8434         * BufferView_pimpl.h:
8435         * BufferView.C:
8436         * BufferView.h: rename Dispatch() to dispatch()
8437
8438         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8439
8440         * lyxlayout.C (Read): honor DependsOn tag
8441
8442         * lyxlayout.[Ch] (depends_on): new method
8443
8444         * version.C.in: update lyx_docversion
8445
8446         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8447
8448         * paragraph.C (validate): remove from here...
8449         * paragraph_pimpl.C (validate): ... and move here
8450         (isTextAt): make it const
8451
8452         * buffer.C (getLists): ws cleanup
8453
8454 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8455
8456         * language.C (read): Use iso8859-1 encoding in latex_lang
8457         (this prevents LyX from crashing when using iso10646-1 encoding).
8458
8459 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * text2.C (toggleInset): if cursor is inside an inset, close the
8462         inset and leave cursor _after_ it
8463
8464 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * lyxfunc.C: move minibuffer completion handling out of here
8467
8468 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView_pimpl.C:
8471         * LaTeX.C: fix dispatch calls
8472
8473 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * text.C (drawChars): Fix Arabic text rendering.
8476
8477 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * LyXAction.C:
8480         * commandtags.h:
8481         * lyxfunc.C: remove message-push/pop
8482
8483         * lyxserver.C:
8484         * lyxfunc.h:
8485         * lyxfunc.C: rationalise some code by removing verboseDispatch
8486           in favour of a bool argument to dispatch()
8487
8488 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * lyx_main.C (init): make sure to read symlinks as absolute paths
8491
8492 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8493
8494         * lyxfunc.h:
8495         * lyxfunc.C: no need for commandshortcut to be a member
8496
8497 2002-07-15  André Pönitz <poenitz@gmx.net>
8498
8499         * converter.C: add support for $$s (scripts from lib/scripts dir)
8500         * lyx_main.C: white space
8501
8502 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8503
8504         * bufferlist.C:
8505         * lyxrc.h:
8506         * lyxrc.C: remove second exit confirmation
8507
8508 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * BufferView.h:
8511         * BufferView.C:
8512         * BufferView2.C:
8513         * BufferView_pimpl.h:
8514         * BufferView_pimpl.C:
8515         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8516
8517 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * MenuBackend.C (expand): add numeric shortcuts to document menu
8520
8521         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8522
8523 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * lyxfont.C (setLyXFamily):
8526         (setLyXSeries):
8527         (setLyXShape):
8528         (setLyXSize):
8529         (setLyXMisc):
8530         (lyxRead):
8531         * debug.C (value):
8532         * buffer.C (asciiParagraph): use ascii_lowercase
8533
8534 2002-07-15  Mike Fabian  <mfabian@suse.de>
8535
8536         * lyxlex_pimpl.C (search_kw):
8537         * lyxlex.C (getLongString):
8538         * converter.h (operator<):
8539         * converter.C (operator<):
8540         * buffer.C (parseSingleLyXformat2Token):
8541         (asciiParagraph):
8542         * ToolbarDefaults.C (read):
8543         * MenuBackend.C (checkShortcuts):
8544         (read):
8545         * LColor.C (getFromGUIName):
8546         (getFromLyXName): use the compare_ascii_no_case instead of
8547         compare_no_case, because in turkish, 'i' is not the lowercase
8548         version of 'I', and thus turkish locale breaks parsing of tags.
8549
8550 2002-07-16  Angus Leeming  <leeming@lyx.org>
8551
8552         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8553         now takes a Buffer const & argument.
8554
8555 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8556
8557         * BufferView.C (resize): check there's a buffer to resize
8558
8559 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * lyxfunc.C: remove dead code
8562
8563         * lyxserver.h:
8564         * lyxserver.C: use lyx_guii::set_read_callback
8565
8566 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8567
8568         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8569         an inset in a RTL paragraph.
8570
8571 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * lyxfunc.C: repaint after a font size update
8574
8575 2002-07-15  André Pönitz <poenitz@gmx.net>
8576
8577         * lyxlength.C: inBP should be able to return negative values
8578
8579 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8580
8581         * lyxfunc.C: use lyx_gui::update_fonts()
8582
8583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8584
8585         * lyxfunc.C: use lyx_gui::update_color()
8586
8587 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * bufferlist.C:
8590         * lyxfunc.h:
8591         * lyxfunc.C:
8592         * lyxrc.h:
8593         * lyxrc.C: remove file->new asks for name option, and let
8594           buffer-new take an argument
8595
8596 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * BufferView_pimpl.C: remove unneeded extra repaint()
8599
8600 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * LyXAction.C: allow command-sequence with NoBuffer
8603
8604         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8605
8606 2002-07-10  Angus Leeming  <leeming@lyx.org>
8607
8608         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8609
8610 2002-07-09  Angus Leeming  <leeming@lyx.org>
8611
8612         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8613
8614 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lengthcommon.h: whitespace
8617
8618         * lyxfunc.C: update scrollbar after goto paragraph
8619
8620         * lyxtext.h: factor out page break drawing, and fix it so
8621           page break/added space paints as selected nicely
8622
8623 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * BufferView_pimpl.C: add FIXMEs, clean up a little
8626
8627 2002-07-09  André Pönitz <poenitz@gmx.net>
8628
8629         * lyxfont.[Ch]: support for wasy symbols
8630
8631 2002-07-08  André Pönitz <poenitz@gmx.net>
8632
8633         * BufferView_pimpl.C: apply John's patch for #93.
8634
8635 2002-07-05  Angus Leeming  <leeming@lyx.org>
8636
8637         * BufferView_pimpl.C (buffer): generate previews if desired.
8638
8639         * LColor.h: add "preview" to the color enum.
8640
8641         * LColor.C (LColor): add a corresponding entry to the items array.
8642
8643         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8644         with this buffer.
8645
8646 2002-07-05  Angus Leeming  <leeming@lyx.org>
8647
8648         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8649         The body of the code is now in the method that is passed an ostream &
8650         rather than a file name.
8651         Pass an additional only_preamble parameter, useful for the forthcoming
8652         preview stuff.
8653
8654 2002-07-03  André Pönitz <poenitz@gmx.net>
8655
8656         * lyxfunc.C: simplify getStatus() a bit for math stuff
8657
8658 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8659
8660         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8661
8662 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8663
8664         * text.C (changeRegionCase): do not change case of all the
8665         document when region ends at paragraph end (bug #461)
8666
8667 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8668
8669         * paragraph.C (startTeXParParams):
8670         (endTeXParParams): add \protect when necessary
8671
8672 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * BufferView_pimpl.C (workAreaExpose): remove warning
8675
8676 2002-06-27  Angus Leeming  <leeming@lyx.org>
8677
8678         * Makefile.am: add lyxlayout_ptr_fwd.h.
8679
8680 2002-06-26  André Pönitz <poenitz@gmx.net>
8681
8682         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8683
8684 2002-06-25  Angus Leeming  <leeming@lyx.org>
8685
8686         * lyxfunc.C (dispatch): Comment out the call to
8687         grfx::GCache::changeDisplay. The method no longer exists now that the
8688         pixmap generation part of the graphics loader has been moved into
8689         InsetGraphics.
8690
8691 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8692
8693         * text2.C: layout as layout
8694
8695         * text.C: layout as layout
8696
8697         * tabular.C (OldFormatRead): layout as layout
8698
8699         * paragraph_pimpl.C (TeXDeeper): layout as layout
8700         (realizeFont): layout as layout
8701
8702         * paragraph.C (writeFile): layout as layout
8703         (validate): layout as layout
8704         (getFont): layout as layout
8705         (getLabelFont): layout as layout
8706         (getLayoutFont): layout as layout
8707         (breakParagraph): layout as layout
8708         (stripLeadingSpaces): layout as layout
8709         (getEndLabel): layout as layout
8710         (getMaxDepthAfter): layout as layout
8711         (applyLayout): layout as layout
8712         (TeXOnePar): layout as layout
8713         (simpleTeXOnePar): layout as layout
8714         (TeXEnvironment): layout as layout
8715         (layout): layout as layout
8716         (layout): layout as layout
8717
8718         * lyxtextclass.C (compare_name): new functor to work with
8719         shared_ptr, layout as layout
8720         (Read): layout as layout
8721         (hasLayout): layout as layout
8722         (operator): layout as layout
8723         (delete_layout): layout as layout
8724         (defaultLayout): layout as layout
8725
8726         * lyxlayout_ptr_fwd.h: new file
8727
8728         * lyxlayout.C (Read): layout as layout
8729
8730         * lyx_cb.C (MenuInsertLabel): layout as layout
8731
8732         * bufferlist.C (newFile): layout as layout
8733
8734         * buffer.C (readLyXformat2): layout as layout
8735         (parseSingleLyXformat2Token): layout as layout
8736         (insertStringAsLines): layout as layout
8737         (asciiParagraph): layout as layout
8738         (latexParagraphs): layout as layout
8739         (makeLinuxDocFile): layout as layout
8740         (simpleLinuxDocOnePar): layout as layout
8741         (makeDocBookFile): layout as layout
8742         (simpleDocBookOnePar): layout as layout
8743         (getLists): layout as layout
8744
8745         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8746
8747         * CutAndPaste.C (cutSelection): layout as layout
8748         (pasteSelection): layout as layout
8749         (SwitchLayoutsBetweenClasses): layout as layout
8750
8751         * BufferView_pimpl.C (Dispatch): layout as layout
8752         (smartQuote): layout as layout
8753
8754         * BufferView2.C (unlockInset): layout as layout
8755
8756 2002-06-24  André Pönitz <poenitz@gmx.net>
8757
8758         * lyxfunc.C: fix #487
8759
8760 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8761
8762         * lyxrc.h:
8763         * lyxrc.C:
8764         * lyxfunc.C: remove display_shortcuts, show_banner
8765
8766 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * Buffer_pimpl.C: oops, update on resize
8769
8770 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * buffer.C:
8773         * converter.C:
8774         * exporter.C:
8775         * lyxfunc.C:
8776         * BufferView.h:
8777         * BufferView.C: use repaint()
8778
8779         * BufferView_pimpl.h:
8780         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8781           as it's a clearer description. Remove superfluous
8782           redraws.
8783
8784 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * text.C: fix bug 488. Not ideal, but getting
8787           getWord() to work properly for the insets that
8788           matter is more difficult ...
8789
8790 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * BufferView_pimpl.C:
8793         * LyXAction.C:
8794         * commandtags.h:
8795         * lyxfunc.C: remove the six million index lyxfuncs to just
8796           one, and DTRT (bug 458)
8797
8798 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * BufferView.h:
8801         * BufferView.C:
8802         * BufferView_pimpl.h:
8803         * BufferView_pimpl.C: clean up resize() stuff,
8804           and unnecessary updateScreen()s
8805
8806 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * BufferView.h:
8809         * BufferView.C:
8810         * BufferView_pimpl.h:
8811         * BufferView_pimpl.C:
8812         * lyxfind.h:
8813         * lyxfind.C:
8814         * minibuffer.C: remove focus management of workarea,
8815           not needed. Use screen's greyOut()
8816
8817 2002-06-17  Herbert Voss  <voss@lyx.org>
8818
8819         * converter.C: (convert) do not post a message, when converting
8820         fails, let the calling function decide what to do in this case
8821
8822 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8823
8824         * lyxfunc.C: tidy up a little
8825
8826 2002-06-16    <alstrup@diku.dk>
8827
8828         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8829         Got rid of FORMS_H_LOCATION include. Now we are
8830         GUII.
8831
8832 2002-06-15  LyX Development team  <lyx@rilke>
8833
8834         * buffer.[Ch] (sgmlOpenTag):
8835         (sgmlCloseTag): Added support for avoiding pernicious mixed
8836         content. Return number of lines written.
8837
8838         (makeLinuxDocFile):
8839         (makeDocBookFile): Fixed calls to sgml*Tag.
8840         Simple white space clean.
8841
8842         (simpleDocBookOnePar): Simple white space clean.
8843
8844         * tabular.[Ch] (docBook): Renamed to docbook and got another
8845         argument to related with the pernicious mixed content.
8846
8847         (docbookRow): Fixed calls for docbook inset method.
8848
8849 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8850
8851         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8852         so it's X11 independent.
8853
8854         * kb*.[Ch]: ditto.
8855
8856         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8857
8858 2002-06-15  Lyx Development team  <lyx@electronia>
8859
8860         * intl.h: Renamed getTrans to getTransManager.
8861
8862 2002-06-14  Angus Leeming  <leeming@lyx.org>
8863
8864         * Makefile.am: nuke forgotten stl_string_fwd.h.
8865
8866 2002-06-12  Angus Leeming  <leeming@lyx.org>
8867
8868         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8869
8870 2002-06-13  Angus Leeming  <leeming@lyx.org>
8871
8872         * LaTeX.C:
8873         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8874
8875 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8876
8877         * kbmap.C (getiso): add support for cyrillic and greek
8878
8879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * BufferView.h:
8882         * BufferView.C:
8883         * BufferView_pimpl.h:
8884         * BufferView_pimpl.C: move bogus scrolling logic
8885           to xforms
8886
8887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8888
8889         * lyxfunc.C:
8890         * BufferView_pimpl.C: view->resize() change
8891
8892 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * BufferView_pimpl.C: topCursorVisible
8895           prototype change
8896
8897 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * Makefile.am:
8900         * lyx_gui.h:
8901         * lyx_gui.C: move to frontends/
8902
8903         * main.C:
8904         * lyx_main.h:
8905         * lyx_main.C: changes from above
8906
8907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * intl.C:
8910         * intl.h:
8911         * kbmap.C:
8912         * kbsequence.C:
8913         * lyx_cb.C:
8914         * lyx_main.C: minor tidy
8915
8916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8917
8918         * BufferView_pimpl.h:
8919         * BufferView_pimpl.C:
8920         * BufferView.h:
8921         * BufferView.C: make painter() const,
8922           remove dead code
8923
8924         * BufferView2.C: use screen() accessor
8925
8926         * lyx_main.h:
8927         * lyx_main.C: some minor cleanup
8928
8929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * BufferView_pimpl.h:
8932         * BufferView_pimpl.C: remove enter/leaveView,
8933           use workHeight()
8934
8935 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * BufferView.h:
8938         * BufferView.C:
8939         * BufferView2.C:
8940         * BufferView_pimpl.h:
8941         * BufferView_pimpl.C: only construct screen once,
8942           rename
8943
8944         * lyxrc.C: remove pointless comment
8945
8946 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * BufferView.h:
8949         * BufferView.C: remove active() and belowMouse()
8950
8951         * BufferView_pimpl.h:
8952         * BufferView_pimpl.C: use workarea() not workarea_,
8953           and make it use a scoped_ptr instead
8954
8955 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8956
8957         * lyx_gui.C: add debug message on BadWindow
8958
8959 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8960
8961         * sp_spell.C: fdopen is not part of the C++ standard.
8962
8963         * paragraph.C (InsetIterator): use >= instead of ==
8964
8965 2002-06-07  Angus Leeming  <leeming@lyx.org>
8966
8967         Fixes needed to compile with Compaq cxx 6.5.
8968         * BufferView_pimpl.C:
8969         * DepTable.C:
8970         * buffer.C:
8971         * converter.C:
8972         * encoding.C:
8973         * lyx_gui.C:
8974         * lyx_main.C:
8975         * lyxtextclasslist.C:
8976         * minibuffer.C:
8977         * sp_spell.C:
8978         * tabular_funcs.C:
8979         * vc-backend.C:
8980         all c-library variables have been moved into namespace std. Wrap
8981         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8982
8983         * lyxlength.C:
8984         * tabular-old.C:
8985         * tabular.C:
8986         Add a using std::abs declaration.
8987
8988         * kbmap.h (modifier_pair):
8989         * paragraph.h (InsetTable, InsetList):
8990         * lyxfont.h (FontBits):
8991         type definition made public.
8992
8993         * bufferlist.C (emergencyWriteAll): the compiler complains that
8994         there is more than one possible lyx::class_fun template to choose from.
8995         I re-named the void specialisation as lyx::void_class_fun.
8996
8997         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8998
8999         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9000         the compiler is is unable to find tostr in write_attribute.
9001
9002 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * buffer.C (sgmlError): hide #warning
9005
9006 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * xtl/*: get rid of xtl, which is not in use anyway
9009
9010         * LyXAction.C (init):
9011         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9012         were unimplemented xtl experimentation
9013
9014 2002-06-04  André Pönitz <poenitz@gmx.net>
9015
9016         * lyxfunc.C: disable array operation on simple formulae
9017
9018 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * converter.C: constify a bit
9021
9022 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * lyx_gui.C: check xforms version correctly
9025
9026 2002-04-30  Herbert Voss  <voss@lyx.org>
9027
9028         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9029         "keep" option
9030
9031 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9034           attempt to register it with a VCS)
9035
9036 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * lyx_main.C (init): honor variables LYX_DIR_13x and
9039         LYX_USERDIR_13x
9040
9041 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9042
9043         * buffer.h:
9044         * buffer.C:
9045         * lyx_main.C: fix a crash on bad command line,
9046           and give a useful exit status on error
9047
9048         * lyxfunc.C (doImport): allow -i lyx to work
9049
9050 2002-03-30  André Pönitz <poenitz@gmx.net>
9051
9052         * lyxfunc.C: mathed font changes
9053
9054 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * LaTeX.C:
9057         * importer.h:
9058         * importer.C:
9059         * lyx_sty.h:
9060         * lyx_sty.C:
9061         * lyxlex.C:
9062         * lyxrow.h:
9063         * lyxtext.h:
9064         * paragraph.h:
9065         * paragraph.C:
9066         * texrow.h:
9067         * texrow.C:
9068         * text.C:
9069         * trans_mgr.h: srcdocs, and some minor cleanups
9070
9071 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9072
9073         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9074         call getFont all the time)
9075
9076 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9077
9078         * switch from SigC signals to boost::signals
9079
9080 2002-05-29  André Pönitz <poenitz@gmx.net>
9081
9082         * paragraph_pimpl.C (getChar): don't call size() too often...
9083
9084 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9085
9086         * paragraph_pimpl.C (insertChar): do not try to update tables when
9087         appending (pos == size())
9088
9089         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9090         in order to reduce drastically the number of comparisons needed to
9091         parse a large document
9092
9093 2002-05-29  André Pönitz <poenitz@gmx.net>
9094
9095         * text.C:
9096         * text2.C:
9097         * lyxtextclass.C:
9098         * sp_pspell.h:
9099         * textclasslist.[Ch]:
9100         * sp_ispell.h: whitespace change
9101
9102 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9105         lyxaction directly now.
9106
9107 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * trans.C:
9110         * lyxfont.C:
9111         * lyxvc.C: remove unused headers
9112
9113 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * Makefile.am:
9116         * buffer.h:
9117         * undostack.h:
9118         * undostack.C:
9119         * undo_funcs.h:
9120         * undo_funcs.C: some cleanups. Use shared_ptr
9121           and a template for the undo stacks.
9122
9123 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * BufferView_pimpl.h:
9126         * BufferView_pimpl.C:
9127         * kbmap.h:
9128         * kbmap.C:
9129         * kbsequence.h:
9130         * kbsequence.C:
9131         * lyxfunc.h:
9132         * lyxfunc.C:
9133         * text2.C: use key_state/mouse_state
9134
9135 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9138         and LSubstring
9139
9140         * chset.C: change include order
9141         (loadFile): use boost regex and get rid of LRegex and LSubstring
9142
9143         * Makefile.am (BOOST_LIBS): new variable
9144         (lyx_LDADD): use it
9145
9146         * LaTeX.C: change include order.
9147         (scanAuxFile): use boost regex and get rid of LRegex and
9148         LSubstring
9149         (deplog): ditto
9150
9151 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * ColorHandler.h:
9154         * ColorHandler.C:
9155         * FontInfo.h:
9156         * FontInfo.C: moved to frontends/xforms/
9157
9158         * FontLoader.h:
9159         * FontLoader.C: moved into frontends for GUIIzation
9160
9161         * Makefile.am:
9162         * lyx_gui.C:
9163         * lyxfont.C:
9164         * lyxfunc.C: changes from above
9165
9166 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * LColor.C: remove spurious X include
9169
9170         * BufferView_pimpl.C:
9171         * Makefile.am:
9172         * font.h:
9173         * font.C:
9174         * text.C:
9175         * text2.C: move font metrics to frontends/
9176
9177 2002-05-24  Juergen Vigna  <jug@sad.it>
9178
9179         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9180         setting the undo_cursor.
9181
9182         * ParagraphParameters.h: include local includes first.
9183
9184 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * BufferView_pimpl.C:
9187         * BufferView_pimpl.h:
9188         * Makefile.am:
9189         * WorkArea.h:
9190         * WorkArea.C:
9191         * screen.C: move WorkArea into frontends/
9192
9193         * lyxscreen.h:
9194         * screen.C:
9195         * text.C:
9196         * BufferView.C:
9197         * BufferView2.C: move LyXScreen into frontends/
9198
9199         * lyxlookup.h:
9200         * lyxlookup.C:
9201         * lyx_gui.C: move lyxlookup into frontends/xforms/
9202
9203 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * BufferView2.C:
9206         * BufferView_pimpl.C:
9207         * FontLoader.C:
9208         * LyXView.h:
9209         * LyXView.C:
9210         * Makefile.am:
9211         * WorkArea.C:
9212         * XFormsView.h:
9213         * XFormsView.C:
9214         * buffer.C:
9215         * bufferlist.C:
9216         * bufferview_funcs.C:
9217         * converter.C:
9218         * importer.C:
9219         * lyx_cb.C:
9220         * lyx_gui.C:
9221         * lyx_main.C:
9222         * lyx_find.C:
9223         * lyxfunc.C:
9224         * lyxvc.C:
9225         * minibuffer.C:
9226         * text.C:
9227         * text2.C:
9228         * trans.C:
9229         * vc-backend.C: move LyX/XFormsView into frontends/
9230
9231 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9232
9233         * Makefile.am:
9234         * PainterBase.C:
9235         * PainterBase.h:
9236         * Painter.C:
9237         * Painter.h:
9238         * WorkArea.C:
9239         * WorkArea.h:
9240         * screen.C:
9241         * tabular.C:
9242         * text.C:
9243         * text2.C: move Painter to frontends/
9244
9245 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9246
9247         * buffer.C: comment out some some code that depend upon lyx_format
9248         < 220
9249
9250         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9251         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9252
9253         * buffer.h (NO_COMPABILITY): turn off compability
9254
9255         * ColorHandler.C: include scoped_array.hpp
9256
9257         * font.C: Use more specific smart_ptr header.
9258         * Painter.C: ditto
9259         * gettext.C: ditto
9260         * ShareContainer.h: ditto
9261         * lyx_main.h: ditto
9262         * kbmap.h: ditto
9263         * FontInfo.h: ditto
9264         * BufferView_pimpl.h: ditto
9265         * ColorHandler.h: ditto
9266
9267         * kbmap.C (defkey): change call to shared_ptr::reset
9268
9269 2002-05-21  Juergen Vigna  <jug@sad.it>
9270
9271         * buffer.C (insertErtContents): fix to insert ert asis if it is
9272         non empty. Skip it completely if it contains only whitespaces.
9273
9274 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * BufferView_pimpl.C:
9277         * BufferView2.C: clear selection on paste (bug 393)
9278
9279 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9280
9281         * DepTable.C: include ctime
9282
9283 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9284
9285         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9286
9287 2002-05-14  Juergen Vigna  <jug@sad.it>
9288
9289         * text.C (breakParagraph): fixed function to honor the keepempty
9290         layout in the right maner and also to permit the right breaking
9291         algorithm on empty or non empyt keepempty paragraphs.
9292
9293         * paragraph.C (breakParagraph): we have to check also if the par
9294         is really empty (!size()) for isempty otherwise we do the wrong
9295         paragraph break.
9296
9297 2002-05-10  Juergen Vigna  <jug@sad.it>
9298
9299         * buffer.[Ch] : The following are only changes to the ert
9300         compatibility read reading old LaTeX layout and font stuff and
9301         convert it to ERTInsets.
9302
9303         * buffer.h: added isErtInset().
9304
9305         * buffer.C (struct ErtComp): add a fromlayout bool to check
9306         if we're inside a LaTeX layout.
9307         (isErtInset): new helper function.
9308         (insertErtContents): look for other ert insets before this one
9309         and insert the contents there, so that we don't have subsequent
9310         ERT insets with nothing between them. This way we create only one
9311         inset with multiple paragraphs. Also check if we don't insert only
9312         spaces ' ' as they are ignored anyway afterwards in the .tex file
9313         so if we have only spaces we will ignore this latex part in the
9314         new file.
9315         (parseSingleLyXformat2Token \\layout): better compatibility when
9316         reading layout-latex stuff.
9317         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9318         language tag.
9319         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9320         stuff after reading the inset only get the information back from
9321         the stack.
9322
9323 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9324
9325         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9326
9327         * LaTeXFeatures.C (getBabelOptions): New method.
9328
9329 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9330
9331         * BufferView_pimpl.C (Dispatch): work around missing argument for
9332         'layout'
9333
9334 2002-05-08  Juergen Vigna  <jug@sad.it>
9335
9336         * text.C (leftMargin): handle paragraph leftindent.
9337
9338         * paragraph.C (writeFile): write the new \\leftindent tag.
9339         (validate): handle leftindent code.
9340         (TeXEnvironment): handle paragraphleftindent code again.
9341
9342         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9343
9344         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9345         for paragrap_extra indent code and new token \\leftindent.
9346         (latexParagraphs): handle the leftindent as environment.
9347
9348         * ParameterStruct.h: added leftindent support.
9349
9350         * ParagraphParameters.C (leftIndent): added support functions for
9351         the paragraph left indent.
9352
9353         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9354         more appropriate.
9355
9356 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9357
9358         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9359         inside insetERT.
9360
9361         * text.C (computeBidiTables): No bidi in insetERT.
9362
9363         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9364         in RTL documents.
9365
9366 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9367
9368         * version.C.in: pre 5
9369
9370 2002-05-02  José Matos  <jamatos@fep.up.pt>
9371         * buffer.C (makeDocBookFile): white space changes, add newline to
9372         command styles.
9373         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9374
9375         * tabular.C (docBook): fix typo.
9376
9377 2002-05-03  Juergen Vigna  <jug@sad.it>
9378
9379         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9380         change in LyXText as we can not be sure it was not freed.
9381         (drawOneRow): remove unused code.
9382
9383         * text.C (drawInset): redo the calculation of the need_break_row as
9384         it could have a row which was already freed.
9385         (draw): look at the return value of drawInset and return false if
9386         it also returned false.
9387         (paintRowText): look at the return value of draw and return false if
9388         it also returned false.
9389
9390         * lyxtext.h: added bool return type to drawInset() and draw() so that
9391         if we have a change in the row so that the rowbreak has to be redone
9392         we abort drawing as it will be called again.
9393
9394 2002-05-02  Juergen Vigna  <jug@sad.it>
9395
9396         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9397         a change in the maintext also if we're inside an inset.
9398         (Dispatch): set the cursor again after a break line and after the
9399         screen has been updated as it could be we're in a different row.
9400
9401         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9402         to set the cursor behind the pargraph with > size().
9403         (setCursor): check also for the same paragraph when checking where
9404         to put the cursor if we have a NFR inset.
9405
9406         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9407         parts of layout read further up as it still was in the wrong
9408         position.
9409
9410 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9411
9412         * screen.C (drawFromTo): change sine fullRebreak always return
9413         true.
9414
9415         * buffer.C (parseSingleLyXformat2Token): reindent some
9416
9417         * BufferView_pimpl.C (update): change since fullRebreak always
9418         return true.
9419         (Dispatch): git rid of the last hardcoded "Standard"s.
9420
9421 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9422
9423         * text2.[Ch] (fullRebreak): make it return void now that we always
9424         returned true.
9425
9426 2002-04-30  Juergen Vigna  <jug@sad.it>
9427
9428         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9429         ert compatibility check for "latex" layout.
9430
9431 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9432
9433         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9434         minipages: use col% instead of p%, and also use the current font.
9435         (makeLaTeXFile): Fix use babel condition.
9436         (parseSingleLyXformat2Token): Correct font when reading old floats.
9437
9438 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9439
9440         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9441         inserting list of floats.
9442
9443 2002-04-25  Herbert Voss  <voss@lyx.org>
9444
9445         * MenuBackend.C (expand): don't add the graphics extensions to the
9446         export menu
9447
9448 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449
9450         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9451         non-existing layout, do not complain if it was the default layout
9452         of the original class (bug #342)
9453
9454 2002-04-24  Juergen Vigna  <jug@sad.it>
9455
9456         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9457         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9458
9459 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9460
9461         * buffer.C (getBibkeyList): If using \bibliography, return the
9462         option field with the reference itself. Enables us to provide natbib
9463         support when using \bibliography.
9464
9465 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9466
9467         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9468
9469         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9470         natbib is provided by the LaTeX class.
9471
9472 2002-04-23  Juergen Vigna  <jug@sad.it>
9473
9474         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9475         Wakeup functions.
9476
9477         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9478
9479 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9482
9483         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9484         ensuremath around textordmasculine, textordfeminine and
9485         textdegree.
9486
9487 2002-04-19  Juergen Vigna  <jug@sad.it>
9488
9489         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9490         reinitializing the buffer otherwise row-dimensions may be wrong.
9491         (update): reset also the selection cursors if they do exits otherwise
9492         their x/y positions may be wrong.
9493
9494         * text2.C (cursorDown): don't enter the inset if we came from a row
9495         above and are one row over the inset.
9496
9497         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9498         really leaving an inset.
9499
9500 2002-04-18  Juergen Vigna  <jug@sad.it>
9501
9502         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9503         of the selected paragraph does not have the selected layout also if
9504         the last one had!
9505
9506         * text2.C (setLayout): fixed bug which did not change last selected
9507         paragraph.
9508
9509         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9510         changed the read and substituted \\end_float with \\end_inset!
9511
9512         * BufferView_pimpl.C (cursorPrevious):
9513         (cursorNext): fixed to make it work with rows heigher than the work
9514         area without moving the cursor only the draw of the row.
9515         (workAreaMotionNotify): fix jumping over high rows.
9516
9517 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9518
9519         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9520         Ressler.
9521
9522 2002-04-16  Juergen Vigna  <jug@sad.it>
9523
9524         * text2.C (setCursor): set also the irow().
9525         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9526         (cursorUp):
9527         (cursorDown): support for locking an inset if the x_fix value goes
9528         inside it. That way I can transverse insets too with cursor up/down.
9529
9530         * lyxrow.h: added irow helper function same as other (i) functions.
9531
9532         * BufferView_pimpl.C (cursorPrevious):
9533         (cursorNext): fixed for insets!
9534
9535 2002-04-15  Juergen Vigna  <jug@sad.it>
9536
9537         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9538         position otherwise it is wrong in some cases.
9539
9540         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9541         inside the inset before the call.
9542
9543 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9544
9545         * buffer.[Ch] (getBibkeyList): make it const.
9546
9547 2002-04-12  Juergen Vigna  <jug@sad.it>
9548
9549         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9550
9551         * text2.C (getCursorX): new helper function
9552         (setCursor): compute also ix_
9553         (setCursorFromCoordinates): set also ix.
9554
9555         * lyxcursor.h: added ix_ and helper functions.
9556
9557         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9558
9559         * buffer.C (insertStringAsLines): dont break paragraph if the this
9560         paragraph is inside an inset which does not permit it!
9561
9562         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9563         also with no chars on this paragraph.
9564         (paintRowText): only paint stuff if it's inside the workarea!
9565
9566         * paragraph.C (breakParagraph): honor keepempty flag and break the
9567         paragraph always below not above.
9568
9569         * BufferView2.C (unlockInset): update the paragraph layout on inset
9570         unlock as we changed paragraph in such a case.
9571
9572         * lyxfind.C (LyXFind): clear the former selection if not found!
9573
9574         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9575         again called in insertChar().
9576
9577         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9578         an inset which uses the whole row!
9579         (rightMargin): ditto.
9580         (insertChar): force a rebreak if we inserted an inset!
9581
9582 2002-03-28  Herbert Voss  <voss@lyx.org>
9583
9584         * lyxlength.[Ch]: add inBP() to get the right PS-point
9585         units (BigPoint). With inPixels we have rounding errors
9586
9587 2002-04-11  Juergen Vigna  <jug@sad.it>
9588
9589         * text2.C (setCursorFromCoordinates): set iy to the right value.
9590         (setCursor): add check if row->previous exists!
9591
9592         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9593         an old float_type as this was the case in the old code!
9594
9595         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9596
9597         * BufferView2.C (showLockedInsetCursor): use iy
9598         (fitLockedInsetCursor): ditto
9599
9600         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9601         locked insets as there we have the right value now.
9602
9603         * lyxcursor.C: added iy_ variable and iy functions to set to the
9604         baseline of cursor-y of the locked inset.
9605
9606         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9607         (setCursor): fixed for insets which need a full row.
9608
9609         * text.C (rowLastPrintable): don't ignore the last space when before
9610         an inset which needs a full row.
9611         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9612         as last character of a row when before a inset which needs a full row.
9613
9614 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * version.C.in: update date
9617
9618         * text2.C (fullRebreak): try to always return true and see what
9619         happens...
9620
9621 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * MenuBackend.C (expand): use Floating::listName
9624
9625         * FloatList.C (FloatList): add listName argument to the built-in
9626         floats
9627
9628         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9629         text associated with the float.
9630
9631 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9634
9635 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9636
9637         * ShareContainer.h: add a couple of missing typenames.
9638
9639 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9640
9641         * lyxrc.C (getDescription): use _() correctly rather than N_().
9642
9643 2002-03-28  Herbert Voss  <voss@lyx.org>
9644
9645         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9646         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9647
9648 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9649
9650         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9651         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9652
9653 2002-03-29  Juergen Vigna  <jug@sad.it>
9654
9655         * lyxfunc.C (dispatch): add a missing fitCursor call.
9656
9657         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9658         it was scrolled by a cursor move, so return the bool status.
9659
9660         * BufferView.C (fitCursor): return the bool flag also to the outside
9661         world as this is needed.
9662
9663         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9664
9665         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9666         call the edit() as it is not needed (and wrong) IMO.
9667         (workAreaButtonPress): set the screen_first variable before evt.
9668         unlock the inset as this may change screen_first and then we have
9669         a wrong y position for the click!
9670
9671 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * MenuBackend.C (expand): another translation that I missed
9674
9675 2002-03-28  Juergen Vigna  <jug@sad.it>
9676
9677         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9678
9679         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9680
9681 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9682
9683         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9684
9685         * MenuBackend.C (expand): fix export/view/update when there is no
9686         document open.
9687
9688 2002-03-27  Herbert Voss  <voss@lyx.org>
9689
9690         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9691         and text%
9692
9693 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * bufferview_funcs.C (currentState): only show paragraph number
9696         for is DEVEL_VERSION is set.
9697
9698         * lyxfunc.C (dispatch): put warning in INFO channel
9699
9700         * MenuBackend.C (expand): translate the name of floats
9701
9702         * FloatList.C (FloatList): mark the float names for translation
9703
9704         * converter.C (convert): use LibScriptSearch
9705
9706 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * MenuBackend.C (defaults): fix default menu (we might as well get
9709         rid of it...)
9710
9711 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9714         directory.
9715
9716 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9717
9718         * lyxvc.C: reorder includes.
9719
9720 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9723           properly
9724
9725 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * CutAndPaste.C: change layouts earlier on paste
9728           to avoid crashing when calling getFont()
9729
9730 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9731
9732         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9733         irritating #error.
9734
9735 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * WorkArea.C: remove 'Pending' debug message.
9738
9739         * most files: ws cleanup
9740
9741         * buffer.[Ch]: ws changes
9742
9743         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9744
9745 2002-03-21  Juergen Vigna  <jug@sad.it>
9746
9747         * tabular.C (SetMultiColumn): collapse also the contents of the
9748         cells and set the last border right. Added a Buffer const * param.
9749
9750 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9751
9752         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9753         linking or not.
9754
9755 2002-03-19  Juergen Vigna  <jug@sad.it>
9756
9757         * text2.C (clearSelection): reset also xsel_cache.
9758
9759         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9760         where it needs to be called (John tells us to do so too :)
9761         (selectionLost): reset sel_cache.
9762
9763         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9764
9765 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * text2.C (setCursorIntern): put debuging code in INSETS channel
9768
9769 2002-03-19  André Pönitz <poenitz@gmx.net>
9770
9771         * lyxfunc.C: tiny whitespace change
9772
9773 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * ToolbarDefaults.C (init):
9776         * LyXAction.C (init):
9777         * commandtags.h:
9778         * BufferView_pimpl.C (Dispatch):
9779         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9780
9781 2002-03-19  Allan Rae  <rae@lyx.org>
9782
9783         * exporter.C (Export): removeAutoInsets before doing anything else.
9784         While I've just introduced a dependency on BufferView this really is
9785         the best place to clean the buffer otherwise you need to cleanup in
9786         a dozen places before calling export or cleanup in a dozen functions
9787         that export calls.
9788
9789         * converter.C (runLaTeX):
9790         (scanLog): Better handling of removeAutoInsets and screen updates.
9791
9792         * lyxfunc.C (dispatch): small whitespace changes
9793
9794 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9795
9796         * WorkArea.C (C_WorkAreaEvent): return a value.
9797         (event_cb): return 1 if we handled the event, 0 otherwise.
9798
9799         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9800
9801 2002-03-18  Juergen Vigna  <jug@sad.it>
9802
9803         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9804         (GetAdditionalWidth): ditto.
9805         (RightLine): ditto.
9806         (LeftLine): ditto.
9807
9808         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9809         inset if we're there actually (probably not used right now but this
9810         is the direction to go for unifying code).
9811         (paste): disable code to clear the selection.
9812
9813         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9814         inside an InsetText and move the check further up as it is in the
9815         wrong place.
9816
9817         * text2.C (pasteSelection): set a selection over the pasted text.
9818
9819 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9820
9821         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9822         and libgraphics to build on Cygwin.
9823
9824 2002-03-15  Juergen Vigna  <jug@sad.it>
9825
9826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9827         inserting an Inset into the paragraph. I know this is not the best
9828         fix but we already use current_view in CutAndPaste so we will remove
9829         all of it's using at the same time.
9830
9831         * buffer.C (sgmlError): deactivated function till it is rewritten in
9832         the right mode, now it can create problems.
9833
9834         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9835         before accessing it.
9836
9837 2002-03-14  Juergen Vigna  <jug@sad.it>
9838
9839         * undo_funcs.C (textHandleUndo): do the right thing when updating
9840         the inset after the undo/redo.
9841
9842         * text2.C (setCursor): just some testcode for #44 not ready yet.
9843
9844         * undo_funcs.C (textHandleUndo): set the next() and previous()
9845         pointers of the paragraph to 0 before deleting otherwise we have
9846         problems with the Paragraph::[destructor].
9847
9848         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9849         on a paragraph insertion.
9850
9851 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9852
9853         * buffer.C (asciiParagraph): use += operator for char append to
9854         string.
9855
9856         * paragraph.C (getFontSettings): compare >= not just >
9857         (highestFontInRange): ditto
9858         (setFont): ditto
9859
9860 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * paragraph.C: change several algorithm to be more appripriate for
9863         the problem domain. This is lookip in FontList and in the InsetList.
9864
9865 2002-03-13  André Pönitz <poenitz@gmx.net>
9866
9867         * commandtags.h:
9868         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9869
9870 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * commandtags.h:
9873         * LyXAction.C:
9874         * lyxfunc.C:
9875         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9876
9877 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * Painter.C (display): anon helper function, adjust code for this
9880         change.
9881         (pixmap): remove function.
9882
9883         * Painter.h: remove private display variable.
9884
9885         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9886
9887 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9888
9889         * WorkArea.[Ch]: remove figinset_canvas cruft.
9890
9891 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * lyxtextclass.C (operator): add one item cache optimization.
9894
9895         * bufferlist.h: doxy changes
9896
9897         * bufferlist.C: ws changes
9898
9899         * DepTable.[Ch] (ext_exist): place const in the right spot.
9900
9901         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9902         call resizeInsets.
9903         (workAreaExpose): call resizeInsets when the with BufferView changes.
9904         (Dispatch): adjust for protectedBlank removal
9905         (specialChar): call updateInset if the insert went ok.
9906
9907         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9908         specialChar instead.
9909
9910         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9911
9912         * BufferView.h: doxy change
9913
9914         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9915
9916         * lyxtextclass.C (operator[]): remove non-const version
9917         (defaultLayout): remove non-const version
9918
9919 2002-03-12  Juergen Vigna  <jug@sad.it>
9920
9921         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9922         did resize the LyXText too.
9923
9924         * buffer.C (readLyXformat2): set layout information on newly allocated
9925         paragraphs.
9926
9927         * tabular.C (OldFormatRead): set layout information on the paragraph.
9928
9929 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9930
9931         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9932
9933 2002-03-11  Juergen Vigna  <jug@sad.it>
9934
9935         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9936         plainly wrong.
9937         (resizeCurrentBuffer): force also the insets to resize themselfes.
9938         (moveCursorUpdate): fixed up for InsetText.
9939
9940 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9941
9942         * commandtags.h:
9943         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9944         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9945         value of Dialogs::tooltipsEnabled().
9946         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9947
9948 2002-03-08  Juergen Vigna  <jug@sad.it>
9949
9950         * BufferView_pimpl.C (updateInset): update inset inside inset also
9951         if it isn't inside theLockingInset().
9952
9953 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * buffer.C (asciiParagraph): redo some of the word and line length
9956         handling.
9957         (getLists): look for Caption instead of caption.
9958
9959 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * buffer.C (Buffer): initialize niceFile to true
9962         (makeLaTeXFile):
9963         (makeLinuxDocFile):
9964         (makeDocBookFile): make sure niceFile is true on exit
9965
9966 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967
9968         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9969
9970 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9971
9972         * LyXSendto.C: remove.
9973         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9974         * lyx_gui.C: remove now-redundant comment.
9975         * ColorHandler.h: remove forward declaration of class WorkArea.
9976         * lyxfunc.C: remove #include "WorkArea.h".
9977
9978 2002-03-07  Juergen Vigna  <jug@sad.it>
9979
9980         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9981         got moved away with the DEPM and also set the inset_owner always
9982         right which before could have been omitted.
9983
9984 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9987         wanted layout is not found.
9988
9989 2002-03-07  Juergen Vigna  <jug@sad.it>
9990
9991         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9992
9993 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9994
9995         * paragraph.C (breakParagraph): use default layout not layout of
9996         prev paragraph.
9997         (Paragraph): clear ParagraphParameters.
9998
9999 2002-03-06  Juergen Vigna  <jug@sad.it>
10000
10001         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10002         otherwise it would not be a valid lenght. Fixed a special case in
10003         the minipage compatibility read where we end the document with a
10004         minipage.
10005
10006         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10007         was set as it could be 0 for InsetTexts first entry.
10008
10009 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10010
10011         * paragraph.C (writeFile): if layout is empty write out
10012         defaultLayoutName().
10013
10014         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10015         file without named layout we set layout to defaultLayoutName().
10016
10017 2002-03-06  Juergen Vigna  <jug@sad.it>
10018
10019         * CutAndPaste.C (copySelection): set layout for new paragraph.
10020
10021         * text.C (prepareToPrint): leave ERT inset left aligned
10022         (leftMargin): don't indent paragraphs inside ERT insets
10023
10024 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10025
10026         * paragraph.C (breakParagraph): dont call clear do the work manually
10027
10028         * paragraph.[Ch] (clear): remove function
10029
10030 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * paragraph.C (Paragraph): dont call clear, the work has already
10033         been done.
10034
10035         * lyxtextclass.C (operator): assert if n is empty
10036
10037         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10038         work manually instead.
10039
10040 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * BufferView_pimpl.C: protect selectionLost against text == 0
10043
10044 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10045
10046         * text.C (breakParagraph): fix a setting layout to '0' problem.
10047
10048 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10049
10050         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10051         final location of file, for the included files, and graphics.
10052
10053 2002-03-05  Juergen Vigna  <jug@sad.it>
10054
10055         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10056
10057 2002-03-04  Juergen Vigna  <jug@sad.it>
10058
10059         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10060
10061         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10062         last column of multicolumn cells.
10063         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10064
10065 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10066
10067         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10068         file if it doesn't go to a temporary file.
10069
10070         * buffer.C (sgmlOpenTag):
10071         (sgmlCloseTag):  remove extra newline insertion.
10072
10073 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * text.C (getRowNearY): comment out debug msg
10076
10077 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * text2.C: first -> first_y
10080
10081         * text.C (getRowNearY): add some attemts at a possible
10082         optimization, not working.
10083
10084         * tabular.[Ch]: add BufferParams to several function so that newly
10085         created paragraph can be initialized to he default layotu for the
10086         buffers textclass.
10087
10088         * tabular-old.C (ReadOld): add buf->params to call of Init
10089
10090         * screen.C: rename text->first to text->first_y
10091
10092         * paragraph.C (breakParagraph): always set layout in the broken
10093         paragraph
10094
10095         * lyxtextclass.C (Read): remove lowercase
10096         (hasLayout): ditto
10097         (operator): ditto
10098         (delete_layout): ditto
10099
10100         * lyxtext.h: rename first -> first_y
10101
10102         * lyxlayout.C (Read): remove lowercase
10103         (name): ditto
10104         (setName): ditto
10105         (obsoleted_by): ditto
10106
10107         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10108
10109         * buffer.C (insertErtContents): add params are to InsetERT
10110         (parseSingleLyXformat2Token): add code to check if a paragraphs
10111         layout really exist.
10112         (parseSingleLyXformat2Token): add params to several inset
10113         constructors
10114         (asciiParagraph): remove lowercase, do the layout comparisons with
10115         no_case
10116
10117         * BufferView_pimpl.C (cursorNext): first -> first_y
10118         (resizeCurrentBuffer): first -> first_y
10119         (updateScrollbar): first -> first_y
10120         (scrollCB): first -> first_y
10121         (workAreaMotionNotify): first -> first_y
10122         (workAreaButtonPress): first -> first_y
10123         (checkInsetHit): first -> first_y
10124         (cursorPrevious): first -> first_y
10125         (cursorNext): first -> first_y
10126         (Dispatch): add buffer_->params to severl inset contructors
10127
10128 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10129
10130         * lyxlayout.C (Read): remove some debug info that I forgot.
10131
10132         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10133         clean up the code slightly.
10134         (makeLinuxDocFile): ditto
10135         (makeDocBookFile): ditto
10136
10137         * text2.C: layout as string
10138
10139         * text.C: layout as string
10140
10141         * paragraph_pimpl.C: layout as string
10142
10143         * paragraph.[Ch]: layout as string
10144
10145         * lyxtextclasslist.[Ch]: layout as string
10146
10147         * lyxtextclass.[Ch]: layout as string
10148
10149         * lyxtext.h: layout as string
10150
10151         * lyxlayout.[Ch]: layout as string
10152
10153         * lyx_cb.C: layout as string
10154
10155         * bufferview_funcs.C: layout as string
10156
10157         * bufferparams.C: layout as string
10158
10159         * buffer.C: layout as string
10160
10161         * LyXView.[Ch]: layout as string
10162
10163         * LaTeXFeatures.[Ch]: layout as string
10164
10165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10166
10167         * BufferView_pimpl.C: change current_layout to string, remove
10168         lyx::layout_type.
10169         (Dispatch):
10170         (smartQuote):
10171         (insertInset):
10172         (workAreaButtonRelease): layout as string
10173
10174         * BufferView2.C (unlockInset): adjust
10175
10176         * vspace.C (asLatexCommand): use an explict temp variable.
10177
10178 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * Makefile.am: use FRONTEND_*
10181
10182 2002-03-01  Juergen Vigna  <jug@sad.it>
10183
10184         * tabular.C (SetWidthOfMulticolCell): changed to something better
10185         I hope but still work in progress.
10186         (recalculateMulticolumnsOfColumn): renamed function from
10187         recalculateMulticolCells as it is more appropriate now.
10188         (SetWidthOfCell): calculate multicols better.
10189
10190 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10193
10194         * lyxfunc.C (processKeySym): print sequence also if it is
10195         `deleted' (complete)
10196
10197         * kbsequence.C (print): print sequence even if it is deleted
10198         (complete would be a better word, actually).
10199
10200         * lyxfunc.C (dispatch): print complete options after a prefix key
10201
10202         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10203
10204 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10205
10206         * text2.C (setCharFont): eliminate setCharFont code duplication.
10207
10208 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10211         LFUN_TABULAR_FEATURE (bug #177)
10212
10213 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10214
10215         * Makefile.am: remove figure.h
10216
10217 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * Bufferview_pimpl.C:
10220         * CutAndPasteC:
10221         * LaTeX.C:
10222         * LyXSendto.C:
10223         * buffer.C:
10224         * bufferlist.C:
10225         * converter.C:
10226         * language.C:
10227         * lyxfunc.C:
10228         * lyxvc.C:
10229         * paragraph.C:
10230         * text.C:
10231         * text2.C: remove #include "lyx_gui_misc.h".
10232
10233         * LaTeX.C: added #include <cstdio>
10234
10235 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10238         that the paragraph following this one can have.
10239
10240         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10241
10242         * vspace.C (asLatexCommand): fix bogus gcc warning
10243
10244         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10245
10246 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10247
10248         * text2.C (setLayout): get rid of redundant code
10249
10250 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10251
10252         * text2.C (incDepth): make sure depth cannot be increased beyond
10253         reasonable values.
10254
10255 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10256
10257         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10258         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10259
10260         * PainterBase.h (image):
10261         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10262         a LyXImage const *.
10263
10264 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10265
10266         * BufferView.C:
10267         * BufferView.h:
10268         * BufferView_pimpl.C:
10269         * BufferView_pimpl.h:
10270         * LaTeXFeatures.C:
10271         * LyXAction.C:
10272         * LyXView.C:
10273         * Makefile.am:
10274         * UpdateList.h:
10275         * UpdateList.C:
10276         * buffer.C:
10277         * figure.h:
10278         * figureForm.C:
10279         * figureForm.h:
10280         * figure_form.C:
10281         * figure_form.h:
10282         * lyx_cb.C:
10283         * lyx_gui.C:
10284         * lyx_gui_misc.C:
10285         * lyxfunc.C:
10286         * sp_base.h:
10287         * sp_ispell.h:
10288         * sp_pspell.h:
10289         * sp_spell.C: remove fig inset, and the crap house of
10290           cards that follows it
10291
10292 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * Makefile.am:
10295         * lyxserver.C:
10296         * os2_defines.h:
10297         * os2_errortable.h:
10298         * nt_defines.h: move .h into support/
10299
10300         * vms_defines.h: remove
10301
10302         * WorkArea.C: add space in debug output
10303
10304         * text2.C:
10305         * paragraph.C:
10306         * buffer.C: add WITH_WARNINGS
10307
10308         * vc-backend.h:
10309         * vc-backend.C:
10310         * bufferlist.C: s/retrive/retrieve/, add docs
10311
10312         * vspace.h:
10313         * vspace.C:
10314         * kbmap.h:
10315         * lyxlength.h:
10316         * lyxgluelength.h:
10317         * length_common.h:
10318         * chset.h:
10319         * chset.C: add docs
10320
10321         * lyxgui.C: add ID to X error handler
10322
10323         * lyxtestclass.c: fix typo
10324
10325 2002-02-26  Juergen Vigna  <jug@sad.it>
10326
10327         * tabular_funcs.C (write_attribute): changed so that some default
10328         attributes are not written at all.
10329         (getTokenValue): set default values before trying to read the
10330         value so we have the return value always set as default if we don't
10331         find the token we search for.
10332
10333         * tabular.C (Write): write bools as bools not as strings!
10334
10335 2002-02-22  Juergen Vigna  <jug@sad.it>
10336
10337         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10338         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10339
10340         * text.C (leftMargin): don't add an indent for paragraphs inside
10341         tabular cells (fix #208).
10342
10343 2002-02-21  José Matos  <jamatos@fep.up.pt>
10344
10345         * tabular.C (docBook): fixed support for long tables.
10346
10347 2002-02-20  Juergen Vigna  <jug@sad.it>
10348
10349         * text2.C (getFont): get the drawing font of the Inset if this
10350         paragraph is inside an inset (only important for InsetERT for now).
10351
10352         * buffer.C (insertErtContents): use new lanugage params in ERT
10353         constructor.
10354
10355         * CutAndPaste.C: commenting out seemingly uneeded code.
10356
10357 2002-02-19  Allan Rae  <rae@lyx.org>
10358
10359         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10360         Iterators might be simple to use but they also get invalidated.
10361         (removeAutoInsets): renamed saved cursor tracking variables and added
10362         some comments to clarify what everything does.
10363
10364 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10365
10366         * Chktex.C:
10367         * LaTeX.C:
10368         * LyXSendto.C:
10369         * converter.C:
10370         * lyx_cb.C:
10371         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10372         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10373
10374         * lyxfunc.C:
10375         * vc-backend.h: remove #include "support/syscall.h"
10376
10377         * LaTeX.C:
10378         * LyXSendto.C:
10379         * converter.C: rearrange #includes in Lars' approved fashion.
10380
10381         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10382         forward declare class Timeout in the header file.
10383
10384         * XFormsView.C: changes due to the above.
10385
10386         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10387         similar to LyXView.
10388
10389         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10390         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10391
10392 2002-02-18  José Matos  <jamatos@fep.up.pt>
10393
10394         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10395         insets contents.
10396
10397 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10398
10399         * a lot of small ws changes
10400         * add a lot of using std::XXX
10401         * use std construcs some places where approp.
10402         * use some exisint stuff from lyxfunctional where approp.
10403         * Make file changes to use partial linking (lets test this now...)
10404
10405 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10406
10407         * Chktex.C:
10408         * buffer.C:
10409         remove #include "support/syscontr.h" as it's redundant. Always has been.
10410
10411         * Chktex.C:
10412         * LaTeX.C:
10413         * LyXSendto.C:
10414         * converter.C:
10415         * lyx_cb.C:
10416         * vc-backend.C:
10417         change Systemcalls::System to Systemcalls::Wait and
10418         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10419         No change of functionality, just reflects the stripped down Systemcalls
10420         class.
10421
10422 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10423
10424         * debug.[Ch]: add a GRAPHICS type to the enum.
10425
10426 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10427
10428         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10429
10430         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10431         there is an inset.
10432
10433 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10436         match the changes below.
10437
10438         * text2.C (toggleInset): if there is not editable inset at cursor
10439         position, try to see if cursor is _inside_ a collapsable inset
10440         and close it.
10441
10442 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10445         document menu has a nice checkbox
10446
10447 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * lyxlength.C (asLatexString): change PW to output as percent of
10450         \textwidth.
10451
10452         * lengthcommon.C: change '%' to 't%'
10453
10454         * lyxfunc.C (dispatch): a few comments from Martin
10455
10456 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * WorkArea.h:
10459         * WorkArea.C:
10460         * BufferView_pimpl.h:
10461         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10462           the X selection.
10463
10464 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * vspace.C (inPixels): fix compiler warning
10467
10468 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * lyxfunc.C (getStatus): fix status message for disabled commands.
10471
10472 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * BufferView_pimpl.C: fix crash on close buffer
10475         during selection (#227)
10476
10477 2002-01-27  Herbert Voss  <voss@lyx.org>
10478
10479         * buffer.C: link old Figure to new graphic inset
10480
10481 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10482
10483         * FontLoader.C (getFontinfo): Change the latex font names in order
10484         to match the names of type1inst.
10485
10486 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10487
10488         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10489
10490         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10491         (extchanged): ditto
10492         (ext_exist): ditto
10493         (remove_files_with_extension): ditto
10494         (remove_file): ditto
10495         (write): ditto
10496
10497         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10498         document is smaller than the work area height. Do not initialize
10499         static variables to 0.
10500
10501 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10504
10505         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10506         LFUN_LAYOUT_PARAGRAPHS.
10507
10508         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10509         tabular. It is possible to provide a possible cell, which will
10510         typically be the actcell from the corresponding insettabular
10511
10512         * lyxfunc.C (getStatus): small cleanup; disable
10513         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10514         true
10515
10516 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10519
10520         * paragraph.C (startTeXParParams):
10521         (endTeXParParams): new methods. The LaTeX code to
10522         start/end paragraph formatting
10523         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10524         empty (fixes bug #200)
10525
10526         * vspace.C (inPixels): adapt to the change below
10527         (inPixels): [later] more cleanups (remove unused variables)
10528
10529         * lyxlength.C (inPixels): change to use a width and a height as
10530         parameter.
10531
10532 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10535         Replaced with \paperwidth
10536
10537         * DepTable.C (insert): add std:: qualifier
10538
10539 2002-01-18  Allan Rae  <rae@lyx.org>
10540
10541         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10542         updated also?
10543
10544         * text.C (drawInset): Turned out I didn't know enough about how
10545         rebreaking worked.  This fixes most of the redraw problems.  I see
10546         an occasional cursor trail when a line is broken now and the cursor
10547         placement can seem out by a few pixels also after a rebreak.
10548
10549 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * buffer.C (parseSingleLyXformat2Token): update because minipage
10552         width is now a LyXLength
10553
10554         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10555
10556         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10557         math insets
10558
10559 2002-01-17  Juergen Vigna  <jug@sad.it>
10560
10561         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10562
10563         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10564         is set correctly and the inset is updated correctly.
10565
10566 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10569         the beginning of the loop.
10570
10571 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyxrc.C: improve help for use_scalable_fonts
10574
10575 2002-01-17  Allan Rae  <rae@lyx.org>
10576
10577         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10578
10579 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10580
10581         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10582         make sure to set their inset_owner to the right value (bug #171)
10583
10584 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10585
10586         * DepTable.h
10587         * DepTable.C: Implement mtime checking to reduce time spent doing
10588         CRCs.
10589
10590 2002-01-16  Juergen Vigna  <jug@sad.it>
10591
10592         * tabular.C (GetAdditionalHeight): one of error fixed.
10593
10594         * lyxrc.C (output): small fix in writing use_pspell.
10595
10596 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10597
10598         * sp_base.h: #include LString.h
10599
10600 2002-01-16  Allan Rae  <rae@lyx.org>
10601
10602         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10603         Can someone check this please?
10604
10605         * text.C (drawInset): It was possible that p.row would be removed by
10606         breakAgainOneRow upsetting a few other settings.  There may be another
10607         small tweak possible by setting need_break_row = 0 when p.row has been
10608         removed but I don't know enough about the logic here.
10609
10610 2002-01-15  Allan Rae  <rae@lyx.org>
10611
10612         * text.C (insertChar): removed conditional truism.
10613
10614         * BufferView2.C (removeAutoInsets): More tweaks.
10615         cur_par_prev could be a stray pointer.  Check for trailing empty line
10616         in case last line was cur_par and only had an error inset on it.
10617
10618 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10621         absolute
10622
10623         * vc-backend.C (most methods):
10624         * exporter.C (Export):
10625         * converter.C (convert):
10626         (runLaTeX):
10627         * LyXSendto.C (SendtoApplyCB):
10628         * lyxfunc.C (dispatch):
10629         (menuNew):
10630         (open):
10631         (doImport):
10632         * lyx_cb.C (AutoSave):
10633         (InsertAsciiFile):
10634         * BufferView_pimpl.C (MenuInsertLyXFile):
10635         * buffer.C (runChktex): use Buffer::filePath().
10636
10637         * buffer.h: rename filename to filename_; rename filepath to
10638         filepath_ and make it private
10639         (filePath): new method
10640
10641         * buffer.C (writeFile): use fileName()
10642         (getLatexName):
10643
10644         * lyx_main.C (init): fix starting  of LyX when the binary is a
10645         link from so,ewhere else.
10646
10647         * minibuffer.C: include <cctype> for isprint
10648
10649 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10650
10651         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10652         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10653         name clash with InsetCollapsable's width function.
10654
10655 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * lastfiles.C: include <iterator>
10658
10659 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10662         std::count.
10663
10664         * buffer.C (makeLaTeXFile): ditto.
10665         Also make loop operation more transparent.
10666
10667 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10668
10669         * ToolbarDefaults.C: remove trailing comma closing namespace.
10670
10671         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10672
10673         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10674         as in WorkArea.
10675
10676         * trans.C (Load): comment out unused variable, allowed.
10677
10678 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10679
10680         * minibuffer.[Ch] (append_char): new method to recieve input from the
10681         drop-down completion browser. If a key was pressed, then recieve this
10682         char and append it to the existing string.
10683         (peek_event): modify the positioning data passed to the completion
10684         browser so that it can be placed above the minibuffer rather than below.
10685 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10686
10687         * LyXAction.C (init): alloe error-next for readonly documents.
10688
10689         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10690         count.
10691
10692 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * bufferlist.C (readFile): create the buffer _after_ checking that
10695         the file exists.
10696
10697         * lyxfunc.C (verboseDispatch): fix handling of arguments
10698
10699         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10700
10701         * lyxrc.C: use string::erase() instead of initializing to "".
10702
10703
10704 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * BufferView_pimpl.h:
10707         * BufferView_pimpl.C:
10708         * WorkArea.h:
10709         * WorkArea.C:
10710         * text2.C: tell X when we have made a selection for copying
10711
10712 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * BufferView_pimpl.C (MenuInsertLyXFile):
10715         * lyxfunc.C (menuNew):
10716         (open):
10717         (doImport): add shortcuts to directory buttons
10718
10719         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10720         open a float)
10721
10722         * lyxfunc.C (setStatusMessage):
10723         (getStatusMessage): new methods
10724         (getStatus):use setStatusMessage instead of setErrorMessage
10725         (dispatch): when function is disabled, set error message here
10726         [instead of in getStatus previously]
10727
10728         * BufferView_pimpl.C (workAreaButtonRelease): update
10729         toolbar/menubar here too.
10730
10731 2002-01-13  Allan Rae  <rae@lyx.org>
10732
10733         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10734         Now seems indestructible.  Remaining task is to audit all other
10735         code affected by deleteEmptyParagraphMechanism.  One small quirk
10736         left is that an empty document with an error in the preamble can
10737         be made to report an error but no error box appears.  I don't know
10738         where it goes.
10739         (removeAutoInsets): Improved comments.
10740
10741 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * Thesaurus.h:
10744         * Thesaurus.C: update for Aiksaurus 0.14
10745
10746 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * text2.C (firstParagraph): removed member function, all uses
10749         replaces with ownerParagraph
10750         (redoParagraphs): here
10751         (updateInset): here
10752         (toggleAppendix): here
10753         * BufferView2.C (insertErrors): here
10754         (setCursorFromRow): here
10755
10756 2002-01-13  Allan Rae  <rae@lyx.org>
10757
10758         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10759         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10760         There is still a way to segfault this although you may have to do this
10761         multiple times: Have an InsetERT with an unknown command in it.
10762         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10763         <down-arrow>, <Enter> again, View->DVI, BANG!
10764
10765         * text2.C (setCursor):
10766         (deleteEmptyParagraphMechanism):
10767         * lyxtext.h (setCursor):
10768         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10769         Making use of the return value may help fix other bugs.
10770
10771 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10774
10775         * LyXView.C (updateMenubar): call MenuBar::update here
10776         (updateToolbar): but not here
10777         (showState): do not update toolbar/menubar
10778
10779         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10780         should need to care about that.
10781
10782         * lyxfunc.C (verboseDispatch): simplify a bit
10783         (getStatus): have a version which takes a pseudoaction, and
10784         another which requires a (kb_action,string).
10785
10786         * LyXAction.C (retrieveActionArg): make it work also when action
10787         is not a pseudo-action.
10788         (getActionName): simplify a bit
10789         (helpText):
10790
10791 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * lyxfunc.C (verboseDispatch): new families of methods with
10794         several ways to specify a command and a bool to indicate whether
10795         the command name and shortcut should be displayed in minibuffer
10796         (eventually, we could extend that to a finer bitmask like
10797         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10798         (dispatch): the pristine dispatch command which just, well,
10799         dispatchs! Note it still sets its result to minibuffer; I'm not
10800         sure we want that.
10801
10802         * lyxfunc.h: remove setHintMessage
10803
10804         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10805
10806 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10807
10808         * BufferView_pimpl.C (specialChar): delete new inset if we have
10809         not been able to insert it.
10810
10811         * kbmap.C: revert to using int instead of kb_action, since all we
10812         are dealing with is pseudo-actions.
10813
10814         * LyXAction.C (searchActionArg): change to return int instead of
10815         kb_action, since the result is a pseudoaction.
10816
10817 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10818
10819         * buffer.C (insertErtContents): Fix (partially) the font bug.
10820
10821 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10822
10823         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10824         as the other one is broken on my machine!
10825
10826 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10827
10828         * commandtags.h:
10829         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10830
10831 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10832
10833         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10834         reflect their actual use. Provide compatibility code for older lyxrc
10835         files.
10836
10837         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10838         FL_NORMAL_STYLE.
10839         change names of popup font variables in line with the changes to lyxrc.C
10840
10841 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * buffer.C (asciiParagraph): avoid outputing a word twice after
10844         an inset.
10845
10846         * lyxrc.C (getDescription): document that document_path and
10847         template_path can be empty.
10848
10849 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10850
10851         * LaTeXFeatures.C (getMacros):
10852         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10853
10854         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10855
10856         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10857         getPackages.
10858         (getPackages): rename feature "floats" to "float". Use an array to
10859         iterate over 'simple' features (i.e. just a \usepackage). Add
10860         handling of "amsmath" (renamed from "amsstyle").
10861
10862 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10863
10864         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10865         features list.
10866
10867 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10870         FuncStaus::FuncStatus & FuncStaus::some_method().
10871
10872 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10873
10874         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10875         of the func_satus stuff. Edited and massaged in various ways by
10876         JMarc.
10877
10878         * lyxfunc.C (getStatus): use FuncStatus
10879
10880 2002-01-08  Juergen Vigna  <jug@sad.it>
10881
10882         * text.C (nextBreakPoint): use function Inset::isChar().
10883
10884         * paragraph.C (TeXOnePar): use function
10885         Inset::forceDefaultParagraphs.
10886
10887         * buffer.C (latexParagraphs): use function
10888         Inset::forceDefaultParagraphs.
10889
10890 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10891
10892         * lyx_gui.C (init): set the style of the menu popups to
10893         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10894
10895 2002-01-07  Juergen Vigna  <jug@sad.it>
10896
10897         * text.C (setHeightOfRow): small fix
10898         (prepareToPrint): don't look at alignment if we don't have the place
10899         for doing it.
10900
10901 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10902
10903         * box.C: New file. Move the Box methods and functions out of box.h,
10904         following Lars' suggestion.
10905
10906 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10907
10908         * box.h: #include "support/LOstream.h", needed for inlined function.
10909
10910         * lyxtextclass.C:
10911         * lyxtextclasslist.C: added some using std declarations.
10912
10913 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * box.h: make signed dimensions to allow insets wider than
10916           the screen (bug #162)
10917
10918         * BufferView_pimpl.C: add some insetHit debug
10919
10920 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * vc-backend.C: add FIXME
10923
10924 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * lyxfunc.C (getStatus): enable code for showing math font status
10927         in toolbar/menu.
10928
10929 2002-01-07  Juergen Vigna  <jug@sad.it>
10930
10931         * text.C (nextBreakPoint): removed debug output not needed anymore.
10932
10933 2002-01-06  Juergen Vigna  <jug@sad.it>
10934
10935         * text.C (nextBreakPoint): fixed up this function we had this bug
10936         since ever but now hopefully we break row better.
10937         (insertChar): we have to check if an inset is the next char as it
10938         could now happen that a large inset is causing a break.
10939
10940 2002-01-05  Juergen Vigna  <jug@sad.it>
10941
10942         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10943         if it doesn't like to be drawed.
10944
10945 2002-01-04  Juergen Vigna  <jug@sad.it>
10946
10947         * BufferView2.C (lockInset): forgot to set a cursor.
10948
10949         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10950
10951 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10952
10953         * FormMathsPanel.C:
10954         * FormMathsPanel.h
10955         * MathsSymbols.C:
10956         * form_maths_panel.C:
10957         * form_maths_panel.h:
10958         * form_maths_panel.fd: implemented sub- and super- buttons in math
10959         panel.
10960
10961         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10962         (or ^ space) to be used as in TeX (req'd by André).
10963
10964         * lyxfunc.C: Allow ^ and _ again to be used both as
10965         super/subscript (mathed) and as themselves (in text).
10966
10967 2002-01-03  Allan Rae  <rae@lyx.org>
10968
10969         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10970         "LyX" or the filename of the current buffer if it has one.  This is a
10971         modified form of John Levon's patch.
10972
10973         * XFormsView.C (setWindowTitle): also set icon title.
10974
10975         * LyXView.h (setWindowTitle): signature changed.
10976         * XFormsView.h (setWindowTitle): ditto.
10977
10978 2002-01-02  Juergen Vigna  <jug@sad.it>
10979
10980         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10981
10982 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * screen.C (topCursorVisible): introduce a temp var for
10985         text->cursor.row(), handle the case where this row is null. (kindo
10986         hachish)
10987
10988         * text2.C (setCursor): add a couple of asserts.
10989
10990         * paragraph.h (inset_iterator): add -> operator
10991
10992         * paragraph.[Ch] (autoDeleteInsets): remove member function
10993
10994         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10995         cursor pos correctly and handle inset deletion by itself.
10996         (insertErrors): move iterator declaration out of for expression
10997
10998         * lyxtextclass.C: add <algorithm>
10999
11000         * Makefile.am: added the new files to sources, removed layout.C
11001
11002         * layout.C: removed file
11003
11004         * layout.h: remove LYX_DUMMY_LAYOUT
11005
11006         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11007         layout.
11008
11009         * lyxlayout.[Ch]:
11010         * lyxtextclass.[Ch]:
11011         * lyxtextclasslist.[Ch]: new files
11012
11013         * include order changes to a lot of files, also changes because of
11014         the six new files.
11015
11016 2001-12-27  Juergen Vigna  <jug@sad.it>
11017
11018         * buffer.C (asciiParagraph): more fixes.
11019
11020         * tabular.C (ascii): make ascii export support export of only the
11021         data separated by a column-delimiter.
11022         (ascii): better support for ascii export.
11023
11024         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11025
11026 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11027
11028         * tabular_funcs.C: use a "using std::getline" instead of the
11029         previous fix from Angus (necessary for cxx + lyxstring)
11030
11031 2001-12-24  Juergen Vigna  <jug@sad.it>
11032
11033         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11034
11035         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11036         problems. First check a minipage also if we have some ert-contents
11037         (not only on par->size(), second set the right depth of the paragraph
11038         on the relink to the root-paragraph-list!
11039
11040         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11041         which then did not anymore update the main paragraphs on undo/redo!
11042
11043 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11046         code. Support all font-changing funcs (even those which are not in
11047         menu currently). Support for reporting font settings in
11048         mathed (disabled until Andre provides a function on mathed's side).
11049
11050         * func_status.h (toggle): small helper function to set toggle
11051         state on a flag.
11052
11053 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11054
11055         * tabular_funcs.C: getline -> std::getline
11056
11057 2001-12-21  Juergen Vigna  <jug@sad.it>
11058
11059         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11060         accessed and could be 0 (I couldn't generate this but it seems
11061         Michael could!).
11062
11063 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11064
11065         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11066         * tabular_funcs.h: here and include iosfwd
11067
11068 2001-12-20  Juergen Vigna  <jug@sad.it>
11069
11070         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11071         inside inset but undo_par was.
11072
11073 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * Thesaurus.C: always include <config.h> in sources.
11076
11077         * Painter.h:
11078         * lyxlookup.h:
11079         * box.h: do not include <config.h> in header files
11080
11081         * text.C (paintLastRow): remove unused variable
11082
11083         * text.C (transformChar):
11084         (insertChar):
11085         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11086
11087         * Painter.C (text):
11088         * font.C (width): rewrite to use uppercase() instead of
11089         islower/toupper.
11090
11091         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11092
11093 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * lyxfind.C: clean up of find failure position change
11096
11097 2001-12-20  Juergen Vigna  <jug@sad.it>
11098
11099         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11100
11101         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11102         (TeXRow): added to LaTeX a single tabular row.
11103         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11104         (Latex): simplified and finally good LT-h/f support.
11105         (various_functions): just small adaptions for LT-h/f support.
11106
11107         * tabular_funcs.[hC]: added and moved here all not classfunctions
11108         of LyXTabular.
11109
11110 2001-12-19  Juergen Vigna  <jug@sad.it>
11111
11112         * tabular.[Ch]: better support for longtabular options (not finished
11113         yet!)
11114
11115 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * text.C (paintLastRow): use the label font instead of the font of
11118         the last character to compute the size of *_BOX. This makes more
11119         sense and avoids a crash with empty paragraphs.
11120         Use Painter::rectangle to draw EMPTY_BOX.
11121
11122 2001-12-19  Juergen Vigna  <jug@sad.it>
11123
11124         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11125         the paragraphs if the replaced paragraph is not the first one!
11126         Tried to delete not used paragraphs but does not work yet so for
11127         now it's inside #ifdef's and by default off!
11128
11129 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11130
11131         * MenuBackend.C: include "lyx_main.h" instead of declaring
11132         lastfiles (actually was declared as LastFiles* instead of a
11133         scoped_ptr).
11134
11135 2001-12-17  Juergen Vigna  <jug@sad.it>
11136
11137         * tabular.C (AppendColumn): applied John's fix
11138
11139 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * BufferView.h:
11142         * BufferView.C:
11143         * BufferView_pimpl.h:
11144         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11145
11146         * Makefile.am:
11147         * box.h: new start of class for above
11148
11149         * lyxfunc.C: ignore space-only minibuffer dispatches.
11150           Show the command name when it doesn't exist
11151
11152         * minibuffer.C: don't add empty lines to the history
11153
11154         * minibuffer.C: add a space on dropdown completion
11155
11156 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * text.C: fix line above/below drawing in insets
11159
11160 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * lyxlength.C (LyXLength): Initialize private variables.
11163
11164 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11165
11166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11167         when inserting error insets.
11168
11169 2001-12-13  Juergen Vigna  <jug@sad.it>
11170
11171         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11172         actually sometimes the before-paragraph.
11173         (setUndo): don't clear the redostack if we're not actually undoing!
11174
11175 2001-12-06  Juergen Vigna  <jug@sad.it>
11176
11177         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11178         and fixed redoing of main paragraph, so we can use it now ;)
11179
11180         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11181
11182 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11185         Juergen's request
11186
11187 2001-12-13  André Pönitz <poenitz@gmx.net>
11188
11189         * undostack.[Ch]:
11190         * undo_func.C: minor cleanup
11191
11192 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11195         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11196         font in urw-fonts package which is marked as -urw-fontspecific and
11197         does not work (incidentally, changing the encoding in the
11198         fonts.dir of this package to -adobe-fontspecific fixes the
11199         problem).
11200
11201         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11202         is a crash when undoing first paragraph (Juergen, please take a
11203         look). THis does not mean the undo fix is wrong, just that it
11204         uncovers problems.
11205
11206         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11207         the (Paragraph*) version when needed instead of duplicating the
11208         code.
11209
11210         * text.C (workWidth): use Inset::parOwner to find out where the
11211         inset has been inserted. This is a huge performance gain for large
11212         documents with lots of insets. If Inset::parOwner is not set, fall
11213         back on the brute force method
11214
11215         * paragraph_pimpl.C (insertInset):
11216         * paragraph.C (Paragraph):
11217         (cutIntoMinibuffer): set parOwner of insets when
11218         inserting/removing them
11219
11220         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11221
11222 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11223
11224         * commandtags.h:
11225         * LyXAction.C:
11226         * lyx_main.C:
11227         * lyxfunc.C:
11228         * mathed/formulabase.C:
11229         * mathed/math_cursor.[Ch]:
11230         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11231
11232
11233 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11234
11235         * lyxlength.[Ch] (operator!=): new function
11236
11237 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * text.C (workWidth): use Inset::parOwner to find out where the
11240         inset has been inserted. This is a huge performance gain for large
11241         documents with lots of insets. If Inset::parOwner is not set, fall
11242         back on the brute force method
11243
11244         * paragraph_pimpl.C (insertInset):
11245         * paragraph.C (Paragraph):
11246         (cutIntoMinibuffer): set parOwner of insets when
11247         inserting/removing them
11248
11249         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11250
11251 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * tabular-old.C (getTokenValue):
11254         * tabular.C (getTokenValue):
11255         (write_attribute): new versions for LyXLength
11256         (everywhere): adjust the use of widths
11257
11258         * tabular.h: change the type of widths from string to LyXLength
11259
11260 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11261
11262         * paragraph.C: fixed missing line number count when exporting
11263         Environments to LaTeX file
11264
11265         * buffer.C: added informational message for checking line numbers.
11266
11267 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11270         paragraph, do the 'double space' part, but not the 'empty
11271         paragraph' one.
11272
11273         * text.C (workWidth): small optimization
11274         (getLengthMarkerHeight): use minimal size for negative lengths.
11275
11276 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11277
11278         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11279
11280         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11281
11282 2001-12-11  André Pönitz <poenitz@gmx.net>
11283
11284         * FontLoader.C:
11285         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11286
11287 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * text2.C: keep selection on a setFont()
11290
11291 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * lyx_cb.C: another bv->text misuse, from insert label
11294
11295 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * kbsequence.h:
11298         * kbsequence.C: re-instate nmodifier mask
11299
11300 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11301
11302         * lyx_main.h: make lyxGUI private.
11303
11304 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * lyxfind.C: place the cursor correctly on failed search
11307
11308 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * text.C (getLengthMarkerHeight): for small heights, the arrows
11311         are not always on top/bottom of the text
11312         (drawLengthMarker): smaller arrows; take the left margin in
11313         account; draw also vfills.
11314         (paintFirstRow):
11315         (paintLastRow): remove special code for vfill and standard spaces,
11316         since everything is handled in drawLengthMarker now.
11317
11318 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * buffer.C (insertErtContents): try to handle font and language
11321         interaction a bit better.g
11322
11323         * ColorHandler.C (updateColor): change the hash to cover the whole
11324         LColor enum, ws cleanup
11325         (getGCLinepars): ditto
11326         (getGCLinepars): only lookup in the linecache once.
11327
11328 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11329
11330         * iterators.C (operator++): Make the iterator more robust
11331
11332         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11333         (John's patch)
11334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11335
11336 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * lyxtext.h:
11339         * text.C: better added space drawing
11340
11341 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * LyXView.C:
11344         * BufferView2.C: fix layout combo update on inset unlock
11345
11346 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * Makefile.am: don't compile unused files
11349
11350 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * lyxfunc.C:
11353         * commandtags.h:
11354         * LyXAction.C: remove old LFUN_LAYOUTNO
11355
11356 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * paragraph_pimpl.h:
11359         * paragraph_pimpl.C: isTextAt() doesn't need font param
11360
11361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * lyxlex.h:
11364         * lyxlex.C: little cleanup
11365
11366 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * BufferView_pimpl.C: fix insertAscii for insets
11369
11370 2001-12-05  Juergen Vigna  <jug@sad.it>
11371
11372         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11373         set the right font on the "multi" paragraph paste!
11374
11375 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * trans_decl.h:
11378         * trans_mgr.[Ch]:
11379         * trans.[Ch]:
11380         * lyxgluelength.C:
11381         * lyxlength.C: remove out-commented code.
11382
11383         * BufferView_pimpl:
11384         * CutAndPaste.C:
11385         * DepTable.C:
11386         * buffer.C:
11387         * chset.C:
11388         * lastfiles.C:
11389         * lyxlex.C:
11390         * lyxlex_pimpl.C:
11391         * lyxserver.C:
11392         * screen.C:
11393         * tabular-old.C:
11394         * tabular.C:
11395         * text.C:
11396         * trans_mgr.C:
11397         * vc-backend.C: change "while(" to "while ("
11398
11399         * lyxlength.[Ch]: add zero function to check if length is zero or
11400         not
11401         * lyxgluelength.C: use it
11402
11403 2001-12-05  Allan Rae  <rae@lyx.org>
11404
11405         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11406         Works for 2.95.3, from what I understand of Garst's reports this should
11407         work for other g++ versions.  We're screwed if the abs(int) definition
11408         changed between bugfix releases of gcc.
11409
11410 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * text.C: fix chapter label offset !
11413
11414 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * lyxtext.h:
11417         * text.C: fix hfill at end of line, clean up
11418
11419 2001-12-04  Juergen Vigna  <jug@sad.it>
11420
11421         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11422         that we force an update of the inset and it's owners if neccessary.
11423
11424 2001-12-03  Juergen Vigna  <jug@sad.it>
11425
11426         * text.C (rowLast): simplified code
11427
11428 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * lyxfunc.C: fix show options on timeout
11431
11432 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * screen.C (topCursorVisible): scroll half a page when the cursor
11435         reached top of bottom of screen
11436
11437 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * minibuffer.C: deactivate on loss of focus
11440
11441 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * vspace.[Ch] (operator!=): add operator.
11444
11445 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * BufferView_pimpl.C: refuse to open an inset when
11448         there's a selection.
11449
11450 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * BufferView_pimpl.C: allow to click on RHS of full row insets
11453
11454 2001-11-30  Juergen Vigna  <jug@sad.it>
11455
11456         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11457         insets for undo reasons.
11458
11459 2001-11-28  André Pönitz <poenitz@gmx.net>
11460
11461         * vspace.[Ch]: cosmetical changes
11462
11463 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * LyXAction.h:
11466         * LyXAction.C:
11467         * lyxfunc.h:
11468         * lyxfunc.C:
11469         * kbmap.h:
11470         * kbmap.C:
11471         * lyxrc.C:
11472         * kbsequence.h:
11473         * kbsequence.C: part re-write of old kb code
11474
11475         * Painter.C:
11476         * WorkArea.C: remove Lgb_bug_find_hack
11477
11478 2001-11-30  José Matos <jamatos@fep.up.pt>
11479
11480         * buffer.C (makeDocBookFile): add a comment to point a hack.
11481         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11482         Fixed a double write of labels.
11483
11484 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11485
11486         * LaTeX.C:
11487         * LaTeX.h Fixed bug in LaTeX class where it would not
11488         re-run latex if no depfiles were changed, but the .dvi was removed.
11489
11490 2001-11-28  André Pönitz <poenitz@gmx.net>
11491
11492         * all the files from the change on 2001/11/26:
11493         use lyx::layout_type instead of LyXTextClass::size_type
11494         use lyx::textclass_type instead of LyXTextClassList::size_type
11495
11496 2001-11-29  Juergen Vigna  <jug@sad.it>
11497
11498         * text.C: added support for paragraph::isFreeSpacing()
11499
11500         * buffer.C: same as above
11501
11502         * paragraph.h: inserted isFreeSpacing() function to enable
11503         FreeSpacing inside InsetERT.
11504
11505         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11506         of the paragraph's in the cut/copy buffer to 0!
11507
11508         * text2.C (removeRow): remove the assert as it can!
11509
11510         * lyxtext.h: added helper function firstRow returning firstrow and
11511         made firstrow private again.
11512
11513         * BufferView2.C (lockInset): don't relock if we're already locked!
11514
11515         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11516         the only paragraph.
11517         (removeRow): added Assert::(firstrow)
11518
11519         * debug.C: forgot to add INSETTEXT here.
11520
11521 2001-11-28  Juergen Vigna  <jug@sad.it>
11522
11523         * sp_spell.C (initialize): changed error text to more general
11524         spellchecker command use (not only ispell!)
11525
11526         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11527
11528         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11529
11530 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * vspace.C: initialise lyxgluelength on failure
11533
11534 2001-11-28  Allan Rae  <rae@lyx.org>
11535
11536         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11537         declaration & definition that looks like a function declaration.
11538
11539 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * BufferView2.C (copy):
11542         (copyEnvironment): do not clear the selection when doing a copy.
11543
11544         * text.C (paintFirstRow): compilation fix
11545
11546 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11547
11548         * tabular.C (Latex): correct line count when writing latex.
11549
11550 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * paragraph_pimpl.h:
11553         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11554           bug a bit
11555
11556 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * text.C:
11559         * LColor.h:
11560         * LColor.C: change vfillline->added_space
11561
11562         * text.C: add markers and text for added space
11563
11564         * vspace.C: fix comment
11565
11566 2001-11-28  André Pönitz <poenitz@gmx.net>
11567
11568         * paragraph.C: whitespace changes
11569         * all the other files from the change on 2001/11/26:
11570         change *::pos_type into lyx::pos_type
11571
11572 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11575         language of the document when inserting error insets.
11576
11577 2001-11-26  André Pönitz <poenitz@gmx.net>
11578
11579         * BufferView_pimpl.[Ch]:
11580         *       CutAndPaste.C:
11581         * buffer.[Ch]:
11582         * lyxcursor.[Ch]:
11583         * lyxfind.C:
11584         * lyxfunc.C:
11585         * lyxrow.[Ch]:
11586         * paragraph.[Ch]:
11587         * paragraph_pimpl.[Ch]:
11588         * sp_spell.C:
11589         * text.C:
11590         * text2.C: reduce header dependencies, introduce type for positions
11591
11592 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * <various>: change to use Alert.h
11595
11596 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11597
11598         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11599         when encountering an unknown token.
11600         (readLyXformat2): Show an error message if there were unknown tokens.
11601
11602 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView2.C:
11605         * BufferView_pimpl.C:
11606         * buffer.C:
11607         * paragraph.h:
11608         * text.C:
11609         * text2.C: use par->isInset()
11610
11611 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * paragraph_pimpl.h:
11614         * paragraph_pimpl.C: cleanup
11615
11616 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11617
11618         * text2.C (removeRow):
11619         * text.C (setHeightOfRow): remove useless (and costly) call to
11620         getRow.
11621
11622 2001-11-20  Allan Rae  <rae@lyx.org>
11623
11624         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11625         Now need Inset*::checkInsertChar() to return true for appropriate
11626         cases so that the characters in the minibuffer will actually be
11627         inserted.
11628
11629 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * text.C: change the order of the includes.
11632         (workWidth): initialize it at once.
11633         (workWidth): make maxw unsigned
11634         (setHeightOfRow): remove unused variable (inset)
11635         (selectSelectedWord): remove unused variable (inset)
11636         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11637
11638 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11641         server is not running.
11642         (openConnection):
11643         (closeConnection): add debug info when server is disabled.
11644
11645         * ColorHandler.C (getGCForeground): send debug message to GUI
11646         channel.
11647
11648         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11649
11650         * kbmap.C (bind): modify because return conventions of
11651         kb_sequence::parse have changed.
11652
11653         * kbsequence.C (parse): only ignore spaces and not any stupid
11654         control character. This avoids tests like s[i] <= ' ', which are
11655         guaranteed to fail with 8bit characters and signed chars.
11656         Change return code to string::npos when there have been no error
11657         (0 was a bad idea when error is at first character)
11658
11659 2001-11-14  José Matos  <jamatos@fep.up.pt>
11660
11661         * buffer.h:
11662         * buffer.C (simpleDocBookOnePar): removed unused argument.
11663
11664 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11665
11666         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11667         insets which are part of a word. Paragraph::isLetter takes care of
11668         that now. Use Paragraph::isInset to identify insets.
11669         (selectSelectedWord): do not test for hyphenation break.
11670
11671         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11672         that protected spaces are considered as spaces.
11673
11674         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11675         Inset::isLetter.
11676
11677 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * lyxserver.h:
11680         * lyxserver.C: fix it. and small cleanup.
11681
11682 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView_pimpl.C: use inline helpers
11685
11686         * LaTeXFeatures.h:
11687         * LaTeXFeatures.C: fix typos
11688
11689         * Spacing.h:
11690         * Spacing.C: move spacing_string into class
11691
11692         * ToolbarDefaults.C: move stuff into namespace anon
11693
11694         * layout.h: update enum
11695
11696         * lyxfunc.C: use better debug
11697
11698         * minibuffer.h: fix typo
11699
11700         * debug.h:
11701         * debug.C:
11702         * WorkArea.C: add and use Debug::WORKAREA
11703
11704         * lyxtext.h:
11705         * text.C:
11706         * text2.C: code re-organisation, inline helpers
11707
11708 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11709
11710         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11711         std::vector.empty().
11712
11713 2001-11-09  Allan Rae  <rae@lyx.org>
11714
11715         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11716         '\n's after tables.  Tabular and ERT inset work now makes this no
11717         longer necessary.
11718
11719 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * minibuffer.h:
11722         * minibuffer.C: fix crash, improve drop-down completion
11723
11724 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * lyxserver.h:
11727         * lyxserver.C: invalidate fd's when doing endPipe()
11728
11729 2001-11-08  José Matos  <jamatos@fep.up.pt>
11730
11731         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11732         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11733
11734         * paragraph.h:
11735         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11736
11737 2001-11-07  José Matos  <jamatos@fep.up.pt>
11738
11739         * buffer.h:
11740         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11741         const qualifier.
11742
11743         * buffer.C (sgmlOpenTag):
11744         * buffer.C (sgmlCloseTag): removed debug info.
11745
11746         * buffer.h (sgmlOpenTag):
11747         * buffer.h (sgmlCloseTag): made public.
11748
11749 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * buffer.C (saveParamsAsDefaults):
11752         * lyx_cb.C (MenuLayoutSave): remove
11753
11754         * LyXAction.C (init):
11755         * commandtags.h:
11756         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11757
11758 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * buffer.C (setPaperStuff): removed from here...
11761
11762         * bufferparams.C (setPaperStuff): ... and moved there.
11763
11764 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * minibuffer.h:
11767         * minibuffer.C:
11768         * XFormsView.C: add support for drop-down completion
11769
11770 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11771
11772         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11773         commands.
11774
11775 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11778         disabled.
11779
11780 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11781
11782         * lyx_main.C: change ref to known bugs
11783
11784 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11785
11786         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11787         to work around older babel problems.
11788
11789 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11790
11791         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11792
11793 2001-10-24  Juergen Vigna  <jug@sad.it>
11794
11795         * tabular-old.C (ReadOld): below variable changes reflected.
11796
11797         * tabular.[Ch]: added ltType struct for longtable header/footer
11798         defines and changed all instances where they are used. Added
11799         future support for double top/bottom rows.
11800
11801 2001-10-24  José Matos  <jamatos@fep.up.pt>
11802
11803         * buffer.h (docbookHandleCaption):
11804         * buffer.C (docbookHandleCaption): removed unused function.
11805         (makeDocBookFile): moved docbook supported version to v4.1.
11806
11807 2001-10-24  José Matos  <jamatos@fep.up.pt>
11808
11809         * tabular.h:
11810         * tabular.C (docbookRow): new function to export docbook code of a row.
11811         (DocBook): now honors the longtable flags.
11812
11813 2001-10-23  José Matos  <jamatos@fep.up.pt>
11814
11815         * LaTeXFeatures.h:
11816         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11817         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11818
11819         * buffer.C (makeLinuxDocFile):
11820         (makeDocBookFile): reworked the preamble, more clean, and with
11821         support for lyx defined entities. Changed the document declaration
11822         to be more XML friendly.
11823
11824         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11825         if we need to output XML that should be done with a filter.
11826
11827 2001-10-22  Juergen Vigna  <jug@sad.it>
11828
11829         * sp_pspell.h (class PSpell): add alive function needed in the
11830         controller to see if the spellchecker could be started.
11831
11832 2001-10-22  Juergen Vigna  <jug@sad.it>
11833
11834         * buffer.C (insertStringAsLines): modify the font for inserting
11835         chars in certain conditions by calling checkInsertChar(font).
11836
11837 2001-10-19  Juergen Vigna  <jug@sad.it>
11838
11839         * text.C (workWidth): use getRow instead of wrong algorithm.
11840         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11841
11842 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * lyxserver.h:
11845         * lyxserver.C:
11846         * lyx_main.h:
11847         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11848
11849 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11850
11851         * text.C (workWidth): do not search for the exact row when
11852         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11853         optimization for big documents.
11854
11855 2001-10-18  Juergen Vigna  <jug@sad.it>
11856
11857         * text.C (workWidth): new function with added Inset * parameter.
11858
11859 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11862
11863         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11864         change return type of getColumnNearX.
11865
11866
11867         * text.C (changeRegionCase): use uppercase/lowercase instead of
11868         toupper/tolower.
11869         (leftMargin):
11870         (rightMargin): simplify code by factoring out the uses of
11871         textclasslist.
11872         (labelFill):
11873         (numberOfHfills):
11874         (setHeightOfRow):
11875         (appendParagraph): use Paragraph::size_type
11876
11877 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11878
11879         * vspace.C (asLatexString): add a missing break
11880
11881 2001-10-15  Herbert Voss  <voss@perce.de>
11882
11883         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11884
11885 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11888         is not available.
11889
11890 2001-10-10  André Pönitz <poenitz@gmx.net>
11891
11892         * lyxfunc.C: removed greek_kb_flag.
11893
11894 2001-10-10  Herbert Voss  <voss@perce.de>
11895
11896         * lyx_main.C: delete global string help_lyxdir.
11897
11898 2001-10-09  Herbert Voss  <voss@perce.de>
11899
11900         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11901
11902         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11903
11904         * lyx_main.C: added global string help_lyxdir.
11905
11906         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11907
11908 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11909
11910         * lyxrc.C (set_font_norm_type): support iso8859-4
11911
11912 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11913
11914         * LaTeX.C (deplog): add another regex for MikTeX
11915
11916 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11917
11918         * lyxrc.C (set_font_norm_type): support iso8859-3
11919
11920 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11921
11922         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11923
11924         * LaTeXFeatures.C: remove special case of french and index
11925
11926         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11927         before \begin{document}). This solves several incompatibilities.
11928
11929 2001-10-03  Garst Reese  <reese@isn.net>
11930
11931         * lyx_cb.C: change CheckTex error msg.
11932
11933 2001-10-03  José Matos  <jamatos@fep.up.pt>
11934
11935         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11936
11937 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * .cvsignore: update
11940
11941         * lyx_main.C (commandLineVersionInfo): use new style version info.
11942
11943         * buffer.C (writeFile):
11944         (makeLaTeXFile):
11945         (makeLinuxDocFile):
11946         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11947
11948         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11949
11950         * version.h: update to use stuff in version.C
11951
11952         * version.C.in: new file. Contains version information determined
11953         at compile time. This is a merging of version.h and
11954         version_info.h.in.
11955
11956 2001-10-03  Juergen Vigna  <jug@sad.it>
11957
11958         * BufferView_pimpl.C (update): don't change "dirty" status in
11959         updateInset call.
11960
11961 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11962
11963         * WorkArea.C (c-tor): re-position version string slightly.
11964
11965 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11966
11967         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11968         revert to previous code.
11969
11970         WorkArea.[Ch]: (show, destroySplash): methods removed.
11971
11972         WorkArea.C: rework code so that it's an amalgam of the codes before and
11973         after the splash screen was moved to WorkArea.
11974
11975 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * lyxrc.C (read):
11978         * vspace.C (inPixels):
11979         (lyx_advance):
11980         * kbmap.C (bind):
11981         * buffer.C (insertStringAsLines):
11982         (asciiParagraph): fix types to be large enough
11983
11984         * lyxlex_pimpl.h: change member status from short to int
11985
11986         * layout.h: fix type of endlabeltype
11987
11988         * kbmap.C (bind):
11989         * kbsequence.C (parse): change return type to string::size_type
11990
11991         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11992         variable
11993
11994         * Bullet.C (bulletSize):
11995         (bulletEntry): do not use short ints as parameters
11996
11997         * BufferView2.C (insertLyXFile): change a char to an int.
11998
11999         * WorkArea.C (WorkArea): remove unneeded floats in computation
12000
12001 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12002
12003         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12004
12005         * paragraph.C (asString): Do not ignore newline/hfill chars when
12006         copying to the clipboard.
12007
12008 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12011         after a multi-line inset.
12012
12013 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12014
12015         * paragraph.C (validate): Set NeedLyXFootnoteCode
12016
12017 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12020         and decrease-error to decrease.
12021
12022 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12025         it more readable (should be equivalent)
12026
12027 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12028
12029         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12030
12031 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12032
12033         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12034         of a cursor (row, etc.) after a character has been deleted
12035         (deleteEmptyParagraphMechanism): call the method above on _all_
12036         cursors held by the LyXText when a double space has been
12037         detected/deleted.
12038
12039 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12042         pixmap.
12043         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12044
12045         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12046         background. Use greyOut() and the new show() methods to toggle between
12047         the foreground and background. Add code to remove the splash after
12048         its initial showing.
12049
12050         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12051         (create_forms): no longer call Dialogs::showSplash.
12052
12053 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12054
12055         * .cvsignore: add version_info.h
12056
12057 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12058
12059         * version_info.h.in: new file
12060
12061         * Makefile.am: add version_info.h.in
12062
12063         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12064         version_info.h instead of VERSION_INFO
12065
12066 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12067
12068         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12069         The ERT inset now returns string().
12070
12071 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * lyxtext.h, text.C (selectNextWord): renamed as
12074         selectNextWordToSpellcheck.
12075
12076         * text.C (selectNextWordToSpellcheck): Modified to not select
12077         words inside an ERT inset.
12078
12079 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12080
12081         * lyx_cb.C (MenuLayoutSave): change a bit the question
12082
12083         * sp_base.h: include <sys/types.h>
12084
12085 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12086
12087         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12088
12089 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12090
12091         * several files: fix typos in user-visible strings
12092
12093 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * text2.C (pasteSelection): do not set the selection, since it
12096         will be cleared later. Actually, the intent was to fix the way the
12097         selection was set, but I figured rmoving the code was just as good.
12098
12099 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12100
12101         * FontLoader.C (available): Check if font is available without
12102         loading the font.
12103
12104 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12105
12106         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12107
12108 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         * lyxrc.[Ch]: added display_graphics variable and associated code.
12111
12112 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12113
12114         * bufferparams.C (hasClassDefaults): new method. Returns true if
12115         the buffer parameters correspond to known class defaults
12116
12117 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         * XFormsView.C (show): set minimum size to the main window.
12120
12121 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12122
12123         * text2.C (copySelection):
12124         (cutSelection):
12125         * lyxfind.C (LyXReplace):
12126         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12127         LyXText::selectionAsString.
12128
12129         * paragraph.C (asString): add "label" argument to the second form
12130
12131         * text2.C (selectionAsString): add "label" argument and pass it to
12132         Paragraph::asString.
12133
12134 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12135
12136         * lyx_main.C (commandLineHelp): remove version information
12137
12138 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12139
12140         * lyx_main.C: add -version commandline option
12141
12142 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * paragraph.h: make the optional constructor arg required instead.
12145         some modifications to other files because of this.
12146
12147         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12148
12149         * lyxserver.C (C_LyXComm_callback): make it static
12150
12151         * lyx_main.C (error_handler): make it static
12152
12153         * lyx_gui.C (LyX_XErrHandler): make it static
12154
12155         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12156
12157         * WorkArea.C: make the extern "C" methods static.
12158
12159         * Makefile.am (lyx_LDADD): simplify
12160
12161 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12162
12163         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12164         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12165
12166         * LyXAction.C (init):
12167         * lyxfunc.C (dispatch): associated code removal.
12168
12169 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * lyxfont.h (isSymbolFont): shut off warning
12172
12173         * text.C (setHeightOfRow):
12174         (getVisibleRow): fix crash with empty paragraphs which have a
12175         bottom line
12176
12177 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12178
12179         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12180         code.
12181
12182 2001-09-04  José Matos  <jamatos@fep.up.pt>
12183         * buffer.C
12184         * buffer.h
12185         * tabular.C (docbook): rename docBook method to docbook.
12186
12187 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * Makefile.am: add dependencies to main.o.
12190
12191 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12192
12193         * FontLoader.C (available): Return false if !lyxrc.use_gui
12194
12195 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12196
12197         * FontInfo.C (query):
12198         * converter.C (view):
12199         * importer.C (Import):
12200         * exporter.C (Export): Can not -> cannot.
12201
12202 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * BufferView_pimpl.C: allow to create index inset even if
12205           string is empty
12206
12207 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12208
12209         * buffer.C (getLists): replace boost::tie code with an explicit pair
12210         as boost::tie can break some compilers.
12211
12212         * iterators.h: Added a std:: declaration to the return type of
12213         ParIterator::size.
12214
12215 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12218           case.
12219
12220 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * iterators.[Ch]: New files. Provide paragraph iterators.
12223
12224         * buffer.C (changeLanguage): Use paragraph iterators.
12225         (isMultiLingual): ditto
12226
12227         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12228
12229 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12230
12231         * FontLoader.C: Support for cmr font.
12232
12233 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12236         (available): New method.
12237
12238         * FontInfo.C (getFontname): Use scalable fonts even when
12239         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12240         found.
12241
12242 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * converter.C (Formats::view): reverted! Incorrect fix.
12245
12246 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12247
12248         * converter.C (Formats::view): only output the -paper option
12249         if the dvi viewer is xdvi, thereby fixing bug #233429.
12250
12251 2001-08-23  Herbert Voss  <voss@perce>
12252
12253         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12254
12255 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * Spacing.h (Spacing): Set space to Default on in the default
12258         constructor.
12259
12260 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * vc-backend.h (RCS::versionString): add RCS to version
12263         (CVS::versionString): add CVS to version
12264
12265         * vc-backend.C (scanMaster): do not add CVS to version.
12266         (scanMaster): do not add RCS to version
12267
12268         * lyxvc.C (versionString): new method
12269
12270         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12271
12272 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * Spacing.C (set): initialize fval
12275
12276 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12277
12278         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12279         " or \.
12280
12281 2001-08-16  Juergen Vigna  <jug@sad.it>
12282
12283         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12284
12285 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * BufferView_pimpl.C:
12288         * figureForm.C:
12289         * lyxtext.h:
12290         * text2.C: setParagraph takes linespacing now
12291
12292 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * LyxAction.C: add internal LFUN_CITATION_INSERT
12295
12296         * LyXView.C: actually apply fix
12297
12298         * bufferlist.C: fix open non-existent file
12299
12300         * lyxfind.C: fix indentation
12301
12302         * lyxfunc.C: remove unneeded assert, fix typo
12303
12304 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * MenuBackend.C: use "Floatname List"
12307
12308 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12309
12310         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12311         when converting LaTeX layout to insetERT.
12312         Generate a non-collapsed float when reading old float
12313
12314 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12317         ERT insets.
12318
12319 2001-08-13  Juergen Vigna  <jug@sad.it>
12320
12321         * text.C (fill): return 0 instead of 20 as this seems to be the more
12322         correct value.
12323
12324 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12325
12326         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12327         lyxrc.font_norm.
12328
12329 2001-08-13  Juergen Vigna  <jug@sad.it>
12330
12331         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12332         casesensitive off.
12333         (SearchBackward): comment out the unlocking of the inset_owner this
12334         should not be needed!
12335
12336 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12337
12338         * Many files: Remove inherit_language, and add latex_language
12339
12340         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12341         collapsible insets.
12342
12343 2001-08-10  Juergen Vigna  <jug@sad.it>
12344
12345         * text.C (prepareToPrint): fixed hfill-width in draw!
12346
12347         * BufferView2.C (selectLastWord): save the selection cursor as this
12348         now is cleared in the function LyXText::clearSelection!
12349
12350 2001-08-08  Juergen Vigna  <jug@sad.it>
12351
12352         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12353         BACKSPACE type functions.
12354
12355         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12356         is only cutted from the document but not put in the cut-buffer, where
12357         still the old stuff should be.
12358
12359         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12360
12361         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12362
12363         * tabular.C (SetWidthOfCell): fixed special case where the width
12364         was not updated!
12365         (LeftLine): handle '|' in align_special.
12366         (RightLine): ditto
12367         (LeftAlreadyDrawed): ditto
12368         (SetWidthOfCell): ditto
12369
12370 2001-08-07  Juergen Vigna  <jug@sad.it>
12371
12372         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12373
12374 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12377         * lyxlex.[hC]: ditto
12378
12379 2001-08-06  Juergen Vigna  <jug@sad.it>
12380
12381         * text.C (getVisibleRow): fix up row clearing a bit.
12382
12383 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * minibuffer.C: make sure the X server sees the changes in the input.
12386
12387 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * paragraph.C (getFont): split into...
12390         (getLabelFont): this
12391         (getLayoutFont): and this
12392         * paragraph_pimpl.C (realizeFont): calling this
12393
12394         * text2.C (getFont): split into...
12395         (getLayoutFont): this
12396         (getLabelFont): and this
12397         (realizeFont): all three calling this
12398
12399         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12400         files where used.
12401
12402 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12403
12404         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12405
12406 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12407
12408         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12409         layouts from the Quote inset insertion.
12410
12411 2001-08-03  Juergen Vigna  <jug@sad.it>
12412
12413         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12414
12415         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12416         only if status not is already CHANGED_IN_DRAW (second level).
12417
12418         * text.C (draw): don't set the need_break_row when inside an
12419         InsetText LyXText.
12420
12421 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * buffer.C (parseSingleLyXformat2Token): handle more latex
12424         conversion cases.
12425
12426         * bufferview_funcs.[hC]: change function names to
12427         begin with small char, adjust other files.
12428
12429 2001-08-02  André Pönitz <poenitz@gmx.net>
12430
12431         * lyxfunc.C:
12432         BufferView_pimpl.C: remove broken special code for math-greek
12433
12434 2001-08-02  Juergen Vigna  <jug@sad.it>
12435
12436         * BufferView_pimpl.C (update): redone this function so that we
12437         update the text again if there was a CHANGE_IN_DRAW.
12438
12439         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12440         (drawFromTo): added a new internal bool which is used by draw() and
12441         redraw() function.
12442         (general): some cursor drawing problems fixed.
12443
12444 2001-08-01  Juergen Vigna  <jug@sad.it>
12445
12446         * lyxfind.C (LyXFind): fixed
12447         (SearchForward): ditto
12448         (SearchBackward): ditto
12449
12450         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12451         spurius drawing of the cursor in the main area.
12452
12453         * text2.C (status): small fix which could lead to a segfault!
12454         (clearSelection): remove unneeded BufferView param.
12455
12456 2001-08-01  André Pönitz <poenitz@gmx.net>
12457
12458         * lyxfunc.C: small change due to changed mathed interface
12459
12460 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12461
12462         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12463
12464 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * lyxfunc.c: fail gracefully if file doesn't exist
12467
12468         * LyXSendto.C:
12469         * buffer.C:
12470         * lyxfunc.C:
12471         * BufferView_pimpl.C: IsDirWriteable() proto changed
12472
12473         * LyXView.C: fix updateWindowTitle() to store the last title
12474
12475 2001-07-31  Juergen Vigna  <jug@sad.it>
12476
12477         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12478         the font (wrong since using of Paragraph::highestFontInRange).
12479
12480         * paragraph.C (highestFontInRange): added a default_size parameter.
12481
12482         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12483         (setHeightOfRow): reformat
12484
12485 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * converter.[hC] + affected files: move to (inital-char)lowercase
12488         function names.
12489
12490         * ParagraphParameters.C (ParagraphParameters): remove commented code
12491
12492         * PainterBase.[Ch]: remove commented code
12493
12494         * LaTeXFeatures.h: add "bool floats" for float.sty
12495
12496         * LaTeXFeatures.C (LaTeXFeatures): init floats
12497         (require): handle float
12498         (getPackages): do it with floats
12499
12500 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * BufferView_pimpl.C (Dispatch): improve handling of
12503         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12504
12505         * commandtags.h: #include lyxfont.h here temporarily to avoid
12506         keybinding bug.
12507
12508         * bufferlist.h: include LString.h here.
12509
12510 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12511
12512         * text2.C (getStringToIndex): new method.
12513
12514 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12515
12516         * *: Reduced header file dependencies all over.
12517
12518 2001-07-30  Baruch Even  <baruch@lyx.org>
12519
12520         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12521
12522 2001-07-29  Baruch Even  <baruch@lyx.org>
12523
12524         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12525
12526 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * ParameterStruct.h (endif): add a default constructor to make
12529         sure that all variables is initialized.
12530
12531         * ParagraphParameters.C (ParagraphParameters): adjust
12532
12533 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12536         index; also, check that there is something to index, and that it
12537         does not span over several paragraphs.
12538         (doubleClick): use WHOLE_WORD_STRICT for double click.
12539
12540         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12541
12542         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12543         scheme.
12544
12545 2001-07-26  Baruch Even  <baruch@lyx.org>
12546
12547         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12548         an InsetFig figure, backwards compatible reading of old figure code.
12549
12550 2001-07-27  Juergen Vigna  <jug@sad.it>
12551
12552         * text2.C: font.realize function adaption.
12553
12554         * text.C (draw): add a warnings lyxerr text if needed.
12555
12556         * layout.C: font.realize function adaption.
12557
12558         * language.C: add inherit_language and implement it's handlings
12559
12560         * bufferview_funcs.C (StyleReset): remove language parameter from
12561         font creation (should be language_inherit now).
12562
12563         * bufferparams.C (writeFile): handle ignore_language.
12564
12565         * paragraph.C (getFontSettings): the language has to be resolved
12566         otherwise we have problems in LyXFont!
12567
12568         * lyxfont.C (lyxWriteChanges): added document_language parameter
12569         (update): removed unneeded language parameter
12570
12571         * paragraph.C (validate): fixed wrong output of color-package when
12572         using interface colors for certain fonts in certain environments,
12573         which should not seen as that on the final output.
12574
12575 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * BufferView_pimpl.C:
12578         * Thesaurus.h:
12579         * Thesaurus.C:
12580         * Makefile.am:
12581         * commandtags.h:
12582         * LyXAction.C: add thesaurus support
12583
12584         * lyxfind.h:
12585         * lyxfind.C: add "once" parameter, for thesaurus, to not
12586           move to the next match
12587
12588 2001-07-26  Juergen Vigna  <jug@sad.it>
12589
12590         * lyxfont.C (realize): honor ignore_language too!
12591         (resolved): ditto.
12592
12593         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12594
12595         * text.C (draw): one place more for ignore_language to not draw
12596         itself!
12597
12598 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12601
12602 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12603
12604         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12605         the minipage conversion problem.
12606
12607 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12608
12609         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12610         insert an inset.
12611
12612 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * BufferView.h: don't forward declare WorkArea
12615
12616         * BufferView.C: don't include WorkArea.h
12617
12618 2001-07-25  André Pönitz <poenitz@gmx.net>
12619
12620         * commandtags.h:
12621         * LyXAction.C:
12622         * lyxfunc.C:  new LFUN 'math-space'
12623
12624         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12625
12626 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * text2.C (toggleInset): call open/close
12629
12630 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * lyxfunc.C (dispatch): add debug for the disabled case
12633
12634         * font.C (buttonText): make similar to rectText
12635
12636         * buffer.C (readInset): comment out parsing of insetlist and
12637         insttheorem
12638
12639         * PainterBase.C (rectText): small correction
12640
12641         * BufferView_pimpl.C: comment out insettheorem and insetlist
12642         * LyXAction.C: ditto
12643         * commandtags.h: ditto
12644
12645 2001-07-24  Juergen Vigna  <jug@sad.it>
12646
12647         * text.C (draw): honor the ignore_language.
12648
12649         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12650
12651 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12652
12653         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12654         char inset.
12655
12656 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12657
12658         * lyxtext.h: remove unused (and unimplemented) methods
12659
12660 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12661
12662         * text.C (getVisibleRow): honor background color
12663
12664         * PainterBase.h:
12665         * Painter.h: remove default color argument for fillRectangle
12666
12667         * text.C (backgroundColor): new method
12668
12669 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * text.C (getVisibleRow): adjust
12672
12673         * font.[Ch] (rectText): new method, metrics
12674         (buttonText): new method, metrics
12675
12676         * PainterBase.[hC]: make rectText and buttonText always draw and take
12677         fewer paramteres.
12678
12679 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12680
12681         * ToolbarDefaults.C (read):
12682         * MenuBackend.C (read): allow escaping in all strings
12683
12684         * BufferView_pimpl.C (insertAndEditInset): new method.
12685         (Dispatch): use insertAndEditInset whenever appropriate.
12686
12687         * BufferView_pimpl.C (insertNote): removed
12688
12689         * BufferView_pimpl.C (smartQuote): new method, moved from
12690         BufferView; if an insetquote cannot be inserted, insert a '"'
12691         character instead.
12692
12693         * BufferView2.C: remove insertCorrectQuote();
12694
12695         * lyxfunc.C (getStatus): Add support for all remaingin
12696         inset-insert lfuns.
12697
12698         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12699
12700         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12701         command (necessary to pass " as parameter of self-insert.
12702
12703         * text.C (selectWordWhenUnderCursor):
12704         (selectWord): add word_location parameter
12705         (selectWordWhenUnderCursor): same + remove special code for word
12706         boundary.
12707         (selectNextWord): use kind() to guess type of insetspecialchar,
12708         not latex().
12709
12710         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12711         (insertErtContents): create ert insets as collapsed.
12712         (readInset): better compatibility code for Info inset.
12713
12714 2001-07-20  Juergen Vigna  <jug@sad.it>
12715
12716         * lyxfunc.C (dispatch): use always LyXFind now!
12717
12718         * text2.C (init): add a reinit flag so that the LyXText can be
12719         reinited instead of deleted and reallocated (used in InsetText).
12720
12721         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12722
12723         * text.C: ditto
12724
12725         * text2.C: ditto
12726
12727 2001-07-18  Juergen Vigna  <jug@sad.it>
12728
12729         * text.C (selectNextWord): handle insets inside inset by calling
12730         always the bv->text functions so that we can go up the_locking_inset!
12731
12732         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12733         in strange locations when inside an inset!
12734
12735         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12736         handling to include insets.
12737
12738         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12739
12740 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * LyXAction.C (init):
12743         * commandtags.h:
12744         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12745         LIGATURE_BREAK, since the name is so stupid.
12746
12747 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12750         InsetInfos.
12751
12752         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12753
12754         * sp_form.[Ch]: remove.
12755
12756         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12757
12758         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12759         InsetInfo.
12760
12761         * src/buffer.C (readInset): ditto.
12762
12763 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12764
12765         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12766         menuSeparator(), endOfSentenceDot(), ldots() and
12767         hyphenationPoint(), which are therefore removed.
12768         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12769
12770         * LyXAction.C (init):
12771         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12772
12773         * paragraph.C (getWord): removed.
12774
12775         * BufferView_pimpl.C (Dispatch): use last word or selection for
12776         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12777
12778         * lyx_main.C (queryUserLyXDir): do not ask before creating
12779         user_dir, except if it has been named explicitely.
12780
12781 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12784         a document of zero size.
12785
12786 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12787
12788         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12789         approriately in the c-tor and in require().
12790         (getPackages): output the appropriate LaTeX for natbib support.
12791
12792         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12793         variables "use_natbib" and "use_numerical_citations" when reading the
12794         LyX file.
12795         (readInset): read the various natbib cite commands.
12796         (validate): white-space change.
12797
12798         * bufferparams.[Ch]: new variables "bool use_natbib" and
12799         "bool use_numerical_citations".
12800         (writeFile): output them in the LyX file.
12801
12802 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12803
12804         * lyxfunc.C (getStatus): add support for all the inset insertion
12805         commands.
12806
12807         * text2.C (insertInset):
12808         * paragraph.C (insetAllowed):
12809         * BufferView_pimpl.C (insertInset): update to take in account the
12810         renaming of insertInsetAllowed
12811
12812         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12813
12814         * text2.C (getInset): new method. returns inset at cursor position.
12815
12816         * BufferView_pimpl.C (Dispatch): changes because of this.
12817
12818         * LyXAction.C (init): rename open-stuff to inset-toggle.
12819
12820         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12821
12822         * text2.C (toggleInset): renamed from openStuff; use
12823         Inset::open().
12824
12825 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12826
12827         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12828
12829         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12830
12831 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * buffer.C (readLyXformat2): Add filename to the error dialog
12834
12835 2001-07-18  Juergen Vigna  <jug@sad.it>
12836
12837         * tabular.C (GetCellNumber): put an assert here instead of the check!
12838
12839 2001-07-17  Juergen Vigna  <jug@sad.it>
12840
12841         * BufferView_pimpl.C (toggleSelection): adapted too.
12842
12843         * text.C (selectNextWord): adapted for use with insets.
12844         (selectSelectedWord): ditto
12845
12846 2001-07-17  Juergen Vigna  <jug@sad.it>
12847
12848         * sp_spell.C (PSpell): fix initialitation order.
12849
12850 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * paragraph.C: spacing
12853
12854 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12855
12856         * sp_spell.C: repair language selection for pspell
12857
12858 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * lyxfunc.h: change more methods to begin with lower char.
12861
12862 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12865         for unknown layouts.
12866
12867 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * buffer.C (readLyXformat2): Generate an error dialog if there are
12870         unknown layouts.
12871
12872 2001-07-16  Juergen Vigna  <jug@sad.it>
12873
12874         * sp_spell.C: always compile ISpell part.
12875
12876         * lyxrc.C: added use_pspell entry and it's handling.
12877
12878 2001-07-13  Juergen Vigna  <jug@sad.it>
12879
12880         * sp_spell.C: removed double includes.
12881
12882 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12883
12884         Consistent use of Lsstream.h:
12885         * Lsstream.h: added using std::stringstream for consistencies sake.
12886
12887         * buffer.C: removed using std::stringstream
12888
12889         * lyxfont.C (stateText):
12890         * paragraph.C (asString):
12891         * text.C (selectNextWord, selectSelectedWord):
12892         * text2.C (setCounter):
12893         * vspace.C (asString, asLatexString):
12894         std::ostringstream -> ostringstream.
12895
12896 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12897
12898         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12899         * commandtags.h: add LFUN_HELP_ABOUTLYX
12900         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12901
12902 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12903
12904         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12905         cursorToggle()
12906         * lyx_gui_misc.C: remove spellchecker
12907         * lyxfunc.C: showSpellchecker
12908         * sp_base.h: added
12909         * sp_ispell.h: added
12910         * sp_pspell.h: added
12911         * sp_spell.C: added
12912         * sp_form.[Ch]: removed
12913         * spellchecker.[Ch]: removed
12914
12915 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12916
12917         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12918         is set.
12919         (simpleTeXSpecialChars): Simply print the input character without
12920         any special translation if pass_thru is set.
12921
12922         * layout.h: Added bool pass_thru to layout class for being able to
12923         implement pass through of a paragraph for Literate Programming.
12924
12925         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12926         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12927         * layout.C (Read): add "passthru" to list of layout tags and add
12928         code to set the pass_thru boolean when it is read.
12929
12930 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * trans_decl.h: remove allowed from KmodInfo
12933
12934         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12935         remove allowed code
12936         (Load): adjust
12937
12938         * paragraph_pimpl.C (erase): use boost::prior
12939
12940         * Painter.C (text): use data() instead of c_str() when length is
12941         also provided.
12942         * WorkArea.C (putClipboard): ditto
12943         * font.h (width): ditto
12944
12945         * BufferView2.C: use it-> instead of (*it). for iterators
12946         * texrow.C: ditto
12947         * paragraph_pimpl.C: ditto
12948         * paragraph.C: ditto
12949         * minibuffer.C: ditto
12950         * language.C: ditto
12951         * kbmap.C: ditto
12952         * encoding.C: ditto
12953         * counters.C: ditto
12954         * converter.C: ditto
12955         * chset.C: ditto
12956         * Variables.C: ditto
12957         * TextCache.C: ditto
12958         * MenuBackend.C: ditto
12959         * LyXAction.C: ditto
12960         * LColor.C: ditto
12961         * FloatList.C: ditto
12962         * DepTable.C: ditto
12963         * ColorHandler.C (LyXColorHandler): ditto
12964
12965 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12968
12969         * text2.C (openStuff): reintroduce this method (which had been
12970         nuked in NEW_INSETS frenzy).
12971
12972         * lyxfunc.C (Dispatch): when an action has not been handled, use
12973         its name in the error message, not its number.
12974
12975         * paragraph.C (inInset): change method name to begin with lowercase.
12976
12977         * undo_funcs.C:
12978         * text2.C: updates because of this.
12979
12980 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * ToolbarDefaults.C (add): add spaces in error message
12983
12984 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12985
12986         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12987         (readLyXformat2): rename return_par to first_par, use lyxlex's
12988         pushToken and remove the manual push handling.
12989         (parseSingleLyXformat2Token): add another ert comp. variable:
12990         in_tabular, rename return_par to first_par. handle newlines better
12991
12992 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12995
12996 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * text2.C (getParFromID): removed
12999
13000         * buffer.C (getParFromID): new method moved form lyxtext.
13001         * BufferView2.C (insertErrors): adjust
13002         (setCursorFromRow): adjust
13003         * BufferView_pimpl.C (restorePosition): adjust
13004         * lyxfunc.C (Dispatch): adjust
13005         * undo_funcs.C (textUndo): adjust
13006         (textRedo): adjust
13007         (textHandleUndo): adjust
13008         (textHandleUndo): adjust
13009
13010 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * buffer.C: up' the LYX_FORMAT
13013
13014         * lyxfont.h: turn NO_LATEX on as default
13015
13016         * buffer.C (insertErtContents): new methods of tex style compability.
13017         (parseSingleLyXformat2Token): use it several places.
13018         * tabular.C (OldFormatRead): and here
13019
13020 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * text2.C: remove some commented code.
13023         reindent file.
13024
13025         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13026         * trans.C: changes because of the above.
13027
13028 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * text2.C (setCounter): Fix counters bug with bibliography layout.
13031
13032 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13035         own member functions
13036         (simpleTeXSpecialChars): ditto
13037
13038 2001-07-06  Juergen Vigna  <jug@sad.it>
13039
13040         * a lot of files: changed the access to LyXText::status and the
13041         call of undo-functions.
13042
13043         * undo.[Ch]: added a inset_id to the undo informations.
13044
13045         * undo_funcs.[Ch]: added and moved here all undo functions.
13046
13047         * lyxtext.h: give the status enum a weight, made status_ a private
13048         variable and made accessor functions for it, removed the whole bunch
13049         of undo-functions as they are now in their own file, make some
13050         functions publically available. Added function ownerParagraph with
13051         int parameter.
13052
13053         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13054         made InInset() a const function, added getParFromID() function.
13055
13056         * buffer.[Ch]: added const version for inset_iterator functions,
13057         added getInsetFromID() function.
13058
13059         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13060         changed undo functions for new version.
13061
13062 2001-07-05  Juergen Vigna  <jug@sad.it>
13063
13064         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13065         unknow mechanism does not call the proper constructor but only this
13066         one also if I request the other!?
13067
13068 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13071
13072         * text2.C (LyXText): use initialization lists.
13073
13074         * lyxtext.h (Selection): initialize set_ and mark_
13075         (init): remove method
13076
13077 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13080
13081 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * screen.[Ch]: change method names to begin with lowercase
13084
13085         * BufferView_pimpl.C (updateScrollbar): simplify further and
13086         hopefully make it a bit faster.
13087
13088 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13091         calling directly xforms functions.
13092
13093         * Painter.C (Painter):
13094         * lyx_cb.C (MenuWrite):
13095         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13096         fl_display.
13097
13098         * lyx_gui.C: remove bogus guiruntime extern declaration.
13099
13100 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13103         in NEW_INSETS
13104         (redoDrawingOfParagraph): ditto
13105         (redoParagraphs): ditto
13106         (cutSelection): don't create a object for CutAndPaste use the
13107         static method directly
13108         (pasteSelection): ditto
13109
13110         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13111         LyXview (+ rename)
13112
13113 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * modifications to some other files because of this.
13116
13117         * Makefile.am (lyx_SOURCES): add XFormsView
13118
13119         * XFormsView.[Ch]: new files
13120
13121         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13122         the main window. Move the gui dependent stuff to XFormsView
13123
13124 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * tabular.C (GetCellInset): update cur_cell also in the row/col
13127         version of this function.
13128
13129         * lyxfunc.C: no need to include figure_form.h here.
13130
13131         * FontLoader.h:
13132         * lyxfunc.h:
13133         * lyxscreen.h:
13134         * text2.C:
13135         * lyxvc.C: no need to include forms.h here.
13136
13137 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13138
13139         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13140
13141         * lyxfunc.C (Dispatch):
13142         * Spacing.C (set):
13143         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13144         constructor argument.
13145
13146 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * paragraph.C (Paragraph): dont't clear, and just set layout.
13149         (makeSameLayout): use params's copy contructor.
13150
13151         * ParagraphParameters.[Ch] (makeSame): delete method
13152
13153 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * Variables.[Ch]: fix indentation, rename set to isSet
13156
13157 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * lyxfunc.C (Dispatch): fix typo
13160
13161 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13162
13163         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13164         upper_bound.
13165
13166         * bufferlist.C: include assert.h for emergencyWrite().
13167
13168 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13171           give up at last (bug #425202) !
13172
13173 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * lyx_gui_misc.C:
13176         * sp_form.h:
13177         * sp_form.C:
13178         * spellchecker.h:
13179         * spellchecker.C: strip spellchecker options and bring up
13180           preferences tab instead
13181
13182 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13185         the istringstream constructor
13186
13187 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * paragraph.C (getLayout): fix return value
13190
13191         * paragraph.h: do not declare getLayout as inline.
13192
13193         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13194
13195 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * lyxcursor.h (operator<): new func
13198         (operator>): new func
13199         (operator>=): new func
13200         (operator<=): new func
13201
13202         * text.C (changeCase): use selection.start and selection.end
13203         (changeRegionCase): require from to be <= to. Require par to be a
13204         valid paragraph.
13205
13206         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13207
13208 2001-06-27  Juergen Vigna  <jug@sad.it>
13209
13210         * text.C (cursorLeftOneWord): changed to return the cursor and added
13211         overlay with BufferView * parameter which calls this one.
13212         (getWord): added
13213         (selectWord): use new getWord function.
13214         (changeCase): renamed from changeWordCase as and extended to work
13215         also on selections.
13216
13217         * lyxtext.h: added enum word_location
13218
13219         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13220         changeCase as this operates now also on selections.
13221
13222 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13223
13224         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13225
13226         * many files: send debug output to Debug::INFO instead of
13227         Debug::ANY.
13228
13229         * converter.C (View):
13230         (Convert):
13231         (Move): send debug output to Debug::FILES instead of console.
13232
13233 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13234
13235         * lyxfunc.C (getStatus): use func_status
13236
13237         * func_status.h: new header, describing the results of
13238         LyXFunc::getStatus;
13239
13240         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13241         LFUN_MATH_HALIGN.
13242
13243 2001-06-25  The LyX Project  <jug@sad.it>
13244
13245         * buffer.C (sgmlOpenTag):
13246         (sgmlCloseTag):
13247         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13248
13249 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * text2.C: remove some dead code
13252
13253         * tabular.C (GetCellInset): store the last cell checked (gotten)
13254
13255         * tabular.h: add the helper for the speedup
13256
13257         * lyxtext.h: remove some dead code
13258
13259 2001-06-26  The LyX Project  <Asger>
13260
13261         * paragraph.C: Change export to LaTeX of alignment to
13262         \begin{center} and family for better roundtrip work with reLyX.
13263
13264         * Tune the math drawing a bit.
13265
13266 2001-06-25  The LyX Project  <Asger>
13267
13268         * LColor.C (LColor): New color for math background. New color
13269         for buttons.
13270
13271 2001-06-25  The LyX Project  <jug@sad.it>
13272
13273         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13274
13275         * lyxfunc.C (Open):
13276         * bufferlist.C (newFile): do not restrict to files ending with
13277         .lyx
13278
13279         * BufferView_pimpl.C (MenuInsertLyXFile):
13280
13281 2001-06-24  The LyX Project  <jug@sad.it>
13282
13283         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13284         of compare_no_case
13285
13286 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * lyxtext.h: rename most methods to begin with a small char.
13289         Lots of changes because of this.
13290
13291         * paragraph.C (Paragraph): do not call fitToSize
13292         (erase): call Pimpl::erase
13293         (insertChar): call Pimpl::insertChar
13294         (insertInset): call Pipl::insertInset
13295         (breakParagraph): do not call fitToSize
13296         (breakParagraphConservative): do not call fitToSize
13297         (fitToSize): remove method
13298
13299         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13300
13301 2001-06-24  The LyX Project  <Asger>
13302
13303         * Fix Qt compilation^2
13304
13305 2001-06-24  The LyX Project  <jug@sad.it>
13306
13307         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13308         depthHook(getDepth()-1).
13309
13310         * paragraph.h:
13311         * ParagraphParameters.h:
13312         * ParameterStruct.h: change type of depth to unsigned int ==
13313         depth_type. Many adaptations to other files before of that.
13314
13315 2001-06-24  The LyX Project  <Asger>
13316
13317         * Fix Qt compilation.
13318
13319 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * paragraph.h: renamed several methods to begin with small letter.
13322         several changes to many parts of the code because of this.
13323
13324 2001-06-23  The LyX Project  <jug@sad.it>
13325
13326         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13327         rewritten to discard all double spaces when KeepEmpty is off
13328         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13329         to only handle newlines but not fiddle with spaces and friends.
13330
13331         * lyxfunc.C (MenuNew): when doing 'new from template', use
13332         template_path as default directory
13333
13334 2001-06-23  The LyX Project  <Asger>
13335
13336         * Clean-up of header file includes all over
13337         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13338
13339 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * paragraph.h: renamed from lyxparagraph.h
13342
13343 2001-06-23  Asger  <lyx@violet.home.sad.it>
13344
13345         * Buffer.h: Removed Buffer::resize
13346         * BufferList.h: Removed BufferList::resize
13347         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13348         the document lazily when we change the width, or the font settings.
13349
13350 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13353
13354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * buffer.h: remove out of date comment
13357
13358 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * lyxscreen.h:
13361         * screen.C: fix "theoretical" GC leak
13362
13363 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * LaTeX.C (scanAuxFile):
13366         (deplog): remove trailing \r when reading stream (useful under
13367         win32)
13368
13369 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13372         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13373         and BufferView::theLockingInset(Inset*), so should use them and not
13374         access bv_->text->the_locking_inset directly.
13375
13376         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13377
13378 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * Makefile.am:
13381         * tex-defs.h: remove old unused file
13382
13383 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * BufferView_pimpl.C: fix typo, remove minibuffer message
13386           when buffer has loaded
13387
13388 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * lyxfunc.C (Dispatch): use stringstream
13391         (MenuNew): use stringstream
13392         (Open): use stringstream
13393
13394         * importer.C (Import): use stringstream
13395
13396         * bufferview_funcs.C (CurrentState): use stringstream
13397
13398         * LaTeX.C (run): use stringstream
13399
13400         * BufferView_pimpl.C (savePosition): use stringstream
13401         (restorePosition): use stringstream
13402         (MenuInsertLyXFile): use stringstream
13403
13404 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * BufferView.C:
13407         * Bullet.C:
13408         * ColorHandler.C:
13409         * FontInfo.C:
13410         * FontLoader.C:
13411         * LColor.C:
13412         * LaTeXFeatures.C:
13413         * Painter.C:
13414         * gettext.C:
13415         * lyx_gui_misc.C:
13416         * lyxserver.C:
13417         * vspace.C: removed // -*- C++ -*- as first line.
13418
13419         * lyxfind.h:
13420         * version.h: added // -*- C++ -*- as first line.
13421
13422 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13425
13426         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13427         of string
13428
13429 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13432         of floats.
13433
13434 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * gettext.C: include LString.h even when --disable-nls is on.
13437
13438 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * converter.h (Get): changed argument type from int to
13441         FormatList::size_type to avoid unnecessary conversion.
13442
13443         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13444         before using it.
13445
13446 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13447
13448         * gettext.h: include LString.h even when --disable-nls is on.
13449
13450 2001-06-07  Juergen Vigna  <jug@sad.it>
13451
13452         * text.C (BreakAgain): subst spaces with tabs.
13453
13454         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13455         (resizeInsetsLyXText): set force on resizeLyXText.
13456
13457 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * gettext.h (gettext_init):
13460         (locale_init): use a real definition instead of a macro
13461
13462 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * Bufferview_pimpl.C:
13465         * LColor.h:
13466         * LColor.C: further lcolor tidies
13467
13468 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * BufferView_pimpl.C (updateScrollbar): simplify.
13471
13472         * BufferView2.C: don't include insets/insetinfo.h, change
13473         prototype for insertInset and call the Pimpl version. let
13474         updateInset call Pimpl version.
13475
13476         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13477         gotoInset to BufferView::Pimpl
13478
13479 2001-06-01  Juergen Vigna  <jug@sad.it>
13480
13481         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13482         inside a LockingInset (is the update needed at all?).
13483
13484 2001-05-31  Juergen Vigna  <jug@sad.it>
13485
13486         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13487         here not the old one otherwise how should we compare it afterwards
13488         if it's the same!
13489
13490 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * lyxfont.C:
13493         * tabular.C:
13494         * tabular-old.C:
13495         * FontInfo.C: bring C functions into global namespace when
13496         necessary
13497
13498 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * LString.h: make sure config.h has been loaded before LString.h.
13501
13502         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13503         (one for each char read by EatLine!).
13504
13505         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13506         variables.
13507
13508 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13511         to the same as the par we break from
13512
13513 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13516
13517         * MenuBackend.C (expand): also create menu entries for wide
13518         versions of the floats.
13519
13520         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13521
13522         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13523
13524         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13525         frontends/Makefile.am
13526
13527         * text2.C: adjust
13528         * text.C: adjust
13529
13530
13531         * tabular.C (getTokenValue): add std::
13532
13533         * tabular-old.C (getTokenValue): add std::
13534         (getTokenValue): ditto
13535         (getTokenValue): ditto
13536
13537         * screen.C (ToggleSelection): adjust
13538
13539         * lyxtext.h: put selection cursors inside a Selection struct.
13540
13541         * lyxfunc.C (moveCursorUpdate): adjust
13542
13543         * lyxfont.C (latexWriteStartChanges): add std::
13544
13545         * lyxfind.C: adjust
13546
13547         * font.h: delete with(char const *, LyXFont const &)
13548
13549         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13550
13551         * FontInfo.C (getFontname): add std::
13552
13553         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13554         (workAreaButtonPress): adjust
13555         (tripleClick): adjust
13556         (update): adjust
13557         (moveCursorUpdate): adjust
13558         (Dispatch): adjust
13559
13560         * BufferView2.C (gotoInset): adjust
13561
13562 2001-05-30  Juergen Vigna  <jug@sad.it>
13563
13564         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13565         to check pspell I add this as default as I now have new pspell
13566         libraries and they seem to use this.
13567
13568 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * text2.C (CutSelection): make the cursor valid before the call to
13571         ClearSelection.
13572
13573 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13576         relied on 0 terminated strings and other horrors. Bug found due to
13577         the new assert in lyxstring!
13578
13579         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13580         KP_ keys.
13581
13582 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13585         to latinkeys.bind.
13586
13587         * lyxfunc.C (processKeySym): change method of getting to the
13588         self-insert char.
13589
13590         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13591         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13592         * BufferView_pimpl.[Ch]: here as private methods.
13593
13594 2001-05-28  Juergen Vigna  <jug@sad.it>
13595
13596         * text.C (SetHeightOfRow): added the update() call again as it is
13597         needed to initialize inset dimensions!
13598
13599 2001-05-16  Juergen Vigna  <jug@sad.it>
13600
13601         * text2.C (SetCharFont): Add new function with BufferView * and
13602         bool toggleall parameters for setting insets internal fonts.
13603         (SetFont): Freeze the undo as we may change fonts in Insets and
13604         all this change should be inside only one Undo!
13605
13606         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13607         setting font's in insets as for them we have the SetFont function!
13608
13609 2001-05-15  Juergen Vigna  <jug@sad.it>
13610
13611         * text2.C (ClearSelection): to be sure we REALLY don't have any
13612         selection anymore!
13613
13614         * tabular.C (TeXCellPreamble): fixed the left border problem for
13615         multicolumn cells.
13616
13617 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13618
13619         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13620         dependancy file
13621
13622 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13625         LFUN_BREAKPARAGRAPH.
13626
13627         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13628         help test to "internal only", similar for LFUN_INSERT_URL
13629
13630         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13631         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13632         auto_region_delete and deadkeys.
13633
13634 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * LColor.h:
13637         * LColor.C: remove some dead entries, tidy a little
13638
13639 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13642         commented code.
13643         (Dispatch): implement LFUN_ESCAPE
13644
13645         * commandtags.h: add LFUN_ESCAPE
13646
13647         * LyXAction.C (init): add entry for LFUN_ESCAPE
13648
13649         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13650         Remove commented code.
13651         (insertNote): moved here
13652         (open_new_inset): moved here
13653
13654         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13655         BufferView_pimpl
13656
13657 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * kbmap.C (findbinding): clean it up and make it work correctly.
13660
13661         * lyx_main.C (init): do not pass argc and argv as parameters
13662
13663 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13664
13665         * buffer.C: fix path for OS/2 & Win32
13666
13667         * lyx_gui.C:
13668         * lyx_main:
13669         * lyx_main.C: Added os:: class.
13670
13671         * os2_defines.h: update
13672
13673 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13676         better by trying again with reduced state.
13677
13678 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * lyxrc.C (read): print error about invalid key sequence only when
13681         debugging (because not all latinX keysyms are known to some X
13682         servers)
13683
13684         * kbsequence.C (getiso): add a few std:: qualifiers
13685         (getiso): comment out extra return statement.
13686
13687 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13690         handling.
13691         (Dispatch): enhance the accent inset a bit. (not perfect)
13692
13693 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13696
13697 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * bufferlist.C (emergencyWrite): fix assert() call
13700
13701 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13702
13703         * text.C (InsertChar): Added trivial patch to only send the "you
13704         can not do multiple spaces this way" message once during a
13705         session.
13706
13707 2001-05-08  Baruch Even  <baruch@lyx.org>
13708
13709         * Makefile.am: Changed order of libraries to get LyX to link properly
13710         with the gnome frontend.
13711
13712 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * LaTeXFeatures.h: add a std:: qualifier
13715
13716 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13717
13718         * paragraph.C (String): use stringstream
13719
13720 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * paragraph.C (writeFile): remove footflag arg
13723
13724         * buffer.C (makeLaTeXFile): use stringstream
13725         (latexParagraphs): remove footnot gurba
13726
13727         * LaTeXFeatures.C (getPackages): use stringstream
13728         (getMacros): likewise
13729         (getTClassPreamble): likewise
13730         (getFloatDefinitions): new method
13731
13732         * paragraph.C (writeFile): reindent
13733         (Erase): reindent
13734
13735         * WorkArea.h: revert the xpos + etc changes.
13736
13737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13738
13739         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13740
13741         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13742         (pasteSelection): likewise
13743         * text2.C (CreateUndo): likewise
13744
13745 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * minibuffer.C (peek_event): temporarily reduce the functionality
13748         of the minibuffer (to allow args on lfuns)
13749
13750         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13751         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13752
13753         * buffer.C (readInset): add compability reading of old float
13754         lists, add reading of new style float list.
13755         (readInset): avoid reevaluation of inscmd.getCmdName()
13756         (getLists): reindent
13757
13758         * MenuBackend.C (MenuItem): implement parsing of
13759         md_floatlistinsert and md_floatinsert.
13760         (expand::LastFiles): move initalizaton of iterators out of loop,
13761         avoid reevaluation.
13762         (expand::Documents): introduce typdedef vector<string> Strings,
13763         and use it.
13764         (expand::ExportFormats): introduce typedef vector<Format const *>
13765         Formats, and use it.
13766         (expand): implement FloatListInsert and FloatInsert.
13767
13768         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13769         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13770         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13771
13772         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13773         handling.
13774         (Dispatch::LFUN_FLOAT_LIST): implement
13775
13776 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13777
13778         * LaTeX.C (run): Fix problem with --export code.
13779
13780 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * BufferView.[Ch] (workarea): removed.
13783         (getClipboard) new method; wrapper for workarea()->getClipboard()
13784
13785         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13786         bug.
13787
13788         * WorkArea.h (width, height, xpos, ypos): These methods all
13789         returned the dimensions of the work_area sub-area of WorkArea,
13790         resulting in a position error if the WorkArea were resized. Now
13791         return the dimensions of the entire WorkArea.
13792
13793         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13794
13795 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * LaTeX.C (deplog): correct the syntax of regex reg1
13798
13799 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * undo.C: remove !NEW_INSETS cruft
13802
13803 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * text2.C: remove !NEW_INSETS cruft
13806
13807         * text.C: remove !NEW_INSETS cruft
13808
13809         * tabular.C: remove !NEW_INSETS cruft
13810
13811         * spellchecker.C: remove !NEW_INSETS cruft
13812
13813         * lyxtext.h: remove !NEW_INSETS cruft
13814
13815         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13816
13817         * lyxfunc.C: remove !NEW_INSETS cruft
13818
13819         * lyxfind.C: remove !NEW_INSETS cruft
13820
13821         * lyx_cb.C: remove !NEW_INSETS cruft
13822
13823         * figureForm.C: remove  !NEW_INSETS cruft
13824
13825         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13826
13827         * buffer.[Ch]: remove !NEW_INSETS cruft
13828
13829         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13830
13831         * CutAndPaste.C: remove !NEW_INSETS cruft
13832
13833         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13834
13835         * BufferView2.C: remove !NEW_INSETS cruft
13836
13837         * BufferView.h: remove !NEW_INSETS cruft
13838
13839 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * Lsstream.h: include LString.h before the sstream headers to
13842         fix problem with gcc 2.95.3 and lyxstring
13843
13844 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * lyx_main.C: add using directives when needed for C functions
13847         declared in std:: namespace.
13848
13849 2001-04-27  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13852         (SetHeightOfRow): comment out the update call should not be needed!
13853
13854 2001-04-13  Juergen Vigna  <jug@sad.it>
13855
13856         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13857         (LyXTabular): tried to minimize operator= operations (and realized
13858         hopfully Lars wish).
13859
13860 2001-04-27  Juergen Vigna  <jug@sad.it>
13861
13862         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13863
13864 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13867
13868         * buffer.C (readInset): hack to make listof algorithm work
13869
13870         * BufferView_pimpl.C: hack to make listof algorithm work
13871
13872 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13873
13874         * LyXAction.C: removed all !NEW_INSETS cruft
13875         (init): moved lfun_item in method
13876
13877         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13878
13879 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         * BufferView2.C (theLockingInset): white space.
13882
13883 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13884
13885         * minibuffer.C: include <iostream>
13886
13887         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13888
13889         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13890
13891         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13892
13893         * text.[Ch] (TransposeChars): new method
13894
13895 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13896
13897         * call message directly through LyXView instead of through LyXFunc
13898         * BufferView2.C: adjust
13899         * BufferView_pimpl.C: adjust
13900         * FontLoader.C: adjust
13901         * buffer.C: adjust
13902         * bufferview_funcs.C: adjust
13903         * converter.C: adjust
13904         * figureForm.C: adjust
13905         * importer.C: adjust
13906         * lyx_cb.C: adjust
13907         * lyx_gui_misc.C: adjust
13908         * lyxfunc.C: adjust
13909         * lyxvc.C: adjust
13910         * text2.C: adjust
13911         + more files in subdirs
13912
13913         * lyxparagraph.h (size): move up int file
13914         (GetLayout): ditto
13915
13916         * adjust all uses of Assert to lyx::Assert.
13917
13918         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13919         lyxfunctional in namespace lyx
13920         * layout.C (hasLayout): ditto
13921         (GetLayout): ditto
13922         (GetLayout): ditto
13923         (delete_layout): ditto
13924         (NumberOfClass): ditto
13925         * converter.C (GetFormat): ditto
13926         (GetNumber): ditto
13927         (Add): ditto
13928         (Delete): ditto
13929         (SetViewer): ditto
13930         * bufferlist.C (getFileNames): ditto
13931         (emergencyWriteAll): ditto
13932         (exists): ditto
13933         (getBuffer): ditto
13934         * MenuBackend.C (hasSubmenu): ditto
13935         (hasMenu): ditto
13936         (getMenu): ditto
13937         * BufferView_pimpl.C (getInsetByCode): ditto
13938
13939 2001-04-18  Juergen Vigna  <jug@sad.it>
13940
13941         * vspace.C (asLatexString): fixed the 100% problem.
13942
13943 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * lyxfunc.C (Dispatch):
13946         * minibuffer.C:
13947         * minibuffer.h: add a few std:: qualifiers
13948
13949 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * minibuffer.[Ch]: reimplement so that commands is initiated and
13952         run from lyxfunc, simplified som handling, and made the completion
13953         and history code for complete. wip.
13954
13955         * lyxfunc.C (processKeySym): call message
13956         (miniDispatch): new temporary method
13957         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13958         (LFUN_MESSAGE): implement
13959         (LFUN_MESSAGE_PUSH): implement
13960         (LFUN_MESSAGE_POP): implement
13961         (initMiniBuffer): the initial/defualt minibuffer message.
13962
13963         * lyxfont.[Ch]: inline some more getters
13964
13965         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13966
13967         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13968
13969         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13970         (AutoSave): use LFUN_MESSAGE
13971         (Reconfigure): ditto
13972
13973         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13974
13975         * figureForm.C: use LFUN_MESSAGE
13976
13977         * converter.C (runLaTeX): use LFUN_MESSAGE
13978
13979         * bufferview_funcs.C: use LFUN_MESSAGE
13980         (Melt): ditto
13981         (changeDepth): ditto
13982
13983         * bufferparams.h: use boost::
13984
13985         * bufferlist.h: inherit privately from noncopyable
13986
13987         * bufferlist.C (loadLyXFile): remove some commented code.
13988
13989         * buffer.C (runChktex): use LFUN_MESSAGE
13990
13991         * ShareContainer.h: inherit privately from noncopyable
13992
13993         * ParagraphParameters.[hC] (depth): inline it.
13994
13995         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13996         methods.
13997         (message): new method
13998         (messagePush): ditto
13999         (messagePop): ditto
14000         (show): init minibuffer
14001         (showState): direct call
14002
14003         * LaTeX.[Ch]: inherit privately from noncopyable
14004         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14005         instead of WriteStatus.
14006
14007         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14008
14009         * BufferView_pimpl.C (buffer): don't init minibuffer
14010         (workAreaButtonPress): use LFUN_MESSAGE
14011         (workAreaButtonRelease): ditto
14012         (savePosition): ditto
14013         (restorePosition): ditto
14014         (MenuInsertLyXFile): ditto
14015         (workAreaExpose): don't init minibuffer
14016         (update): remove commented code, simplify
14017
14018         * BufferView2.C (openStuff): use LFUN_MESSAGE
14019         (toggleFloat): ditto
14020         (menuUndo): ditto
14021         (menuRedo): ditto
14022         (copyEnvironment): ditto
14023         (pasteEnvironment): ditto
14024         (copy): ditto
14025         (cut): ditto
14026         (paste): ditto
14027         (gotoInset): ditto
14028         (updateInset): remove some commented code
14029
14030         * lastfiles.h: inherit privately from noncopyable
14031         * layout.h: ditto
14032         * lyx_gui.h: ditto
14033         * lyx_main.h: ditto
14034         * lyxlex.h: ditto
14035         * lyxlex_pimpl.h: ditto
14036
14037         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14038         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14039         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14040
14041         * LyXAction.h: inherit privately from noncopyable, add methods
14042         func_begin, func_end, returning iterators to the func map.
14043
14044         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14045         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14046         (func_begin): new method
14047         (func_end): new method
14048
14049         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14050         and not)
14051         (copySelection): ditto
14052         (pasteSelection): ditto
14053
14054         * BufferView.C: whitespace change
14055         * BufferView.h: inherit privately from noncopyable
14056
14057 2001-04-16  Allan Rae  <rae@lyx.org>
14058
14059         * tabular-old.C (l_getline):
14060         * spellchecker.C (sc_check_word):
14061         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14062         an unrecognised preprocessor directive.  So ensure they're wrapped.
14063
14064 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * src/exporter.C (Export): Give an error message when path to file
14067         contains spaces.
14068
14069 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * LaTeX.C (deplog): Always check that foundfile exists.
14072
14073 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * lyx_main.h:
14076         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14077
14078 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * tabular.[Ch] (getLabelList): implement new method
14081
14082         * minibuffer.h: comment ouf setTiimer
14083
14084         * minibuffer.C (ExecutingCB): constify res
14085         (peek_event): constify s
14086         (Set): constify ntext
14087         (Init): constify nicename
14088
14089         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14090
14091         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14092         (savePosition): use two params to Minibuffer::Set
14093         (restorePosition): ditto
14094
14095 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * lyx_main.C: include language.h
14098
14099         * Makefile.am (lyx_main.o): add language.h
14100
14101 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * exporter.C:
14104         * paragraph.C:
14105         * screen.C:
14106         * tabular.C:
14107         * CutAndPaste.C: include gettext.h
14108
14109         * lyxfont.h: remove old hack with ON and OFF.
14110
14111         * lyxparagraph.h:
14112         * lyxfont.h: do not include language.h...
14113
14114         * BufferView2.C:
14115         * LaTeXFeatures.C:
14116         * Painter.C:
14117         * bufferview_funcs.C:
14118         * font.C:
14119         * lyxfont.C:
14120         * text.C:
14121         * text2.C:
14122         * trans_mgr.C:
14123         * paragraph.C: ... but do it here instead
14124
14125 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14126
14127         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14128
14129         * tabular.C: small reformat
14130
14131         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14132         NEW_INSETS version
14133         (GetChar): ditto
14134         (BreakParagraph): ditto
14135         (SetOnlyLayout): ditto
14136         (SetLayout): ditto
14137
14138         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14139         with one arg less.
14140
14141         * lastfiles.C: removed most using decl, add std:: where needed
14142
14143         * buffer.C: ws changes
14144
14145         * MenuBackend.C (class compare_format): put into anon namespace
14146         (expand): constify label, names, action, action2
14147         (expand):
14148
14149         * text.C (SingleWidth): constify font
14150         (IsBoundary): constify rtl2
14151         (GetVisibleRow): constify ww
14152
14153         * LaTeX.C (deplog): constify logfile
14154
14155         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14156         start_x, end_x
14157         (workAreaExpose): constify widthChange, heightChange
14158
14159         * lyxrow.C (par): moved
14160         (height): moved
14161         (next): moved
14162         * lyxrow.h: as inlines here
14163
14164         * lyxfont.h (shape): moved from lyxfont.C
14165         (emph): moved from lyxfont.C
14166
14167         * lyxfont.C (LyXFont): use initialization list for all
14168         constructors
14169         (shape): move to lyxfont.h as inline
14170         (emph): move to lyxfont.h as inline
14171
14172
14173 2001-04-04  Juergen Vigna  <jug@sad.it>
14174
14175         * vspace.C: had to include stdio.h for use of sscanf
14176
14177 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14178
14179         * BufferView.h:
14180         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14181         independent of xforms.
14182
14183 2001-04-02  Juergen Vigna  <jug@sad.it>
14184
14185         * spellchecker.C: fixed namespace placing!
14186
14187 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14188
14189         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14190         the LyXParagraph * is 0.
14191
14192 2001-03-29  Juergen Vigna  <jug@sad.it>
14193
14194         * vspace.C: added support for %, c%, p%, l%.
14195         (stringFromUnit): added helper function.
14196         (asLatexString): changed to give right results for the %-values.
14197
14198         * buffer.C: convert the widthp in a width%.
14199
14200 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14201
14202         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14203         figureForm.[Ch].
14204
14205         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14206         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14207
14208         * lyx_cb.[Ch]: see above.
14209
14210         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14211         form1.[Ch].
14212
14213         * form1.[Ch]:
14214         * lyx.[Ch]: replaced by figure_form.[Ch].
14215
14216         * lyx_gui.C:
14217         * lyx_gui_misc.C:
14218         * lyxfunc.C: changed headers associated with above changes.
14219
14220 2001-03-27  Juergen Vigna  <jug@sad.it>
14221
14222         * BufferView_pimpl.C: set the temporary cursor right!
14223
14224 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14225
14226         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14227
14228 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14229
14230         * LString.h: removed "using std::getline"!
14231
14232         * BufferView_pimpl.C (Dispatch): changes due to changes in
14233         InsetInclude::Params.
14234
14235         * buffer.C (tag_name): removed redundant break statements as they were
14236         producing lots of warnings with my compiler.
14237
14238 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * LString.h: add "using std::getline" when using the real <string>.
14241
14242 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14243
14244         * buffer.C: removed bitset usage.
14245         PAR_TAG moved to an anonymous name space.
14246         (tag_name): new funtion, also in the anonymous namespace.
14247         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14248         (makeDocBookFile): clean code. Completed transition from string arrays
14249         to string vectors.
14250         (SimpleDocBookOnePar): code clean.
14251
14252 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14253
14254         * tabular.C: add some comments.
14255
14256 2001-03-22  Juergen Vigna  <jug@sad.it>
14257
14258         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14259         compatibility read a bit and fixed bug with minipage in different
14260         depth.
14261
14262 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14263
14264         * buffer.C (pop_tag): removed.
14265         (push_tag): removed.
14266         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14267         array replaced with vector. Added support for CDATA sections.
14268         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14269         at any nest level.
14270         (makeDocBookFile): XML conformant declaration of CDATA section,
14271         fixed bug related to <emphasis> in the first paragraph char.
14272         (sgmlOpenTag): exclude empty tags.
14273         (sgmlCloseTag): ditto.
14274
14275         * buffer.h (pop_tag): removed.
14276         (push_tag): removed.
14277
14278 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14279
14280         * language.h (Languages): added size_type and size().
14281
14282 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14283
14284         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14285         response on compability reading of minipages. One probliem is that
14286         the old usage of minipages was «flertydig»
14287
14288         * several files here and in subdirs: don't use static at file
14289         scope use anon namespaces instead.
14290
14291 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14292
14293         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14294         LaTeX output. This is necessary for Literate document
14295         processing.
14296
14297 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14298
14299         * buffer.C: insert hfill when needed.
14300
14301         * tabular.C (l_getline): use string::erase, small whitespace change.
14302
14303         * BufferView_pimpl.C: try the anon namespace.
14304         * WorkArea.C: ditto
14305
14306 2001-03-16  Juergen Vigna  <jug@sad.it>
14307
14308         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14309         otherwise it won't open options-dialogs.
14310
14311         * buffer.C: honor pextraWidth(p) on converting minipages.
14312
14313         * tabular.C (l_getline): changed the functions to strip trailing \r.
14314
14315 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14316
14317         * BufferView_pimpl.C:
14318         * minibuffer..C: added "using SigC::slot" declaration.
14319
14320 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14321
14322         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14323
14324         * text2.C: ditto
14325
14326         * text.C: ditto
14327
14328         * paragraph.C: ditto
14329
14330         * lyxtext.h: NO_PEXTRA
14331
14332         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14333
14334         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14335         * ParameterStruct.h: ditto
14336         * ParagraphParameters.h: ditto
14337         * lyxparagraph.h: ditto
14338
14339 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14340
14341         * buffer.C: add compability for minipage alignment.
14342         (latexParagraphs): remove unwanted pextra check.
14343
14344         * several files: remove CXX_WORKING_NAMESPACES
14345
14346         * buffer.C (pop_tag): tie is in namespace boost
14347
14348         * BufferView.h: noncopyable is in namespace boost
14349         * lyxlex.h: ditto
14350         * lyx_main.h: ditto
14351         * lyx_gui.h: ditto
14352         * layout.h: ditto
14353         * lastfiles.h: ditto
14354         * bufferlist.h: ditto
14355         * ShareContainer.h: ditto
14356         * LyXView.h: ditto
14357         * LyXAction.h: ditto
14358         * LaTeX.h: ditto
14359
14360 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * Merging changes from BRANCH_MVC back into HEAD.
14363
14364         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14365
14366 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * BufferView_pimpl.C: change from intl.C
14369
14370         * combox.h:
14371         * combox.C:
14372         * Makefile.am: move combox.*
14373
14374         * form1.h:
14375         * form1.C:
14376         * lyx_gui.C:
14377         * intl.h:
14378         * intl.C: remove dialog (covered by prefs)
14379
14380 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14381
14382         * lyxfunc.C (Dispatch): removed redundant break statement.
14383
14384 2001-03-14  Juergen Vigna  <jug@sad.it>
14385
14386         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14387
14388 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14389
14390         * buffer.C: add hack to fix compability reading of minipages.
14391
14392 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * buffer.C (getLists): Cleanup.
14395
14396 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * lyxfont.C (update): don't honor toggleall on font size.
14399
14400 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * bmtable.c:
14403         * bmtable.h:
14404         * Makefile.am: moved to frontends/xforms/
14405
14406         * lyx_gui_misc.C:
14407         * lyxfunc.C:
14408         * BufferView_pimpl.C: changes for moved mathpanel
14409
14410 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * gettext.h: fix gettext_init() in --disable-nls
14413
14414 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14417
14418 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * lyx.C:
14421         * lyx.h: strip external form
14422
14423 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14424
14425         * BufferView_pimpl.C: add comment, destroySplash()
14426
14427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * BufferView_pimpl.C:
14430         * LyXAction.C:
14431         * buffer.C:
14432         * commandtags.h:
14433         * lyxfunc.C: use re-worked insetinclude
14434
14435 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14436
14437         * buffer.C: add using std::stringstream.
14438
14439         * lyx_cb.C: readd using std::ios.
14440
14441         * buffer.C: add using std::map.
14442
14443         * BufferView_pimpl.C: add using std::vector.
14444
14445         * ShareContainer.h: add std:: to swap.
14446
14447         * buffer.h: add some typedefs
14448         * buffer.C (getLists): use them
14449         (getLists): renamed from getTocList.
14450         add a counter for the different float types and use it in the
14451         generated string.
14452         (getLists): use the same counter for the NEW_INSETS and the "non"
14453         NEW_INSETS
14454
14455         * lyx_cb.h: remove unused items, includes, using etc.
14456
14457         * ShareContainer.h: remove some commented code, add more comments
14458         and "documentation".
14459
14460 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14461
14462         * buffer.C (getTocList): make the list also when NEW_INSETS is
14463         defined.
14464
14465         * buffer.h: remove TocType
14466
14467         * buffer.C (getTocList): change to return a map<string,
14468         vector<TocItem> >, implement for dynamic number of list.
14469
14470         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14471         * text2.C (PasteSelection): adjust
14472         * CutAndPaste.C (pasteSelection): adjust
14473
14474         * FloatList.C (FloatList): update from the new_insets branch.
14475         * Floating.[Ch]: ditto
14476         * LaTeXFeatures.C: ditto
14477         * buffer.C: ditto
14478         * lyxlex_pimpl.C: ditto
14479
14480         * paragraph.C (Last): remove when NEW_INSETS is defined.
14481
14482         * other file: changes because of the above.
14483
14484 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14485
14486         * lyxparagraph.h: rename next to next_, previous to previous_,
14487         make them private for NEW_INSETS. Rename Next() to next(),
14488         Previous() to previous().
14489
14490         * other files: changes because of the above.
14491
14492 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * BufferView.h:
14495         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14496         problem.
14497
14498 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * main.C (main): pass lyx_localedir to gettext_init().
14501
14502         * gettext.h: remove locale_init and gettext_init macros
14503
14504         * gettext.C (locale_init): new function
14505         (gettext_init): new function
14506
14507         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14508         setlocale().
14509
14510 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14511
14512         * Moved credits to frontends:
14513         * credits.[Ch]: removed
14514         * credits_form.[Ch]: removed
14515         * lyx_gui_misc.C: remove credits stuff
14516         * Makefile.am:
14517
14518 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14519
14520         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14521
14522         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14523         unneeded destructor.
14524
14525         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14526         a standalone pointer again.
14527
14528         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14529
14530 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14531
14532         * Makefile.am:
14533         * filedlg.h:
14534         * filedlg.C:
14535         * LyXAction.C:
14536         * ToolbarDefaults.C:
14537         * bufferlist.C:
14538         * commandtags.h:
14539         * form1.C:
14540         * form1.h:
14541         * lyx_cb.C:
14542         * lyx_cb.h:
14543         * lyxfunc.h:
14544         * lyxfunc.C:
14545         * BufferView_pimpl.C: use new file dialog in GUII
14546
14547         * lyx_cb.h:
14548         * lyx_cb.C: remove LayoutsCB to Toolbar
14549
14550 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * ShareContainer.h (get): add std:: qualifier
14553
14554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * ShareContainer.h: define a proper ShareContainer::value_type
14557         type (and use typename to please compaq cxx)
14558
14559 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14560
14561         * lyxparagraph.h: move serveral local vars to
14562         ParameterStruct/ParagraphParameters., use ShareContainer in
14563         FontTable., make vars in FontTable private and add getter and
14564         setter.
14565
14566         * paragraph.C: changes because of the above.
14567
14568         * lyxfont.h: remove copy constructor and copy assignment. (the
14569         default ones is ok), move number inside FontBits. move inlines to
14570         lyxfont.C
14571
14572         * lyxfont.C: add number to initializaton of statics, move several
14573         inlines here. constify several local vars. some whitespace
14574         cleanup. Dont hide outerscope variables.
14575
14576         * Spacing.h: add two new constructors to match the set methods.
14577
14578         * ShareContainer.h: new file, will perhaps be moved to support
14579
14580         * ParameterStruct.h: new file
14581
14582         * ParagraphParameters.h: new file
14583
14584         * ParagraphParameters.C: new file
14585
14586         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14587         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14588
14589         * BufferView_pimpl.C: ParagraphParameter changes.
14590         * buffer.C: Likewise.
14591         * bufferview_funcs.C: Likewise.
14592         * text.C: Likewise.
14593         * text2.C: Likewise.
14594
14595 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14596
14597         * lyxfind.C (LyXReplace): do not redefine default argument in
14598         implementation.
14599         (IsStringInText): ditto
14600         (SearchForward): ditto
14601         (SearchBackward): ditto
14602
14603 2001-03-06  Juergen Vigna  <jug@sad.it>
14604
14605         * lyxfind.C (IsStringInText): put parentes around expressions.
14606
14607 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14608
14609         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14610
14611 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14612
14613         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14614
14615         * stl_string_fwd.h: add comment
14616
14617         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14618
14619         * tabular.h:
14620         * tabular.C: remove unused DocBook methods
14621
14622         * intl.C:
14623         * language.C:
14624         * paragraph.C:
14625         * buffer.C:
14626         killed DO_USE_DEFAULT_LANGUAGE
14627
14628 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * lyx_gui.C: do not include language.h.
14631
14632         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14633         arguments in function implementation.
14634
14635 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14636
14637         * BufferView_pimpl.C: add <ctime>
14638
14639 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14640
14641         * BufferView_pimpl.C: add using std::find_if
14642
14643 2001-02-27  José Matos  <jamatos@fep.up.pt>
14644
14645         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14646         by OnlyPath.
14647
14648 2001-02-11  José Matos  <jamatos@fep.up.pt>
14649
14650         * buffer.C (makeDocBookFile): command styles now have a parameter as
14651         "title" by default.
14652
14653 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14654
14655         * layout_forms.[Ch]: removed
14656         * lyx_cb.[Ch]: out character
14657         * lyx_gui.C: out character
14658         * lyx_gui_misc.C: out character
14659         * bufferview_funcs.C: : out character,
14660         added toggleall as parameter in ToggleAndShow
14661
14662 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14663
14664         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14665
14666         * text2.C (SetCurrentFont): Disable number property at boundary.
14667
14668 2001-02-26  Juergen Vigna  <jug@sad.it>
14669
14670         * lyxfunc.C (getStatus): added a string argument override function so
14671         that this is correctly called from LyXFunc::Dispatch if it contains a
14672         do_not_use_argument which is used!
14673         (Dispatch): added check for "custom" export and call appropriate func.
14674
14675 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14676
14677         * lyxrc.C: Add language_command_local, language_use_babel and
14678         language_global_options.
14679
14680         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14681
14682         * buffer.C (makeLaTeXFile): Use language_use_babel and
14683         language_global_options.
14684
14685 2001-02-23  Juergen Vigna  <jug@sad.it>
14686
14687         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14688         which works with LyXText and putted it inside BufferView. Here now we
14689         only call for that part the BufferView::Dispatch() function.
14690
14691         * BufferView.C (Dispatch): added.
14692
14693         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14694         functions which needs to use a LyXText over from LyXFunc.
14695         (MenuInsertLyXFile): added
14696         (getInsetByCode): added
14697         (moveCursorUpdate): added
14698         (static TEXT): added
14699
14700 2001-02-22  Juergen Vigna  <jug@sad.it>
14701
14702         * BufferView_pimpl.C (update): call a status update to see if LyXText
14703         needs it.
14704
14705 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14706
14707         * vc-backend.C (revert): implement for CVS
14708         (getLog): implement for CVS
14709
14710 2001-02-20  Juergen Vigna  <jug@sad.it>
14711
14712         * text2.C (ClearSelection): added BufferView param for inset_owner call
14713
14714         * lyxfunc.C (TEXT): added this function and use it instead of
14715         directly owner->view()-text of getLyXText().
14716
14717 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14718
14719         * src/layout_forms.C: out preamble
14720         * src/layout_forms.h: out preamble
14721         * src/lyx_cb.C: out preamble
14722         * src/lyx_cb.h: out preamble
14723         * src/lyx_gui.C: out preamble
14724         * src/lyx_gui_misc.C: out preamble
14725         * src/lyxfunc.C: connect with guii preamble
14726
14727 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14730
14731 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14734         whether to run bibtex.
14735
14736 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14739
14740 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14741
14742         * Makefile.am (lyx_SOURCES): removed bibforms.h
14743
14744         * vspace.h: doxygen
14745
14746         * text.C (GetVisibleRow): make several local vars const
14747
14748         * tabular.C: small cleanup.
14749
14750         * lyxserver.C (callback): use compare instead of strncmp
14751
14752         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14753         inlines to after class or to paragraph.C
14754
14755         * lyxfont.h: remove friend operator!=
14756
14757         * converter.h: move friend bool operator< to non friend and after
14758         class def.
14759
14760         * combox.h: small cleanup
14761
14762         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14763         to inlines after class def.
14764
14765         * buffer.C (pop_tag): use string operations instead of strcmp
14766
14767         * bmtable.c: doxygen, small cleanup
14768
14769         * LaTeX.h: remove friend operator==
14770
14771 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14772
14773         * screen.C:
14774         * lyxrc.[Ch]:
14775         * lyxfunc.C:
14776         * lyxfont.[Ch]:
14777         * lyx_cb.C:
14778         * intl.[Ch]:
14779         * commandtags.h:
14780         * buffer.C:
14781         * WorkArea.[Ch]:
14782         * LyXAction.C:
14783         * BufferView_pimpl.C:
14784         * BufferView.[Ch]: remove cruft
14785
14786 2001-02-14  Juergen Vigna  <jug@sad.it>
14787
14788         * lyxfunc.C: removed #if 0 unused code
14789
14790         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14791
14792         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14793
14794         * text2.C (SetSelection): added a BufferView * parameter
14795
14796 2001-02-13  Juergen Vigna  <jug@sad.it>
14797
14798         * lyxfunc.C (Dispatch): fixed protected blank problem.
14799         * BufferView2.C (protectedBlank): added LyxText * parameter.
14800
14801         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14802         (AppendColumn): same as above for column_info.
14803
14804         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14805         (moveCursorUpdate): use a LyXText param for support of InsetText.
14806
14807         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14808         (tripleClick): ditto
14809
14810         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14811
14812         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14813
14814         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14815
14816         * text2.C (SetSelection): set correct update status if inset_owner
14817         (ToggleFree): ditto
14818
14819 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14820
14821         * tabular.C: remove some commented code.
14822
14823 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * BufferView_pimpl.C: call hideSplash()
14826
14827         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14828
14829         * include_form.h:
14830         * bibforms.h: remove
14831
14832         * lyxfunc.C:
14833         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14834           add LFUN_CHILD_CREATE
14835
14836         * counters.h: fix tiny typo
14837
14838         * lyx_cb.C:
14839         * lyx.h:
14840         * lyx_gui.C:
14841         * lyx.C: move splash to frontends/xforms/
14842
14843         * lyx_gui_misc.C: move Include and Bibform to frontends
14844
14845         * lyxvc.h: clarify comment
14846
14847         * vspace.C: tiny housekeeping
14848
14849 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * text.C (PrepareToPrint): RTL Fix.
14852
14853         * paragraph.C (GetUChar): New method.
14854         (String):  Use GetUChar.
14855
14856         * buffer.C (asciiParagraph): Use GetUChar.
14857
14858 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14859
14860         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14861
14862 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * buffer.h:
14865         * buffer.C: rename to getLogName(), handle
14866           build log / latex log nicely
14867
14868 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14869
14870         * MenuBackend.C:
14871         * MenuBackend.h: remove support for reference menuitem type.
14872
14873 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * BufferView_pimpl.C: housekeeping
14876         * BufferView_pimpl.h:
14877         * LyXView.h:
14878         * Makefile.am:
14879         * Timeout.C:
14880         * Timeout.h:
14881         * minibuffer.h: move Timeout GUI-I
14882
14883 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * lyxrc.C (read): Update converters data-structures.
14886
14887 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14888
14889         * LaTeX.h (operator!=): add operator != for Aux_Info
14890
14891 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14892
14893         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14894
14895         * LaTeXLog.C: deleted, useful code moved to Buffer
14896
14897         * buffer.h:
14898         * buffer.C: new function getLatexLogName()
14899
14900         * lyx_gui_misc.C:
14901         * lyx_gui.C:
14902         * lyxvc.C:
14903         * lyxvc.h:
14904         * lyxfunc.C: use frontends for LaTeX and VC logs
14905
14906 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * LaTeX.h: yet another std:: that Allan forgot.
14909
14910         * Variables.C (set): renamed from isset(), because this clashes
14911         with some HP-UX macros (grr).
14912
14913 2001-02-06  Allan Rae  <rae@lyx.org>
14914
14915         * LaTeX.h: Another bug fix.  Missing std:: this time.
14916
14917 2001-02-04  Allan Rae  <rae@lyx.org>
14918
14919         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14920         floats problem. I've left it commented out because it's not quite
14921         correct.  It should also test that the current object is a table or
14922         figure inset.  But I haven't gotten around to figuring out how to do
14923         that.  I *think* it'll be something like: "table" == inset.type()
14924
14925         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14926         bool.
14927
14928 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14931         all the citation/databases/styles in the auxilary file.
14932         (run): Rerun latex if there was a babel language error.
14933
14934 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * text.C (Backspace): Preserve the font when changing newline char
14937         with a space.
14938         (BreakParagraph): If the cursor is before a space, delete the space.
14939
14940         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14941
14942 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14943
14944         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14945         new argument (code).
14946         (ChangeCitationsIfUnique): New method.
14947
14948         * paragraph.C (GetPositionOfInset): Handle bibkey.
14949
14950 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14951
14952         * BufferView_pimpl.h: change type of Position::par_pos to
14953         LyXParagraph::size_type.
14954
14955 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14956
14957         * BufferView_pimpl.C (savePosition, restorePosition): Write
14958         messages to minibuffer.
14959
14960 2001-01-28  José Matos  <jamatos@fep.up.pt>
14961
14962         * buffer.C (makeDocBookFile): adds support for document language.
14963         A silly restriction on the name of LatexCommand types where removed.
14964         Added support for CDATA sections, allows to chars unescaped, used
14965         among others in code, to avoid escape < and >.
14966
14967 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14970         saved positions instrad of a stack. Furthermore, a position is
14971         stored using paragraph id/paragraph position.
14972
14973         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14974         Remove LFUN_REF_BACK.
14975
14976 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14977
14978         * converter.C (dvipdfm_options): New method.
14979
14980 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14981
14982         * vspace.C (isValidLength): Fix for empty input string.
14983
14984 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14985
14986         * LyXAction.C (init): change description of LFUN_FIGURE to
14987         "Insert Graphics"
14988
14989 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * LaTeX.C: add using directive
14992
14993 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * MenuBackend.C (expand): Fix the sorting of the formats.
14996
14997 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14998
14999         * lyx_main.C: tiny error message fix
15000
15001 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15004         calling fl_initialize(). This fixes the problem with ',' as
15005         decimal separator in text files.
15006
15007 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * trans.C (process): Fix the keymap bug.
15010
15011 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15012
15013         * LaTeX.C (scanAuxFiles): New method. Provides support for
15014         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15015         (scanLogFile) Scan for "run BibTeX" messages.
15016
15017         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15018         OT1 font encoding. Also, load the aecompl package if the ae
15019         package is loaded.
15020
15021         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15022
15023 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * texrow.C (increasePos): turn two error messages into debug
15026         messages.
15027
15028 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * LaTeX.C (scanAux): Handle the \@input macro.
15031         (runBibTeX): Use scanAux().
15032
15033         * language.C (latex_options_): New field.
15034
15035         * LaTeXFeatures.C (getMacros): Add language macros.
15036
15037         * buffer.C (makeLaTeXFile): Small fix.
15038
15039 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15042
15043         * text2.C: add a using directive.
15044
15045 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * BufferView2.C:
15048         * lyx_gui_misc.h:
15049         * lyxfr1.C:
15050         * lyxfunc.C: kill LyXBell.
15051
15052 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * text.C (IsBoundary): Remove the error message
15055
15056         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15057
15058         * lyxrc.C (setDefaults): Correct initialization value for
15059         font_norm_type.
15060
15061 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15064         gotoError().
15065
15066         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15067         and GotoNextNote().
15068
15069         * src/LyXAction.C: Added reference-next.
15070
15071         * text.C (InsertChar): Use contains instead of strchr.
15072
15073         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15074
15075 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15078         alignment commands (when needed).
15079
15080         * text.C (InsertChar): Add ':' to number separator chars.