]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3d13d7262891c32dcbee5584c5056c41561ff235
[lyx.git] / src / ChangeLog
1 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2
3         * buffer.C (makeLaTeXFile): if the main latex file that is
4         processed is usually a subdocument of some master, then pretend
5         for a while that it is actually the master
6
7 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8
9         * buffer.C (getLabelList):
10         (getBibkeyList): use getMasterBuffer()
11         (getMasterBuffer): new method. Returns the main document in the
12         case where one is using included documents.
13
14 2004-03-25  André Pönitz  <poenitz@gmx.net>
15
16         * Makefile.am:
17         * iterators.[Ch]:
18         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
19
20         * ParagraphList_fwd.h: change ParagraphList to a std::vector
21
22         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
23         text*.C over here. Rename namespace CutAndPaste to lyx::cap
24
25         * ParameterStruct.h: merge with ParagraphParameters
26
27         * lyxtext.h: remove LyXText::parOffset() and getPar()
28
29         * text3.C: Remove all 'manual' update calls. We do now one per user
30         interaction which is completely sufficient.
31
32         * Bidi.C:
33         * BufferView.[Ch]:
34         * BufferView_pimpl.C:
35         * FontIterator.[Ch]:
36         * MenuBackend.C:
37         * ParagraphParameters.[Ch]:
38         * buffer.C:
39         * buffer.h:
40         * bufferlist.C:
41         * cursor.[Ch]:
42         * cursor_slice.[Ch]:
43         * dociterator.[Ch]:
44         * errorlist.[Ch]:
45         * factory.C:
46         * lfuns.h:
47         * lyxfind.C:
48         * lyxfunc.C:
49         * output_docbook.[Ch]:
50         * output_latex.[Ch]:
51         * output_linuxdoc.[Ch]:
52         * output_plaintext.[Ch]:
53         * paragraph.[Ch]:
54         * paragraph_funcs.[Ch]:
55         * paragraph_pimpl.[Ch]:
56         * rowpainter.C:
57         * tabular.[Ch]:
58         * text.C:
59         * text2.C:
60         * toc.C:
61         * undo.[Ch]: adjust
62
63         * frontends/controllers/ControlDocument.C:
64         * frontends/controllers/ControlErrorList.C:
65         * frontends/controllers/ControlSpellchecker.C:
66         * insets/inset.C:
67         * insets/inset.h:
68         * insets/insetbase.h:
69         * insets/insetbibitem.C:
70         * insets/insetbox.C:
71         * insets/insetbranch.C:
72         * insets/insetcaption.C:
73         * insets/insetcharstyle.C:
74         * insets/insetcharstyle.h:
75         * insets/insetcollapsable.C:
76         * insets/insetcollapsable.h:
77         * insets/insetert.C:
78         * insets/insetfloat.C:
79         * insets/insetfoot.C:
80         * insets/insetmarginal.C:
81         * insets/insetnote.C:
82         * insets/insetoptarg.C:
83         * insets/insettabular.C:
84         * insets/insettext.C:
85         * insets/insettext.h:
86         * insets/insetwrap.C:
87         * mathed/math_mboxinset.C:
88         * mathed/math_nestinset.C:
89         * mathed/math_scriptinset.C:
90         * mathed/math_scriptinset.h:
91         * support/types.h:
92
93 2004-03-24  Angus Leeming  <leeming@lyx.org>
94
95         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
96         deal with any child processes that have finished but are waiting to
97         communicate this fact to the rest of LyX.
98
99 2004-03-24  Angus Leeming  <leeming@lyx.org>
100
101         64-bit compile fixes.
102
103         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
104         (c-tor): pass lyx::pos_types rather than ints.
105
106         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
107         lyx::pos_type.
108
109         * text.C (Delete): compile fix.
110         (getPar): ensure that function declaration is the same as that in
111         the header file.
112
113 2004-03-23  Angus Leeming  <leeming@lyx.org>
114
115         * ispell.C (LaunchIspell):
116         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
117         a boost::shred_ptr rather than a std::auto_ptr.
118
119 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * lyxfunc.C (getStatus): handle read-only buffers correctly;
122         handle LFUN_FILE_INSERT_*
123
124         * lyxrc.C (setDefaults, getDescription, output, read):
125         * lyxrc.h: remove ps_command
126
127 2004-03-22  Angus Leeming  <leeming@lyx.org>
128
129         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
130         Ensure that error_handler is processed once only and that all data
131         is saved before attempting to output any warning messages.
132
133         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
134
135 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
136
137         * tabular.C (TeXRow): crash fix (from Kayvan and André)
138
139 2004-03-19  André Pönitz  <poenitz@gmx.net>
140
141         * cursor.[Ch] (reset): take main text inset as argument
142
143         * BufferView: adjust
144         * BufferView_pimpl.C: adjust
145
146         * paragraph.[Ch]: fix completely broken operator=()
147
148 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * LColor.C (getFromLyXName): make sure that the color name is used
151         as lowercase.
152
153 2004-03-17  Angus Leeming  <leeming@lyx.org>
154
155         * lfuns.h:
156         * LyXAction.C (init): remove LFUN_FORKS_KILL.
157
158         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
159         dialog and to kill a forked process.
160
161 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
162
163         * text2.C (setCursorFromCoordinates): fix font problem
164
165 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
168         bogus "rebuild cursor" code
169
170 2004-03-11  André Pönitz  <poenitz@gmx.net>
171
172         * buffer.[Ch]: use InsetText instead of LyXText as container for
173         the main lyx text.
174
175         * dociterator.[Ch]: drop the BufferView * member which is not needed
176         anymore after the change to buffer.C
177
178         * paragraph_funcs.C:
179         * text.C:
180         * text2.C:
181         * BufferView.[Ch]:
182         * BufferView_pimpl.[Ch]:
183         * cursor.[Ch]:
184         * cursor_slice.[Ch]: adjust
185
186         * text3.C: fix bug in mathDispatch
187
188 2004-03-08  André Pönitz  <poenitz@gmx.net>
189
190         * undo.[Ch]: use 'StableDocumentIterator' as base for
191         the Undo struct.
192
193 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * LaTeXFeatures.C:
196         * bufferparams.[Ch]: add jurabib support and param.
197
198         * LaTeX.C: add FIXME/comment.
199
200 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * buffer.C: increment file format to 230.
203
204 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * cursor.C (dispatch): avoid infinite loops
207
208 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
209
210         * rowpainter.C (paintSelection): fix x coordinates
211
212 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * text.C (rowBreakPoint): fix breaking before displayed insets
215
216 2004-03-01  André Pönitz  <poenitz@gmx.net>
217
218         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
219
220         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
221
222         * Makefile.am:
223         * BufferView.C:
224         * BufferView_pimpl.C:
225         * buffer.C:
226         * lyxfind.C:
227         * lyxfunc.C:
228         * text.C:
229         * text2.C:
230         * text3.C: adjust
231
232 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * lyxtext.h:
235         * text.C:
236         * text2.C:
237         * rowpainter.C:
238         * BufferView_pimpl.C: rename textwidth -> maxwidth,
239         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
240
241 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * Bidi.[Ch] (computeTables): const correctness
244         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
245         fill_hfill, fill_label_hfill and x from Row
246         * lyxtext.h: prepareToPrint returns a RowMetrics
247         * rowPainter.C: adjust
248         * text.C (prepareToPrint): use width, not textWidth. adjust
249         (redoParagraphInternal, cursorX): adjust
250         * text2.C (getColumnNearX): adjust
251         (init): put a default value to the top LyXText::width
252
253 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
254
255         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
256
257 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * lyxtext.h: add FontIterator class
260
261         * text.C (FontIterator, operator*, operator->, operator++): add
262         (rowBreakPoint, setRowWidth): adjust (fixing a
263         rebreaking bug)
264
265 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * BufferView_pimpl.C (workAreaDispatch): allow also
268         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
269
270 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * text.C (rowBreakPoint): fix a bug showing with very large insets
273
274 2004-02-25  André Pönitz  <poenitz@gmx.net>
275
276         * text3.C:
277         * cursor.[Ch]: move some mathed specific code to mathed
278
279 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
282         use_tempdir in preferences
283         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
284         tempfile creation
285         * lyx_main.C: ensure that tempdir is valid
286         * lyxlex.h: correct typo
287         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
288         * paragraph.[Ch] (isMultiLingual): make const
289         * cursor.[Ch] (openable): make const
290
291 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
294
295 2004-02-20  André Pönitz  <poenitz@gmx.net>
296
297         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
298
299         * cursor.[Ch]: prepare for localized getStatus()
300
301         * lyxtext.h:
302         * tabular.C:
303         * text.C:
304         * text2.C:
305         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
306
307 2004-02-20  André Pönitz  <poenitz@gmx.net>
308
309         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
310
311 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * text2.C (setCursorFromCoordinates): switch to absolute coords
314         (cursorUp): adjust
315         (cursorDown): adjust
316         * text3.C (dispatch): adjust
317
318 2004-02-16  André Pönitz  <poenitz@gmx.net>
319
320         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
321           insets/ChangeLog)
322
323         * cursor_slice.[Ch]: remove unneeded acessor function
324
325         * lyxtext.h: rename rtl() to isRTL()
326
327         * rowpainter.C:
328         * tabular.C:
329         * text.C:
330         * text2.C:
331         * text3.C: adjust
332
333 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * rowpainter.C (paintSelection): coord fix
336
337 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
338
339         * Spacing.C: compile fix
340
341 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * cursor.C (dispatch): restore current_ before returning
344
345 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
346
347         * text2.C (cursorUp, cursorDown): fix coords
348         (moveUp): fix crash
349
350 2004-02-12  André Pönitz  <poenitz@gmx.net>
351
352         * lyxtext.h:
353         * text.C:
354         * text2.C:
355         * text3.C: add LCursor & parameter to most cursor movement functions
356           remove usage of LyXText::cursorRow() and cursorPar()
357
358         * cursor.[Ch]: add textRow() needed members
359
360         * BufferView.C:
361         * BufferView_pimpl.C:
362         * paragraph.[Ch]:
363         * BufferView.C:
364         * BufferView_pimpl.C: adjust
365
366 2004-02-11  André Pönitz  <poenitz@gmx.net>
367
368         * lyxfunc.C:
369         * BufferView.[Ch]:
370         * BufferView_pimpl.C: shift undo/redo handling
371
372         * cursor.[Ch]: fix mathed crash
373
374         * lyxfind.C:
375         * lyxtext.h: move selectionAsText to LCursor
376
377         * output_latex.C:
378         * paragraph.C:
379         * text.C:
380         * text2.C:
381         * text3.C: adjust
382
383         * rowpainter.C: fix excessive drawing
384
385 2004-02-06  André Pönitz  <poenitz@gmx.net>
386
387         * BufferView.[Ch]:
388         * BufferView_pimpl.[Ch]:
389         * text3.C: move some text specific LFUN handling
390
391 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * text3.C (checkInsetHit): adjust coords
394         * text2.C (getColumnNearX): adjust coords
395         (edit): adjust coords
396         * text.C (getRowNearY): add two asserts
397
398 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
399
400         * converter.C:
401         * format.C: add using std::distance to compile on gcc 2.95/stlport
402
403 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
404
405         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
406
407 2004-02-04  André Pönitz  <poenitz@gmx.net>
408
409         * BufferView.[Ch] (insertInset):
410         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
411
412         * text2.C:
413         * text3.C: adjust
414
415 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
416
417         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
418         on the default clause of the switch
419         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
420         wasn't catched by LCursor::dispatch
421
422 2004-02-03  André Pönitz  <poenitz@gmx.net>
423
424         * BufferView.C:
425         * cursor.[Ch]: some additional asserts
426
427         * undo.[Ch]: remove LyXText dependency in interface
428
429         * lyxfunc.C: adjust
430
431         * lyxtext.h (firstPar, lastPar): remove dead functions
432
433         * text.C:
434         * text2.C:
435         * text3.C:
436         * paragraph.[Ch]: adjust
437
438 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * lyxfind.C (find): fix argument order in call to ::find
441
442 2004-02-02  André Pönitz  <poenitz@gmx.net>
443
444         * cursor.[Ch]: remove direct access to anchor
445
446         * text.C: remove findText() hack
447
448 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * iterators.[Ch] (lockPath): remove in favour of...
451         * BufferView.[Ch] (setCursor): this addition
452         * BufferView.C (putSelectionAt): adjust
453         * undo.C (performUndoOrRedo): adjust
454         * lyxfunc.C (dispatch): adjust
455
456 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * iterators.C (lockPath): add a missing slice
459         * undo.C (performUndoOrRedo): remove redundant positioning code
460
461 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
462
463         * vc-backend.C (scanMaster): ";" -> ';'
464
465 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
466
467         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
468         std::binary_function
469
470         * lyxtextclass.C (compare_name): rename to...
471         (LayoutNamesEqual): ...this
472
473         * lyxlex_pimpl.C (compare_tags): inherit from
474         std::binary_function, put back into anon namespace
475
476         * lyxfind.C (MatchString): inherig from std::binary_function
477         (findChange): use empty() istead of !size()
478
479         * format.C (FormatNamesEqual): new functor
480         (getFormat): use it
481         (getNumber): use it
482         (add): use it
483         (erase): use it
484         (setViewer): use it
485
486         * converter.C (compare_Converter): rename to...
487         (ConverterEqual): ...this, and fixup a bit.
488         (getConverter): use it, and make function const
489         (getNumber): use it, and make function const
490         (add): use it
491         (erase): use it:
492
493         * bufferlist.C: add using boost::bind
494
495         * MenuBackend.C (MenuNamesEqual): new functor
496         (hasMenu): use it, and make function const
497         (hasSubmenu): use nested bind to get rid of compare_memfun.
498
499 2004-01-30  André Pönitz  <poenitz@gmx.net>
500
501         * BufferView_pimpl.C:
502         * cursor.C:
503         * cursor.h:
504         * cursor_slice.[Ch]:
505         * lyxfunc.C:
506         * lyxtext.h:
507         * paragraph_funcs.C:
508         * paragraph_funcs.h:
509         * rowpainter.C:
510         * text.C:
511         * text2.C:
512         * text3.C: move some of the edit(x,y) handling to the insets
513         some coordinate changes.
514
515 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
516
517         * text.C: add using statements for std::advance and std::distance
518
519         * paragraph.C: add using statement for std::distance
520
521         * lyxfind.C: add using statement for std::advance
522
523         * cursor.C (region): remove std:: from swap
524         (openable): use nucleus in stead of operator->
525
526         * BufferView.C: add using statements for std::distance and std::swap
527
528 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
529
530         * iterators.C: Remove the pimple, move the needed structures to
531         the header file. Create accessor for the positions stack.
532         (asPosIterator): remove function
533
534         * PosIterator.C (PosIterator): move constructors to top of file
535         (PosIterator): reimplement the constructor taking a ParIterator in
536         terms of setFrom.
537         (setFrom): new function
538         (operator!=): inline it
539
540 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
541
542         * lyxfind.C (replaceAll): use std::advance
543
544         * iterators.h: inherit from std::iterator.
545
546         * PosIterator.C (advance, distance): remove
547         * PosIterator.h: interit from std::iterator.
548
549 2004-01-26  André Pönitz  <poenitz@gmx.net>
550
551         * BufferView.[Ch]:
552         * BufferView_pimpl.[Ch]:
553         * InsetList.[Ch]:
554         * PosIterator.[Ch]:
555         * buffer.h:
556         * bufferview_funcs.C:
557         * cursor.[Ch]:
558         * cursor_slice.h:
559         * factory.[Ch]:
560         * iterators.[Ch]:
561         * lyxfind.C:
562         * lyxfunc.C:
563         * lyxtext.h:
564         * output_docbook.C:
565         * output_latex.C:
566         * output_linuxdoc.C:
567         * output_plaintext.C:
568         * paragraph.[Ch]:
569         * paragraph_funcs.[Ch]:
570         * paragraph_pimpl.[Ch]:
571         * rowpainter.C:
572         * tabular.C:
573         * tabular.h:
574         * text.C:
575         * text2.C:
576         * text3.C: more IU:  dumps most of the rest of the mathcursor
577     implementation into cursor.[Ch]; "globalize" a bit of it.
578
579 2004-01-25  Angus Leeming  <leeming@lyx.org>
580
581         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
582
583 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
584
585         * LaTeXFeatures.h: add nice_ and nice() const
586         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
587
588 2004-01-20  André Pönitz  <poenitz@gmx.net>
589
590         * BufferView.[Ch]:
591         * BufferView_pimpl.C:
592         * PosIterator.C:
593         * bufferview_funcs.C:
594         * cursor.[Ch]:
595         * cursor_slice.[Ch]:
596         * factory.C:
597         * iterators.C:
598         * lyx_cb.C:
599         * lyxfind.C:
600         * lyxfunc.C:
601         * lyxtext.h:
602         * rowpainter.C:
603         * text.C:
604         * text2.C:
605         * text3.C:
606         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
607           LCursor and mathcursor parts to LCursor and InsetBase.
608
609 2004-01-15  André Pönitz  <poenitz@gmx.net>
610
611         * cursor_slice.[Ch]: add a few covienience functions
612
613         * funcrequest.[Ch]: remove BufferView * member
614
615         * BufferView_pimpl.C:
616         * cursor.C:
617         * factory.[Ch]:
618         * lyxfind.[Ch]:
619         * lyxfunc.C:
620         * lyxtext.h:
621         * text3.C:
622         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
623
624 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
625
626         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
627         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
628
629 2004-01-13  André Pönitz  <poenitz@gmx.net>
630
631         * textcursor.[Ch]:
632         * lyxtext.h: hide cursor and selection anchor behind accessor function
633
634         * BufferView.C:
635         * BufferView_pimpl.[Ch]:
636         * PosIterator.C:
637         * bufferview_funcs.C:
638         * cursor.h:
639         * lyxfind.C:
640         * lyxfunc.C:
641         * text.C:
642         * text2.C:
643         * text3.C:
644         * undo.C: adjust
645
646         * cursor.h:
647         * cursor_slice.[Ch]: some integer type changes for inset unification
648
649         * lyxcursor.[hC]: remove, it's CursorSlice now.
650
651         * Makefile.am:
652         * BufferView_pimpl.[Ch]:
653         * bufferview_funcs.C:
654         * cursor_slice.C:
655         * lyxtext.h:
656         * text.C:
657         * text2.C:
658         * text3.C:
659         * textcursor.[Ch]: adjust
660
661 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
662
663         * text2.C (undoSpan): add and use
664         * text.C (breakParagraph): use undoSpan (fix bug 578)
665         * lyxtext.h: adjust
666
667 2004-01-08  Angus Leeming  <leeming@lyx.org>
668
669         * BufferView_pimpl.C (MenuInsertLyXFile):
670         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
671         * lyxfunc.C (menuNew, open, doImport):
672         FileFilterList change to the FileDialog open and save functions.
673
674 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * ShareContainer.h: make isEqual and isUnique adaptable
677
678         * CutAndPaste.C: make resetOwnerAndChanges adaptable
679
680 2004-01-07  Angus Leeming  <leeming@lyx.org>
681
682         * LyXAction.C:
683         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
684
685         * BufferView_pimpl.C (dispatch): act on these LFUNs.
686
687         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
688         functions replacing find, replace and replaceAll.
689
690         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
691         LFUN_WORDFIND(FORWARD|BACKWARD).
692
693 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
694
695         * text.C (breakParagraph): remove an outdated #warning
696
697 2004-01-07  André Pönitz  <poenitz@gmx.net>
698
699         * lyxfind.C: somewhat clearer logic
700
701         * text.C: prevent crash in cursorX on unitialized row cache
702
703 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
704
705         * lyxcursor.[Ch] (operator>): add
706         * textcursor.C (selStart, selEnd): use std::min and std::max
707
708 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
709
710         * Chktex.C: include boost/format.hpp
711
712 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
713
714         * InsetList.C: replace functor MathcIt with adaptable functor
715         InsetTablePosLess
716         (insetIterator): modify accordingly
717
718         * BranchList.h: move the BranchNamesEqual functor here from...
719         * BranchList.C: ... to here
720
721         * BranchList.C: new BranchListEqual fuctor, use it. Remove
722         SameName and match.
723         (add): replace a finding loop with std::find_if.
724
725 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
726
727         * output_docbook.C: moving LatexParam functionality into
728         .layout files
729
730 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * buffer.C: increment format to 229.
733
734 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
735
736         * LaTeXFeatures.C:
737         * lyx_sty.[Ch]: remove minipageindent_def
738
739         * LyXAction.C:
740         * factory.C:
741         * lfuns.h:
742         * lyxfunc.C:
743         * text3.C: remove LFUN_INSET_MINIPAGE
744
745 2003-12-28  Angus Leeming  <leeming@lyx.org>
746
747         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
748
749 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
750
751         * text2.C (setParagraph): fix off-by-one crash
752
753 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
754
755         * output_docbook.C: header stuff for AGU
756
757 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * text2.C (redoCursor): remove
760         * text.C:
761         * text3.C:
762         * BufferView_pimpl.C: remove calls to redoCursor and
763         setCursor(cursor.par(), cursor.pos()) all around
764
765 2003-12-15  Angus Leeming  <leeming@lyx.org>
766
767         * buffer.C: up the format to 228.
768
769 2003-12-15  André Pönitz  <poenitz@gmx.net>
770
771         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
772         slices
773
774         * Makefile.am:
775
776         * BufferView_pimpl.C:
777         * cursor.[Ch]:
778         * lyxcursor.[Ch]:
779         * rowpainter.[Ch]:
780         * lyxtext.h:
781         * text.C:
782         * text2.C:
783         * text3.C: adjust
784
785 2003-12-15  Angus Leeming  <leeming@lyx.org>
786
787         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
788         than getFromGUIName to manipulate the color.
789
790 2003-12-14  Angus Leeming  <leeming@lyx.org>
791
792         * BranchList.[Ch]: minimize the API.
793         (Branch::getBranch, getColor): now return a 'const &'.
794         (Branch::setSelected) now returns a bool set to true if the
795         selection status changes.
796         (BranchList::clear, size, getColor, setColor, setSelected,
797         allBranches, allSelected, separator): removed.
798         (BranchList::find): new functions, returning the Branch with
799         the given name.
800         (BranchList::add, remove): return a bool indicating that
801         the operation was successful.
802
803         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
804         new InsetBranch::isBranchSlected member function.
805
806         * LColor.[Ch]: mimimize the API.
807         (fill): renamed as addColor and made private.
808         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
809         versions of these functions taking a string arg have been removed.
810
811         * bufferparams.C (readToken):
812         * lyxfunc.C (dispatch):
813         * lyxrc.C (read): changes due to the altered BranchList and
814         LColor APIs.
815
816         * factory.C (createInset, readInset): changes due to altered
817         InsetBranch c-tor.
818
819 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
820
821         * factory.C:
822         * lyxfunc.C: remove insetminipage. "minipage-insert"
823         now produces a frameless minipage box inset.
824
825 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
826
827         * textcursor.[Ch] (selStart,selEnd): add new methods
828         remove selection::start, end, use LyXCursor::operator<
829         * lyxcursor.[Ch] (operator<): add
830         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
831         * BufferView.[Ch] (unsetXSel): add
832         * text2.C (clearSelection): use unsetXSel,adjust
833         * text.C: adjust
834         * text3.C: adjust
835         * rowpainter.C: adjust
836         * bufferview_funcs.C (put_selection_at): adjust
837
838 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
839
840         * BufferView_pimpl.C: small coord. correction
841
842 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
843
844         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
845         dragging over the splash screen.
846
847 2003-12-11  Angus Leeming  <leeming@lyx.org>
848
849         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
850         as it is now handled in LyXText::dispatch.
851
852         * text3.C (doInsertInset): remove a level of nesting.
853
854 2003-12-11  Angus Leeming  <leeming@lyx.org>
855
856         * factory.C (createInset): changes due to the changed interface to
857         InsetCommandMailer::string2params.
858
859 2003-12-10  Angus Leeming  <leeming@lyx.org>
860
861         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
862         'dialog-show-new-inset <inset name>'
863
864 2003-12-10  Angus Leeming  <leeming@lyx.org>
865
866         * buffer.C: up the format to 227.
867
868         * factory.C: the box inset is now identified simply by 'Box'.
869
870 2003-12-10  Angus Leeming  <leeming@lyx.org>
871
872         * buffer.C: up the format to 226.
873
874         * factory.C: the note inset is now identified simply by 'Note'.
875
876 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
877
878         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
879         when a pit is enough. Standarize a couple of loops.
880
881 2003-12-05  Angus Leeming  <leeming@lyx.org>
882
883         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
884         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
885         data to the re-worked "log" dialog.
886
887 2003-12-03  André Pönitz  <poenitz@gmx.net>
888
889         * PosIterator.C:
890         * iterators.C:
891         * lyxtext.h:
892         * output_latex.C:
893         * paragraph_funcs.C:
894         * text.C:
895         * text2.C: use Inset::getText instead of Inset::getParagraph
896
897 2003-12-03  André Pönitz  <poenitz@gmx.net>
898
899         * buffer.[Ch]:
900         * lyxtext.h:
901         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
902         InsetText::read() as LyXText::read()
903
904 2003-12-02  Angus Leeming  <leeming@lyx.org>
905
906         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
907         type. Add a comment in the implementation that the function uses
908         the stream's bad() function rather than fail() as the std::streams
909         would do.
910
911 2003-12-02  André Pönitz  <poenitz@gmx.net>
912
913         * lyxlex.[Ch]: make interface more similar to std::stream
914
915         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
916
917 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
918
919         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
920
921 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
922
923         * vspace.[Ch]: remove VSpace::NONE
924
925 2003-12-01  André Pönitz  <poenitz@gmx.net>
926
927         * buffer.[Ch]:
928         * lyxtext.h: move ParagraphList member to LyXText
929         rename LyXText::ownerParagraphs to LyXText::paragraph
930
931         * CutAndPaste.C:
932         * bufferview_funcs.C:
933         * iterators.[Ch]:
934         * lyx_cb.C:
935         * paragraph.C:
936         * rowpainter.C:
937         * tabular.C:
938         * text.C:
939         * text2.C:
940         * text3.C: adjust
941
942         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
943
944         * undo.C: fix cursor positioning
945
946 2003-12-01  John Levon  <levon@movementarian.org>
947
948         * BufferView_pimpl.C: fix a crash on exit with
949         a buffer open
950
951 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
952
953         * BranchList.C: fix setSelected() method.
954
955 2003-11-28  André Pönitz  <poenitz@gmx.net>
956
957         * ParagraphParameters.[Ch]:
958         * ParameterStruct.h: remove space above/below from Paragraph to
959          InsetVSpace
960
961         * BufferView_pimpl.C:
962         * factory.C:
963         * lyxfunc.C:
964         * lyxtext.h:
965         * output_latex.C:
966         * paragraph.C:
967         * paragraph_funcs.C:
968         * rowpainter.[Ch]:
969         * text.C:
970         * text2.C:
971         * text3.C: adjust
972
973 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * factory.C: Syntax change for CharStyles
976
977 2003-11-28  André Pönitz  <poenitz@gmx.net>
978
979         * BufferView.[Ch]:
980         * BufferView.[Ch]:
981         * buffer.[Ch]:
982         * buffer.[Ch]: move LyXText member
983
984 2003-11-28  André Pönitz  <poenitz@gmx.net>
985
986         * BufferView.[Ch]: make LyXText * text a private member
987
988         * BufferView_pimpl.C:
989         * cursor.C:
990         * iterators.C:
991         * lyx_cb.C:
992         * lyxfind.C:
993         * lyxtext.h:
994         * rowpainter.[Ch]:
995         * text.C:
996         * text2.C:
997         * undo.C: adjust
998
999         * output_plaintext.C: cleanup
1000
1001 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1002
1003         * buffer.C:
1004         * lyxtextclass.[Ch]: parametrize SGML document header
1005
1006 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * converter.[Ch]:
1009         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1010         getFlavor().
1011
1012 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * text2.C (setFont): rework using PosIterator (no more recursive)
1015         (setCharFont): no more needed
1016         (setLayout): no more selection cursors fiddling (done by redoCursor)
1017         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1018         destroy remaining ones)
1019
1020 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1021
1022         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1023         * lyxtext.h: ditto
1024         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1025         selection cursors
1026         * lyxfunc.C: adjust
1027         * text3.C: adjust + re-allow multi par depth changes
1028         * textcursor.C: simplify a bit
1029
1030 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1031
1032         * src/buffer.C:
1033         * src/lyxlayout.C:
1034         * src/lyxlayout.h:
1035         * src/lyxtext.h:
1036         * src/output_docbook.C:
1037         * src/output_latex.C:
1038         * src/paragraph.C:
1039         * src/paragraph.h:
1040         * src/sgml.C:
1041         * src/sgml.h:
1042         * src/text2.C: Introducing a number of tags parametrizing various
1043         XML formats that we may want to support
1044
1045 2003-11-25  André Pönitz  <poenitz@gmx.net>
1046
1047         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1048
1049         * lyxtext.h (leftMargin/rightMargin): simplify interface
1050
1051         * rowpainter.C:
1052         * text.C:
1053         * text2.C:
1054         * text3.C: adjust
1055
1056 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1057
1058         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1059         master file to any child files. Fixes bug 546.
1060
1061 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1062
1063         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1064
1065 2003-11-24  André Pönitz  <poenitz@gmx.net>
1066
1067         * rowpainter.C: simplification
1068
1069         * text2.C (updateCounters): remove call to redoParagraph on
1070         changed labels as this is far too expensive.
1071
1072 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * converter.C (convert): fix a crash: this function gets
1075         called with buffer == 0 from importer code.
1076
1077 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1078
1079         * text3.C (cursorPrevious): make sure that we do not compare
1080         iterators form different containers.
1081         (cursorNext): ditto
1082
1083         * rowpainter.C (paintSelection): make sure that we do not compare
1084         iterators from different containers.
1085
1086         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1087         iterators from different ParagraphList containers.
1088         [NEXT] ditto
1089
1090         * text2.C (LyXText): change order of initialization slightly
1091         (operator=): new function. copy all variables except cache_par_
1092         (moveUp): make sure that we do not compare iterators from
1093         different ParagraphList constainers.
1094         (moveDown): ditto
1095
1096         * text.C (firstPar): new function
1097         (lastPar): new function
1098         (endPar): new function
1099
1100         * lyxtext.h: move things around and group public functions, public
1101         variables, private functions, private variables
1102
1103 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1104
1105         * factory.C: change call to InsetERT constructor to avoid
1106         additional invocation of method status
1107         * text2.C (toggleInset): remove redundant update() call
1108         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1109         instead of a Bufferview pointer
1110
1111 2003-11-21  André Pönitz  <poenitz@gmx.net>
1112
1113         * rowpainter.C: simplification
1114
1115 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * text3.C (dispatch): make possible to extend a word/row selection
1118         with the mouse
1119
1120 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1121
1122         * lyxtext.h: x0_,y0_ -> xo_,yo_
1123         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1124         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1125         * rowpainter.C (paintRows): paint full paragraphs
1126
1127 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1130         screen coordinates)
1131
1132 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1133
1134         * lyxtext.h: add x0_, y0_
1135         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1136         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1137
1138 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * text2.C (setCursorIntern): move the x_target update here *
1141         * text3.C: change some bv() to true/false in calls to
1142         cursorUp/Down/Right/Left
1143         * cursor.C: use helper function.
1144
1145 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1148         * paragraph_funcs.[Ch]: correct comment
1149         * rowpainter.C: do not paint selections away from bv->cursor()
1150         Fix a long standing selection painting bug.
1151         * text3.C: generalize mouse-selection code to LyXTexts other that
1152         top one
1153         * textcursor.C: do not use y coords if we can use par offsets
1154
1155 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1158         cursor position after e.g. inset insert)
1159
1160 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1161
1162         * lyxfind.C (replace): adjust to locking removal + some
1163         code simplification
1164
1165 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1166
1167         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1168         of the path
1169
1170 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1171
1172         * lyxlayout.[Ch]:
1173         * output_docbook.C: XML sanitation: new layout
1174         parameters InnerTag and CommandDepth
1175
1176 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * BufferView_pimpl.C:
1179         * factory.C:
1180         * text3.C: Fix the insertion and modification of button-style
1181         insets
1182
1183 2003-11-13  André Pönitz  <poenitz@gmx.net>
1184
1185         * InsetList.[Ch]: remove deleteLyXText
1186
1187         * paragraph.[Ch]: cache beginOfBody position
1188
1189         * Bidi.C:
1190         * text.C:
1191         * text2.C:
1192         * text3.C: remove superfluous update() calls
1193
1194         * vspace.C: cleanup
1195
1196 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1197
1198         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1199         * BufferView.C (fitLockedInsetCursor): remove
1200         * cursor.[Ch] (getDim): add
1201         * text.C (getRowNearY): add faster version
1202         * text3.C: remove some update calls
1203
1204 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1205
1206         * LaTeXFeatures.C:
1207         * LyXAction.C:
1208         * MenuBackend.C:
1209         * MenuBackend.h:
1210         * dispatchresult.h:
1211         * factory.C:
1212         * lfuns.h:
1213         * lyxfunc.C:
1214         * lyxtextclass.C:
1215         * lyxtextclass.h:
1216         * text3.C: The Character Style /XML short element patch.
1217
1218 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * text3.C:
1221         * factory.C: Small step to solving 'unable to insert some insets'
1222         problem
1223
1224 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * cursor.[Ch] (updatePos): new function for updating the y
1227         position of the tip inset
1228         * bufferview_funcs.C (put_selection_at):
1229         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1230
1231 2003-11-11  André Pönitz  <poenitz@gmx.net>
1232
1233         * text.C: remove big comment on invalid Paragraph pointers as it is
1234         not valid anymore
1235
1236 2003-11-11  André Pönitz  <poenitz@gmx.net>
1237
1238         * text_funcs.[Ch]: merge with ...
1239
1240         * text.C: ... this
1241
1242         * lyxtext.h:
1243         * text2.C:
1244         * text3.C: adjust
1245
1246         * Makefile.am: remove text_funcs.[Ch]
1247
1248 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1249
1250         * cursor.C (getPos): return absolute cached y coord
1251
1252         * BufferView_pimpl.C (fitCursor): new simplistic code
1253         (workAreaDispatch): add a fitCursor call
1254
1255 2003-11-10  André Pönitz  <poenitz@gmx.net>
1256
1257         * BufferView.[Ch]:
1258         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1259
1260 2003-11-10  André Pönitz  <poenitz@gmx.net>
1261
1262         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1263         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1264         indicate that the cursor needs to leave an inset
1265
1266         * lyxtext.h: remove inset locking
1267
1268         * cursor.[Ch]: re-implement functionality provided by inset locking
1269
1270         * BufferView.[Ch]:
1271         * BufferView_pimpl.[Ch]:
1272         * LyXAction.C:
1273         * bufferview_funcs.[Ch]:
1274         * factory.C:
1275         * funcrequest.[Ch]:
1276         * iterators.C:
1277         * lyx_cb.C:
1278         * lyxfind.C:
1279         * lyxfunc.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C:
1283         * undo.C: adjust
1284
1285 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1286
1287         * PosIterator.[Ch]: replace the stack with a vector, add inset
1288         accesor
1289         * iterators.[C]: adjust
1290
1291 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1292
1293         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1294         replaced
1295         * paragraph_funcs.C (readParToken): put the correct id in the
1296         error item, not the id of the top paragraph
1297
1298 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1299
1300         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1301         * bufferview_funcs.C (put_selection_at): use the above
1302
1303 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1304
1305         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1306
1307 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1308
1309         * output_linuxdoc.h:
1310         * output_plaintext.h:
1311         * output.h:
1312         * output_docbook.h: add #include statements
1313
1314 2003-11-05  José Matos  <jamatos@lyx.org>
1315
1316         * output_docbook.[Ch]:
1317         * output_latex.[Ch]:
1318         * output_linuxdoc.[Ch]:
1319         * output_plaintext.[Ch]: New files for output formats.
1320         * output.[Ch]: New file for helper functions.
1321
1322         * buffer.[Ch]:
1323         * paragraph_funcs.[Ch]: output functions moved to new files.
1324
1325         * outputparams.h: rename of latexrunparams.h
1326
1327         * LaTeX.[Ch]:
1328         * buffer.[Ch]:
1329         * bufferlist.[Ch]:
1330         * converter.[Ch]:
1331         * exporter.C:
1332         * paragraph.[Ch]:
1333         * paragraph_funcs.[Ch]:
1334         * paragraph_pimpl.[Ch]:
1335         * tabular.[Ch]: rename ascii to plaintext
1336         and LatexRunParams to OutputParams.
1337
1338 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * iterators.[Ch] (text): require bv argument
1341         * undo.C (recordUndo):
1342         * lyxfunc.C (dispatch):
1343         * bufferview_funcs.C (put_selection_at): adjust
1344
1345 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1346
1347         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1348
1349 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1352         nestings
1353
1354 2003-11-04  André Pönitz  <poenitz@gmx.net>
1355
1356         * cursor.[Ch]: restructure
1357
1358         * BufferView.[Ch]:
1359         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1360
1361         * iterators.[Ch] (asCursor): remove
1362
1363         * lfuns.h: remove LFUN_INSET_EDIT
1364
1365         * lyxfunc.C:
1366         * tabular.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1370
1371 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * lyxfind.[Ch]: complete overhaul
1374         * BufferView_pimpl.C:
1375         * lyxfunc.C: adjust
1376         * paragraph.[Ch] (insert): add
1377
1378 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * BufferView.[Ch]:
1381         * lyxtext.h:
1382         * text.C: remove dead spellcheck code
1383
1384 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * dispatchresult.h: add a val setter
1387
1388         * cursor.C (dispatch): use a tempvar for data_[i]
1389
1390 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1391
1392         * PosIterator.[Ch]: compile fix
1393
1394 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1395
1396         * text.C (cursorPar): deactivate the cursor cache
1397
1398 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1399
1400         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1401
1402 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * text3.C (dispatch): adjust for new DisptchResult semantics.
1405
1406         * lyxfunc.C (dispatch): handle update when return from
1407         Cursor::dispatch, adjust for new DispatchResult semantics.
1408
1409         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1410         DispatchResult(true) mean to not update. Add class functions for
1411         setting dispatched and update, as well as reading.
1412
1413         * cursor.C (dispatch): don't handle update here
1414
1415 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1418         * trans_mgr.C: adjust
1419
1420         * paragraph_funcs.C (readParToken): exception safety
1421
1422         * lyxvc.h: store the vcs pointer in a scoped_ptr
1423         * lyxvc.C: adjust
1424
1425         * lyxsocket.C (serverCallback): exception safety
1426
1427         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1428
1429         * ispell.C (clone): make it return a auto_ptr
1430
1431         * factory.C (createInset): exception safety
1432         (readInset): exception safety
1433
1434         * bufferlist.C (newBuffer): exception safety
1435
1436         * Thesaurus.C (Thesaurus): use initialization for aik_
1437
1438         * MenuBackend.C (expandToc): exception safety.
1439
1440 2003-11-03  André Pönitz  <poenitz@gmx.net>
1441
1442         * buffer.C:
1443         * buffer.h:
1444         * bufferview_funcs.C: remove getInsetFromId()
1445
1446         * lyxcursor.[Ch]:
1447         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1448
1449         * lyxfunc.C:
1450         * text2.C:
1451         * text3.C: adjust
1452
1453 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * PosIterator.C (distance, advance): new
1456         * bufferview_funcs.[Ch] (put_selection_at): new
1457         * iterators.[Ch] (lockPath): new
1458
1459 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1460
1461         * iterators.[Ch] (asPosIterator): added
1462         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1463         * PosIterator.[Ch]: added
1464
1465 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1466
1467         * text3.C:
1468         * lyxfunc.C:
1469         * cursor.C (dispatch):
1470         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1471
1472         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1473         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1474         contructor, add a class function dispatched. Remove operator>=
1475
1476 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * debug.C: only use the default constructor for debugstream
1479         (lyxerr) here.
1480
1481         * main.C (main): include debug.h and setup the lyxerr streambuf
1482         here.
1483
1484 2003-10-31  José Matos  <jamatos@lyx.org>
1485
1486         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1487
1488         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1489         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1490         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1491         * paragraph_pimpl.C (simpleTeXSpecialC):
1492         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1493         add LatexRunParams argument.
1494
1495         * exporter.C (Export): change call accordingly.
1496
1497         * latexrunparams.h: add new member to take care of the other backends.
1498 2003-10-30  José Matos  <jamatos@lyx.org>
1499
1500         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1501         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1502         factorise code for paragraph output.
1503         * buffer.[Ch]:
1504         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1505         move functions.
1506
1507 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * text3.C (dispatch):
1510         * lyxfunc.C (dispatch):
1511         * cursor.C (dispatch):
1512         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1513
1514         * dispatchresult.h: make the dispatch_result_t ctor explicit
1515
1516 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * sgml.[Ch]:
1519         * buffer.C: small refactoring of docbook stuff
1520
1521 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1522
1523         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1524         meaning.
1525
1526 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1527
1528         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1529         operator dispatch_result_t, and operators for == != and >=
1530
1531         * cursor.C (dispatch): adjust for operator dispatch_result_t
1532         removal. comment out call to update
1533
1534         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1535
1536 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1537
1538         * text3.C:
1539         * text2.C:
1540         * text.C:
1541         * lyxtext.h:
1542         * lyxfunc.C:
1543         * cursor.C:
1544         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1545         (dispatch):
1546
1547         * dispatchresult.h: new file, DispatchResult broken out of
1548         insets/insetbase.h
1549
1550         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1551
1552 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1553
1554         * text.C (rowBreakPoint): put a hack inside #if 0
1555
1556 2003-10-28  André Pönitz  <poenitz@gmx.net>
1557
1558         * lyxtext.h:
1559         * metricsinfo.C:
1560         * paragraph_funcs.C:
1561         * rowpainter.C:
1562         * text.C:
1563         * text2.C: general cleanup (lots of small stuff)
1564
1565 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1566
1567         * text2.C (cursorEnd): simple fix to the "end key goes to one
1568         before the end on last row" bug
1569
1570 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1571
1572         * text.C (backspace): fix the "zombie characters"
1573
1574 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1575
1576         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1577
1578 2003-10-27  André Pönitz  <poenitz@gmx.net>
1579
1580         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1581
1582         * factory.C: handle new InsetPagebreak, InsetLine
1583
1584         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1585         and move handling into new InsetPagebreak, InsetLine
1586
1587         * BufferView_pimpl.C:
1588         * LyXAction.C:
1589         * ParagraphParameters.C:
1590         * ParameterStruct.h:
1591         * lyxfunc.C:
1592         * lyxtext.h:
1593         * paragraph.C:
1594         * paragraph.h:
1595         * paragraph_funcs.C:
1596         * paragraph_pimpl.C:
1597         * rowpainter.C:
1598         * text.C:
1599         * text2.C:
1600         * text3.C: adjust
1601
1602 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1603
1604         * text.C:
1605         * lyxrow_funcs.[Ch]:
1606         * Bidi.C:
1607         * paragraph.C:
1608         * lyxtext.h:
1609         * rowpainter.C:
1610         * text2.C:
1611         * text3.C: remove lastPos uses in favour of Row::endpos
1612
1613 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * undo.C (performUndoOrRedo): fix two crashes by setting a
1616         cursor by hand and reordering some calls. Use bv->lockInset instead
1617         of inset->edit because the latter loses cursor information
1618
1619 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1622         by Martin
1623         (rowBreakPoint): fix width. change point to point + 1.
1624         Add a missing check.
1625
1626 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1627
1628         * MenuBackend.C:
1629         * lyxfunc.C: fix (at least partly) the problems
1630         with the Nav menu and headers inside branch insets
1631         reported by Kayvan
1632
1633 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1634
1635         * paragraph.C (getChar): add strong asserts
1636
1637         * lyxrow_funcs.C (lastPos): remove hideous hack
1638
1639         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1640         (fill): adjust to that (avoid an infinite loop)
1641
1642 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1643
1644         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1645
1646 2003-10-23  André Pönitz  <poenitz@gmx.net>
1647
1648         * RowList_fwd.h: change list<> to vector<> to gain speed
1649         after suggestion from Alfredo
1650
1651 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1652
1653         * lyxtext.h: move the bidi stuff from here...
1654         * text.C: and here
1655         * text2.C: and here
1656         * Bidi.[Ch]: ... to here
1657
1658 2003-10-23  André Pönitz  <poenitz@gmx.net>
1659
1660         * lyxtext.h:
1661         * text.C (isLastRow, isFirstRow): new functions
1662
1663         * paragraph.h: new width cache member
1664
1665         * rowpainter.C: replace RowList::iterator with Row & where possible
1666
1667         * lyxfunc.C: replace several view()->text with a single call
1668
1669         * toc.C: fix 'unused' warning
1670
1671 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1674         when woring with stream::pos_type
1675         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1676
1677 2003-10-22  André Pönitz  <poenitz@gmx.net>
1678
1679         * lyxtext.h:
1680         * text.C: use Row & instead of RowList::iterator
1681
1682         * lyxrow.h: rename end() to endpos()
1683
1684         * rowpainter.C:
1685         * text.C:
1686         * text2.C: adjust
1687
1688 2003-10-22  Angus Leeming  <leeming@lyx.org>
1689
1690         * buffer.[Ch] (fully_loaded): new member function, returning true
1691         only when the file has been loaded fully.
1692         Used to prevent the premature generation of previews and by the
1693         citation inset to prevent computation of the natbib-style label.
1694
1695         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1696         templates are all set up.
1697
1698         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1699
1700 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1701
1702         * text.C: fixed an "oops" in the "is a bit silly"
1703         bug fix
1704
1705 2003-10-21  André Pönitz  <poenitz@gmx.net>
1706
1707         * FuncStatus.[Ch]: small stuff, whitespace
1708
1709         * lyxfont.[Ch]: operator<<() for debug reasons
1710
1711         * lyxfunc.C:
1712         * lyxrow_funcs.C:
1713         * lyxtext.h: whitespace, spelling
1714
1715         * paragraph.C: naming of variables
1716
1717         * text.C:
1718         * text2.C: small stuff
1719
1720
1721 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1722
1723         * text.C: (1) finish off the inset display() work;
1724         (2) fix the "is a bit silly" bug (accessing char
1725         past end of par).
1726
1727 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * text.C: re-introduce display() for insets, fixing the
1730         various bugs (stretch of line above, math inset
1731         positioning, ...)
1732
1733 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * text.C (rightMargin): remove spurious semicolon
1736
1737         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1738         1415)
1739
1740 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1741
1742         * text3.C: fix one crash due to wrong cursor def
1743
1744 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1745
1746         * vc-backend.C (scanMaster): make the regex static
1747
1748         * LaTeX.C (scanAuxFile): make the regexs static
1749
1750         * text3.C (doInsertInset, dispatch, dispatch):
1751         * text2.C (cursorUp, cursorDown):
1752         * text.C (selectNextWordToSpellcheck):
1753         * BufferView_pimpl.C (dispatch):
1754         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1755
1756 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * lyxsocket.C: include <cerrno>
1759
1760 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1761
1762         * lyxfunc.C (dispatch): remove textcache stuff
1763
1764         * bufferlist.C (release): remove textcache stuff
1765         (closeAll): ditto
1766
1767         * TextCache.C: delete file
1768         * TextCache.h: delete file
1769
1770         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1771
1772         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1773         delete of the bv_->text.
1774         (resizeCurrentBuffer): remove texcache stuff
1775         (workAreaResize): ditto
1776
1777 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1778
1779         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1780         action.
1781
1782 2003-10-16  André Pönitz  <poenitz@gmx.net>
1783
1784         * lyxrow.[Ch]:
1785         * paragraph.h:
1786         * rowpainter.C:
1787         * text.C:
1788         * text2.C:
1789         * text3.C: speed up by storing y positions per paragraph plus per-row
1790         offset instead of having a 'full' y position in the row.
1791
1792 2003-10-15  André Pönitz  <poenitz@gmx.net>
1793
1794         * iterators.[Ch]:
1795         * iterators.[Ch]:
1796         * undo.[Ch]: make undo aware of inner insets
1797
1798 2003-10-14  Angus Leeming  <leeming@lyx.org>
1799
1800         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1801         static member functions LyX::ref() and LyX::cref.
1802         (lastfiles): new accessor functions for the new lastfiles_ member var.
1803         (addLyXView, views_): add a new LyXView to the list of views_.
1804         (updateInset): loop over all LyXViews to call their own updateInset
1805         member function, returning a pointer to the Buffer owning the inset.
1806
1807         * BufferView_pimpl.C (loadLyXFile):
1808         * MenuBackend.C (expandLastfiles):
1809         * bufferlist.C (MenuWrite, QuitLyX):
1810         lastfiles is no longer a global variable.
1811         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1812
1813         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1814         static function. Access through LyX::cref().emergencyCleanup().
1815
1816 2003-10-14  André Pönitz  <poenitz@gmx.net>
1817
1818         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1819
1820         * undo.[Ch]: restoring part of 'undo in insets'
1821
1822         * Makefile.am:
1823         * undo_funcs.[Ch]: merge with undo.[Ch]
1824
1825         * tabular.C: small cleansing stuff
1826
1827 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1828
1829         * paragraph_funcs.C (readParToken): report unknown insets as error
1830         boxes. Use the outer paragraph as location (also for unknown
1831         tokens).
1832
1833         * factory.C (readInset): do not abort on reading an unknown inset.
1834         Eat it and return 0.
1835
1836 2003-10-13  Angus Leeming  <leeming@lyx.org>
1837
1838         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1839
1840         * lyxrc.C: displayTranslator is now a function,
1841         declared in GraphicsTypes.h.
1842
1843 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1844
1845         * format.C: new placeholder $$a to pass the socket address.
1846
1847         * bufferlist.[Ch]: new function getBufferFromTmp.
1848
1849         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1850           files in the temporary dir.
1851
1852 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1853
1854         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1855
1856         * Makefile.am: add lyxsocket.[Ch].
1857
1858         * lyx_main.C (error_handler): handle SIGPIPE.
1859
1860 2003-10-13  André Pönitz  <poenitz@gmx.net>
1861
1862         * BufferView_pimpl.C:
1863         * lyxtext.h:
1864         * text.C:
1865         * text2.C:
1866         * text3.C:
1867         * undo_funcs.[Ch]: use paroffset_type instead of
1868           ParagraphList::iterators to prevent multiple conversion
1869           (and get a more robust interface)
1870
1871 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1872
1873         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1874         * lyxtext.h: ditto
1875         * text3.C (dispatch): ditto
1876
1877 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1880         move the onlyfile, use onlyfile instead of foundfile in a couple
1881         of places.
1882
1883         * DepTable.C (update): flush the error stream a bit more
1884
1885 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * lyxserver.C (callback): adjust
1888
1889         * lyxfunc.C (getStatus): add a missing brace in commented code
1890         (ensureBufferClean): reindent
1891         (dispatch): delete version taking a string
1892
1893 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * LaTeX.C (deplog): move found file handlig from here...
1896         (handleFoundFile): .. to new function here.
1897         (deplog): make sure to discover several files mentioned on the
1898         same log line.
1899
1900 2003-10-10  André Pönitz  <poenitz@gmx.net>
1901
1902         * lyxfunc.C:
1903         * lyxtext.h:
1904         * tabular.C:
1905         * text.C:
1906         * text2.C:
1907         * text3.C: fix some of the tabular crashes
1908
1909 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1910
1911         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1912
1913         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1914
1915 2003-10-09  André Pönitz  <poenitz@gmx.net>
1916
1917         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1918
1919         * BufferView.C:
1920         * BufferView_pimpl.C:
1921         * bufferview_funcs.C:
1922         * lyx_cb.C:
1923         * lyxcursor.C:
1924         * lyxfind.C:
1925         * lyxfunc.C:
1926         * lyxtext.h:
1927         * text.C:
1928         * text2.C:
1929         * text3.C:
1930         * text_funcs.[Ch]:
1931         * textcursor.[Ch]:
1932         * undo_funcs.C: adjust
1933
1934 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1935
1936         * text2.C (incrementItemDepth): new function, use a backtracking
1937         algorithm to discover the correct item depth.
1938         (resetEnumCounterIfNeeded): new function, use a backtracking
1939         algorithm to discover if counter reset is needed.
1940         (setCounter): use them. Simplify a bit. Add different labels for
1941         different item depths for itemize.
1942
1943         * paragraph.C (Paragraph): remove initialization of enumdepth
1944         (operator=): ditto
1945
1946         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1947         enumerate and itemize. Change the type of itemdepth to signed char.
1948
1949 2003-10-08  André Pönitz  <poenitz@gmx.net>
1950
1951         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1952           thing assignable.
1953         * text.C:
1954         * text2.C: adjust
1955
1956         * tabular.[Ch]: fix crash after 'row-insert'
1957
1958 2003-10-08  Angus Leeming  <leeming@lyx.org>
1959
1960         Fix doxygen warnings.
1961
1962         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1963         Remove CutAndPaste:: prefix from header file declaration.
1964
1965         * LColor.h (fill): remove LColor:: prefix from declaration.
1966
1967         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1968         use lyx::depth_type rather than Paragraph::depth_type so that
1969         header file and .C file match.
1970
1971         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1972
1973         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1974         * aspell.C: \file aspell_local.C -> \file aspell.C
1975         * gettext.C: \file gettext.C -> \file src/gettext.C
1976         * gettext.h: \file gettext.h -> \file src/gettext.h
1977         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1978         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1979         * text.C: \file text.C -> \file src/text.C
1980
1981         * toc.C: move comment so that doxygen is not confused.
1982
1983 2003-10-07  Angus Leeming  <leeming@lyx.org>
1984
1985         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1986
1987 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1988
1989         * aspell.C:
1990         * aspell_local.h: add forgotten std::string's.
1991
1992 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1993
1994         * LaTeXFeatures.C:
1995         * LyXAction.C:
1996         * factory.C:
1997         * lfuns.h:
1998         * lyxfunc.C:
1999         * text3.C: The Box patch. Fancybox support, minipage, parbox
2000
2001 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2002
2003         * CutAndPaste.h:
2004         * DepTable.h:
2005         * FloatList.h:
2006         * LaTeXFeatures.h:
2007         * ParagraphParameters.h:
2008         * TextCache.h:
2009         * Thesaurus.h:
2010         * bufferlist.h:
2011         * exporter.h:
2012         * importer.h:
2013         * lastfiles.h:
2014         * lyxfind.h:
2015         * lyxfont.h:
2016         * lyxlex.h:
2017         * lyxtextclasslist.h:
2018         * messages.h:
2019         * paragraph.h:
2020         * paragraph_pimpl.C:
2021         * textcursor.h: add <string> and other small fixes to make Lars'
2022         std::string patch compile with STLport.
2023
2024 2003-10-06  Angus Leeming  <leeming@lyx.org>
2025
2026         * LColor.h: Add missing #include <string>.
2027
2028 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2029
2030         * All most all file in all subdirs: Make <string> be the prefered
2031         way of getting to std::string, add using declarations.
2032
2033 2003-10-06  André Pönitz  <poenitz@gmx.net>
2034
2035         * metricsinfo.C: initialize LyXFont before changing attribute.
2036         (fixes the 'math in \emph is upright' bug)
2037
2038 2003-10-06  André Pönitz  <poenitz@gmx.net>
2039
2040         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2041
2042 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2043
2044         * graph.C:
2045         * paragraph_pimpl.C: Small fixes to build using STLport
2046
2047 2003-10-02  André Pönitz  <poenitz@gmx.net>
2048
2049         * lyxfunc.C:
2050         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2051
2052 2003-10-01  André Pönitz  <poenitz@gmx.net>
2053
2054         * factory.C: assert early
2055
2056 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * lyx_main.C: remove the global debug object
2059
2060         * debug.h: adjust for new debugstream
2061
2062         * debug.C: adjust for new debugstream and keep the global debug
2063         object here.
2064
2065 2003-09-22  Angus Leeming  <leeming@lyx.org>
2066
2067         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2068         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2069         an incomplete class LyXFont.
2070
2071 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2072
2073         * factory.C: bug fix in branches
2074
2075 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * lyxfunc.C (processKeySym): adjust
2078         (dispatch): adjust
2079         (dispatch): change arg name from ev to func, adjust
2080         (sendDispatchMessage): ditto
2081
2082         * lyx_main.C (defaultKeyBindings): adjust keybindings
2083         (deadKeyBindings): ditto
2084
2085         * kbsequence.C (addkey): return a FuncRequest
2086
2087         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2088
2089         * kbmap.C (bind): take a FuncRequest as arg, adjust
2090         (read): adjust
2091         (lookup): adjust
2092         (defkey): change to take a FuncRequest as arg, adjust
2093         (findbinding): take a FuncRequest as arg, adjust.
2094
2095         * funcrequest.h (operator=): added
2096
2097         * funcrequest.C (FuncRequest): default kb_action changed from
2098         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2099
2100         * buffer.C (dispatch): simplify
2101         (dispatch): adjust to take a FuncRequest as arg, adjust
2102
2103         * boost.C (assertion_failed): change assertion message slightly
2104
2105         * ToolbarBackend.C (read): simplify
2106
2107         * MenuBackend.C (binding): adjust call to findbinding, add a
2108         message if no binding is found.
2109         (read): simplify
2110         (expandToc): correct by adding a empty FuncRequest
2111
2112         * LyXAction.C: include <boost/assert.hpp>
2113         (isPseudoAction): delete function
2114         (LookupFunc): change name to...
2115         (lookupFunc): this. change return type to FuncRequest.
2116         (getActionName): take kb_action as arg, simplify
2117         (funcHasFlag): add an assert, simplify.
2118
2119 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2120
2121         * toc.C (action): return a FuncRequest, simplify
2122
2123         * lyxfunc.C (processKeySym): adjust
2124         (getStatus): delete version that takes an int.
2125         (getStatus): adjust
2126         (dispatch): delete version that takes action as int
2127         (dispatch): adjust
2128         (sendDispatchMessage): simplify and adjust
2129
2130         * funcrequest.C (getArg): take unsigned int as arg
2131
2132         * ToolbarBackend.C (read): adjust
2133         (add): delete version that takes func as a string.
2134         (getIton): take a FuncRequest as arg
2135
2136         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2137         action.
2138
2139         * MenuBackend.C (MenuItem): add a new construct that only takes a
2140         Kind, simplify the constructor use for submenus.
2141         (add): adjust
2142         (expandLastfiles): adjust
2143         (expandDocuments): adjust
2144         (expandFormats): adjust
2145         (expandFloatListInsert): adjust
2146         (expandFloatInsert): adjust
2147         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2148
2149         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2150         Remove class variables lyx_pseudo_map and lyx_arg_map
2151
2152         * LyXAction.C (searchActionArg): delete function
2153         (getPseudoAction): delete function
2154         (retrieveActionArg): delete function
2155         (LookupFunc): make it return kb_action, simplify.
2156         (getActionName): simplify
2157
2158         * factory.C (createInset): fix new bug
2159
2160 2003-09-19  Angus Leeming  <leeming@lyx.org>
2161
2162         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2163         masterFilename_ parameter in the include inset.
2164
2165         * factory.C (createInset): changes due to the changes to InsetInclude.
2166
2167 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2168
2169         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2170
2171 2003-09-18  Angus Leeming  <leeming@lyx.org>
2172
2173         * buffer.C:
2174         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2175         Inset::fillWithBibKeys.
2176         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2177
2178 2003-09-18  Angus Leeming  <leeming@lyx.org>
2179
2180         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2181         variables.
2182         (ctor): pass and store a 'Buffer const &'
2183         (buffer): new member function.
2184
2185         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2186         '*this' to the LaTeXFeatures ctor.
2187
2188 2003-09-18  Angus Leeming  <leeming@lyx.org>
2189
2190         * LColor.h:
2191         * lyxfont.C:
2192         * lyxfont.h:
2193         * lyxtext.h:
2194         * text.C: rename EnumLColor as LColor_color.
2195
2196 2003-09-18  Angus Leeming  <leeming@lyx.org>
2197
2198         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2199         remove #include "insets/insetbase.h" from cursor.h.
2200
2201 2003-09-18  Angus Leeming  <leeming@lyx.org>
2202
2203         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2204         InsetOld_code to remove #include "inset.h".
2205
2206         * iterators.C: add #include "insets/inset.h"
2207
2208 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * BufferView.C: remove more locking stuff that apparently doesn't
2211         do anything sensible.
2212
2213 2003-09-16  André Pönitz  <poenitz@gmx.net>
2214
2215         * paragraph.[Ch]:
2216         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2217           performance boost.
2218
2219 2003-09-16  Angus Leeming  <leeming@lyx.org>
2220
2221         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2222
2223         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2224         arg/return type.
2225
2226         * paragraph.h: remove #include "lyxfont.h". Forward declare
2227         LyXFont_size.
2228
2229 2003-09-16  Angus Leeming  <leeming@lyx.org>
2230
2231         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2232         of support/textutils.h.
2233         (isWord): move the contents of support/textutils.h's IsWordChar here.
2234
2235         * buffer.C:
2236         * lyxfind.C:
2237         * rowpainter.C:
2238         * text.C:
2239         * text2.C: add #include "paragraph.h".
2240
2241         * rowpainter.C:
2242         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2243
2244 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * main.C:
2247         * lyx_main.C:
2248         * lyx_cb.C:
2249         * buffer.C:
2250         * LaTeX.C: use namespace alias for lyx::support::os
2251
2252 2003-09-16  Angus Leeming  <leeming@lyx.org>
2253
2254         * bufferparams.C:
2255         * bufferview_funcs.C:
2256         * factory.C:
2257         * lyxfunc.C:
2258         * paragraph_pimpl.C:
2259         * rowpainter.C:
2260         * text.C: add #include "LColor.h".
2261
2262 2003-09-16  Angus Leeming  <leeming@lyx.org>
2263
2264         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2265         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2266         return LyXFont &.
2267         Store the FontBits::color variable as an int rather than as an
2268         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2269         file.
2270
2271         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2272         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2273         string calls together.
2274
2275         * lyxrc.C: add #include "LColor.h".
2276
2277 2003-09-15  Angus Leeming  <leeming@lyx.org>
2278
2279         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2280         a cow_ptr.
2281
2282 2003-09-15  Angus Leeming  <leeming@lyx.org>
2283
2284         * LColor.h: add an EnumLColor wrapper for LColor::color.
2285
2286         * lyxfont.[Ch] (color, setColor, realColor):
2287         * lyxtext.h, text.C (backgroundColor):
2288         pass EnumLColor args to/from the functions, rather than LColor::color
2289         ones.
2290
2291         * lyxfont.h:
2292         * lyxtext.h: forward declare EnumLColor.
2293
2294         * lyx_main.C: add #include "LColor.h".
2295
2296 2003-09-15  Angus Leeming  <leeming@lyx.org>
2297
2298         * .cvsignore: add lyx-gtk.
2299
2300 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2301
2302         * Chktex.C
2303         * LaTeX.C
2304         * LaTeXFeatures.C
2305         * ParagraphParameters.C
2306         * Spacing.C
2307         * buffer.C
2308         * bufferparams.C
2309         * bufferview_funcs.C
2310         * chset.C
2311         * counters.C
2312         * funcrequest.C
2313         * lyxfont.C
2314         * lyxgluelength.C
2315         * lyxlength.C
2316         * paragraph.C
2317         * paragraph_funcs.C
2318         * text3.C
2319         * vc-backend.C: remove usage of STRCONV
2320
2321 2003-09-15  Angus Leeming  <leeming@lyx.org>
2322
2323         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2324         explicitly define the color passed to the painter.
2325
2326 2003-09-15  Angus Leeming  <leeming@lyx.org>
2327
2328         * bufferparams.C (BufferParams): reorder member initializers to avoid
2329         compiler warning.
2330
2331 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2332
2333         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2334         * text.C (updateRowPositions): remove an unusual nop
2335
2336 2003-09-12  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView_pimpl.C:
2339         * Bullet.C:
2340         * layout.h:
2341         * lyxfunc.C:
2342         * lyxlayout.[Ch]:
2343         * lyxtextclass.C:
2344         * rowpainter.C:
2345         * text.C:
2346         * text2.C:
2347         * Counters.[Ch]: finish the 'automatic counters' job
2348
2349 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2350
2351         * aspell.C: include <boost/assert.cpp> (compile fix)
2352
2353 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2354
2355         * boost.C (assertion_failed): use lyx::support::abort instead of
2356         assert.
2357
2358 2003-09-10  Angus Leeming  <leeming@lyx.org>
2359
2360         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2361         with their _fwd progeny.
2362
2363 2003-09-09  Angus Leeming  <leeming@lyx.org>
2364
2365         134 files throughtout the source tree: replace 'using namespace abc;'
2366         directives with the appropriate 'using abc::xyz;' declarations.
2367
2368 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2369
2370         * boost.C (emergencyCleanup): moved here from LAssert.c
2371         (assertion_failed): new function, called by BOOST_ASSERT
2372
2373         * several files: change Assert to BOOST_ASSERT
2374
2375 2003-09-09  Angus Leeming  <leeming@lyx.org>
2376
2377         * buffer.[Ch]: Add an Impl class and move Buffer's member
2378         variables into it. As a result move several header files out of
2379         buffer.h.
2380
2381         Add header files to lots of .C files all over the tree as a result.
2382
2383 2003-09-09  Angus Leeming  <leeming@lyx.org>
2384
2385         * buffer.[Ch]: make Buffer's member variables private. Add
2386         accessor functions.
2387
2388         Lots of changes all over the tree as a result.
2389
2390 2003-09-08  Angus Leeming  <leeming@lyx.org>
2391
2392         * graph.C: #include <config.h>.
2393
2394 2003-09-08  Angus Leeming  <leeming@lyx.org>
2395
2396         * BranchList.C:
2397         * BufferView.C:
2398         * BufferView_pimpl.C:
2399         * CutAndPaste.C:
2400         * DepTable.C:
2401         * LaTeX.C:
2402         * LaTeXFeatures.C:
2403         * LyXAction.C:
2404         * MenuBackend.C:
2405         * TextCache.C:
2406         * aspell.C:
2407         * buffer.C:
2408         * bufferlist.C:
2409         * changes.C:
2410         * chset.C:
2411         * converter.C:
2412         * counters.C:
2413         * debug.C:
2414         * graph.C:
2415         * ispell.C:
2416         * lyx_cb.C:
2417         * lyxfind.C:
2418         * lyxfunc.C:
2419         * lyxlex_pimpl.C:
2420         * lyxrc.C:
2421         * lyxrow.C:
2422         * paragraph.C:
2423         * rowpainter.C:
2424         * texrow.C:
2425         * text.C:
2426         * text2.C:
2427         * toc.C: remove redundant using directives.
2428
2429 2003-09-07  Angus Leeming  <leeming@lyx.org>
2430
2431         * LaTeXFeatures.h: remove #include "support/types.h".
2432         * ToolbarBackend.h: remove #include <algorithm>.
2433         * changes.h: remove #include <ctime>.
2434         * debug.h: remove #include <iosfwd>.
2435         * graph.h: remove #include "support/std_string.h".
2436         * lyx_main.h: remove #include <csignal>.
2437         * lyxlex_pimpl.h: remove #include <fstream>.
2438         * sgml.h: remove #include <algorithm>, <utility>.
2439         * toc.h: remove #include "support/std_ostream.h".
2440         Add #include <iosfwd>.
2441
2442 2003-09-07  Angus Leeming  <leeming@lyx.org>
2443
2444         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2445
2446         * converter.h: forward declare LatexRunParams.
2447         * encoding.h: remove #include "lyxrc.h".
2448         * lyxtext.h: remove #include "LColor.h".
2449         * lyxtextclass.h: remove #include "support/types.h".
2450         * trans.h: remove #include "tex-accent.h".
2451         * trans_mgr.h: remove #include "tex-accent.h".
2452         * insets/inset.h: remove #include "support/types.h", <vector>.
2453         * insets/insetcollapsable.h: remove #include "LColor.h".
2454         * insets/insetinclude.h: remove #include "dimension.h".
2455         * insets/insetlatexaccent.h: remove #include "dimension.h".
2456         * insets/insetoptarg.h:: remove #include "insettext.h".
2457         * insets/insettext.h: remove #include "dimension.h",
2458         <boost/shared_ptr.hpp>
2459
2460         * insets/renderers.h: add #include "dimension.h".
2461         * insets/updatableinset.h: add #include "support/types.h".
2462
2463         * many .C files: Associated changes.
2464
2465 2003-09-06  Angus Leeming  <leeming@lyx.org>
2466
2467         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2468         one, inside testInvariant.
2469
2470         * PrinterParams.C: new file.
2471         * PrinterParams.[Ch]: move the function bodies out of line.
2472
2473 2003-09-06  Angus Leeming  <leeming@lyx.org>
2474
2475         * ParagraphParameters.h: forward declare ParameterStruct rather than
2476         including its header file.
2477         (depth): moved out-of-line.
2478
2479 2003-09-06  Angus Leeming  <leeming@lyx.org>
2480
2481         * BufferView_pimpl.h:
2482         * kbmap.h:
2483         * kbsequence.h:
2484         * lyxfunc.h: forward declare LyXKeySym rather than
2485         #include "frontends/LyXKeySym.h".
2486
2487         * BufferView_pimpl.C:
2488         * kbmap.C:
2489         * kbsequence.C:
2490         * lyxfunc.C: associated changes.
2491
2492 2003-09-06  Angus Leeming  <leeming@lyx.org>
2493
2494         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2495         As a result, can remove the #include "insets/inset.h" from BufferView.h
2496
2497 2003-09-06  Angus Leeming  <leeming@lyx.org>
2498
2499         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2500         As a result, can remove the #include "insets/inset.h" from BufferView.h
2501
2502 2003-09-06  Angus Leeming  <leeming@lyx.org>
2503
2504         * buffer_funcs.C:
2505         * buffer.h:
2506         * bufferlist.C:
2507         * BufferView.C:
2508         * bufferview_funcs.C:
2509         * BufferView_pimpl.C:
2510         * CutAndPaste.C:
2511         * lyx_cb.C:
2512         * lyxfunc.C:
2513         * paragraph.h:
2514         * ParagraphParameters.C:
2515         * tabular.C:
2516         * text3.C:
2517         * toc.C:
2518         * undo_funcs.C:
2519         * frontends/controllers/ControlDocument.C:
2520         * insets/insetcaption.C: rearrange the #includes into some sort of
2521         coherent order.
2522
2523         * buffer.h: remove #includes ErrorList.h, undo.h
2524
2525 2003-09-06  Angus Leeming  <leeming@lyx.org>
2526
2527         * support/types.h: add a 'depth_type' typedef, used to store the
2528         nesting depth of a paragraph.
2529
2530         * paragraph.h:
2531         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2532         defining explicitly.
2533
2534         * buffer.h:
2535         * paragraph_funcs.h:
2536         * ParagraphParameters.h:
2537         * sgml.h: use lyx::depth_type rather than Paragraph or
2538         ParameterStruct's depth_type.
2539
2540         * buffer.h
2541         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2542
2543         * BufferView.C:
2544         * BufferView_pimpl.C:
2545         * CutAndPaste.C:
2546         * ParagraphParameters.C:
2547         * buffer_funcs.C:
2548         * bufferlist.C:
2549         * bufferview_funcs.C:
2550         * lyx_cb.C:
2551         * lyxfunc.C:
2552         * tabular.C:
2553         * text3.C:
2554         * toc.C:
2555         * undo_funcs.C:
2556         * frontends/LyXView.C:
2557         * frontends/controllers/ControlDocument.C:
2558         * frontends/controllers/ControlErrorList.C:
2559         * insets/insetbibitem.C:
2560         * insets/insetbranch.C:
2561         * insets/insetcaption.C:
2562         * insets/insetcollapsable.C:
2563         * insets/insetenv.C:
2564         * insets/insetert.C:
2565         * insets/insetfloat.C:
2566         * insets/insetfoot.C:
2567         * insets/insetfootlike.C:
2568         * insets/insetnewline.C:
2569         * insets/insetquotes.C:
2570         * insets/insettabular.C:
2571         * insets/insettext.C:
2572         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2573
2574         * frontends/controllers/ControlChanges.C: #include "changes.h".
2575
2576 2003-09-06  Angus Leeming  <leeming@lyx.org>
2577
2578         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2579         than #including paragraph.h.
2580
2581         * ParagraphList.h:
2582         * RowList.h: deleted. Superfluous.
2583
2584         * CutAndPaste.h:
2585         * iterators.h:
2586         * lyxcursor.h:
2587         * lyxtext.h:
2588         * text_funcs.h:
2589         * undo.h:
2590         * undo_funcs.h:
2591         * insets/inset.h:
2592         * insets/insettext.h: use ParagraphList_fwd.h rather than
2593         ParagraphList.h.
2594
2595         * paragraph.h: don't forward declare ParagraphList.
2596
2597         * buffer.h:
2598         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2599         rather than ParagraphList.h. paragraph.h is still needed for the
2600         Paragraph::depth_type parameters.
2601
2602         * textcursor.h: enable it to compile stand-alone in light of the
2603         above changes.
2604
2605         * bufferview_funcs.C:
2606         * iterators.C:
2607         * lyxfunc.C:
2608         * lyxrow_funcs.C:
2609         * paragraph.C:
2610         * rowpainter.C:
2611         * text.C:
2612         * text2.C:
2613         * text3.C:
2614         * text_funcs.C:
2615         * textcursor.C:
2616         * undo.C:
2617         * frontends/controllers/ControlParagraph.C:
2618         * frontends/controllers/ControlTabular.C:
2619         * insets/insetmarginal.C:
2620         * insets/insetminipage.C:
2621         * insets/insetnote.C:
2622         * insets/insetoptarg.C: add header files needed to compile again.
2623
2624 2003-09-06  Angus Leeming  <leeming@lyx.org>
2625
2626         * RowList_fwd.h: new file, forward-declaring Row rather than
2627         #including lyxrow.h.
2628
2629         * lyxrow_funcs.h:
2630         * lyxtext.h:
2631         * paragraph.h:
2632         * insets/insettext.h: use it instead of RowList.h
2633
2634         * bufferview_funcs.C:
2635         * lyxfunc.C:
2636         * lyxrow_funcs.C:
2637         * paragraph.C:
2638         * rowpainter.C:
2639         * text.C:
2640         * text2.C:
2641         * text3.C: #include "RowList.h".
2642
2643 2003-09-05  Angus Leeming  <leeming@lyx.org>
2644
2645         * factory.C (createInset):
2646         * vspace.C (c-tor): replace sscanf call with an istringstream.
2647         * ispell.C: re-add missing HP/UX headers.
2648         * lyxserver.C: re-add missing  os2 headers.
2649
2650 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * BranchList.C:
2653         * graph.C:
2654         * ispell.C:
2655         * lastfiles.C:
2656         * lyx_cb.C:
2657         * lyxserver.C:
2658         * texrow.C:
2659         * text3.C: re-add missing system headers, needed for 2.95.2.
2660
2661 2003-09-05  Angus Leeming  <leeming@lyx.org>
2662
2663         Changes most place everywhere due to the removal of using directives
2664         from support/std_sstream.h.
2665
2666 2003-09-05  Angus Leeming  <leeming@lyx.org>
2667
2668         Replace LString.h with support/std_string.h,
2669         Lsstream.h with support/std_sstream.h,
2670         support/LIstream.h with support/std_istream.h,
2671         support/LOstream.h with support/std_ostream.h.
2672
2673         Changes resulting throughout the tree.
2674
2675 2003-09-05  Angus Leeming  <leeming@lyx.org>
2676
2677         * sgml.h: ensure that the header file can be compiled stand-alone.
2678         * *.C: strip out redundant #includes. (320 in total.)
2679
2680 2003-09-04  Angus Leeming  <leeming@lyx.org>
2681
2682         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2683         here (from getPackages).
2684
2685         * debug.[Ch]: add a new EXTERNAL tag.
2686
2687 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2688
2689         * text2.C (cursorEnd): simplify
2690         (setCursor): adjust
2691         (getColumnNearX): adjust
2692
2693         * text.C (computeBidiTables): adjust
2694         (fill): adjust
2695
2696         * rowpainter.C (paintChars): adjust
2697         (paintSelection): adjust
2698         (paintChangeBar): adjust
2699         (paintText): adjust
2700
2701         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2702         lastPos instead.
2703         (numberOfSeparators): adjust
2704
2705 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2706
2707         * LyXAction.C:
2708         * box.[Ch]:
2709         * lfuns.h:
2710         * lyxfunc.C:
2711         * text3.C: Restricts the mouse click functionality
2712         of insets like bibtex, include, toc and floatlist to the visible
2713         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2714         up the dialogs. Cursor has to be in front of the inset (i.e.
2715         start of row) for this to function.
2716
2717 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2718
2719         * bufferview_funcs.C (currentState): output row information
2720
2721 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2722
2723         * bufferview_funcs.C (currentState): output paragraph position
2724
2725 2003-09-04  Angus Leeming  <leeming@lyx.org>
2726
2727         * FloatList.h: move out #include "Floating.h".
2728         * LaTeX.h: move out #include "DepTable.h".
2729         * LyXAction.h: move out #include "funcrequest.h".
2730         * buffer.h: move out #include "author.h", "iterators.h".
2731         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2732         * lyx_main.h: move out #include "errorlist.h".
2733         * lyxfunc.h: move out #include "FuncStatus.h".
2734         * lyxtext: move out #include "lyxcursor.h".
2735         * paragraph_pimpl.h: move out #include "counters.h".
2736
2737 2003-09-03  Angus Leeming  <leeming@lyx.org>
2738
2739         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2740         preamble_snippets list, enabling us to add snippets to the preamble
2741         only if the snippet was not there already.
2742
2743 2003-09-04  Angus Leeming  <leeming@lyx.org>
2744
2745         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2746
2747 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2750         update
2751
2752 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2753
2754         * BranchList.C: point fix, earlier forgotten
2755
2756 2003-09-02  Angus Leeming  <leeming@lyx.org>
2757
2758         * box.C (contains): renamed from 'contained' after a fantastic
2759         amount of hot air.
2760
2761 2003-09-02  John Levon  <levon@movementarian.org>
2762
2763         * BufferView.C:
2764         * lyxcursor.h:
2765         * lyxcursor.C:
2766         * lyxfunc.C:
2767         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2768
2769 2003-09-02  John Levon  <levon@movementarian.org>
2770
2771         * text2.C: simplification of cursorEnd(), including partial
2772         fix for bug 1376
2773
2774 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * buffer.C (readFile): add a space
2777
2778 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2779
2780         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2781
2782 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * buffer.C (readFile): new function, take a filename and a
2785         ParagraphList::iterator
2786         (readFile): adjust
2787         (readFile): adjust, make it private. don't use setStream, make
2788         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2789         always contain the filename.
2790
2791         * BufferView.C (insertLyXFile): simplify and make it work for
2792         gzipped files.
2793
2794 2003-08-30  John Levon  <levon@movementarian.org>
2795
2796         * Makefile.am: fix dist (from Kayvan)
2797
2798 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * most files: change to use const Buffer refs
2801
2802 2003-08-27  André Pönitz  <poenitz@gmx.net>
2803
2804         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2805         on top of ownerPar().
2806
2807 2003-08-27  John Levon  <levon@movementarian.org>
2808
2809         * funcrequest.C: properly initialise POD members
2810
2811 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * lyxtext.h (top_y): move top_y from here
2814         * text.C:
2815         * text2.C:
2816         * text3.C:
2817         * BufferView.[Ch]:
2818         * BufferView_pimpl.[Ch]: to here
2819         * frontends/screen.C:
2820         * insets/insettabular.C:
2821         * insets/insettext.C: adjust
2822         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2823
2824 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * BufferView.[Ch]:
2827         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2828
2829 2003-08-26  André Pönitz  <poenitz@gmx.net>
2830
2831         * paragraph_func.[Ch] (outerPar): new function
2832
2833         * paragraph.C:
2834         * paragraph_funcs.C:
2835         * paragraph_funcs.h:
2836         * paragraph_pimpl.C:
2837         * text2.C: remove Inset::par_owner
2838
2839 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2840
2841         * lyxrow_funcs.C:
2842         * lyxtext.h:
2843         * text.C:
2844         * text2.C: eliminates the needFullRow/display() stuff
2845         altogether, putting the logic in metrics/draw in the insets.
2846
2847 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * text2.C (redoParagraphInternal, redoParagraphs):
2850         * text.C (redoParagraph): add a call to updateRowPositions at the
2851         end of each 'metrics-like' call. Remove all others.
2852         (getRow): remove the 'y-computing' version.
2853         (getRowNearY): do not compute nor return the real y. Solve the
2854         'y < 0' problem and simplify.
2855
2856 2003-08-22  Angus Leeming  <leeming@lyx.org>
2857
2858         * *.[Ch]: clean-up of licence and author blurbs.
2859         Also move config.h out of a few .h files and into a few .C files.
2860
2861 2003-08-22  André Pönitz  <poenitz@gmx.net>
2862
2863         * lyxrow.[Ch]: add x_ and *fill_ members
2864
2865         * lyxtext.h:
2866         * text.C:
2867         * rowpainter.C:
2868         * text2.C: adjust/remove prepareToPrint() calls
2869
2870 2003-08-22  André Pönitz  <poenitz@gmx.net>
2871
2872         * lyxrow.[Ch]: add  end_ member
2873
2874         * lyxrow_funcs.C: use LyXRow::end_
2875
2876         * lyxtext.h (singleWidth): add LyXFont parameter
2877
2878         * rowpainter.C:
2879         * text2.C: adjust LyXText::singleWidth() calls
2880
2881         * text.C (redoParagraph): simplify row breaking logic
2882
2883
2884 2003-08-19  André Pönitz  <poenitz@gmx.net>
2885
2886         * funcrequest.C: initialize button_ member
2887
2888         * text3.C:
2889         * rowpainter.[Ch]: interface consolidation
2890
2891 2003-08-18  André Pönitz  <poenitz@gmx.net>
2892
2893         * BufferView.C:
2894         * BufferView_pimpl.C:
2895         * lyxfind.C:
2896         * paragraph_funcs.C:
2897         * rowpainter.C:
2898         * text3.C: remove LyXScreen::draw() and fitCursor calls
2899
2900         * BranchList.h: remove spurious semicolons
2901
2902         * MenuBackend.C: fix branchlist related crash
2903
2904 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2905
2906         * BranchList.[Ch]:
2907         * InsetList.[Ch]:
2908         * LColor.[Ch]:
2909         * LyXAction.C:
2910         * Makefile.am:
2911         * MenuBackend.[Ch]:
2912         * bufferparams.[Ch]:
2913         * factory.C:
2914         * lfuns.h:
2915         * lyxfunc.C:
2916         * text3.C: implements the 'branch inset'
2917         idea. This allows the output of various versions of a document
2918         from a single source version, selectively outputing or suppressing
2919         output of parts of the text.
2920         This implementation contains a 'branch list editor' in a separate
2921         tab of the document settings dialog. Branches are user definable
2922         and have a "display colour" to distinguish them on-screen.
2923
2924         ColorHandler was somewhat cleaned up.
2925         (1) make possible a dynamically growing LColor list by allowing
2926         the graphic context cache to grow along (vector);
2927         (2) eliminate an IMHO unnecessary step in colour allocation.
2928
2929 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2930
2931         * BufferView_pimpl.C: compile fix
2932
2933 2003-08-15  André Pönitz  <poenitz@gmx.net>
2934
2935         * rowpainter.C: remove extra metrics calls
2936
2937         * lyxtext.h: merge the two constructors into a single one,
2938           pass reference to owner's par list
2939
2940         * BufferView_pimpl.C:
2941         * text.C:
2942         * text2.C: adjust
2943
2944 2003-08-15  André Pönitz  <poenitz@gmx.net>
2945
2946         * lyxrow_funcs.[Ch]:
2947         * lyxtext.h:
2948         * paragraph.h:
2949         * paragraph_funcs.C:
2950         * rowpainter.C:
2951         * text.C:
2952         * text2.C:
2953         * text3.C:
2954         * text_funcs.C: split LyXText::rowlist_ into individual
2955         Paragraph::rows_ chunks
2956
2957         * BufferView.[Ch]:
2958         * BufferView_pimpl.[Ch]:
2959         * lyxfind.C:
2960         * lyxtext.h:
2961         * text3.C: remove toggleSelection()
2962
2963 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2964
2965         * bufferlist.C: beautify two alerts (shorter text of buttons)
2966         * buffer.C: Remove redundant ' ' from message
2967         * tabular.h:
2968         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2969         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2970         rename VALIGN_CENTER to VALIGN_MIDDLE
2971
2972 2003-08-11  André Pönitz  <poenitz@gmx.net>
2973
2974         * lyxtext.h (getPar):
2975         * text.C: new function
2976
2977 2003-08-11  André Pönitz  <poenitz@gmx.net>
2978
2979         * Makefile.am:
2980         * tracer.[Ch]: remove unneeded files
2981
2982         * InsetList.[Ch]: remove resizeInsetsLyXText()
2983
2984         * lyxtext.h:
2985         * text.C:
2986         * text2.C:
2987         * text3.C: merge insertParagraphs() and appendParagraph()
2988         remove breakAgain(), update()
2989
2990         * BufferView_pimpl.[Ch]:
2991         * bufferview_funcs.[Ch]:
2992         * lyxfunc.C:
2993         * paragraph.[Ch]:
2994         * rowpainter.C:
2995         * tabular.C: adjust after text & InsetList changes.
2996
2997 2003-08-08  André Pönitz  <poenitz@gmx.net>
2998
2999         * text.C (insertChar, backspace): replace rowlist fiddling
3000         with rebreak of full par
3001
3002         * lyxtext.h:
3003         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3004         checkParagraph, updateInset): removed
3005
3006 2003-08-07  André Pönitz  <poenitz@gmx.net>
3007
3008         * paragraph.C:
3009         * text3.C: merge some LFUN handlers, remove dead code
3010
3011 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3012
3013         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3014
3015 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * text2.C (DEPM): fix part of bug 1255 and 1256
3018
3019 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * BufferView_pimpl.C (workAreaDispatch): change to use
3022         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3023         that are no mouse related.
3024
3025 2003-08-05  André Pönitz  <poenitz@gmx.net>
3026
3027         * BufferView.[Ch]:
3028         * BufferView_pimpl.[Ch]:
3029         * bufferview_funcs.C:
3030         * text2.C:
3031         * text3.C: rip out "deep update"
3032
3033         * textcursor.[Ch] (last_sel_cursor): remove unused member
3034
3035 2003-08-04  André Pönitz  <poenitz@gmx.net>
3036
3037         * BufferView.[Ch]:
3038         * BufferView_pimpl.[Ch]:
3039         * ParagraphParameters.C:
3040         * bufferview_funcs.C:
3041         * lyx_cb.C:
3042         * lyxfind.C:
3043         * lyxfunc.C:
3044         * text.C:
3045         * text2.C:
3046         * text3.C: replace "complicated" BufferView::update(...) calls with
3047         simpler ones.
3048
3049         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3050
3051 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3052
3053         * Makefile.am (lyx_SOURCES): add paper.h
3054
3055 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3056
3057         * Makefile.am: move things around so that both lyx-qt and
3058         lyx-xforms can be built (according to --with-frontend). Then lyx
3059         is a symbolic link to lyx-[firstfrontend]
3060
3061 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3062
3063         * Always use std::endl with lyxerr
3064
3065 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3066
3067         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3068
3069 2003-08-01  André Pönitz  <poenitz@gmx.net>
3070
3071         * BufferView.[Ch]:
3072         * BufferView_pimpl.[Ch]:
3073         * lyxfunc.C:
3074         * text3.C: merge BufferView::repaint() and BufferView::update()
3075
3076 2003-08-01  José Matos  <jamatos@lyx.org>
3077
3078         * buffer.[Ch]: file_format is no longer a buffer data element.
3079
3080 2003-08-01  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView.C:
3083         * lyxtext.h:
3084         * text.C:
3085         * text2.C: make redoParagraph more independent of current cursor
3086
3087         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3088         * text.C:
3089         * text2.C: remove unneeded members
3090
3091 2003-07-30  André Pönitz  <poenitz@gmx.net>
3092
3093         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3094
3095         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3096           create a single function...
3097
3098         * paragraph_funcs.C (moveItem): ... here.
3099
3100         * text.C:
3101           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3102
3103 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3104
3105         * LColor.[Ch]: Add comment and greyedout logical colors.
3106
3107 2003-07-30  André Pönitz  <poenitz@gmx.net>
3108
3109         * tabular.C: don't use Assert too heavily. This crashes where it
3110           shouldn't
3111
3112 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3115         is disabled (bug 1232)
3116
3117 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3118
3119         * factory.C: limited 'arg' scope
3120
3121 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3122
3123         * factory.C: fixed Note submenu issues
3124
3125 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3126
3127         * factory.C: submenu for Note/Comment/Greyedout
3128
3129 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * lyx_main.C (LyX):
3132         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3133
3134 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3135
3136         * LaTeXFeatures.C:
3137         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3138         greyedout. Patch provided by Jürgen Spitzmüller.
3139
3140 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * kbmap.C (read): fix error message when reading bind files
3143
3144 2003-07-29  Angus Leeming  <leeming@lyx.org>
3145
3146         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3147         certainly does not do what it purports to do. I am doing it, and
3148         us, a favour by killing it.
3149
3150 2003-07-28  José Matos  <jamatos@lyx.org>
3151
3152         * buffer.C (readBody, do_writeFile):
3153         * paragraph.C(readParagraph): \end_document replaces \the_end.
3154
3155 2003-07-29  André Pönitz  <poenitz@gmx.net>
3156
3157         * BufferView.[Ch]:
3158         * BufferView_pimpl.[Ch]:
3159         * lyxfunc.C:
3160         * text2.C:
3161         * text3.C:
3162         * textcursor.[Ch]: remove toggleToggle & Co
3163
3164 2003-07-28  José Matos  <jamatos@fep.up.pt>
3165
3166         * buffer.C (readParagraph):
3167         * params_func (readParToken, readParagraph):
3168         * paragraph.C (write): \layout -> \begin_layout.
3169
3170 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * lyxlex_pimpl.C (setFile): clean up slightly.
3173
3174         * bufferparams.h: add compressed var
3175
3176         * buffer_funcs.C (readFile): adjust for LyXLex change
3177         (newFile): ditto + simplify
3178
3179         * buffer.C (writeFile): handle writing of compressed files
3180
3181         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3182         Check if the file is compressed and set a bufferparm if so.
3183
3184         * Makefile.am (lyx_LDADD): remove explicit -lz
3185
3186 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3187
3188         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3189         makeDocBookFile): put the real LyX version in the first line of
3190         the file
3191
3192         * version.h:
3193         * version.C.in: remove lyx_docversion
3194
3195         * tabular.C (write_attribute): add a template-based version to
3196         write enums properly
3197
3198 2003-07-28  André Pönitz  <poenitz@gmx.net>
3199
3200         * lyxtext.h:
3201         * text.C:
3202         * text2.C:
3203         * text3.C: use doubles again for x-coordinates. They are needed.
3204
3205 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * messages.C (getLocaleDir): use lyx_localedir()
3208
3209         * lyxlex_pimpl.C (setFile): compress stuff
3210
3211         * buffer.C (writeFile): add some compression stuff
3212         (do_writeFile): new func, dont call expliti close... will this
3213         breake anything?
3214
3215         * Makefile.am (lyx_LDADD): add -lz
3216
3217 2003-07-28  José Matos  <jamatos@fep.up.pt>
3218
3219         * buffer.C: increment file format.
3220         * paragraph_funcs (readParagraph, readParToken):
3221         * paragraph.C (readParagraph): add \end_layout.
3222
3223 2003-07-27  Angus Leeming  <leeming@lyx.org>
3224
3225         * Makefile.am: remove special casing for configure-time setting of
3226         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3227
3228         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3229         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3230
3231 2003-07-26  André Pönitz  <poenitz@gmx.net>
3232
3233         * paragraph_func.[Ch]:
3234         * paragraph.C (realizeFont): inline it whereever it is used
3235
3236         * rowpainter.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3240
3241
3242 2003-07-26  André Pönitz  <poenitz@gmx.net>
3243
3244         *       lyxtext.h:
3245         * text.C:
3246         * text2.C: get rid of LyXText::need_break_row
3247
3248 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * toc.[Ch]: put namespace toc inside namespace lyx
3251
3252         * MenuBackend.C (expandToc2): adjust for lyx::toc
3253         (expandToc): ditto
3254
3255         * lyxfunc.C (dispatch): adjust for lyx::find
3256
3257         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3258         lyx::find instead. Reorganize a bit.
3259         (LyXReplace): rename to replace
3260         (LyXFind): rename to find
3261
3262         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3263         (dispatch): ditto
3264
3265 2003-07-26  André Pönitz  <poenitz@gmx.net>
3266
3267         * text.C (setHeightOfRow): restrict scope of temporary variable
3268
3269         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3270           code (never has been used?)
3271
3272 2003-07-27  Asger Alstrup  <alstrup@local>
3273
3274         * text.C (fill): Optimise algorithm to exploit that we can reuse
3275         the LyXFont for many characters.
3276         (setHeightOfRow): Same thing.
3277         (rowBreakPoint): Same thing.
3278
3279 2003-07-26  Asger Alstrup  <alstrup@local>
3280
3281         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3282
3283         * text.C (singleWidth): Spurious font copying in hot-spot
3284         singleWidth avoided. Reorder tests for arabic for efficiency.
3285
3286         * text.C (fill): handle empty paragraphs better.
3287
3288 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3289
3290         * ispell.C:
3291         * encoding.h: add includes
3292
3293         * lyxrc.C: remove reading of bind files
3294
3295         * lyx_main.C (init): setup bindings and menus only if we have a
3296         gui.
3297
3298         * kbmap.C (read): new method. Do the actual reading of bind
3299         files.
3300
3301         * converter.C (dvipdfm_options):
3302         * bufferparams.C:
3303         * lyxrc.C (read):
3304         (output): adapt PAPER_* enums.
3305
3306         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3307
3308         * bufferparams.h: remove paper-related enums from there
3309
3310         * paper.h: New file. A trivial header file to hold paper-related
3311         enums. It should later expand to contain many paper-related
3312         horrors access.
3313
3314         * lyxrc.C: declare extern displayTranslator
3315
3316 2003-07-27  José Matos  <jamatos@fep.up.pt>
3317
3318         * tabular.[Ch] (linuxdoc): add support for tables and figures
3319         (linuxdoc).
3320
3321 2003-07-27  José Matos  <jamatos@fep.up.pt>
3322
3323         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3324         consistency in both functions.
3325         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3326
3327 2003-07-26  Asger Alstrup  <alstrup@local>
3328
3329         * rowpainter.C (paintRows): Change algorithm to work directly on
3330         the insets rather than asking every character in the document
3331         whether its an inset.
3332
3333 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * buffer.C (openFileWrite): factorize some code
3336
3337 2003-07-26  Angus Leeming  <leeming@lyx.org>
3338
3339         * lyx_cb.C:
3340         * lyx_main.[Ch]: replace occurances of system_tempdir with
3341         os::getTmpDir().
3342
3343 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * rename Inset to InsetOld
3346
3347 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3348
3349         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3350         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3351         which I think is a bit clearer. EDIT is gone, since it was
3352         premature optimisation, and broken for mathed anyway.
3353         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3354         with cursor positioning in insets as well (math insets still do not
3355         work, but that's a different story anyway.) It mysteriously
3356         crashes sometimes with undo in the first paragraph, but I'm fairly
3357         confident that this is a compiler bug.
3358
3359 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * paragraph.C (Paragraph): adjust for new clone return type
3362         (operator==): ditto
3363         (copyIntoMinibuffer): ditto
3364
3365 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3366
3367         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3368         by not having a special case, and always doing a full rebreak of
3369         the document after undo.
3370
3371 2003-07-23  Angus Leeming  <leeming@lyx.org>
3372
3373         * factory.C (createInset): InsetExternal::setParams now takes a
3374         Buffer const * arg.
3375
3376 2003-07-23  Angus Leeming  <leeming@lyx.org>
3377
3378         * factory.C (createInset): changed interface to the external and
3379         graphics mailers' string2params functions.
3380
3381 2003-07-23  Angus Leeming  <leeming@lyx.org>
3382
3383         * factory.C (createInset): pass a
3384         Buffer const * parameter to InsetExternalMailer's string2params.
3385
3386 2003-07-22  John Levon  <levon@movementarian.org>
3387
3388         * Thesaurus.h: include the right aiksaurus header
3389
3390 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3391
3392         * MenuBackend.C (expand): check menu shortcuts unconditionally
3393
3394 2003-07-21  Angus Leeming  <leeming@lyx.org>
3395
3396         * factory.C (createInset): pass a
3397         buffer_path parameter to InsetGraphicsMailer's string2params.
3398
3399 2003-07-21  Angus Leeming  <leeming@lyx.org>
3400
3401         * BufferView_pimpl.C (buffer):
3402         * buffer.C (d-tor):
3403         * lyx_main.C (LyX):
3404         * lyxfunc.C (dispatch):
3405         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3406         rather than the grfx shortcut.
3407
3408 2003-07-21  André Pönitz  <poenitz@gmx.net>
3409
3410         * rowpainter.C: remove unused variables
3411
3412         * tabular_funcs.C:
3413         * tabular_funcs.h: move to tabular.C
3414         * Makefile.am: adjust
3415
3416         * tabular.[Ch]: basic optical cleaning
3417
3418         * author.h: pass references, not values
3419
3420 2003-07-18  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxtext.h:
3423         * metricsinfo.C:
3424         * metricsinfo.h:
3425         * rowpainter.C:
3426         * text.C:
3427         * text2.C:
3428         * text3.C: two-phase drawing for InsetText and InsetTabular
3429         some float -> int changes.
3430
3431 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * lyx_main.C: fix the fix
3434
3435 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3436
3437         * lyx_main.C: fix a crash in batch mode if no files specified
3438         * converter.C: ws
3439
3440 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * format.[Ch] (papersize): moved to BufferParams
3443         * converter.[Ch] (dvips_options): moved to BufferParams
3444         (dvipdfm_options): moved to anon namespace
3445         * bufferparams.[Ch]: added above functions.
3446
3447 2003-07-17  André Pönitz  <poenitz@gmx.net>
3448
3449         * lyxtext.h:
3450         * rowpainter.C:
3451         * text2.C: don't call inset->update() anymore
3452
3453         * metricsinfo.[Ch]: add convenience constructor
3454
3455 2003-07-16  André Pönitz  <poenitz@gmx.net>
3456
3457         * lyxcursor.[Ch]:
3458         * lyxfunc.[Ch]:
3459         * text.C:
3460         * text2.C: replace the LyXCursor::irow_ member with
3461          on-demand computation of the value
3462
3463 2003-07-16  John Levon  <levon@movementarian.org>
3464
3465         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3466
3467 2003-07-15  André Pönitz  <poenitz@gmx.net>
3468
3469         * text.C:
3470         * text2.C: remove no more needed refresh_row
3471
3472 2003-07-15  André Pönitz  <poenitz@gmx.net>
3473
3474         * lyxtext.h:
3475         * rowpainter.C:
3476         * text2.C:
3477         * text3.C: refresh_status tristate -> need_update bool
3478
3479 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * lyxtext.h (init): remove reinit argument (act as if always true)
3482         * text2.C: adjust to that
3483
3484 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3485
3486         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3487         * text3.C: use it to delete selections in some cases
3488         (bugs 441, 673, 702, 954).
3489
3490 2003-07-14  André Pönitz  <poenitz@gmx.net>
3491
3492         * rowpainter.[Ch]: reduce interface
3493
3494 2003-07-14  André Pönitz  <poenitz@gmx.net>
3495
3496         * BufferView_pimpl.C:
3497         * text2.C: adjust after removing unused BufferView * argument
3498
3499 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * text2.C (init): fix a crash fired on resize
3502
3503 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * buffer.[Ch]: added new closing signal
3506         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3507         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3508         BufferView::Pimpl via the closing the signal
3509
3510 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * buffer.[Ch]: take out all bv-related from buffer
3513         * BufferView.C:
3514         * BufferView_pimpl.[Ch]: connect to new signals
3515         * CutAndPaste.C: removed useless asserts
3516         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3517         * lyxvc.[Ch]:
3518         * vc-backend.[Ch]:
3519         * lyxfunc.C: moved view-related funciontality from vc here
3520         * paragraph.C: removed outdated comments
3521         * text.C: ws
3522
3523 2003-07-10  André Pönitz  <poenitz@gmx.net>
3524
3525         * BufferView_pimpl.C:
3526         * tabular.h:
3527         * tabular_funcs.C:
3528         * text.C:
3529         * text2.C: remove InsetText::InnerCache, clean up consequences
3530
3531 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3532
3533         * ispell.C: fix two typos in error messages
3534
3535 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3536
3537         * Extend Note inset to other forms of annotation like Comment
3538         and Greyedout. Right button click gives dialog.
3539
3540         Files modified or added (+):
3541
3542         * insetnote.[Ch]
3543         * FormNote.[Ch]      +
3544         * ControlNote.[Ch]   +
3545         * form_note.fd       +
3546         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3547         frontends/controllers
3548         * xforms/Dialogs.C
3549         * factory.C
3550
3551 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3552
3553         * aspell.C: add missing namespace lyx::support
3554
3555 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * BufferView.[Ch] (newFile): Add
3558         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3559         * LaTeX.[Ch] (message): added this signal and use it
3560         * buffer.[Ch] (busy, message): added these signals and use them
3561         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3562         * converter.C:
3563         * exporter.C:
3564         * format.C:
3565         * importer.C: use buffer signals instead of direct bv calling
3566         * lyx_cb.[Ch] (ShowMessage): removed
3567         * lyx_main.C:
3568         * lyxfunc.C:
3569         * paragraph_funcs.C:
3570         * text2.C: use buffer signals
3571
3572 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * introduce namespace lyx::graphics
3575
3576 2003-07-02  André Pönitz  <poenitz@gmx.net>
3577
3578         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3579
3580 2003-07-01  André Pönitz  <poenitz@gmx.net>
3581
3582         * text.C:
3583         * text2.C:
3584         * text3.C:
3585         * text_funcs.[Ch]:
3586         * textcursor.h:
3587         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3588           text*.C to text_func.C
3589
3590 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * introduce namespace lyx::support
3593
3594 2003-06-30  André Pönitz  <poenitz@gmx.net>
3595
3596         * Chktex.C:
3597         * funcrequest.C:
3598         * lyxtext.h:
3599         * text.C: re-enable --with-included-string
3600
3601 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * textcursor.C: add <config.h>
3604
3605         * text.C (getWord): remove const from word_location arg
3606
3607         * lyxvc.C (getLogFile): fix const type order
3608
3609         * lyxtext.h: remove const from word_location arg, add arg name
3610
3611         * lyxlayout.h: currect type on labeltype.
3612
3613         * importer.C: correct \file
3614
3615         * converter.C (intToFormat): use std:: on ret val, ws changes
3616
3617         * bufferlist.h: correct \file
3618
3619         * buffer.C (makeLinuxDocFile): fix const type order
3620         (makeDocBookFile): ditto
3621         (fillWithBibKeys): use std:: on stdlib args.
3622
3623         * CutAndPaste.C: fix authors.
3624         (availableSelections): use std:: on return vector
3625
3626 2003-06-27  André Pönitz  <poenitz@gmx.net>
3627
3628         * BufferView_pimpl.C:
3629         * bufferview_funcs.C:
3630         * lyxcursor.C:
3631         * lyxcursor.h:
3632         * lyxfunc.C:
3633         * lyxtext.h:
3634         * rowpainter.C:
3635         * text.C:
3636         * text2.C:
3637         * text3.C: remove LyXCursor::row_ member
3638
3639         * lyxtext.h:
3640         * text.C: rename fullRebreak() to partialRebreak() and implement
3641           a fullRebreak() that really bereks fully
3642
3643         * textcursor.h: new struct for cursor-related data
3644
3645 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * lyx_main.C (LyX): get full path of document loaded on the
3648         command line
3649
3650 2003-06-26  André Pönitz  <poenitz@gmx.net>
3651
3652         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3653           remove unused/broken operator>,<,>=.
3654
3655         *       text.C: remove only use of broken operator<= in an Assert().
3656
3657 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3660         moved errorlist_.clear to showErrorList
3661
3662 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * converter.C (scanLog, runLaTeX):
3665         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3666         move the bv->showErrorList call to the callers
3667         * lyxfunc.C: i.e. here...
3668         * text2.C: and here
3669         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3670         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3671         namespace, the second to...
3672         * buffer_funcs (BufferFormat, parseErrors): added
3673         * errorlist.C (ErrorList(TeXErrors const &)): removed
3674
3675 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3676
3677         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3678
3679 2003-06-24  "Garst R. Reese" <reese@isn.net>
3680
3681         * debug.C: fix typo
3682
3683 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3684
3685         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3686
3687         * version.C.in: change docversion to 1.4
3688
3689 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * buffer.C: fix a bug just introduced
3692
3693 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * buffer.[Ch]: added the parseError signal and use it, removed
3696         sgmlError
3697         * BufferView.[Ch] (addError): moved to ...
3698         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3699         to the Buffer::parseError signal to catch (guess what) parse errors
3700         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3701
3702 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3705         ability to create a buffer and to return an existing one from
3706         the list. Moved these functions to...
3707         * buffer_funcs.[Ch]: added
3708         * BufferView.[Ch] (loadLyXFile): added
3709         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3710         job removed from bufferlist::loadLyXFile.
3711         * buffer.C (setReadOnly): make it work without view
3712         (i.e added an if (users))
3713
3714 2003-06-19  Angus Leeming  <leeming@lyx.org>
3715
3716         * lfuns.h:
3717         * LyXAction.C (init):
3718         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3719         with LFUN_DIALOG_SHOW <name> <data>.
3720
3721 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3722
3723         * CutAndPaste.C (availableSelections): small compilation fix for
3724         ancient (gcc 2.9x) compilers
3725
3726 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * text3.C (cursorNext): add tmp var
3729
3730         * text2.C (updateCounters): for function calling out of for clause
3731         (replaceSelectionWithString): ditto
3732         (insertStringAsParagraphs): ditto
3733         (getColumnNearX): add tmp var
3734         (setCursorFromCoordinates): add tmp var
3735         (cursorDownParagraph): add tmp var
3736         (deleteEmptyParagraphMechanism): add tmp var
3737
3738         * text.C (insertChar): add tmp var
3739
3740         * rowpainter.C (paintDepthBar): add tmp var
3741
3742         * CutAndPaste.C (availableSelections): potentially check all
3743         paragraphs in a cut to fill the shown strings.
3744
3745 2003-06-18  André Pönitz  <poenitz@gmx.net>
3746
3747         * kbmap.[Ch]: use vector<> instead of list<>
3748
3749 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3750
3751         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3752         pasteSelection with index
3753
3754         * text2.C (pasteSelection): modify, call pasteSelection with index
3755
3756         * paragraph.C (asString): reimplement version with no interval to
3757         call the one with interval.
3758
3759         * lyxtext.h: add index arg to pasteSelection
3760
3761         * MenuBackend.C (MenuItem): handle PasteRecent
3762         (Menu::read::Menutags): add md_pasterecent
3763         (read): handle it
3764         (expandPasteRecent): new function
3765         (expand): use it
3766
3767         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3768
3769         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3770         the limited stack
3771         (availableSelections): new function
3772
3773 2003-06-17  Angus Leeming  <leeming@lyx.org>
3774
3775         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3776
3777 2003-06-17  Angus Leeming  <leeming@lyx.org>
3778
3779         * lfuns.h:
3780         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3781
3782         * lyxfunc.C (dispatch): invoke it.
3783
3784 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3785
3786         * iterators.C (operator++, ParPosition): reintroduce some
3787         const_cast for the benefit of older compilers.
3788
3789 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3790
3791         * text3.C (dispatch): do not modify clipboard when doing
3792         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3793         LFUN_DELETE_SKIP on a selection selection
3794
3795 2003-06-16  André Pönitz  <poenitz@gmx.net>
3796
3797         * BufferView.C:
3798         * buffer.C:
3799         * buffer.h:
3800         * paragraph.C:
3801         * tabular.[Ch]: IU of clone() and getLabelList();
3802
3803 2003-06-13  André Pönitz  <poenitz@gmx.net>
3804
3805         * tabular.h: compactification
3806
3807 2003-06-12  André Pönitz  <poenitz@gmx.net>
3808
3809         * tabular.C:
3810         * tabular.h:
3811         * tabular_funcs.h: some renaming plus whitespace
3812
3813 2003-06-12  André Pönitz  <poenitz@gmx.net>
3814
3815         * BufferView.C:
3816         * BufferView_pimpl.C:
3817         * CutAndPaste.C:
3818         * buffer.C:
3819         * iterators.[Ch]:
3820         * lyxfunc.C:
3821         * text.C:
3822         * toc.C: Return a Paragraph & for ParIterator::operator*()
3823
3824 2003-06-11  John Levon  <levon@movementarian.org>
3825
3826         * lyx_main.C:
3827         * ToolbarBackend.h:
3828         * ToolbarBackend.C: add "Toolbars" section and
3829         put the flags there
3830
3831 2003-06-10  Angus Leeming  <leeming@lyx.org>
3832
3833         * lfuns.h:
3834         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3835
3836         * lyxfunc.C (dispatch): invoke it.
3837
3838 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * main.C: protect <ios> with HAVE_IOS
3841         (main): protect sync_with_stdio with HAVE_IOS
3842
3843 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3844
3845         * text2.C (cutSelection): adjust
3846         (pasteSelection): adjust
3847
3848         * messages.C: handle get of empty string
3849
3850         * main.C (main): use sync_with_stdio(false)
3851
3852         * lyxfunc.C (dispatch): adjust
3853
3854         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3855         (WriteAs): remove unneeded BufferView arg.
3856
3857         * bufferparams.h: use correct types on papersize, papersize2 and
3858         paperpackage.
3859
3860         * bufferparams.C (readToken): adjust for type
3861         (writeLaTeX): add missing cases to switch.
3862
3863         * bufferlist.C (quitWriteBuffer): adjust
3864         (close): adjust
3865
3866         * buffer.C (asciiParagraph): remove some commented code.
3867
3868         * CutAndPaste.C: remove current_view extern variable.
3869         (cutSelection): add BufferParams arg.
3870         (eraseSelection): add BufferParams arg.
3871         (pasteSelection): add Buffer const & arg
3872
3873 2003-06-07  John Levon  <levon@movementarian.org>
3874
3875         * buffer.C:
3876         * paragraph_funcs.C:
3877         * paragraph_pimpl.C:
3878         * text.C:
3879         * text2.C:
3880         * paragraph.h:
3881         * paragraph.C: allow InsetERT to freely space lines,
3882         and some consolidation of code
3883
3884 2003-06-06  José Matos  <jamatos@fep.up.pt>
3885
3886         * buffer.C (makeDocBookFile): fix bug #821
3887
3888 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3889
3890         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3891
3892 2003-06-04  Angus Leeming  <leeming@lyx.org>
3893
3894         * buffer.C: bump format to 224.
3895
3896 2003-06-05  André Pönitz  <poenitz@gmx.net>
3897
3898         * text2.C (redoParagraphs): remove two const_cast<>
3899
3900 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3901
3902         * ParagraphList.h: remove last remnants of NO_STD_LIST
3903
3904 2003-06-03  Angus Leeming  <leeming@lyx.org>
3905
3906         * factory.C (createInset): small change to the way InsetExternal's params
3907         are set.
3908
3909 2003-06-04  André Pönitz  <poenitz@gmx.net>
3910
3911         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3912
3913         * paragraph_pimpl.h:
3914         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3915
3916         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3917
3918         * undo_funcs.C: make some simple cases of undo work again
3919
3920 2003-06-03  John Levon  <levon@movementarian.org>
3921
3922         * ispell.C: HPUX doesn't have sys/select.h
3923         (from Albert Chin)
3924
3925 2003-06-03  John Levon  <levon@movementarian.org>
3926
3927         * CutAndPaste.C: update tabular and include inset
3928         buffer references
3929
3930         * buffer.h:
3931         * paragraph.h:
3932         * paragraph.C: remove owningBuffer(), don't pass Buffer
3933         to clone()
3934
3935         * factory.C: insetGraphicsParams changed
3936
3937 2003-06-02  John Levon  <levon@movementarian.org>
3938
3939         * LyXAction.C:
3940         * factory.C:
3941         * lfuns.h:
3942         * lyxfunc.C:
3943         * text3.C: remove insetparent
3944
3945 2003-06-02  John Levon  <levon@movementarian.org>
3946
3947         * buffer.h:
3948         * buffer.C: fix inset_iterator.end(), move out of line
3949         (bug 1149)
3950
3951 2003-06-01  John Levon  <levon@movementarian.org>
3952
3953         * text3.C: use a proper cut/paste when doing inset
3954         insert (from Jürgen Spitzmüller)
3955
3956 2003-06-01  John Levon  <levon@movementarian.org>
3957
3958         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3959
3960 2003-05-30  André Pönitz  <poenitz@gmx.net>
3961
3962         * rowpainter.C: unify second drawing phase
3963
3964 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * trans_mgr.C: remove one case of current_view
3967
3968         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3969
3970         * paragraph_funcs.h: remove paragraph.h include
3971
3972         * paragraph.h: delete NO_STD_LIST stuff
3973
3974         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3975
3976         * buffer.h: remove paragraph.h include
3977
3978         * ParagraphList.C: delete file
3979
3980         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3981
3982         * toc.C (getTocList): adjust
3983
3984         * paragraph_pimpl.C (validate): adjust
3985
3986         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3987
3988         * paragraph.C (Paragraph): adjust
3989         (getPositionOfInset): use const_iterator, adjust
3990         (bibitem): use const_iterator, adjust
3991         (setInsetOwner): adjust
3992
3993         * iterators.C (operator++): adjust
3994
3995         * InsetList.[Ch]: Replace selfmade iterator with standard
3996         vector::iterator also introduce const_iterator. Remove getPos,
3997         getInset and setInset from InsetTable. Adjust accordingly.
3998
3999         * BufferView.C (lockInset): adjust
4000         (ChangeInsets): adjust
4001
4002         * tabular.[Ch]: delete commented same_id functions
4003
4004 2003-05-28  John Levon  <levon@movementarian.org>
4005
4006         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4007
4008 2003-05-28  André Pönitz  <poenitz@gmx.net>
4009
4010         * metricsinfo.[Ch]: remove 'fullredraw' member
4011
4012 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4013
4014         * lyxtextclass.C (operator): remove caching.
4015
4016 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * text3.C: adjust
4019
4020         * text2.C (cursorBottom): adjust
4021         (setCounter): use ParagraphList::find, adjust
4022
4023         * text.C (workWidth): use ParagraphList::find, adjust
4024
4025         * lyxcursor.C (LyXCursor): adjust
4026
4027         * buffer.C (inset_iterator): adjust
4028
4029         * ParagraphList.h: make iterator(value_type) private, make
4030         ParagraphList a friend of iterator.
4031
4032         * ParagraphList.C (find): new function
4033
4034         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4035
4036 2003-05-27  André Pönitz  <poenitz@gmx.net>
4037
4038         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4039
4040 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4041
4042         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4043
4044 2003-05-26  John Levon  <levon@movementarian.org>
4045
4046         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4047
4048 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * remove same_id from function signatures, adjust.
4051
4052 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4055
4056         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4057
4058         * paragraph.C (Paragraph): get rid of same_ids parameter
4059
4060         * ParagraphList.C (insert): adjust
4061         (push_back): adjust
4062
4063 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * paragraph_funcs.C (breakParagraph): adjust
4066         (breakParagraphConservative): adjust
4067
4068         * buffer.C (readParagraph): adjust
4069
4070         * ParagraphList.C (insert): take a reference instead of a pointer
4071         (insert): adjust
4072
4073         * paragraph.[Ch] (id): new function
4074
4075         * bufferlist.C (newFile): adjust
4076
4077         * ParagraphList.C (ParagraphList): adjust
4078         (assign): adjust
4079         (push_back): take a reference instead of a pointer.
4080
4081         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4082
4083         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4084         instead.
4085
4086         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4087         set else use old code.
4088
4089         * ParagraphList.C: remove all NO_NEXT code and only compile this
4090         code of NO_STD_LIST is set.
4091
4092 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4093
4094         * BufferView_pimpl.C:
4095         * TextCache.C:
4096         * TextCache.h:
4097         * bufferlist.C:
4098         * errorlist.h:
4099         * format.C:
4100         * format.h:
4101         * graph.C:
4102         * lyxfunc.C:
4103         * lyxrc.C:
4104         * graphics/GraphicsConverter.C:
4105         * graphics/PreviewLoader.C: header adjustment
4106
4107 2003-05-23  Angus Leeming  <leeming@lyx.org>
4108
4109         * LaTeXFeatures.[Ch] (useBabel): new method.
4110         * bufferparams.C (writeLaTeX): use it.
4111
4112 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * ParagraphList.h (set): remove unused function.
4115
4116 2003-05-23  André Pönitz  <poenitz@gmx.net>
4117
4118         * BufferView.C:
4119         * BufferView_pimpl.C:
4120         * buffer.C:
4121         * buffer.h:
4122         * lyxfunc.C:
4123         * undo_funcs.C: setUndo reworked
4124
4125         * iterators.[Ch]: add access to topmost ParagraphList
4126
4127         * lyxtext.[Ch] (workWidth): add a const
4128
4129 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * texrow.[Ch] (increasePos): remove function
4132         * exporter.C (export): removed unused var and outdated comment
4133
4134 2003-05-23  Angus Leeming  <leeming@lyx.org>
4135
4136         * latexrunparams.h: rename fragile as moving_arg.
4137         * paragraph.C (simpleTeXOnePar): ditto.
4138         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4139
4140 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4143         (createUndo): ditto
4144         (textUndoOrRedo): comment out a currently unused var.
4145
4146         * paragraph.h (NO_NEXT): enable NO_NEXT
4147
4148         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4149
4150         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4151
4152         * exporter.C (Export): adjust for removeAutoInsets removal.
4153
4154         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4155
4156         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4157
4158         * BufferView.[Ch] (removeAutoInsets): delete function
4159
4160 2003-05-22  Angus Leeming  <leeming@lyx.org>
4161
4162         * latexrunparams.h: add a free_spacing variable.
4163
4164         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4165         to pass moving_arg, as the data is stored in runparams.fragile.
4166
4167         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4168         to Inset::latexOptional or to simpleTeXOnePar.
4169
4170         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4171         free_spacing arg to Inset::latexOptional.
4172
4173         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4174         free_spacing arg.
4175
4176 2003-05-22  Angus Leeming  <leeming@lyx.org>
4177
4178         * latexrunparams.h: add fragile and use_babel variables.
4179
4180         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4181         * buffer.C (makeLaTeXFile): store this returned value in
4182         runparams.use_babel, thus passing it to the inset::latex methods.
4183
4184         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4185         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4186
4187         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4188         longer has a fragile arg, as it is stored in runparams.fragile.
4189
4190         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4191         moving_arg parameter as the data is stored in runparams.fragile.
4192
4193         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4194         a fragile parameter as the data is stored in runparams.fragile.
4195
4196 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4199
4200 2003-05-22  Angus Leeming  <leeming@lyx.org>
4201
4202         * latexrunparams.h: add a 'bool nice' which defaults to false.
4203
4204         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4205         now encapsulated within runparams.
4206
4207         * bufferlist.C (updateIncludedTeXfiles):
4208         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4209
4210 2003-05-22  Angus Leeming  <leeming@lyx.org>
4211
4212         * latexrunparams.h: new file containing struct LatexRunParams.
4213         * Makefile.am: add new file.
4214
4215         * LaTeX.[Ch] (c-tor, run):
4216         * buffer.[Ch] (makeLaTeXFile):
4217         * bufferlist.[Ch] (updateIncludedTeXfiles):
4218         * converter.C (convert, scanLog):
4219         * converter.[Ch] (runLaTeX):
4220         * exporter.C (Export):
4221         * paragraph.[Ch] (simpleTeXOnePar):
4222         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4223         * paragraph_funcs.[Ch] (latexParagraphs):
4224         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4225         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4226         pass around a LatexRunParams parameter.
4227
4228 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * paragraph.[Ch]: remove unused constructor
4231
4232         * ParagraphList.C (erase): new function, taking two iterators
4233
4234 2003-05-22  André Pönitz  <poenitz@gmx.net>
4235
4236         * undo_funcs.C: remove duplicated code
4237
4238         * iterator.[Ch]: operator=
4239
4240 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * tabular.C (SetMultiColumn): ws changes
4243
4244         * rowpainter.C (paintFirst): get rid of a ->previous
4245
4246         * lyx_cb.C (getPossibleLabel): parlist simplification
4247
4248         * BufferView.C (ChangeInsets): simplify slightly.
4249
4250 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4251
4252         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4253         * lfuns.h: new LFUN_SPACE
4254         * lyxfunc.C: protected space has a new lfun
4255         * paragraph_funcs.C: read new space insets
4256         * text3.C:
4257         * factory.C: handle new space insets
4258
4259 2003-05-22  André Pönitz  <poenitz@gmx.net>
4260
4261         * BufferView.C:
4262         * BufferView_pimpl.C:
4263         * buffer.[Ch]:
4264         * lyxfunc.C:
4265         * undo_funcs.C: return a ParIterator from getParFromID.
4266
4267         * iterators.[Ch]: add two const's
4268
4269 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * toc.C (getTocList): adjust
4272
4273         * iterators.[Ch]: rework for parlist
4274
4275         * buffer.C (par_iterator_begin): adjust
4276         (par_iterator_end): adjust
4277
4278         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4279
4280         * BufferView.C (removeAutoInsets): adjust
4281         (ChangeInsets): adjust
4282
4283 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * text.C (top_y): fix bug 1110
4286
4287 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * errorlist.[Ch]: added
4290         * buffer.C:
4291         * BufferView.[Ch]:
4292         * BufferView_pimpl.C:
4293         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4294         instead
4295
4296 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * Makefile.am: ensure that lyx is relinked upon changes to the
4299         various "convenience" libs.
4300
4301 2003-05-20  Angus Leeming  <leeming@lyx.org>
4302
4303         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4304         files are compiled in alphabetical order again.
4305
4306         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4307
4308 2003-05-19  Angus Leeming  <leeming@lyx.org>
4309
4310         * gettext.[Ch]: remove "char const * _(char const *)".
4311
4312 2003-05-19  André Pönitz  <poenitz@gmx.net>
4313
4314         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4315
4316         * Makefile.am:
4317         * BufferView.C:
4318         * DepTable.h:
4319         * LaTeXFeatures.C:
4320         * buffer.C:
4321         * lyxfont.C:
4322         * lyxlex.h:
4323         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4324
4325 2003-05-19  André Pönitz  <poenitz@gmx.net>
4326
4327         * buffer.C:
4328         * lyxlayout.[Ch]:
4329         * lyxtextclass.[Ch]:
4330         * paragraph.C:
4331         * paragraph_funcs.[Ch]:
4332         * text2.C:
4333         * text3.C: more insetenv work
4334
4335 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * ParagraphParameters.C (params2string): small bug fixed
4338
4339 2003-05-16  André Pönitz  <poenitz@gmx.net>
4340
4341         * debug.C:
4342         * bufferview_funcs.C: patch from Kornel Benko to prevent
4343           crash when _(...) is called twice in a statement
4344
4345 2003-05-16  André Pönitz  <poenitz@gmx.net>
4346
4347         * BufferView.C:
4348         * lyxfunc.C:
4349         * text.C:
4350         * text2.C:
4351         * text3.C:
4352         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4353
4354 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * lyx_main.C (init): remove spurious static_cast
4357
4358 2003-05-14  André Pönitz  <poenitz@gmx.net>
4359
4360         * BufferView.C: fix format string
4361
4362 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * BufferView.[Ch] (insertErrors): removed
4365         * BufferView.[Ch] (showErrorList): added
4366         * buffer.C (runChkTeX):
4367         * converter.C (scanLog): call showErrorList instead of inserterrors
4368
4369 2003-05-13  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView_pimpl.C:
4372         * buffer.C:
4373         * bufferview_func.C:
4374         * MenuBackend.C:
4375         * lyxfunc.C:
4376         * lyxrc.C:
4377         * tex-accent.C:
4378         * text3.C:
4379         * toc.C:
4380         * tabular_funcs.h: tostr() from its own header
4381
4382         * ParagraphParameters.C:
4383         * ToolbarBackend.C:
4384         * bufferparams.C:
4385         * format.C:
4386         * lyxlex_pimpl.C:
4387         * text3.C: STRCONV()
4388
4389 2003-05-12  André Pönitz  <poenitz@gmx.net>
4390
4391         * BufferView.C:
4392         * BufferView_pimpl.C:
4393         * CutAndPaste.C:
4394         * LaTeX.C:
4395         * LaTeXFeatures.C:
4396         * ParagraphParameters.C:
4397         * buffer.C:
4398         * bufferlist.C:
4399         * bufferparams.C:
4400         * bufferview_funcs.C:
4401         * converter.C:
4402         * counters.C:
4403         * debug.C:
4404         * exporter.C:
4405         * format.C:
4406         * importer.C:
4407         * lyx_cb.C:
4408         * lyx_main.C:
4409         * lyxfont.C:
4410         * lyxfunc.C:
4411         * lyxvc.C:
4412         * paragraph.C:
4413         * paragraph_funcs.C:
4414         * tabular.C:
4415         * tabular_funcs.C:
4416         * text2.C:
4417         * text3.C:  boost::format -> bformat  all over the place
4418
4419
4420 2003-05-09  André Pönitz  <poenitz@gmx.net>
4421
4422         * LColor.[Ch]: Pimpl the #include <map> away
4423
4424 2003-05-09  John Levon  <levon@movementarian.org>
4425
4426         * bufferlist.C: never remove emergency saves
4427
4428 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * Makefile.am: better lib building
4431
4432 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4435         instead.
4436         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4437         (simpleTeXSpecialChars): adjust
4438         (simpleTeXSpecialChars): adjust
4439         * paragraph.C (simpleTeXOnePar): adjust
4440         * buffer.C (makeLaTeXFile): adjust
4441
4442         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4443
4444         * text2.C (changeDepth): parlist cleanup
4445         (getColumnNearX): ditto
4446
4447         * rowpainter.C (getLabelFont): parlist cleanup
4448
4449         * bufferlist.C (newFile): parlist cleanup
4450
4451         * CutAndPaste.C (eraseSelection): parlist cleanup
4452
4453         * BufferView_pimpl.C (trackChanges): parlist cleanup
4454         (dispatch): ditto
4455
4456         * BufferView.C (lockInset): parlist cleanup.
4457         (ChangeInsets): ditto
4458
4459 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * CutAndPaste.h: Update file header.
4462
4463         * CutAndPaste.C: Update file header.
4464         Store the parts cut out of the Document in a limited_stack.
4465         (copySelection): adjust
4466         (pasteSelection): new function, takes the index in the limited stack.
4467         (nrOfParagraphs): adjust
4468         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4469         simplify error inset insertion.
4470         (checkPastePossible): adjust
4471
4472 2003-05-06  John Levon  <levon@movementarian.org>
4473
4474         * text2.C: don't cast wrap inset to float
4475
4476 2003-05-05  André Pönitz  <poenitz@gmx.net>
4477
4478         * iterator.C:
4479         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4480
4481         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4482           few naked Paragraph *.
4483
4484 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4485
4486         * bufferparams.C: Output warning if a document with missing
4487         TeX document class is loaded
4488         * exporter.C: Disable TeX exports if the document class is missing
4489         * lyxtextclass.C:
4490         * lyxtextclass.h:
4491         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4492         isTeXClassAvailable()
4493
4494 2003-05-03  John Levon  <levon@movementarian.org>
4495
4496         * BufferView.h:
4497         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4498         explicit cursor show/hide
4499
4500         * BufferView_pimpl.h:
4501         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4502         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4503
4504         * lyxfunc.C: hide cursor before dispatching.
4505
4506         * lyx_cb.C:
4507         * lyxfind.C:
4508         * text.C:
4509         * text3.C: remove explicit cursor hides
4510
4511 2003-05-02  André Pönitz  <poenitz@gmx.net>
4512
4513         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4514
4515         * undo_funcs.C:
4516         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4517           linked lists
4518
4519         * text2.C: tiny whitespace
4520
4521 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * undo_funcs.C: almost only ws changes.
4524
4525         * ParagraphList.C (splice): just return if pl is empty.
4526
4527 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * ParagraphList.C (splice): new function.
4530
4531         * CutAndPaste.C (pasteSelection): use it
4532
4533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * CutAndPaste.C (pasteSelection): remove the last next and
4536         previous from this file.
4537
4538 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * CutAndPaste.C (pasteSelection): more clean up, user proper
4541         ParagraphList functions for pasteing.
4542
4543         * ParagraphList.C (insert): new function, three arg insert
4544
4545 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * ParagraphList.C (insert): new function, three arg insert
4548
4549         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4550         not on paragraphs.
4551
4552 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4555
4556 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4559
4560 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4563         (copySelection): clean up a bit.
4564         (pasteSelection): use make_pair
4565
4566         * ParagraphList.C (ParagraphList): implement copy constructor
4567         (operator=): implement, base on copy constructor.
4568         (assign): new func
4569
4570         * paragraph.C (erase): return a bool
4571
4572         * paragraph_pimpl.C (erasePos): remove function, move contents...
4573         (erase): ... here. Return a bool.
4574         (erase): call erase instead of erasePos.
4575
4576 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * ParagraphList.h: define PitPosPair
4579         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4580         ParagraphList, fix a bug on pasting multiple pars
4581         * text2.C: change interface to C&P
4582
4583 2003-04-30  André Pönitz  <poenitz@gmx.net>
4584
4585         * undo_func.C: revert part of yesterday's patch 2
4586
4587 2003-04-30  John Levon  <levon@movementarian.org>
4588
4589         * LColor.C: s/tabular/table/
4590
4591 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text3.C (dispatch): do not convert iterator -> pointer
4594         * undo_funcs.C (setCursorParUndo): ditto
4595         * text_funcs.C (transposeChars): ditto
4596
4597         * text2.C (setLayout): ws changes only
4598
4599         * text.C (breakParagraph): do not convert iterator -> pointer
4600         (insertChar): ditto
4601         (acceptChange): ditto
4602         (rejectChange): ditto
4603         (changeCase): ditto
4604         (Delete): ditto
4605         (backspace): ditto
4606
4607         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4608         pointer
4609
4610 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4611
4612         * text3.C (gotoInset): YABG (yet another bad getChar)
4613
4614 2003-04-29  André Pönitz  <poenitz@gmx.net>
4615
4616         * paragraph.h: make operator= private unimplemented as long as
4617           it is unusable
4618
4619         * ParagraphList.C: whitespace
4620
4621         * paragraph.[Ch]:
4622         * paragraph_pimpl.[Ch]:
4623         * paragraph_funcs.C:
4624         * CutAndPaste.C:
4625         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4626
4627         * text2.C:
4628           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4629
4630 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4633         * paragraph.[Ch] (erase):
4634         * paragraph_pimpl.[Ch] (erase): change return type and value
4635         * text2.C (cutSelection): some rework
4636
4637 2003-04-28  John Levon  <levon@movementarian.org>
4638
4639         * bufferlist.C: changes for unsaved changes dialog
4640
4641 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * bufferlist.C (newFile): set language (messages_) for new
4644         documents also.
4645
4646         * buffer.C (readFile): ws changes only.
4647
4648 2003-04-28  André Pönitz  <poenitz@gmx.net>
4649
4650         * undo_funcs.C:
4651         * lyxfunc.C:
4652         * buffer.[Ch]:
4653         * BufferView_pimpl.C:
4654         * BufferView.C: getParFromID related ParagraphList::iterator changes
4655
4656 2003-04-28  André Pönitz  <poenitz@gmx.net>
4657
4658         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4659           Changes
4660
4661 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * messages.C: remove one more localedir class variable.
4664
4665 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * messages.C (getLocaleDir): singleton generation function
4668         (Pimpl): use it.
4669         (Messages): add a default constructor.
4670
4671         * main.C (main): do not setup localedir here, do not call
4672         gettext_init.
4673
4674         * gettext.C (_): use it.
4675         (gettext_init): delete funciton
4676
4677 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * gettext.C (getLyXMessages): new singleton generating function.
4680
4681         * buffer.C (updateDocLang): adjust
4682
4683         * Makefile.am (messages.o): add target
4684         (main.o): remove target
4685
4686 2003-04-27  John Levon  <levon@movementarian.org>
4687
4688         * bufferlist.C:
4689         * lyx_cb.C:
4690         * lyxfunc.C:
4691         * lyxvc.C: specify cancel button in Alert::prompt
4692
4693 2003-04-26  John Levon  <levon@movementarian.org>
4694
4695         * text3.C:
4696         * lyxfunc.C:
4697         * lfuns.h:
4698         * LyXAction.C: add LFUN_INSET_SETTINGS
4699
4700         * lyxfunc.C: don't enable tabular-feature when there's
4701         just any locking inset
4702
4703 2003-04-26  John Levon  <levon@movementarian.org>
4704
4705         * bufferlist.C: re-add Cancel to buffer close question
4706
4707         * lyxfunc.C: fix import UI a bit
4708
4709 2003-04-25  John Levon  <levon@movementarian.org>
4710
4711         * gettext.C: remove the broken asserts for now
4712
4713 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * messages.C: make case where setlocale cannot comply work better.
4716
4717         * buffer.C (updateDocLang): new function
4718         (changeLanguage): use it
4719         (readFile): use it
4720
4721         * text2.C (setCounter): use B_ a bit.
4722
4723         * lyxlayout.C (Read): be sure to trim the label strings.
4724
4725         * messages.C (Messages): fix typo in comment
4726
4727         * buffer.C (readFile): set message_ after file is loaded.
4728         (makeDocBookFile): remove double return
4729         (changeLanguage): reset message_ upon language change.
4730         (B_): new func, use this to get translated buffer strings.
4731
4732         * main.C: add myself and Jean Marc as authors.
4733
4734 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * messages.[hC]: pimplify Messages, and three different pimpls to be
4737         used in different circumstances.
4738
4739         * gettext.[Ch]: change for use with new message code.
4740
4741 2003-04-24 André Pönitz <poenitz@gmx.net>
4742
4743         * factory.C: support for eqref
4744
4745 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * messages.[Ch]: add missing char
4748
4749         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4750
4751         * messages.[Ch]: New files
4752
4753 2003-04-18  John Levon  <levon@movementarian.org>
4754
4755         * BufferView.h:
4756         * BufferView.C:
4757         * BufferView_pimpl.C:
4758         * lfuns.h:
4759         * LyXAction.C:
4760         * lyxtext.h:
4761         * text2.C: remove layout-copy/paste (bug 778)
4762
4763 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4766
4767 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4770         if they succeed. Act accordingly.
4771
4772 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * text2.C (setCharFont): adjust
4775         (setCounter): adjust
4776         (insertStringAsLines): adjust
4777
4778         * text.C (leftMargin): adjust
4779         (setHeightOfRow): adjust
4780
4781         * rowpainter.C (paintFirst): adjust
4782         (paintLast): adjust
4783
4784         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4785         (outerHook): ditto
4786         (isFirstInSequence): ditto
4787         (getEndLabel): ditto
4788         (outerFont): adjust
4789
4790         * paragraph.C (getParLanguage): comment out some hard stuff.
4791
4792         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4793         (sgmlError): ditto
4794         (simpleDocBookOnePar): ditto
4795         (makeDocBookFile): use ParagraphList::iterator
4796
4797         * CutAndPaste.C (pasteSelection): adjust
4798
4799 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * text2.C (getFont): adjust
4802         (getLayoutFont): adjust
4803         (getLabelFont): adjust
4804
4805         * paragraph_funcs.C (TeXOnePar): adjust
4806
4807         * buffer.C (simpleLinuxDocOnePar): adjust
4808         (simpleDocBookOnePar): adjust
4809
4810         * CutAndPaste.C (pasteSelection): adjust
4811
4812         * BufferView.C (getEncoding): adjust
4813
4814         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4815
4816 2003-04-16  John Levon  <levon@movementarian.org>
4817
4818         * lyxfind.C: use parlist stuff for search/changes
4819
4820 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4823
4824         * text2.C (deleteEmptyParagraphMechanism): adjust
4825
4826         * text2.[Ch] (ownerParagraph): delete func (both of them
4827
4828 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4831
4832 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * ParagraphList.C: prepare for NO_NEXT
4835
4836 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * text2.C (getFont): adjust
4839         (getLayoutFont): adjust
4840         (getLabelFont): adjust
4841
4842         * paragraph.C (getFont): adjust
4843         (getLabelFont): adjust
4844         (getLayoutFont): adjust
4845
4846         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4847
4848 2003-04-15  John Levon  <levon@movementarian.org>
4849
4850         From Angus Leeming
4851
4852         * lyx_main.C: handle Include in .ui files
4853
4854 2003-04-15  John Levon  <levon@movementarian.org>
4855
4856         * MenuBackend.C: make the doc files length shorter
4857
4858         * ToolbarBackend.h:
4859         * ToolbarBackend.C: handle toolbar placement flags,
4860         Minibuffer
4861
4862 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4865         adjust
4866
4867         * paragraph_funcs.C (TeXOnePar): adjust
4868
4869         * paragraph.C (getLabelFont): add outerfont arg, adjust
4870         (getLayoutFont): ditto
4871         (simpleTeXOnePar): adjust
4872
4873         * paragraph_pimpl.C (realizeFont): delete func
4874
4875 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4878         row argument, constify cur argument.
4879
4880 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * text2.C (getFont): adjust
4883         (getLayoutFont): adjust
4884         (getLabelFont): adjust
4885
4886         * paragraph_funcs.C (TeXOnePar): adjust
4887         (outerFont): new func...
4888         (realizeFont): ...moved out from here, changed this to facilitate
4889         transition
4890
4891         * paragraph.C (getFont): take outerfont as arg, adjust
4892         (simpleTeXOnePar): add outerfont arg, adjust
4893
4894         * buffer.C (simpleLinuxDocOnePar): adjust
4895         (simpleDocBookOnePar): adjust
4896
4897         * CutAndPaste.C (pasteSelection): adjust
4898
4899         * BufferView.C (getEncoding): adjust
4900
4901 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * text2.C (setCharFont): adjust
4904         (setCounter): adjust
4905
4906         * text.C (leftMargin): adjust
4907         (setHeightOfRow): adjust
4908
4909         * rowpainter.C (paintFirst): adjust
4910         (paintLast): adjust
4911
4912         * paragraph_pimpl.C (realizeFont): adjust
4913
4914         * paragraph.C (isFirstInSequence): move from here...
4915         * paragraph_funcs.C (isFirstInSequence): ...to here
4916
4917         * paragraph.C (outerHook): move from here...
4918         * paragraph_funcs.C (outerHook): ...to here
4919
4920         * paragraph.C (depthHook): move from here...
4921         * paragraph_funcs.C (depthHook): ...to here
4922
4923         * paragraph.C (getEndLabel): move from here...
4924         * paragraph_funcs.C (getEndLabel): ...to here
4925
4926         * text2.C (realizeFont): move from here...
4927         * paragraph_funcs.C (realizeFont): ...to here
4928
4929 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4932
4933 2003-04-14  Angus Leeming  <leeming@lyx.org>
4934
4935         * LColor.[Ch]: scrap LColor mathcursor.
4936
4937 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * lyxlex.[Ch] (text): delete function
4940         * trans.C (Load): adjust
4941         * paragraph_funcs.C (readParToken): adjust
4942
4943 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4946         vector<char> instead of a char[].
4947
4948         * lyxlex_pimpl.C (getString): adjust
4949         (next): adjust
4950         (lex): use getString
4951         (eatLine): adjust
4952         (nextToken): adjust
4953
4954         * lyxlex.C (text): use pimpl_->getString()
4955         (getBool): ditto
4956         (findToken): ditto
4957
4958 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4961         (makeFontEntriesLayoutSpecific): temp var for par.size()
4962         (setLayout): temp var for ownerParagraphs().end()
4963         (fullRebreak): temp var for rows().end()
4964         (selectionAsString): temp var for boost::next(startpit), realize
4965         that the while really is a regular for loop.
4966         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4967         setCursor in one place.
4968         (setParagraph): temp vr for ownerParagraphs().end()
4969         (updateCounters): make the while loop a for loop
4970         (cutSelection): temp var for ownerParagraphs().end()
4971         (updateInset): make the do {} while() a regular for loop
4972         (getCursorX): use temp vars
4973         (setCurrentFont): use temp vars
4974         (getColumnNearX): use temp vars
4975
4976 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * text.C (transformChar): use temp var for getChar
4979         (computeBidiTables): use temp var for row->par()
4980         (fill): move temp vars for row->par() and pit->layout() earlier in
4981         the function.
4982         (labelFill): use temp var for row->par()
4983         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4984         asc and desc, realize that pit never changes and that firstpit is
4985         just a duplicate and not needed. Exchange rit->par() with pit in a
4986         lot of places.
4987         (breakAgain): use a temp var for boost::next(rit)
4988         (breakAgainOneRow): ditto
4989         (breakParagraph): use a temp var for rows().begin()
4990         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4991         (cursorRightOneWord): use temp var for cursor.par() and
4992         cursor.pos(), remove usage of tmpcursor.
4993         (cursorLeftOneWord): use temp var for cursor.par() and
4994         cursor.pos() only set cur at end of function.
4995
4996 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * text.C, text2.C: exchange all usage of Paragraph::next with
4999         boost::next(ParagraphList::iterator)
5000
5001         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5002
5003         * text2.C (cursorTop): simplify implementation
5004         (cursorBottom): ditto
5005         (setParagraph): use ParagraphList::iterator
5006         (setCurrentFont): adjust
5007         (getColumnNearX): adjust
5008         (cursorRight): adjust
5009         (cursorLeft): remove usage of Paragraph::previous
5010         (cursorUpParagraph): ditto
5011         (deleteEmptyParagraphMechanism): slight cleanup
5012
5013         * text.C (isBoundary): take a Paragraph const & instead of a
5014         pointer as arg.
5015         (addressBreakPoint): ditto
5016         (leftMargin): remove usage of Paragraph::previous.
5017         (setHeightOfRow): ditto
5018         (cursorLeftOneWord): ditto
5019         (selectNextWordToSpellcheck): ditto
5020         (Delete): ditto
5021         (backspace): ditto
5022         (breakParagraph): remove one usage of Paragraph::next
5023         (redoParagraph): ditto
5024         (acceptChange): ditto
5025         (insertChar): adjust
5026         (rowBreakPoint): adjust
5027
5028         * bufferview_funcs.C (toggleAndShow): adjust
5029
5030 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5033         methods to access it.
5034         * lyxtext.h:
5035         * text.C: Added updateRowPositions to compute all row positions.
5036         Make top_y and getRowNearY() to use the cached y position
5037
5038 2003-04-11  John Levon  <levon@movementarian.org>
5039
5040         * text.C (rowBreakPoint): reintroduce the labelEnd
5041         checks, code copied from the row fill stuff. Deep voodoo.
5042
5043         * text.C (fill): add a comment and debugging for the
5044         next poor soul.
5045
5046 2003-04-11  John Levon  <levon@movementarian.org>
5047
5048         * text.C: make sure fullrow insets get wrapped to the next line,
5049         even when they're in a manual label
5050
5051 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * text2.C (insertParagraph): make it take ParagraphList::iterator
5054         as arg.
5055         (setLayout): make it return ParagraphList::iterator
5056         (redoParagraphs): ditto
5057         (setCounter): ditto
5058         (checkParagraph): ditto
5059
5060         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5061
5062         * text2.C: adjust several funcs.
5063         (realizeFont): take a ParagraphList::iterator as arg.
5064         (getLayoutFont): ditto
5065         (getLabelFont): ditto
5066         (setCharFont): ditto
5067
5068         * text.C: adjust several funcs.
5069
5070 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text.C (selectNextWordToSpellcheck): don't accidentally
5073         skip insets
5074
5075 2003-04-10  John Levon  <levon@movementarian.org>
5076
5077         * ToolbarBackend.C (getIcon): special handling for
5078         LFUN_MATH_DELIM
5079
5080 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * text2.C (cursorRight): a getChar assert fixed
5083
5084 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * text2.C (getFont): change to take a ParagraphList::iterator
5087         instead of Paragraph*
5088         Adjust several functions.
5089
5090         * text.C (transformChar): change to take a ParagraphList::iterator
5091         instead of Paragraph*
5092         (singleWidth): ditto
5093         Adjust several functions.
5094
5095         * rowpainter.C: adjust several functions
5096         * rowpainter.h:store a ParagraphList::iterator and not a
5097         Paragraph&.
5098
5099
5100 2003-04-09  John Levon  <levon@movementarian.org>
5101
5102         * lyxfunc.C:
5103         * lfuns.h:
5104         * LyXAction.h:
5105         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5106         and the "help" bits as well
5107
5108 2003-04-09  John Levon  <levon@movementarian.org>
5109
5110         * ToolbarBackend.h:
5111         * ToolbarBackend.C: allow multiple toolbars
5112
5113 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * undo_funcs.C (setCursorParUndo): adjust
5116
5117         * text_funcs.C (transposeChars): adjust
5118
5119         * text3.C (gotoNextInset): adjust
5120         (dispatch): adjust
5121
5122         * text2.C (setLayout): adjust
5123         (changeDepth): adjust
5124         (setFont): adjust
5125         (redoParagraphs): adjust
5126         (selectionAsString): adjust
5127         (setParagraph): adjust
5128         (insertInset): adjust
5129         (cutSelection): adjust
5130         (copySelection): adjust
5131         (pasteSelection): adjust
5132         (insertStringAsLines): adjust
5133         (updateInset): adjust
5134         (setCursor): change to take a ParagraphList::iterator parameter
5135         (setCursorIntern): change to take a ParagraphList::iterator parameter
5136         (setCurrentFont): adjust
5137         (cursorLeft): adjust
5138         (cursorRight): adjust
5139         (deleteEmptyParagraphMechanism): adjust
5140
5141         * text.C (breakParagraph): adjust
5142         (insertChar): adjust
5143         (acceptChange): adjust
5144         (rejectChange): adjust
5145         (selectNextWordToSpellcheck): adjust
5146         (changeCase): adjust
5147         (Delete): adjust
5148         (backspace): adjust
5149
5150         * lyxfind.C (SearchForward): adjust
5151         (SearchBackward): adjust
5152         (nextChange): adjust
5153
5154         * lyxcursor.C (par): adjust
5155
5156         * lyxcursor.h: store a ParagraphList::iterator instead of a
5157         Paragraph*
5158
5159         * lyx_cb.C (getPossibleLabel): adjust
5160
5161         * bufferview_funcs.C (toggleAndShow): adjust
5162
5163         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5164         (dispatch): adjust
5165
5166         * BufferView.C (removeAutoInsets): adjust
5167         (lockedInsetStoreUndo): adjust
5168
5169 2003-04-09  John Levon  <levon@movementarian.org>
5170
5171         * ToolbarBackend.C: try icon without argument
5172         if with argument fails
5173
5174 2003-04-08  John Levon  <levon@movementarian.org>
5175
5176         * ToolbarBackend.h:
5177         * ToolbarBackend.C: add getIcon(), handle tooltip,
5178         and change from "Icon" to "Item".
5179
5180 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * BufferView.C (lockInset): another bad getchar crunched
5183
5184 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5185
5186         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5187         again)
5188
5189 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5190
5191         * lyxfind.C (searchForward, searchBackwards): bug 782
5192
5193 2003-04-07  John Levon  <levon@movementarian.org>
5194
5195         * paragraph.C: remove dead comment
5196
5197         * text.C: remove troublesome depth-fiddling code
5198         in leftMargin() and rightMargin() (bug 1017)
5199
5200         * text.C: fix breaking of rows in nested lists
5201         (bug 1004)
5202
5203         * text2.C (updateCounters): fix up depth values
5204         (bug 1013)
5205
5206 2003-04-07  John Levon  <levon@movementarian.org>
5207
5208         * BufferView_pimpl.C: clear message when doc finishes resizing,
5209         and after a mouse event
5210
5211         * lyxfunc.C: clear message after exiting inset
5212
5213 2003-04-07  John Levon  <levon@movementarian.org>
5214
5215         * bufferview_funcs.C: show math status not outside
5216         status in the statusbar
5217
5218 2003-04-07  John Levon  <levon@movementarian.org>
5219
5220         * lyxfunc.C: note status changed after a depth change
5221
5222 2003-04-04  Angus Leeming  <leeming@lyx.org>
5223
5224         * LaTeX.h: move AuxInfo operator==, != out of line.
5225         Remove LaTeX virtual destructor; nothing derives from it.
5226         Move operator()() out of public area and rename it startscript().
5227         Change protected for private.
5228
5229 2003-04-04  Angus Leeming  <leeming@lyx.org>
5230
5231         * lyxfunc.C:
5232         * text2.C: remove unneeded #includes.
5233
5234 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text2.C (dEPM): fix the heigth of the next row
5237
5238 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * text.C: squashed an invalid getChar requester + some ws changes
5241
5242 2003-04-03  John Levon  <levon@movementarian.org>
5243
5244         * bufferview_funcs.h:
5245         * bufferview_funcs.C:
5246         * lyxfunc.C:
5247         * lyxtext.h:
5248         * text2.C: make getStatus work for the env depth lfuns
5249
5250 2003-04-03  John Levon  <levon@movementarian.org>
5251
5252         * bufferview_funcs.h:
5253         * bufferview_funcs.C:
5254         * lyxfunc.C:
5255         * lyxtext.h:
5256         * text2.C: parlistize decDepth(), by merging it with incDepth()
5257
5258 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * lyxrow.h: store a ParagraphList::iterator instead of a
5261         Paragraph* and adjust other class functions to suit.
5262
5263         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5264         above.
5265
5266 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * text2.C (setCursor): do not anchor to cursor row for the time being
5269
5270 2003-04-02  John Levon  <levon@movementarian.org>
5271
5272         * LyXAction.C:
5273         * lfuns.h:
5274         * lyx_main.C:
5275         * lyxtext.h:
5276         * text.C:
5277         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5278
5279 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * paragraph.h: make ParagraphList and ParagraphList::iterator
5282         friends of Paragraph.
5283
5284         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5285
5286         * ParagraphList.C: Use the private next_ and previous_ from
5287         Paragraph.
5288
5289 2003-04-01  John Levon  <levon@movementarian.org>
5290
5291         * ToolbarBackend.h:
5292         * ToolbarBackend.C:
5293         * Makefile.am: rename, remove defaults gunk
5294
5295         * MenuBackend.h:
5296         * MenuBackend.C: remove defaults gunk
5297
5298         * Languages.h:
5299         * Languages.C: remove defaults gunk
5300
5301         * lyx_main.h:
5302         * lyx_main.C: error out if files couldn't be found.
5303
5304 2003-04-02  John Levon  <levon@movementarian.org>
5305
5306         * text2.C: make incDepth() use parlist
5307
5308 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * undo_funcs.C (firstUndoParagraph): adjust
5311
5312         * text3.C (gotoInset): adjust
5313         (dispatch): adjust, and rewrite loop.
5314
5315         * text2.C (init): adjust, and rewrite loop.
5316         (redoParagraphs): adjust
5317         (updateInset): adjust, and rewrite loop.
5318         (deleteEmptyParagraphMechanism): adjust
5319
5320         * tabular.C (LyXTabular): adjust
5321         (SetMultiColumn): adjust
5322         (TeXRow): adjust
5323
5324         * lyxtext.[Ch] (ownerParagraph): delete function
5325         (ownerParagraphs): new function returns a ParagraphList.
5326
5327         * BufferView.C (removeAutoInsets): adjust
5328         (insertErrors): adjust
5329         (setCursorFromRow): adjust
5330
5331 2003-04-01  Angus Leeming  <leeming@lyx.org>
5332
5333         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5334         in the frontends.
5335
5336 2003-04-02  John Levon  <levon@movementarian.org>
5337
5338         * lyxtext.h:
5339         * text.C:
5340         * Makefile.am:
5341         * text_funcs.h:
5342         * text_funcs.C: make transposeChars a free function
5343
5344         * lyxrow_funcs.C: remove wrong comment
5345
5346 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * lyxtext.h: adjust
5349         * rowpainter.C: adjust
5350         * text.C: adjust
5351         * text2.C: adjust
5352         * text3.C: adjust
5353
5354         * lyxrow_funcs. [Ch]: new files
5355
5356         * lyxrow.[Ch]: remove next and previous pointers
5357         (next,previous): remove accessor functions
5358         (isParEnd): move to lyxrow_funcs
5359         (lastPos): move to lyxrow_funcs
5360         (nextRowIsAllInset): move to lyxrow_funcs
5361         (lastPrintablePos): move to lyxrow_funcs
5362         (numberOfSeparators): move to lyxrow_funcs
5363         (numberOfHfills): move to lyxrow_funcs
5364         (numberOfLabelHfills): move to lyxrow_funcs
5365         (hfillExpansion): move to lyxrow_funcs
5366
5367         * lyxfunc.C: adjust
5368
5369         * bufferview_funcs.C (toggleAndShow): adjust
5370
5371         * RowList.h: Remove class RowList from file leave just a
5372         std::list<Row>.
5373
5374         * RowList.C: delete file
5375
5376         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5377         and lyxrow_funcs.h
5378
5379 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * text3.C (cursorPrevious): adjust
5382         (cursorNext): adjust
5383         (dispatch): adjust
5384
5385         * text2.C (redoHeightOfParagraph): adjust
5386         (redoDrawingOfParagraph): adjust
5387         (setCursor): adjust
5388
5389         * text.C (breakParagraph): adjust
5390         (insertChar): adjust
5391         (backspace): adjust
5392
5393         * rowpainter.C (RowPainter): adjust
5394         (leftMargin): simplify and adjust
5395         (most rowpainter functions): adjust.
5396
5397         * rowpainter.h: store the row as RowList::iterator not as Row*
5398
5399         * lyxcursor.C (row): taka RowList::iterator as arg
5400         (irow): ditto
5401
5402         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5403         of Row*.
5404
5405 2003-04-01  Angus Leeming  <leeming@lyx.org>
5406
5407         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5408         stuff like bool Bool.
5409
5410 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5411
5412         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5413         rewrite a loop
5414
5415 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5418         RowList::iterator.
5419
5420         * lyxtext.h (rows): drop one version and leve a const variant that
5421         returns a RowList::iterator.
5422
5423 2003-03-31  Angus Leeming  <leeming@lyx.org>
5424
5425         * text.C (fill): ensure that the signature is the same as that in the
5426         header file.
5427
5428 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * text2.C (redoParagraphs): adjust
5431         (updateCounters): adjust
5432         (checkParagraph): adjust
5433         (getColumnNearX): adjust and reformat a bit.
5434
5435         * text.C (top_y): adjust
5436         (workWidth): adjust
5437         (leftMargin): adjust
5438         (prepareToPrint): adjust
5439         (getRow): adjust
5440         (getRowNearY): adjust
5441
5442         * lyxtext.h: make rowlist_ mutable.
5443
5444         * RowList.h: add const_iterator
5445         * RowList.C: adjust for RowList::const_iterator.
5446
5447         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5448         adjust.
5449
5450 2003-03-31  John Levon  <levon@movementarian.org>
5451
5452         * lyxrc.h:
5453         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5454
5455         * lyx_main.C: set default fonts from using lyx_gui funcs
5456
5457         * exporter.C: pdf_mode moved from lyxrc
5458
5459         * lyx_cb.C:
5460         * lyxfunc.C: changes from above
5461
5462 2003-03-31  John Levon  <levon@movementarian.org>
5463
5464         * lyx_main.C: fix to the last fix
5465
5466 2003-03-31  John Levon  <levon@movementarian.org>
5467
5468         * bufferlist.C: "Load original" -> "Load Original"
5469
5470         * converter.C:
5471         * exporter.C:
5472         * importer.C:
5473         * lyx_main.C:
5474         * format.C: more Alert cleanups
5475
5476 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5477
5478         * text2.C (removeParagraph): make it take a RowList::iterator as
5479         arg, adjust.
5480         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5481         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5482
5483         * text.C (anchor_row): make it take a RowList::iterator as arg,
5484         adjust.
5485         (computeBidiTables): make it take a const reference to Row instead
5486         of Row pointer, adjust.
5487         (leftMargin): make it take a RowList::iterator as arg, adjust.
5488         (rowBreakPoint): adjust
5489         (breakAgainOneRow): make it take a RowList::iterator as arg,
5490         adjust.
5491         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5492
5493         * bufferview_funcs.C (toggleAndShow): adjust
5494
5495 2003-03-30  John Levon  <levon@movementarian.org>
5496
5497         * Makefile.am:
5498         * BoostFormat.h:
5499         * boost-inst.C: moved to support
5500
5501         * several files: changes as a result
5502
5503 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * text2.C (LyXText): adjust.
5506         (init): adjust
5507         (removeRow): make it take a RowList::iterator as arg, adjust.
5508         (fullRebreak): adjust
5509         (deleteEmptyParagraphMechanism): adjust
5510         (clearPaint): adjust
5511         (postPaint): adjust
5512
5513         * text.C (top_y): adjust
5514         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5515         (breakAgain): make it take a RowList::iterator as arg, adjust.
5516         (breakParagraph): adjust
5517         (insertChar): adjust
5518         (backspace): adjust
5519
5520         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5521         need_break_row, and refresh_row.
5522
5523         * text3.C (dispatch): adjust
5524
5525         * text2.C (checkParagraph): adjust
5526         (setCursor): adjust
5527         (setCursorFromCoordinates): adjust
5528
5529         * text.C (top_y): adjust
5530         (workWidth): adjust
5531         (getRow): make it return a RowList::iterator, adjust
5532         (getRowNearY): make it return a RowList::iterator, adjust
5533
5534         * text2.C (init): adjust
5535         (insertRow): remove function
5536         (insertParagraph): adjust
5537         (redoParagraphs): adjust
5538         (fullRebreak): adjust
5539         (updateCounters): adjust
5540
5541         * text.C (top_y): rewrite to use RowList iterators.
5542         (top_y): adjust
5543         (setHeightOfRow): rewrite to sue RowList iterators.
5544         (appendParagraph): adjust
5545         (breakAgain): adjust
5546         (breakAgainOneRow): adjust
5547         (breakParagraph): adjust
5548         (getRow): adjust
5549         (getRowNearY): adjust, and remove commented code.
5550
5551         * lyxtext.h (firstRow): delete function
5552         (lastRow): delete function
5553         (rows): new function (const and non-const versions.)
5554         (insertRow): delete function
5555
5556         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5557
5558 2003-03-29  John Levon  <levon@movementarian.org>
5559
5560         * BufferView_pimpl.C: always update scrollbar top
5561         because pasting text when we're anchored could mean we
5562         miss an update altogether
5563
5564 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * text2.C (init): use rowlist_.end() and not 0.
5567         (insertRow): change to take a RowList::iterator as arg, adjust
5568         for this.
5569         (insertParagraph): change to take a RowList::iterator as arg,
5570         adjust for this.
5571         (redoParagraphs): remove some debug msgs.
5572
5573         * text.C (appendParagraph): change to take a RowList::iterator
5574         arg, adjust for this.
5575         (breakAgain): add an assert
5576         (breakAgainOneRow): ditto
5577
5578 2003-03-29  John Levon  <levon@movementarian.org>
5579
5580         * text2.C: do not clear selection after inc/decDepth
5581         (bug 550)
5582
5583 2003-03-29  John Levon  <levon@movementarian.org>
5584
5585         * BufferView.C:
5586         * buffer.C: fix broken strerrors according to Lars
5587
5588 2003-03-29  John Levon  <levon@movementarian.org>
5589
5590         * converters.C: more Alert cleanups
5591
5592 2003-03-29  John Levon  <levon@movementarian.org>
5593
5594         * bufferview_funcs.C: remove pointless Alert
5595
5596         * buffer.C: fix confusing error message when
5597         a template is chmoded 000
5598
5599 2003-03-29  John Levon  <levon@movementarian.org>
5600
5601         * BufferView.C:
5602         * BufferView.h:
5603         * BufferView_pimpl.C: Alert fixes
5604
5605         * Makefile.am:
5606         * tabular.C:
5607         * tabular-old.C: remove unused table compat reading
5608
5609 2003-03-29  John Levon  <levon@movementarian.org>
5610
5611         * BufferView.C:
5612         * buffer.C:
5613         * lyx_cb.h:
5614         * lyx_cb.C: more Alert cleanups
5615
5616         * lyxfunc.C: don't allow chktex if not latex document
5617
5618 2003-03-29  John Levon  <levon@movementarian.org>
5619
5620         * lyx_cb.C:
5621         * BufferView.C:
5622         * buffer.C: warnings pushed down from support/,
5623         kill err_alert
5624
5625 2003-03-29  John Levon  <levon@movementarian.org>
5626
5627         * lyxfunc.C: safety check for C-r (revert)
5628
5629 2003-03-29  John Levon  <levon@movementarian.org>
5630
5631         * bufferlist.h:
5632         * bufferlist.C: several UI fixes using Alert::prompt.
5633         Fix the pointless looping quit code. Fix stupid revert
5634         behaviour (bug 938)
5635
5636         * lyxvc.h:
5637         * lyxvc.C:
5638         * lyx_cb.C: use Alert::prompt
5639
5640         * lyx_main.C: remove a silly question
5641
5642         * lyxfunc.C: remove a couple of silly questions,
5643         use Alert::prompt
5644
5645 2003-03-28  John Levon  <levon@movementarian.org>
5646
5647         * text2.C: fix bug 974 (End on empty par)
5648
5649 2003-03-28  John Levon  <levon@movementarian.org>
5650
5651         * BufferView_pimpl.C:
5652         * LyXAction.C:
5653         * lfuns.h: remove do-nothing math greek lfuns
5654
5655 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * lyxgluelength.h (isValidGlueLength): add default arg on
5658         parameter 2. Remove default arg from friend in class.
5659
5660         * lyxlength.h (isValidLength): add default arg on parameter 2.
5661         Remove default arg from friend in class.
5662
5663         * text2.C (LyXText): adjust, initialize refresh_row.
5664         (init): adjust
5665         (removeRow): adjust
5666         (insertRow): adjust
5667         (insertParagraph): adjst
5668         (redoParagraphs): adjust
5669         (fullRebreak): adjust
5670         (updateCounters): adjust
5671         (deleteEmptyParagraphMechanism): first attempt at fixing a
5672         crashing bug.
5673
5674         * text.C (top_y): adjust
5675         (setHeightOfRow): adjust
5676         (getRow): adjust
5677         (getRowNearY): adjust
5678
5679         * lyxtext.h: include RowList.h
5680         (~LyXText): not needed anymore, deleted.
5681         (firstRow): modify for RowList
5682         (lastRow): new function
5683         Delete firstrow and lastrow class variables, add a Rowlist
5684         rowlist_ class variable.
5685
5686         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5687         paragraph is empty.
5688
5689         * RowList.C (insert): fix case where it == begin().
5690
5691 2003-03-26  Angus Leeming  <leeming@lyx.org>
5692
5693         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5694         the thesaurus dialog.
5695
5696 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5699
5700         * RowList.[Ch]: new files
5701
5702         * ParagraphList.C (erase): handle the case where it == begin
5703         correctly.
5704
5705 2003-03-25  John Levon  <levon@movementarian.org>
5706
5707         * Makefile.am:
5708         * aspell_local.h:
5709         * aspell.C: add new aspell support
5710
5711         * lyxrc.h:
5712         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5713         have it accessible.
5714
5715 2003-03-25  Angus Leeming  <leeming@lyx.org>
5716
5717         * lfuns.h:
5718         * LyXAction.C (init): new LFUN_INSET_INSERT.
5719
5720         * BufferView_pimpl.C (dispatch): split out part of the
5721         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5722
5723         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5724         LFUN_INSET_APPLY.
5725
5726 2003-03-25  Angus Leeming  <leeming@lyx.org>
5727
5728         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5729
5730 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5731
5732         * text2.C:
5733         * text3.C: remove useless row->height(0)
5734
5735 2003-03-25  John Levon  <levon@movementarian.org>
5736
5737         * lyxtext.h:
5738         * text2.C:
5739         * text3.C: rename the refreshing stuff to better names
5740
5741 2003-03-24  John Levon  <levon@movementarian.org>
5742
5743         * BufferView_pimpl.h:
5744         * BufferView_pimpl.C: update layout choice on a mouse
5745         press/release
5746
5747 2003-03-23  John Levon  <levon@movementarian.org>
5748
5749         * Makefile.am: fix commandtags.h reference
5750
5751 2003-03-22  John Levon  <levon@movementarian.org>
5752
5753         * BufferView_pimpl.C:
5754         * lyxtext.h:
5755         * rowpainter.C:
5756         * rowpainter.h:
5757         * text.C:
5758         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5759
5760 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5761
5762         * lyxtext.h:
5763         * text.C: take the rtl methods out of line
5764
5765 2003-03-21 André Pönitz <poenitz@gmx.net>
5766
5767         * metricsinfo.[Ch]: new files containing structures to be passed around
5768         during the two-phase-drawing...
5769
5770 2003-03-21 André Pönitz <poenitz@gmx.net>
5771
5772         * lyxtextclass.C: read 'environment' tag.
5773
5774 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5775
5776         * text2.C (removeRow): fix bug 964
5777
5778 2003-03-20  John Levon  <levon@movementarian.org>
5779
5780         * rowpainter.C:
5781         * text.C:
5782         * text2.C: paint cleanups. Inset::update() dropped font
5783         parameter
5784
5785 2003-03-19  John Levon  <levon@movementarian.org>
5786
5787         * lyxfunc.C: only fitcursor/markDirty if available()
5788
5789 2003-03-19  John Levon  <levon@movementarian.org>
5790
5791         * commandtags.h: rename to ...
5792
5793         * lfuns.h: ... this, and renumber / cleanup
5794
5795 2003-03-19  John Levon  <levon@movementarian.org>
5796
5797         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5798         fit the cursor after an lfun
5799
5800         * BufferView.h:
5801         * BufferView.C:
5802         * BufferView_pimpl.h:
5803         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5804
5805         * LyXAction.C: layout-character should have ReadOnly
5806
5807         * ParagraphParameters.C:
5808         * buffer.C:
5809         * bufferview_funcs.C:
5810         * lyx_cb.C:
5811         * lyxfind.C:
5812         * lyxtext.h:
5813         * text.C:
5814         * text2.C:
5815         * text3.C:
5816         * undo_funcs.C: changes from above
5817
5818 2003-03-18  John Levon  <levon@movementarian.org>
5819
5820         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5821         remove it from update()
5822
5823         * lyxfunc.C: update layout choice after an lfun
5824
5825         * text3.C: remove extra updateLayoutChoice()s
5826
5827 2003-03-18  John Levon  <levon@movementarian.org>
5828
5829         * text.C: top_y change means full repaint, fix
5830         a drawing bug with cursor movement
5831
5832 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5833
5834         * lyxtext.h:
5835         * text.C:
5836         * text2.C: anchor row on setCursor
5837
5838 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5839
5840         * lyxtext.h: remove almost all mutable keywords
5841         * text.C:
5842         * text2.C:
5843         * text3.C: remove const keywords accordingly
5844
5845 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5848         anon namespace
5849         (TeXEnvironment): ditto
5850         (TeXOnePar): ditto
5851
5852 2003-03-17  John Levon  <levon@movementarian.org>
5853
5854         * text.C (rowBreakPoint): remove attempt to fix displayed
5855         math insets inside a manual label
5856
5857 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * lyxtext.h: remove BufferView* as first arg from almost all class
5860         functions.
5861         * other files: adjust.
5862
5863 2003-03-17  John Levon  <levon@movementarian.org>
5864
5865         * lyxtext.h:
5866         * undo_funcs.C:
5867         * text2.C: more paint cleanups
5868
5869         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5870
5871         * rowpainter.h:
5872         * rowpainter.C: remove "smart" background painting code
5873
5874 2003-03-16  John Levon  <levon@movementarian.org>
5875
5876         * lyxtext.h:
5877         * text.C:
5878         * text2.C:
5879         * text3.C: add helper functions for setting refresh_row/y
5880
5881 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5882
5883         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5884         newline inset which *can* get inserted in the pass_thru layouts.
5885         This is primarily for literate documents.
5886
5887 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5888
5889         * buffer.C: increment LYX_FORMAT to 223
5890
5891 2003-03-14 André Pönitz <poenitz@gmx.net>
5892
5893         * textclass.h: prepare for environment handling, ws changes
5894         * lyxlayout.C: read latexheader and latexfooter tags
5895
5896 2003-03-14  John Levon  <levon@movementarian.org>
5897
5898         * text2.C: rewrite ::status() a bit
5899
5900 2003-03-13  John Levon  <levon@movementarian.org>
5901
5902         * lyxtext.h: add some docs
5903
5904 2003-03-13  John Levon  <levon@movementarian.org>
5905
5906         * lyxtext.h:
5907         * text.C:
5908         * text2.C:
5909         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5910
5911 2003-03-13  John Levon  <levon@movementarian.org>
5912
5913         * text3.C: fix appendix redrawing
5914
5915 2003-03-13  John Levon  <levon@movementarian.org>
5916
5917         * text.C (setHeightOfRow):
5918         * rowpainter.h:
5919         * rowpainter.C: make appendix mark have the text
5920           "Appendix" so the user knows what it is
5921
5922         * LColor.h:
5923         * LColor.C: s/appendixline/appendix/ from above
5924
5925 2003-03-13  John Levon  <levon@movementarian.org>
5926
5927         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5928
5929         * text.C: fix a getChar(pos) bug properly
5930
5931 2003-03-13  Angus Leeming  <leeming@lyx.org>
5932
5933         * commandtags.h:
5934         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5935         Probably only temporary. Let's see how things pan out.
5936
5937         * BufferView.C (unlockInset):
5938         * BufferView_pimpl.C (fitCursor):
5939         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5940
5941         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5942         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5943
5944         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5945         new functions that convert ParagraphParameters to and from a string.
5946
5947         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5948         BufferView::Pimpl's dispatch.
5949         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5950
5951 2003-03-13 André Pönitz <poenitz@gmx.net>
5952
5953         * lyxfunc.C:
5954         * text3.C:
5955         * factory.C: make it aware of InsetEnv
5956
5957 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * text2.C (setCursor): never ask for one past last
5960         (setCursor): add some debugging messages.
5961
5962         * text.C (singleWidth): never ask for one past last
5963         (singleWidth): ditto
5964         (leftMargin): ditto
5965         (rightMargin): ditto
5966         (rowBreakPoint): ditto
5967         (setHeightOfRow): ditto
5968         (prepareToPrint): ditto
5969
5970         * rowpainter.C (paintBackground): never ask for one past last
5971         (paintText): never ask for one past last
5972
5973         * paragraph_pimpl.C (getChar): make the assert stricter, never
5974         allow the one past last pos to be taken
5975
5976         * paragraph.C (getChar): ws changes only
5977
5978         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5979         (numberOfSeparators): ditto
5980         (numberOfHfills): ditto
5981
5982 2003-03-12  John Levon  <levon@movementarian.org>
5983
5984         * author.h:
5985         * author.C:
5986         * bufferparams.h:
5987         * bufferparams.C:
5988         * paragraph_funcs.C: fix per-buffer authorlists
5989
5990 2003-03-12  John Levon  <levon@movementarian.org>
5991
5992         * text.C: fix newline in right address
5993
5994 2003-03-12  Angus Leeming  <leeming@lyx.org>
5995
5996         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5997         duplicate those in LyXFunc::dispatch.
5998
5999         * commandtags.h:
6000         * LyXAction.C:
6001         * ToolbarDefaults.C:
6002         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6003         Add LFUN_FONTFREE_UPDATE.
6004
6005         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6006         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6007
6008         * bufferview_func.[Ch]: several new functions to facilliate
6009         transfer of data to and from the character dialog.
6010
6011 2003-03-12  John Levon  <levon@movementarian.org>
6012
6013         * buffer.C:
6014         * paragraph.h:
6015         * paragraph.C:
6016         * paragraph_funcs.C:
6017         * paragraph_pimpl.C:
6018         * sgml.C:
6019         * tabular.C:
6020         * text.C:
6021         * text3.C: remove META_NEWLINE in favour of an inset
6022
6023         * rowpainter.h:
6024         * rowpainter.C: remove paintNewline (done by inset)
6025
6026 2003-03-12  John Levon  <levon@movementarian.org>
6027
6028         * paragraph_pimpl.C: complain about bad getChar()s
6029         for a while at least
6030
6031 2003-03-12  John Levon  <levon@movementarian.org>
6032
6033         * buffer.h:
6034         * buffer.C: move paragraph read into a separate function,
6035         a little renaming to reflect that.
6036
6037         * bufferparams.h:
6038         * bufferparams.C: remove the author_ids map, not necessary now
6039
6040         * factory.h:
6041         * factory.C: moved Buffer::readInset to here
6042
6043         * paragraph_funcs.h:
6044         * paragraph_funcs.C: readParagraph free function moved from
6045         buffer.C
6046
6047         * tabular.C: name change
6048
6049 2003-03-12  John Levon  <levon@movementarian.org>
6050
6051         * buffer.C:
6052         * ParagraphParameters.C: move par params input to
6053         a read() method
6054
6055         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6056         behave like a normal read from the stream wrt reading
6057         a line vs. a \\token
6058
6059 2003-03-12  John Levon  <levon@movementarian.org>
6060
6061         * paragraph.C:
6062         * ParagraphParameters.h:
6063         * ParagraphParameters.C: move output code to a
6064         ::write() method
6065
6066 2003-03-12  John Levon  <levon@movementarian.org>
6067
6068         * BufferView.C (insertLyXFile):
6069         * buffer.h:
6070         * buffer.C:
6071         * tabular.C: use a parlist iterator for creating the
6072           document.
6073
6074 2003-03-12  John Levon  <levon@movementarian.org>
6075
6076         * buffer.C: make current_change static local not
6077           static file-scope
6078
6079 2003-03-12  John Levon  <levon@movementarian.org>
6080
6081         * buffer.C: fix insertStringAsLines for change tracking
6082
6083 2003-03-12  John Levon  <levon@movementarian.org>
6084
6085         * BufferView.C:
6086         * tabular.C:
6087         * buffer.h:
6088         * buffer.C:
6089         * bufferparams.h:
6090         * bufferparams.C: move author list into params. Rename some
6091           functions. Move the header reading into a separate token
6092           loop. Move the header token reading into BufferParams.
6093
6094 2003-03-12  John Levon  <levon@movementarian.org>
6095
6096         * changes.C: put debug inside lyxerr.debugging() checks
6097
6098 2003-03-11 André Pönitz <poenitz@gmx.net>
6099
6100         * factory.C: make it aware of InsetHFill
6101
6102 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6103
6104         * buffer.C (latexParagraphs): move function from here...
6105         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6106         args.
6107
6108 2003-03-10  Angus Leeming  <leeming@lyx.org>
6109
6110         * LyXAction.C (init): fix bug in poplating array with multiple entries
6111         with the same LFUN (spotted by JMarc).
6112
6113 2003-03-10  John Levon  <levon@movementarian.org>
6114
6115         * text.C:
6116         * text2.C: move getColumnNearX() near its
6117         only call site
6118
6119 2003-03-10  John Levon  <levon@movementarian.org>
6120
6121         * text.C: fix break before a minipage
6122
6123 2003-03-10  John Levon  <levon@movementarian.org>
6124
6125         * text.C: fix the last commit
6126
6127 2003-03-09  John Levon  <levon@movementarian.org>
6128
6129         * lyxtext.h:
6130         * text.C:
6131         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6132         bug 365 (don't break before insets unless needed). Don't
6133         return a value > last under any circumstances.
6134
6135 2003-03-09  Angus Leeming  <leeming@lyx.org>
6136
6137         * BufferView_pimpl.C (trackChanges, dispatch): call
6138         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6139
6140 2003-03-09  Angus Leeming  <leeming@lyx.org>
6141
6142         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6143         than Dialogs::showAboutlyx().
6144
6145 2003-03-09  Angus Leeming  <leeming@lyx.org>
6146
6147         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6148         than Dialogs::showTabularCreate().
6149
6150 2003-03-09  John Levon  <levon@movementarian.org>
6151
6152         * lyxtext.h:
6153         * text.C:
6154         * text2.C: 3rd arg to nextBreakPoint was always the same.
6155           Use references.
6156
6157 2003-03-08  John Levon  <levon@movementarian.org>
6158
6159         * lyxrow.C:
6160         * paragraph.C:
6161         * paragraph.h:
6162         * rowpainter.C:
6163         * text.C:
6164         * text2.C: Remove the "main" bit from the "main body"
6165           notion.
6166
6167 2003-03-08  John Levon  <levon@movementarian.org>
6168
6169         * text.C (leftMargin): The left margin of an empty
6170         manual label paragraph should not include the label width
6171         string length.
6172
6173         * text.C (prepareToPrint): don't attempt to measure hfills
6174         for empty manual label paragraphs - the answer should be 0
6175
6176 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * CutAndPaste.C: remove commented code and reindent.
6179
6180 2003-03-08  John Levon  <levon@movementarian.org>
6181
6182         * lyxfunc.h:
6183         * lyxfunc.C: move reloadBuffer()
6184
6185         * BufferView.h:
6186         * BufferView.C: to here
6187
6188         * lyxvc.C: add comment
6189
6190         * vc-backend.h:
6191         * vc-backend.C: call bv->reload() to avoid
6192           getStatus() check on MENURELOAD
6193
6194 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6195
6196         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6197         to an old format .dep file.
6198
6199 2003-03-07  Angus Leeming  <leeming@lyx.org>
6200
6201         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6202         when the LFUN_MOUSE_RELEASE should have been handled by
6203         inset->localDispatch.
6204
6205 2003-03-07  Angus Leeming  <leeming@lyx.org>
6206
6207         * BufferView_pimpl.C (dispatch):
6208         * LyXAction.C (init):
6209         * ToolbarDefaults.C (init):
6210         * commandtags.h:
6211         * lyxfunc.C (getStatus):
6212         remove LFUN_INSET_GRAPHICS.
6213
6214         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6215
6216 2003-03-07  Angus Leeming  <leeming@lyx.org>
6217
6218         * commandtags.h:
6219         * LyXAction.C (init):
6220         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6221
6222         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6223
6224         * commandtags.h:
6225         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6226
6227         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6228         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6229
6230 2003-03-07  Angus Leeming  <leeming@lyx.org>
6231
6232         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6233         remove "ert".
6234
6235 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * ParagraphList.C (front): new function
6238         (back): implement
6239
6240 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6241
6242         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6243         and top_row_offset_. removed var first_y.
6244         * text.C (top_y):
6245         * text2.C (LyXText, removeRow):
6246         * text3.C:
6247         * BufferView_pimpl.C:
6248         use these methods instead of using first_y
6249
6250 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * text2.C (pasteSelection): adjust for checkPastePossible
6253
6254         * CutAndPaste.C: remove Paragraph * buf and replace with
6255         ParagraphList paragraphs.
6256         (DeleteBuffer): delete
6257         (cutSelection): change the tc type to textclass_type
6258         (copySelection): change the tc type to textclass_type
6259         (copySelection): adjust for ParagraphList
6260         (pasteSelection): change the tc type to textclass_type
6261         (pasteSelection): adjust for Paragraphlist
6262         (nrOfParagraphs): simplify for ParagraphList
6263         (checkPastePossible): simplify for ParagraphList
6264         (checkPastePossible): remove unused arg
6265
6266         * ParagraphList.C (insert): handle the case where there are no
6267         paragraphs yet.
6268
6269         * CutAndPaste.h: make CutAndPaste a namespace.
6270
6271         * text3.C (dispatch): adjust
6272
6273         * text.C (breakParagraph): add a ParagraphList as arg
6274
6275         * paragraph_funcs.C (breakParagraph): change to take a
6276         BufferParams and a ParagraphList as args.
6277         (breakParagraphConservative): ditto
6278         (mergeParagraph): ditto
6279         (TeXDeeper): add a ParagraphList arg
6280         (TeXEnvironment): ditto
6281         (TeXOnePar): ditto
6282
6283         * buffer.C (readLyXformat2): adjust
6284         (insertStringAsLines): adjust
6285         (latexParagraphs): adjust
6286
6287         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6288         (cutSelection): adjust
6289         (pasteSelection): adjust
6290
6291         * BufferView_pimpl.C (insertInset): adjust
6292
6293 2003-03-05  Angus Leeming  <leeming@lyx.org>
6294
6295         * commandtags.h:
6296         * LyXAction.C (init):
6297         * BufferView_pimpl.C (dispatch):
6298         * lyxfunc.C (getStatus):
6299         remove LFUN_CHILD_INSERT.
6300
6301         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6302
6303 2003-03-05  Angus Leeming  <leeming@lyx.org>
6304
6305         * commandtags.h:
6306         * LyXAction.C (init):
6307         * src/factory.C (createInset):
6308         * lyxfunc.C (getStatus):
6309         * text3.C (dispatch):
6310         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6311
6312         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6313
6314 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * ParagraphList.C (insert): handle insert right before end()
6317         (erase): fix cases where it can be first or last paragraph.
6318
6319 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6322         Paragraph::next and Paragraph::previous
6323         (TeXOnePar): ditto
6324
6325         * text.C (breakParagraph): adjust
6326
6327         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6328         BufferParams& as arg.
6329         (breakParagraph): use ParagraphList::insert
6330         (breakParagraphConservative): take a Buffer* instead of a
6331         BufferParams& as arg.
6332         (breakParagraphConservative): use ParagraphList::insert.
6333
6334         * buffer.C (insertStringAsLines): un-const it
6335         (insertStringAsLines): adjust
6336
6337         * ParagraphList.C (insert): new function
6338
6339         * CutAndPaste.C (pasteSelection): adjust
6340
6341         * text.C (backspace): adjust
6342
6343         * tabular.C (SetMultiColumn): adjust
6344
6345         * CutAndPaste.C (cutSelection): adjust
6346         (pasteSelection): adjust
6347
6348         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6349         Buffer const * as arg
6350
6351         * ParagraphList.C (erase): new function
6352         * paragraph_funcs.C (mergeParagraph): use it
6353         (mergeParagraph): make it take a Buffer* instead of a
6354         BufferParams* as arg
6355
6356         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6357         as arg
6358         (breakParagraphConservative): ditto
6359
6360         * paragraph.h: remove the breakParagraph friend
6361
6362         * paragraph.C (eraseIntern): new function
6363         (setChange): new function
6364
6365         * paragraph_funcs.C (mergeParagraph): make it take a
6366         ParagraphList::iterator instead of a Paragraph *, adjust
6367         accordingly.
6368
6369         * paragraph.h: move an #endif so that the change tracking stuff
6370         also works in the NO_NEXT case.
6371
6372 2003-03-04  Angus Leeming  <leeming@lyx.org>
6373
6374         * commandtags.h:
6375         * LyXAction.C: new LFUN_INSET_MODIFY.
6376
6377         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6378         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6379
6380 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * several files: ws changes only
6383
6384         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6385         (TeXEnvironment): ditto
6386         (TeXDeeper): ditto
6387
6388         * buffer.C (makeLaTeXFile): adjust
6389         (latexParagraphs): make it take ParagraphList::iterator as args
6390
6391 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * buffer.C (latexParagraphs): adjust
6394
6395         * paragraph.C (TeXOnePar): move function...
6396         (optArgInset): move function...
6397         (TeXEnvironment): move function...
6398         * paragraph_pimpl.C (TeXDeeper): move function...
6399         * paragraph_funcs.C: ...here
6400
6401         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6402
6403 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * buffer.C (readInset): remove compability code for old Figure and
6406         InsetInfo insets
6407
6408 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * buffer.C: ws changes
6411         (readInset):
6412
6413         * BufferView_pimpl.C: ditto
6414         * author.C: ditto
6415         * buffer.h: ditto
6416         * bufferlist.h: ditto
6417         * changes.h: ditto
6418         * lyxfunc.C: ditto
6419
6420 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6421
6422         * converter.[Ch]: split into itself +
6423         * graph.[Ch]
6424         * format.[Ch]
6425         * Makefile.am: += graph.[Ch] + format.[Ch]
6426         * MenuBackend.C
6427         * buffer.C
6428         * exporter.C
6429         * importer.C
6430         * lyx_main.C
6431         * lyxfunc.C
6432         * lyxrc.C: added #include "format.h"
6433
6434 2003-02-27  Angus Leeming  <leeming@lyx.org>
6435
6436         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6437           a label.
6438
6439         * factory.C (createInset): add "label" to the factory.
6440
6441         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6442           string and do no more.
6443
6444 2003-02-27  Angus Leeming  <leeming@lyx.org>
6445
6446         * commandtags.h:
6447         * LyXAction.C (init):
6448         * factory.C (createInset):
6449         * BufferView_pimpl.C (dispatch):
6450           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6451
6452         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6453
6454         * lyxfunc.C (dispatch):
6455         * text3.C (dispatch): pass name to params2string.
6456
6457 2003-02-26  Angus Leeming  <leeming@lyx.org>
6458
6459         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6460           blocks together.
6461           Rearrange the ~includes. Strip out the unnecessary ones.
6462
6463         * factory.C (createInset): reformat.
6464           create new insets for the various LFUN_XYZ_APPLY lfuns.
6465
6466 2003-02-26  John Levon  <levon@movementarian.org>
6467
6468         * lyxrow.h:
6469         * lyxrow.C: add isParStart,isParEnd helpers
6470
6471         * paragraph.h: make isInserted/DeletedText take refs
6472
6473         * paragraph_funcs.h:
6474         * paragraph_funcs.C: remove #if 0'd code
6475
6476         * lyxtext.h:
6477         * text3.C:
6478         * text2.C:
6479         * text.C: use lyxrow helpers above.
6480           Move draw and paint routines to RowPainter.
6481           Make several methods use refs not pointers.
6482           Make backgroundColor() const.
6483           Add markChangeInDraw(), isInInset().
6484           Merge changeRegionCase into changeCase.
6485           Make workWidth() shouldn't-happen code into an Assert.
6486
6487         * rowpainter.h:
6488         * rowpainter.C: new class for painting a row.
6489
6490         * vspace.h:
6491         * vspace.C: make inPixels take a ref
6492
6493 2003-02-26  Angus Leeming  <leeming@lyx.org>
6494
6495         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6496         LFUN_REF_APPLY.
6497
6498 2003-02-25  John Levon  <levon@movementarian.org>
6499
6500         * ispell.C: give the forked command a more accurate name
6501
6502 2003-02-22  John Levon  <levon@movementarian.org>
6503
6504         * toc.h:
6505         * toc.C: make TocItem store an id not a Paragraph *
6506           (bug #913)
6507
6508 2003-02-21  Angus Leeming  <leeming@lyx.org>
6509
6510         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6511           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6512           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6513           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6514           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6515           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6516
6517         * BufferView_pimpl.C (dispatch):
6518         * LyXAction.C (init):
6519         * factory.C (createInset):
6520         * lyxfunc.C (getStatus, dispatch):
6521         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6522
6523 2003-02-21  Angus Leeming  <leeming@lyx.org>
6524
6525         * BufferView_pimpl.C (MenuInsertLyXFile):
6526         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6527         * lyxfunc.C (menuNew, open, doImport):
6528           no longer pass a LyXView & to fileDlg.
6529
6530 2003-02-21  Angus Leeming  <leeming@lyx.org>
6531
6532         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6533         * LyXAction.C: change, BIBKEY to BIBITEM.
6534         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6535         Change InsetBibKey to InsetBibitem.
6536         Change BIBKEY_CODE to BIBITEM_CODE.
6537         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6538         * factory.C: replace insetbib.h with insetbibitem.h.
6539         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6540         * paragraph.C: replace insetbib.h with insetbibitem.h.
6541         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6542         Change bibkey() to bibitem().
6543         * text.C: remove insetbib.h.
6544         * text2.C: replace insetbib.h with insetbibitem.h.
6545         change bibkey() to bibitem().
6546         * text3.C: remove insetbib.h.
6547         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6548
6549 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6550
6551         * lyxrc.C (output): enclose user email in quotes (in case there are
6552         several words)
6553
6554 2003-02-18  John Levon  <levon@movementarian.org>
6555
6556         * buffer.h: add std::
6557
6558 2003-02-17  John Levon  <levon@movementarian.org>
6559
6560         * SpellBase.h:
6561         * ispell.h:
6562         * ispell.C:
6563         * pspell.h:
6564         * pspell.C: reworking. Especially in ispell, a large
6565           number of clean ups and bug fixes.
6566
6567         * lyxfunc.C: fix revert to behave sensibly
6568
6569 2003-02-17 André Pönitz <poenitz@gmx.net>
6570
6571         * LyXAction.C:
6572         * commandtags.h: new LFUN_INSERT_BIBKEY
6573
6574         * layout.h:
6575         * lyxlayout.C:
6576         * buffer.C:
6577         * factory.C:
6578         * text.C:
6579         * text2.C:
6580         * text3.C:
6581         * paragraph.[Ch]:
6582         * paragraph_func.C: remove special bibkey handling
6583
6584 2003-02-17  John Levon  <levon@movementarian.org>
6585
6586         * text.C (Delete): fix case where delete at the end of
6587           the very first paragraph would not merge the pars
6588
6589 2003-02-17  John Levon  <levon@movementarian.org>
6590
6591         * lyxrow.C: fix lastPrintablePos()
6592
6593 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6594
6595         * bufferparams.C (writeLaTeX): add a std:here
6596
6597         * buffer.C: and remove a using directive there
6598
6599 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6600
6601         * buffer.C (makeLaTeXFile): move the code that generates the
6602           preamble...
6603
6604         * bufferparams.C (writeLaTeX): ... in this new method
6605
6606         * LaTeXFeatures.C (getEncodingSet): make const
6607           (getLanguages): make const
6608
6609         * MenuBackend.C (binding): returns the binding associated to this
6610           action
6611           (add): sets the status of each item by calling getStatus. Adds
6612           some intelligence.
6613           (read): add support for OptSubMenu
6614           (expand): remove extra separator at the end of expanded menu
6615
6616 2003-02-15  John Levon  <levon@movementarian.org>
6617
6618         * BufferView.C:
6619         * BufferView_pimpl.C:
6620         * bufferlist.h:
6621         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6622           inset code that had no actual effect. Remove unneeded status
6623           code.
6624
6625 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6626
6627         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6628           in preamble
6629
6630 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6631
6632         * text.C (drawLengthMarker): also draw an arrow marker for
6633           symbolic lengths (medskip...)
6634
6635 2003-02-14  John Levon  <levon@movementarian.org>
6636
6637         * tabular.h:
6638         * tabular.C: better method names
6639
6640 2003-02-14  John Levon  <levon@movementarian.org>
6641
6642         * BufferView_pimpl.C:
6643         * bufferlist.C:
6644         * buffer.C:
6645         * converter.C:
6646         * lyx_cb.C:
6647         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6648           it's a more accurate name. Remove some pointless uses.
6649
6650 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6651
6652         * text2.C (LyXText): change order of initilizers to shut off
6653           warnings
6654
6655 2003-02-14  John Levon  <levon@movementarian.org>
6656
6657         * buffer.C: use ParIterator for getParFromID()
6658
6659         * paragraph.h:
6660         * paragraph.C:
6661         * paragraph_pimpl.h:
6662         * paragraph_pimpl.C: remove unused getParFromID()
6663
6664 2003-02-14  John Levon  <levon@movementarian.org>
6665
6666         * buffer.C: remove some very old #if 0'd parse code
6667
6668 2003-02-13  John Levon  <levon@movementarian.org>
6669
6670         * text.h:
6671         * text.C:
6672         * text2.C: move hfillExpansion(), numberOfSeparators(),
6673           rowLast(), rowLastPrintable(), numberofHfills(),
6674           numberOfLabelHfills() ...
6675
6676         * lyxrow.h:
6677         * lyxrow.C: ... to member functions here.
6678
6679         * paragraph.h:
6680         * paragraph.C:
6681         * lyxtext.h:
6682         * text.C: remove LyXText::beginningOfMainBody(), and call
6683           p->beginningOfMainBody() directly. Move the check for
6684           LABEL_MANUAL into the latter.
6685
6686         * text.h:
6687         * text.C:
6688         * text2.C:
6689         * vspace.C:
6690         * BufferView.h:
6691         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6692
6693         * text.h:
6694         * text.C:
6695         * text2.C:
6696         * text3.C:
6697         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6698           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6699
6700 2003-02-13  John Levon  <levon@movementarian.org>
6701
6702         * CutAndPaste.C: remove debug
6703
6704 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6705
6706         * paragraph.C (asString): remove two unused variables
6707
6708         * lyxtextclass.C (readTitleType):
6709           (Read):
6710           (LyXTextClass): handle new members titletype_ and titlename_
6711
6712         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6713
6714 2003-02-09  John Levon  <levon@movementarian.org>
6715
6716         * buffer.h:
6717         * buffer.C: replace hand-coded list with a map for the dep clean
6718
6719 2003-02-08  John Levon  <levon@movementarian.org>
6720
6721         * LaTeX.C: consolidate code into showRunMessage() helper
6722
6723 2003-02-08  John Levon  <levon@movementarian.org>
6724
6725         * lyxfind.C:
6726         * lyxtext.h:
6727         * text2.C:
6728         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6729           and pass the size in explicitly
6730
6731         * BufferView_pimpl.h:
6732         * BufferView_pimpl.C:
6733         * BufferView.h:
6734         * BufferView.C: add getCurrentChange()
6735
6736         * BufferView_pimpl.h:
6737         * BufferView_pimpl.C: handle change lfuns
6738
6739         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6740           for changes. Mark pasted paragraphs as new.
6741
6742         * support/lyxtime.h:
6743         * support/lyxtime.C:
6744         * DepTable.C: abstract time_t as lyx::time_type
6745
6746         * LColor.h:
6747         * LColor.C: add colours for new text, deleted text, changebars
6748
6749         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6750           package use "usenames" option.
6751
6752         * commandtags.h:
6753         * lyxfunc.C:
6754         * LyXAction.C: add change lfuns
6755
6756         * Makefile.am:
6757         * author.h:
6758         * author.C: author handling
6759
6760         * buffer.h:
6761         * buffer.C: add a per-buffer author list, with first entry as
6762           current author. Handle new .lyx tokens for change tracking. Output
6763           author list to .lyx file. Output dvipost stuff to .tex preamble.
6764           Bump lyx format to 222.
6765
6766         * bufferlist.h:
6767         * bufferlist.C: add setCurrentAuthor() to reset current author details
6768           in all buffers.
6769
6770         * bufferparams.h:
6771         * bufferparams.C: add param for tracking
6772
6773         * bufferview_funcs.C: output change info in minibuffer
6774
6775         * Makefile.am:
6776         * changes.h:
6777         * changes.C: add change-tracking structure
6778
6779         * debug.h:
6780         * debug.C: add CHANGES debug flag
6781
6782         * lyxfind.h:
6783         * lyxfind.C: add code for finding the next change piece
6784
6785         * lyxrc.h:
6786         * lyxrc.C: add user_name and user_email
6787
6788         * lyxrow.h:
6789         * lyxrow.C: add a metric for the top of the text line
6790
6791         * lyxtext.h:
6792         * text.C: implement accept/rejectChange()
6793
6794         * lyxtext.h:
6795         * text.C: paint changebars. Paint new/deleted text in the chosen
6796         colours. Strike through deleted text.
6797
6798         * paragraph.h:
6799         * paragraph.C:
6800         * paragraph_pimpl.h:
6801         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6802           in the current change to the insert functions. Rework erase to
6803           mark text as deleted, adding an eraseIntern() and a range-based
6804           erase(). Implement per-paragraph change lookup and
6805           accept/reject.
6806
6807         * paragraph_funcs.C: Fixup paste for change tracking.
6808
6809         * tabular.C: mark added row/columns as new.
6810
6811         * text.C: fix rowLast() to never return -1. Don't allow
6812           spellchecking of deleted text. Track transpose changes. Don't
6813           allow paragraph break or merge where appropriate.
6814
6815         * text2.C: leave cursor at end of selection after a cut.
6816
6817 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6818
6819         * text.C (getLengthMarkerHeight):
6820         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6821         visible on screen too.
6822
6823 2003-02-07  John Levon  <levon@movementarian.org>
6824
6825         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6826
6827 2003-02-05  Angus Leeming  <leeming@lyx.org>
6828
6829         * lyxserver.C (read_ready): revert my patch of 11 September last year
6830         as it sends PC cpu through the roof. Presumably this means that
6831         the lyxserver will no longer run on an Alpha...
6832
6833 2003-01-30  Angus Leeming  <leeming@lyx.org>
6834
6835         * factory.C (createInset): create an InsetCommandParam of type "index"
6836         and use it to 'do the right thing'.
6837
6838         * text2.C (getStringToIndex): ensure that cursor position is always
6839         reset to the reset_cursor position.
6840
6841 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6842
6843         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6844         disabled.
6845
6846 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6847
6848         * bufferview.C:
6849         * lyxcb.C:
6850         * lyxfunc.C: Output messages with identical spelling, punctuation,
6851         and spaces
6852
6853 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6854
6855         * MenuBackend.C (expandFormats): List only viewable export formats
6856         in "View" menu
6857
6858         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6859         message
6860
6861         * lyxfunc.C (getStatus): Make sure that formats other than
6862         "fax" can also be disabled
6863
6864 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6865
6866         * text3.C (dispatch): put the lfuns that insert insets in 3
6867         groups, and call doInsertInset with appropriate arguments.
6868         (doInsertInset): new function, that creates an inset and inserts
6869         it according to some boolean parameters.
6870
6871 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * buffer.C (readFile): remember to pass on 'par' when calling
6874         readFile recursively.
6875
6876 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6877
6878         * MenuBackend.C (expandFormats): add "..." to import formats.
6879
6880 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6881
6882         * paragraph.C (asString): Remove XForms RTL hacks.
6883
6884 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6885         * buffer.C: fix typo
6886
6887 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * Makefile.am (LIBS): delete var
6890         (lyx_LDADD): add @LIBS@ here instead.
6891
6892 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6893
6894         * Clarify the meaning of "wheel mouse jump"
6895
6896 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6897
6898         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6899         tabular in a float
6900
6901 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6902
6903         * importer.C (Loaders): do not preallocate 3 elements in the
6904         vector, since one ends up with 6 elements otherwise
6905
6906 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6907
6908         * DepTable.C (write): write the file name as last element of the
6909         .dep file (because it may contain spaces)
6910         (read): read info in the right order
6911
6912 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6913
6914         * paragraph_pimpl.C (simpleTeXBlanks):
6915         (simpleTeXSpecialChars):
6916         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6917
6918         * tabular.C (latex): add some missing case statements. Reindent.
6919
6920         * MenuBackend.C (expandToc): remove unused variable.
6921
6922 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6923
6924         * LColor.C:
6925         * LaTeX.C:
6926         * LyXAction.C:
6927         * MenuBackend.C:
6928         * buffer.C:
6929         * exporter.C:
6930         * lyxfunc.C:
6931         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6932         and the like.
6933
6934 2003-01-05  John Levon  <levon@movementarian.org>
6935
6936         * BufferView.h:
6937         * BufferView.C: add getEncoding()
6938
6939         * kbsequence.h:
6940         * kbsequence.C: do not store last keypress
6941
6942         * lyxfunc.h:
6943         * lyxfunc.C: store last keypress here instead. Pass encoding
6944           to getISOEncoded()
6945
6946 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6947
6948         * lyx_main.C (init): remove annoying error message when following
6949         symbolic links (bug #780)
6950
6951 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6952
6953         * text.C (insertChar):
6954         * lyxrc.C (getDescription): remove extra spaces
6955
6956 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6957
6958         * lyxrc.C (getDescription): remove extra spaces
6959
6960 2002-12-20  John Levon  <levon@movementarian.org>
6961
6962         * text3.C: hack fix for page up/down across tall rows
6963
6964 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6965
6966         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6967         not been invoked
6968
6969 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6970
6971         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6972         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6973         thesaurus is not compiled in
6974
6975 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6976
6977         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6978
6979 2002-12-16  Angus Leeming  <leeming@lyx.org>
6980
6981         * lyxrc.[Ch]:
6982         * lyx_main.C (init): remove override_x_deadkeys stuff.
6983
6984 2002-12-12  John Levon  <levon@movementarian.org>
6985
6986         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6987           insert. Only remove shift modifier under strict
6988           circumstances.
6989
6990 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * MenuBackend.C (expandToc): fix crash.
6993
6994 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * MenuBackend.C (expandToc): gettext on float names.
6997
6998 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6999
7000         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7001         implement bool empty() [bug 490]
7002
7003 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7006
7007 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * several files: ws changes
7010
7011 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * text2.C (setCounter): clean up a bit, use boost.format.
7014         (updateCounters): initialize par upon declaration.
7015
7016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7017         if the layout exists. We do not just store the layout any more.
7018         (SwitchLayoutsBetweenClasses): use boost.format
7019
7020 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7021
7022         * converter.C (convert): if from and to files are the same, use a
7023         temporary files as intermediary
7024
7025 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7026
7027         * commandtags.h:
7028         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7029
7030 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7031
7032         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7033
7034 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * tabular.C (asciiPrintCell): use string(size, char) instead of
7037         explicit loop.
7038
7039         * sgml.C (openTag): fix order of arguments to string constructor
7040         (closeTag): ditto
7041
7042         * lyxfunc.C (dispatch): use boost.format
7043
7044         * lots of files: change "c" -> 'c'
7045
7046 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7047
7048         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7049
7050 2002-11-25  Angus Leeming  <leeming@lyx.org>
7051
7052         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7053
7054         * lyx_main.C (init): compile fix.
7055
7056 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * lyx_cb.C (start): boost.formatify
7059         do not include <iostream>
7060
7061         * lengthcommon.C: ws only
7062
7063         * boost-inst.C,BoostFormat.h: add more explict instantations
7064
7065 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * lots of files: handle USE_BOOST_FORMAT
7068
7069 2002-11-21  John Levon  <levon@movementarian.org>
7070
7071         * pspell.C: fix compile
7072
7073 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7074
7075         * lyxfunc.C (dispatch): use boost::format
7076         (open): ditto
7077         (doImport): ditto
7078
7079         * lyxfont.C (stateText): use boost::format
7080
7081         * lyx_main.C (LyX): use boost::format
7082         (init): ditto
7083         (queryUserLyXDir): ditto
7084         (readRcFile): ditto
7085         (parse_dbg): ditto
7086         (typedef boost::function): use the recommened syntax.
7087
7088         * importer.C (Import): use boost::format
7089
7090         * debug.C (showLevel): use boost::format
7091
7092         * converter.C (view): use boost::format
7093         (convert): ditto
7094         (move): ditto
7095         (scanLog): ditto
7096
7097         * bufferview_funcs.C (currentState): use boost::format
7098
7099         * bufferlist.C (emergencyWrite): use boost::format
7100
7101         * buffer.C (readLyXformat2): use boost::format
7102         (parseSingleLyXformat2Token): ditto
7103
7104         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7105
7106         * LaTeX.C (run): use boost::format
7107
7108         * Chktex.C (scanLogFile): use boost::format
7109
7110         * BufferView_pimpl.C (savePosition): use boost::format
7111         (restorePosition): ditto
7112         (MenuInsertLyXFile): ditto
7113
7114         * BoostFormat.h: help file for explicit instation.
7115
7116 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7117
7118         * tabular.C (latex): Support for block alignment in fixed width
7119         columns.
7120
7121 2002-11-17  John Levon  <levon@movementarian.org>
7122
7123         * BufferView_pimpl.C:
7124         * lyx_cb.C:
7125         * lyxfunc.C: split filedialog into open/save
7126
7127 2002-11-08  Juergen Vigna  <jug@sad.it>
7128
7129         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7130         by my last patch (hopefully).
7131
7132 2002-11-08  John Levon  <levon@movementarian.org>
7133
7134         * iterators.h:
7135         * iterators.C:
7136         * buffer.h:
7137         * buffer.C:
7138         * paragraph.h:
7139         * paragraph.C:
7140         * toc.h:
7141         * toc.C: ParConstIterator, and use it (from Lars)
7142
7143 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7144
7145         * lyxtextclass.[Ch]: revise and add doxygen comments
7146
7147 2002-11-07  John Levon  <levon@movementarian.org>
7148
7149         * text.C: fix progress value for spellchecker
7150
7151         * toc.C: fix navigate menu for insetwrap inside minipage
7152
7153         * paragraph_funcs.C: added FIXME for suspect code
7154
7155 2002-11-07  John Levon  <levon@movementarian.org>
7156
7157         * BufferView_pimpl.C: fix redrawing of insets
7158           on buffer switch
7159
7160 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7161
7162         * text2.C (updateCounters): fix bug 668
7163
7164 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7165
7166         * text3.C (dispatch): Do not make the buffer dirty when moving the
7167         cursor.
7168
7169 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * vc-backend.C: STRCONV
7172         (scanMaster): ditto
7173
7174         * text2.C (setCounter): STRCONV
7175
7176         * paragraph.C (asString): STRCONV
7177
7178         * lyxlength.C (asString): STRCONV
7179         (asLatexString): ditto
7180
7181         * lyxgluelength.C (asString): STRCONV
7182         (asLatexString): ditto
7183
7184         * lyxfunc.C (dispatch): STRCONV
7185         (open): ditto
7186
7187         * lyxfont.C (stateText): STRCONV
7188
7189         * importer.C (Import): STRCONV
7190
7191         * counters.C (labelItem): STRCONV
7192         (numberLabel): ditto
7193         (numberLabel): remove unused ostringstream o
7194
7195         * chset.C: STRCONV
7196         (loadFile): ditto
7197
7198         * bufferview_funcs.C (currentState): STRCONV
7199
7200         * buffer.C (readFile): STRCONV
7201         (asciiParagraph): ditto
7202         (makeLaTeXFile): ditto
7203
7204         * Spacing.C (writeEnvirBegin): STRCONV
7205
7206         * LaTeXFeatures.C (getLanguages): STRCONV
7207         (getPackages): ditto
7208         (getMacros): ditto
7209         (getBabelOptions): ditto
7210         (getTClassPreamble): ditto
7211         (getLyXSGMLEntities): ditto
7212         (getIncludedFiles): ditto
7213
7214         * LaTeX.C: STRCONV
7215         (run): ditto
7216         (scanAuxFile): ditto
7217         (deplog): ditto
7218
7219         * LString.h: add the STRCONV macros
7220
7221         * BufferView_pimpl.C (savePosition): STRCONV
7222         (restorePosition): ditto
7223         (MenuInsertLyXFile): ditto
7224
7225         * vc-backend.C (scanMaster): change from submatch[...] to
7226         submatch.str(...)
7227
7228         * funcrequest.C: include config.h
7229
7230         * factory.C: include config.h
7231
7232         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7233
7234         * box.C: include config.h
7235
7236         * LaTeX.C (scanAuxFile): change from submatch[...] to
7237         submatch.str(...)
7238         (deplog): ditto
7239
7240 2002-10-25  Angus Leeming  <leeming@lyx.org>
7241
7242         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7243
7244         * ispell.[Ch] (setError): new method.
7245         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7246         Use setError() insetead of goto END.
7247
7248         * lyx_cb.C (AutoSave): move out child process into new class
7249         AutoSaveBuffer.
7250
7251 2002-10-30  John Levon  <levon@movementarian.org>
7252
7253         * text3.C: make start appendix undoable
7254
7255 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7256
7257         * lyxlength.C (inPixels): Fix returned value.
7258
7259         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7260         environment.
7261
7262 2002-10-24  Angus Leeming  <leeming@lyx.org>
7263
7264         * lyxgluelength.h: no need to forward declare BufferParams
7265         or BufferView, so don't.
7266
7267 2002-10-21  John Levon  <levon@movementarian.org>
7268
7269         * BufferView.C: menuUndo ->undo, redo
7270
7271         * BufferView.h: document, remove dead, make some methods private
7272
7273         * paragraph_funcs.h:
7274         * paragraph_funcs.C:
7275         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7276
7277         * buffer.h:
7278         * buffer.C:
7279         * sgml.h:
7280         * sgml.C: move sgml open/close tag into sgml.C
7281
7282         * bufferview_funcs.h: unused prototype
7283
7284         * lyxfunc.h:
7285         * lyxfunc.C: remove unused
7286
7287         * lyxtext.h:
7288         * text.C: remove unused
7289
7290 2002-10-21  John Levon  <levon@movementarian.org>
7291
7292         * BufferView.h:
7293         * BufferView.C:
7294         * BufferView_pimpl.h:
7295         * BufferView_pimpl.C: fix mouse wheel handling based on
7296           patch from Darren Freeman
7297
7298 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7299
7300         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7301
7302 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7303
7304         * lyxlength.C (inPixels): Fix hanfling of negative length.
7305         Fix LyXLength::MU case.
7306
7307 2002-10-16  John Levon  <levon@movementarian.org>
7308
7309         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7310
7311 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7312
7313         * converter.C (view): add support for $$i (file name) and $$p
7314         (file path) for the viewer command. If $$i is not specified, then
7315         it is appended to the command (for compatibility with old syntax)
7316
7317 2002-10-14  Juergen Vigna  <jug@sad.it>
7318
7319         * undo_funcs.C (textHandleUndo): alter the order in which the
7320         new undopar is added to the LyXText, as we have to set first
7321         the right prev/next and then add it as otherwise the rebuild of
7322         LyXText is not correct. Also reset the cursor to the right paragraph,
7323         with this IMO we could remove the hack in "redoParagraphs()".
7324
7325 2002-10-09  Angus Leeming  <leeming@lyx.org>
7326
7327         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7328         to turn off an optimisation if a new inset is to be inserted.
7329
7330 2002-10-11 André Pönitz <poenitz@gmx.net>
7331
7332         * lyxtext.h: make some functions public to allow access
7333         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7334
7335 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * text3.C (dispatch): when changing layout, avoid an infinite loop
7338         [bug #652]
7339
7340 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7341
7342         * lyxrc.C (read): treat a viewer or converter command of "none" as
7343         if it were empty.
7344
7345         * MenuBackend.C (expandFormats): for an update, also allow the
7346         formats that are not viewable
7347
7348         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7349         script if it is newer than the lyxrc.defaults in user directory
7350
7351 2002-10-07 André Pönitz <poenitz@gmx.net>
7352
7353         * text.C: Vitaly Lipatov's small i18n fix
7354
7355 2002-09-25  Angus Leeming  <leeming@lyx.org>
7356
7357         * ispell.h: doxygen fix.
7358
7359 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7360
7361         * buffer.h (readFile): Add a new argument to the method, to allow
7362         reading of old-format templates.
7363
7364 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7365
7366         * toc.C (getTocList): Get TOC from InsetWrap.
7367
7368 2002-09-16  John Levon  <levon@movementarian.org>
7369
7370         * lyxfunc.C: check tabular for cut/copy too
7371
7372 2002-09-12  John Levon  <levon@movementarian.org>
7373
7374         * LyXAction.C: tidy
7375
7376         * factory.h:
7377         * factory.C: add header
7378
7379         * paragraph_funcs.h:
7380         * paragraph_funcs.C: cleanup
7381
7382 2002-09-11  John Levon  <levon@movementarian.org>
7383
7384         * PrinterParams.h: odd/even default to true
7385
7386 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7387
7388         * PrinterParams.h: update printer parameters for new xforms dialog
7389
7390 2002-09-11  Angus Leeming  <leeming@lyx.org>
7391
7392         * lyxserver.C (read_ready): re-write to make it more transparent
7393         and to make it work in coherent fashion under Tru64 Unix.
7394
7395 2002-09-11  André Pönitz <poenitz@gmx.net>
7396
7397         * commandtags.h:
7398         * LyXAction.C:
7399         * text3.C: implement LFUN_WORDSEL
7400
7401 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7404         make floatlist_ a boost::shared_ptr<FloatList>
7405
7406         * lyxtextclass.C: include FloatList.h
7407         (LyXTextClass): initialize floatlist_
7408         (TextClassTags): add TC_NOFLOAT
7409         (Read): match "nofloat" to TC_NOFLOAT and use it.
7410         (readFloat): modify call to floatlist_
7411         (floats): ditto
7412         (floats): ditto
7413
7414         * FloatList.[Ch] (FloatList): remove commented out float
7415         initialization.
7416         (erase): new function
7417
7418 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7419
7420         * MenuBackend.C (expandToc): fix crash when there is no document
7421         open
7422
7423 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7424
7425         * many files: Add insetwrap.
7426
7427 2002-09-09  John Levon  <levon@movementarian.org>
7428
7429         * text2.C: remove confusing and awkward depth wraparound
7430
7431 2002-09-09  John Levon  <levon@movementarian.org>
7432
7433         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7434
7435         * buffer.h:
7436         * buffer.C: remove getIncludeonlyList()
7437
7438         * paragraph.C:
7439         * lyxfunc.C: remove headers
7440
7441 2002-09-09  Juergen Vigna  <jug@sad.it>
7442
7443         * text.C (getColumnNearX): fix form Michael this is most
7444         probably a cut&paste bug.
7445
7446 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7449
7450         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7451         references, ws changes.
7452
7453         * text2.C (init): update counters after init
7454         (insertParagraph): no need to set counter on idividual paragraphs.
7455         (setCounter): access the counters object in the textclass object
7456         on in the buffer object.
7457         (updateCounters): ditto
7458
7459         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7460         shared_ptr<Counters> to avoid loading counters.h in all
7461         compilation units.
7462         (LyXTextClass): initialize ctrs_
7463         (TextClassTags): add TC_COUNTER, and ...
7464         (Read): use it here.
7465         (CounterTags): new tags
7466         (readCounter): new function
7467         (counters): new funtion
7468         (defaultLayoutName): return a const reference
7469
7470         * counters.C (Counters): remove contructor
7471         (newCounter): remove a couple of unneeded statements.
7472         (newCounter): simplify a bit.
7473         (numberLabel): some small formatting changes.
7474
7475         * buffer.[Ch]: remove all traces of counters, move the Counters
7476         object to the LyXTextClass.
7477
7478 2002-09-06  Alain Castera  <castera@in2p3.fr>
7479
7480         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7481         package to set the horizontal alignment on fixed width columns.
7482
7483         * lyx_sty.C:
7484         * lyx_sty.h: added tabularnewline macro def.
7485
7486         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7487
7488 2002-09-06  John Levon  <levon@movementarian.org>
7489
7490         * LyXAction.C: tooltips for sub/superscript
7491
7492         * MenuBackend.C: a bit more verbose
7493
7494         * lyxfunc.C: tiny clean
7495
7496         * undo_funcs.C: document undo_frozen
7497
7498 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * counters.C (Counters): add missing algorithm counter.
7501
7502         * text2.C (setCounter): lookup the counter with layouts latexname
7503         instead of by section number.
7504         (setCounter): use a hackish way to lookup the correct enum
7505         counter.
7506         a float name->type change
7507         reset enum couners with counter name directly instead of depth value.
7508
7509         * counters.C (Counters): remove the push_backs, change to use the
7510         float type not the float name.
7511         (labelItem): remove unused string, float name->type change
7512
7513         * counters.h: don't include vector, loose the enums and sects vectors
7514
7515 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7518         (Read): add float->TC_FLOAT to textclassTags
7519         (Read): and handle it in the switch
7520         (readFloat): new function
7521
7522         * FloatList.C (FloatList): comment out the hardcoded float
7523         definitions.
7524
7525         * lyxlayout.h: ws change.
7526
7527 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7528
7529         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7530
7531 2002-09-03  Angus Leeming  <leeming@lyx.org>
7532
7533         * BufferView_pimpl.h: qualified name is not allowed in member
7534         declaration: WorkArea & Pimpl::workarea() const;
7535
7536         * factory.C: added using std::endl directive.
7537
7538         * text3.C: added using std::find and std::vector directives.
7539
7540 2002-08-29  André Pönitz <poenitz@gmx.net>
7541
7542         * lyxtext.h:
7543         * text2.C: remove unused member number_of_rows
7544
7545         * Makefile.am:
7546         * BufferView2.C: remove file, move contents to...
7547         * BufferView.C: ... here
7548
7549         * BufferView_pimpl.C:
7550         * factory.C: move more inset creation to factory
7551
7552         * vspace.C: avoid direct usage of LyXText, ws changes
7553
7554         * BufferView.[Ch]:
7555                 don't provide direct access to WorkArea, use two simple
7556                 acessors haveSelction() and workHeight() instead
7557
7558
7559 2002-08-29  John Levon  <levon@movementarian.org>
7560
7561         * BufferView_pimpl.C (dispatch): do not continue when
7562           no buffer
7563
7564 2002-08-28  André Pönitz <poenitz@gmx.net>
7565
7566         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7567
7568         * BufferView.h:
7569         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7570
7571 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7572
7573         * buffer.C: increment LYX_FORMAT to 221
7574
7575         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7576         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7577
7578         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7579
7580         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7581
7582 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7583
7584         * factory.C (createInset): use LyXTextClass::floats
7585
7586         * MenuBackend.C (expandFloatListInsert):
7587         (expandFloatInsert):
7588         (expandToc):
7589
7590         * text2.C (setCounter):
7591
7592         * LaTeXFeatures.C (useFloat):
7593         (getFloatDefinitions):
7594
7595         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7596
7597         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7598         floatlist_, with accessor floats().
7599
7600         * FloatList.h: remove global FloatList
7601
7602 2002-08-26  André Pönitz <poenitz@gmx.net>
7603
7604         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7605
7606         * BufferView.h:
7607         * BufferView2.C:
7608         * BufferView_pimpl.C:
7609         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7610
7611 2002-08-25  John Levon  <levon@movementarian.org>
7612
7613         * LyXAction.C: fix margin note description
7614
7615 2002-08-24  John Levon  <levon@movementarian.org>
7616
7617         * buffer.C:
7618         * bufferlist.C:
7619         * bufferview_funcs.C:
7620         * lyxfont.C:
7621         * undo_funcs.C: cleanups
7622
7623         * lyxfunc.C: disable CUT/COPY when no selection
7624
7625 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7626
7627         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7628         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7629
7630         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7631         Add backward compatibility to "mono", "gray" and "no".
7632
7633 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7634
7635         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7636         (and file_format >= 200).
7637
7638 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7639
7640         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7641
7642 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7643
7644         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7645
7646 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7647
7648         * BufferView_pimpl.C:
7649         * LyXAction.C:
7650         * buffer.C:
7651         * commandtags.h:
7652         * lyxfunc.C:
7653         * paragraph.[Ch]:
7654         * text2.C:
7655         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7656         inset and code to make it  work with the paragraph code. The inset
7657         can be anywhere in the paragraph, but will only do the expected
7658         thing in LaTeX if the layout file contains the parameter line
7659                         OptionalArgs    1
7660         (or more generally, a nonzero value) for that layout.
7661
7662 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * paragraph.h: remove the declaration of undefined counters class
7665         function.
7666
7667 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7668
7669         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7670         Dr. Richard Hawkins.
7671
7672 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7673
7674         * paragraph_funcs.h: remove some unneeded includes
7675
7676         * text.C (backspace): pasteParagraph now in global scipe
7677
7678         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7679         (pasteSelection): ditto
7680
7681         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7682         * paragraph_funcs.C (pasteParagraph): ... here
7683
7684 2002-08-20  André Pönitz <poenitz@gmx.net>
7685
7686         * commandtags.h: new LFUNs for swapping/copying table row/colums
7687
7688         * LyXAction.C:
7689         * lyxfunc.C: support for new lfuns
7690
7691 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * tabular.C:
7694         * buffer.[Ch]: remove NO_COMPABILITY stuff
7695
7696 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * boost.C (throw_exception): new file, with helper function for
7699         boost compiled without exceptions.
7700
7701         * paragraph.h:
7702         * lyxlength.C:
7703         * buffer.C:
7704         * ParameterStruct.h:
7705         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7706
7707         * bufferlist.C (emergencyWriteAll): use boost bind
7708
7709         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7710
7711         * text.C: include paragraph_funcs.h
7712         (breakParagraph): breakParagraph is now in global scope
7713
7714         * paragraph_funcs.[Ch]: new files
7715
7716         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7717         global scope
7718
7719         * buffer.C: include paragraph_funcs.h
7720         (insertStringAsLines): breakParagraph is now in global scope
7721
7722         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7723         paragraph_funcs.C
7724
7725         * CutAndPaste.C: include paragraph_funcs.h
7726         (cutSelection): breakParagraphConservative is now in global scope
7727         (pasteSelection): ditto
7728
7729         * buffer.h: declare oprator== and operator!= for
7730         Buffer::inset_iterator
7731
7732         * bufferlist.C (emergencyWrite): don't use fmt(...)
7733
7734         * text3.C: add using std::endl
7735
7736         * BufferView.C (moveCursorUpdate): remove default arg
7737
7738 2002-08-20  André Pönitz <poenitz@gmx.net>
7739
7740         * buffer.[Ch]: move inline functions to .C
7741
7742         * BufferView2.C:
7743         * BufferView_pimpl.C:
7744         * text.C:
7745         * buffer.[Ch]: use improved inset_iterator
7746
7747         * buffer.C:
7748         * paragraph.[Ch]: write one paragraph at a time
7749
7750 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7751
7752         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7753         style if style is not specified.
7754
7755 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * text2.C (setCounter): when searching for right label for a
7758         caption, make sure to recurse to parent insets (so that a caption
7759         in a minipage in a figure float works) (bug #568)
7760
7761 2002-08-20  André Pönitz <poenitz@gmx.net>
7762
7763         * text3.C: new file for LyXText::dispatch() and helpers
7764
7765         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7766
7767         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7768
7769 2002-08-19  André Pönitz <poenitz@gmx.net>
7770
7771         * lyxtext.h:
7772         * text.C: new LyXText::dispatch()
7773
7774         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7775
7776 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7777
7778         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7779
7780         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7781         Hebrew text.
7782
7783 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7784
7785         * Makefile.am: use $(variables) instead of @substitutions@
7786
7787 2002-08-15  André Pönitz <poenitz@gmx.net>
7788
7789         * lyxfunc.C:
7790         * BufferView_pimpl.C: streamlining mathed <-> outer world
7791         interaction
7792
7793         * commandtags.h:
7794         * LyXAction.C: remove unused LFUN_MATH
7795
7796 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7799
7800 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * paragraph.C (Paragraph): reformat a bit
7803         (cutIntoMinibuffer): use builtin InsetList function instad of
7804         doing it manually.
7805         (getInset): ditto
7806
7807         * buffer.C: include boost/bind.hpp, add using std::for_each
7808         (writeFileAscii): use ParagraphList iterators
7809         (validate): use for_each for validate traversal of paragraphs
7810         (getBibkeyList): use ParagraphList iterators
7811         (resizeInsets): use for_each to resizeInsetsLyXText for all
7812         paragraphs.
7813         (getParFromID): use ParagraphList iterators
7814
7815         * BufferView2.C (lockInset): use paragraph list and iterators
7816
7817 2002-08-14  John Levon  <levon@movementarian.org>
7818
7819         * lyxserver.C: remove spurious xforms include
7820
7821 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7822
7823         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7824
7825 2002-08-13  André Pönitz <poenitz@gmx.net>
7826
7827         * LyXAction.[Ch]:
7828         * lyxfunc.C: further cleaning
7829
7830 2002-08-13  André Pönitz <poenitz@gmx.net>
7831
7832         * funcrequest.h: new constructor
7833
7834         * funcrequest.C: move stuff here from .h
7835
7836         * Makefile.am:
7837         * BufferView_pimpl.C:
7838         * LyXAction.C:
7839         * toc.C:
7840         * lyxfunc.C: subsequent changes
7841
7842         * lyxfunc.h: new view() member function
7843
7844         * lyxfunc.C: subsequent changes
7845
7846 2002-08-13  Angus Leeming  <leeming@lyx.org>
7847
7848         * BufferView2.C:
7849         * BufferView_pimpl.C:
7850         * buffer.C:
7851         * converter.C:
7852         * importer.C:
7853         * lyxfunc.C:
7854         * lyxvc.C:
7855         * toc.C:
7856         * vc-backend.C:
7857         changes due to the changed LyXView interface that now returns references
7858         to member variables not pointers.
7859
7860 2002-08-13  Angus Leeming  <leeming@lyx.org>
7861
7862         * WordLangTuple (word, lang_code): return references to strings,
7863         not strings.
7864
7865         * BufferView.h:
7866         * SpellBase.h:
7867         * lyxtext.h: forward-declare WordLangTuple.
7868
7869         * BufferView2.C:
7870         * ispell.C:
7871         * pspell.C:
7872         * text.C: #include "WordLangTuple.h".
7873
7874         * lyxtext.h:
7875         * text.C: (selectNextWordToSpellcheck): constify return type.
7876
7877 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7878
7879         * buffer.C:
7880         * buffer.h:
7881         * lyxtext.h:
7882         * paragraph.C:
7883         * paragraph_pimpl.h:
7884         * text.C:
7885         * text2.C:
7886         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7887         suggested by Angus.
7888         Made updateCounter always count from start of buffer, and removed
7889         second argument (par).
7890         Reverted floats number display to '#'. Perhaps I'll try again when the
7891         code base is sanitized a bit.
7892
7893 2002-08-12  Angus Leeming  <leeming@lyx.org>
7894
7895         * buffer.[Ch] (getLabelList): constify.
7896
7897 2002-08-07  André Pönitz <poenitz@gmx.net>
7898
7899         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7900
7901         * funcrequest.h: extension to keep mouse (x,y) position
7902
7903 2002-08-12  Juergen Vigna  <jug@sad.it>
7904
7905         * BufferView2.C (insertErrors): forbid undo when inserting error
7906         insets.
7907
7908         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7909
7910 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * ParagraphList.[Ch]: new files
7913
7914         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7915
7916         * BufferView2.C (lockInset): ParagraphList changes
7917         * toc.C: ditto
7918         * text2.C: ditto
7919         * bufferlist.C: ditto
7920         * buffer.h: ditto
7921         * buffer.C: ditto
7922
7923 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7926         unused class variable counter_,
7927
7928         * paragraph.[Ch] (getFirstCounter): delete unused function
7929
7930         * counters.C: include LAssert.h
7931         (reset): add a new function with no arg, change other version to
7932         not have def. arg and to not allow empty arg.
7933
7934         * text2.C (setCounter): remove empty arg from call to Counters::reset
7935
7936 2002-08-11  John Levon  <levon@movementarian.org>
7937
7938         * Makefile.am: add WordLangTuple.h
7939
7940 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7943         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7944
7945         * insets/insettext.C: InsetList changes
7946
7947         * graphics/GraphicsSupport.C (operator()): InsetList changes
7948
7949         * toc.C (getTocList): InsetList changes
7950
7951         * paragraph_pimpl.[Ch]: InsetList changes
7952
7953         * paragraph.[Ch]: InsetList changes
7954
7955         * buffer.C (inset_iterator): InsetList changes
7956         (setParagraph): ditto
7957         * buffer.h (inset_iterator): ditto
7958         * iterators.C (operator++): ditto
7959         * iterators.h: ditto
7960
7961         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7962
7963         * InsetList.[Ch]: new files, most InsetList handling moved out of
7964         paragraph.C.
7965
7966         * BufferView2.C (removeAutoInsets): InsetList changes
7967         (lockInset): ditto
7968         (ChangeInsets): ditto
7969
7970 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * paragraph_pimpl.h (empty): new function
7973
7974         * paragraph.[Ch] (empty): new function
7975
7976         * other files: use the new Paragraph::empty function
7977
7978 2002-08-09  John Levon  <levon@movementarian.org>
7979
7980         * lyxtext.h: remove unused refresh_height
7981
7982 2002-08-09  John Levon  <levon@movementarian.org>
7983
7984         * Makefile.am:
7985         * sgml.h:
7986         * sgml.C:
7987         * buffer.C:
7988         * paragraph.h:
7989         * paragraph.C: move sgml char escaping out of paragraph
7990
7991         * paragraph.h:
7992         * paragraph.C: remove id setter
7993
7994         * buffer.C:
7995         * paragraph.C:
7996         * paragraph_pimpl.C: remove dead tex_code_break_column
7997
7998         * bufferview_funcs.C: small cleanup
7999
8000         * lyxfunc.C: remove dead proto
8001
8002         * lyxtext.h: make some stuff private. Remove some dead stuff.
8003
8004         * lyxgluelength.C: make as[LyX]String() readable
8005
8006 2002-08-08  John Levon  <levon@movementarian.org>
8007
8008         * LyXAction.h:
8009         * LyXAction.C:
8010         * MenuBackend.C:
8011         * ToolbarDefaults.C:
8012         * lyxfunc.C:
8013         * lyxrc.C:
8014         * toc.C: lyxaction cleanup
8015
8016 2002-08-08  John Levon  <levon@movementarian.org>
8017
8018         * BufferView2.C: small cleanup
8019
8020         * lyxfind.h:
8021         * lyxfind.C: move unnecessary header into the .C
8022
8023 2002-08-08  John Levon  <levon@movementarian.org>
8024
8025         * funcrequest.h: just tedious nonsense
8026
8027         * lyx_main.h:
8028         * lyx_main.C: cleanups
8029
8030         * buffer.C:
8031         * vspace.C: remove dead header lyx_main.h
8032
8033 2002-08-07  Angus Leeming  <leeming@lyx.org>
8034
8035         * Paragraph.[Ch]:
8036         * paragraph_pimpl.h:
8037         Forward declare class Counters in paragraph.h by moving the ctrs member
8038         variable into Paragraph::Pimpl.
8039         (counters): new method, returning a reference to pimpl_->ctrs.
8040
8041         * text2.C: ensuing changes.
8042
8043 2002-08-07  John Levon  <levon@movementarian.org>
8044
8045         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8046
8047         * BufferView_pimpl.C: announce X selection on double/triple
8048           click
8049
8050         * lyx_main.C: use correct bool in batch dispatch
8051
8052         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8053
8054 2002-08-07  André Pönitz <poenitz@gmx.net>
8055
8056         * funcrequest.h: new class to wrap a kb_action and its argument
8057
8058         * BufferView.[Ch]:
8059         * BufferView_pimpl[Ch]:
8060         * LaTeX.C:
8061         * LyXAction.[Ch]:
8062         * lyxfunc.[Ch]:
8063         * lyxrc.C: subsequent changes
8064
8065
8066 2002-08-07  John Levon  <levon@movementarian.org>
8067
8068         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8069           document options change.
8070
8071 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8072
8073         * counters.[Ch]
8074         * text2.C
8075         * paragraph.[Ch]
8076         * makefile.am: move counters functionality over from
8077         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8078
8079 2002-08-06  John Levon  <levon@movementarian.org>
8080
8081         * WordLangTuple.h: new file for word + language code tuple
8082
8083         * SpellBase.h:
8084         * pspell.h:
8085         * pspell.C:
8086         * ispell.h:
8087         * ispell.C:
8088         * lyxtext.h:
8089         * text.C:
8090         * text2.C:
8091         * BufferView.h:
8092         * BufferView2.C: use WordLangTuple
8093
8094         * layout.h:
8095         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8096
8097 2002-08-06  John Levon  <levon@movementarian.org>
8098
8099         * lyx_main.C: fix cmdline batch handling
8100
8101 2002-08-06  André Pönitz <poenitz@gmx.net>
8102
8103         * lyxrc.C: set default for show_banner to true
8104
8105 2002-08-06  John Levon  <levon@movementarian.org>
8106
8107         * pspell.C: fix a crash, and allow new aspell to work
8108
8109 2002-08-06  John Levon  <levon@movementarian.org>
8110
8111         * lyxfunc.C:
8112         * kbmap.C: small cleanup
8113
8114         * vspace.h:
8115         * vspace.C: add const
8116
8117 2002-08-05  John Levon  <levon@movementarian.org>
8118
8119         * LyXAction.C: back to tabular-insert
8120
8121 2002-08-04  John Levon  <levon@movementarian.org>
8122
8123         * BufferView.h:
8124         * BufferView.C: cosmetic change
8125
8126         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8127
8128         * bufferlist.C:
8129         * buffer.h:
8130         * buffer.C:
8131         * lyxcb.h:
8132         * lyxcb.C:
8133         * lyxserver.C:
8134         * lyxvc.C:
8135         * vc-backend.C:
8136         * BufferView2.C: purge all "Lyx" not "LyX" strings
8137
8138         * lyxcursor.h:
8139         * lyxcursor.C: attempt to add some documentation
8140
8141         * lyxfunc.C:
8142         * commandtags.h:
8143         * LyXAction.C:
8144         * ToolbarDefaults.C:
8145         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8146           merge with LFUN_TABULAR_INSERT
8147
8148         * Makefile.am:
8149         * SpellBase.h:
8150         * ispell.h:
8151         * ispell.C:
8152         * pspell.h:
8153         * pspell.C: split up i/pspell implementations into separate
8154           files, many cleanups
8155
8156         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8157
8158         * text2.C: some cleanup
8159
8160         * lyxfunc.C: don't check for isp_command == "none" any more, it
8161           didn't make any sense
8162
8163 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8164
8165         * counters.[Ch]
8166         * text2.C
8167         * paragraph.[Ch]
8168         * makefile.am: move counters functionality over
8169         from text2.C/paragraph.[Ch] to counters.[Ch], and
8170         make proper C++.
8171 2002-08-02  John Levon  <levon@movementarian.org>
8172
8173         * buffer.C: s/lyxconvert/lyx2lyx/
8174
8175 2002-08-02  Angus Leeming  <leeming@lyx.org>
8176
8177         * lyxlex.C: revert John's change as it breaks reading of the user
8178         preamble.
8179
8180 2002-08-02  Angus Leeming  <leeming@lyx.org>
8181
8182         * importer.C (Import):
8183         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8184         changes due to LyXView::view() now returning a boost::shared_ptr.
8185
8186 2002-08-02  John Levon  <levon@movementarian.org>
8187
8188         * lyxlex.C: small cleanup
8189
8190 2002-08-02  John Levon  <levon@movementarian.org>
8191
8192         * text2.C (status): small cleanup, no logic change
8193
8194 2002-08-01  John Levon  <levon@movementarian.org>
8195
8196         * buffer.h:
8197         * buffer.C (writeFile): don't output alerts, caller
8198           handles this
8199
8200         * bufferlist.C:
8201         * lyx_cb.C: from above
8202
8203         * lyxfunc.C: allow to open non-existent files
8204
8205 2002-07-31  John Levon  <levon@movementarian.org>
8206
8207         * lyxserver.C: don't let incidental errors get
8208           in the way (errno)
8209
8210 2002-07-30  John Levon  <levon@movementarian.org>
8211
8212         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8213
8214 2002-07-30  John Levon  <levon@movementarian.org>
8215
8216         * lyxserver.h:
8217         * lyxserver.C: remove I/O callback too
8218
8219 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8220
8221         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8222         log.
8223
8224 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * many files: strip,frontStrip -> trim,ltrim,rtrim
8227
8228 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * PrinterParams.h: remove extern containsOnly, and include
8231         support/lstrings.h instead.
8232
8233         * LaTeX.C (scanAuxFile): modify because of strip changes
8234         (deplog): ditto
8235         * buffer.C (makeLaTeXFile): ditto
8236         * bufferparams.C (writeFile): ditt
8237         * lyxfont.C (stateText): ditto
8238         * lyxserver.C (read_ready): ditto
8239         * vc-backend.C (scanMaster): ditto
8240
8241         * BufferView_pimpl.h: ws changes
8242
8243         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8244
8245 2002-07-26  André Pönitz <poenitz@gmx.net>
8246
8247         * kb_sequence.C: remove unnedred usings
8248
8249 2002-07-26  Juergen Vigna  <jug@sad.it>
8250
8251         * lyxfind.C (LyXReplace): we have to check better if the returned
8252         text is not of theLockingInset()->getLockingInset().
8253
8254 2002-07-25  Juergen Vigna  <jug@sad.it>
8255
8256         * lyxfind.C (LyXReplace): don't replace if we don't get the
8257         right LyXText.
8258
8259         * undo_funcs.C (createUndo): remove debugging code.
8260
8261 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8262
8263         * buffer.C (parseSingleLyXformat2Token): Use default placement
8264         when reading old floats.
8265
8266         * FloatList.C (FloatList): Change the default placement of figure
8267         and tables to "tbp".
8268
8269 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8270
8271         * MenuBackend.C: using std::max
8272
8273 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * MenuBackend.C (expandToc):
8276         (expandToc2): code moved from xforms menu frontend. It is now
8277         generic and TOCs are transparent to menu frontends.
8278
8279 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8280
8281         * toc.C (getTocList): protect against buf=0
8282
8283         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8284         Menu as first parameter. Now, this calls itself recursively to
8285         expand a whole tree (this will be useful for TOC handling)
8286         (expandFloatInsert): remove 'wide' version of floats
8287
8288         * MenuBackend.h (submenuname): returns the name of the submenu.
8289         (submenu): returns the submenu itself, provided it has been
8290         created by MenuBackend::expand
8291
8292 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8295         insets which have noFontChange == true. (bug #172)
8296
8297 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8298
8299         * BufferView_pimpl.C: add connection objects and use them...
8300         (Pimpl): here.
8301
8302 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8303
8304         * MenuBackend.C (expandLastfiles):
8305         (expandDocuments):
8306         (expandFormats):
8307         (expandFloatListInsert):
8308         (expandFloatInsert):
8309         (expand): split expand in parts
8310
8311 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * lyx_gui.C: use lyx_gui::exit()
8314
8315 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8316
8317         * LyXAction.C: show the failing pseudo action
8318
8319 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8320
8321         * buffer.C (readFile): Run the lyxconvert script in order to read
8322         old files.
8323
8324 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * LyXAction.C:
8327         * commandtags.h:
8328         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8329
8330 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * LyXAction.C:
8333         * commandtags.h:
8334         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8335
8336 2002-07-22  Herbert Voss  <voss@lyx.org>
8337
8338         * lengthcommon.C:
8339         * lyxlength.[Ch]: add support for the vertical lengths
8340
8341 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8342
8343         * toc.[Ch]: std:: fixes
8344
8345 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * lyxrc.C: do not include lyx_main.h
8348
8349         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8350         for layouts
8351
8352         * lyxrc.C:
8353         * encoding.C:
8354         * bufferlist.C:
8355         * BufferView2.C: include "lyxlex.h"
8356
8357         * tabular.h:
8358         * bufferparams.h: do not #include "lyxlex.h"
8359
8360         * lyxtextclasslist.C (Add): remove method
8361         (classlist): renamed to classlist_
8362
8363         * paragraph_pimpl.C:
8364         * paragraph.C:
8365         * text2.C:
8366         * CutAndPaste.C:
8367         * bufferview_funcs.C:
8368         * bufferlist.C:
8369         * text.C:
8370         * LaTeXFeatures.C:
8371         * buffer.C:
8372         * toc.C (getTocList): use BufferParams::getLyXTextClass
8373
8374         * toc.C (getTocList): use InsetFloat::addToToc
8375
8376         * toc.[Ch]: new files, containing helper functions to handle table
8377         of contents
8378
8379         * lyxfunc.C (dispatch): no need to remove spaces around command
8380         given as a string
8381         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8382         first command of the sequence; it is not very clever, but I do not
8383         have a better idea, actually
8384
8385         * LyXAction.C (LookupFunc): make sure to remove space at the
8386         beginning and end of the command
8387
8388 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8389
8390         * MenuBackend.C (getMenubar): new method: return the menubar of
8391         this menu set
8392         (read): treat differently reading of menu and menubar (in
8393         particular, the menubar has no name now)
8394         (Menu::menubar): remove
8395
8396         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8397         saving is finished
8398
8399 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8400
8401         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8402         a bibitem inset in a RTL paragraph.
8403
8404 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * paragraph_pimpl.C: constify
8407
8408         * BufferView_pimpl.C:
8409         * LaTeX.C:
8410         * lyxfunc.C: fix dispatch in a nicer way
8411
8412 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8413
8414         * lyxfunc.C (dispatch):
8415         * BufferView_pimpl.C:
8416         * BufferView_pimpl.h:
8417         * BufferView.C:
8418         * BufferView.h: rename Dispatch() to dispatch()
8419
8420         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8421
8422         * lyxlayout.C (Read): honor DependsOn tag
8423
8424         * lyxlayout.[Ch] (depends_on): new method
8425
8426         * version.C.in: update lyx_docversion
8427
8428         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8429
8430         * paragraph.C (validate): remove from here...
8431         * paragraph_pimpl.C (validate): ... and move here
8432         (isTextAt): make it const
8433
8434         * buffer.C (getLists): ws cleanup
8435
8436 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8437
8438         * language.C (read): Use iso8859-1 encoding in latex_lang
8439         (this prevents LyX from crashing when using iso10646-1 encoding).
8440
8441 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8442
8443         * text2.C (toggleInset): if cursor is inside an inset, close the
8444         inset and leave cursor _after_ it
8445
8446 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8447
8448         * lyxfunc.C: move minibuffer completion handling out of here
8449
8450 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * BufferView_pimpl.C:
8453         * LaTeX.C: fix dispatch calls
8454
8455 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8456
8457         * text.C (drawChars): Fix Arabic text rendering.
8458
8459 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * LyXAction.C:
8462         * commandtags.h:
8463         * lyxfunc.C: remove message-push/pop
8464
8465         * lyxserver.C:
8466         * lyxfunc.h:
8467         * lyxfunc.C: rationalise some code by removing verboseDispatch
8468           in favour of a bool argument to dispatch()
8469
8470 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8471
8472         * lyx_main.C (init): make sure to read symlinks as absolute paths
8473
8474 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8475
8476         * lyxfunc.h:
8477         * lyxfunc.C: no need for commandshortcut to be a member
8478
8479 2002-07-15  André Pönitz <poenitz@gmx.net>
8480
8481         * converter.C: add support for $$s (scripts from lib/scripts dir)
8482         * lyx_main.C: white space
8483
8484 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * bufferlist.C:
8487         * lyxrc.h:
8488         * lyxrc.C: remove second exit confirmation
8489
8490 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8491
8492         * BufferView.h:
8493         * BufferView.C:
8494         * BufferView2.C:
8495         * BufferView_pimpl.h:
8496         * BufferView_pimpl.C:
8497         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8498
8499 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8500
8501         * MenuBackend.C (expand): add numeric shortcuts to document menu
8502
8503         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8504
8505 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8506
8507         * lyxfont.C (setLyXFamily):
8508         (setLyXSeries):
8509         (setLyXShape):
8510         (setLyXSize):
8511         (setLyXMisc):
8512         (lyxRead):
8513         * debug.C (value):
8514         * buffer.C (asciiParagraph): use ascii_lowercase
8515
8516 2002-07-15  Mike Fabian  <mfabian@suse.de>
8517
8518         * lyxlex_pimpl.C (search_kw):
8519         * lyxlex.C (getLongString):
8520         * converter.h (operator<):
8521         * converter.C (operator<):
8522         * buffer.C (parseSingleLyXformat2Token):
8523         (asciiParagraph):
8524         * ToolbarDefaults.C (read):
8525         * MenuBackend.C (checkShortcuts):
8526         (read):
8527         * LColor.C (getFromGUIName):
8528         (getFromLyXName): use the compare_ascii_no_case instead of
8529         compare_no_case, because in turkish, 'i' is not the lowercase
8530         version of 'I', and thus turkish locale breaks parsing of tags.
8531
8532 2002-07-16  Angus Leeming  <leeming@lyx.org>
8533
8534         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8535         now takes a Buffer const & argument.
8536
8537 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8538
8539         * BufferView.C (resize): check there's a buffer to resize
8540
8541 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * lyxfunc.C: remove dead code
8544
8545         * lyxserver.h:
8546         * lyxserver.C: use lyx_guii::set_read_callback
8547
8548 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8549
8550         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8551         an inset in a RTL paragraph.
8552
8553 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * lyxfunc.C: repaint after a font size update
8556
8557 2002-07-15  André Pönitz <poenitz@gmx.net>
8558
8559         * lyxlength.C: inBP should be able to return negative values
8560
8561 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8562
8563         * lyxfunc.C: use lyx_gui::update_fonts()
8564
8565 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * lyxfunc.C: use lyx_gui::update_color()
8568
8569 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * bufferlist.C:
8572         * lyxfunc.h:
8573         * lyxfunc.C:
8574         * lyxrc.h:
8575         * lyxrc.C: remove file->new asks for name option, and let
8576           buffer-new take an argument
8577
8578 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * BufferView_pimpl.C: remove unneeded extra repaint()
8581
8582 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8583
8584         * LyXAction.C: allow command-sequence with NoBuffer
8585
8586         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8587
8588 2002-07-10  Angus Leeming  <leeming@lyx.org>
8589
8590         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8591
8592 2002-07-09  Angus Leeming  <leeming@lyx.org>
8593
8594         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8595
8596 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * lengthcommon.h: whitespace
8599
8600         * lyxfunc.C: update scrollbar after goto paragraph
8601
8602         * lyxtext.h: factor out page break drawing, and fix it so
8603           page break/added space paints as selected nicely
8604
8605 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * BufferView_pimpl.C: add FIXMEs, clean up a little
8608
8609 2002-07-09  André Pönitz <poenitz@gmx.net>
8610
8611         * lyxfont.[Ch]: support for wasy symbols
8612
8613 2002-07-08  André Pönitz <poenitz@gmx.net>
8614
8615         * BufferView_pimpl.C: apply John's patch for #93.
8616
8617 2002-07-05  Angus Leeming  <leeming@lyx.org>
8618
8619         * BufferView_pimpl.C (buffer): generate previews if desired.
8620
8621         * LColor.h: add "preview" to the color enum.
8622
8623         * LColor.C (LColor): add a corresponding entry to the items array.
8624
8625         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8626         with this buffer.
8627
8628 2002-07-05  Angus Leeming  <leeming@lyx.org>
8629
8630         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8631         The body of the code is now in the method that is passed an ostream &
8632         rather than a file name.
8633         Pass an additional only_preamble parameter, useful for the forthcoming
8634         preview stuff.
8635
8636 2002-07-03  André Pönitz <poenitz@gmx.net>
8637
8638         * lyxfunc.C: simplify getStatus() a bit for math stuff
8639
8640 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8641
8642         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8643
8644 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8645
8646         * text.C (changeRegionCase): do not change case of all the
8647         document when region ends at paragraph end (bug #461)
8648
8649 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8650
8651         * paragraph.C (startTeXParParams):
8652         (endTeXParParams): add \protect when necessary
8653
8654 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8655
8656         * BufferView_pimpl.C (workAreaExpose): remove warning
8657
8658 2002-06-27  Angus Leeming  <leeming@lyx.org>
8659
8660         * Makefile.am: add lyxlayout_ptr_fwd.h.
8661
8662 2002-06-26  André Pönitz <poenitz@gmx.net>
8663
8664         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8665
8666 2002-06-25  Angus Leeming  <leeming@lyx.org>
8667
8668         * lyxfunc.C (dispatch): Comment out the call to
8669         grfx::GCache::changeDisplay. The method no longer exists now that the
8670         pixmap generation part of the graphics loader has been moved into
8671         InsetGraphics.
8672
8673 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8674
8675         * text2.C: layout as layout
8676
8677         * text.C: layout as layout
8678
8679         * tabular.C (OldFormatRead): layout as layout
8680
8681         * paragraph_pimpl.C (TeXDeeper): layout as layout
8682         (realizeFont): layout as layout
8683
8684         * paragraph.C (writeFile): layout as layout
8685         (validate): layout as layout
8686         (getFont): layout as layout
8687         (getLabelFont): layout as layout
8688         (getLayoutFont): layout as layout
8689         (breakParagraph): layout as layout
8690         (stripLeadingSpaces): layout as layout
8691         (getEndLabel): layout as layout
8692         (getMaxDepthAfter): layout as layout
8693         (applyLayout): layout as layout
8694         (TeXOnePar): layout as layout
8695         (simpleTeXOnePar): layout as layout
8696         (TeXEnvironment): layout as layout
8697         (layout): layout as layout
8698         (layout): layout as layout
8699
8700         * lyxtextclass.C (compare_name): new functor to work with
8701         shared_ptr, layout as layout
8702         (Read): layout as layout
8703         (hasLayout): layout as layout
8704         (operator): layout as layout
8705         (delete_layout): layout as layout
8706         (defaultLayout): layout as layout
8707
8708         * lyxlayout_ptr_fwd.h: new file
8709
8710         * lyxlayout.C (Read): layout as layout
8711
8712         * lyx_cb.C (MenuInsertLabel): layout as layout
8713
8714         * bufferlist.C (newFile): layout as layout
8715
8716         * buffer.C (readLyXformat2): layout as layout
8717         (parseSingleLyXformat2Token): layout as layout
8718         (insertStringAsLines): layout as layout
8719         (asciiParagraph): layout as layout
8720         (latexParagraphs): layout as layout
8721         (makeLinuxDocFile): layout as layout
8722         (simpleLinuxDocOnePar): layout as layout
8723         (makeDocBookFile): layout as layout
8724         (simpleDocBookOnePar): layout as layout
8725         (getLists): layout as layout
8726
8727         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8728
8729         * CutAndPaste.C (cutSelection): layout as layout
8730         (pasteSelection): layout as layout
8731         (SwitchLayoutsBetweenClasses): layout as layout
8732
8733         * BufferView_pimpl.C (Dispatch): layout as layout
8734         (smartQuote): layout as layout
8735
8736         * BufferView2.C (unlockInset): layout as layout
8737
8738 2002-06-24  André Pönitz <poenitz@gmx.net>
8739
8740         * lyxfunc.C: fix #487
8741
8742 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8743
8744         * lyxrc.h:
8745         * lyxrc.C:
8746         * lyxfunc.C: remove display_shortcuts, show_banner
8747
8748 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * Buffer_pimpl.C: oops, update on resize
8751
8752 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * buffer.C:
8755         * converter.C:
8756         * exporter.C:
8757         * lyxfunc.C:
8758         * BufferView.h:
8759         * BufferView.C: use repaint()
8760
8761         * BufferView_pimpl.h:
8762         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8763           as it's a clearer description. Remove superfluous
8764           redraws.
8765
8766 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * text.C: fix bug 488. Not ideal, but getting
8769           getWord() to work properly for the insets that
8770           matter is more difficult ...
8771
8772 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8773
8774         * BufferView_pimpl.C:
8775         * LyXAction.C:
8776         * commandtags.h:
8777         * lyxfunc.C: remove the six million index lyxfuncs to just
8778           one, and DTRT (bug 458)
8779
8780 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * BufferView.h:
8783         * BufferView.C:
8784         * BufferView_pimpl.h:
8785         * BufferView_pimpl.C: clean up resize() stuff,
8786           and unnecessary updateScreen()s
8787
8788 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8789
8790         * BufferView.h:
8791         * BufferView.C:
8792         * BufferView_pimpl.h:
8793         * BufferView_pimpl.C:
8794         * lyxfind.h:
8795         * lyxfind.C:
8796         * minibuffer.C: remove focus management of workarea,
8797           not needed. Use screen's greyOut()
8798
8799 2002-06-17  Herbert Voss  <voss@lyx.org>
8800
8801         * converter.C: (convert) do not post a message, when converting
8802         fails, let the calling function decide what to do in this case
8803
8804 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8805
8806         * lyxfunc.C: tidy up a little
8807
8808 2002-06-16    <alstrup@diku.dk>
8809
8810         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8811         Got rid of FORMS_H_LOCATION include. Now we are
8812         GUII.
8813
8814 2002-06-15  LyX Development team  <lyx@rilke>
8815
8816         * buffer.[Ch] (sgmlOpenTag):
8817         (sgmlCloseTag): Added support for avoiding pernicious mixed
8818         content. Return number of lines written.
8819
8820         (makeLinuxDocFile):
8821         (makeDocBookFile): Fixed calls to sgml*Tag.
8822         Simple white space clean.
8823
8824         (simpleDocBookOnePar): Simple white space clean.
8825
8826         * tabular.[Ch] (docBook): Renamed to docbook and got another
8827         argument to related with the pernicious mixed content.
8828
8829         (docbookRow): Fixed calls for docbook inset method.
8830
8831 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8832
8833         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8834         so it's X11 independent.
8835
8836         * kb*.[Ch]: ditto.
8837
8838         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8839
8840 2002-06-15  Lyx Development team  <lyx@electronia>
8841
8842         * intl.h: Renamed getTrans to getTransManager.
8843
8844 2002-06-14  Angus Leeming  <leeming@lyx.org>
8845
8846         * Makefile.am: nuke forgotten stl_string_fwd.h.
8847
8848 2002-06-12  Angus Leeming  <leeming@lyx.org>
8849
8850         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8851
8852 2002-06-13  Angus Leeming  <leeming@lyx.org>
8853
8854         * LaTeX.C:
8855         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8856
8857 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8858
8859         * kbmap.C (getiso): add support for cyrillic and greek
8860
8861 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * BufferView.h:
8864         * BufferView.C:
8865         * BufferView_pimpl.h:
8866         * BufferView_pimpl.C: move bogus scrolling logic
8867           to xforms
8868
8869 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * lyxfunc.C:
8872         * BufferView_pimpl.C: view->resize() change
8873
8874 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * BufferView_pimpl.C: topCursorVisible
8877           prototype change
8878
8879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * Makefile.am:
8882         * lyx_gui.h:
8883         * lyx_gui.C: move to frontends/
8884
8885         * main.C:
8886         * lyx_main.h:
8887         * lyx_main.C: changes from above
8888
8889 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8890
8891         * intl.C:
8892         * intl.h:
8893         * kbmap.C:
8894         * kbsequence.C:
8895         * lyx_cb.C:
8896         * lyx_main.C: minor tidy
8897
8898 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * BufferView_pimpl.h:
8901         * BufferView_pimpl.C:
8902         * BufferView.h:
8903         * BufferView.C: make painter() const,
8904           remove dead code
8905
8906         * BufferView2.C: use screen() accessor
8907
8908         * lyx_main.h:
8909         * lyx_main.C: some minor cleanup
8910
8911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * BufferView_pimpl.h:
8914         * BufferView_pimpl.C: remove enter/leaveView,
8915           use workHeight()
8916
8917 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * BufferView.h:
8920         * BufferView.C:
8921         * BufferView2.C:
8922         * BufferView_pimpl.h:
8923         * BufferView_pimpl.C: only construct screen once,
8924           rename
8925
8926         * lyxrc.C: remove pointless comment
8927
8928 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8929
8930         * BufferView.h:
8931         * BufferView.C: remove active() and belowMouse()
8932
8933         * BufferView_pimpl.h:
8934         * BufferView_pimpl.C: use workarea() not workarea_,
8935           and make it use a scoped_ptr instead
8936
8937 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * lyx_gui.C: add debug message on BadWindow
8940
8941 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * sp_spell.C: fdopen is not part of the C++ standard.
8944
8945         * paragraph.C (InsetIterator): use >= instead of ==
8946
8947 2002-06-07  Angus Leeming  <leeming@lyx.org>
8948
8949         Fixes needed to compile with Compaq cxx 6.5.
8950         * BufferView_pimpl.C:
8951         * DepTable.C:
8952         * buffer.C:
8953         * converter.C:
8954         * encoding.C:
8955         * lyx_gui.C:
8956         * lyx_main.C:
8957         * lyxtextclasslist.C:
8958         * minibuffer.C:
8959         * sp_spell.C:
8960         * tabular_funcs.C:
8961         * vc-backend.C:
8962         all c-library variables have been moved into namespace std. Wrap
8963         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8964
8965         * lyxlength.C:
8966         * tabular-old.C:
8967         * tabular.C:
8968         Add a using std::abs declaration.
8969
8970         * kbmap.h (modifier_pair):
8971         * paragraph.h (InsetTable, InsetList):
8972         * lyxfont.h (FontBits):
8973         type definition made public.
8974
8975         * bufferlist.C (emergencyWriteAll): the compiler complains that
8976         there is more than one possible lyx::class_fun template to choose from.
8977         I re-named the void specialisation as lyx::void_class_fun.
8978
8979         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8980
8981         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8982         the compiler is is unable to find tostr in write_attribute.
8983
8984 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * buffer.C (sgmlError): hide #warning
8987
8988 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * xtl/*: get rid of xtl, which is not in use anyway
8991
8992         * LyXAction.C (init):
8993         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8994         were unimplemented xtl experimentation
8995
8996 2002-06-04  André Pönitz <poenitz@gmx.net>
8997
8998         * lyxfunc.C: disable array operation on simple formulae
8999
9000 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * converter.C: constify a bit
9003
9004 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * lyx_gui.C: check xforms version correctly
9007
9008 2002-04-30  Herbert Voss  <voss@lyx.org>
9009
9010         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9011         "keep" option
9012
9013 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9014
9015         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9016           attempt to register it with a VCS)
9017
9018 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * lyx_main.C (init): honor variables LYX_DIR_13x and
9021         LYX_USERDIR_13x
9022
9023 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * buffer.h:
9026         * buffer.C:
9027         * lyx_main.C: fix a crash on bad command line,
9028           and give a useful exit status on error
9029
9030         * lyxfunc.C (doImport): allow -i lyx to work
9031
9032 2002-03-30  André Pönitz <poenitz@gmx.net>
9033
9034         * lyxfunc.C: mathed font changes
9035
9036 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9037
9038         * LaTeX.C:
9039         * importer.h:
9040         * importer.C:
9041         * lyx_sty.h:
9042         * lyx_sty.C:
9043         * lyxlex.C:
9044         * lyxrow.h:
9045         * lyxtext.h:
9046         * paragraph.h:
9047         * paragraph.C:
9048         * texrow.h:
9049         * texrow.C:
9050         * text.C:
9051         * trans_mgr.h: srcdocs, and some minor cleanups
9052
9053 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9056         call getFont all the time)
9057
9058 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9059
9060         * switch from SigC signals to boost::signals
9061
9062 2002-05-29  André Pönitz <poenitz@gmx.net>
9063
9064         * paragraph_pimpl.C (getChar): don't call size() too often...
9065
9066 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * paragraph_pimpl.C (insertChar): do not try to update tables when
9069         appending (pos == size())
9070
9071         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9072         in order to reduce drastically the number of comparisons needed to
9073         parse a large document
9074
9075 2002-05-29  André Pönitz <poenitz@gmx.net>
9076
9077         * text.C:
9078         * text2.C:
9079         * lyxtextclass.C:
9080         * sp_pspell.h:
9081         * textclasslist.[Ch]:
9082         * sp_ispell.h: whitespace change
9083
9084 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9085
9086         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9087         lyxaction directly now.
9088
9089 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * trans.C:
9092         * lyxfont.C:
9093         * lyxvc.C: remove unused headers
9094
9095 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * Makefile.am:
9098         * buffer.h:
9099         * undostack.h:
9100         * undostack.C:
9101         * undo_funcs.h:
9102         * undo_funcs.C: some cleanups. Use shared_ptr
9103           and a template for the undo stacks.
9104
9105 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * BufferView_pimpl.h:
9108         * BufferView_pimpl.C:
9109         * kbmap.h:
9110         * kbmap.C:
9111         * kbsequence.h:
9112         * kbsequence.C:
9113         * lyxfunc.h:
9114         * lyxfunc.C:
9115         * text2.C: use key_state/mouse_state
9116
9117 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9120         and LSubstring
9121
9122         * chset.C: change include order
9123         (loadFile): use boost regex and get rid of LRegex and LSubstring
9124
9125         * Makefile.am (BOOST_LIBS): new variable
9126         (lyx_LDADD): use it
9127
9128         * LaTeX.C: change include order.
9129         (scanAuxFile): use boost regex and get rid of LRegex and
9130         LSubstring
9131         (deplog): ditto
9132
9133 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9134
9135         * ColorHandler.h:
9136         * ColorHandler.C:
9137         * FontInfo.h:
9138         * FontInfo.C: moved to frontends/xforms/
9139
9140         * FontLoader.h:
9141         * FontLoader.C: moved into frontends for GUIIzation
9142
9143         * Makefile.am:
9144         * lyx_gui.C:
9145         * lyxfont.C:
9146         * lyxfunc.C: changes from above
9147
9148 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * LColor.C: remove spurious X include
9151
9152         * BufferView_pimpl.C:
9153         * Makefile.am:
9154         * font.h:
9155         * font.C:
9156         * text.C:
9157         * text2.C: move font metrics to frontends/
9158
9159 2002-05-24  Juergen Vigna  <jug@sad.it>
9160
9161         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9162         setting the undo_cursor.
9163
9164         * ParagraphParameters.h: include local includes first.
9165
9166 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * BufferView_pimpl.C:
9169         * BufferView_pimpl.h:
9170         * Makefile.am:
9171         * WorkArea.h:
9172         * WorkArea.C:
9173         * screen.C: move WorkArea into frontends/
9174
9175         * lyxscreen.h:
9176         * screen.C:
9177         * text.C:
9178         * BufferView.C:
9179         * BufferView2.C: move LyXScreen into frontends/
9180
9181         * lyxlookup.h:
9182         * lyxlookup.C:
9183         * lyx_gui.C: move lyxlookup into frontends/xforms/
9184
9185 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * BufferView2.C:
9188         * BufferView_pimpl.C:
9189         * FontLoader.C:
9190         * LyXView.h:
9191         * LyXView.C:
9192         * Makefile.am:
9193         * WorkArea.C:
9194         * XFormsView.h:
9195         * XFormsView.C:
9196         * buffer.C:
9197         * bufferlist.C:
9198         * bufferview_funcs.C:
9199         * converter.C:
9200         * importer.C:
9201         * lyx_cb.C:
9202         * lyx_gui.C:
9203         * lyx_main.C:
9204         * lyx_find.C:
9205         * lyxfunc.C:
9206         * lyxvc.C:
9207         * minibuffer.C:
9208         * text.C:
9209         * text2.C:
9210         * trans.C:
9211         * vc-backend.C: move LyX/XFormsView into frontends/
9212
9213 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * Makefile.am:
9216         * PainterBase.C:
9217         * PainterBase.h:
9218         * Painter.C:
9219         * Painter.h:
9220         * WorkArea.C:
9221         * WorkArea.h:
9222         * screen.C:
9223         * tabular.C:
9224         * text.C:
9225         * text2.C: move Painter to frontends/
9226
9227 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9228
9229         * buffer.C: comment out some some code that depend upon lyx_format
9230         < 220
9231
9232         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9233         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9234
9235         * buffer.h (NO_COMPABILITY): turn off compability
9236
9237         * ColorHandler.C: include scoped_array.hpp
9238
9239         * font.C: Use more specific smart_ptr header.
9240         * Painter.C: ditto
9241         * gettext.C: ditto
9242         * ShareContainer.h: ditto
9243         * lyx_main.h: ditto
9244         * kbmap.h: ditto
9245         * FontInfo.h: ditto
9246         * BufferView_pimpl.h: ditto
9247         * ColorHandler.h: ditto
9248
9249         * kbmap.C (defkey): change call to shared_ptr::reset
9250
9251 2002-05-21  Juergen Vigna  <jug@sad.it>
9252
9253         * buffer.C (insertErtContents): fix to insert ert asis if it is
9254         non empty. Skip it completely if it contains only whitespaces.
9255
9256 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * BufferView_pimpl.C:
9259         * BufferView2.C: clear selection on paste (bug 393)
9260
9261 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9262
9263         * DepTable.C: include ctime
9264
9265 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9266
9267         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9268
9269 2002-05-14  Juergen Vigna  <jug@sad.it>
9270
9271         * text.C (breakParagraph): fixed function to honor the keepempty
9272         layout in the right maner and also to permit the right breaking
9273         algorithm on empty or non empyt keepempty paragraphs.
9274
9275         * paragraph.C (breakParagraph): we have to check also if the par
9276         is really empty (!size()) for isempty otherwise we do the wrong
9277         paragraph break.
9278
9279 2002-05-10  Juergen Vigna  <jug@sad.it>
9280
9281         * buffer.[Ch] : The following are only changes to the ert
9282         compatibility read reading old LaTeX layout and font stuff and
9283         convert it to ERTInsets.
9284
9285         * buffer.h: added isErtInset().
9286
9287         * buffer.C (struct ErtComp): add a fromlayout bool to check
9288         if we're inside a LaTeX layout.
9289         (isErtInset): new helper function.
9290         (insertErtContents): look for other ert insets before this one
9291         and insert the contents there, so that we don't have subsequent
9292         ERT insets with nothing between them. This way we create only one
9293         inset with multiple paragraphs. Also check if we don't insert only
9294         spaces ' ' as they are ignored anyway afterwards in the .tex file
9295         so if we have only spaces we will ignore this latex part in the
9296         new file.
9297         (parseSingleLyXformat2Token \\layout): better compatibility when
9298         reading layout-latex stuff.
9299         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9300         language tag.
9301         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9302         stuff after reading the inset only get the information back from
9303         the stack.
9304
9305 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9306
9307         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9308
9309         * LaTeXFeatures.C (getBabelOptions): New method.
9310
9311 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9312
9313         * BufferView_pimpl.C (Dispatch): work around missing argument for
9314         'layout'
9315
9316 2002-05-08  Juergen Vigna  <jug@sad.it>
9317
9318         * text.C (leftMargin): handle paragraph leftindent.
9319
9320         * paragraph.C (writeFile): write the new \\leftindent tag.
9321         (validate): handle leftindent code.
9322         (TeXEnvironment): handle paragraphleftindent code again.
9323
9324         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9325
9326         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9327         for paragrap_extra indent code and new token \\leftindent.
9328         (latexParagraphs): handle the leftindent as environment.
9329
9330         * ParameterStruct.h: added leftindent support.
9331
9332         * ParagraphParameters.C (leftIndent): added support functions for
9333         the paragraph left indent.
9334
9335         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9336         more appropriate.
9337
9338 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9339
9340         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9341         inside insetERT.
9342
9343         * text.C (computeBidiTables): No bidi in insetERT.
9344
9345         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9346         in RTL documents.
9347
9348 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9349
9350         * version.C.in: pre 5
9351
9352 2002-05-02  José Matos  <jamatos@fep.up.pt>
9353         * buffer.C (makeDocBookFile): white space changes, add newline to
9354         command styles.
9355         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9356
9357         * tabular.C (docBook): fix typo.
9358
9359 2002-05-03  Juergen Vigna  <jug@sad.it>
9360
9361         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9362         change in LyXText as we can not be sure it was not freed.
9363         (drawOneRow): remove unused code.
9364
9365         * text.C (drawInset): redo the calculation of the need_break_row as
9366         it could have a row which was already freed.
9367         (draw): look at the return value of drawInset and return false if
9368         it also returned false.
9369         (paintRowText): look at the return value of draw and return false if
9370         it also returned false.
9371
9372         * lyxtext.h: added bool return type to drawInset() and draw() so that
9373         if we have a change in the row so that the rowbreak has to be redone
9374         we abort drawing as it will be called again.
9375
9376 2002-05-02  Juergen Vigna  <jug@sad.it>
9377
9378         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9379         a change in the maintext also if we're inside an inset.
9380         (Dispatch): set the cursor again after a break line and after the
9381         screen has been updated as it could be we're in a different row.
9382
9383         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9384         to set the cursor behind the pargraph with > size().
9385         (setCursor): check also for the same paragraph when checking where
9386         to put the cursor if we have a NFR inset.
9387
9388         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9389         parts of layout read further up as it still was in the wrong
9390         position.
9391
9392 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * screen.C (drawFromTo): change sine fullRebreak always return
9395         true.
9396
9397         * buffer.C (parseSingleLyXformat2Token): reindent some
9398
9399         * BufferView_pimpl.C (update): change since fullRebreak always
9400         return true.
9401         (Dispatch): git rid of the last hardcoded "Standard"s.
9402
9403 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9404
9405         * text2.[Ch] (fullRebreak): make it return void now that we always
9406         returned true.
9407
9408 2002-04-30  Juergen Vigna  <jug@sad.it>
9409
9410         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9411         ert compatibility check for "latex" layout.
9412
9413 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9414
9415         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9416         minipages: use col% instead of p%, and also use the current font.
9417         (makeLaTeXFile): Fix use babel condition.
9418         (parseSingleLyXformat2Token): Correct font when reading old floats.
9419
9420 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9421
9422         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9423         inserting list of floats.
9424
9425 2002-04-25  Herbert Voss  <voss@lyx.org>
9426
9427         * MenuBackend.C (expand): don't add the graphics extensions to the
9428         export menu
9429
9430 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9433         non-existing layout, do not complain if it was the default layout
9434         of the original class (bug #342)
9435
9436 2002-04-24  Juergen Vigna  <jug@sad.it>
9437
9438         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9439         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9440
9441 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9442
9443         * buffer.C (getBibkeyList): If using \bibliography, return the
9444         option field with the reference itself. Enables us to provide natbib
9445         support when using \bibliography.
9446
9447 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9448
9449         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9450
9451         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9452         natbib is provided by the LaTeX class.
9453
9454 2002-04-23  Juergen Vigna  <jug@sad.it>
9455
9456         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9457         Wakeup functions.
9458
9459         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9460
9461 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9464
9465         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9466         ensuremath around textordmasculine, textordfeminine and
9467         textdegree.
9468
9469 2002-04-19  Juergen Vigna  <jug@sad.it>
9470
9471         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9472         reinitializing the buffer otherwise row-dimensions may be wrong.
9473         (update): reset also the selection cursors if they do exits otherwise
9474         their x/y positions may be wrong.
9475
9476         * text2.C (cursorDown): don't enter the inset if we came from a row
9477         above and are one row over the inset.
9478
9479         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9480         really leaving an inset.
9481
9482 2002-04-18  Juergen Vigna  <jug@sad.it>
9483
9484         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9485         of the selected paragraph does not have the selected layout also if
9486         the last one had!
9487
9488         * text2.C (setLayout): fixed bug which did not change last selected
9489         paragraph.
9490
9491         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9492         changed the read and substituted \\end_float with \\end_inset!
9493
9494         * BufferView_pimpl.C (cursorPrevious):
9495         (cursorNext): fixed to make it work with rows heigher than the work
9496         area without moving the cursor only the draw of the row.
9497         (workAreaMotionNotify): fix jumping over high rows.
9498
9499 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9502         Ressler.
9503
9504 2002-04-16  Juergen Vigna  <jug@sad.it>
9505
9506         * text2.C (setCursor): set also the irow().
9507         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9508         (cursorUp):
9509         (cursorDown): support for locking an inset if the x_fix value goes
9510         inside it. That way I can transverse insets too with cursor up/down.
9511
9512         * lyxrow.h: added irow helper function same as other (i) functions.
9513
9514         * BufferView_pimpl.C (cursorPrevious):
9515         (cursorNext): fixed for insets!
9516
9517 2002-04-15  Juergen Vigna  <jug@sad.it>
9518
9519         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9520         position otherwise it is wrong in some cases.
9521
9522         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9523         inside the inset before the call.
9524
9525 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9526
9527         * buffer.[Ch] (getBibkeyList): make it const.
9528
9529 2002-04-12  Juergen Vigna  <jug@sad.it>
9530
9531         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9532
9533         * text2.C (getCursorX): new helper function
9534         (setCursor): compute also ix_
9535         (setCursorFromCoordinates): set also ix.
9536
9537         * lyxcursor.h: added ix_ and helper functions.
9538
9539         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9540
9541         * buffer.C (insertStringAsLines): dont break paragraph if the this
9542         paragraph is inside an inset which does not permit it!
9543
9544         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9545         also with no chars on this paragraph.
9546         (paintRowText): only paint stuff if it's inside the workarea!
9547
9548         * paragraph.C (breakParagraph): honor keepempty flag and break the
9549         paragraph always below not above.
9550
9551         * BufferView2.C (unlockInset): update the paragraph layout on inset
9552         unlock as we changed paragraph in such a case.
9553
9554         * lyxfind.C (LyXFind): clear the former selection if not found!
9555
9556         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9557         again called in insertChar().
9558
9559         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9560         an inset which uses the whole row!
9561         (rightMargin): ditto.
9562         (insertChar): force a rebreak if we inserted an inset!
9563
9564 2002-03-28  Herbert Voss  <voss@lyx.org>
9565
9566         * lyxlength.[Ch]: add inBP() to get the right PS-point
9567         units (BigPoint). With inPixels we have rounding errors
9568
9569 2002-04-11  Juergen Vigna  <jug@sad.it>
9570
9571         * text2.C (setCursorFromCoordinates): set iy to the right value.
9572         (setCursor): add check if row->previous exists!
9573
9574         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9575         an old float_type as this was the case in the old code!
9576
9577         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9578
9579         * BufferView2.C (showLockedInsetCursor): use iy
9580         (fitLockedInsetCursor): ditto
9581
9582         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9583         locked insets as there we have the right value now.
9584
9585         * lyxcursor.C: added iy_ variable and iy functions to set to the
9586         baseline of cursor-y of the locked inset.
9587
9588         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9589         (setCursor): fixed for insets which need a full row.
9590
9591         * text.C (rowLastPrintable): don't ignore the last space when before
9592         an inset which needs a full row.
9593         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9594         as last character of a row when before a inset which needs a full row.
9595
9596 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * version.C.in: update date
9599
9600         * text2.C (fullRebreak): try to always return true and see what
9601         happens...
9602
9603 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * MenuBackend.C (expand): use Floating::listName
9606
9607         * FloatList.C (FloatList): add listName argument to the built-in
9608         floats
9609
9610         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9611         text associated with the float.
9612
9613 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9616
9617 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * ShareContainer.h: add a couple of missing typenames.
9620
9621 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9622
9623         * lyxrc.C (getDescription): use _() correctly rather than N_().
9624
9625 2002-03-28  Herbert Voss  <voss@lyx.org>
9626
9627         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9628         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9629
9630 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9631
9632         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9633         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9634
9635 2002-03-29  Juergen Vigna  <jug@sad.it>
9636
9637         * lyxfunc.C (dispatch): add a missing fitCursor call.
9638
9639         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9640         it was scrolled by a cursor move, so return the bool status.
9641
9642         * BufferView.C (fitCursor): return the bool flag also to the outside
9643         world as this is needed.
9644
9645         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9646
9647         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9648         call the edit() as it is not needed (and wrong) IMO.
9649         (workAreaButtonPress): set the screen_first variable before evt.
9650         unlock the inset as this may change screen_first and then we have
9651         a wrong y position for the click!
9652
9653 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * MenuBackend.C (expand): another translation that I missed
9656
9657 2002-03-28  Juergen Vigna  <jug@sad.it>
9658
9659         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9660
9661         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9662
9663 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9666
9667         * MenuBackend.C (expand): fix export/view/update when there is no
9668         document open.
9669
9670 2002-03-27  Herbert Voss  <voss@lyx.org>
9671
9672         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9673         and text%
9674
9675 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9676
9677         * bufferview_funcs.C (currentState): only show paragraph number
9678         for is DEVEL_VERSION is set.
9679
9680         * lyxfunc.C (dispatch): put warning in INFO channel
9681
9682         * MenuBackend.C (expand): translate the name of floats
9683
9684         * FloatList.C (FloatList): mark the float names for translation
9685
9686         * converter.C (convert): use LibScriptSearch
9687
9688 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9689
9690         * MenuBackend.C (defaults): fix default menu (we might as well get
9691         rid of it...)
9692
9693 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9694
9695         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9696         directory.
9697
9698 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9699
9700         * lyxvc.C: reorder includes.
9701
9702 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9705           properly
9706
9707 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * CutAndPaste.C: change layouts earlier on paste
9710           to avoid crashing when calling getFont()
9711
9712 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9713
9714         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9715         irritating #error.
9716
9717 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * WorkArea.C: remove 'Pending' debug message.
9720
9721         * most files: ws cleanup
9722
9723         * buffer.[Ch]: ws changes
9724
9725         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9726
9727 2002-03-21  Juergen Vigna  <jug@sad.it>
9728
9729         * tabular.C (SetMultiColumn): collapse also the contents of the
9730         cells and set the last border right. Added a Buffer const * param.
9731
9732 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9733
9734         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9735         linking or not.
9736
9737 2002-03-19  Juergen Vigna  <jug@sad.it>
9738
9739         * text2.C (clearSelection): reset also xsel_cache.
9740
9741         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9742         where it needs to be called (John tells us to do so too :)
9743         (selectionLost): reset sel_cache.
9744
9745         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9746
9747 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9748
9749         * text2.C (setCursorIntern): put debuging code in INSETS channel
9750
9751 2002-03-19  André Pönitz <poenitz@gmx.net>
9752
9753         * lyxfunc.C: tiny whitespace change
9754
9755 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * ToolbarDefaults.C (init):
9758         * LyXAction.C (init):
9759         * commandtags.h:
9760         * BufferView_pimpl.C (Dispatch):
9761         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9762
9763 2002-03-19  Allan Rae  <rae@lyx.org>
9764
9765         * exporter.C (Export): removeAutoInsets before doing anything else.
9766         While I've just introduced a dependency on BufferView this really is
9767         the best place to clean the buffer otherwise you need to cleanup in
9768         a dozen places before calling export or cleanup in a dozen functions
9769         that export calls.
9770
9771         * converter.C (runLaTeX):
9772         (scanLog): Better handling of removeAutoInsets and screen updates.
9773
9774         * lyxfunc.C (dispatch): small whitespace changes
9775
9776 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9777
9778         * WorkArea.C (C_WorkAreaEvent): return a value.
9779         (event_cb): return 1 if we handled the event, 0 otherwise.
9780
9781         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9782
9783 2002-03-18  Juergen Vigna  <jug@sad.it>
9784
9785         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9786         (GetAdditionalWidth): ditto.
9787         (RightLine): ditto.
9788         (LeftLine): ditto.
9789
9790         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9791         inset if we're there actually (probably not used right now but this
9792         is the direction to go for unifying code).
9793         (paste): disable code to clear the selection.
9794
9795         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9796         inside an InsetText and move the check further up as it is in the
9797         wrong place.
9798
9799         * text2.C (pasteSelection): set a selection over the pasted text.
9800
9801 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9802
9803         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9804         and libgraphics to build on Cygwin.
9805
9806 2002-03-15  Juergen Vigna  <jug@sad.it>
9807
9808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9809         inserting an Inset into the paragraph. I know this is not the best
9810         fix but we already use current_view in CutAndPaste so we will remove
9811         all of it's using at the same time.
9812
9813         * buffer.C (sgmlError): deactivated function till it is rewritten in
9814         the right mode, now it can create problems.
9815
9816         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9817         before accessing it.
9818
9819 2002-03-14  Juergen Vigna  <jug@sad.it>
9820
9821         * undo_funcs.C (textHandleUndo): do the right thing when updating
9822         the inset after the undo/redo.
9823
9824         * text2.C (setCursor): just some testcode for #44 not ready yet.
9825
9826         * undo_funcs.C (textHandleUndo): set the next() and previous()
9827         pointers of the paragraph to 0 before deleting otherwise we have
9828         problems with the Paragraph::[destructor].
9829
9830         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9831         on a paragraph insertion.
9832
9833 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9834
9835         * buffer.C (asciiParagraph): use += operator for char append to
9836         string.
9837
9838         * paragraph.C (getFontSettings): compare >= not just >
9839         (highestFontInRange): ditto
9840         (setFont): ditto
9841
9842 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * paragraph.C: change several algorithm to be more appripriate for
9845         the problem domain. This is lookip in FontList and in the InsetList.
9846
9847 2002-03-13  André Pönitz <poenitz@gmx.net>
9848
9849         * commandtags.h:
9850         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9851
9852 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * commandtags.h:
9855         * LyXAction.C:
9856         * lyxfunc.C:
9857         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9858
9859 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9860
9861         * Painter.C (display): anon helper function, adjust code for this
9862         change.
9863         (pixmap): remove function.
9864
9865         * Painter.h: remove private display variable.
9866
9867         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9868
9869 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9870
9871         * WorkArea.[Ch]: remove figinset_canvas cruft.
9872
9873 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * lyxtextclass.C (operator): add one item cache optimization.
9876
9877         * bufferlist.h: doxy changes
9878
9879         * bufferlist.C: ws changes
9880
9881         * DepTable.[Ch] (ext_exist): place const in the right spot.
9882
9883         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9884         call resizeInsets.
9885         (workAreaExpose): call resizeInsets when the with BufferView changes.
9886         (Dispatch): adjust for protectedBlank removal
9887         (specialChar): call updateInset if the insert went ok.
9888
9889         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9890         specialChar instead.
9891
9892         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9893
9894         * BufferView.h: doxy change
9895
9896         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9897
9898         * lyxtextclass.C (operator[]): remove non-const version
9899         (defaultLayout): remove non-const version
9900
9901 2002-03-12  Juergen Vigna  <jug@sad.it>
9902
9903         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9904         did resize the LyXText too.
9905
9906         * buffer.C (readLyXformat2): set layout information on newly allocated
9907         paragraphs.
9908
9909         * tabular.C (OldFormatRead): set layout information on the paragraph.
9910
9911 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9912
9913         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9914
9915 2002-03-11  Juergen Vigna  <jug@sad.it>
9916
9917         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9918         plainly wrong.
9919         (resizeCurrentBuffer): force also the insets to resize themselfes.
9920         (moveCursorUpdate): fixed up for InsetText.
9921
9922 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9923
9924         * commandtags.h:
9925         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9926         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9927         value of Dialogs::tooltipsEnabled().
9928         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9929
9930 2002-03-08  Juergen Vigna  <jug@sad.it>
9931
9932         * BufferView_pimpl.C (updateInset): update inset inside inset also
9933         if it isn't inside theLockingInset().
9934
9935 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9936
9937         * buffer.C (asciiParagraph): redo some of the word and line length
9938         handling.
9939         (getLists): look for Caption instead of caption.
9940
9941 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * buffer.C (Buffer): initialize niceFile to true
9944         (makeLaTeXFile):
9945         (makeLinuxDocFile):
9946         (makeDocBookFile): make sure niceFile is true on exit
9947
9948 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9951
9952 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9953
9954         * LyXSendto.C: remove.
9955         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9956         * lyx_gui.C: remove now-redundant comment.
9957         * ColorHandler.h: remove forward declaration of class WorkArea.
9958         * lyxfunc.C: remove #include "WorkArea.h".
9959
9960 2002-03-07  Juergen Vigna  <jug@sad.it>
9961
9962         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9963         got moved away with the DEPM and also set the inset_owner always
9964         right which before could have been omitted.
9965
9966 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9969         wanted layout is not found.
9970
9971 2002-03-07  Juergen Vigna  <jug@sad.it>
9972
9973         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9974
9975 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9976
9977         * paragraph.C (breakParagraph): use default layout not layout of
9978         prev paragraph.
9979         (Paragraph): clear ParagraphParameters.
9980
9981 2002-03-06  Juergen Vigna  <jug@sad.it>
9982
9983         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9984         otherwise it would not be a valid lenght. Fixed a special case in
9985         the minipage compatibility read where we end the document with a
9986         minipage.
9987
9988         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9989         was set as it could be 0 for InsetTexts first entry.
9990
9991 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9992
9993         * paragraph.C (writeFile): if layout is empty write out
9994         defaultLayoutName().
9995
9996         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9997         file without named layout we set layout to defaultLayoutName().
9998
9999 2002-03-06  Juergen Vigna  <jug@sad.it>
10000
10001         * CutAndPaste.C (copySelection): set layout for new paragraph.
10002
10003         * text.C (prepareToPrint): leave ERT inset left aligned
10004         (leftMargin): don't indent paragraphs inside ERT insets
10005
10006 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10007
10008         * paragraph.C (breakParagraph): dont call clear do the work manually
10009
10010         * paragraph.[Ch] (clear): remove function
10011
10012 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10013
10014         * paragraph.C (Paragraph): dont call clear, the work has already
10015         been done.
10016
10017         * lyxtextclass.C (operator): assert if n is empty
10018
10019         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10020         work manually instead.
10021
10022 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * BufferView_pimpl.C: protect selectionLost against text == 0
10025
10026 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10027
10028         * text.C (breakParagraph): fix a setting layout to '0' problem.
10029
10030 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10031
10032         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10033         final location of file, for the included files, and graphics.
10034
10035 2002-03-05  Juergen Vigna  <jug@sad.it>
10036
10037         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10038
10039 2002-03-04  Juergen Vigna  <jug@sad.it>
10040
10041         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10042
10043         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10044         last column of multicolumn cells.
10045         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10046
10047 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10048
10049         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10050         file if it doesn't go to a temporary file.
10051
10052         * buffer.C (sgmlOpenTag):
10053         (sgmlCloseTag):  remove extra newline insertion.
10054
10055 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10056
10057         * text.C (getRowNearY): comment out debug msg
10058
10059 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10060
10061         * text2.C: first -> first_y
10062
10063         * text.C (getRowNearY): add some attemts at a possible
10064         optimization, not working.
10065
10066         * tabular.[Ch]: add BufferParams to several function so that newly
10067         created paragraph can be initialized to he default layotu for the
10068         buffers textclass.
10069
10070         * tabular-old.C (ReadOld): add buf->params to call of Init
10071
10072         * screen.C: rename text->first to text->first_y
10073
10074         * paragraph.C (breakParagraph): always set layout in the broken
10075         paragraph
10076
10077         * lyxtextclass.C (Read): remove lowercase
10078         (hasLayout): ditto
10079         (operator): ditto
10080         (delete_layout): ditto
10081
10082         * lyxtext.h: rename first -> first_y
10083
10084         * lyxlayout.C (Read): remove lowercase
10085         (name): ditto
10086         (setName): ditto
10087         (obsoleted_by): ditto
10088
10089         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10090
10091         * buffer.C (insertErtContents): add params are to InsetERT
10092         (parseSingleLyXformat2Token): add code to check if a paragraphs
10093         layout really exist.
10094         (parseSingleLyXformat2Token): add params to several inset
10095         constructors
10096         (asciiParagraph): remove lowercase, do the layout comparisons with
10097         no_case
10098
10099         * BufferView_pimpl.C (cursorNext): first -> first_y
10100         (resizeCurrentBuffer): first -> first_y
10101         (updateScrollbar): first -> first_y
10102         (scrollCB): first -> first_y
10103         (workAreaMotionNotify): first -> first_y
10104         (workAreaButtonPress): first -> first_y
10105         (checkInsetHit): first -> first_y
10106         (cursorPrevious): first -> first_y
10107         (cursorNext): first -> first_y
10108         (Dispatch): add buffer_->params to severl inset contructors
10109
10110 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10111
10112         * lyxlayout.C (Read): remove some debug info that I forgot.
10113
10114         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10115         clean up the code slightly.
10116         (makeLinuxDocFile): ditto
10117         (makeDocBookFile): ditto
10118
10119         * text2.C: layout as string
10120
10121         * text.C: layout as string
10122
10123         * paragraph_pimpl.C: layout as string
10124
10125         * paragraph.[Ch]: layout as string
10126
10127         * lyxtextclasslist.[Ch]: layout as string
10128
10129         * lyxtextclass.[Ch]: layout as string
10130
10131         * lyxtext.h: layout as string
10132
10133         * lyxlayout.[Ch]: layout as string
10134
10135         * lyx_cb.C: layout as string
10136
10137         * bufferview_funcs.C: layout as string
10138
10139         * bufferparams.C: layout as string
10140
10141         * buffer.C: layout as string
10142
10143         * LyXView.[Ch]: layout as string
10144
10145         * LaTeXFeatures.[Ch]: layout as string
10146
10147         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10148
10149         * BufferView_pimpl.C: change current_layout to string, remove
10150         lyx::layout_type.
10151         (Dispatch):
10152         (smartQuote):
10153         (insertInset):
10154         (workAreaButtonRelease): layout as string
10155
10156         * BufferView2.C (unlockInset): adjust
10157
10158         * vspace.C (asLatexCommand): use an explict temp variable.
10159
10160 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * Makefile.am: use FRONTEND_*
10163
10164 2002-03-01  Juergen Vigna  <jug@sad.it>
10165
10166         * tabular.C (SetWidthOfMulticolCell): changed to something better
10167         I hope but still work in progress.
10168         (recalculateMulticolumnsOfColumn): renamed function from
10169         recalculateMulticolCells as it is more appropriate now.
10170         (SetWidthOfCell): calculate multicols better.
10171
10172 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10173
10174         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10175
10176         * lyxfunc.C (processKeySym): print sequence also if it is
10177         `deleted' (complete)
10178
10179         * kbsequence.C (print): print sequence even if it is deleted
10180         (complete would be a better word, actually).
10181
10182         * lyxfunc.C (dispatch): print complete options after a prefix key
10183
10184         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10185
10186 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10187
10188         * text2.C (setCharFont): eliminate setCharFont code duplication.
10189
10190 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10193         LFUN_TABULAR_FEATURE (bug #177)
10194
10195 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10196
10197         * Makefile.am: remove figure.h
10198
10199 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10200
10201         * Bufferview_pimpl.C:
10202         * CutAndPasteC:
10203         * LaTeX.C:
10204         * LyXSendto.C:
10205         * buffer.C:
10206         * bufferlist.C:
10207         * converter.C:
10208         * language.C:
10209         * lyxfunc.C:
10210         * lyxvc.C:
10211         * paragraph.C:
10212         * text.C:
10213         * text2.C: remove #include "lyx_gui_misc.h".
10214
10215         * LaTeX.C: added #include <cstdio>
10216
10217 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10220         that the paragraph following this one can have.
10221
10222         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10223
10224         * vspace.C (asLatexCommand): fix bogus gcc warning
10225
10226         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10227
10228 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10229
10230         * text2.C (setLayout): get rid of redundant code
10231
10232 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10233
10234         * text2.C (incDepth): make sure depth cannot be increased beyond
10235         reasonable values.
10236
10237 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10238
10239         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10240         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10241
10242         * PainterBase.h (image):
10243         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10244         a LyXImage const *.
10245
10246 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * BufferView.C:
10249         * BufferView.h:
10250         * BufferView_pimpl.C:
10251         * BufferView_pimpl.h:
10252         * LaTeXFeatures.C:
10253         * LyXAction.C:
10254         * LyXView.C:
10255         * Makefile.am:
10256         * UpdateList.h:
10257         * UpdateList.C:
10258         * buffer.C:
10259         * figure.h:
10260         * figureForm.C:
10261         * figureForm.h:
10262         * figure_form.C:
10263         * figure_form.h:
10264         * lyx_cb.C:
10265         * lyx_gui.C:
10266         * lyx_gui_misc.C:
10267         * lyxfunc.C:
10268         * sp_base.h:
10269         * sp_ispell.h:
10270         * sp_pspell.h:
10271         * sp_spell.C: remove fig inset, and the crap house of
10272           cards that follows it
10273
10274 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * Makefile.am:
10277         * lyxserver.C:
10278         * os2_defines.h:
10279         * os2_errortable.h:
10280         * nt_defines.h: move .h into support/
10281
10282         * vms_defines.h: remove
10283
10284         * WorkArea.C: add space in debug output
10285
10286         * text2.C:
10287         * paragraph.C:
10288         * buffer.C: add WITH_WARNINGS
10289
10290         * vc-backend.h:
10291         * vc-backend.C:
10292         * bufferlist.C: s/retrive/retrieve/, add docs
10293
10294         * vspace.h:
10295         * vspace.C:
10296         * kbmap.h:
10297         * lyxlength.h:
10298         * lyxgluelength.h:
10299         * length_common.h:
10300         * chset.h:
10301         * chset.C: add docs
10302
10303         * lyxgui.C: add ID to X error handler
10304
10305         * lyxtestclass.c: fix typo
10306
10307 2002-02-26  Juergen Vigna  <jug@sad.it>
10308
10309         * tabular_funcs.C (write_attribute): changed so that some default
10310         attributes are not written at all.
10311         (getTokenValue): set default values before trying to read the
10312         value so we have the return value always set as default if we don't
10313         find the token we search for.
10314
10315         * tabular.C (Write): write bools as bools not as strings!
10316
10317 2002-02-22  Juergen Vigna  <jug@sad.it>
10318
10319         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10320         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10321
10322         * text.C (leftMargin): don't add an indent for paragraphs inside
10323         tabular cells (fix #208).
10324
10325 2002-02-21  José Matos  <jamatos@fep.up.pt>
10326
10327         * tabular.C (docBook): fixed support for long tables.
10328
10329 2002-02-20  Juergen Vigna  <jug@sad.it>
10330
10331         * text2.C (getFont): get the drawing font of the Inset if this
10332         paragraph is inside an inset (only important for InsetERT for now).
10333
10334         * buffer.C (insertErtContents): use new lanugage params in ERT
10335         constructor.
10336
10337         * CutAndPaste.C: commenting out seemingly uneeded code.
10338
10339 2002-02-19  Allan Rae  <rae@lyx.org>
10340
10341         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10342         Iterators might be simple to use but they also get invalidated.
10343         (removeAutoInsets): renamed saved cursor tracking variables and added
10344         some comments to clarify what everything does.
10345
10346 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10347
10348         * Chktex.C:
10349         * LaTeX.C:
10350         * LyXSendto.C:
10351         * converter.C:
10352         * lyx_cb.C:
10353         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10354         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10355
10356         * lyxfunc.C:
10357         * vc-backend.h: remove #include "support/syscall.h"
10358
10359         * LaTeX.C:
10360         * LyXSendto.C:
10361         * converter.C: rearrange #includes in Lars' approved fashion.
10362
10363         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10364         forward declare class Timeout in the header file.
10365
10366         * XFormsView.C: changes due to the above.
10367
10368         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10369         similar to LyXView.
10370
10371         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10372         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10373
10374 2002-02-18  José Matos  <jamatos@fep.up.pt>
10375
10376         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10377         insets contents.
10378
10379 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10380
10381         * a lot of small ws changes
10382         * add a lot of using std::XXX
10383         * use std construcs some places where approp.
10384         * use some exisint stuff from lyxfunctional where approp.
10385         * Make file changes to use partial linking (lets test this now...)
10386
10387 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * Chktex.C:
10390         * buffer.C:
10391         remove #include "support/syscontr.h" as it's redundant. Always has been.
10392
10393         * Chktex.C:
10394         * LaTeX.C:
10395         * LyXSendto.C:
10396         * converter.C:
10397         * lyx_cb.C:
10398         * vc-backend.C:
10399         change Systemcalls::System to Systemcalls::Wait and
10400         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10401         No change of functionality, just reflects the stripped down Systemcalls
10402         class.
10403
10404 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10405
10406         * debug.[Ch]: add a GRAPHICS type to the enum.
10407
10408 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10411
10412         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10413         there is an inset.
10414
10415 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10418         match the changes below.
10419
10420         * text2.C (toggleInset): if there is not editable inset at cursor
10421         position, try to see if cursor is _inside_ a collapsable inset
10422         and close it.
10423
10424 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10427         document menu has a nice checkbox
10428
10429 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10430
10431         * lyxlength.C (asLatexString): change PW to output as percent of
10432         \textwidth.
10433
10434         * lengthcommon.C: change '%' to 't%'
10435
10436         * lyxfunc.C (dispatch): a few comments from Martin
10437
10438 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * WorkArea.h:
10441         * WorkArea.C:
10442         * BufferView_pimpl.h:
10443         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10444           the X selection.
10445
10446 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * vspace.C (inPixels): fix compiler warning
10449
10450 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * lyxfunc.C (getStatus): fix status message for disabled commands.
10453
10454 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.C: fix crash on close buffer
10457         during selection (#227)
10458
10459 2002-01-27  Herbert Voss  <voss@lyx.org>
10460
10461         * buffer.C: link old Figure to new graphic inset
10462
10463 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10464
10465         * FontLoader.C (getFontinfo): Change the latex font names in order
10466         to match the names of type1inst.
10467
10468 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10471
10472         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10473         (extchanged): ditto
10474         (ext_exist): ditto
10475         (remove_files_with_extension): ditto
10476         (remove_file): ditto
10477         (write): ditto
10478
10479         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10480         document is smaller than the work area height. Do not initialize
10481         static variables to 0.
10482
10483 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10486
10487         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10488         LFUN_LAYOUT_PARAGRAPHS.
10489
10490         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10491         tabular. It is possible to provide a possible cell, which will
10492         typically be the actcell from the corresponding insettabular
10493
10494         * lyxfunc.C (getStatus): small cleanup; disable
10495         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10496         true
10497
10498 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10501
10502         * paragraph.C (startTeXParParams):
10503         (endTeXParParams): new methods. The LaTeX code to
10504         start/end paragraph formatting
10505         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10506         empty (fixes bug #200)
10507
10508         * vspace.C (inPixels): adapt to the change below
10509         (inPixels): [later] more cleanups (remove unused variables)
10510
10511         * lyxlength.C (inPixels): change to use a width and a height as
10512         parameter.
10513
10514 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10517         Replaced with \paperwidth
10518
10519         * DepTable.C (insert): add std:: qualifier
10520
10521 2002-01-18  Allan Rae  <rae@lyx.org>
10522
10523         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10524         updated also?
10525
10526         * text.C (drawInset): Turned out I didn't know enough about how
10527         rebreaking worked.  This fixes most of the redraw problems.  I see
10528         an occasional cursor trail when a line is broken now and the cursor
10529         placement can seem out by a few pixels also after a rebreak.
10530
10531 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * buffer.C (parseSingleLyXformat2Token): update because minipage
10534         width is now a LyXLength
10535
10536         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10537
10538         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10539         math insets
10540
10541 2002-01-17  Juergen Vigna  <jug@sad.it>
10542
10543         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10544
10545         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10546         is set correctly and the inset is updated correctly.
10547
10548 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10549
10550         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10551         the beginning of the loop.
10552
10553 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * lyxrc.C: improve help for use_scalable_fonts
10556
10557 2002-01-17  Allan Rae  <rae@lyx.org>
10558
10559         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10560
10561 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10564         make sure to set their inset_owner to the right value (bug #171)
10565
10566 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10567
10568         * DepTable.h
10569         * DepTable.C: Implement mtime checking to reduce time spent doing
10570         CRCs.
10571
10572 2002-01-16  Juergen Vigna  <jug@sad.it>
10573
10574         * tabular.C (GetAdditionalHeight): one of error fixed.
10575
10576         * lyxrc.C (output): small fix in writing use_pspell.
10577
10578 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * sp_base.h: #include LString.h
10581
10582 2002-01-16  Allan Rae  <rae@lyx.org>
10583
10584         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10585         Can someone check this please?
10586
10587         * text.C (drawInset): It was possible that p.row would be removed by
10588         breakAgainOneRow upsetting a few other settings.  There may be another
10589         small tweak possible by setting need_break_row = 0 when p.row has been
10590         removed but I don't know enough about the logic here.
10591
10592 2002-01-15  Allan Rae  <rae@lyx.org>
10593
10594         * text.C (insertChar): removed conditional truism.
10595
10596         * BufferView2.C (removeAutoInsets): More tweaks.
10597         cur_par_prev could be a stray pointer.  Check for trailing empty line
10598         in case last line was cur_par and only had an error inset on it.
10599
10600 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10601
10602         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10603         absolute
10604
10605         * vc-backend.C (most methods):
10606         * exporter.C (Export):
10607         * converter.C (convert):
10608         (runLaTeX):
10609         * LyXSendto.C (SendtoApplyCB):
10610         * lyxfunc.C (dispatch):
10611         (menuNew):
10612         (open):
10613         (doImport):
10614         * lyx_cb.C (AutoSave):
10615         (InsertAsciiFile):
10616         * BufferView_pimpl.C (MenuInsertLyXFile):
10617         * buffer.C (runChktex): use Buffer::filePath().
10618
10619         * buffer.h: rename filename to filename_; rename filepath to
10620         filepath_ and make it private
10621         (filePath): new method
10622
10623         * buffer.C (writeFile): use fileName()
10624         (getLatexName):
10625
10626         * lyx_main.C (init): fix starting  of LyX when the binary is a
10627         link from so,ewhere else.
10628
10629         * minibuffer.C: include <cctype> for isprint
10630
10631 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10632
10633         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10634         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10635         name clash with InsetCollapsable's width function.
10636
10637 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * lastfiles.C: include <iterator>
10640
10641 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10642
10643         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10644         std::count.
10645
10646         * buffer.C (makeLaTeXFile): ditto.
10647         Also make loop operation more transparent.
10648
10649 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10650
10651         * ToolbarDefaults.C: remove trailing comma closing namespace.
10652
10653         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10654
10655         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10656         as in WorkArea.
10657
10658         * trans.C (Load): comment out unused variable, allowed.
10659
10660 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10661
10662         * minibuffer.[Ch] (append_char): new method to recieve input from the
10663         drop-down completion browser. If a key was pressed, then recieve this
10664         char and append it to the existing string.
10665         (peek_event): modify the positioning data passed to the completion
10666         browser so that it can be placed above the minibuffer rather than below.
10667 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * LyXAction.C (init): alloe error-next for readonly documents.
10670
10671         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10672         count.
10673
10674 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * bufferlist.C (readFile): create the buffer _after_ checking that
10677         the file exists.
10678
10679         * lyxfunc.C (verboseDispatch): fix handling of arguments
10680
10681         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10682
10683         * lyxrc.C: use string::erase() instead of initializing to "".
10684
10685
10686 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * BufferView_pimpl.h:
10689         * BufferView_pimpl.C:
10690         * WorkArea.h:
10691         * WorkArea.C:
10692         * text2.C: tell X when we have made a selection for copying
10693
10694 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * BufferView_pimpl.C (MenuInsertLyXFile):
10697         * lyxfunc.C (menuNew):
10698         (open):
10699         (doImport): add shortcuts to directory buttons
10700
10701         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10702         open a float)
10703
10704         * lyxfunc.C (setStatusMessage):
10705         (getStatusMessage): new methods
10706         (getStatus):use setStatusMessage instead of setErrorMessage
10707         (dispatch): when function is disabled, set error message here
10708         [instead of in getStatus previously]
10709
10710         * BufferView_pimpl.C (workAreaButtonRelease): update
10711         toolbar/menubar here too.
10712
10713 2002-01-13  Allan Rae  <rae@lyx.org>
10714
10715         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10716         Now seems indestructible.  Remaining task is to audit all other
10717         code affected by deleteEmptyParagraphMechanism.  One small quirk
10718         left is that an empty document with an error in the preamble can
10719         be made to report an error but no error box appears.  I don't know
10720         where it goes.
10721         (removeAutoInsets): Improved comments.
10722
10723 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * Thesaurus.h:
10726         * Thesaurus.C: update for Aiksaurus 0.14
10727
10728 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10729
10730         * text2.C (firstParagraph): removed member function, all uses
10731         replaces with ownerParagraph
10732         (redoParagraphs): here
10733         (updateInset): here
10734         (toggleAppendix): here
10735         * BufferView2.C (insertErrors): here
10736         (setCursorFromRow): here
10737
10738 2002-01-13  Allan Rae  <rae@lyx.org>
10739
10740         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10741         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10742         There is still a way to segfault this although you may have to do this
10743         multiple times: Have an InsetERT with an unknown command in it.
10744         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10745         <down-arrow>, <Enter> again, View->DVI, BANG!
10746
10747         * text2.C (setCursor):
10748         (deleteEmptyParagraphMechanism):
10749         * lyxtext.h (setCursor):
10750         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10751         Making use of the return value may help fix other bugs.
10752
10753 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10756
10757         * LyXView.C (updateMenubar): call MenuBar::update here
10758         (updateToolbar): but not here
10759         (showState): do not update toolbar/menubar
10760
10761         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10762         should need to care about that.
10763
10764         * lyxfunc.C (verboseDispatch): simplify a bit
10765         (getStatus): have a version which takes a pseudoaction, and
10766         another which requires a (kb_action,string).
10767
10768         * LyXAction.C (retrieveActionArg): make it work also when action
10769         is not a pseudo-action.
10770         (getActionName): simplify a bit
10771         (helpText):
10772
10773 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * lyxfunc.C (verboseDispatch): new families of methods with
10776         several ways to specify a command and a bool to indicate whether
10777         the command name and shortcut should be displayed in minibuffer
10778         (eventually, we could extend that to a finer bitmask like
10779         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10780         (dispatch): the pristine dispatch command which just, well,
10781         dispatchs! Note it still sets its result to minibuffer; I'm not
10782         sure we want that.
10783
10784         * lyxfunc.h: remove setHintMessage
10785
10786         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10787
10788 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * BufferView_pimpl.C (specialChar): delete new inset if we have
10791         not been able to insert it.
10792
10793         * kbmap.C: revert to using int instead of kb_action, since all we
10794         are dealing with is pseudo-actions.
10795
10796         * LyXAction.C (searchActionArg): change to return int instead of
10797         kb_action, since the result is a pseudoaction.
10798
10799 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * buffer.C (insertErtContents): Fix (partially) the font bug.
10802
10803 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10804
10805         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10806         as the other one is broken on my machine!
10807
10808 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10809
10810         * commandtags.h:
10811         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10812
10813 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10814
10815         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10816         reflect their actual use. Provide compatibility code for older lyxrc
10817         files.
10818
10819         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10820         FL_NORMAL_STYLE.
10821         change names of popup font variables in line with the changes to lyxrc.C
10822
10823 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * buffer.C (asciiParagraph): avoid outputing a word twice after
10826         an inset.
10827
10828         * lyxrc.C (getDescription): document that document_path and
10829         template_path can be empty.
10830
10831 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10832
10833         * LaTeXFeatures.C (getMacros):
10834         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10835
10836         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10837
10838         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10839         getPackages.
10840         (getPackages): rename feature "floats" to "float". Use an array to
10841         iterate over 'simple' features (i.e. just a \usepackage). Add
10842         handling of "amsmath" (renamed from "amsstyle").
10843
10844 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10845
10846         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10847         features list.
10848
10849 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10850
10851         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10852         FuncStaus::FuncStatus & FuncStaus::some_method().
10853
10854 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10855
10856         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10857         of the func_satus stuff. Edited and massaged in various ways by
10858         JMarc.
10859
10860         * lyxfunc.C (getStatus): use FuncStatus
10861
10862 2002-01-08  Juergen Vigna  <jug@sad.it>
10863
10864         * text.C (nextBreakPoint): use function Inset::isChar().
10865
10866         * paragraph.C (TeXOnePar): use function
10867         Inset::forceDefaultParagraphs.
10868
10869         * buffer.C (latexParagraphs): use function
10870         Inset::forceDefaultParagraphs.
10871
10872 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * lyx_gui.C (init): set the style of the menu popups to
10875         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10876
10877 2002-01-07  Juergen Vigna  <jug@sad.it>
10878
10879         * text.C (setHeightOfRow): small fix
10880         (prepareToPrint): don't look at alignment if we don't have the place
10881         for doing it.
10882
10883 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * box.C: New file. Move the Box methods and functions out of box.h,
10886         following Lars' suggestion.
10887
10888 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10889
10890         * box.h: #include "support/LOstream.h", needed for inlined function.
10891
10892         * lyxtextclass.C:
10893         * lyxtextclasslist.C: added some using std declarations.
10894
10895 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * box.h: make signed dimensions to allow insets wider than
10898           the screen (bug #162)
10899
10900         * BufferView_pimpl.C: add some insetHit debug
10901
10902 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * vc-backend.C: add FIXME
10905
10906 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10907
10908         * lyxfunc.C (getStatus): enable code for showing math font status
10909         in toolbar/menu.
10910
10911 2002-01-07  Juergen Vigna  <jug@sad.it>
10912
10913         * text.C (nextBreakPoint): removed debug output not needed anymore.
10914
10915 2002-01-06  Juergen Vigna  <jug@sad.it>
10916
10917         * text.C (nextBreakPoint): fixed up this function we had this bug
10918         since ever but now hopefully we break row better.
10919         (insertChar): we have to check if an inset is the next char as it
10920         could now happen that a large inset is causing a break.
10921
10922 2002-01-05  Juergen Vigna  <jug@sad.it>
10923
10924         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10925         if it doesn't like to be drawed.
10926
10927 2002-01-04  Juergen Vigna  <jug@sad.it>
10928
10929         * BufferView2.C (lockInset): forgot to set a cursor.
10930
10931         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10932
10933 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10934
10935         * FormMathsPanel.C:
10936         * FormMathsPanel.h
10937         * MathsSymbols.C:
10938         * form_maths_panel.C:
10939         * form_maths_panel.h:
10940         * form_maths_panel.fd: implemented sub- and super- buttons in math
10941         panel.
10942
10943         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10944         (or ^ space) to be used as in TeX (req'd by André).
10945
10946         * lyxfunc.C: Allow ^ and _ again to be used both as
10947         super/subscript (mathed) and as themselves (in text).
10948
10949 2002-01-03  Allan Rae  <rae@lyx.org>
10950
10951         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10952         "LyX" or the filename of the current buffer if it has one.  This is a
10953         modified form of John Levon's patch.
10954
10955         * XFormsView.C (setWindowTitle): also set icon title.
10956
10957         * LyXView.h (setWindowTitle): signature changed.
10958         * XFormsView.h (setWindowTitle): ditto.
10959
10960 2002-01-02  Juergen Vigna  <jug@sad.it>
10961
10962         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10963
10964 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * screen.C (topCursorVisible): introduce a temp var for
10967         text->cursor.row(), handle the case where this row is null. (kindo
10968         hachish)
10969
10970         * text2.C (setCursor): add a couple of asserts.
10971
10972         * paragraph.h (inset_iterator): add -> operator
10973
10974         * paragraph.[Ch] (autoDeleteInsets): remove member function
10975
10976         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10977         cursor pos correctly and handle inset deletion by itself.
10978         (insertErrors): move iterator declaration out of for expression
10979
10980         * lyxtextclass.C: add <algorithm>
10981
10982         * Makefile.am: added the new files to sources, removed layout.C
10983
10984         * layout.C: removed file
10985
10986         * layout.h: remove LYX_DUMMY_LAYOUT
10987
10988         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10989         layout.
10990
10991         * lyxlayout.[Ch]:
10992         * lyxtextclass.[Ch]:
10993         * lyxtextclasslist.[Ch]: new files
10994
10995         * include order changes to a lot of files, also changes because of
10996         the six new files.
10997
10998 2001-12-27  Juergen Vigna  <jug@sad.it>
10999
11000         * buffer.C (asciiParagraph): more fixes.
11001
11002         * tabular.C (ascii): make ascii export support export of only the
11003         data separated by a column-delimiter.
11004         (ascii): better support for ascii export.
11005
11006         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11007
11008 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * tabular_funcs.C: use a "using std::getline" instead of the
11011         previous fix from Angus (necessary for cxx + lyxstring)
11012
11013 2001-12-24  Juergen Vigna  <jug@sad.it>
11014
11015         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11016
11017         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11018         problems. First check a minipage also if we have some ert-contents
11019         (not only on par->size(), second set the right depth of the paragraph
11020         on the relink to the root-paragraph-list!
11021
11022         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11023         which then did not anymore update the main paragraphs on undo/redo!
11024
11025 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11028         code. Support all font-changing funcs (even those which are not in
11029         menu currently). Support for reporting font settings in
11030         mathed (disabled until Andre provides a function on mathed's side).
11031
11032         * func_status.h (toggle): small helper function to set toggle
11033         state on a flag.
11034
11035 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11036
11037         * tabular_funcs.C: getline -> std::getline
11038
11039 2001-12-21  Juergen Vigna  <jug@sad.it>
11040
11041         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11042         accessed and could be 0 (I couldn't generate this but it seems
11043         Michael could!).
11044
11045 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11046
11047         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11048         * tabular_funcs.h: here and include iosfwd
11049
11050 2001-12-20  Juergen Vigna  <jug@sad.it>
11051
11052         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11053         inside inset but undo_par was.
11054
11055 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11056
11057         * Thesaurus.C: always include <config.h> in sources.
11058
11059         * Painter.h:
11060         * lyxlookup.h:
11061         * box.h: do not include <config.h> in header files
11062
11063         * text.C (paintLastRow): remove unused variable
11064
11065         * text.C (transformChar):
11066         (insertChar):
11067         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11068
11069         * Painter.C (text):
11070         * font.C (width): rewrite to use uppercase() instead of
11071         islower/toupper.
11072
11073         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11074
11075 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * lyxfind.C: clean up of find failure position change
11078
11079 2001-12-20  Juergen Vigna  <jug@sad.it>
11080
11081         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11082
11083         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11084         (TeXRow): added to LaTeX a single tabular row.
11085         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11086         (Latex): simplified and finally good LT-h/f support.
11087         (various_functions): just small adaptions for LT-h/f support.
11088
11089         * tabular_funcs.[hC]: added and moved here all not classfunctions
11090         of LyXTabular.
11091
11092 2001-12-19  Juergen Vigna  <jug@sad.it>
11093
11094         * tabular.[Ch]: better support for longtabular options (not finished
11095         yet!)
11096
11097 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11098
11099         * text.C (paintLastRow): use the label font instead of the font of
11100         the last character to compute the size of *_BOX. This makes more
11101         sense and avoids a crash with empty paragraphs.
11102         Use Painter::rectangle to draw EMPTY_BOX.
11103
11104 2001-12-19  Juergen Vigna  <jug@sad.it>
11105
11106         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11107         the paragraphs if the replaced paragraph is not the first one!
11108         Tried to delete not used paragraphs but does not work yet so for
11109         now it's inside #ifdef's and by default off!
11110
11111 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11112
11113         * MenuBackend.C: include "lyx_main.h" instead of declaring
11114         lastfiles (actually was declared as LastFiles* instead of a
11115         scoped_ptr).
11116
11117 2001-12-17  Juergen Vigna  <jug@sad.it>
11118
11119         * tabular.C (AppendColumn): applied John's fix
11120
11121 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView.h:
11124         * BufferView.C:
11125         * BufferView_pimpl.h:
11126         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11127
11128         * Makefile.am:
11129         * box.h: new start of class for above
11130
11131         * lyxfunc.C: ignore space-only minibuffer dispatches.
11132           Show the command name when it doesn't exist
11133
11134         * minibuffer.C: don't add empty lines to the history
11135
11136         * minibuffer.C: add a space on dropdown completion
11137
11138 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * text.C: fix line above/below drawing in insets
11141
11142 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * lyxlength.C (LyXLength): Initialize private variables.
11145
11146 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11149         when inserting error insets.
11150
11151 2001-12-13  Juergen Vigna  <jug@sad.it>
11152
11153         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11154         actually sometimes the before-paragraph.
11155         (setUndo): don't clear the redostack if we're not actually undoing!
11156
11157 2001-12-06  Juergen Vigna  <jug@sad.it>
11158
11159         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11160         and fixed redoing of main paragraph, so we can use it now ;)
11161
11162         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11163
11164 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11167         Juergen's request
11168
11169 2001-12-13  André Pönitz <poenitz@gmx.net>
11170
11171         * undostack.[Ch]:
11172         * undo_func.C: minor cleanup
11173
11174 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11177         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11178         font in urw-fonts package which is marked as -urw-fontspecific and
11179         does not work (incidentally, changing the encoding in the
11180         fonts.dir of this package to -adobe-fontspecific fixes the
11181         problem).
11182
11183         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11184         is a crash when undoing first paragraph (Juergen, please take a
11185         look). THis does not mean the undo fix is wrong, just that it
11186         uncovers problems.
11187
11188         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11189         the (Paragraph*) version when needed instead of duplicating the
11190         code.
11191
11192         * text.C (workWidth): use Inset::parOwner to find out where the
11193         inset has been inserted. This is a huge performance gain for large
11194         documents with lots of insets. If Inset::parOwner is not set, fall
11195         back on the brute force method
11196
11197         * paragraph_pimpl.C (insertInset):
11198         * paragraph.C (Paragraph):
11199         (cutIntoMinibuffer): set parOwner of insets when
11200         inserting/removing them
11201
11202         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11203
11204 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11205
11206         * commandtags.h:
11207         * LyXAction.C:
11208         * lyx_main.C:
11209         * lyxfunc.C:
11210         * mathed/formulabase.C:
11211         * mathed/math_cursor.[Ch]:
11212         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11213
11214
11215 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * lyxlength.[Ch] (operator!=): new function
11218
11219 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11220
11221         * text.C (workWidth): use Inset::parOwner to find out where the
11222         inset has been inserted. This is a huge performance gain for large
11223         documents with lots of insets. If Inset::parOwner is not set, fall
11224         back on the brute force method
11225
11226         * paragraph_pimpl.C (insertInset):
11227         * paragraph.C (Paragraph):
11228         (cutIntoMinibuffer): set parOwner of insets when
11229         inserting/removing them
11230
11231         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11232
11233 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * tabular-old.C (getTokenValue):
11236         * tabular.C (getTokenValue):
11237         (write_attribute): new versions for LyXLength
11238         (everywhere): adjust the use of widths
11239
11240         * tabular.h: change the type of widths from string to LyXLength
11241
11242 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11243
11244         * paragraph.C: fixed missing line number count when exporting
11245         Environments to LaTeX file
11246
11247         * buffer.C: added informational message for checking line numbers.
11248
11249 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11252         paragraph, do the 'double space' part, but not the 'empty
11253         paragraph' one.
11254
11255         * text.C (workWidth): small optimization
11256         (getLengthMarkerHeight): use minimal size for negative lengths.
11257
11258 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11261
11262         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11263
11264 2001-12-11  André Pönitz <poenitz@gmx.net>
11265
11266         * FontLoader.C:
11267         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11268
11269 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * text2.C: keep selection on a setFont()
11272
11273 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * lyx_cb.C: another bv->text misuse, from insert label
11276
11277 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * kbsequence.h:
11280         * kbsequence.C: re-instate nmodifier mask
11281
11282 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11283
11284         * lyx_main.h: make lyxGUI private.
11285
11286 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * lyxfind.C: place the cursor correctly on failed search
11289
11290 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * text.C (getLengthMarkerHeight): for small heights, the arrows
11293         are not always on top/bottom of the text
11294         (drawLengthMarker): smaller arrows; take the left margin in
11295         account; draw also vfills.
11296         (paintFirstRow):
11297         (paintLastRow): remove special code for vfill and standard spaces,
11298         since everything is handled in drawLengthMarker now.
11299
11300 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * buffer.C (insertErtContents): try to handle font and language
11303         interaction a bit better.g
11304
11305         * ColorHandler.C (updateColor): change the hash to cover the whole
11306         LColor enum, ws cleanup
11307         (getGCLinepars): ditto
11308         (getGCLinepars): only lookup in the linecache once.
11309
11310 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11311
11312         * iterators.C (operator++): Make the iterator more robust
11313
11314         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11315         (John's patch)
11316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11317
11318 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * lyxtext.h:
11321         * text.C: better added space drawing
11322
11323 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * LyXView.C:
11326         * BufferView2.C: fix layout combo update on inset unlock
11327
11328 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * Makefile.am: don't compile unused files
11331
11332 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * lyxfunc.C:
11335         * commandtags.h:
11336         * LyXAction.C: remove old LFUN_LAYOUTNO
11337
11338 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * paragraph_pimpl.h:
11341         * paragraph_pimpl.C: isTextAt() doesn't need font param
11342
11343 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * lyxlex.h:
11346         * lyxlex.C: little cleanup
11347
11348 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * BufferView_pimpl.C: fix insertAscii for insets
11351
11352 2001-12-05  Juergen Vigna  <jug@sad.it>
11353
11354         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11355         set the right font on the "multi" paragraph paste!
11356
11357 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * trans_decl.h:
11360         * trans_mgr.[Ch]:
11361         * trans.[Ch]:
11362         * lyxgluelength.C:
11363         * lyxlength.C: remove out-commented code.
11364
11365         * BufferView_pimpl:
11366         * CutAndPaste.C:
11367         * DepTable.C:
11368         * buffer.C:
11369         * chset.C:
11370         * lastfiles.C:
11371         * lyxlex.C:
11372         * lyxlex_pimpl.C:
11373         * lyxserver.C:
11374         * screen.C:
11375         * tabular-old.C:
11376         * tabular.C:
11377         * text.C:
11378         * trans_mgr.C:
11379         * vc-backend.C: change "while(" to "while ("
11380
11381         * lyxlength.[Ch]: add zero function to check if length is zero or
11382         not
11383         * lyxgluelength.C: use it
11384
11385 2001-12-05  Allan Rae  <rae@lyx.org>
11386
11387         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11388         Works for 2.95.3, from what I understand of Garst's reports this should
11389         work for other g++ versions.  We're screwed if the abs(int) definition
11390         changed between bugfix releases of gcc.
11391
11392 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * text.C: fix chapter label offset !
11395
11396 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11397
11398         * lyxtext.h:
11399         * text.C: fix hfill at end of line, clean up
11400
11401 2001-12-04  Juergen Vigna  <jug@sad.it>
11402
11403         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11404         that we force an update of the inset and it's owners if neccessary.
11405
11406 2001-12-03  Juergen Vigna  <jug@sad.it>
11407
11408         * text.C (rowLast): simplified code
11409
11410 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * lyxfunc.C: fix show options on timeout
11413
11414 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11415
11416         * screen.C (topCursorVisible): scroll half a page when the cursor
11417         reached top of bottom of screen
11418
11419 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * minibuffer.C: deactivate on loss of focus
11422
11423 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * vspace.[Ch] (operator!=): add operator.
11426
11427 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * BufferView_pimpl.C: refuse to open an inset when
11430         there's a selection.
11431
11432 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView_pimpl.C: allow to click on RHS of full row insets
11435
11436 2001-11-30  Juergen Vigna  <jug@sad.it>
11437
11438         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11439         insets for undo reasons.
11440
11441 2001-11-28  André Pönitz <poenitz@gmx.net>
11442
11443         * vspace.[Ch]: cosmetical changes
11444
11445 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * LyXAction.h:
11448         * LyXAction.C:
11449         * lyxfunc.h:
11450         * lyxfunc.C:
11451         * kbmap.h:
11452         * kbmap.C:
11453         * lyxrc.C:
11454         * kbsequence.h:
11455         * kbsequence.C: part re-write of old kb code
11456
11457         * Painter.C:
11458         * WorkArea.C: remove Lgb_bug_find_hack
11459
11460 2001-11-30  José Matos <jamatos@fep.up.pt>
11461
11462         * buffer.C (makeDocBookFile): add a comment to point a hack.
11463         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11464         Fixed a double write of labels.
11465
11466 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11467
11468         * LaTeX.C:
11469         * LaTeX.h Fixed bug in LaTeX class where it would not
11470         re-run latex if no depfiles were changed, but the .dvi was removed.
11471
11472 2001-11-28  André Pönitz <poenitz@gmx.net>
11473
11474         * all the files from the change on 2001/11/26:
11475         use lyx::layout_type instead of LyXTextClass::size_type
11476         use lyx::textclass_type instead of LyXTextClassList::size_type
11477
11478 2001-11-29  Juergen Vigna  <jug@sad.it>
11479
11480         * text.C: added support for paragraph::isFreeSpacing()
11481
11482         * buffer.C: same as above
11483
11484         * paragraph.h: inserted isFreeSpacing() function to enable
11485         FreeSpacing inside InsetERT.
11486
11487         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11488         of the paragraph's in the cut/copy buffer to 0!
11489
11490         * text2.C (removeRow): remove the assert as it can!
11491
11492         * lyxtext.h: added helper function firstRow returning firstrow and
11493         made firstrow private again.
11494
11495         * BufferView2.C (lockInset): don't relock if we're already locked!
11496
11497         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11498         the only paragraph.
11499         (removeRow): added Assert::(firstrow)
11500
11501         * debug.C: forgot to add INSETTEXT here.
11502
11503 2001-11-28  Juergen Vigna  <jug@sad.it>
11504
11505         * sp_spell.C (initialize): changed error text to more general
11506         spellchecker command use (not only ispell!)
11507
11508         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11509
11510         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11511
11512 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * vspace.C: initialise lyxgluelength on failure
11515
11516 2001-11-28  Allan Rae  <rae@lyx.org>
11517
11518         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11519         declaration & definition that looks like a function declaration.
11520
11521 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11522
11523         * BufferView2.C (copy):
11524         (copyEnvironment): do not clear the selection when doing a copy.
11525
11526         * text.C (paintFirstRow): compilation fix
11527
11528 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11529
11530         * tabular.C (Latex): correct line count when writing latex.
11531
11532 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * paragraph_pimpl.h:
11535         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11536           bug a bit
11537
11538 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * text.C:
11541         * LColor.h:
11542         * LColor.C: change vfillline->added_space
11543
11544         * text.C: add markers and text for added space
11545
11546         * vspace.C: fix comment
11547
11548 2001-11-28  André Pönitz <poenitz@gmx.net>
11549
11550         * paragraph.C: whitespace changes
11551         * all the other files from the change on 2001/11/26:
11552         change *::pos_type into lyx::pos_type
11553
11554 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11555
11556         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11557         language of the document when inserting error insets.
11558
11559 2001-11-26  André Pönitz <poenitz@gmx.net>
11560
11561         * BufferView_pimpl.[Ch]:
11562         *       CutAndPaste.C:
11563         * buffer.[Ch]:
11564         * lyxcursor.[Ch]:
11565         * lyxfind.C:
11566         * lyxfunc.C:
11567         * lyxrow.[Ch]:
11568         * paragraph.[Ch]:
11569         * paragraph_pimpl.[Ch]:
11570         * sp_spell.C:
11571         * text.C:
11572         * text2.C: reduce header dependencies, introduce type for positions
11573
11574 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * <various>: change to use Alert.h
11577
11578 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11581         when encountering an unknown token.
11582         (readLyXformat2): Show an error message if there were unknown tokens.
11583
11584 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView2.C:
11587         * BufferView_pimpl.C:
11588         * buffer.C:
11589         * paragraph.h:
11590         * text.C:
11591         * text2.C: use par->isInset()
11592
11593 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * paragraph_pimpl.h:
11596         * paragraph_pimpl.C: cleanup
11597
11598 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * text2.C (removeRow):
11601         * text.C (setHeightOfRow): remove useless (and costly) call to
11602         getRow.
11603
11604 2001-11-20  Allan Rae  <rae@lyx.org>
11605
11606         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11607         Now need Inset*::checkInsertChar() to return true for appropriate
11608         cases so that the characters in the minibuffer will actually be
11609         inserted.
11610
11611 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * text.C: change the order of the includes.
11614         (workWidth): initialize it at once.
11615         (workWidth): make maxw unsigned
11616         (setHeightOfRow): remove unused variable (inset)
11617         (selectSelectedWord): remove unused variable (inset)
11618         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11619
11620 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11623         server is not running.
11624         (openConnection):
11625         (closeConnection): add debug info when server is disabled.
11626
11627         * ColorHandler.C (getGCForeground): send debug message to GUI
11628         channel.
11629
11630         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11631
11632         * kbmap.C (bind): modify because return conventions of
11633         kb_sequence::parse have changed.
11634
11635         * kbsequence.C (parse): only ignore spaces and not any stupid
11636         control character. This avoids tests like s[i] <= ' ', which are
11637         guaranteed to fail with 8bit characters and signed chars.
11638         Change return code to string::npos when there have been no error
11639         (0 was a bad idea when error is at first character)
11640
11641 2001-11-14  José Matos  <jamatos@fep.up.pt>
11642
11643         * buffer.h:
11644         * buffer.C (simpleDocBookOnePar): removed unused argument.
11645
11646 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11649         insets which are part of a word. Paragraph::isLetter takes care of
11650         that now. Use Paragraph::isInset to identify insets.
11651         (selectSelectedWord): do not test for hyphenation break.
11652
11653         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11654         that protected spaces are considered as spaces.
11655
11656         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11657         Inset::isLetter.
11658
11659 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * lyxserver.h:
11662         * lyxserver.C: fix it. and small cleanup.
11663
11664 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * BufferView_pimpl.C: use inline helpers
11667
11668         * LaTeXFeatures.h:
11669         * LaTeXFeatures.C: fix typos
11670
11671         * Spacing.h:
11672         * Spacing.C: move spacing_string into class
11673
11674         * ToolbarDefaults.C: move stuff into namespace anon
11675
11676         * layout.h: update enum
11677
11678         * lyxfunc.C: use better debug
11679
11680         * minibuffer.h: fix typo
11681
11682         * debug.h:
11683         * debug.C:
11684         * WorkArea.C: add and use Debug::WORKAREA
11685
11686         * lyxtext.h:
11687         * text.C:
11688         * text2.C: code re-organisation, inline helpers
11689
11690 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11691
11692         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11693         std::vector.empty().
11694
11695 2001-11-09  Allan Rae  <rae@lyx.org>
11696
11697         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11698         '\n's after tables.  Tabular and ERT inset work now makes this no
11699         longer necessary.
11700
11701 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * minibuffer.h:
11704         * minibuffer.C: fix crash, improve drop-down completion
11705
11706 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyxserver.h:
11709         * lyxserver.C: invalidate fd's when doing endPipe()
11710
11711 2001-11-08  José Matos  <jamatos@fep.up.pt>
11712
11713         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11714         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11715
11716         * paragraph.h:
11717         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11718
11719 2001-11-07  José Matos  <jamatos@fep.up.pt>
11720
11721         * buffer.h:
11722         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11723         const qualifier.
11724
11725         * buffer.C (sgmlOpenTag):
11726         * buffer.C (sgmlCloseTag): removed debug info.
11727
11728         * buffer.h (sgmlOpenTag):
11729         * buffer.h (sgmlCloseTag): made public.
11730
11731 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * buffer.C (saveParamsAsDefaults):
11734         * lyx_cb.C (MenuLayoutSave): remove
11735
11736         * LyXAction.C (init):
11737         * commandtags.h:
11738         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11739
11740 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * buffer.C (setPaperStuff): removed from here...
11743
11744         * bufferparams.C (setPaperStuff): ... and moved there.
11745
11746 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * minibuffer.h:
11749         * minibuffer.C:
11750         * XFormsView.C: add support for drop-down completion
11751
11752 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11753
11754         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11755         commands.
11756
11757 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11758
11759         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11760         disabled.
11761
11762 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * lyx_main.C: change ref to known bugs
11765
11766 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11767
11768         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11769         to work around older babel problems.
11770
11771 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11772
11773         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11774
11775 2001-10-24  Juergen Vigna  <jug@sad.it>
11776
11777         * tabular-old.C (ReadOld): below variable changes reflected.
11778
11779         * tabular.[Ch]: added ltType struct for longtable header/footer
11780         defines and changed all instances where they are used. Added
11781         future support for double top/bottom rows.
11782
11783 2001-10-24  José Matos  <jamatos@fep.up.pt>
11784
11785         * buffer.h (docbookHandleCaption):
11786         * buffer.C (docbookHandleCaption): removed unused function.
11787         (makeDocBookFile): moved docbook supported version to v4.1.
11788
11789 2001-10-24  José Matos  <jamatos@fep.up.pt>
11790
11791         * tabular.h:
11792         * tabular.C (docbookRow): new function to export docbook code of a row.
11793         (DocBook): now honors the longtable flags.
11794
11795 2001-10-23  José Matos  <jamatos@fep.up.pt>
11796
11797         * LaTeXFeatures.h:
11798         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11799         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11800
11801         * buffer.C (makeLinuxDocFile):
11802         (makeDocBookFile): reworked the preamble, more clean, and with
11803         support for lyx defined entities. Changed the document declaration
11804         to be more XML friendly.
11805
11806         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11807         if we need to output XML that should be done with a filter.
11808
11809 2001-10-22  Juergen Vigna  <jug@sad.it>
11810
11811         * sp_pspell.h (class PSpell): add alive function needed in the
11812         controller to see if the spellchecker could be started.
11813
11814 2001-10-22  Juergen Vigna  <jug@sad.it>
11815
11816         * buffer.C (insertStringAsLines): modify the font for inserting
11817         chars in certain conditions by calling checkInsertChar(font).
11818
11819 2001-10-19  Juergen Vigna  <jug@sad.it>
11820
11821         * text.C (workWidth): use getRow instead of wrong algorithm.
11822         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11823
11824 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * lyxserver.h:
11827         * lyxserver.C:
11828         * lyx_main.h:
11829         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11830
11831 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11832
11833         * text.C (workWidth): do not search for the exact row when
11834         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11835         optimization for big documents.
11836
11837 2001-10-18  Juergen Vigna  <jug@sad.it>
11838
11839         * text.C (workWidth): new function with added Inset * parameter.
11840
11841 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11842
11843         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11844
11845         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11846         change return type of getColumnNearX.
11847
11848
11849         * text.C (changeRegionCase): use uppercase/lowercase instead of
11850         toupper/tolower.
11851         (leftMargin):
11852         (rightMargin): simplify code by factoring out the uses of
11853         textclasslist.
11854         (labelFill):
11855         (numberOfHfills):
11856         (setHeightOfRow):
11857         (appendParagraph): use Paragraph::size_type
11858
11859 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * vspace.C (asLatexString): add a missing break
11862
11863 2001-10-15  Herbert Voss  <voss@perce.de>
11864
11865         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11866
11867 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11868
11869         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11870         is not available.
11871
11872 2001-10-10  André Pönitz <poenitz@gmx.net>
11873
11874         * lyxfunc.C: removed greek_kb_flag.
11875
11876 2001-10-10  Herbert Voss  <voss@perce.de>
11877
11878         * lyx_main.C: delete global string help_lyxdir.
11879
11880 2001-10-09  Herbert Voss  <voss@perce.de>
11881
11882         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11883
11884         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11885
11886         * lyx_main.C: added global string help_lyxdir.
11887
11888         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11889
11890 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11891
11892         * lyxrc.C (set_font_norm_type): support iso8859-4
11893
11894 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11895
11896         * LaTeX.C (deplog): add another regex for MikTeX
11897
11898 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11899
11900         * lyxrc.C (set_font_norm_type): support iso8859-3
11901
11902 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11905
11906         * LaTeXFeatures.C: remove special case of french and index
11907
11908         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11909         before \begin{document}). This solves several incompatibilities.
11910
11911 2001-10-03  Garst Reese  <reese@isn.net>
11912
11913         * lyx_cb.C: change CheckTex error msg.
11914
11915 2001-10-03  José Matos  <jamatos@fep.up.pt>
11916
11917         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11918
11919 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * .cvsignore: update
11922
11923         * lyx_main.C (commandLineVersionInfo): use new style version info.
11924
11925         * buffer.C (writeFile):
11926         (makeLaTeXFile):
11927         (makeLinuxDocFile):
11928         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11929
11930         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11931
11932         * version.h: update to use stuff in version.C
11933
11934         * version.C.in: new file. Contains version information determined
11935         at compile time. This is a merging of version.h and
11936         version_info.h.in.
11937
11938 2001-10-03  Juergen Vigna  <jug@sad.it>
11939
11940         * BufferView_pimpl.C (update): don't change "dirty" status in
11941         updateInset call.
11942
11943 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11944
11945         * WorkArea.C (c-tor): re-position version string slightly.
11946
11947 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11948
11949         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11950         revert to previous code.
11951
11952         WorkArea.[Ch]: (show, destroySplash): methods removed.
11953
11954         WorkArea.C: rework code so that it's an amalgam of the codes before and
11955         after the splash screen was moved to WorkArea.
11956
11957 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11958
11959         * lyxrc.C (read):
11960         * vspace.C (inPixels):
11961         (lyx_advance):
11962         * kbmap.C (bind):
11963         * buffer.C (insertStringAsLines):
11964         (asciiParagraph): fix types to be large enough
11965
11966         * lyxlex_pimpl.h: change member status from short to int
11967
11968         * layout.h: fix type of endlabeltype
11969
11970         * kbmap.C (bind):
11971         * kbsequence.C (parse): change return type to string::size_type
11972
11973         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11974         variable
11975
11976         * Bullet.C (bulletSize):
11977         (bulletEntry): do not use short ints as parameters
11978
11979         * BufferView2.C (insertLyXFile): change a char to an int.
11980
11981         * WorkArea.C (WorkArea): remove unneeded floats in computation
11982
11983 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11984
11985         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11986
11987         * paragraph.C (asString): Do not ignore newline/hfill chars when
11988         copying to the clipboard.
11989
11990 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11991
11992         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11993         after a multi-line inset.
11994
11995 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11996
11997         * paragraph.C (validate): Set NeedLyXFootnoteCode
11998
11999 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12000
12001         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12002         and decrease-error to decrease.
12003
12004 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12007         it more readable (should be equivalent)
12008
12009 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12010
12011         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12012
12013 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12014
12015         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12016         of a cursor (row, etc.) after a character has been deleted
12017         (deleteEmptyParagraphMechanism): call the method above on _all_
12018         cursors held by the LyXText when a double space has been
12019         detected/deleted.
12020
12021 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12024         pixmap.
12025         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12026
12027         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12028         background. Use greyOut() and the new show() methods to toggle between
12029         the foreground and background. Add code to remove the splash after
12030         its initial showing.
12031
12032         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12033         (create_forms): no longer call Dialogs::showSplash.
12034
12035 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12036
12037         * .cvsignore: add version_info.h
12038
12039 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * version_info.h.in: new file
12042
12043         * Makefile.am: add version_info.h.in
12044
12045         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12046         version_info.h instead of VERSION_INFO
12047
12048 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12051         The ERT inset now returns string().
12052
12053 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12054
12055         * lyxtext.h, text.C (selectNextWord): renamed as
12056         selectNextWordToSpellcheck.
12057
12058         * text.C (selectNextWordToSpellcheck): Modified to not select
12059         words inside an ERT inset.
12060
12061 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12062
12063         * lyx_cb.C (MenuLayoutSave): change a bit the question
12064
12065         * sp_base.h: include <sys/types.h>
12066
12067 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12068
12069         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12070
12071 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12072
12073         * several files: fix typos in user-visible strings
12074
12075 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12076
12077         * text2.C (pasteSelection): do not set the selection, since it
12078         will be cleared later. Actually, the intent was to fix the way the
12079         selection was set, but I figured rmoving the code was just as good.
12080
12081 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * FontLoader.C (available): Check if font is available without
12084         loading the font.
12085
12086 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12087
12088         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12089
12090 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12091
12092         * lyxrc.[Ch]: added display_graphics variable and associated code.
12093
12094 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12095
12096         * bufferparams.C (hasClassDefaults): new method. Returns true if
12097         the buffer parameters correspond to known class defaults
12098
12099 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12100
12101         * XFormsView.C (show): set minimum size to the main window.
12102
12103 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12104
12105         * text2.C (copySelection):
12106         (cutSelection):
12107         * lyxfind.C (LyXReplace):
12108         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12109         LyXText::selectionAsString.
12110
12111         * paragraph.C (asString): add "label" argument to the second form
12112
12113         * text2.C (selectionAsString): add "label" argument and pass it to
12114         Paragraph::asString.
12115
12116 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12117
12118         * lyx_main.C (commandLineHelp): remove version information
12119
12120 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12121
12122         * lyx_main.C: add -version commandline option
12123
12124 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * paragraph.h: make the optional constructor arg required instead.
12127         some modifications to other files because of this.
12128
12129         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12130
12131         * lyxserver.C (C_LyXComm_callback): make it static
12132
12133         * lyx_main.C (error_handler): make it static
12134
12135         * lyx_gui.C (LyX_XErrHandler): make it static
12136
12137         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12138
12139         * WorkArea.C: make the extern "C" methods static.
12140
12141         * Makefile.am (lyx_LDADD): simplify
12142
12143 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12146         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12147
12148         * LyXAction.C (init):
12149         * lyxfunc.C (dispatch): associated code removal.
12150
12151 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * lyxfont.h (isSymbolFont): shut off warning
12154
12155         * text.C (setHeightOfRow):
12156         (getVisibleRow): fix crash with empty paragraphs which have a
12157         bottom line
12158
12159 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12160
12161         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12162         code.
12163
12164 2001-09-04  José Matos  <jamatos@fep.up.pt>
12165         * buffer.C
12166         * buffer.h
12167         * tabular.C (docbook): rename docBook method to docbook.
12168
12169 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12170
12171         * Makefile.am: add dependencies to main.o.
12172
12173 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * FontLoader.C (available): Return false if !lyxrc.use_gui
12176
12177 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12178
12179         * FontInfo.C (query):
12180         * converter.C (view):
12181         * importer.C (Import):
12182         * exporter.C (Export): Can not -> cannot.
12183
12184 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView_pimpl.C: allow to create index inset even if
12187           string is empty
12188
12189 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12190
12191         * buffer.C (getLists): replace boost::tie code with an explicit pair
12192         as boost::tie can break some compilers.
12193
12194         * iterators.h: Added a std:: declaration to the return type of
12195         ParIterator::size.
12196
12197 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12200           case.
12201
12202 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12203
12204         * iterators.[Ch]: New files. Provide paragraph iterators.
12205
12206         * buffer.C (changeLanguage): Use paragraph iterators.
12207         (isMultiLingual): ditto
12208
12209         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12210
12211 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12212
12213         * FontLoader.C: Support for cmr font.
12214
12215 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12216
12217         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12218         (available): New method.
12219
12220         * FontInfo.C (getFontname): Use scalable fonts even when
12221         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12222         found.
12223
12224 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12225
12226         * converter.C (Formats::view): reverted! Incorrect fix.
12227
12228 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * converter.C (Formats::view): only output the -paper option
12231         if the dvi viewer is xdvi, thereby fixing bug #233429.
12232
12233 2001-08-23  Herbert Voss  <voss@perce>
12234
12235         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12236
12237 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12238
12239         * Spacing.h (Spacing): Set space to Default on in the default
12240         constructor.
12241
12242 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * vc-backend.h (RCS::versionString): add RCS to version
12245         (CVS::versionString): add CVS to version
12246
12247         * vc-backend.C (scanMaster): do not add CVS to version.
12248         (scanMaster): do not add RCS to version
12249
12250         * lyxvc.C (versionString): new method
12251
12252         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12253
12254 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * Spacing.C (set): initialize fval
12257
12258 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12259
12260         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12261         " or \.
12262
12263 2001-08-16  Juergen Vigna  <jug@sad.it>
12264
12265         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12266
12267 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12268
12269         * BufferView_pimpl.C:
12270         * figureForm.C:
12271         * lyxtext.h:
12272         * text2.C: setParagraph takes linespacing now
12273
12274 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * LyxAction.C: add internal LFUN_CITATION_INSERT
12277
12278         * LyXView.C: actually apply fix
12279
12280         * bufferlist.C: fix open non-existent file
12281
12282         * lyxfind.C: fix indentation
12283
12284         * lyxfunc.C: remove unneeded assert, fix typo
12285
12286 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * MenuBackend.C: use "Floatname List"
12289
12290 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12291
12292         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12293         when converting LaTeX layout to insetERT.
12294         Generate a non-collapsed float when reading old float
12295
12296 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12299         ERT insets.
12300
12301 2001-08-13  Juergen Vigna  <jug@sad.it>
12302
12303         * text.C (fill): return 0 instead of 20 as this seems to be the more
12304         correct value.
12305
12306 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12309         lyxrc.font_norm.
12310
12311 2001-08-13  Juergen Vigna  <jug@sad.it>
12312
12313         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12314         casesensitive off.
12315         (SearchBackward): comment out the unlocking of the inset_owner this
12316         should not be needed!
12317
12318 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12319
12320         * Many files: Remove inherit_language, and add latex_language
12321
12322         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12323         collapsible insets.
12324
12325 2001-08-10  Juergen Vigna  <jug@sad.it>
12326
12327         * text.C (prepareToPrint): fixed hfill-width in draw!
12328
12329         * BufferView2.C (selectLastWord): save the selection cursor as this
12330         now is cleared in the function LyXText::clearSelection!
12331
12332 2001-08-08  Juergen Vigna  <jug@sad.it>
12333
12334         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12335         BACKSPACE type functions.
12336
12337         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12338         is only cutted from the document but not put in the cut-buffer, where
12339         still the old stuff should be.
12340
12341         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12342
12343         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12344
12345         * tabular.C (SetWidthOfCell): fixed special case where the width
12346         was not updated!
12347         (LeftLine): handle '|' in align_special.
12348         (RightLine): ditto
12349         (LeftAlreadyDrawed): ditto
12350         (SetWidthOfCell): ditto
12351
12352 2001-08-07  Juergen Vigna  <jug@sad.it>
12353
12354         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12355
12356 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12359         * lyxlex.[hC]: ditto
12360
12361 2001-08-06  Juergen Vigna  <jug@sad.it>
12362
12363         * text.C (getVisibleRow): fix up row clearing a bit.
12364
12365 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * minibuffer.C: make sure the X server sees the changes in the input.
12368
12369 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * paragraph.C (getFont): split into...
12372         (getLabelFont): this
12373         (getLayoutFont): and this
12374         * paragraph_pimpl.C (realizeFont): calling this
12375
12376         * text2.C (getFont): split into...
12377         (getLayoutFont): this
12378         (getLabelFont): and this
12379         (realizeFont): all three calling this
12380
12381         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12382         files where used.
12383
12384 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12387
12388 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12389
12390         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12391         layouts from the Quote inset insertion.
12392
12393 2001-08-03  Juergen Vigna  <jug@sad.it>
12394
12395         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12396
12397         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12398         only if status not is already CHANGED_IN_DRAW (second level).
12399
12400         * text.C (draw): don't set the need_break_row when inside an
12401         InsetText LyXText.
12402
12403 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * buffer.C (parseSingleLyXformat2Token): handle more latex
12406         conversion cases.
12407
12408         * bufferview_funcs.[hC]: change function names to
12409         begin with small char, adjust other files.
12410
12411 2001-08-02  André Pönitz <poenitz@gmx.net>
12412
12413         * lyxfunc.C:
12414         BufferView_pimpl.C: remove broken special code for math-greek
12415
12416 2001-08-02  Juergen Vigna  <jug@sad.it>
12417
12418         * BufferView_pimpl.C (update): redone this function so that we
12419         update the text again if there was a CHANGE_IN_DRAW.
12420
12421         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12422         (drawFromTo): added a new internal bool which is used by draw() and
12423         redraw() function.
12424         (general): some cursor drawing problems fixed.
12425
12426 2001-08-01  Juergen Vigna  <jug@sad.it>
12427
12428         * lyxfind.C (LyXFind): fixed
12429         (SearchForward): ditto
12430         (SearchBackward): ditto
12431
12432         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12433         spurius drawing of the cursor in the main area.
12434
12435         * text2.C (status): small fix which could lead to a segfault!
12436         (clearSelection): remove unneeded BufferView param.
12437
12438 2001-08-01  André Pönitz <poenitz@gmx.net>
12439
12440         * lyxfunc.C: small change due to changed mathed interface
12441
12442 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12443
12444         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12445
12446 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyxfunc.c: fail gracefully if file doesn't exist
12449
12450         * LyXSendto.C:
12451         * buffer.C:
12452         * lyxfunc.C:
12453         * BufferView_pimpl.C: IsDirWriteable() proto changed
12454
12455         * LyXView.C: fix updateWindowTitle() to store the last title
12456
12457 2001-07-31  Juergen Vigna  <jug@sad.it>
12458
12459         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12460         the font (wrong since using of Paragraph::highestFontInRange).
12461
12462         * paragraph.C (highestFontInRange): added a default_size parameter.
12463
12464         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12465         (setHeightOfRow): reformat
12466
12467 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * converter.[hC] + affected files: move to (inital-char)lowercase
12470         function names.
12471
12472         * ParagraphParameters.C (ParagraphParameters): remove commented code
12473
12474         * PainterBase.[Ch]: remove commented code
12475
12476         * LaTeXFeatures.h: add "bool floats" for float.sty
12477
12478         * LaTeXFeatures.C (LaTeXFeatures): init floats
12479         (require): handle float
12480         (getPackages): do it with floats
12481
12482 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12483
12484         * BufferView_pimpl.C (Dispatch): improve handling of
12485         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12486
12487         * commandtags.h: #include lyxfont.h here temporarily to avoid
12488         keybinding bug.
12489
12490         * bufferlist.h: include LString.h here.
12491
12492 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * text2.C (getStringToIndex): new method.
12495
12496 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12497
12498         * *: Reduced header file dependencies all over.
12499
12500 2001-07-30  Baruch Even  <baruch@lyx.org>
12501
12502         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12503
12504 2001-07-29  Baruch Even  <baruch@lyx.org>
12505
12506         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12507
12508 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * ParameterStruct.h (endif): add a default constructor to make
12511         sure that all variables is initialized.
12512
12513         * ParagraphParameters.C (ParagraphParameters): adjust
12514
12515 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12516
12517         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12518         index; also, check that there is something to index, and that it
12519         does not span over several paragraphs.
12520         (doubleClick): use WHOLE_WORD_STRICT for double click.
12521
12522         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12523
12524         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12525         scheme.
12526
12527 2001-07-26  Baruch Even  <baruch@lyx.org>
12528
12529         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12530         an InsetFig figure, backwards compatible reading of old figure code.
12531
12532 2001-07-27  Juergen Vigna  <jug@sad.it>
12533
12534         * text2.C: font.realize function adaption.
12535
12536         * text.C (draw): add a warnings lyxerr text if needed.
12537
12538         * layout.C: font.realize function adaption.
12539
12540         * language.C: add inherit_language and implement it's handlings
12541
12542         * bufferview_funcs.C (StyleReset): remove language parameter from
12543         font creation (should be language_inherit now).
12544
12545         * bufferparams.C (writeFile): handle ignore_language.
12546
12547         * paragraph.C (getFontSettings): the language has to be resolved
12548         otherwise we have problems in LyXFont!
12549
12550         * lyxfont.C (lyxWriteChanges): added document_language parameter
12551         (update): removed unneeded language parameter
12552
12553         * paragraph.C (validate): fixed wrong output of color-package when
12554         using interface colors for certain fonts in certain environments,
12555         which should not seen as that on the final output.
12556
12557 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * BufferView_pimpl.C:
12560         * Thesaurus.h:
12561         * Thesaurus.C:
12562         * Makefile.am:
12563         * commandtags.h:
12564         * LyXAction.C: add thesaurus support
12565
12566         * lyxfind.h:
12567         * lyxfind.C: add "once" parameter, for thesaurus, to not
12568           move to the next match
12569
12570 2001-07-26  Juergen Vigna  <jug@sad.it>
12571
12572         * lyxfont.C (realize): honor ignore_language too!
12573         (resolved): ditto.
12574
12575         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12576
12577         * text.C (draw): one place more for ignore_language to not draw
12578         itself!
12579
12580 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12581
12582         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12583
12584 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12587         the minipage conversion problem.
12588
12589 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12592         insert an inset.
12593
12594 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * BufferView.h: don't forward declare WorkArea
12597
12598         * BufferView.C: don't include WorkArea.h
12599
12600 2001-07-25  André Pönitz <poenitz@gmx.net>
12601
12602         * commandtags.h:
12603         * LyXAction.C:
12604         * lyxfunc.C:  new LFUN 'math-space'
12605
12606         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12607
12608 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * text2.C (toggleInset): call open/close
12611
12612 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * lyxfunc.C (dispatch): add debug for the disabled case
12615
12616         * font.C (buttonText): make similar to rectText
12617
12618         * buffer.C (readInset): comment out parsing of insetlist and
12619         insttheorem
12620
12621         * PainterBase.C (rectText): small correction
12622
12623         * BufferView_pimpl.C: comment out insettheorem and insetlist
12624         * LyXAction.C: ditto
12625         * commandtags.h: ditto
12626
12627 2001-07-24  Juergen Vigna  <jug@sad.it>
12628
12629         * text.C (draw): honor the ignore_language.
12630
12631         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12632
12633 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12634
12635         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12636         char inset.
12637
12638 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12639
12640         * lyxtext.h: remove unused (and unimplemented) methods
12641
12642 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12643
12644         * text.C (getVisibleRow): honor background color
12645
12646         * PainterBase.h:
12647         * Painter.h: remove default color argument for fillRectangle
12648
12649         * text.C (backgroundColor): new method
12650
12651 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12652
12653         * text.C (getVisibleRow): adjust
12654
12655         * font.[Ch] (rectText): new method, metrics
12656         (buttonText): new method, metrics
12657
12658         * PainterBase.[hC]: make rectText and buttonText always draw and take
12659         fewer paramteres.
12660
12661 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12662
12663         * ToolbarDefaults.C (read):
12664         * MenuBackend.C (read): allow escaping in all strings
12665
12666         * BufferView_pimpl.C (insertAndEditInset): new method.
12667         (Dispatch): use insertAndEditInset whenever appropriate.
12668
12669         * BufferView_pimpl.C (insertNote): removed
12670
12671         * BufferView_pimpl.C (smartQuote): new method, moved from
12672         BufferView; if an insetquote cannot be inserted, insert a '"'
12673         character instead.
12674
12675         * BufferView2.C: remove insertCorrectQuote();
12676
12677         * lyxfunc.C (getStatus): Add support for all remaingin
12678         inset-insert lfuns.
12679
12680         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12681
12682         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12683         command (necessary to pass " as parameter of self-insert.
12684
12685         * text.C (selectWordWhenUnderCursor):
12686         (selectWord): add word_location parameter
12687         (selectWordWhenUnderCursor): same + remove special code for word
12688         boundary.
12689         (selectNextWord): use kind() to guess type of insetspecialchar,
12690         not latex().
12691
12692         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12693         (insertErtContents): create ert insets as collapsed.
12694         (readInset): better compatibility code for Info inset.
12695
12696 2001-07-20  Juergen Vigna  <jug@sad.it>
12697
12698         * lyxfunc.C (dispatch): use always LyXFind now!
12699
12700         * text2.C (init): add a reinit flag so that the LyXText can be
12701         reinited instead of deleted and reallocated (used in InsetText).
12702
12703         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12704
12705         * text.C: ditto
12706
12707         * text2.C: ditto
12708
12709 2001-07-18  Juergen Vigna  <jug@sad.it>
12710
12711         * text.C (selectNextWord): handle insets inside inset by calling
12712         always the bv->text functions so that we can go up the_locking_inset!
12713
12714         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12715         in strange locations when inside an inset!
12716
12717         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12718         handling to include insets.
12719
12720         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12721
12722 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * LyXAction.C (init):
12725         * commandtags.h:
12726         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12727         LIGATURE_BREAK, since the name is so stupid.
12728
12729 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12732         InsetInfos.
12733
12734         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12735
12736         * sp_form.[Ch]: remove.
12737
12738         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12739
12740         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12741         InsetInfo.
12742
12743         * src/buffer.C (readInset): ditto.
12744
12745 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12746
12747         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12748         menuSeparator(), endOfSentenceDot(), ldots() and
12749         hyphenationPoint(), which are therefore removed.
12750         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12751
12752         * LyXAction.C (init):
12753         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12754
12755         * paragraph.C (getWord): removed.
12756
12757         * BufferView_pimpl.C (Dispatch): use last word or selection for
12758         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12759
12760         * lyx_main.C (queryUserLyXDir): do not ask before creating
12761         user_dir, except if it has been named explicitely.
12762
12763 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12766         a document of zero size.
12767
12768 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12771         approriately in the c-tor and in require().
12772         (getPackages): output the appropriate LaTeX for natbib support.
12773
12774         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12775         variables "use_natbib" and "use_numerical_citations" when reading the
12776         LyX file.
12777         (readInset): read the various natbib cite commands.
12778         (validate): white-space change.
12779
12780         * bufferparams.[Ch]: new variables "bool use_natbib" and
12781         "bool use_numerical_citations".
12782         (writeFile): output them in the LyX file.
12783
12784 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12785
12786         * lyxfunc.C (getStatus): add support for all the inset insertion
12787         commands.
12788
12789         * text2.C (insertInset):
12790         * paragraph.C (insetAllowed):
12791         * BufferView_pimpl.C (insertInset): update to take in account the
12792         renaming of insertInsetAllowed
12793
12794         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12795
12796         * text2.C (getInset): new method. returns inset at cursor position.
12797
12798         * BufferView_pimpl.C (Dispatch): changes because of this.
12799
12800         * LyXAction.C (init): rename open-stuff to inset-toggle.
12801
12802         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12803
12804         * text2.C (toggleInset): renamed from openStuff; use
12805         Inset::open().
12806
12807 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12808
12809         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12810
12811         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12812
12813 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12814
12815         * buffer.C (readLyXformat2): Add filename to the error dialog
12816
12817 2001-07-18  Juergen Vigna  <jug@sad.it>
12818
12819         * tabular.C (GetCellNumber): put an assert here instead of the check!
12820
12821 2001-07-17  Juergen Vigna  <jug@sad.it>
12822
12823         * BufferView_pimpl.C (toggleSelection): adapted too.
12824
12825         * text.C (selectNextWord): adapted for use with insets.
12826         (selectSelectedWord): ditto
12827
12828 2001-07-17  Juergen Vigna  <jug@sad.it>
12829
12830         * sp_spell.C (PSpell): fix initialitation order.
12831
12832 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * paragraph.C: spacing
12835
12836 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12837
12838         * sp_spell.C: repair language selection for pspell
12839
12840 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * lyxfunc.h: change more methods to begin with lower char.
12843
12844 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12845
12846         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12847         for unknown layouts.
12848
12849 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12850
12851         * buffer.C (readLyXformat2): Generate an error dialog if there are
12852         unknown layouts.
12853
12854 2001-07-16  Juergen Vigna  <jug@sad.it>
12855
12856         * sp_spell.C: always compile ISpell part.
12857
12858         * lyxrc.C: added use_pspell entry and it's handling.
12859
12860 2001-07-13  Juergen Vigna  <jug@sad.it>
12861
12862         * sp_spell.C: removed double includes.
12863
12864 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         Consistent use of Lsstream.h:
12867         * Lsstream.h: added using std::stringstream for consistencies sake.
12868
12869         * buffer.C: removed using std::stringstream
12870
12871         * lyxfont.C (stateText):
12872         * paragraph.C (asString):
12873         * text.C (selectNextWord, selectSelectedWord):
12874         * text2.C (setCounter):
12875         * vspace.C (asString, asLatexString):
12876         std::ostringstream -> ostringstream.
12877
12878 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12879
12880         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12881         * commandtags.h: add LFUN_HELP_ABOUTLYX
12882         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12883
12884 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12885
12886         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12887         cursorToggle()
12888         * lyx_gui_misc.C: remove spellchecker
12889         * lyxfunc.C: showSpellchecker
12890         * sp_base.h: added
12891         * sp_ispell.h: added
12892         * sp_pspell.h: added
12893         * sp_spell.C: added
12894         * sp_form.[Ch]: removed
12895         * spellchecker.[Ch]: removed
12896
12897 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12898
12899         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12900         is set.
12901         (simpleTeXSpecialChars): Simply print the input character without
12902         any special translation if pass_thru is set.
12903
12904         * layout.h: Added bool pass_thru to layout class for being able to
12905         implement pass through of a paragraph for Literate Programming.
12906
12907         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12908         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12909         * layout.C (Read): add "passthru" to list of layout tags and add
12910         code to set the pass_thru boolean when it is read.
12911
12912 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * trans_decl.h: remove allowed from KmodInfo
12915
12916         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12917         remove allowed code
12918         (Load): adjust
12919
12920         * paragraph_pimpl.C (erase): use boost::prior
12921
12922         * Painter.C (text): use data() instead of c_str() when length is
12923         also provided.
12924         * WorkArea.C (putClipboard): ditto
12925         * font.h (width): ditto
12926
12927         * BufferView2.C: use it-> instead of (*it). for iterators
12928         * texrow.C: ditto
12929         * paragraph_pimpl.C: ditto
12930         * paragraph.C: ditto
12931         * minibuffer.C: ditto
12932         * language.C: ditto
12933         * kbmap.C: ditto
12934         * encoding.C: ditto
12935         * counters.C: ditto
12936         * converter.C: ditto
12937         * chset.C: ditto
12938         * Variables.C: ditto
12939         * TextCache.C: ditto
12940         * MenuBackend.C: ditto
12941         * LyXAction.C: ditto
12942         * LColor.C: ditto
12943         * FloatList.C: ditto
12944         * DepTable.C: ditto
12945         * ColorHandler.C (LyXColorHandler): ditto
12946
12947 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12950
12951         * text2.C (openStuff): reintroduce this method (which had been
12952         nuked in NEW_INSETS frenzy).
12953
12954         * lyxfunc.C (Dispatch): when an action has not been handled, use
12955         its name in the error message, not its number.
12956
12957         * paragraph.C (inInset): change method name to begin with lowercase.
12958
12959         * undo_funcs.C:
12960         * text2.C: updates because of this.
12961
12962 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12963
12964         * ToolbarDefaults.C (add): add spaces in error message
12965
12966 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12969         (readLyXformat2): rename return_par to first_par, use lyxlex's
12970         pushToken and remove the manual push handling.
12971         (parseSingleLyXformat2Token): add another ert comp. variable:
12972         in_tabular, rename return_par to first_par. handle newlines better
12973
12974 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12977
12978 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * text2.C (getParFromID): removed
12981
12982         * buffer.C (getParFromID): new method moved form lyxtext.
12983         * BufferView2.C (insertErrors): adjust
12984         (setCursorFromRow): adjust
12985         * BufferView_pimpl.C (restorePosition): adjust
12986         * lyxfunc.C (Dispatch): adjust
12987         * undo_funcs.C (textUndo): adjust
12988         (textRedo): adjust
12989         (textHandleUndo): adjust
12990         (textHandleUndo): adjust
12991
12992 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * buffer.C: up' the LYX_FORMAT
12995
12996         * lyxfont.h: turn NO_LATEX on as default
12997
12998         * buffer.C (insertErtContents): new methods of tex style compability.
12999         (parseSingleLyXformat2Token): use it several places.
13000         * tabular.C (OldFormatRead): and here
13001
13002 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * text2.C: remove some commented code.
13005         reindent file.
13006
13007         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13008         * trans.C: changes because of the above.
13009
13010 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * text2.C (setCounter): Fix counters bug with bibliography layout.
13013
13014 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13017         own member functions
13018         (simpleTeXSpecialChars): ditto
13019
13020 2001-07-06  Juergen Vigna  <jug@sad.it>
13021
13022         * a lot of files: changed the access to LyXText::status and the
13023         call of undo-functions.
13024
13025         * undo.[Ch]: added a inset_id to the undo informations.
13026
13027         * undo_funcs.[Ch]: added and moved here all undo functions.
13028
13029         * lyxtext.h: give the status enum a weight, made status_ a private
13030         variable and made accessor functions for it, removed the whole bunch
13031         of undo-functions as they are now in their own file, make some
13032         functions publically available. Added function ownerParagraph with
13033         int parameter.
13034
13035         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13036         made InInset() a const function, added getParFromID() function.
13037
13038         * buffer.[Ch]: added const version for inset_iterator functions,
13039         added getInsetFromID() function.
13040
13041         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13042         changed undo functions for new version.
13043
13044 2001-07-05  Juergen Vigna  <jug@sad.it>
13045
13046         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13047         unknow mechanism does not call the proper constructor but only this
13048         one also if I request the other!?
13049
13050 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13051
13052         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13053
13054         * text2.C (LyXText): use initialization lists.
13055
13056         * lyxtext.h (Selection): initialize set_ and mark_
13057         (init): remove method
13058
13059 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13060
13061         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13062
13063 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * screen.[Ch]: change method names to begin with lowercase
13066
13067         * BufferView_pimpl.C (updateScrollbar): simplify further and
13068         hopefully make it a bit faster.
13069
13070 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13073         calling directly xforms functions.
13074
13075         * Painter.C (Painter):
13076         * lyx_cb.C (MenuWrite):
13077         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13078         fl_display.
13079
13080         * lyx_gui.C: remove bogus guiruntime extern declaration.
13081
13082 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13085         in NEW_INSETS
13086         (redoDrawingOfParagraph): ditto
13087         (redoParagraphs): ditto
13088         (cutSelection): don't create a object for CutAndPaste use the
13089         static method directly
13090         (pasteSelection): ditto
13091
13092         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13093         LyXview (+ rename)
13094
13095 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * modifications to some other files because of this.
13098
13099         * Makefile.am (lyx_SOURCES): add XFormsView
13100
13101         * XFormsView.[Ch]: new files
13102
13103         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13104         the main window. Move the gui dependent stuff to XFormsView
13105
13106 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * tabular.C (GetCellInset): update cur_cell also in the row/col
13109         version of this function.
13110
13111         * lyxfunc.C: no need to include figure_form.h here.
13112
13113         * FontLoader.h:
13114         * lyxfunc.h:
13115         * lyxscreen.h:
13116         * text2.C:
13117         * lyxvc.C: no need to include forms.h here.
13118
13119 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13120
13121         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13122
13123         * lyxfunc.C (Dispatch):
13124         * Spacing.C (set):
13125         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13126         constructor argument.
13127
13128 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13129
13130         * paragraph.C (Paragraph): dont't clear, and just set layout.
13131         (makeSameLayout): use params's copy contructor.
13132
13133         * ParagraphParameters.[Ch] (makeSame): delete method
13134
13135 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * Variables.[Ch]: fix indentation, rename set to isSet
13138
13139 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * lyxfunc.C (Dispatch): fix typo
13142
13143 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13146         upper_bound.
13147
13148         * bufferlist.C: include assert.h for emergencyWrite().
13149
13150 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13153           give up at last (bug #425202) !
13154
13155 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13156
13157         * lyx_gui_misc.C:
13158         * sp_form.h:
13159         * sp_form.C:
13160         * spellchecker.h:
13161         * spellchecker.C: strip spellchecker options and bring up
13162           preferences tab instead
13163
13164 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13167         the istringstream constructor
13168
13169 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13170
13171         * paragraph.C (getLayout): fix return value
13172
13173         * paragraph.h: do not declare getLayout as inline.
13174
13175         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13176
13177 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * lyxcursor.h (operator<): new func
13180         (operator>): new func
13181         (operator>=): new func
13182         (operator<=): new func
13183
13184         * text.C (changeCase): use selection.start and selection.end
13185         (changeRegionCase): require from to be <= to. Require par to be a
13186         valid paragraph.
13187
13188         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13189
13190 2001-06-27  Juergen Vigna  <jug@sad.it>
13191
13192         * text.C (cursorLeftOneWord): changed to return the cursor and added
13193         overlay with BufferView * parameter which calls this one.
13194         (getWord): added
13195         (selectWord): use new getWord function.
13196         (changeCase): renamed from changeWordCase as and extended to work
13197         also on selections.
13198
13199         * lyxtext.h: added enum word_location
13200
13201         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13202         changeCase as this operates now also on selections.
13203
13204 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13205
13206         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13207
13208         * many files: send debug output to Debug::INFO instead of
13209         Debug::ANY.
13210
13211         * converter.C (View):
13212         (Convert):
13213         (Move): send debug output to Debug::FILES instead of console.
13214
13215 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13216
13217         * lyxfunc.C (getStatus): use func_status
13218
13219         * func_status.h: new header, describing the results of
13220         LyXFunc::getStatus;
13221
13222         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13223         LFUN_MATH_HALIGN.
13224
13225 2001-06-25  The LyX Project  <jug@sad.it>
13226
13227         * buffer.C (sgmlOpenTag):
13228         (sgmlCloseTag):
13229         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13230
13231 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * text2.C: remove some dead code
13234
13235         * tabular.C (GetCellInset): store the last cell checked (gotten)
13236
13237         * tabular.h: add the helper for the speedup
13238
13239         * lyxtext.h: remove some dead code
13240
13241 2001-06-26  The LyX Project  <Asger>
13242
13243         * paragraph.C: Change export to LaTeX of alignment to
13244         \begin{center} and family for better roundtrip work with reLyX.
13245
13246         * Tune the math drawing a bit.
13247
13248 2001-06-25  The LyX Project  <Asger>
13249
13250         * LColor.C (LColor): New color for math background. New color
13251         for buttons.
13252
13253 2001-06-25  The LyX Project  <jug@sad.it>
13254
13255         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13256
13257         * lyxfunc.C (Open):
13258         * bufferlist.C (newFile): do not restrict to files ending with
13259         .lyx
13260
13261         * BufferView_pimpl.C (MenuInsertLyXFile):
13262
13263 2001-06-24  The LyX Project  <jug@sad.it>
13264
13265         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13266         of compare_no_case
13267
13268 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * lyxtext.h: rename most methods to begin with a small char.
13271         Lots of changes because of this.
13272
13273         * paragraph.C (Paragraph): do not call fitToSize
13274         (erase): call Pimpl::erase
13275         (insertChar): call Pimpl::insertChar
13276         (insertInset): call Pipl::insertInset
13277         (breakParagraph): do not call fitToSize
13278         (breakParagraphConservative): do not call fitToSize
13279         (fitToSize): remove method
13280
13281         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13282
13283 2001-06-24  The LyX Project  <Asger>
13284
13285         * Fix Qt compilation^2
13286
13287 2001-06-24  The LyX Project  <jug@sad.it>
13288
13289         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13290         depthHook(getDepth()-1).
13291
13292         * paragraph.h:
13293         * ParagraphParameters.h:
13294         * ParameterStruct.h: change type of depth to unsigned int ==
13295         depth_type. Many adaptations to other files before of that.
13296
13297 2001-06-24  The LyX Project  <Asger>
13298
13299         * Fix Qt compilation.
13300
13301 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * paragraph.h: renamed several methods to begin with small letter.
13304         several changes to many parts of the code because of this.
13305
13306 2001-06-23  The LyX Project  <jug@sad.it>
13307
13308         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13309         rewritten to discard all double spaces when KeepEmpty is off
13310         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13311         to only handle newlines but not fiddle with spaces and friends.
13312
13313         * lyxfunc.C (MenuNew): when doing 'new from template', use
13314         template_path as default directory
13315
13316 2001-06-23  The LyX Project  <Asger>
13317
13318         * Clean-up of header file includes all over
13319         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13320
13321 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * paragraph.h: renamed from lyxparagraph.h
13324
13325 2001-06-23  Asger  <lyx@violet.home.sad.it>
13326
13327         * Buffer.h: Removed Buffer::resize
13328         * BufferList.h: Removed BufferList::resize
13329         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13330         the document lazily when we change the width, or the font settings.
13331
13332 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13335
13336 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * buffer.h: remove out of date comment
13339
13340 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * lyxscreen.h:
13343         * screen.C: fix "theoretical" GC leak
13344
13345 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13346
13347         * LaTeX.C (scanAuxFile):
13348         (deplog): remove trailing \r when reading stream (useful under
13349         win32)
13350
13351 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13354         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13355         and BufferView::theLockingInset(Inset*), so should use them and not
13356         access bv_->text->the_locking_inset directly.
13357
13358         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13359
13360 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * Makefile.am:
13363         * tex-defs.h: remove old unused file
13364
13365 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13366
13367         * BufferView_pimpl.C: fix typo, remove minibuffer message
13368           when buffer has loaded
13369
13370 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * lyxfunc.C (Dispatch): use stringstream
13373         (MenuNew): use stringstream
13374         (Open): use stringstream
13375
13376         * importer.C (Import): use stringstream
13377
13378         * bufferview_funcs.C (CurrentState): use stringstream
13379
13380         * LaTeX.C (run): use stringstream
13381
13382         * BufferView_pimpl.C (savePosition): use stringstream
13383         (restorePosition): use stringstream
13384         (MenuInsertLyXFile): use stringstream
13385
13386 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * BufferView.C:
13389         * Bullet.C:
13390         * ColorHandler.C:
13391         * FontInfo.C:
13392         * FontLoader.C:
13393         * LColor.C:
13394         * LaTeXFeatures.C:
13395         * Painter.C:
13396         * gettext.C:
13397         * lyx_gui_misc.C:
13398         * lyxserver.C:
13399         * vspace.C: removed // -*- C++ -*- as first line.
13400
13401         * lyxfind.h:
13402         * version.h: added // -*- C++ -*- as first line.
13403
13404 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13407
13408         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13409         of string
13410
13411 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13414         of floats.
13415
13416 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * gettext.C: include LString.h even when --disable-nls is on.
13419
13420 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * converter.h (Get): changed argument type from int to
13423         FormatList::size_type to avoid unnecessary conversion.
13424
13425         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13426         before using it.
13427
13428 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * gettext.h: include LString.h even when --disable-nls is on.
13431
13432 2001-06-07  Juergen Vigna  <jug@sad.it>
13433
13434         * text.C (BreakAgain): subst spaces with tabs.
13435
13436         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13437         (resizeInsetsLyXText): set force on resizeLyXText.
13438
13439 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * gettext.h (gettext_init):
13442         (locale_init): use a real definition instead of a macro
13443
13444 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * Bufferview_pimpl.C:
13447         * LColor.h:
13448         * LColor.C: further lcolor tidies
13449
13450 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * BufferView_pimpl.C (updateScrollbar): simplify.
13453
13454         * BufferView2.C: don't include insets/insetinfo.h, change
13455         prototype for insertInset and call the Pimpl version. let
13456         updateInset call Pimpl version.
13457
13458         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13459         gotoInset to BufferView::Pimpl
13460
13461 2001-06-01  Juergen Vigna  <jug@sad.it>
13462
13463         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13464         inside a LockingInset (is the update needed at all?).
13465
13466 2001-05-31  Juergen Vigna  <jug@sad.it>
13467
13468         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13469         here not the old one otherwise how should we compare it afterwards
13470         if it's the same!
13471
13472 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * lyxfont.C:
13475         * tabular.C:
13476         * tabular-old.C:
13477         * FontInfo.C: bring C functions into global namespace when
13478         necessary
13479
13480 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13481
13482         * LString.h: make sure config.h has been loaded before LString.h.
13483
13484         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13485         (one for each char read by EatLine!).
13486
13487         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13488         variables.
13489
13490 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13491
13492         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13493         to the same as the par we break from
13494
13495 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13498
13499         * MenuBackend.C (expand): also create menu entries for wide
13500         versions of the floats.
13501
13502         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13503
13504         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13505
13506         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13507         frontends/Makefile.am
13508
13509         * text2.C: adjust
13510         * text.C: adjust
13511
13512
13513         * tabular.C (getTokenValue): add std::
13514
13515         * tabular-old.C (getTokenValue): add std::
13516         (getTokenValue): ditto
13517         (getTokenValue): ditto
13518
13519         * screen.C (ToggleSelection): adjust
13520
13521         * lyxtext.h: put selection cursors inside a Selection struct.
13522
13523         * lyxfunc.C (moveCursorUpdate): adjust
13524
13525         * lyxfont.C (latexWriteStartChanges): add std::
13526
13527         * lyxfind.C: adjust
13528
13529         * font.h: delete with(char const *, LyXFont const &)
13530
13531         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13532
13533         * FontInfo.C (getFontname): add std::
13534
13535         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13536         (workAreaButtonPress): adjust
13537         (tripleClick): adjust
13538         (update): adjust
13539         (moveCursorUpdate): adjust
13540         (Dispatch): adjust
13541
13542         * BufferView2.C (gotoInset): adjust
13543
13544 2001-05-30  Juergen Vigna  <jug@sad.it>
13545
13546         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13547         to check pspell I add this as default as I now have new pspell
13548         libraries and they seem to use this.
13549
13550 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * text2.C (CutSelection): make the cursor valid before the call to
13553         ClearSelection.
13554
13555 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13558         relied on 0 terminated strings and other horrors. Bug found due to
13559         the new assert in lyxstring!
13560
13561         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13562         KP_ keys.
13563
13564 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13567         to latinkeys.bind.
13568
13569         * lyxfunc.C (processKeySym): change method of getting to the
13570         self-insert char.
13571
13572         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13573         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13574         * BufferView_pimpl.[Ch]: here as private methods.
13575
13576 2001-05-28  Juergen Vigna  <jug@sad.it>
13577
13578         * text.C (SetHeightOfRow): added the update() call again as it is
13579         needed to initialize inset dimensions!
13580
13581 2001-05-16  Juergen Vigna  <jug@sad.it>
13582
13583         * text2.C (SetCharFont): Add new function with BufferView * and
13584         bool toggleall parameters for setting insets internal fonts.
13585         (SetFont): Freeze the undo as we may change fonts in Insets and
13586         all this change should be inside only one Undo!
13587
13588         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13589         setting font's in insets as for them we have the SetFont function!
13590
13591 2001-05-15  Juergen Vigna  <jug@sad.it>
13592
13593         * text2.C (ClearSelection): to be sure we REALLY don't have any
13594         selection anymore!
13595
13596         * tabular.C (TeXCellPreamble): fixed the left border problem for
13597         multicolumn cells.
13598
13599 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13602         dependancy file
13603
13604 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13607         LFUN_BREAKPARAGRAPH.
13608
13609         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13610         help test to "internal only", similar for LFUN_INSERT_URL
13611
13612         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13613         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13614         auto_region_delete and deadkeys.
13615
13616 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * LColor.h:
13619         * LColor.C: remove some dead entries, tidy a little
13620
13621 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13624         commented code.
13625         (Dispatch): implement LFUN_ESCAPE
13626
13627         * commandtags.h: add LFUN_ESCAPE
13628
13629         * LyXAction.C (init): add entry for LFUN_ESCAPE
13630
13631         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13632         Remove commented code.
13633         (insertNote): moved here
13634         (open_new_inset): moved here
13635
13636         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13637         BufferView_pimpl
13638
13639 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * kbmap.C (findbinding): clean it up and make it work correctly.
13642
13643         * lyx_main.C (init): do not pass argc and argv as parameters
13644
13645 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13646
13647         * buffer.C: fix path for OS/2 & Win32
13648
13649         * lyx_gui.C:
13650         * lyx_main:
13651         * lyx_main.C: Added os:: class.
13652
13653         * os2_defines.h: update
13654
13655 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13658         better by trying again with reduced state.
13659
13660 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * lyxrc.C (read): print error about invalid key sequence only when
13663         debugging (because not all latinX keysyms are known to some X
13664         servers)
13665
13666         * kbsequence.C (getiso): add a few std:: qualifiers
13667         (getiso): comment out extra return statement.
13668
13669 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13672         handling.
13673         (Dispatch): enhance the accent inset a bit. (not perfect)
13674
13675 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13678
13679 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * bufferlist.C (emergencyWrite): fix assert() call
13682
13683 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13684
13685         * text.C (InsertChar): Added trivial patch to only send the "you
13686         can not do multiple spaces this way" message once during a
13687         session.
13688
13689 2001-05-08  Baruch Even  <baruch@lyx.org>
13690
13691         * Makefile.am: Changed order of libraries to get LyX to link properly
13692         with the gnome frontend.
13693
13694 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * LaTeXFeatures.h: add a std:: qualifier
13697
13698 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * paragraph.C (String): use stringstream
13701
13702 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * paragraph.C (writeFile): remove footflag arg
13705
13706         * buffer.C (makeLaTeXFile): use stringstream
13707         (latexParagraphs): remove footnot gurba
13708
13709         * LaTeXFeatures.C (getPackages): use stringstream
13710         (getMacros): likewise
13711         (getTClassPreamble): likewise
13712         (getFloatDefinitions): new method
13713
13714         * paragraph.C (writeFile): reindent
13715         (Erase): reindent
13716
13717         * WorkArea.h: revert the xpos + etc changes.
13718
13719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13720
13721         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13722
13723         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13724         (pasteSelection): likewise
13725         * text2.C (CreateUndo): likewise
13726
13727 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13728
13729         * minibuffer.C (peek_event): temporarily reduce the functionality
13730         of the minibuffer (to allow args on lfuns)
13731
13732         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13733         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13734
13735         * buffer.C (readInset): add compability reading of old float
13736         lists, add reading of new style float list.
13737         (readInset): avoid reevaluation of inscmd.getCmdName()
13738         (getLists): reindent
13739
13740         * MenuBackend.C (MenuItem): implement parsing of
13741         md_floatlistinsert and md_floatinsert.
13742         (expand::LastFiles): move initalizaton of iterators out of loop,
13743         avoid reevaluation.
13744         (expand::Documents): introduce typdedef vector<string> Strings,
13745         and use it.
13746         (expand::ExportFormats): introduce typedef vector<Format const *>
13747         Formats, and use it.
13748         (expand): implement FloatListInsert and FloatInsert.
13749
13750         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13751         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13752         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13753
13754         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13755         handling.
13756         (Dispatch::LFUN_FLOAT_LIST): implement
13757
13758 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13759
13760         * LaTeX.C (run): Fix problem with --export code.
13761
13762 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * BufferView.[Ch] (workarea): removed.
13765         (getClipboard) new method; wrapper for workarea()->getClipboard()
13766
13767         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13768         bug.
13769
13770         * WorkArea.h (width, height, xpos, ypos): These methods all
13771         returned the dimensions of the work_area sub-area of WorkArea,
13772         resulting in a position error if the WorkArea were resized. Now
13773         return the dimensions of the entire WorkArea.
13774
13775         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13776
13777 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13778
13779         * LaTeX.C (deplog): correct the syntax of regex reg1
13780
13781 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * undo.C: remove !NEW_INSETS cruft
13784
13785 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * text2.C: remove !NEW_INSETS cruft
13788
13789         * text.C: remove !NEW_INSETS cruft
13790
13791         * tabular.C: remove !NEW_INSETS cruft
13792
13793         * spellchecker.C: remove !NEW_INSETS cruft
13794
13795         * lyxtext.h: remove !NEW_INSETS cruft
13796
13797         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13798
13799         * lyxfunc.C: remove !NEW_INSETS cruft
13800
13801         * lyxfind.C: remove !NEW_INSETS cruft
13802
13803         * lyx_cb.C: remove !NEW_INSETS cruft
13804
13805         * figureForm.C: remove  !NEW_INSETS cruft
13806
13807         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13808
13809         * buffer.[Ch]: remove !NEW_INSETS cruft
13810
13811         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13812
13813         * CutAndPaste.C: remove !NEW_INSETS cruft
13814
13815         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13816
13817         * BufferView2.C: remove !NEW_INSETS cruft
13818
13819         * BufferView.h: remove !NEW_INSETS cruft
13820
13821 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * Lsstream.h: include LString.h before the sstream headers to
13824         fix problem with gcc 2.95.3 and lyxstring
13825
13826 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13827
13828         * lyx_main.C: add using directives when needed for C functions
13829         declared in std:: namespace.
13830
13831 2001-04-27  Juergen Vigna  <jug@sad.it>
13832
13833         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13834         (SetHeightOfRow): comment out the update call should not be needed!
13835
13836 2001-04-13  Juergen Vigna  <jug@sad.it>
13837
13838         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13839         (LyXTabular): tried to minimize operator= operations (and realized
13840         hopfully Lars wish).
13841
13842 2001-04-27  Juergen Vigna  <jug@sad.it>
13843
13844         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13845
13846 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13849
13850         * buffer.C (readInset): hack to make listof algorithm work
13851
13852         * BufferView_pimpl.C: hack to make listof algorithm work
13853
13854 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * LyXAction.C: removed all !NEW_INSETS cruft
13857         (init): moved lfun_item in method
13858
13859         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13860
13861 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * BufferView2.C (theLockingInset): white space.
13864
13865 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * minibuffer.C: include <iostream>
13868
13869         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13870
13871         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13872
13873         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13874
13875         * text.[Ch] (TransposeChars): new method
13876
13877 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13878
13879         * call message directly through LyXView instead of through LyXFunc
13880         * BufferView2.C: adjust
13881         * BufferView_pimpl.C: adjust
13882         * FontLoader.C: adjust
13883         * buffer.C: adjust
13884         * bufferview_funcs.C: adjust
13885         * converter.C: adjust
13886         * figureForm.C: adjust
13887         * importer.C: adjust
13888         * lyx_cb.C: adjust
13889         * lyx_gui_misc.C: adjust
13890         * lyxfunc.C: adjust
13891         * lyxvc.C: adjust
13892         * text2.C: adjust
13893         + more files in subdirs
13894
13895         * lyxparagraph.h (size): move up int file
13896         (GetLayout): ditto
13897
13898         * adjust all uses of Assert to lyx::Assert.
13899
13900         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13901         lyxfunctional in namespace lyx
13902         * layout.C (hasLayout): ditto
13903         (GetLayout): ditto
13904         (GetLayout): ditto
13905         (delete_layout): ditto
13906         (NumberOfClass): ditto
13907         * converter.C (GetFormat): ditto
13908         (GetNumber): ditto
13909         (Add): ditto
13910         (Delete): ditto
13911         (SetViewer): ditto
13912         * bufferlist.C (getFileNames): ditto
13913         (emergencyWriteAll): ditto
13914         (exists): ditto
13915         (getBuffer): ditto
13916         * MenuBackend.C (hasSubmenu): ditto
13917         (hasMenu): ditto
13918         (getMenu): ditto
13919         * BufferView_pimpl.C (getInsetByCode): ditto
13920
13921 2001-04-18  Juergen Vigna  <jug@sad.it>
13922
13923         * vspace.C (asLatexString): fixed the 100% problem.
13924
13925 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * lyxfunc.C (Dispatch):
13928         * minibuffer.C:
13929         * minibuffer.h: add a few std:: qualifiers
13930
13931 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * minibuffer.[Ch]: reimplement so that commands is initiated and
13934         run from lyxfunc, simplified som handling, and made the completion
13935         and history code for complete. wip.
13936
13937         * lyxfunc.C (processKeySym): call message
13938         (miniDispatch): new temporary method
13939         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13940         (LFUN_MESSAGE): implement
13941         (LFUN_MESSAGE_PUSH): implement
13942         (LFUN_MESSAGE_POP): implement
13943         (initMiniBuffer): the initial/defualt minibuffer message.
13944
13945         * lyxfont.[Ch]: inline some more getters
13946
13947         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13948
13949         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13950
13951         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13952         (AutoSave): use LFUN_MESSAGE
13953         (Reconfigure): ditto
13954
13955         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13956
13957         * figureForm.C: use LFUN_MESSAGE
13958
13959         * converter.C (runLaTeX): use LFUN_MESSAGE
13960
13961         * bufferview_funcs.C: use LFUN_MESSAGE
13962         (Melt): ditto
13963         (changeDepth): ditto
13964
13965         * bufferparams.h: use boost::
13966
13967         * bufferlist.h: inherit privately from noncopyable
13968
13969         * bufferlist.C (loadLyXFile): remove some commented code.
13970
13971         * buffer.C (runChktex): use LFUN_MESSAGE
13972
13973         * ShareContainer.h: inherit privately from noncopyable
13974
13975         * ParagraphParameters.[hC] (depth): inline it.
13976
13977         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13978         methods.
13979         (message): new method
13980         (messagePush): ditto
13981         (messagePop): ditto
13982         (show): init minibuffer
13983         (showState): direct call
13984
13985         * LaTeX.[Ch]: inherit privately from noncopyable
13986         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13987         instead of WriteStatus.
13988
13989         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13990
13991         * BufferView_pimpl.C (buffer): don't init minibuffer
13992         (workAreaButtonPress): use LFUN_MESSAGE
13993         (workAreaButtonRelease): ditto
13994         (savePosition): ditto
13995         (restorePosition): ditto
13996         (MenuInsertLyXFile): ditto
13997         (workAreaExpose): don't init minibuffer
13998         (update): remove commented code, simplify
13999
14000         * BufferView2.C (openStuff): use LFUN_MESSAGE
14001         (toggleFloat): ditto
14002         (menuUndo): ditto
14003         (menuRedo): ditto
14004         (copyEnvironment): ditto
14005         (pasteEnvironment): ditto
14006         (copy): ditto
14007         (cut): ditto
14008         (paste): ditto
14009         (gotoInset): ditto
14010         (updateInset): remove some commented code
14011
14012         * lastfiles.h: inherit privately from noncopyable
14013         * layout.h: ditto
14014         * lyx_gui.h: ditto
14015         * lyx_main.h: ditto
14016         * lyxlex.h: ditto
14017         * lyxlex_pimpl.h: ditto
14018
14019         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14020         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14021         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14022
14023         * LyXAction.h: inherit privately from noncopyable, add methods
14024         func_begin, func_end, returning iterators to the func map.
14025
14026         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14027         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14028         (func_begin): new method
14029         (func_end): new method
14030
14031         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14032         and not)
14033         (copySelection): ditto
14034         (pasteSelection): ditto
14035
14036         * BufferView.C: whitespace change
14037         * BufferView.h: inherit privately from noncopyable
14038
14039 2001-04-16  Allan Rae  <rae@lyx.org>
14040
14041         * tabular-old.C (l_getline):
14042         * spellchecker.C (sc_check_word):
14043         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14044         an unrecognised preprocessor directive.  So ensure they're wrapped.
14045
14046 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * src/exporter.C (Export): Give an error message when path to file
14049         contains spaces.
14050
14051 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * LaTeX.C (deplog): Always check that foundfile exists.
14054
14055 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * lyx_main.h:
14058         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14059
14060 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14061
14062         * tabular.[Ch] (getLabelList): implement new method
14063
14064         * minibuffer.h: comment ouf setTiimer
14065
14066         * minibuffer.C (ExecutingCB): constify res
14067         (peek_event): constify s
14068         (Set): constify ntext
14069         (Init): constify nicename
14070
14071         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14072
14073         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14074         (savePosition): use two params to Minibuffer::Set
14075         (restorePosition): ditto
14076
14077 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14078
14079         * lyx_main.C: include language.h
14080
14081         * Makefile.am (lyx_main.o): add language.h
14082
14083 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * exporter.C:
14086         * paragraph.C:
14087         * screen.C:
14088         * tabular.C:
14089         * CutAndPaste.C: include gettext.h
14090
14091         * lyxfont.h: remove old hack with ON and OFF.
14092
14093         * lyxparagraph.h:
14094         * lyxfont.h: do not include language.h...
14095
14096         * BufferView2.C:
14097         * LaTeXFeatures.C:
14098         * Painter.C:
14099         * bufferview_funcs.C:
14100         * font.C:
14101         * lyxfont.C:
14102         * text.C:
14103         * text2.C:
14104         * trans_mgr.C:
14105         * paragraph.C: ... but do it here instead
14106
14107 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14108
14109         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14110
14111         * tabular.C: small reformat
14112
14113         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14114         NEW_INSETS version
14115         (GetChar): ditto
14116         (BreakParagraph): ditto
14117         (SetOnlyLayout): ditto
14118         (SetLayout): ditto
14119
14120         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14121         with one arg less.
14122
14123         * lastfiles.C: removed most using decl, add std:: where needed
14124
14125         * buffer.C: ws changes
14126
14127         * MenuBackend.C (class compare_format): put into anon namespace
14128         (expand): constify label, names, action, action2
14129         (expand):
14130
14131         * text.C (SingleWidth): constify font
14132         (IsBoundary): constify rtl2
14133         (GetVisibleRow): constify ww
14134
14135         * LaTeX.C (deplog): constify logfile
14136
14137         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14138         start_x, end_x
14139         (workAreaExpose): constify widthChange, heightChange
14140
14141         * lyxrow.C (par): moved
14142         (height): moved
14143         (next): moved
14144         * lyxrow.h: as inlines here
14145
14146         * lyxfont.h (shape): moved from lyxfont.C
14147         (emph): moved from lyxfont.C
14148
14149         * lyxfont.C (LyXFont): use initialization list for all
14150         constructors
14151         (shape): move to lyxfont.h as inline
14152         (emph): move to lyxfont.h as inline
14153
14154
14155 2001-04-04  Juergen Vigna  <jug@sad.it>
14156
14157         * vspace.C: had to include stdio.h for use of sscanf
14158
14159 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * BufferView.h:
14162         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14163         independent of xforms.
14164
14165 2001-04-02  Juergen Vigna  <jug@sad.it>
14166
14167         * spellchecker.C: fixed namespace placing!
14168
14169 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14172         the LyXParagraph * is 0.
14173
14174 2001-03-29  Juergen Vigna  <jug@sad.it>
14175
14176         * vspace.C: added support for %, c%, p%, l%.
14177         (stringFromUnit): added helper function.
14178         (asLatexString): changed to give right results for the %-values.
14179
14180         * buffer.C: convert the widthp in a width%.
14181
14182 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14185         figureForm.[Ch].
14186
14187         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14188         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14189
14190         * lyx_cb.[Ch]: see above.
14191
14192         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14193         form1.[Ch].
14194
14195         * form1.[Ch]:
14196         * lyx.[Ch]: replaced by figure_form.[Ch].
14197
14198         * lyx_gui.C:
14199         * lyx_gui_misc.C:
14200         * lyxfunc.C: changed headers associated with above changes.
14201
14202 2001-03-27  Juergen Vigna  <jug@sad.it>
14203
14204         * BufferView_pimpl.C: set the temporary cursor right!
14205
14206 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14209
14210 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * LString.h: removed "using std::getline"!
14213
14214         * BufferView_pimpl.C (Dispatch): changes due to changes in
14215         InsetInclude::Params.
14216
14217         * buffer.C (tag_name): removed redundant break statements as they were
14218         producing lots of warnings with my compiler.
14219
14220 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * LString.h: add "using std::getline" when using the real <string>.
14223
14224 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14225
14226         * buffer.C: removed bitset usage.
14227         PAR_TAG moved to an anonymous name space.
14228         (tag_name): new funtion, also in the anonymous namespace.
14229         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14230         (makeDocBookFile): clean code. Completed transition from string arrays
14231         to string vectors.
14232         (SimpleDocBookOnePar): code clean.
14233
14234 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14235
14236         * tabular.C: add some comments.
14237
14238 2001-03-22  Juergen Vigna  <jug@sad.it>
14239
14240         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14241         compatibility read a bit and fixed bug with minipage in different
14242         depth.
14243
14244 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14245
14246         * buffer.C (pop_tag): removed.
14247         (push_tag): removed.
14248         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14249         array replaced with vector. Added support for CDATA sections.
14250         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14251         at any nest level.
14252         (makeDocBookFile): XML conformant declaration of CDATA section,
14253         fixed bug related to <emphasis> in the first paragraph char.
14254         (sgmlOpenTag): exclude empty tags.
14255         (sgmlCloseTag): ditto.
14256
14257         * buffer.h (pop_tag): removed.
14258         (push_tag): removed.
14259
14260 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14261
14262         * language.h (Languages): added size_type and size().
14263
14264 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14265
14266         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14267         response on compability reading of minipages. One probliem is that
14268         the old usage of minipages was «flertydig»
14269
14270         * several files here and in subdirs: don't use static at file
14271         scope use anon namespaces instead.
14272
14273 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14274
14275         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14276         LaTeX output. This is necessary for Literate document
14277         processing.
14278
14279 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14280
14281         * buffer.C: insert hfill when needed.
14282
14283         * tabular.C (l_getline): use string::erase, small whitespace change.
14284
14285         * BufferView_pimpl.C: try the anon namespace.
14286         * WorkArea.C: ditto
14287
14288 2001-03-16  Juergen Vigna  <jug@sad.it>
14289
14290         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14291         otherwise it won't open options-dialogs.
14292
14293         * buffer.C: honor pextraWidth(p) on converting minipages.
14294
14295         * tabular.C (l_getline): changed the functions to strip trailing \r.
14296
14297 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14298
14299         * BufferView_pimpl.C:
14300         * minibuffer..C: added "using SigC::slot" declaration.
14301
14302 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14303
14304         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14305
14306         * text2.C: ditto
14307
14308         * text.C: ditto
14309
14310         * paragraph.C: ditto
14311
14312         * lyxtext.h: NO_PEXTRA
14313
14314         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14315
14316         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14317         * ParameterStruct.h: ditto
14318         * ParagraphParameters.h: ditto
14319         * lyxparagraph.h: ditto
14320
14321 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14322
14323         * buffer.C: add compability for minipage alignment.
14324         (latexParagraphs): remove unwanted pextra check.
14325
14326         * several files: remove CXX_WORKING_NAMESPACES
14327
14328         * buffer.C (pop_tag): tie is in namespace boost
14329
14330         * BufferView.h: noncopyable is in namespace boost
14331         * lyxlex.h: ditto
14332         * lyx_main.h: ditto
14333         * lyx_gui.h: ditto
14334         * layout.h: ditto
14335         * lastfiles.h: ditto
14336         * bufferlist.h: ditto
14337         * ShareContainer.h: ditto
14338         * LyXView.h: ditto
14339         * LyXAction.h: ditto
14340         * LaTeX.h: ditto
14341
14342 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * Merging changes from BRANCH_MVC back into HEAD.
14345
14346         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14347
14348 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * BufferView_pimpl.C: change from intl.C
14351
14352         * combox.h:
14353         * combox.C:
14354         * Makefile.am: move combox.*
14355
14356         * form1.h:
14357         * form1.C:
14358         * lyx_gui.C:
14359         * intl.h:
14360         * intl.C: remove dialog (covered by prefs)
14361
14362 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14363
14364         * lyxfunc.C (Dispatch): removed redundant break statement.
14365
14366 2001-03-14  Juergen Vigna  <jug@sad.it>
14367
14368         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14369
14370 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14371
14372         * buffer.C: add hack to fix compability reading of minipages.
14373
14374 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * buffer.C (getLists): Cleanup.
14377
14378 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * lyxfont.C (update): don't honor toggleall on font size.
14381
14382 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * bmtable.c:
14385         * bmtable.h:
14386         * Makefile.am: moved to frontends/xforms/
14387
14388         * lyx_gui_misc.C:
14389         * lyxfunc.C:
14390         * BufferView_pimpl.C: changes for moved mathpanel
14391
14392 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * gettext.h: fix gettext_init() in --disable-nls
14395
14396 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14399
14400 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * lyx.C:
14403         * lyx.h: strip external form
14404
14405 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * BufferView_pimpl.C: add comment, destroySplash()
14408
14409 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14410
14411         * BufferView_pimpl.C:
14412         * LyXAction.C:
14413         * buffer.C:
14414         * commandtags.h:
14415         * lyxfunc.C: use re-worked insetinclude
14416
14417 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14418
14419         * buffer.C: add using std::stringstream.
14420
14421         * lyx_cb.C: readd using std::ios.
14422
14423         * buffer.C: add using std::map.
14424
14425         * BufferView_pimpl.C: add using std::vector.
14426
14427         * ShareContainer.h: add std:: to swap.
14428
14429         * buffer.h: add some typedefs
14430         * buffer.C (getLists): use them
14431         (getLists): renamed from getTocList.
14432         add a counter for the different float types and use it in the
14433         generated string.
14434         (getLists): use the same counter for the NEW_INSETS and the "non"
14435         NEW_INSETS
14436
14437         * lyx_cb.h: remove unused items, includes, using etc.
14438
14439         * ShareContainer.h: remove some commented code, add more comments
14440         and "documentation".
14441
14442 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14443
14444         * buffer.C (getTocList): make the list also when NEW_INSETS is
14445         defined.
14446
14447         * buffer.h: remove TocType
14448
14449         * buffer.C (getTocList): change to return a map<string,
14450         vector<TocItem> >, implement for dynamic number of list.
14451
14452         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14453         * text2.C (PasteSelection): adjust
14454         * CutAndPaste.C (pasteSelection): adjust
14455
14456         * FloatList.C (FloatList): update from the new_insets branch.
14457         * Floating.[Ch]: ditto
14458         * LaTeXFeatures.C: ditto
14459         * buffer.C: ditto
14460         * lyxlex_pimpl.C: ditto
14461
14462         * paragraph.C (Last): remove when NEW_INSETS is defined.
14463
14464         * other file: changes because of the above.
14465
14466 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14467
14468         * lyxparagraph.h: rename next to next_, previous to previous_,
14469         make them private for NEW_INSETS. Rename Next() to next(),
14470         Previous() to previous().
14471
14472         * other files: changes because of the above.
14473
14474 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14475
14476         * BufferView.h:
14477         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14478         problem.
14479
14480 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * main.C (main): pass lyx_localedir to gettext_init().
14483
14484         * gettext.h: remove locale_init and gettext_init macros
14485
14486         * gettext.C (locale_init): new function
14487         (gettext_init): new function
14488
14489         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14490         setlocale().
14491
14492 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14493
14494         * Moved credits to frontends:
14495         * credits.[Ch]: removed
14496         * credits_form.[Ch]: removed
14497         * lyx_gui_misc.C: remove credits stuff
14498         * Makefile.am:
14499
14500 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14501
14502         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14503
14504         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14505         unneeded destructor.
14506
14507         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14508         a standalone pointer again.
14509
14510         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14511
14512 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * Makefile.am:
14515         * filedlg.h:
14516         * filedlg.C:
14517         * LyXAction.C:
14518         * ToolbarDefaults.C:
14519         * bufferlist.C:
14520         * commandtags.h:
14521         * form1.C:
14522         * form1.h:
14523         * lyx_cb.C:
14524         * lyx_cb.h:
14525         * lyxfunc.h:
14526         * lyxfunc.C:
14527         * BufferView_pimpl.C: use new file dialog in GUII
14528
14529         * lyx_cb.h:
14530         * lyx_cb.C: remove LayoutsCB to Toolbar
14531
14532 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14533
14534         * ShareContainer.h (get): add std:: qualifier
14535
14536 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * ShareContainer.h: define a proper ShareContainer::value_type
14539         type (and use typename to please compaq cxx)
14540
14541 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14542
14543         * lyxparagraph.h: move serveral local vars to
14544         ParameterStruct/ParagraphParameters., use ShareContainer in
14545         FontTable., make vars in FontTable private and add getter and
14546         setter.
14547
14548         * paragraph.C: changes because of the above.
14549
14550         * lyxfont.h: remove copy constructor and copy assignment. (the
14551         default ones is ok), move number inside FontBits. move inlines to
14552         lyxfont.C
14553
14554         * lyxfont.C: add number to initializaton of statics, move several
14555         inlines here. constify several local vars. some whitespace
14556         cleanup. Dont hide outerscope variables.
14557
14558         * Spacing.h: add two new constructors to match the set methods.
14559
14560         * ShareContainer.h: new file, will perhaps be moved to support
14561
14562         * ParameterStruct.h: new file
14563
14564         * ParagraphParameters.h: new file
14565
14566         * ParagraphParameters.C: new file
14567
14568         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14569         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14570
14571         * BufferView_pimpl.C: ParagraphParameter changes.
14572         * buffer.C: Likewise.
14573         * bufferview_funcs.C: Likewise.
14574         * text.C: Likewise.
14575         * text2.C: Likewise.
14576
14577 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * lyxfind.C (LyXReplace): do not redefine default argument in
14580         implementation.
14581         (IsStringInText): ditto
14582         (SearchForward): ditto
14583         (SearchBackward): ditto
14584
14585 2001-03-06  Juergen Vigna  <jug@sad.it>
14586
14587         * lyxfind.C (IsStringInText): put parentes around expressions.
14588
14589 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14590
14591         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14592
14593 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14594
14595         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14596
14597         * stl_string_fwd.h: add comment
14598
14599         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14600
14601         * tabular.h:
14602         * tabular.C: remove unused DocBook methods
14603
14604         * intl.C:
14605         * language.C:
14606         * paragraph.C:
14607         * buffer.C:
14608         killed DO_USE_DEFAULT_LANGUAGE
14609
14610 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14611
14612         * lyx_gui.C: do not include language.h.
14613
14614         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14615         arguments in function implementation.
14616
14617 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14618
14619         * BufferView_pimpl.C: add <ctime>
14620
14621 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14622
14623         * BufferView_pimpl.C: add using std::find_if
14624
14625 2001-02-27  José Matos  <jamatos@fep.up.pt>
14626
14627         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14628         by OnlyPath.
14629
14630 2001-02-11  José Matos  <jamatos@fep.up.pt>
14631
14632         * buffer.C (makeDocBookFile): command styles now have a parameter as
14633         "title" by default.
14634
14635 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14636
14637         * layout_forms.[Ch]: removed
14638         * lyx_cb.[Ch]: out character
14639         * lyx_gui.C: out character
14640         * lyx_gui_misc.C: out character
14641         * bufferview_funcs.C: : out character,
14642         added toggleall as parameter in ToggleAndShow
14643
14644 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14645
14646         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14647
14648         * text2.C (SetCurrentFont): Disable number property at boundary.
14649
14650 2001-02-26  Juergen Vigna  <jug@sad.it>
14651
14652         * lyxfunc.C (getStatus): added a string argument override function so
14653         that this is correctly called from LyXFunc::Dispatch if it contains a
14654         do_not_use_argument which is used!
14655         (Dispatch): added check for "custom" export and call appropriate func.
14656
14657 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14658
14659         * lyxrc.C: Add language_command_local, language_use_babel and
14660         language_global_options.
14661
14662         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14663
14664         * buffer.C (makeLaTeXFile): Use language_use_babel and
14665         language_global_options.
14666
14667 2001-02-23  Juergen Vigna  <jug@sad.it>
14668
14669         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14670         which works with LyXText and putted it inside BufferView. Here now we
14671         only call for that part the BufferView::Dispatch() function.
14672
14673         * BufferView.C (Dispatch): added.
14674
14675         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14676         functions which needs to use a LyXText over from LyXFunc.
14677         (MenuInsertLyXFile): added
14678         (getInsetByCode): added
14679         (moveCursorUpdate): added
14680         (static TEXT): added
14681
14682 2001-02-22  Juergen Vigna  <jug@sad.it>
14683
14684         * BufferView_pimpl.C (update): call a status update to see if LyXText
14685         needs it.
14686
14687 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14688
14689         * vc-backend.C (revert): implement for CVS
14690         (getLog): implement for CVS
14691
14692 2001-02-20  Juergen Vigna  <jug@sad.it>
14693
14694         * text2.C (ClearSelection): added BufferView param for inset_owner call
14695
14696         * lyxfunc.C (TEXT): added this function and use it instead of
14697         directly owner->view()-text of getLyXText().
14698
14699 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14700
14701         * src/layout_forms.C: out preamble
14702         * src/layout_forms.h: out preamble
14703         * src/lyx_cb.C: out preamble
14704         * src/lyx_cb.h: out preamble
14705         * src/lyx_gui.C: out preamble
14706         * src/lyx_gui_misc.C: out preamble
14707         * src/lyxfunc.C: connect with guii preamble
14708
14709 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14710
14711         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14712
14713 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14716         whether to run bibtex.
14717
14718 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14721
14722 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14723
14724         * Makefile.am (lyx_SOURCES): removed bibforms.h
14725
14726         * vspace.h: doxygen
14727
14728         * text.C (GetVisibleRow): make several local vars const
14729
14730         * tabular.C: small cleanup.
14731
14732         * lyxserver.C (callback): use compare instead of strncmp
14733
14734         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14735         inlines to after class or to paragraph.C
14736
14737         * lyxfont.h: remove friend operator!=
14738
14739         * converter.h: move friend bool operator< to non friend and after
14740         class def.
14741
14742         * combox.h: small cleanup
14743
14744         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14745         to inlines after class def.
14746
14747         * buffer.C (pop_tag): use string operations instead of strcmp
14748
14749         * bmtable.c: doxygen, small cleanup
14750
14751         * LaTeX.h: remove friend operator==
14752
14753 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14754
14755         * screen.C:
14756         * lyxrc.[Ch]:
14757         * lyxfunc.C:
14758         * lyxfont.[Ch]:
14759         * lyx_cb.C:
14760         * intl.[Ch]:
14761         * commandtags.h:
14762         * buffer.C:
14763         * WorkArea.[Ch]:
14764         * LyXAction.C:
14765         * BufferView_pimpl.C:
14766         * BufferView.[Ch]: remove cruft
14767
14768 2001-02-14  Juergen Vigna  <jug@sad.it>
14769
14770         * lyxfunc.C: removed #if 0 unused code
14771
14772         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14773
14774         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14775
14776         * text2.C (SetSelection): added a BufferView * parameter
14777
14778 2001-02-13  Juergen Vigna  <jug@sad.it>
14779
14780         * lyxfunc.C (Dispatch): fixed protected blank problem.
14781         * BufferView2.C (protectedBlank): added LyxText * parameter.
14782
14783         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14784         (AppendColumn): same as above for column_info.
14785
14786         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14787         (moveCursorUpdate): use a LyXText param for support of InsetText.
14788
14789         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14790         (tripleClick): ditto
14791
14792         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14793
14794         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14795
14796         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14797
14798         * text2.C (SetSelection): set correct update status if inset_owner
14799         (ToggleFree): ditto
14800
14801 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14802
14803         * tabular.C: remove some commented code.
14804
14805 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * BufferView_pimpl.C: call hideSplash()
14808
14809         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14810
14811         * include_form.h:
14812         * bibforms.h: remove
14813
14814         * lyxfunc.C:
14815         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14816           add LFUN_CHILD_CREATE
14817
14818         * counters.h: fix tiny typo
14819
14820         * lyx_cb.C:
14821         * lyx.h:
14822         * lyx_gui.C:
14823         * lyx.C: move splash to frontends/xforms/
14824
14825         * lyx_gui_misc.C: move Include and Bibform to frontends
14826
14827         * lyxvc.h: clarify comment
14828
14829         * vspace.C: tiny housekeeping
14830
14831 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14832
14833         * text.C (PrepareToPrint): RTL Fix.
14834
14835         * paragraph.C (GetUChar): New method.
14836         (String):  Use GetUChar.
14837
14838         * buffer.C (asciiParagraph): Use GetUChar.
14839
14840 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14843
14844 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * buffer.h:
14847         * buffer.C: rename to getLogName(), handle
14848           build log / latex log nicely
14849
14850 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * MenuBackend.C:
14853         * MenuBackend.h: remove support for reference menuitem type.
14854
14855 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14856
14857         * BufferView_pimpl.C: housekeeping
14858         * BufferView_pimpl.h:
14859         * LyXView.h:
14860         * Makefile.am:
14861         * Timeout.C:
14862         * Timeout.h:
14863         * minibuffer.h: move Timeout GUI-I
14864
14865 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14866
14867         * lyxrc.C (read): Update converters data-structures.
14868
14869 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14870
14871         * LaTeX.h (operator!=): add operator != for Aux_Info
14872
14873 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14876
14877         * LaTeXLog.C: deleted, useful code moved to Buffer
14878
14879         * buffer.h:
14880         * buffer.C: new function getLatexLogName()
14881
14882         * lyx_gui_misc.C:
14883         * lyx_gui.C:
14884         * lyxvc.C:
14885         * lyxvc.h:
14886         * lyxfunc.C: use frontends for LaTeX and VC logs
14887
14888 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14889
14890         * LaTeX.h: yet another std:: that Allan forgot.
14891
14892         * Variables.C (set): renamed from isset(), because this clashes
14893         with some HP-UX macros (grr).
14894
14895 2001-02-06  Allan Rae  <rae@lyx.org>
14896
14897         * LaTeX.h: Another bug fix.  Missing std:: this time.
14898
14899 2001-02-04  Allan Rae  <rae@lyx.org>
14900
14901         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14902         floats problem. I've left it commented out because it's not quite
14903         correct.  It should also test that the current object is a table or
14904         figure inset.  But I haven't gotten around to figuring out how to do
14905         that.  I *think* it'll be something like: "table" == inset.type()
14906
14907         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14908         bool.
14909
14910 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14911
14912         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14913         all the citation/databases/styles in the auxilary file.
14914         (run): Rerun latex if there was a babel language error.
14915
14916 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14917
14918         * text.C (Backspace): Preserve the font when changing newline char
14919         with a space.
14920         (BreakParagraph): If the cursor is before a space, delete the space.
14921
14922         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14923
14924 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14925
14926         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14927         new argument (code).
14928         (ChangeCitationsIfUnique): New method.
14929
14930         * paragraph.C (GetPositionOfInset): Handle bibkey.
14931
14932 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * BufferView_pimpl.h: change type of Position::par_pos to
14935         LyXParagraph::size_type.
14936
14937 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14938
14939         * BufferView_pimpl.C (savePosition, restorePosition): Write
14940         messages to minibuffer.
14941
14942 2001-01-28  José Matos  <jamatos@fep.up.pt>
14943
14944         * buffer.C (makeDocBookFile): adds support for document language.
14945         A silly restriction on the name of LatexCommand types where removed.
14946         Added support for CDATA sections, allows to chars unescaped, used
14947         among others in code, to avoid escape < and >.
14948
14949 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14950
14951         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14952         saved positions instrad of a stack. Furthermore, a position is
14953         stored using paragraph id/paragraph position.
14954
14955         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14956         Remove LFUN_REF_BACK.
14957
14958 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14959
14960         * converter.C (dvipdfm_options): New method.
14961
14962 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14963
14964         * vspace.C (isValidLength): Fix for empty input string.
14965
14966 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * LyXAction.C (init): change description of LFUN_FIGURE to
14969         "Insert Graphics"
14970
14971 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14972
14973         * LaTeX.C: add using directive
14974
14975 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14976
14977         * MenuBackend.C (expand): Fix the sorting of the formats.
14978
14979 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * lyx_main.C: tiny error message fix
14982
14983 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14986         calling fl_initialize(). This fixes the problem with ',' as
14987         decimal separator in text files.
14988
14989 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14990
14991         * trans.C (process): Fix the keymap bug.
14992
14993 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * LaTeX.C (scanAuxFiles): New method. Provides support for
14996         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14997         (scanLogFile) Scan for "run BibTeX" messages.
14998
14999         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15000         OT1 font encoding. Also, load the aecompl package if the ae
15001         package is loaded.
15002
15003         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15004
15005 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * texrow.C (increasePos): turn two error messages into debug
15008         messages.
15009
15010 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * LaTeX.C (scanAux): Handle the \@input macro.
15013         (runBibTeX): Use scanAux().
15014
15015         * language.C (latex_options_): New field.
15016
15017         * LaTeXFeatures.C (getMacros): Add language macros.
15018
15019         * buffer.C (makeLaTeXFile): Small fix.
15020
15021 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15024
15025         * text2.C: add a using directive.
15026
15027 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15028
15029         * BufferView2.C:
15030         * lyx_gui_misc.h:
15031         * lyxfr1.C:
15032         * lyxfunc.C: kill LyXBell.
15033
15034 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * text.C (IsBoundary): Remove the error message
15037
15038         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15039
15040         * lyxrc.C (setDefaults): Correct initialization value for
15041         font_norm_type.
15042
15043 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15046         gotoError().
15047
15048         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15049         and GotoNextNote().
15050
15051         * src/LyXAction.C: Added reference-next.
15052
15053         * text.C (InsertChar): Use contains instead of strchr.
15054
15055         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15056
15057 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15058
15059         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15060         alignment commands (when needed).
15061
15062         * text.C (InsertChar): Add ':' to number separator chars.