]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b3ed0d7a83d35a84ac9037f531446e875280a659
[lyx.git] / src / ChangeLog
1 2004-03-26  Angus Leeming  <leeming@lyx.org>
2
3         * src/BufferView_pimpl.C:
4         * src/CutAndPaste.C:
5         * src/buffer.C:
6         * src/iterators.C:
7         * src/output_plaintext.C:
8         * src/outputparams.h:
9         * src/paragraph_funcs.C:
10         * src/rowpainter.C:
11         * src/text.C:
12         * src/text2.C:
13         * src/frontends/controllers/ControlErrorList.C:
14         * src/frontends/gtk/FileDialogPrivate.C:
15         * src/frontends/gtk/GPainter.C:
16         * src/frontends/gtk/GToolbar.C:
17         * src/frontends/qt2/QRef.C:
18         * src/mathed/math_scriptinset.C: squash compiler warnings.
19
20 2004-03-26  Angus Leeming  <leeming@lyx.org>
21
22         * ispell.C (LaunchIspell::start):
23         * lyx_cb.C (AutoSaveBuffer::start):
24         invoke run(DontWait) rather than runNonBlocking().
25
26 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
27
28         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
29
30 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * kbsequence.C (print): adjust
33
34         * kbmap.C (printKeySym): rename and change signature
35         (printKey): use LyXKeySym::print()
36
37 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * undo.C: add using std::advance to compile for stlport
40
41 2004-03-24  Angus Leeming  <leeming@lyx.org>
42
43         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
44         it leads to a crash when no buffer is present.
45
46 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47             Martin Vermeer  <martin.vermeer@hut.fi>
48
49         * lyxfunc.C (dispatch): 
50         * bufferparams.C (readToken): use the new LColor::setColor 
51
52         * LColor.[Ch] (setColor): new version that takes two strings as
53         argument and creates a new color entry if necessary
54
55 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
56
57         * buffer.C (makeLaTeXFile): if the main latex file that is
58         processed is usually a subdocument of some master, then pretend
59         for a while that it is actually the master
60
61 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
62
63         * buffer.C (getLabelList):
64         (getBibkeyList): use getMasterBuffer()
65         (getMasterBuffer): new method. Returns the main document in the
66         case where one is using included documents.
67
68 2004-03-25  André Pönitz  <poenitz@gmx.net>
69
70         * Makefile.am:
71         * iterators.[Ch]:
72         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
73
74         * ParagraphList_fwd.h: change ParagraphList to a std::vector
75
76         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
77         text*.C over here. Rename namespace CutAndPaste to lyx::cap
78
79         * ParameterStruct.h: merge with ParagraphParameters
80
81         * lyxtext.h: remove LyXText::parOffset() and getPar()
82
83         * text3.C: Remove all 'manual' update calls. We do now one per user
84         interaction which is completely sufficient.
85
86         * Bidi.C:
87         * BufferView.[Ch]:
88         * BufferView_pimpl.C:
89         * FontIterator.[Ch]:
90         * MenuBackend.C:
91         * ParagraphParameters.[Ch]:
92         * buffer.C:
93         * buffer.h:
94         * bufferlist.C:
95         * cursor.[Ch]:
96         * cursor_slice.[Ch]:
97         * dociterator.[Ch]:
98         * errorlist.[Ch]:
99         * factory.C:
100         * lfuns.h:
101         * lyxfind.C:
102         * lyxfunc.C:
103         * output_docbook.[Ch]:
104         * output_latex.[Ch]:
105         * output_linuxdoc.[Ch]:
106         * output_plaintext.[Ch]:
107         * paragraph.[Ch]:
108         * paragraph_funcs.[Ch]:
109         * paragraph_pimpl.[Ch]:
110         * rowpainter.C:
111         * tabular.[Ch]:
112         * text.C:
113         * text2.C:
114         * toc.C:
115         * undo.[Ch]: adjust
116
117         * frontends/controllers/ControlDocument.C:
118         * frontends/controllers/ControlErrorList.C:
119         * frontends/controllers/ControlSpellchecker.C:
120         * insets/inset.C:
121         * insets/inset.h:
122         * insets/insetbase.h:
123         * insets/insetbibitem.C:
124         * insets/insetbox.C:
125         * insets/insetbranch.C:
126         * insets/insetcaption.C:
127         * insets/insetcharstyle.C:
128         * insets/insetcharstyle.h:
129         * insets/insetcollapsable.C:
130         * insets/insetcollapsable.h:
131         * insets/insetert.C:
132         * insets/insetfloat.C:
133         * insets/insetfoot.C:
134         * insets/insetmarginal.C:
135         * insets/insetnote.C:
136         * insets/insetoptarg.C:
137         * insets/insettabular.C:
138         * insets/insettext.C:
139         * insets/insettext.h:
140         * insets/insetwrap.C:
141         * mathed/math_mboxinset.C:
142         * mathed/math_nestinset.C:
143         * mathed/math_scriptinset.C:
144         * mathed/math_scriptinset.h:
145         * support/types.h:
146
147 2004-03-24  Angus Leeming  <leeming@lyx.org>
148
149         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
150         deal with any child processes that have finished but are waiting to
151         communicate this fact to the rest of LyX.
152
153 2004-03-24  Angus Leeming  <leeming@lyx.org>
154
155         64-bit compile fixes.
156
157         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
158         (c-tor): pass lyx::pos_types rather than ints.
159
160         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
161         lyx::pos_type.
162
163         * text.C (Delete): compile fix.
164         (getPar): ensure that function declaration is the same as that in
165         the header file.
166
167 2004-03-23  Angus Leeming  <leeming@lyx.org>
168
169         * ispell.C (LaunchIspell):
170         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
171         a boost::shred_ptr rather than a std::auto_ptr.
172
173 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * lyxfunc.C (getStatus): handle read-only buffers correctly;
176         handle LFUN_FILE_INSERT_*
177
178         * lyxrc.C (setDefaults, getDescription, output, read):
179         * lyxrc.h: remove ps_command
180
181 2004-03-22  Angus Leeming  <leeming@lyx.org>
182
183         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
184         Ensure that error_handler is processed once only and that all data
185         is saved before attempting to output any warning messages.
186
187         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
188
189 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
190
191         * tabular.C (TeXRow): crash fix (from Kayvan and André)
192
193 2004-03-19  André Pönitz  <poenitz@gmx.net>
194
195         * cursor.[Ch] (reset): take main text inset as argument
196
197         * BufferView: adjust
198         * BufferView_pimpl.C: adjust
199
200         * paragraph.[Ch]: fix completely broken operator=()
201
202 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * LColor.C (getFromLyXName): make sure that the color name is used
205         as lowercase.
206
207 2004-03-17  Angus Leeming  <leeming@lyx.org>
208
209         * lfuns.h:
210         * LyXAction.C (init): remove LFUN_FORKS_KILL.
211
212         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
213         dialog and to kill a forked process.
214
215 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * text2.C (setCursorFromCoordinates): fix font problem
218
219 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
220
221         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
222         bogus "rebuild cursor" code
223
224 2004-03-11  André Pönitz  <poenitz@gmx.net>
225
226         * buffer.[Ch]: use InsetText instead of LyXText as container for
227         the main lyx text.
228
229         * dociterator.[Ch]: drop the BufferView * member which is not needed
230         anymore after the change to buffer.C
231
232         * paragraph_funcs.C:
233         * text.C:
234         * text2.C:
235         * BufferView.[Ch]:
236         * BufferView_pimpl.[Ch]:
237         * cursor.[Ch]:
238         * cursor_slice.[Ch]: adjust
239
240         * text3.C: fix bug in mathDispatch
241
242 2004-03-08  André Pönitz  <poenitz@gmx.net>
243
244         * undo.[Ch]: use 'StableDocumentIterator' as base for
245         the Undo struct.
246
247 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
248
249         * LaTeXFeatures.C:
250         * bufferparams.[Ch]: add jurabib support and param.
251
252         * LaTeX.C: add FIXME/comment.
253
254 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * buffer.C: increment file format to 230.
257
258 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
259
260         * cursor.C (dispatch): avoid infinite loops
261
262 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * rowpainter.C (paintSelection): fix x coordinates
265
266 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
267
268         * text.C (rowBreakPoint): fix breaking before displayed insets
269
270 2004-03-01  André Pönitz  <poenitz@gmx.net>
271
272         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
273
274         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
275
276         * Makefile.am:
277         * BufferView.C:
278         * BufferView_pimpl.C:
279         * buffer.C:
280         * lyxfind.C:
281         * lyxfunc.C:
282         * text.C:
283         * text2.C:
284         * text3.C: adjust
285
286 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
287
288         * lyxtext.h:
289         * text.C:
290         * text2.C:
291         * rowpainter.C:
292         * BufferView_pimpl.C: rename textwidth -> maxwidth,
293         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
294
295 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
296
297         * Bidi.[Ch] (computeTables): const correctness
298         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
299         fill_hfill, fill_label_hfill and x from Row
300         * lyxtext.h: prepareToPrint returns a RowMetrics
301         * rowPainter.C: adjust
302         * text.C (prepareToPrint): use width, not textWidth. adjust
303         (redoParagraphInternal, cursorX): adjust
304         * text2.C (getColumnNearX): adjust
305         (init): put a default value to the top LyXText::width
306
307 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
308
309         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
310
311 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * lyxtext.h: add FontIterator class
314
315         * text.C (FontIterator, operator*, operator->, operator++): add
316         (rowBreakPoint, setRowWidth): adjust (fixing a
317         rebreaking bug)
318
319 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * BufferView_pimpl.C (workAreaDispatch): allow also
322         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
323
324 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
325
326         * text.C (rowBreakPoint): fix a bug showing with very large insets
327
328 2004-02-25  André Pönitz  <poenitz@gmx.net>
329
330         * text3.C:
331         * cursor.[Ch]: move some mathed specific code to mathed
332
333 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
336         use_tempdir in preferences
337         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
338         tempfile creation
339         * lyx_main.C: ensure that tempdir is valid
340         * lyxlex.h: correct typo
341         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
342         * paragraph.[Ch] (isMultiLingual): make const
343         * cursor.[Ch] (openable): make const
344
345 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
346
347         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
348
349 2004-02-20  André Pönitz  <poenitz@gmx.net>
350
351         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
352
353         * cursor.[Ch]: prepare for localized getStatus()
354
355         * lyxtext.h:
356         * tabular.C:
357         * text.C:
358         * text2.C:
359         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
360
361 2004-02-20  André Pönitz  <poenitz@gmx.net>
362
363         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
364
365 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
366
367         * text2.C (setCursorFromCoordinates): switch to absolute coords
368         (cursorUp): adjust
369         (cursorDown): adjust
370         * text3.C (dispatch): adjust
371
372 2004-02-16  André Pönitz  <poenitz@gmx.net>
373
374         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
375           insets/ChangeLog)
376
377         * cursor_slice.[Ch]: remove unneeded acessor function
378
379         * lyxtext.h: rename rtl() to isRTL()
380
381         * rowpainter.C:
382         * tabular.C:
383         * text.C:
384         * text2.C:
385         * text3.C: adjust
386
387 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * rowpainter.C (paintSelection): coord fix
390
391 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
392
393         * Spacing.C: compile fix
394
395 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
396
397         * cursor.C (dispatch): restore current_ before returning
398
399 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * text2.C (cursorUp, cursorDown): fix coords
402         (moveUp): fix crash
403
404 2004-02-12  André Pönitz  <poenitz@gmx.net>
405
406         * lyxtext.h:
407         * text.C:
408         * text2.C:
409         * text3.C: add LCursor & parameter to most cursor movement functions
410           remove usage of LyXText::cursorRow() and cursorPar()
411
412         * cursor.[Ch]: add textRow() needed members
413
414         * BufferView.C:
415         * BufferView_pimpl.C:
416         * paragraph.[Ch]:
417         * BufferView.C:
418         * BufferView_pimpl.C: adjust
419
420 2004-02-11  André Pönitz  <poenitz@gmx.net>
421
422         * lyxfunc.C:
423         * BufferView.[Ch]:
424         * BufferView_pimpl.C: shift undo/redo handling
425
426         * cursor.[Ch]: fix mathed crash
427
428         * lyxfind.C:
429         * lyxtext.h: move selectionAsText to LCursor
430
431         * output_latex.C:
432         * paragraph.C:
433         * text.C:
434         * text2.C:
435         * text3.C: adjust
436
437         * rowpainter.C: fix excessive drawing
438
439 2004-02-06  André Pönitz  <poenitz@gmx.net>
440
441         * BufferView.[Ch]:
442         * BufferView_pimpl.[Ch]:
443         * text3.C: move some text specific LFUN handling
444
445 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * text3.C (checkInsetHit): adjust coords
448         * text2.C (getColumnNearX): adjust coords
449         (edit): adjust coords
450         * text.C (getRowNearY): add two asserts
451
452 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * converter.C:
455         * format.C: add using std::distance to compile on gcc 2.95/stlport
456
457 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
460
461 2004-02-04  André Pönitz  <poenitz@gmx.net>
462
463         * BufferView.[Ch] (insertInset):
464         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
465
466         * text2.C:
467         * text3.C: adjust
468
469 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
470
471         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
472         on the default clause of the switch
473         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
474         wasn't catched by LCursor::dispatch
475
476 2004-02-03  André Pönitz  <poenitz@gmx.net>
477
478         * BufferView.C:
479         * cursor.[Ch]: some additional asserts
480
481         * undo.[Ch]: remove LyXText dependency in interface
482
483         * lyxfunc.C: adjust
484
485         * lyxtext.h (firstPar, lastPar): remove dead functions
486
487         * text.C:
488         * text2.C:
489         * text3.C:
490         * paragraph.[Ch]: adjust
491
492 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * lyxfind.C (find): fix argument order in call to ::find
495
496 2004-02-02  André Pönitz  <poenitz@gmx.net>
497
498         * cursor.[Ch]: remove direct access to anchor
499
500         * text.C: remove findText() hack
501
502 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * iterators.[Ch] (lockPath): remove in favour of...
505         * BufferView.[Ch] (setCursor): this addition
506         * BufferView.C (putSelectionAt): adjust
507         * undo.C (performUndoOrRedo): adjust
508         * lyxfunc.C (dispatch): adjust
509
510 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * iterators.C (lockPath): add a missing slice
513         * undo.C (performUndoOrRedo): remove redundant positioning code
514
515 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
516
517         * vc-backend.C (scanMaster): ";" -> ';'
518
519 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
520
521         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
522         std::binary_function
523
524         * lyxtextclass.C (compare_name): rename to...
525         (LayoutNamesEqual): ...this
526
527         * lyxlex_pimpl.C (compare_tags): inherit from
528         std::binary_function, put back into anon namespace
529
530         * lyxfind.C (MatchString): inherig from std::binary_function
531         (findChange): use empty() istead of !size()
532
533         * format.C (FormatNamesEqual): new functor
534         (getFormat): use it
535         (getNumber): use it
536         (add): use it
537         (erase): use it
538         (setViewer): use it
539
540         * converter.C (compare_Converter): rename to...
541         (ConverterEqual): ...this, and fixup a bit.
542         (getConverter): use it, and make function const
543         (getNumber): use it, and make function const
544         (add): use it
545         (erase): use it:
546
547         * bufferlist.C: add using boost::bind
548
549         * MenuBackend.C (MenuNamesEqual): new functor
550         (hasMenu): use it, and make function const
551         (hasSubmenu): use nested bind to get rid of compare_memfun.
552
553 2004-01-30  André Pönitz  <poenitz@gmx.net>
554
555         * BufferView_pimpl.C:
556         * cursor.C:
557         * cursor.h:
558         * cursor_slice.[Ch]:
559         * lyxfunc.C:
560         * lyxtext.h:
561         * paragraph_funcs.C:
562         * paragraph_funcs.h:
563         * rowpainter.C:
564         * text.C:
565         * text2.C:
566         * text3.C: move some of the edit(x,y) handling to the insets
567         some coordinate changes.
568
569 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
570
571         * text.C: add using statements for std::advance and std::distance
572
573         * paragraph.C: add using statement for std::distance
574
575         * lyxfind.C: add using statement for std::advance
576
577         * cursor.C (region): remove std:: from swap
578         (openable): use nucleus in stead of operator->
579
580         * BufferView.C: add using statements for std::distance and std::swap
581
582 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
583
584         * iterators.C: Remove the pimple, move the needed structures to
585         the header file. Create accessor for the positions stack.
586         (asPosIterator): remove function
587
588         * PosIterator.C (PosIterator): move constructors to top of file
589         (PosIterator): reimplement the constructor taking a ParIterator in
590         terms of setFrom.
591         (setFrom): new function
592         (operator!=): inline it
593
594 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * lyxfind.C (replaceAll): use std::advance
597
598         * iterators.h: inherit from std::iterator.
599
600         * PosIterator.C (advance, distance): remove
601         * PosIterator.h: interit from std::iterator.
602
603 2004-01-26  André Pönitz  <poenitz@gmx.net>
604
605         * BufferView.[Ch]:
606         * BufferView_pimpl.[Ch]:
607         * InsetList.[Ch]:
608         * PosIterator.[Ch]:
609         * buffer.h:
610         * bufferview_funcs.C:
611         * cursor.[Ch]:
612         * cursor_slice.h:
613         * factory.[Ch]:
614         * iterators.[Ch]:
615         * lyxfind.C:
616         * lyxfunc.C:
617         * lyxtext.h:
618         * output_docbook.C:
619         * output_latex.C:
620         * output_linuxdoc.C:
621         * output_plaintext.C:
622         * paragraph.[Ch]:
623         * paragraph_funcs.[Ch]:
624         * paragraph_pimpl.[Ch]:
625         * rowpainter.C:
626         * tabular.C:
627         * tabular.h:
628         * text.C:
629         * text2.C:
630         * text3.C: more IU:  dumps most of the rest of the mathcursor
631     implementation into cursor.[Ch]; "globalize" a bit of it.
632
633 2004-01-25  Angus Leeming  <leeming@lyx.org>
634
635         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
636
637 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
638
639         * LaTeXFeatures.h: add nice_ and nice() const
640         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
641
642 2004-01-20  André Pönitz  <poenitz@gmx.net>
643
644         * BufferView.[Ch]:
645         * BufferView_pimpl.C:
646         * PosIterator.C:
647         * bufferview_funcs.C:
648         * cursor.[Ch]:
649         * cursor_slice.[Ch]:
650         * factory.C:
651         * iterators.C:
652         * lyx_cb.C:
653         * lyxfind.C:
654         * lyxfunc.C:
655         * lyxtext.h:
656         * rowpainter.C:
657         * text.C:
658         * text2.C:
659         * text3.C:
660         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
661           LCursor and mathcursor parts to LCursor and InsetBase.
662
663 2004-01-15  André Pönitz  <poenitz@gmx.net>
664
665         * cursor_slice.[Ch]: add a few covienience functions
666
667         * funcrequest.[Ch]: remove BufferView * member
668
669         * BufferView_pimpl.C:
670         * cursor.C:
671         * factory.[Ch]:
672         * lyxfind.[Ch]:
673         * lyxfunc.C:
674         * lyxtext.h:
675         * text3.C:
676         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
677
678 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
681         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
682
683 2004-01-13  André Pönitz  <poenitz@gmx.net>
684
685         * textcursor.[Ch]:
686         * lyxtext.h: hide cursor and selection anchor behind accessor function
687
688         * BufferView.C:
689         * BufferView_pimpl.[Ch]:
690         * PosIterator.C:
691         * bufferview_funcs.C:
692         * cursor.h:
693         * lyxfind.C:
694         * lyxfunc.C:
695         * text.C:
696         * text2.C:
697         * text3.C:
698         * undo.C: adjust
699
700         * cursor.h:
701         * cursor_slice.[Ch]: some integer type changes for inset unification
702
703         * lyxcursor.[hC]: remove, it's CursorSlice now.
704
705         * Makefile.am:
706         * BufferView_pimpl.[Ch]:
707         * bufferview_funcs.C:
708         * cursor_slice.C:
709         * lyxtext.h:
710         * text.C:
711         * text2.C:
712         * text3.C:
713         * textcursor.[Ch]: adjust
714
715 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * text2.C (undoSpan): add and use
718         * text.C (breakParagraph): use undoSpan (fix bug 578)
719         * lyxtext.h: adjust
720
721 2004-01-08  Angus Leeming  <leeming@lyx.org>
722
723         * BufferView_pimpl.C (MenuInsertLyXFile):
724         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
725         * lyxfunc.C (menuNew, open, doImport):
726         FileFilterList change to the FileDialog open and save functions.
727
728 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
729
730         * ShareContainer.h: make isEqual and isUnique adaptable
731
732         * CutAndPaste.C: make resetOwnerAndChanges adaptable
733
734 2004-01-07  Angus Leeming  <leeming@lyx.org>
735
736         * LyXAction.C:
737         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
738
739         * BufferView_pimpl.C (dispatch): act on these LFUNs.
740
741         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
742         functions replacing find, replace and replaceAll.
743
744         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
745         LFUN_WORDFIND(FORWARD|BACKWARD).
746
747 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
748
749         * text.C (breakParagraph): remove an outdated #warning
750
751 2004-01-07  André Pönitz  <poenitz@gmx.net>
752
753         * lyxfind.C: somewhat clearer logic
754
755         * text.C: prevent crash in cursorX on unitialized row cache
756
757 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * lyxcursor.[Ch] (operator>): add
760         * textcursor.C (selStart, selEnd): use std::min and std::max
761
762 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
763
764         * Chktex.C: include boost/format.hpp
765
766 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
767
768         * InsetList.C: replace functor MathcIt with adaptable functor
769         InsetTablePosLess
770         (insetIterator): modify accordingly
771
772         * BranchList.h: move the BranchNamesEqual functor here from...
773         * BranchList.C: ... to here
774
775         * BranchList.C: new BranchListEqual fuctor, use it. Remove
776         SameName and match.
777         (add): replace a finding loop with std::find_if.
778
779 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
780
781         * output_docbook.C: moving LatexParam functionality into
782         .layout files
783
784 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * buffer.C: increment format to 229.
787
788 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
789
790         * LaTeXFeatures.C:
791         * lyx_sty.[Ch]: remove minipageindent_def
792
793         * LyXAction.C:
794         * factory.C:
795         * lfuns.h:
796         * lyxfunc.C:
797         * text3.C: remove LFUN_INSET_MINIPAGE
798
799 2003-12-28  Angus Leeming  <leeming@lyx.org>
800
801         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
802
803 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
804
805         * text2.C (setParagraph): fix off-by-one crash
806
807 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * output_docbook.C: header stuff for AGU
810
811 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
812
813         * text2.C (redoCursor): remove
814         * text.C:
815         * text3.C:
816         * BufferView_pimpl.C: remove calls to redoCursor and
817         setCursor(cursor.par(), cursor.pos()) all around
818
819 2003-12-15  Angus Leeming  <leeming@lyx.org>
820
821         * buffer.C: up the format to 228.
822
823 2003-12-15  André Pönitz  <poenitz@gmx.net>
824
825         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
826         slices
827
828         * Makefile.am:
829
830         * BufferView_pimpl.C:
831         * cursor.[Ch]:
832         * lyxcursor.[Ch]:
833         * rowpainter.[Ch]:
834         * lyxtext.h:
835         * text.C:
836         * text2.C:
837         * text3.C: adjust
838
839 2003-12-15  Angus Leeming  <leeming@lyx.org>
840
841         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
842         than getFromGUIName to manipulate the color.
843
844 2003-12-14  Angus Leeming  <leeming@lyx.org>
845
846         * BranchList.[Ch]: minimize the API.
847         (Branch::getBranch, getColor): now return a 'const &'.
848         (Branch::setSelected) now returns a bool set to true if the
849         selection status changes.
850         (BranchList::clear, size, getColor, setColor, setSelected,
851         allBranches, allSelected, separator): removed.
852         (BranchList::find): new functions, returning the Branch with
853         the given name.
854         (BranchList::add, remove): return a bool indicating that
855         the operation was successful.
856
857         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
858         new InsetBranch::isBranchSlected member function.
859
860         * LColor.[Ch]: mimimize the API.
861         (fill): renamed as addColor and made private.
862         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
863         versions of these functions taking a string arg have been removed.
864
865         * bufferparams.C (readToken):
866         * lyxfunc.C (dispatch):
867         * lyxrc.C (read): changes due to the altered BranchList and
868         LColor APIs.
869
870         * factory.C (createInset, readInset): changes due to altered
871         InsetBranch c-tor.
872
873 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
874
875         * factory.C:
876         * lyxfunc.C: remove insetminipage. "minipage-insert"
877         now produces a frameless minipage box inset.
878
879 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
880
881         * textcursor.[Ch] (selStart,selEnd): add new methods
882         remove selection::start, end, use LyXCursor::operator<
883         * lyxcursor.[Ch] (operator<): add
884         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
885         * BufferView.[Ch] (unsetXSel): add
886         * text2.C (clearSelection): use unsetXSel,adjust
887         * text.C: adjust
888         * text3.C: adjust
889         * rowpainter.C: adjust
890         * bufferview_funcs.C (put_selection_at): adjust
891
892 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
893
894         * BufferView_pimpl.C: small coord. correction
895
896 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
897
898         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
899         dragging over the splash screen.
900
901 2003-12-11  Angus Leeming  <leeming@lyx.org>
902
903         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
904         as it is now handled in LyXText::dispatch.
905
906         * text3.C (doInsertInset): remove a level of nesting.
907
908 2003-12-11  Angus Leeming  <leeming@lyx.org>
909
910         * factory.C (createInset): changes due to the changed interface to
911         InsetCommandMailer::string2params.
912
913 2003-12-10  Angus Leeming  <leeming@lyx.org>
914
915         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
916         'dialog-show-new-inset <inset name>'
917
918 2003-12-10  Angus Leeming  <leeming@lyx.org>
919
920         * buffer.C: up the format to 227.
921
922         * factory.C: the box inset is now identified simply by 'Box'.
923
924 2003-12-10  Angus Leeming  <leeming@lyx.org>
925
926         * buffer.C: up the format to 226.
927
928         * factory.C: the note inset is now identified simply by 'Note'.
929
930 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
931
932         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
933         when a pit is enough. Standarize a couple of loops.
934
935 2003-12-05  Angus Leeming  <leeming@lyx.org>
936
937         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
938         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
939         data to the re-worked "log" dialog.
940
941 2003-12-03  André Pönitz  <poenitz@gmx.net>
942
943         * PosIterator.C:
944         * iterators.C:
945         * lyxtext.h:
946         * output_latex.C:
947         * paragraph_funcs.C:
948         * text.C:
949         * text2.C: use Inset::getText instead of Inset::getParagraph
950
951 2003-12-03  André Pönitz  <poenitz@gmx.net>
952
953         * buffer.[Ch]:
954         * lyxtext.h:
955         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
956         InsetText::read() as LyXText::read()
957
958 2003-12-02  Angus Leeming  <leeming@lyx.org>
959
960         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
961         type. Add a comment in the implementation that the function uses
962         the stream's bad() function rather than fail() as the std::streams
963         would do.
964
965 2003-12-02  André Pönitz  <poenitz@gmx.net>
966
967         * lyxlex.[Ch]: make interface more similar to std::stream
968
969         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
970
971 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
974
975 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
976
977         * vspace.[Ch]: remove VSpace::NONE
978
979 2003-12-01  André Pönitz  <poenitz@gmx.net>
980
981         * buffer.[Ch]:
982         * lyxtext.h: move ParagraphList member to LyXText
983         rename LyXText::ownerParagraphs to LyXText::paragraph
984
985         * CutAndPaste.C:
986         * bufferview_funcs.C:
987         * iterators.[Ch]:
988         * lyx_cb.C:
989         * paragraph.C:
990         * rowpainter.C:
991         * tabular.C:
992         * text.C:
993         * text2.C:
994         * text3.C: adjust
995
996         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
997
998         * undo.C: fix cursor positioning
999
1000 2003-12-01  John Levon  <levon@movementarian.org>
1001
1002         * BufferView_pimpl.C: fix a crash on exit with
1003         a buffer open
1004
1005 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1006
1007         * BranchList.C: fix setSelected() method.
1008
1009 2003-11-28  André Pönitz  <poenitz@gmx.net>
1010
1011         * ParagraphParameters.[Ch]:
1012         * ParameterStruct.h: remove space above/below from Paragraph to
1013          InsetVSpace
1014
1015         * BufferView_pimpl.C:
1016         * factory.C:
1017         * lyxfunc.C:
1018         * lyxtext.h:
1019         * output_latex.C:
1020         * paragraph.C:
1021         * paragraph_funcs.C:
1022         * rowpainter.[Ch]:
1023         * text.C:
1024         * text2.C:
1025         * text3.C: adjust
1026
1027 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1028
1029         * factory.C: Syntax change for CharStyles
1030
1031 2003-11-28  André Pönitz  <poenitz@gmx.net>
1032
1033         * BufferView.[Ch]:
1034         * BufferView.[Ch]:
1035         * buffer.[Ch]:
1036         * buffer.[Ch]: move LyXText member
1037
1038 2003-11-28  André Pönitz  <poenitz@gmx.net>
1039
1040         * BufferView.[Ch]: make LyXText * text a private member
1041
1042         * BufferView_pimpl.C:
1043         * cursor.C:
1044         * iterators.C:
1045         * lyx_cb.C:
1046         * lyxfind.C:
1047         * lyxtext.h:
1048         * rowpainter.[Ch]:
1049         * text.C:
1050         * text2.C:
1051         * undo.C: adjust
1052
1053         * output_plaintext.C: cleanup
1054
1055 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * buffer.C:
1058         * lyxtextclass.[Ch]: parametrize SGML document header
1059
1060 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * converter.[Ch]:
1063         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1064         getFlavor().
1065
1066 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * text2.C (setFont): rework using PosIterator (no more recursive)
1069         (setCharFont): no more needed
1070         (setLayout): no more selection cursors fiddling (done by redoCursor)
1071         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1072         destroy remaining ones)
1073
1074 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1075
1076         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1077         * lyxtext.h: ditto
1078         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1079         selection cursors
1080         * lyxfunc.C: adjust
1081         * text3.C: adjust + re-allow multi par depth changes
1082         * textcursor.C: simplify a bit
1083
1084 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1085
1086         * src/buffer.C:
1087         * src/lyxlayout.C:
1088         * src/lyxlayout.h:
1089         * src/lyxtext.h:
1090         * src/output_docbook.C:
1091         * src/output_latex.C:
1092         * src/paragraph.C:
1093         * src/paragraph.h:
1094         * src/sgml.C:
1095         * src/sgml.h:
1096         * src/text2.C: Introducing a number of tags parametrizing various
1097         XML formats that we may want to support
1098
1099 2003-11-25  André Pönitz  <poenitz@gmx.net>
1100
1101         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1102
1103         * lyxtext.h (leftMargin/rightMargin): simplify interface
1104
1105         * rowpainter.C:
1106         * text.C:
1107         * text2.C:
1108         * text3.C: adjust
1109
1110 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1111
1112         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1113         master file to any child files. Fixes bug 546.
1114
1115 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1118
1119 2003-11-24  André Pönitz  <poenitz@gmx.net>
1120
1121         * rowpainter.C: simplification
1122
1123         * text2.C (updateCounters): remove call to redoParagraph on
1124         changed labels as this is far too expensive.
1125
1126 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * converter.C (convert): fix a crash: this function gets
1129         called with buffer == 0 from importer code.
1130
1131 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1132
1133         * text3.C (cursorPrevious): make sure that we do not compare
1134         iterators form different containers.
1135         (cursorNext): ditto
1136
1137         * rowpainter.C (paintSelection): make sure that we do not compare
1138         iterators from different containers.
1139
1140         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1141         iterators from different ParagraphList containers.
1142         [NEXT] ditto
1143
1144         * text2.C (LyXText): change order of initialization slightly
1145         (operator=): new function. copy all variables except cache_par_
1146         (moveUp): make sure that we do not compare iterators from
1147         different ParagraphList constainers.
1148         (moveDown): ditto
1149
1150         * text.C (firstPar): new function
1151         (lastPar): new function
1152         (endPar): new function
1153
1154         * lyxtext.h: move things around and group public functions, public
1155         variables, private functions, private variables
1156
1157 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1158
1159         * factory.C: change call to InsetERT constructor to avoid
1160         additional invocation of method status
1161         * text2.C (toggleInset): remove redundant update() call
1162         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1163         instead of a Bufferview pointer
1164
1165 2003-11-21  André Pönitz  <poenitz@gmx.net>
1166
1167         * rowpainter.C: simplification
1168
1169 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * text3.C (dispatch): make possible to extend a word/row selection
1172         with the mouse
1173
1174 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * lyxtext.h: x0_,y0_ -> xo_,yo_
1177         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1178         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1179         * rowpainter.C (paintRows): paint full paragraphs
1180
1181 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1182
1183         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1184         screen coordinates)
1185
1186 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1187
1188         * lyxtext.h: add x0_, y0_
1189         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1190         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1191
1192 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1193
1194         * text2.C (setCursorIntern): move the x_target update here *
1195         * text3.C: change some bv() to true/false in calls to
1196         cursorUp/Down/Right/Left
1197         * cursor.C: use helper function.
1198
1199 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1202         * paragraph_funcs.[Ch]: correct comment
1203         * rowpainter.C: do not paint selections away from bv->cursor()
1204         Fix a long standing selection painting bug.
1205         * text3.C: generalize mouse-selection code to LyXTexts other that
1206         top one
1207         * textcursor.C: do not use y coords if we can use par offsets
1208
1209 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1210
1211         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1212         cursor position after e.g. inset insert)
1213
1214 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * lyxfind.C (replace): adjust to locking removal + some
1217         code simplification
1218
1219 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1220
1221         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1222         of the path
1223
1224 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1225
1226         * lyxlayout.[Ch]:
1227         * output_docbook.C: XML sanitation: new layout
1228         parameters InnerTag and CommandDepth
1229
1230 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1231
1232         * BufferView_pimpl.C:
1233         * factory.C:
1234         * text3.C: Fix the insertion and modification of button-style
1235         insets
1236
1237 2003-11-13  André Pönitz  <poenitz@gmx.net>
1238
1239         * InsetList.[Ch]: remove deleteLyXText
1240
1241         * paragraph.[Ch]: cache beginOfBody position
1242
1243         * Bidi.C:
1244         * text.C:
1245         * text2.C:
1246         * text3.C: remove superfluous update() calls
1247
1248         * vspace.C: cleanup
1249
1250 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1251
1252         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1253         * BufferView.C (fitLockedInsetCursor): remove
1254         * cursor.[Ch] (getDim): add
1255         * text.C (getRowNearY): add faster version
1256         * text3.C: remove some update calls
1257
1258 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * LaTeXFeatures.C:
1261         * LyXAction.C:
1262         * MenuBackend.C:
1263         * MenuBackend.h:
1264         * dispatchresult.h:
1265         * factory.C:
1266         * lfuns.h:
1267         * lyxfunc.C:
1268         * lyxtextclass.C:
1269         * lyxtextclass.h:
1270         * text3.C: The Character Style /XML short element patch.
1271
1272 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * text3.C:
1275         * factory.C: Small step to solving 'unable to insert some insets'
1276         problem
1277
1278 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1279
1280         * cursor.[Ch] (updatePos): new function for updating the y
1281         position of the tip inset
1282         * bufferview_funcs.C (put_selection_at):
1283         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1284
1285 2003-11-11  André Pönitz  <poenitz@gmx.net>
1286
1287         * text.C: remove big comment on invalid Paragraph pointers as it is
1288         not valid anymore
1289
1290 2003-11-11  André Pönitz  <poenitz@gmx.net>
1291
1292         * text_funcs.[Ch]: merge with ...
1293
1294         * text.C: ... this
1295
1296         * lyxtext.h:
1297         * text2.C:
1298         * text3.C: adjust
1299
1300         * Makefile.am: remove text_funcs.[Ch]
1301
1302 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1303
1304         * cursor.C (getPos): return absolute cached y coord
1305
1306         * BufferView_pimpl.C (fitCursor): new simplistic code
1307         (workAreaDispatch): add a fitCursor call
1308
1309 2003-11-10  André Pönitz  <poenitz@gmx.net>
1310
1311         * BufferView.[Ch]:
1312         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1313
1314 2003-11-10  André Pönitz  <poenitz@gmx.net>
1315
1316         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1317         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1318         indicate that the cursor needs to leave an inset
1319
1320         * lyxtext.h: remove inset locking
1321
1322         * cursor.[Ch]: re-implement functionality provided by inset locking
1323
1324         * BufferView.[Ch]:
1325         * BufferView_pimpl.[Ch]:
1326         * LyXAction.C:
1327         * bufferview_funcs.[Ch]:
1328         * factory.C:
1329         * funcrequest.[Ch]:
1330         * iterators.C:
1331         * lyx_cb.C:
1332         * lyxfind.C:
1333         * lyxfunc.C:
1334         * text.C:
1335         * text2.C:
1336         * text3.C:
1337         * undo.C: adjust
1338
1339 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1340
1341         * PosIterator.[Ch]: replace the stack with a vector, add inset
1342         accesor
1343         * iterators.[C]: adjust
1344
1345 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1346
1347         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1348         replaced
1349         * paragraph_funcs.C (readParToken): put the correct id in the
1350         error item, not the id of the top paragraph
1351
1352 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1353
1354         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1355         * bufferview_funcs.C (put_selection_at): use the above
1356
1357 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1358
1359         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1360
1361 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * output_linuxdoc.h:
1364         * output_plaintext.h:
1365         * output.h:
1366         * output_docbook.h: add #include statements
1367
1368 2003-11-05  José Matos  <jamatos@lyx.org>
1369
1370         * output_docbook.[Ch]:
1371         * output_latex.[Ch]:
1372         * output_linuxdoc.[Ch]:
1373         * output_plaintext.[Ch]: New files for output formats.
1374         * output.[Ch]: New file for helper functions.
1375
1376         * buffer.[Ch]:
1377         * paragraph_funcs.[Ch]: output functions moved to new files.
1378
1379         * outputparams.h: rename of latexrunparams.h
1380
1381         * LaTeX.[Ch]:
1382         * buffer.[Ch]:
1383         * bufferlist.[Ch]:
1384         * converter.[Ch]:
1385         * exporter.C:
1386         * paragraph.[Ch]:
1387         * paragraph_funcs.[Ch]:
1388         * paragraph_pimpl.[Ch]:
1389         * tabular.[Ch]: rename ascii to plaintext
1390         and LatexRunParams to OutputParams.
1391
1392 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1393
1394         * iterators.[Ch] (text): require bv argument
1395         * undo.C (recordUndo):
1396         * lyxfunc.C (dispatch):
1397         * bufferview_funcs.C (put_selection_at): adjust
1398
1399 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1400
1401         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1402
1403 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1404
1405         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1406         nestings
1407
1408 2003-11-04  André Pönitz  <poenitz@gmx.net>
1409
1410         * cursor.[Ch]: restructure
1411
1412         * BufferView.[Ch]:
1413         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1414
1415         * iterators.[Ch] (asCursor): remove
1416
1417         * lfuns.h: remove LFUN_INSET_EDIT
1418
1419         * lyxfunc.C:
1420         * tabular.C:
1421         * text.C:
1422         * text2.C:
1423         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1424
1425 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1426
1427         * lyxfind.[Ch]: complete overhaul
1428         * BufferView_pimpl.C:
1429         * lyxfunc.C: adjust
1430         * paragraph.[Ch] (insert): add
1431
1432 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1433
1434         * BufferView.[Ch]:
1435         * lyxtext.h:
1436         * text.C: remove dead spellcheck code
1437
1438 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1439
1440         * dispatchresult.h: add a val setter
1441
1442         * cursor.C (dispatch): use a tempvar for data_[i]
1443
1444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * PosIterator.[Ch]: compile fix
1447
1448 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1449
1450         * text.C (cursorPar): deactivate the cursor cache
1451
1452 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1455
1456 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1457
1458         * text3.C (dispatch): adjust for new DisptchResult semantics.
1459
1460         * lyxfunc.C (dispatch): handle update when return from
1461         Cursor::dispatch, adjust for new DispatchResult semantics.
1462
1463         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1464         DispatchResult(true) mean to not update. Add class functions for
1465         setting dispatched and update, as well as reading.
1466
1467         * cursor.C (dispatch): don't handle update here
1468
1469 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1470
1471         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1472         * trans_mgr.C: adjust
1473
1474         * paragraph_funcs.C (readParToken): exception safety
1475
1476         * lyxvc.h: store the vcs pointer in a scoped_ptr
1477         * lyxvc.C: adjust
1478
1479         * lyxsocket.C (serverCallback): exception safety
1480
1481         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1482
1483         * ispell.C (clone): make it return a auto_ptr
1484
1485         * factory.C (createInset): exception safety
1486         (readInset): exception safety
1487
1488         * bufferlist.C (newBuffer): exception safety
1489
1490         * Thesaurus.C (Thesaurus): use initialization for aik_
1491
1492         * MenuBackend.C (expandToc): exception safety.
1493
1494 2003-11-03  André Pönitz  <poenitz@gmx.net>
1495
1496         * buffer.C:
1497         * buffer.h:
1498         * bufferview_funcs.C: remove getInsetFromId()
1499
1500         * lyxcursor.[Ch]:
1501         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1502
1503         * lyxfunc.C:
1504         * text2.C:
1505         * text3.C: adjust
1506
1507 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * PosIterator.C (distance, advance): new
1510         * bufferview_funcs.[Ch] (put_selection_at): new
1511         * iterators.[Ch] (lockPath): new
1512
1513 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * iterators.[Ch] (asPosIterator): added
1516         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1517         * PosIterator.[Ch]: added
1518
1519 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1520
1521         * text3.C:
1522         * lyxfunc.C:
1523         * cursor.C (dispatch):
1524         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1525
1526         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1527         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1528         contructor, add a class function dispatched. Remove operator>=
1529
1530 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * debug.C: only use the default constructor for debugstream
1533         (lyxerr) here.
1534
1535         * main.C (main): include debug.h and setup the lyxerr streambuf
1536         here.
1537
1538 2003-10-31  José Matos  <jamatos@lyx.org>
1539
1540         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1541
1542         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1543         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1544         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1545         * paragraph_pimpl.C (simpleTeXSpecialC):
1546         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1547         add LatexRunParams argument.
1548
1549         * exporter.C (Export): change call accordingly.
1550
1551         * latexrunparams.h: add new member to take care of the other backends.
1552 2003-10-30  José Matos  <jamatos@lyx.org>
1553
1554         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1555         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1556         factorise code for paragraph output.
1557         * buffer.[Ch]:
1558         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1559         move functions.
1560
1561 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * text3.C (dispatch):
1564         * lyxfunc.C (dispatch):
1565         * cursor.C (dispatch):
1566         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1567
1568         * dispatchresult.h: make the dispatch_result_t ctor explicit
1569
1570 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1571
1572         * sgml.[Ch]:
1573         * buffer.C: small refactoring of docbook stuff
1574
1575 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1576
1577         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1578         meaning.
1579
1580 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1583         operator dispatch_result_t, and operators for == != and >=
1584
1585         * cursor.C (dispatch): adjust for operator dispatch_result_t
1586         removal. comment out call to update
1587
1588         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1589
1590 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * text3.C:
1593         * text2.C:
1594         * text.C:
1595         * lyxtext.h:
1596         * lyxfunc.C:
1597         * cursor.C:
1598         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1599         (dispatch):
1600
1601         * dispatchresult.h: new file, DispatchResult broken out of
1602         insets/insetbase.h
1603
1604         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1605
1606 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1607
1608         * text.C (rowBreakPoint): put a hack inside #if 0
1609
1610 2003-10-28  André Pönitz  <poenitz@gmx.net>
1611
1612         * lyxtext.h:
1613         * metricsinfo.C:
1614         * paragraph_funcs.C:
1615         * rowpainter.C:
1616         * text.C:
1617         * text2.C: general cleanup (lots of small stuff)
1618
1619 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * text2.C (cursorEnd): simple fix to the "end key goes to one
1622         before the end on last row" bug
1623
1624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * text.C (backspace): fix the "zombie characters"
1627
1628 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1631
1632 2003-10-27  André Pönitz  <poenitz@gmx.net>
1633
1634         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1635
1636         * factory.C: handle new InsetPagebreak, InsetLine
1637
1638         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1639         and move handling into new InsetPagebreak, InsetLine
1640
1641         * BufferView_pimpl.C:
1642         * LyXAction.C:
1643         * ParagraphParameters.C:
1644         * ParameterStruct.h:
1645         * lyxfunc.C:
1646         * lyxtext.h:
1647         * paragraph.C:
1648         * paragraph.h:
1649         * paragraph_funcs.C:
1650         * paragraph_pimpl.C:
1651         * rowpainter.C:
1652         * text.C:
1653         * text2.C:
1654         * text3.C: adjust
1655
1656 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1657
1658         * text.C:
1659         * lyxrow_funcs.[Ch]:
1660         * Bidi.C:
1661         * paragraph.C:
1662         * lyxtext.h:
1663         * rowpainter.C:
1664         * text2.C:
1665         * text3.C: remove lastPos uses in favour of Row::endpos
1666
1667 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1668
1669         * undo.C (performUndoOrRedo): fix two crashes by setting a
1670         cursor by hand and reordering some calls. Use bv->lockInset instead
1671         of inset->edit because the latter loses cursor information
1672
1673 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1674
1675         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1676         by Martin
1677         (rowBreakPoint): fix width. change point to point + 1.
1678         Add a missing check.
1679
1680 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1681
1682         * MenuBackend.C:
1683         * lyxfunc.C: fix (at least partly) the problems
1684         with the Nav menu and headers inside branch insets
1685         reported by Kayvan
1686
1687 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1688
1689         * paragraph.C (getChar): add strong asserts
1690
1691         * lyxrow_funcs.C (lastPos): remove hideous hack
1692
1693         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1694         (fill): adjust to that (avoid an infinite loop)
1695
1696 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1697
1698         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1699
1700 2003-10-23  André Pönitz  <poenitz@gmx.net>
1701
1702         * RowList_fwd.h: change list<> to vector<> to gain speed
1703         after suggestion from Alfredo
1704
1705 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1706
1707         * lyxtext.h: move the bidi stuff from here...
1708         * text.C: and here
1709         * text2.C: and here
1710         * Bidi.[Ch]: ... to here
1711
1712 2003-10-23  André Pönitz  <poenitz@gmx.net>
1713
1714         * lyxtext.h:
1715         * text.C (isLastRow, isFirstRow): new functions
1716
1717         * paragraph.h: new width cache member
1718
1719         * rowpainter.C: replace RowList::iterator with Row & where possible
1720
1721         * lyxfunc.C: replace several view()->text with a single call
1722
1723         * toc.C: fix 'unused' warning
1724
1725 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1728         when woring with stream::pos_type
1729         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1730
1731 2003-10-22  André Pönitz  <poenitz@gmx.net>
1732
1733         * lyxtext.h:
1734         * text.C: use Row & instead of RowList::iterator
1735
1736         * lyxrow.h: rename end() to endpos()
1737
1738         * rowpainter.C:
1739         * text.C:
1740         * text2.C: adjust
1741
1742 2003-10-22  Angus Leeming  <leeming@lyx.org>
1743
1744         * buffer.[Ch] (fully_loaded): new member function, returning true
1745         only when the file has been loaded fully.
1746         Used to prevent the premature generation of previews and by the
1747         citation inset to prevent computation of the natbib-style label.
1748
1749         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1750         templates are all set up.
1751
1752         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1753
1754 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1755
1756         * text.C: fixed an "oops" in the "is a bit silly"
1757         bug fix
1758
1759 2003-10-21  André Pönitz  <poenitz@gmx.net>
1760
1761         * FuncStatus.[Ch]: small stuff, whitespace
1762
1763         * lyxfont.[Ch]: operator<<() for debug reasons
1764
1765         * lyxfunc.C:
1766         * lyxrow_funcs.C:
1767         * lyxtext.h: whitespace, spelling
1768
1769         * paragraph.C: naming of variables
1770
1771         * text.C:
1772         * text2.C: small stuff
1773
1774
1775 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1776
1777         * text.C: (1) finish off the inset display() work;
1778         (2) fix the "is a bit silly" bug (accessing char
1779         past end of par).
1780
1781 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * text.C: re-introduce display() for insets, fixing the
1784         various bugs (stretch of line above, math inset
1785         positioning, ...)
1786
1787 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1788
1789         * text.C (rightMargin): remove spurious semicolon
1790
1791         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1792         1415)
1793
1794 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1795
1796         * text3.C: fix one crash due to wrong cursor def
1797
1798 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * vc-backend.C (scanMaster): make the regex static
1801
1802         * LaTeX.C (scanAuxFile): make the regexs static
1803
1804         * text3.C (doInsertInset, dispatch, dispatch):
1805         * text2.C (cursorUp, cursorDown):
1806         * text.C (selectNextWordToSpellcheck):
1807         * BufferView_pimpl.C (dispatch):
1808         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1809
1810 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1811
1812         * lyxsocket.C: include <cerrno>
1813
1814 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * lyxfunc.C (dispatch): remove textcache stuff
1817
1818         * bufferlist.C (release): remove textcache stuff
1819         (closeAll): ditto
1820
1821         * TextCache.C: delete file
1822         * TextCache.h: delete file
1823
1824         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1825
1826         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1827         delete of the bv_->text.
1828         (resizeCurrentBuffer): remove texcache stuff
1829         (workAreaResize): ditto
1830
1831 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1832
1833         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1834         action.
1835
1836 2003-10-16  André Pönitz  <poenitz@gmx.net>
1837
1838         * lyxrow.[Ch]:
1839         * paragraph.h:
1840         * rowpainter.C:
1841         * text.C:
1842         * text2.C:
1843         * text3.C: speed up by storing y positions per paragraph plus per-row
1844         offset instead of having a 'full' y position in the row.
1845
1846 2003-10-15  André Pönitz  <poenitz@gmx.net>
1847
1848         * iterators.[Ch]:
1849         * iterators.[Ch]:
1850         * undo.[Ch]: make undo aware of inner insets
1851
1852 2003-10-14  Angus Leeming  <leeming@lyx.org>
1853
1854         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1855         static member functions LyX::ref() and LyX::cref.
1856         (lastfiles): new accessor functions for the new lastfiles_ member var.
1857         (addLyXView, views_): add a new LyXView to the list of views_.
1858         (updateInset): loop over all LyXViews to call their own updateInset
1859         member function, returning a pointer to the Buffer owning the inset.
1860
1861         * BufferView_pimpl.C (loadLyXFile):
1862         * MenuBackend.C (expandLastfiles):
1863         * bufferlist.C (MenuWrite, QuitLyX):
1864         lastfiles is no longer a global variable.
1865         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1866
1867         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1868         static function. Access through LyX::cref().emergencyCleanup().
1869
1870 2003-10-14  André Pönitz  <poenitz@gmx.net>
1871
1872         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1873
1874         * undo.[Ch]: restoring part of 'undo in insets'
1875
1876         * Makefile.am:
1877         * undo_funcs.[Ch]: merge with undo.[Ch]
1878
1879         * tabular.C: small cleansing stuff
1880
1881 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1882
1883         * paragraph_funcs.C (readParToken): report unknown insets as error
1884         boxes. Use the outer paragraph as location (also for unknown
1885         tokens).
1886
1887         * factory.C (readInset): do not abort on reading an unknown inset.
1888         Eat it and return 0.
1889
1890 2003-10-13  Angus Leeming  <leeming@lyx.org>
1891
1892         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1893
1894         * lyxrc.C: displayTranslator is now a function,
1895         declared in GraphicsTypes.h.
1896
1897 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1898
1899         * format.C: new placeholder $$a to pass the socket address.
1900
1901         * bufferlist.[Ch]: new function getBufferFromTmp.
1902
1903         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1904           files in the temporary dir.
1905
1906 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1907
1908         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1909
1910         * Makefile.am: add lyxsocket.[Ch].
1911
1912         * lyx_main.C (error_handler): handle SIGPIPE.
1913
1914 2003-10-13  André Pönitz  <poenitz@gmx.net>
1915
1916         * BufferView_pimpl.C:
1917         * lyxtext.h:
1918         * text.C:
1919         * text2.C:
1920         * text3.C:
1921         * undo_funcs.[Ch]: use paroffset_type instead of
1922           ParagraphList::iterators to prevent multiple conversion
1923           (and get a more robust interface)
1924
1925 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1928         * lyxtext.h: ditto
1929         * text3.C (dispatch): ditto
1930
1931 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1932
1933         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1934         move the onlyfile, use onlyfile instead of foundfile in a couple
1935         of places.
1936
1937         * DepTable.C (update): flush the error stream a bit more
1938
1939 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1940
1941         * lyxserver.C (callback): adjust
1942
1943         * lyxfunc.C (getStatus): add a missing brace in commented code
1944         (ensureBufferClean): reindent
1945         (dispatch): delete version taking a string
1946
1947 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * LaTeX.C (deplog): move found file handlig from here...
1950         (handleFoundFile): .. to new function here.
1951         (deplog): make sure to discover several files mentioned on the
1952         same log line.
1953
1954 2003-10-10  André Pönitz  <poenitz@gmx.net>
1955
1956         * lyxfunc.C:
1957         * lyxtext.h:
1958         * tabular.C:
1959         * text.C:
1960         * text2.C:
1961         * text3.C: fix some of the tabular crashes
1962
1963 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1964
1965         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1966
1967         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1968
1969 2003-10-09  André Pönitz  <poenitz@gmx.net>
1970
1971         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1972
1973         * BufferView.C:
1974         * BufferView_pimpl.C:
1975         * bufferview_funcs.C:
1976         * lyx_cb.C:
1977         * lyxcursor.C:
1978         * lyxfind.C:
1979         * lyxfunc.C:
1980         * lyxtext.h:
1981         * text.C:
1982         * text2.C:
1983         * text3.C:
1984         * text_funcs.[Ch]:
1985         * textcursor.[Ch]:
1986         * undo_funcs.C: adjust
1987
1988 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * text2.C (incrementItemDepth): new function, use a backtracking
1991         algorithm to discover the correct item depth.
1992         (resetEnumCounterIfNeeded): new function, use a backtracking
1993         algorithm to discover if counter reset is needed.
1994         (setCounter): use them. Simplify a bit. Add different labels for
1995         different item depths for itemize.
1996
1997         * paragraph.C (Paragraph): remove initialization of enumdepth
1998         (operator=): ditto
1999
2000         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2001         enumerate and itemize. Change the type of itemdepth to signed char.
2002
2003 2003-10-08  André Pönitz  <poenitz@gmx.net>
2004
2005         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2006           thing assignable.
2007         * text.C:
2008         * text2.C: adjust
2009
2010         * tabular.[Ch]: fix crash after 'row-insert'
2011
2012 2003-10-08  Angus Leeming  <leeming@lyx.org>
2013
2014         Fix doxygen warnings.
2015
2016         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2017         Remove CutAndPaste:: prefix from header file declaration.
2018
2019         * LColor.h (fill): remove LColor:: prefix from declaration.
2020
2021         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2022         use lyx::depth_type rather than Paragraph::depth_type so that
2023         header file and .C file match.
2024
2025         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2026
2027         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2028         * aspell.C: \file aspell_local.C -> \file aspell.C
2029         * gettext.C: \file gettext.C -> \file src/gettext.C
2030         * gettext.h: \file gettext.h -> \file src/gettext.h
2031         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2032         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2033         * text.C: \file text.C -> \file src/text.C
2034
2035         * toc.C: move comment so that doxygen is not confused.
2036
2037 2003-10-07  Angus Leeming  <leeming@lyx.org>
2038
2039         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2040
2041 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2042
2043         * aspell.C:
2044         * aspell_local.h: add forgotten std::string's.
2045
2046 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2047
2048         * LaTeXFeatures.C:
2049         * LyXAction.C:
2050         * factory.C:
2051         * lfuns.h:
2052         * lyxfunc.C:
2053         * text3.C: The Box patch. Fancybox support, minipage, parbox
2054
2055 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2056
2057         * CutAndPaste.h:
2058         * DepTable.h:
2059         * FloatList.h:
2060         * LaTeXFeatures.h:
2061         * ParagraphParameters.h:
2062         * TextCache.h:
2063         * Thesaurus.h:
2064         * bufferlist.h:
2065         * exporter.h:
2066         * importer.h:
2067         * lastfiles.h:
2068         * lyxfind.h:
2069         * lyxfont.h:
2070         * lyxlex.h:
2071         * lyxtextclasslist.h:
2072         * messages.h:
2073         * paragraph.h:
2074         * paragraph_pimpl.C:
2075         * textcursor.h: add <string> and other small fixes to make Lars'
2076         std::string patch compile with STLport.
2077
2078 2003-10-06  Angus Leeming  <leeming@lyx.org>
2079
2080         * LColor.h: Add missing #include <string>.
2081
2082 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2083
2084         * All most all file in all subdirs: Make <string> be the prefered
2085         way of getting to std::string, add using declarations.
2086
2087 2003-10-06  André Pönitz  <poenitz@gmx.net>
2088
2089         * metricsinfo.C: initialize LyXFont before changing attribute.
2090         (fixes the 'math in \emph is upright' bug)
2091
2092 2003-10-06  André Pönitz  <poenitz@gmx.net>
2093
2094         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2095
2096 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2097
2098         * graph.C:
2099         * paragraph_pimpl.C: Small fixes to build using STLport
2100
2101 2003-10-02  André Pönitz  <poenitz@gmx.net>
2102
2103         * lyxfunc.C:
2104         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2105
2106 2003-10-01  André Pönitz  <poenitz@gmx.net>
2107
2108         * factory.C: assert early
2109
2110 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * lyx_main.C: remove the global debug object
2113
2114         * debug.h: adjust for new debugstream
2115
2116         * debug.C: adjust for new debugstream and keep the global debug
2117         object here.
2118
2119 2003-09-22  Angus Leeming  <leeming@lyx.org>
2120
2121         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2122         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2123         an incomplete class LyXFont.
2124
2125 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2126
2127         * factory.C: bug fix in branches
2128
2129 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * lyxfunc.C (processKeySym): adjust
2132         (dispatch): adjust
2133         (dispatch): change arg name from ev to func, adjust
2134         (sendDispatchMessage): ditto
2135
2136         * lyx_main.C (defaultKeyBindings): adjust keybindings
2137         (deadKeyBindings): ditto
2138
2139         * kbsequence.C (addkey): return a FuncRequest
2140
2141         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2142
2143         * kbmap.C (bind): take a FuncRequest as arg, adjust
2144         (read): adjust
2145         (lookup): adjust
2146         (defkey): change to take a FuncRequest as arg, adjust
2147         (findbinding): take a FuncRequest as arg, adjust.
2148
2149         * funcrequest.h (operator=): added
2150
2151         * funcrequest.C (FuncRequest): default kb_action changed from
2152         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2153
2154         * buffer.C (dispatch): simplify
2155         (dispatch): adjust to take a FuncRequest as arg, adjust
2156
2157         * boost.C (assertion_failed): change assertion message slightly
2158
2159         * ToolbarBackend.C (read): simplify
2160
2161         * MenuBackend.C (binding): adjust call to findbinding, add a
2162         message if no binding is found.
2163         (read): simplify
2164         (expandToc): correct by adding a empty FuncRequest
2165
2166         * LyXAction.C: include <boost/assert.hpp>
2167         (isPseudoAction): delete function
2168         (LookupFunc): change name to...
2169         (lookupFunc): this. change return type to FuncRequest.
2170         (getActionName): take kb_action as arg, simplify
2171         (funcHasFlag): add an assert, simplify.
2172
2173 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * toc.C (action): return a FuncRequest, simplify
2176
2177         * lyxfunc.C (processKeySym): adjust
2178         (getStatus): delete version that takes an int.
2179         (getStatus): adjust
2180         (dispatch): delete version that takes action as int
2181         (dispatch): adjust
2182         (sendDispatchMessage): simplify and adjust
2183
2184         * funcrequest.C (getArg): take unsigned int as arg
2185
2186         * ToolbarBackend.C (read): adjust
2187         (add): delete version that takes func as a string.
2188         (getIton): take a FuncRequest as arg
2189
2190         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2191         action.
2192
2193         * MenuBackend.C (MenuItem): add a new construct that only takes a
2194         Kind, simplify the constructor use for submenus.
2195         (add): adjust
2196         (expandLastfiles): adjust
2197         (expandDocuments): adjust
2198         (expandFormats): adjust
2199         (expandFloatListInsert): adjust
2200         (expandFloatInsert): adjust
2201         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2202
2203         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2204         Remove class variables lyx_pseudo_map and lyx_arg_map
2205
2206         * LyXAction.C (searchActionArg): delete function
2207         (getPseudoAction): delete function
2208         (retrieveActionArg): delete function
2209         (LookupFunc): make it return kb_action, simplify.
2210         (getActionName): simplify
2211
2212         * factory.C (createInset): fix new bug
2213
2214 2003-09-19  Angus Leeming  <leeming@lyx.org>
2215
2216         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2217         masterFilename_ parameter in the include inset.
2218
2219         * factory.C (createInset): changes due to the changes to InsetInclude.
2220
2221 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2222
2223         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2224
2225 2003-09-18  Angus Leeming  <leeming@lyx.org>
2226
2227         * buffer.C:
2228         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2229         Inset::fillWithBibKeys.
2230         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2231
2232 2003-09-18  Angus Leeming  <leeming@lyx.org>
2233
2234         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2235         variables.
2236         (ctor): pass and store a 'Buffer const &'
2237         (buffer): new member function.
2238
2239         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2240         '*this' to the LaTeXFeatures ctor.
2241
2242 2003-09-18  Angus Leeming  <leeming@lyx.org>
2243
2244         * LColor.h:
2245         * lyxfont.C:
2246         * lyxfont.h:
2247         * lyxtext.h:
2248         * text.C: rename EnumLColor as LColor_color.
2249
2250 2003-09-18  Angus Leeming  <leeming@lyx.org>
2251
2252         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2253         remove #include "insets/insetbase.h" from cursor.h.
2254
2255 2003-09-18  Angus Leeming  <leeming@lyx.org>
2256
2257         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2258         InsetOld_code to remove #include "inset.h".
2259
2260         * iterators.C: add #include "insets/inset.h"
2261
2262 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * BufferView.C: remove more locking stuff that apparently doesn't
2265         do anything sensible.
2266
2267 2003-09-16  André Pönitz  <poenitz@gmx.net>
2268
2269         * paragraph.[Ch]:
2270         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2271           performance boost.
2272
2273 2003-09-16  Angus Leeming  <leeming@lyx.org>
2274
2275         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2276
2277         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2278         arg/return type.
2279
2280         * paragraph.h: remove #include "lyxfont.h". Forward declare
2281         LyXFont_size.
2282
2283 2003-09-16  Angus Leeming  <leeming@lyx.org>
2284
2285         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2286         of support/textutils.h.
2287         (isWord): move the contents of support/textutils.h's IsWordChar here.
2288
2289         * buffer.C:
2290         * lyxfind.C:
2291         * rowpainter.C:
2292         * text.C:
2293         * text2.C: add #include "paragraph.h".
2294
2295         * rowpainter.C:
2296         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2297
2298 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * main.C:
2301         * lyx_main.C:
2302         * lyx_cb.C:
2303         * buffer.C:
2304         * LaTeX.C: use namespace alias for lyx::support::os
2305
2306 2003-09-16  Angus Leeming  <leeming@lyx.org>
2307
2308         * bufferparams.C:
2309         * bufferview_funcs.C:
2310         * factory.C:
2311         * lyxfunc.C:
2312         * paragraph_pimpl.C:
2313         * rowpainter.C:
2314         * text.C: add #include "LColor.h".
2315
2316 2003-09-16  Angus Leeming  <leeming@lyx.org>
2317
2318         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2319         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2320         return LyXFont &.
2321         Store the FontBits::color variable as an int rather than as an
2322         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2323         file.
2324
2325         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2326         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2327         string calls together.
2328
2329         * lyxrc.C: add #include "LColor.h".
2330
2331 2003-09-15  Angus Leeming  <leeming@lyx.org>
2332
2333         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2334         a cow_ptr.
2335
2336 2003-09-15  Angus Leeming  <leeming@lyx.org>
2337
2338         * LColor.h: add an EnumLColor wrapper for LColor::color.
2339
2340         * lyxfont.[Ch] (color, setColor, realColor):
2341         * lyxtext.h, text.C (backgroundColor):
2342         pass EnumLColor args to/from the functions, rather than LColor::color
2343         ones.
2344
2345         * lyxfont.h:
2346         * lyxtext.h: forward declare EnumLColor.
2347
2348         * lyx_main.C: add #include "LColor.h".
2349
2350 2003-09-15  Angus Leeming  <leeming@lyx.org>
2351
2352         * .cvsignore: add lyx-gtk.
2353
2354 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2355
2356         * Chktex.C
2357         * LaTeX.C
2358         * LaTeXFeatures.C
2359         * ParagraphParameters.C
2360         * Spacing.C
2361         * buffer.C
2362         * bufferparams.C
2363         * bufferview_funcs.C
2364         * chset.C
2365         * counters.C
2366         * funcrequest.C
2367         * lyxfont.C
2368         * lyxgluelength.C
2369         * lyxlength.C
2370         * paragraph.C
2371         * paragraph_funcs.C
2372         * text3.C
2373         * vc-backend.C: remove usage of STRCONV
2374
2375 2003-09-15  Angus Leeming  <leeming@lyx.org>
2376
2377         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2378         explicitly define the color passed to the painter.
2379
2380 2003-09-15  Angus Leeming  <leeming@lyx.org>
2381
2382         * bufferparams.C (BufferParams): reorder member initializers to avoid
2383         compiler warning.
2384
2385 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2388         * text.C (updateRowPositions): remove an unusual nop
2389
2390 2003-09-12  André Pönitz  <poenitz@gmx.net>
2391
2392         * BufferView_pimpl.C:
2393         * Bullet.C:
2394         * layout.h:
2395         * lyxfunc.C:
2396         * lyxlayout.[Ch]:
2397         * lyxtextclass.C:
2398         * rowpainter.C:
2399         * text.C:
2400         * text2.C:
2401         * Counters.[Ch]: finish the 'automatic counters' job
2402
2403 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2404
2405         * aspell.C: include <boost/assert.cpp> (compile fix)
2406
2407 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2408
2409         * boost.C (assertion_failed): use lyx::support::abort instead of
2410         assert.
2411
2412 2003-09-10  Angus Leeming  <leeming@lyx.org>
2413
2414         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2415         with their _fwd progeny.
2416
2417 2003-09-09  Angus Leeming  <leeming@lyx.org>
2418
2419         134 files throughtout the source tree: replace 'using namespace abc;'
2420         directives with the appropriate 'using abc::xyz;' declarations.
2421
2422 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2423
2424         * boost.C (emergencyCleanup): moved here from LAssert.c
2425         (assertion_failed): new function, called by BOOST_ASSERT
2426
2427         * several files: change Assert to BOOST_ASSERT
2428
2429 2003-09-09  Angus Leeming  <leeming@lyx.org>
2430
2431         * buffer.[Ch]: Add an Impl class and move Buffer's member
2432         variables into it. As a result move several header files out of
2433         buffer.h.
2434
2435         Add header files to lots of .C files all over the tree as a result.
2436
2437 2003-09-09  Angus Leeming  <leeming@lyx.org>
2438
2439         * buffer.[Ch]: make Buffer's member variables private. Add
2440         accessor functions.
2441
2442         Lots of changes all over the tree as a result.
2443
2444 2003-09-08  Angus Leeming  <leeming@lyx.org>
2445
2446         * graph.C: #include <config.h>.
2447
2448 2003-09-08  Angus Leeming  <leeming@lyx.org>
2449
2450         * BranchList.C:
2451         * BufferView.C:
2452         * BufferView_pimpl.C:
2453         * CutAndPaste.C:
2454         * DepTable.C:
2455         * LaTeX.C:
2456         * LaTeXFeatures.C:
2457         * LyXAction.C:
2458         * MenuBackend.C:
2459         * TextCache.C:
2460         * aspell.C:
2461         * buffer.C:
2462         * bufferlist.C:
2463         * changes.C:
2464         * chset.C:
2465         * converter.C:
2466         * counters.C:
2467         * debug.C:
2468         * graph.C:
2469         * ispell.C:
2470         * lyx_cb.C:
2471         * lyxfind.C:
2472         * lyxfunc.C:
2473         * lyxlex_pimpl.C:
2474         * lyxrc.C:
2475         * lyxrow.C:
2476         * paragraph.C:
2477         * rowpainter.C:
2478         * texrow.C:
2479         * text.C:
2480         * text2.C:
2481         * toc.C: remove redundant using directives.
2482
2483 2003-09-07  Angus Leeming  <leeming@lyx.org>
2484
2485         * LaTeXFeatures.h: remove #include "support/types.h".
2486         * ToolbarBackend.h: remove #include <algorithm>.
2487         * changes.h: remove #include <ctime>.
2488         * debug.h: remove #include <iosfwd>.
2489         * graph.h: remove #include "support/std_string.h".
2490         * lyx_main.h: remove #include <csignal>.
2491         * lyxlex_pimpl.h: remove #include <fstream>.
2492         * sgml.h: remove #include <algorithm>, <utility>.
2493         * toc.h: remove #include "support/std_ostream.h".
2494         Add #include <iosfwd>.
2495
2496 2003-09-07  Angus Leeming  <leeming@lyx.org>
2497
2498         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2499
2500         * converter.h: forward declare LatexRunParams.
2501         * encoding.h: remove #include "lyxrc.h".
2502         * lyxtext.h: remove #include "LColor.h".
2503         * lyxtextclass.h: remove #include "support/types.h".
2504         * trans.h: remove #include "tex-accent.h".
2505         * trans_mgr.h: remove #include "tex-accent.h".
2506         * insets/inset.h: remove #include "support/types.h", <vector>.
2507         * insets/insetcollapsable.h: remove #include "LColor.h".
2508         * insets/insetinclude.h: remove #include "dimension.h".
2509         * insets/insetlatexaccent.h: remove #include "dimension.h".
2510         * insets/insetoptarg.h:: remove #include "insettext.h".
2511         * insets/insettext.h: remove #include "dimension.h",
2512         <boost/shared_ptr.hpp>
2513
2514         * insets/renderers.h: add #include "dimension.h".
2515         * insets/updatableinset.h: add #include "support/types.h".
2516
2517         * many .C files: Associated changes.
2518
2519 2003-09-06  Angus Leeming  <leeming@lyx.org>
2520
2521         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2522         one, inside testInvariant.
2523
2524         * PrinterParams.C: new file.
2525         * PrinterParams.[Ch]: move the function bodies out of line.
2526
2527 2003-09-06  Angus Leeming  <leeming@lyx.org>
2528
2529         * ParagraphParameters.h: forward declare ParameterStruct rather than
2530         including its header file.
2531         (depth): moved out-of-line.
2532
2533 2003-09-06  Angus Leeming  <leeming@lyx.org>
2534
2535         * BufferView_pimpl.h:
2536         * kbmap.h:
2537         * kbsequence.h:
2538         * lyxfunc.h: forward declare LyXKeySym rather than
2539         #include "frontends/LyXKeySym.h".
2540
2541         * BufferView_pimpl.C:
2542         * kbmap.C:
2543         * kbsequence.C:
2544         * lyxfunc.C: associated changes.
2545
2546 2003-09-06  Angus Leeming  <leeming@lyx.org>
2547
2548         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2549         As a result, can remove the #include "insets/inset.h" from BufferView.h
2550
2551 2003-09-06  Angus Leeming  <leeming@lyx.org>
2552
2553         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2554         As a result, can remove the #include "insets/inset.h" from BufferView.h
2555
2556 2003-09-06  Angus Leeming  <leeming@lyx.org>
2557
2558         * buffer_funcs.C:
2559         * buffer.h:
2560         * bufferlist.C:
2561         * BufferView.C:
2562         * bufferview_funcs.C:
2563         * BufferView_pimpl.C:
2564         * CutAndPaste.C:
2565         * lyx_cb.C:
2566         * lyxfunc.C:
2567         * paragraph.h:
2568         * ParagraphParameters.C:
2569         * tabular.C:
2570         * text3.C:
2571         * toc.C:
2572         * undo_funcs.C:
2573         * frontends/controllers/ControlDocument.C:
2574         * insets/insetcaption.C: rearrange the #includes into some sort of
2575         coherent order.
2576
2577         * buffer.h: remove #includes ErrorList.h, undo.h
2578
2579 2003-09-06  Angus Leeming  <leeming@lyx.org>
2580
2581         * support/types.h: add a 'depth_type' typedef, used to store the
2582         nesting depth of a paragraph.
2583
2584         * paragraph.h:
2585         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2586         defining explicitly.
2587
2588         * buffer.h:
2589         * paragraph_funcs.h:
2590         * ParagraphParameters.h:
2591         * sgml.h: use lyx::depth_type rather than Paragraph or
2592         ParameterStruct's depth_type.
2593
2594         * buffer.h
2595         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2596
2597         * BufferView.C:
2598         * BufferView_pimpl.C:
2599         * CutAndPaste.C:
2600         * ParagraphParameters.C:
2601         * buffer_funcs.C:
2602         * bufferlist.C:
2603         * bufferview_funcs.C:
2604         * lyx_cb.C:
2605         * lyxfunc.C:
2606         * tabular.C:
2607         * text3.C:
2608         * toc.C:
2609         * undo_funcs.C:
2610         * frontends/LyXView.C:
2611         * frontends/controllers/ControlDocument.C:
2612         * frontends/controllers/ControlErrorList.C:
2613         * insets/insetbibitem.C:
2614         * insets/insetbranch.C:
2615         * insets/insetcaption.C:
2616         * insets/insetcollapsable.C:
2617         * insets/insetenv.C:
2618         * insets/insetert.C:
2619         * insets/insetfloat.C:
2620         * insets/insetfoot.C:
2621         * insets/insetfootlike.C:
2622         * insets/insetnewline.C:
2623         * insets/insetquotes.C:
2624         * insets/insettabular.C:
2625         * insets/insettext.C:
2626         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2627
2628         * frontends/controllers/ControlChanges.C: #include "changes.h".
2629
2630 2003-09-06  Angus Leeming  <leeming@lyx.org>
2631
2632         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2633         than #including paragraph.h.
2634
2635         * ParagraphList.h:
2636         * RowList.h: deleted. Superfluous.
2637
2638         * CutAndPaste.h:
2639         * iterators.h:
2640         * lyxcursor.h:
2641         * lyxtext.h:
2642         * text_funcs.h:
2643         * undo.h:
2644         * undo_funcs.h:
2645         * insets/inset.h:
2646         * insets/insettext.h: use ParagraphList_fwd.h rather than
2647         ParagraphList.h.
2648
2649         * paragraph.h: don't forward declare ParagraphList.
2650
2651         * buffer.h:
2652         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2653         rather than ParagraphList.h. paragraph.h is still needed for the
2654         Paragraph::depth_type parameters.
2655
2656         * textcursor.h: enable it to compile stand-alone in light of the
2657         above changes.
2658
2659         * bufferview_funcs.C:
2660         * iterators.C:
2661         * lyxfunc.C:
2662         * lyxrow_funcs.C:
2663         * paragraph.C:
2664         * rowpainter.C:
2665         * text.C:
2666         * text2.C:
2667         * text3.C:
2668         * text_funcs.C:
2669         * textcursor.C:
2670         * undo.C:
2671         * frontends/controllers/ControlParagraph.C:
2672         * frontends/controllers/ControlTabular.C:
2673         * insets/insetmarginal.C:
2674         * insets/insetminipage.C:
2675         * insets/insetnote.C:
2676         * insets/insetoptarg.C: add header files needed to compile again.
2677
2678 2003-09-06  Angus Leeming  <leeming@lyx.org>
2679
2680         * RowList_fwd.h: new file, forward-declaring Row rather than
2681         #including lyxrow.h.
2682
2683         * lyxrow_funcs.h:
2684         * lyxtext.h:
2685         * paragraph.h:
2686         * insets/insettext.h: use it instead of RowList.h
2687
2688         * bufferview_funcs.C:
2689         * lyxfunc.C:
2690         * lyxrow_funcs.C:
2691         * paragraph.C:
2692         * rowpainter.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C: #include "RowList.h".
2696
2697 2003-09-05  Angus Leeming  <leeming@lyx.org>
2698
2699         * factory.C (createInset):
2700         * vspace.C (c-tor): replace sscanf call with an istringstream.
2701         * ispell.C: re-add missing HP/UX headers.
2702         * lyxserver.C: re-add missing  os2 headers.
2703
2704 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2705
2706         * BranchList.C:
2707         * graph.C:
2708         * ispell.C:
2709         * lastfiles.C:
2710         * lyx_cb.C:
2711         * lyxserver.C:
2712         * texrow.C:
2713         * text3.C: re-add missing system headers, needed for 2.95.2.
2714
2715 2003-09-05  Angus Leeming  <leeming@lyx.org>
2716
2717         Changes most place everywhere due to the removal of using directives
2718         from support/std_sstream.h.
2719
2720 2003-09-05  Angus Leeming  <leeming@lyx.org>
2721
2722         Replace LString.h with support/std_string.h,
2723         Lsstream.h with support/std_sstream.h,
2724         support/LIstream.h with support/std_istream.h,
2725         support/LOstream.h with support/std_ostream.h.
2726
2727         Changes resulting throughout the tree.
2728
2729 2003-09-05  Angus Leeming  <leeming@lyx.org>
2730
2731         * sgml.h: ensure that the header file can be compiled stand-alone.
2732         * *.C: strip out redundant #includes. (320 in total.)
2733
2734 2003-09-04  Angus Leeming  <leeming@lyx.org>
2735
2736         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2737         here (from getPackages).
2738
2739         * debug.[Ch]: add a new EXTERNAL tag.
2740
2741 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2742
2743         * text2.C (cursorEnd): simplify
2744         (setCursor): adjust
2745         (getColumnNearX): adjust
2746
2747         * text.C (computeBidiTables): adjust
2748         (fill): adjust
2749
2750         * rowpainter.C (paintChars): adjust
2751         (paintSelection): adjust
2752         (paintChangeBar): adjust
2753         (paintText): adjust
2754
2755         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2756         lastPos instead.
2757         (numberOfSeparators): adjust
2758
2759 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2760
2761         * LyXAction.C:
2762         * box.[Ch]:
2763         * lfuns.h:
2764         * lyxfunc.C:
2765         * text3.C: Restricts the mouse click functionality
2766         of insets like bibtex, include, toc and floatlist to the visible
2767         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2768         up the dialogs. Cursor has to be in front of the inset (i.e.
2769         start of row) for this to function.
2770
2771 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2772
2773         * bufferview_funcs.C (currentState): output row information
2774
2775 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2776
2777         * bufferview_funcs.C (currentState): output paragraph position
2778
2779 2003-09-04  Angus Leeming  <leeming@lyx.org>
2780
2781         * FloatList.h: move out #include "Floating.h".
2782         * LaTeX.h: move out #include "DepTable.h".
2783         * LyXAction.h: move out #include "funcrequest.h".
2784         * buffer.h: move out #include "author.h", "iterators.h".
2785         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2786         * lyx_main.h: move out #include "errorlist.h".
2787         * lyxfunc.h: move out #include "FuncStatus.h".
2788         * lyxtext: move out #include "lyxcursor.h".
2789         * paragraph_pimpl.h: move out #include "counters.h".
2790
2791 2003-09-03  Angus Leeming  <leeming@lyx.org>
2792
2793         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2794         preamble_snippets list, enabling us to add snippets to the preamble
2795         only if the snippet was not there already.
2796
2797 2003-09-04  Angus Leeming  <leeming@lyx.org>
2798
2799         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2800
2801 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2804         update
2805
2806 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * BranchList.C: point fix, earlier forgotten
2809
2810 2003-09-02  Angus Leeming  <leeming@lyx.org>
2811
2812         * box.C (contains): renamed from 'contained' after a fantastic
2813         amount of hot air.
2814
2815 2003-09-02  John Levon  <levon@movementarian.org>
2816
2817         * BufferView.C:
2818         * lyxcursor.h:
2819         * lyxcursor.C:
2820         * lyxfunc.C:
2821         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2822
2823 2003-09-02  John Levon  <levon@movementarian.org>
2824
2825         * text2.C: simplification of cursorEnd(), including partial
2826         fix for bug 1376
2827
2828 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * buffer.C (readFile): add a space
2831
2832 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2835
2836 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2837
2838         * buffer.C (readFile): new function, take a filename and a
2839         ParagraphList::iterator
2840         (readFile): adjust
2841         (readFile): adjust, make it private. don't use setStream, make
2842         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2843         always contain the filename.
2844
2845         * BufferView.C (insertLyXFile): simplify and make it work for
2846         gzipped files.
2847
2848 2003-08-30  John Levon  <levon@movementarian.org>
2849
2850         * Makefile.am: fix dist (from Kayvan)
2851
2852 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * most files: change to use const Buffer refs
2855
2856 2003-08-27  André Pönitz  <poenitz@gmx.net>
2857
2858         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2859         on top of ownerPar().
2860
2861 2003-08-27  John Levon  <levon@movementarian.org>
2862
2863         * funcrequest.C: properly initialise POD members
2864
2865 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * lyxtext.h (top_y): move top_y from here
2868         * text.C:
2869         * text2.C:
2870         * text3.C:
2871         * BufferView.[Ch]:
2872         * BufferView_pimpl.[Ch]: to here
2873         * frontends/screen.C:
2874         * insets/insettabular.C:
2875         * insets/insettext.C: adjust
2876         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2877
2878 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * BufferView.[Ch]:
2881         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2882
2883 2003-08-26  André Pönitz  <poenitz@gmx.net>
2884
2885         * paragraph_func.[Ch] (outerPar): new function
2886
2887         * paragraph.C:
2888         * paragraph_funcs.C:
2889         * paragraph_funcs.h:
2890         * paragraph_pimpl.C:
2891         * text2.C: remove Inset::par_owner
2892
2893 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2894
2895         * lyxrow_funcs.C:
2896         * lyxtext.h:
2897         * text.C:
2898         * text2.C: eliminates the needFullRow/display() stuff
2899         altogether, putting the logic in metrics/draw in the insets.
2900
2901 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * text2.C (redoParagraphInternal, redoParagraphs):
2904         * text.C (redoParagraph): add a call to updateRowPositions at the
2905         end of each 'metrics-like' call. Remove all others.
2906         (getRow): remove the 'y-computing' version.
2907         (getRowNearY): do not compute nor return the real y. Solve the
2908         'y < 0' problem and simplify.
2909
2910 2003-08-22  Angus Leeming  <leeming@lyx.org>
2911
2912         * *.[Ch]: clean-up of licence and author blurbs.
2913         Also move config.h out of a few .h files and into a few .C files.
2914
2915 2003-08-22  André Pönitz  <poenitz@gmx.net>
2916
2917         * lyxrow.[Ch]: add x_ and *fill_ members
2918
2919         * lyxtext.h:
2920         * text.C:
2921         * rowpainter.C:
2922         * text2.C: adjust/remove prepareToPrint() calls
2923
2924 2003-08-22  André Pönitz  <poenitz@gmx.net>
2925
2926         * lyxrow.[Ch]: add  end_ member
2927
2928         * lyxrow_funcs.C: use LyXRow::end_
2929
2930         * lyxtext.h (singleWidth): add LyXFont parameter
2931
2932         * rowpainter.C:
2933         * text2.C: adjust LyXText::singleWidth() calls
2934
2935         * text.C (redoParagraph): simplify row breaking logic
2936
2937
2938 2003-08-19  André Pönitz  <poenitz@gmx.net>
2939
2940         * funcrequest.C: initialize button_ member
2941
2942         * text3.C:
2943         * rowpainter.[Ch]: interface consolidation
2944
2945 2003-08-18  André Pönitz  <poenitz@gmx.net>
2946
2947         * BufferView.C:
2948         * BufferView_pimpl.C:
2949         * lyxfind.C:
2950         * paragraph_funcs.C:
2951         * rowpainter.C:
2952         * text3.C: remove LyXScreen::draw() and fitCursor calls
2953
2954         * BranchList.h: remove spurious semicolons
2955
2956         * MenuBackend.C: fix branchlist related crash
2957
2958 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2959
2960         * BranchList.[Ch]:
2961         * InsetList.[Ch]:
2962         * LColor.[Ch]:
2963         * LyXAction.C:
2964         * Makefile.am:
2965         * MenuBackend.[Ch]:
2966         * bufferparams.[Ch]:
2967         * factory.C:
2968         * lfuns.h:
2969         * lyxfunc.C:
2970         * text3.C: implements the 'branch inset'
2971         idea. This allows the output of various versions of a document
2972         from a single source version, selectively outputing or suppressing
2973         output of parts of the text.
2974         This implementation contains a 'branch list editor' in a separate
2975         tab of the document settings dialog. Branches are user definable
2976         and have a "display colour" to distinguish them on-screen.
2977
2978         ColorHandler was somewhat cleaned up.
2979         (1) make possible a dynamically growing LColor list by allowing
2980         the graphic context cache to grow along (vector);
2981         (2) eliminate an IMHO unnecessary step in colour allocation.
2982
2983 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2984
2985         * BufferView_pimpl.C: compile fix
2986
2987 2003-08-15  André Pönitz  <poenitz@gmx.net>
2988
2989         * rowpainter.C: remove extra metrics calls
2990
2991         * lyxtext.h: merge the two constructors into a single one,
2992           pass reference to owner's par list
2993
2994         * BufferView_pimpl.C:
2995         * text.C:
2996         * text2.C: adjust
2997
2998 2003-08-15  André Pönitz  <poenitz@gmx.net>
2999
3000         * lyxrow_funcs.[Ch]:
3001         * lyxtext.h:
3002         * paragraph.h:
3003         * paragraph_funcs.C:
3004         * rowpainter.C:
3005         * text.C:
3006         * text2.C:
3007         * text3.C:
3008         * text_funcs.C: split LyXText::rowlist_ into individual
3009         Paragraph::rows_ chunks
3010
3011         * BufferView.[Ch]:
3012         * BufferView_pimpl.[Ch]:
3013         * lyxfind.C:
3014         * lyxtext.h:
3015         * text3.C: remove toggleSelection()
3016
3017 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3018
3019         * bufferlist.C: beautify two alerts (shorter text of buttons)
3020         * buffer.C: Remove redundant ' ' from message
3021         * tabular.h:
3022         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3023         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3024         rename VALIGN_CENTER to VALIGN_MIDDLE
3025
3026 2003-08-11  André Pönitz  <poenitz@gmx.net>
3027
3028         * lyxtext.h (getPar):
3029         * text.C: new function
3030
3031 2003-08-11  André Pönitz  <poenitz@gmx.net>
3032
3033         * Makefile.am:
3034         * tracer.[Ch]: remove unneeded files
3035
3036         * InsetList.[Ch]: remove resizeInsetsLyXText()
3037
3038         * lyxtext.h:
3039         * text.C:
3040         * text2.C:
3041         * text3.C: merge insertParagraphs() and appendParagraph()
3042         remove breakAgain(), update()
3043
3044         * BufferView_pimpl.[Ch]:
3045         * bufferview_funcs.[Ch]:
3046         * lyxfunc.C:
3047         * paragraph.[Ch]:
3048         * rowpainter.C:
3049         * tabular.C: adjust after text & InsetList changes.
3050
3051 2003-08-08  André Pönitz  <poenitz@gmx.net>
3052
3053         * text.C (insertChar, backspace): replace rowlist fiddling
3054         with rebreak of full par
3055
3056         * lyxtext.h:
3057         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3058         checkParagraph, updateInset): removed
3059
3060 2003-08-07  André Pönitz  <poenitz@gmx.net>
3061
3062         * paragraph.C:
3063         * text3.C: merge some LFUN handlers, remove dead code
3064
3065 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3068
3069 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3070
3071         * text2.C (DEPM): fix part of bug 1255 and 1256
3072
3073 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * BufferView_pimpl.C (workAreaDispatch): change to use
3076         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3077         that are no mouse related.
3078
3079 2003-08-05  André Pönitz  <poenitz@gmx.net>
3080
3081         * BufferView.[Ch]:
3082         * BufferView_pimpl.[Ch]:
3083         * bufferview_funcs.C:
3084         * text2.C:
3085         * text3.C: rip out "deep update"
3086
3087         * textcursor.[Ch] (last_sel_cursor): remove unused member
3088
3089 2003-08-04  André Pönitz  <poenitz@gmx.net>
3090
3091         * BufferView.[Ch]:
3092         * BufferView_pimpl.[Ch]:
3093         * ParagraphParameters.C:
3094         * bufferview_funcs.C:
3095         * lyx_cb.C:
3096         * lyxfind.C:
3097         * lyxfunc.C:
3098         * text.C:
3099         * text2.C:
3100         * text3.C: replace "complicated" BufferView::update(...) calls with
3101         simpler ones.
3102
3103         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3104
3105 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3106
3107         * Makefile.am (lyx_SOURCES): add paper.h
3108
3109 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3110
3111         * Makefile.am: move things around so that both lyx-qt and
3112         lyx-xforms can be built (according to --with-frontend). Then lyx
3113         is a symbolic link to lyx-[firstfrontend]
3114
3115 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3116
3117         * Always use std::endl with lyxerr
3118
3119 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3120
3121         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3122
3123 2003-08-01  André Pönitz  <poenitz@gmx.net>
3124
3125         * BufferView.[Ch]:
3126         * BufferView_pimpl.[Ch]:
3127         * lyxfunc.C:
3128         * text3.C: merge BufferView::repaint() and BufferView::update()
3129
3130 2003-08-01  José Matos  <jamatos@lyx.org>
3131
3132         * buffer.[Ch]: file_format is no longer a buffer data element.
3133
3134 2003-08-01  André Pönitz  <poenitz@gmx.net>
3135
3136         * BufferView.C:
3137         * lyxtext.h:
3138         * text.C:
3139         * text2.C: make redoParagraph more independent of current cursor
3140
3141         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3142         * text.C:
3143         * text2.C: remove unneeded members
3144
3145 2003-07-30  André Pönitz  <poenitz@gmx.net>
3146
3147         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3148
3149         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3150           create a single function...
3151
3152         * paragraph_funcs.C (moveItem): ... here.
3153
3154         * text.C:
3155           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3156
3157 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3158
3159         * LColor.[Ch]: Add comment and greyedout logical colors.
3160
3161 2003-07-30  André Pönitz  <poenitz@gmx.net>
3162
3163         * tabular.C: don't use Assert too heavily. This crashes where it
3164           shouldn't
3165
3166 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3169         is disabled (bug 1232)
3170
3171 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3172
3173         * factory.C: limited 'arg' scope
3174
3175 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3176
3177         * factory.C: fixed Note submenu issues
3178
3179 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * factory.C: submenu for Note/Comment/Greyedout
3182
3183 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * lyx_main.C (LyX):
3186         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3187
3188 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3189
3190         * LaTeXFeatures.C:
3191         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3192         greyedout. Patch provided by Jürgen Spitzmüller.
3193
3194 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3195
3196         * kbmap.C (read): fix error message when reading bind files
3197
3198 2003-07-29  Angus Leeming  <leeming@lyx.org>
3199
3200         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3201         certainly does not do what it purports to do. I am doing it, and
3202         us, a favour by killing it.
3203
3204 2003-07-28  José Matos  <jamatos@lyx.org>
3205
3206         * buffer.C (readBody, do_writeFile):
3207         * paragraph.C(readParagraph): \end_document replaces \the_end.
3208
3209 2003-07-29  André Pönitz  <poenitz@gmx.net>
3210
3211         * BufferView.[Ch]:
3212         * BufferView_pimpl.[Ch]:
3213         * lyxfunc.C:
3214         * text2.C:
3215         * text3.C:
3216         * textcursor.[Ch]: remove toggleToggle & Co
3217
3218 2003-07-28  José Matos  <jamatos@fep.up.pt>
3219
3220         * buffer.C (readParagraph):
3221         * params_func (readParToken, readParagraph):
3222         * paragraph.C (write): \layout -> \begin_layout.
3223
3224 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * lyxlex_pimpl.C (setFile): clean up slightly.
3227
3228         * bufferparams.h: add compressed var
3229
3230         * buffer_funcs.C (readFile): adjust for LyXLex change
3231         (newFile): ditto + simplify
3232
3233         * buffer.C (writeFile): handle writing of compressed files
3234
3235         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3236         Check if the file is compressed and set a bufferparm if so.
3237
3238         * Makefile.am (lyx_LDADD): remove explicit -lz
3239
3240 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3241
3242         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3243         makeDocBookFile): put the real LyX version in the first line of
3244         the file
3245
3246         * version.h:
3247         * version.C.in: remove lyx_docversion
3248
3249         * tabular.C (write_attribute): add a template-based version to
3250         write enums properly
3251
3252 2003-07-28  André Pönitz  <poenitz@gmx.net>
3253
3254         * lyxtext.h:
3255         * text.C:
3256         * text2.C:
3257         * text3.C: use doubles again for x-coordinates. They are needed.
3258
3259 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * messages.C (getLocaleDir): use lyx_localedir()
3262
3263         * lyxlex_pimpl.C (setFile): compress stuff
3264
3265         * buffer.C (writeFile): add some compression stuff
3266         (do_writeFile): new func, dont call expliti close... will this
3267         breake anything?
3268
3269         * Makefile.am (lyx_LDADD): add -lz
3270
3271 2003-07-28  José Matos  <jamatos@fep.up.pt>
3272
3273         * buffer.C: increment file format.
3274         * paragraph_funcs (readParagraph, readParToken):
3275         * paragraph.C (readParagraph): add \end_layout.
3276
3277 2003-07-27  Angus Leeming  <leeming@lyx.org>
3278
3279         * Makefile.am: remove special casing for configure-time setting of
3280         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3281
3282         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3283         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3284
3285 2003-07-26  André Pönitz  <poenitz@gmx.net>
3286
3287         * paragraph_func.[Ch]:
3288         * paragraph.C (realizeFont): inline it whereever it is used
3289
3290         * rowpainter.C:
3291         * text.C:
3292         * text2.C:
3293         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3294
3295
3296 2003-07-26  André Pönitz  <poenitz@gmx.net>
3297
3298         *       lyxtext.h:
3299         * text.C:
3300         * text2.C: get rid of LyXText::need_break_row
3301
3302 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * toc.[Ch]: put namespace toc inside namespace lyx
3305
3306         * MenuBackend.C (expandToc2): adjust for lyx::toc
3307         (expandToc): ditto
3308
3309         * lyxfunc.C (dispatch): adjust for lyx::find
3310
3311         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3312         lyx::find instead. Reorganize a bit.
3313         (LyXReplace): rename to replace
3314         (LyXFind): rename to find
3315
3316         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3317         (dispatch): ditto
3318
3319 2003-07-26  André Pönitz  <poenitz@gmx.net>
3320
3321         * text.C (setHeightOfRow): restrict scope of temporary variable
3322
3323         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3324           code (never has been used?)
3325
3326 2003-07-27  Asger Alstrup  <alstrup@local>
3327
3328         * text.C (fill): Optimise algorithm to exploit that we can reuse
3329         the LyXFont for many characters.
3330         (setHeightOfRow): Same thing.
3331         (rowBreakPoint): Same thing.
3332
3333 2003-07-26  Asger Alstrup  <alstrup@local>
3334
3335         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3336
3337         * text.C (singleWidth): Spurious font copying in hot-spot
3338         singleWidth avoided. Reorder tests for arabic for efficiency.
3339
3340         * text.C (fill): handle empty paragraphs better.
3341
3342 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3343
3344         * ispell.C:
3345         * encoding.h: add includes
3346
3347         * lyxrc.C: remove reading of bind files
3348
3349         * lyx_main.C (init): setup bindings and menus only if we have a
3350         gui.
3351
3352         * kbmap.C (read): new method. Do the actual reading of bind
3353         files.
3354
3355         * converter.C (dvipdfm_options):
3356         * bufferparams.C:
3357         * lyxrc.C (read):
3358         (output): adapt PAPER_* enums.
3359
3360         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3361
3362         * bufferparams.h: remove paper-related enums from there
3363
3364         * paper.h: New file. A trivial header file to hold paper-related
3365         enums. It should later expand to contain many paper-related
3366         horrors access.
3367
3368         * lyxrc.C: declare extern displayTranslator
3369
3370 2003-07-27  José Matos  <jamatos@fep.up.pt>
3371
3372         * tabular.[Ch] (linuxdoc): add support for tables and figures
3373         (linuxdoc).
3374
3375 2003-07-27  José Matos  <jamatos@fep.up.pt>
3376
3377         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3378         consistency in both functions.
3379         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3380
3381 2003-07-26  Asger Alstrup  <alstrup@local>
3382
3383         * rowpainter.C (paintRows): Change algorithm to work directly on
3384         the insets rather than asking every character in the document
3385         whether its an inset.
3386
3387 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * buffer.C (openFileWrite): factorize some code
3390
3391 2003-07-26  Angus Leeming  <leeming@lyx.org>
3392
3393         * lyx_cb.C:
3394         * lyx_main.[Ch]: replace occurances of system_tempdir with
3395         os::getTmpDir().
3396
3397 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * rename Inset to InsetOld
3400
3401 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3402
3403         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3404         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3405         which I think is a bit clearer. EDIT is gone, since it was
3406         premature optimisation, and broken for mathed anyway.
3407         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3408         with cursor positioning in insets as well (math insets still do not
3409         work, but that's a different story anyway.) It mysteriously
3410         crashes sometimes with undo in the first paragraph, but I'm fairly
3411         confident that this is a compiler bug.
3412
3413 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * paragraph.C (Paragraph): adjust for new clone return type
3416         (operator==): ditto
3417         (copyIntoMinibuffer): ditto
3418
3419 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3420
3421         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3422         by not having a special case, and always doing a full rebreak of
3423         the document after undo.
3424
3425 2003-07-23  Angus Leeming  <leeming@lyx.org>
3426
3427         * factory.C (createInset): InsetExternal::setParams now takes a
3428         Buffer const * arg.
3429
3430 2003-07-23  Angus Leeming  <leeming@lyx.org>
3431
3432         * factory.C (createInset): changed interface to the external and
3433         graphics mailers' string2params functions.
3434
3435 2003-07-23  Angus Leeming  <leeming@lyx.org>
3436
3437         * factory.C (createInset): pass a
3438         Buffer const * parameter to InsetExternalMailer's string2params.
3439
3440 2003-07-22  John Levon  <levon@movementarian.org>
3441
3442         * Thesaurus.h: include the right aiksaurus header
3443
3444 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3445
3446         * MenuBackend.C (expand): check menu shortcuts unconditionally
3447
3448 2003-07-21  Angus Leeming  <leeming@lyx.org>
3449
3450         * factory.C (createInset): pass a
3451         buffer_path parameter to InsetGraphicsMailer's string2params.
3452
3453 2003-07-21  Angus Leeming  <leeming@lyx.org>
3454
3455         * BufferView_pimpl.C (buffer):
3456         * buffer.C (d-tor):
3457         * lyx_main.C (LyX):
3458         * lyxfunc.C (dispatch):
3459         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3460         rather than the grfx shortcut.
3461
3462 2003-07-21  André Pönitz  <poenitz@gmx.net>
3463
3464         * rowpainter.C: remove unused variables
3465
3466         * tabular_funcs.C:
3467         * tabular_funcs.h: move to tabular.C
3468         * Makefile.am: adjust
3469
3470         * tabular.[Ch]: basic optical cleaning
3471
3472         * author.h: pass references, not values
3473
3474 2003-07-18  André Pönitz  <poenitz@gmx.net>
3475
3476         * lyxtext.h:
3477         * metricsinfo.C:
3478         * metricsinfo.h:
3479         * rowpainter.C:
3480         * text.C:
3481         * text2.C:
3482         * text3.C: two-phase drawing for InsetText and InsetTabular
3483         some float -> int changes.
3484
3485 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * lyx_main.C: fix the fix
3488
3489 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * lyx_main.C: fix a crash in batch mode if no files specified
3492         * converter.C: ws
3493
3494 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * format.[Ch] (papersize): moved to BufferParams
3497         * converter.[Ch] (dvips_options): moved to BufferParams
3498         (dvipdfm_options): moved to anon namespace
3499         * bufferparams.[Ch]: added above functions.
3500
3501 2003-07-17  André Pönitz  <poenitz@gmx.net>
3502
3503         * lyxtext.h:
3504         * rowpainter.C:
3505         * text2.C: don't call inset->update() anymore
3506
3507         * metricsinfo.[Ch]: add convenience constructor
3508
3509 2003-07-16  André Pönitz  <poenitz@gmx.net>
3510
3511         * lyxcursor.[Ch]:
3512         * lyxfunc.[Ch]:
3513         * text.C:
3514         * text2.C: replace the LyXCursor::irow_ member with
3515          on-demand computation of the value
3516
3517 2003-07-16  John Levon  <levon@movementarian.org>
3518
3519         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3520
3521 2003-07-15  André Pönitz  <poenitz@gmx.net>
3522
3523         * text.C:
3524         * text2.C: remove no more needed refresh_row
3525
3526 2003-07-15  André Pönitz  <poenitz@gmx.net>
3527
3528         * lyxtext.h:
3529         * rowpainter.C:
3530         * text2.C:
3531         * text3.C: refresh_status tristate -> need_update bool
3532
3533 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * lyxtext.h (init): remove reinit argument (act as if always true)
3536         * text2.C: adjust to that
3537
3538 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3539
3540         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3541         * text3.C: use it to delete selections in some cases
3542         (bugs 441, 673, 702, 954).
3543
3544 2003-07-14  André Pönitz  <poenitz@gmx.net>
3545
3546         * rowpainter.[Ch]: reduce interface
3547
3548 2003-07-14  André Pönitz  <poenitz@gmx.net>
3549
3550         * BufferView_pimpl.C:
3551         * text2.C: adjust after removing unused BufferView * argument
3552
3553 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * text2.C (init): fix a crash fired on resize
3556
3557 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * buffer.[Ch]: added new closing signal
3560         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3561         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3562         BufferView::Pimpl via the closing the signal
3563
3564 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * buffer.[Ch]: take out all bv-related from buffer
3567         * BufferView.C:
3568         * BufferView_pimpl.[Ch]: connect to new signals
3569         * CutAndPaste.C: removed useless asserts
3570         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3571         * lyxvc.[Ch]:
3572         * vc-backend.[Ch]:
3573         * lyxfunc.C: moved view-related funciontality from vc here
3574         * paragraph.C: removed outdated comments
3575         * text.C: ws
3576
3577 2003-07-10  André Pönitz  <poenitz@gmx.net>
3578
3579         * BufferView_pimpl.C:
3580         * tabular.h:
3581         * tabular_funcs.C:
3582         * text.C:
3583         * text2.C: remove InsetText::InnerCache, clean up consequences
3584
3585 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3586
3587         * ispell.C: fix two typos in error messages
3588
3589 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3590
3591         * Extend Note inset to other forms of annotation like Comment
3592         and Greyedout. Right button click gives dialog.
3593
3594         Files modified or added (+):
3595
3596         * insetnote.[Ch]
3597         * FormNote.[Ch]      +
3598         * ControlNote.[Ch]   +
3599         * form_note.fd       +
3600         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3601         frontends/controllers
3602         * xforms/Dialogs.C
3603         * factory.C
3604
3605 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3606
3607         * aspell.C: add missing namespace lyx::support
3608
3609 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * BufferView.[Ch] (newFile): Add
3612         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3613         * LaTeX.[Ch] (message): added this signal and use it
3614         * buffer.[Ch] (busy, message): added these signals and use them
3615         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3616         * converter.C:
3617         * exporter.C:
3618         * format.C:
3619         * importer.C: use buffer signals instead of direct bv calling
3620         * lyx_cb.[Ch] (ShowMessage): removed
3621         * lyx_main.C:
3622         * lyxfunc.C:
3623         * paragraph_funcs.C:
3624         * text2.C: use buffer signals
3625
3626 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * introduce namespace lyx::graphics
3629
3630 2003-07-02  André Pönitz  <poenitz@gmx.net>
3631
3632         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3633
3634 2003-07-01  André Pönitz  <poenitz@gmx.net>
3635
3636         * text.C:
3637         * text2.C:
3638         * text3.C:
3639         * text_funcs.[Ch]:
3640         * textcursor.h:
3641         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3642           text*.C to text_func.C
3643
3644 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3645
3646         * introduce namespace lyx::support
3647
3648 2003-06-30  André Pönitz  <poenitz@gmx.net>
3649
3650         * Chktex.C:
3651         * funcrequest.C:
3652         * lyxtext.h:
3653         * text.C: re-enable --with-included-string
3654
3655 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3656
3657         * textcursor.C: add <config.h>
3658
3659         * text.C (getWord): remove const from word_location arg
3660
3661         * lyxvc.C (getLogFile): fix const type order
3662
3663         * lyxtext.h: remove const from word_location arg, add arg name
3664
3665         * lyxlayout.h: currect type on labeltype.
3666
3667         * importer.C: correct \file
3668
3669         * converter.C (intToFormat): use std:: on ret val, ws changes
3670
3671         * bufferlist.h: correct \file
3672
3673         * buffer.C (makeLinuxDocFile): fix const type order
3674         (makeDocBookFile): ditto
3675         (fillWithBibKeys): use std:: on stdlib args.
3676
3677         * CutAndPaste.C: fix authors.
3678         (availableSelections): use std:: on return vector
3679
3680 2003-06-27  André Pönitz  <poenitz@gmx.net>
3681
3682         * BufferView_pimpl.C:
3683         * bufferview_funcs.C:
3684         * lyxcursor.C:
3685         * lyxcursor.h:
3686         * lyxfunc.C:
3687         * lyxtext.h:
3688         * rowpainter.C:
3689         * text.C:
3690         * text2.C:
3691         * text3.C: remove LyXCursor::row_ member
3692
3693         * lyxtext.h:
3694         * text.C: rename fullRebreak() to partialRebreak() and implement
3695           a fullRebreak() that really bereks fully
3696
3697         * textcursor.h: new struct for cursor-related data
3698
3699 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3700
3701         * lyx_main.C (LyX): get full path of document loaded on the
3702         command line
3703
3704 2003-06-26  André Pönitz  <poenitz@gmx.net>
3705
3706         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3707           remove unused/broken operator>,<,>=.
3708
3709         *       text.C: remove only use of broken operator<= in an Assert().
3710
3711 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3712
3713         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3714         moved errorlist_.clear to showErrorList
3715
3716 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * converter.C (scanLog, runLaTeX):
3719         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3720         move the bv->showErrorList call to the callers
3721         * lyxfunc.C: i.e. here...
3722         * text2.C: and here
3723         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3724         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3725         namespace, the second to...
3726         * buffer_funcs (BufferFormat, parseErrors): added
3727         * errorlist.C (ErrorList(TeXErrors const &)): removed
3728
3729 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3730
3731         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3732
3733 2003-06-24  "Garst R. Reese" <reese@isn.net>
3734
3735         * debug.C: fix typo
3736
3737 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3738
3739         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3740
3741         * version.C.in: change docversion to 1.4
3742
3743 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3744
3745         * buffer.C: fix a bug just introduced
3746
3747 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3748
3749         * buffer.[Ch]: added the parseError signal and use it, removed
3750         sgmlError
3751         * BufferView.[Ch] (addError): moved to ...
3752         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3753         to the Buffer::parseError signal to catch (guess what) parse errors
3754         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3755
3756 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3759         ability to create a buffer and to return an existing one from
3760         the list. Moved these functions to...
3761         * buffer_funcs.[Ch]: added
3762         * BufferView.[Ch] (loadLyXFile): added
3763         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3764         job removed from bufferlist::loadLyXFile.
3765         * buffer.C (setReadOnly): make it work without view
3766         (i.e added an if (users))
3767
3768 2003-06-19  Angus Leeming  <leeming@lyx.org>
3769
3770         * lfuns.h:
3771         * LyXAction.C (init):
3772         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3773         with LFUN_DIALOG_SHOW <name> <data>.
3774
3775 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3776
3777         * CutAndPaste.C (availableSelections): small compilation fix for
3778         ancient (gcc 2.9x) compilers
3779
3780 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * text3.C (cursorNext): add tmp var
3783
3784         * text2.C (updateCounters): for function calling out of for clause
3785         (replaceSelectionWithString): ditto
3786         (insertStringAsParagraphs): ditto
3787         (getColumnNearX): add tmp var
3788         (setCursorFromCoordinates): add tmp var
3789         (cursorDownParagraph): add tmp var
3790         (deleteEmptyParagraphMechanism): add tmp var
3791
3792         * text.C (insertChar): add tmp var
3793
3794         * rowpainter.C (paintDepthBar): add tmp var
3795
3796         * CutAndPaste.C (availableSelections): potentially check all
3797         paragraphs in a cut to fill the shown strings.
3798
3799 2003-06-18  André Pönitz  <poenitz@gmx.net>
3800
3801         * kbmap.[Ch]: use vector<> instead of list<>
3802
3803 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3804
3805         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3806         pasteSelection with index
3807
3808         * text2.C (pasteSelection): modify, call pasteSelection with index
3809
3810         * paragraph.C (asString): reimplement version with no interval to
3811         call the one with interval.
3812
3813         * lyxtext.h: add index arg to pasteSelection
3814
3815         * MenuBackend.C (MenuItem): handle PasteRecent
3816         (Menu::read::Menutags): add md_pasterecent
3817         (read): handle it
3818         (expandPasteRecent): new function
3819         (expand): use it
3820
3821         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3822
3823         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3824         the limited stack
3825         (availableSelections): new function
3826
3827 2003-06-17  Angus Leeming  <leeming@lyx.org>
3828
3829         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3830
3831 2003-06-17  Angus Leeming  <leeming@lyx.org>
3832
3833         * lfuns.h:
3834         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3835
3836         * lyxfunc.C (dispatch): invoke it.
3837
3838 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3839
3840         * iterators.C (operator++, ParPosition): reintroduce some
3841         const_cast for the benefit of older compilers.
3842
3843 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3844
3845         * text3.C (dispatch): do not modify clipboard when doing
3846         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3847         LFUN_DELETE_SKIP on a selection selection
3848
3849 2003-06-16  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView.C:
3852         * buffer.C:
3853         * buffer.h:
3854         * paragraph.C:
3855         * tabular.[Ch]: IU of clone() and getLabelList();
3856
3857 2003-06-13  André Pönitz  <poenitz@gmx.net>
3858
3859         * tabular.h: compactification
3860
3861 2003-06-12  André Pönitz  <poenitz@gmx.net>
3862
3863         * tabular.C:
3864         * tabular.h:
3865         * tabular_funcs.h: some renaming plus whitespace
3866
3867 2003-06-12  André Pönitz  <poenitz@gmx.net>
3868
3869         * BufferView.C:
3870         * BufferView_pimpl.C:
3871         * CutAndPaste.C:
3872         * buffer.C:
3873         * iterators.[Ch]:
3874         * lyxfunc.C:
3875         * text.C:
3876         * toc.C: Return a Paragraph & for ParIterator::operator*()
3877
3878 2003-06-11  John Levon  <levon@movementarian.org>
3879
3880         * lyx_main.C:
3881         * ToolbarBackend.h:
3882         * ToolbarBackend.C: add "Toolbars" section and
3883         put the flags there
3884
3885 2003-06-10  Angus Leeming  <leeming@lyx.org>
3886
3887         * lfuns.h:
3888         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3889
3890         * lyxfunc.C (dispatch): invoke it.
3891
3892 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * main.C: protect <ios> with HAVE_IOS
3895         (main): protect sync_with_stdio with HAVE_IOS
3896
3897 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3898
3899         * text2.C (cutSelection): adjust
3900         (pasteSelection): adjust
3901
3902         * messages.C: handle get of empty string
3903
3904         * main.C (main): use sync_with_stdio(false)
3905
3906         * lyxfunc.C (dispatch): adjust
3907
3908         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3909         (WriteAs): remove unneeded BufferView arg.
3910
3911         * bufferparams.h: use correct types on papersize, papersize2 and
3912         paperpackage.
3913
3914         * bufferparams.C (readToken): adjust for type
3915         (writeLaTeX): add missing cases to switch.
3916
3917         * bufferlist.C (quitWriteBuffer): adjust
3918         (close): adjust
3919
3920         * buffer.C (asciiParagraph): remove some commented code.
3921
3922         * CutAndPaste.C: remove current_view extern variable.
3923         (cutSelection): add BufferParams arg.
3924         (eraseSelection): add BufferParams arg.
3925         (pasteSelection): add Buffer const & arg
3926
3927 2003-06-07  John Levon  <levon@movementarian.org>
3928
3929         * buffer.C:
3930         * paragraph_funcs.C:
3931         * paragraph_pimpl.C:
3932         * text.C:
3933         * text2.C:
3934         * paragraph.h:
3935         * paragraph.C: allow InsetERT to freely space lines,
3936         and some consolidation of code
3937
3938 2003-06-06  José Matos  <jamatos@fep.up.pt>
3939
3940         * buffer.C (makeDocBookFile): fix bug #821
3941
3942 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3943
3944         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3945
3946 2003-06-04  Angus Leeming  <leeming@lyx.org>
3947
3948         * buffer.C: bump format to 224.
3949
3950 2003-06-05  André Pönitz  <poenitz@gmx.net>
3951
3952         * text2.C (redoParagraphs): remove two const_cast<>
3953
3954 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3955
3956         * ParagraphList.h: remove last remnants of NO_STD_LIST
3957
3958 2003-06-03  Angus Leeming  <leeming@lyx.org>
3959
3960         * factory.C (createInset): small change to the way InsetExternal's params
3961         are set.
3962
3963 2003-06-04  André Pönitz  <poenitz@gmx.net>
3964
3965         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3966
3967         * paragraph_pimpl.h:
3968         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3969
3970         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3971
3972         * undo_funcs.C: make some simple cases of undo work again
3973
3974 2003-06-03  John Levon  <levon@movementarian.org>
3975
3976         * ispell.C: HPUX doesn't have sys/select.h
3977         (from Albert Chin)
3978
3979 2003-06-03  John Levon  <levon@movementarian.org>
3980
3981         * CutAndPaste.C: update tabular and include inset
3982         buffer references
3983
3984         * buffer.h:
3985         * paragraph.h:
3986         * paragraph.C: remove owningBuffer(), don't pass Buffer
3987         to clone()
3988
3989         * factory.C: insetGraphicsParams changed
3990
3991 2003-06-02  John Levon  <levon@movementarian.org>
3992
3993         * LyXAction.C:
3994         * factory.C:
3995         * lfuns.h:
3996         * lyxfunc.C:
3997         * text3.C: remove insetparent
3998
3999 2003-06-02  John Levon  <levon@movementarian.org>
4000
4001         * buffer.h:
4002         * buffer.C: fix inset_iterator.end(), move out of line
4003         (bug 1149)
4004
4005 2003-06-01  John Levon  <levon@movementarian.org>
4006
4007         * text3.C: use a proper cut/paste when doing inset
4008         insert (from Jürgen Spitzmüller)
4009
4010 2003-06-01  John Levon  <levon@movementarian.org>
4011
4012         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4013
4014 2003-05-30  André Pönitz  <poenitz@gmx.net>
4015
4016         * rowpainter.C: unify second drawing phase
4017
4018 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * trans_mgr.C: remove one case of current_view
4021
4022         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4023
4024         * paragraph_funcs.h: remove paragraph.h include
4025
4026         * paragraph.h: delete NO_STD_LIST stuff
4027
4028         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4029
4030         * buffer.h: remove paragraph.h include
4031
4032         * ParagraphList.C: delete file
4033
4034         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4035
4036         * toc.C (getTocList): adjust
4037
4038         * paragraph_pimpl.C (validate): adjust
4039
4040         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4041
4042         * paragraph.C (Paragraph): adjust
4043         (getPositionOfInset): use const_iterator, adjust
4044         (bibitem): use const_iterator, adjust
4045         (setInsetOwner): adjust
4046
4047         * iterators.C (operator++): adjust
4048
4049         * InsetList.[Ch]: Replace selfmade iterator with standard
4050         vector::iterator also introduce const_iterator. Remove getPos,
4051         getInset and setInset from InsetTable. Adjust accordingly.
4052
4053         * BufferView.C (lockInset): adjust
4054         (ChangeInsets): adjust
4055
4056         * tabular.[Ch]: delete commented same_id functions
4057
4058 2003-05-28  John Levon  <levon@movementarian.org>
4059
4060         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4061
4062 2003-05-28  André Pönitz  <poenitz@gmx.net>
4063
4064         * metricsinfo.[Ch]: remove 'fullredraw' member
4065
4066 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4067
4068         * lyxtextclass.C (operator): remove caching.
4069
4070 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * text3.C: adjust
4073
4074         * text2.C (cursorBottom): adjust
4075         (setCounter): use ParagraphList::find, adjust
4076
4077         * text.C (workWidth): use ParagraphList::find, adjust
4078
4079         * lyxcursor.C (LyXCursor): adjust
4080
4081         * buffer.C (inset_iterator): adjust
4082
4083         * ParagraphList.h: make iterator(value_type) private, make
4084         ParagraphList a friend of iterator.
4085
4086         * ParagraphList.C (find): new function
4087
4088         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4089
4090 2003-05-27  André Pönitz  <poenitz@gmx.net>
4091
4092         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4093
4094 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4095
4096         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4097
4098 2003-05-26  John Levon  <levon@movementarian.org>
4099
4100         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4101
4102 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * remove same_id from function signatures, adjust.
4105
4106 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4109
4110         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4111
4112         * paragraph.C (Paragraph): get rid of same_ids parameter
4113
4114         * ParagraphList.C (insert): adjust
4115         (push_back): adjust
4116
4117 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * paragraph_funcs.C (breakParagraph): adjust
4120         (breakParagraphConservative): adjust
4121
4122         * buffer.C (readParagraph): adjust
4123
4124         * ParagraphList.C (insert): take a reference instead of a pointer
4125         (insert): adjust
4126
4127         * paragraph.[Ch] (id): new function
4128
4129         * bufferlist.C (newFile): adjust
4130
4131         * ParagraphList.C (ParagraphList): adjust
4132         (assign): adjust
4133         (push_back): take a reference instead of a pointer.
4134
4135         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4136
4137         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4138         instead.
4139
4140         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4141         set else use old code.
4142
4143         * ParagraphList.C: remove all NO_NEXT code and only compile this
4144         code of NO_STD_LIST is set.
4145
4146 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * BufferView_pimpl.C:
4149         * TextCache.C:
4150         * TextCache.h:
4151         * bufferlist.C:
4152         * errorlist.h:
4153         * format.C:
4154         * format.h:
4155         * graph.C:
4156         * lyxfunc.C:
4157         * lyxrc.C:
4158         * graphics/GraphicsConverter.C:
4159         * graphics/PreviewLoader.C: header adjustment
4160
4161 2003-05-23  Angus Leeming  <leeming@lyx.org>
4162
4163         * LaTeXFeatures.[Ch] (useBabel): new method.
4164         * bufferparams.C (writeLaTeX): use it.
4165
4166 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * ParagraphList.h (set): remove unused function.
4169
4170 2003-05-23  André Pönitz  <poenitz@gmx.net>
4171
4172         * BufferView.C:
4173         * BufferView_pimpl.C:
4174         * buffer.C:
4175         * buffer.h:
4176         * lyxfunc.C:
4177         * undo_funcs.C: setUndo reworked
4178
4179         * iterators.[Ch]: add access to topmost ParagraphList
4180
4181         * lyxtext.[Ch] (workWidth): add a const
4182
4183 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * texrow.[Ch] (increasePos): remove function
4186         * exporter.C (export): removed unused var and outdated comment
4187
4188 2003-05-23  Angus Leeming  <leeming@lyx.org>
4189
4190         * latexrunparams.h: rename fragile as moving_arg.
4191         * paragraph.C (simpleTeXOnePar): ditto.
4192         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4193
4194 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4197         (createUndo): ditto
4198         (textUndoOrRedo): comment out a currently unused var.
4199
4200         * paragraph.h (NO_NEXT): enable NO_NEXT
4201
4202         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4203
4204         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4205
4206         * exporter.C (Export): adjust for removeAutoInsets removal.
4207
4208         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4209
4210         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4211
4212         * BufferView.[Ch] (removeAutoInsets): delete function
4213
4214 2003-05-22  Angus Leeming  <leeming@lyx.org>
4215
4216         * latexrunparams.h: add a free_spacing variable.
4217
4218         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4219         to pass moving_arg, as the data is stored in runparams.fragile.
4220
4221         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4222         to Inset::latexOptional or to simpleTeXOnePar.
4223
4224         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4225         free_spacing arg to Inset::latexOptional.
4226
4227         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4228         free_spacing arg.
4229
4230 2003-05-22  Angus Leeming  <leeming@lyx.org>
4231
4232         * latexrunparams.h: add fragile and use_babel variables.
4233
4234         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4235         * buffer.C (makeLaTeXFile): store this returned value in
4236         runparams.use_babel, thus passing it to the inset::latex methods.
4237
4238         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4239         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4240
4241         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4242         longer has a fragile arg, as it is stored in runparams.fragile.
4243
4244         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4245         moving_arg parameter as the data is stored in runparams.fragile.
4246
4247         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4248         a fragile parameter as the data is stored in runparams.fragile.
4249
4250 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4253
4254 2003-05-22  Angus Leeming  <leeming@lyx.org>
4255
4256         * latexrunparams.h: add a 'bool nice' which defaults to false.
4257
4258         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4259         now encapsulated within runparams.
4260
4261         * bufferlist.C (updateIncludedTeXfiles):
4262         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4263
4264 2003-05-22  Angus Leeming  <leeming@lyx.org>
4265
4266         * latexrunparams.h: new file containing struct LatexRunParams.
4267         * Makefile.am: add new file.
4268
4269         * LaTeX.[Ch] (c-tor, run):
4270         * buffer.[Ch] (makeLaTeXFile):
4271         * bufferlist.[Ch] (updateIncludedTeXfiles):
4272         * converter.C (convert, scanLog):
4273         * converter.[Ch] (runLaTeX):
4274         * exporter.C (Export):
4275         * paragraph.[Ch] (simpleTeXOnePar):
4276         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4277         * paragraph_funcs.[Ch] (latexParagraphs):
4278         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4279         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4280         pass around a LatexRunParams parameter.
4281
4282 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * paragraph.[Ch]: remove unused constructor
4285
4286         * ParagraphList.C (erase): new function, taking two iterators
4287
4288 2003-05-22  André Pönitz  <poenitz@gmx.net>
4289
4290         * undo_funcs.C: remove duplicated code
4291
4292         * iterator.[Ch]: operator=
4293
4294 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * tabular.C (SetMultiColumn): ws changes
4297
4298         * rowpainter.C (paintFirst): get rid of a ->previous
4299
4300         * lyx_cb.C (getPossibleLabel): parlist simplification
4301
4302         * BufferView.C (ChangeInsets): simplify slightly.
4303
4304 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4305
4306         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4307         * lfuns.h: new LFUN_SPACE
4308         * lyxfunc.C: protected space has a new lfun
4309         * paragraph_funcs.C: read new space insets
4310         * text3.C:
4311         * factory.C: handle new space insets
4312
4313 2003-05-22  André Pönitz  <poenitz@gmx.net>
4314
4315         * BufferView.C:
4316         * BufferView_pimpl.C:
4317         * buffer.[Ch]:
4318         * lyxfunc.C:
4319         * undo_funcs.C: return a ParIterator from getParFromID.
4320
4321         * iterators.[Ch]: add two const's
4322
4323 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * toc.C (getTocList): adjust
4326
4327         * iterators.[Ch]: rework for parlist
4328
4329         * buffer.C (par_iterator_begin): adjust
4330         (par_iterator_end): adjust
4331
4332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4333
4334         * BufferView.C (removeAutoInsets): adjust
4335         (ChangeInsets): adjust
4336
4337 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * text.C (top_y): fix bug 1110
4340
4341 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * errorlist.[Ch]: added
4344         * buffer.C:
4345         * BufferView.[Ch]:
4346         * BufferView_pimpl.C:
4347         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4348         instead
4349
4350 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * Makefile.am: ensure that lyx is relinked upon changes to the
4353         various "convenience" libs.
4354
4355 2003-05-20  Angus Leeming  <leeming@lyx.org>
4356
4357         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4358         files are compiled in alphabetical order again.
4359
4360         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4361
4362 2003-05-19  Angus Leeming  <leeming@lyx.org>
4363
4364         * gettext.[Ch]: remove "char const * _(char const *)".
4365
4366 2003-05-19  André Pönitz  <poenitz@gmx.net>
4367
4368         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4369
4370         * Makefile.am:
4371         * BufferView.C:
4372         * DepTable.h:
4373         * LaTeXFeatures.C:
4374         * buffer.C:
4375         * lyxfont.C:
4376         * lyxlex.h:
4377         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4378
4379 2003-05-19  André Pönitz  <poenitz@gmx.net>
4380
4381         * buffer.C:
4382         * lyxlayout.[Ch]:
4383         * lyxtextclass.[Ch]:
4384         * paragraph.C:
4385         * paragraph_funcs.[Ch]:
4386         * text2.C:
4387         * text3.C: more insetenv work
4388
4389 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * ParagraphParameters.C (params2string): small bug fixed
4392
4393 2003-05-16  André Pönitz  <poenitz@gmx.net>
4394
4395         * debug.C:
4396         * bufferview_funcs.C: patch from Kornel Benko to prevent
4397           crash when _(...) is called twice in a statement
4398
4399 2003-05-16  André Pönitz  <poenitz@gmx.net>
4400
4401         * BufferView.C:
4402         * lyxfunc.C:
4403         * text.C:
4404         * text2.C:
4405         * text3.C:
4406         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4407
4408 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * lyx_main.C (init): remove spurious static_cast
4411
4412 2003-05-14  André Pönitz  <poenitz@gmx.net>
4413
4414         * BufferView.C: fix format string
4415
4416 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * BufferView.[Ch] (insertErrors): removed
4419         * BufferView.[Ch] (showErrorList): added
4420         * buffer.C (runChkTeX):
4421         * converter.C (scanLog): call showErrorList instead of inserterrors
4422
4423 2003-05-13  André Pönitz  <poenitz@gmx.net>
4424
4425         * BufferView_pimpl.C:
4426         * buffer.C:
4427         * bufferview_func.C:
4428         * MenuBackend.C:
4429         * lyxfunc.C:
4430         * lyxrc.C:
4431         * tex-accent.C:
4432         * text3.C:
4433         * toc.C:
4434         * tabular_funcs.h: tostr() from its own header
4435
4436         * ParagraphParameters.C:
4437         * ToolbarBackend.C:
4438         * bufferparams.C:
4439         * format.C:
4440         * lyxlex_pimpl.C:
4441         * text3.C: STRCONV()
4442
4443 2003-05-12  André Pönitz  <poenitz@gmx.net>
4444
4445         * BufferView.C:
4446         * BufferView_pimpl.C:
4447         * CutAndPaste.C:
4448         * LaTeX.C:
4449         * LaTeXFeatures.C:
4450         * ParagraphParameters.C:
4451         * buffer.C:
4452         * bufferlist.C:
4453         * bufferparams.C:
4454         * bufferview_funcs.C:
4455         * converter.C:
4456         * counters.C:
4457         * debug.C:
4458         * exporter.C:
4459         * format.C:
4460         * importer.C:
4461         * lyx_cb.C:
4462         * lyx_main.C:
4463         * lyxfont.C:
4464         * lyxfunc.C:
4465         * lyxvc.C:
4466         * paragraph.C:
4467         * paragraph_funcs.C:
4468         * tabular.C:
4469         * tabular_funcs.C:
4470         * text2.C:
4471         * text3.C:  boost::format -> bformat  all over the place
4472
4473
4474 2003-05-09  André Pönitz  <poenitz@gmx.net>
4475
4476         * LColor.[Ch]: Pimpl the #include <map> away
4477
4478 2003-05-09  John Levon  <levon@movementarian.org>
4479
4480         * bufferlist.C: never remove emergency saves
4481
4482 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * Makefile.am: better lib building
4485
4486 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4489         instead.
4490         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4491         (simpleTeXSpecialChars): adjust
4492         (simpleTeXSpecialChars): adjust
4493         * paragraph.C (simpleTeXOnePar): adjust
4494         * buffer.C (makeLaTeXFile): adjust
4495
4496         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4497
4498         * text2.C (changeDepth): parlist cleanup
4499         (getColumnNearX): ditto
4500
4501         * rowpainter.C (getLabelFont): parlist cleanup
4502
4503         * bufferlist.C (newFile): parlist cleanup
4504
4505         * CutAndPaste.C (eraseSelection): parlist cleanup
4506
4507         * BufferView_pimpl.C (trackChanges): parlist cleanup
4508         (dispatch): ditto
4509
4510         * BufferView.C (lockInset): parlist cleanup.
4511         (ChangeInsets): ditto
4512
4513 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * CutAndPaste.h: Update file header.
4516
4517         * CutAndPaste.C: Update file header.
4518         Store the parts cut out of the Document in a limited_stack.
4519         (copySelection): adjust
4520         (pasteSelection): new function, takes the index in the limited stack.
4521         (nrOfParagraphs): adjust
4522         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4523         simplify error inset insertion.
4524         (checkPastePossible): adjust
4525
4526 2003-05-06  John Levon  <levon@movementarian.org>
4527
4528         * text2.C: don't cast wrap inset to float
4529
4530 2003-05-05  André Pönitz  <poenitz@gmx.net>
4531
4532         * iterator.C:
4533         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4534
4535         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4536           few naked Paragraph *.
4537
4538 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4539
4540         * bufferparams.C: Output warning if a document with missing
4541         TeX document class is loaded
4542         * exporter.C: Disable TeX exports if the document class is missing
4543         * lyxtextclass.C:
4544         * lyxtextclass.h:
4545         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4546         isTeXClassAvailable()
4547
4548 2003-05-03  John Levon  <levon@movementarian.org>
4549
4550         * BufferView.h:
4551         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4552         explicit cursor show/hide
4553
4554         * BufferView_pimpl.h:
4555         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4556         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4557
4558         * lyxfunc.C: hide cursor before dispatching.
4559
4560         * lyx_cb.C:
4561         * lyxfind.C:
4562         * text.C:
4563         * text3.C: remove explicit cursor hides
4564
4565 2003-05-02  André Pönitz  <poenitz@gmx.net>
4566
4567         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4568
4569         * undo_funcs.C:
4570         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4571           linked lists
4572
4573         * text2.C: tiny whitespace
4574
4575 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * undo_funcs.C: almost only ws changes.
4578
4579         * ParagraphList.C (splice): just return if pl is empty.
4580
4581 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * ParagraphList.C (splice): new function.
4584
4585         * CutAndPaste.C (pasteSelection): use it
4586
4587 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * CutAndPaste.C (pasteSelection): remove the last next and
4590         previous from this file.
4591
4592 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * CutAndPaste.C (pasteSelection): more clean up, user proper
4595         ParagraphList functions for pasteing.
4596
4597         * ParagraphList.C (insert): new function, three arg insert
4598
4599 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * ParagraphList.C (insert): new function, three arg insert
4602
4603         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4604         not on paragraphs.
4605
4606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4609
4610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4613
4614 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4617         (copySelection): clean up a bit.
4618         (pasteSelection): use make_pair
4619
4620         * ParagraphList.C (ParagraphList): implement copy constructor
4621         (operator=): implement, base on copy constructor.
4622         (assign): new func
4623
4624         * paragraph.C (erase): return a bool
4625
4626         * paragraph_pimpl.C (erasePos): remove function, move contents...
4627         (erase): ... here. Return a bool.
4628         (erase): call erase instead of erasePos.
4629
4630 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * ParagraphList.h: define PitPosPair
4633         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4634         ParagraphList, fix a bug on pasting multiple pars
4635         * text2.C: change interface to C&P
4636
4637 2003-04-30  André Pönitz  <poenitz@gmx.net>
4638
4639         * undo_func.C: revert part of yesterday's patch 2
4640
4641 2003-04-30  John Levon  <levon@movementarian.org>
4642
4643         * LColor.C: s/tabular/table/
4644
4645 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * text3.C (dispatch): do not convert iterator -> pointer
4648         * undo_funcs.C (setCursorParUndo): ditto
4649         * text_funcs.C (transposeChars): ditto
4650
4651         * text2.C (setLayout): ws changes only
4652
4653         * text.C (breakParagraph): do not convert iterator -> pointer
4654         (insertChar): ditto
4655         (acceptChange): ditto
4656         (rejectChange): ditto
4657         (changeCase): ditto
4658         (Delete): ditto
4659         (backspace): ditto
4660
4661         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4662         pointer
4663
4664 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * text3.C (gotoInset): YABG (yet another bad getChar)
4667
4668 2003-04-29  André Pönitz  <poenitz@gmx.net>
4669
4670         * paragraph.h: make operator= private unimplemented as long as
4671           it is unusable
4672
4673         * ParagraphList.C: whitespace
4674
4675         * paragraph.[Ch]:
4676         * paragraph_pimpl.[Ch]:
4677         * paragraph_funcs.C:
4678         * CutAndPaste.C:
4679         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4680
4681         * text2.C:
4682           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4683
4684 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4687         * paragraph.[Ch] (erase):
4688         * paragraph_pimpl.[Ch] (erase): change return type and value
4689         * text2.C (cutSelection): some rework
4690
4691 2003-04-28  John Levon  <levon@movementarian.org>
4692
4693         * bufferlist.C: changes for unsaved changes dialog
4694
4695 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * bufferlist.C (newFile): set language (messages_) for new
4698         documents also.
4699
4700         * buffer.C (readFile): ws changes only.
4701
4702 2003-04-28  André Pönitz  <poenitz@gmx.net>
4703
4704         * undo_funcs.C:
4705         * lyxfunc.C:
4706         * buffer.[Ch]:
4707         * BufferView_pimpl.C:
4708         * BufferView.C: getParFromID related ParagraphList::iterator changes
4709
4710 2003-04-28  André Pönitz  <poenitz@gmx.net>
4711
4712         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4713           Changes
4714
4715 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * messages.C: remove one more localedir class variable.
4718
4719 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * messages.C (getLocaleDir): singleton generation function
4722         (Pimpl): use it.
4723         (Messages): add a default constructor.
4724
4725         * main.C (main): do not setup localedir here, do not call
4726         gettext_init.
4727
4728         * gettext.C (_): use it.
4729         (gettext_init): delete funciton
4730
4731 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * gettext.C (getLyXMessages): new singleton generating function.
4734
4735         * buffer.C (updateDocLang): adjust
4736
4737         * Makefile.am (messages.o): add target
4738         (main.o): remove target
4739
4740 2003-04-27  John Levon  <levon@movementarian.org>
4741
4742         * bufferlist.C:
4743         * lyx_cb.C:
4744         * lyxfunc.C:
4745         * lyxvc.C: specify cancel button in Alert::prompt
4746
4747 2003-04-26  John Levon  <levon@movementarian.org>
4748
4749         * text3.C:
4750         * lyxfunc.C:
4751         * lfuns.h:
4752         * LyXAction.C: add LFUN_INSET_SETTINGS
4753
4754         * lyxfunc.C: don't enable tabular-feature when there's
4755         just any locking inset
4756
4757 2003-04-26  John Levon  <levon@movementarian.org>
4758
4759         * bufferlist.C: re-add Cancel to buffer close question
4760
4761         * lyxfunc.C: fix import UI a bit
4762
4763 2003-04-25  John Levon  <levon@movementarian.org>
4764
4765         * gettext.C: remove the broken asserts for now
4766
4767 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4768
4769         * messages.C: make case where setlocale cannot comply work better.
4770
4771         * buffer.C (updateDocLang): new function
4772         (changeLanguage): use it
4773         (readFile): use it
4774
4775         * text2.C (setCounter): use B_ a bit.
4776
4777         * lyxlayout.C (Read): be sure to trim the label strings.
4778
4779         * messages.C (Messages): fix typo in comment
4780
4781         * buffer.C (readFile): set message_ after file is loaded.
4782         (makeDocBookFile): remove double return
4783         (changeLanguage): reset message_ upon language change.
4784         (B_): new func, use this to get translated buffer strings.
4785
4786         * main.C: add myself and Jean Marc as authors.
4787
4788 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * messages.[hC]: pimplify Messages, and three different pimpls to be
4791         used in different circumstances.
4792
4793         * gettext.[Ch]: change for use with new message code.
4794
4795 2003-04-24 André Pönitz <poenitz@gmx.net>
4796
4797         * factory.C: support for eqref
4798
4799 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * messages.[Ch]: add missing char
4802
4803         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4804
4805         * messages.[Ch]: New files
4806
4807 2003-04-18  John Levon  <levon@movementarian.org>
4808
4809         * BufferView.h:
4810         * BufferView.C:
4811         * BufferView_pimpl.C:
4812         * lfuns.h:
4813         * LyXAction.C:
4814         * lyxtext.h:
4815         * text2.C: remove layout-copy/paste (bug 778)
4816
4817 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4820
4821 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4824         if they succeed. Act accordingly.
4825
4826 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * text2.C (setCharFont): adjust
4829         (setCounter): adjust
4830         (insertStringAsLines): adjust
4831
4832         * text.C (leftMargin): adjust
4833         (setHeightOfRow): adjust
4834
4835         * rowpainter.C (paintFirst): adjust
4836         (paintLast): adjust
4837
4838         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4839         (outerHook): ditto
4840         (isFirstInSequence): ditto
4841         (getEndLabel): ditto
4842         (outerFont): adjust
4843
4844         * paragraph.C (getParLanguage): comment out some hard stuff.
4845
4846         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4847         (sgmlError): ditto
4848         (simpleDocBookOnePar): ditto
4849         (makeDocBookFile): use ParagraphList::iterator
4850
4851         * CutAndPaste.C (pasteSelection): adjust
4852
4853 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * text2.C (getFont): adjust
4856         (getLayoutFont): adjust
4857         (getLabelFont): adjust
4858
4859         * paragraph_funcs.C (TeXOnePar): adjust
4860
4861         * buffer.C (simpleLinuxDocOnePar): adjust
4862         (simpleDocBookOnePar): adjust
4863
4864         * CutAndPaste.C (pasteSelection): adjust
4865
4866         * BufferView.C (getEncoding): adjust
4867
4868         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4869
4870 2003-04-16  John Levon  <levon@movementarian.org>
4871
4872         * lyxfind.C: use parlist stuff for search/changes
4873
4874 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4877
4878         * text2.C (deleteEmptyParagraphMechanism): adjust
4879
4880         * text2.[Ch] (ownerParagraph): delete func (both of them
4881
4882 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4885
4886 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * ParagraphList.C: prepare for NO_NEXT
4889
4890 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * text2.C (getFont): adjust
4893         (getLayoutFont): adjust
4894         (getLabelFont): adjust
4895
4896         * paragraph.C (getFont): adjust
4897         (getLabelFont): adjust
4898         (getLayoutFont): adjust
4899
4900         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4901
4902 2003-04-15  John Levon  <levon@movementarian.org>
4903
4904         From Angus Leeming
4905
4906         * lyx_main.C: handle Include in .ui files
4907
4908 2003-04-15  John Levon  <levon@movementarian.org>
4909
4910         * MenuBackend.C: make the doc files length shorter
4911
4912         * ToolbarBackend.h:
4913         * ToolbarBackend.C: handle toolbar placement flags,
4914         Minibuffer
4915
4916 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4919         adjust
4920
4921         * paragraph_funcs.C (TeXOnePar): adjust
4922
4923         * paragraph.C (getLabelFont): add outerfont arg, adjust
4924         (getLayoutFont): ditto
4925         (simpleTeXOnePar): adjust
4926
4927         * paragraph_pimpl.C (realizeFont): delete func
4928
4929 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4932         row argument, constify cur argument.
4933
4934 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * text2.C (getFont): adjust
4937         (getLayoutFont): adjust
4938         (getLabelFont): adjust
4939
4940         * paragraph_funcs.C (TeXOnePar): adjust
4941         (outerFont): new func...
4942         (realizeFont): ...moved out from here, changed this to facilitate
4943         transition
4944
4945         * paragraph.C (getFont): take outerfont as arg, adjust
4946         (simpleTeXOnePar): add outerfont arg, adjust
4947
4948         * buffer.C (simpleLinuxDocOnePar): adjust
4949         (simpleDocBookOnePar): adjust
4950
4951         * CutAndPaste.C (pasteSelection): adjust
4952
4953         * BufferView.C (getEncoding): adjust
4954
4955 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * text2.C (setCharFont): adjust
4958         (setCounter): adjust
4959
4960         * text.C (leftMargin): adjust
4961         (setHeightOfRow): adjust
4962
4963         * rowpainter.C (paintFirst): adjust
4964         (paintLast): adjust
4965
4966         * paragraph_pimpl.C (realizeFont): adjust
4967
4968         * paragraph.C (isFirstInSequence): move from here...
4969         * paragraph_funcs.C (isFirstInSequence): ...to here
4970
4971         * paragraph.C (outerHook): move from here...
4972         * paragraph_funcs.C (outerHook): ...to here
4973
4974         * paragraph.C (depthHook): move from here...
4975         * paragraph_funcs.C (depthHook): ...to here
4976
4977         * paragraph.C (getEndLabel): move from here...
4978         * paragraph_funcs.C (getEndLabel): ...to here
4979
4980         * text2.C (realizeFont): move from here...
4981         * paragraph_funcs.C (realizeFont): ...to here
4982
4983 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4986
4987 2003-04-14  Angus Leeming  <leeming@lyx.org>
4988
4989         * LColor.[Ch]: scrap LColor mathcursor.
4990
4991 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * lyxlex.[Ch] (text): delete function
4994         * trans.C (Load): adjust
4995         * paragraph_funcs.C (readParToken): adjust
4996
4997 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5000         vector<char> instead of a char[].
5001
5002         * lyxlex_pimpl.C (getString): adjust
5003         (next): adjust
5004         (lex): use getString
5005         (eatLine): adjust
5006         (nextToken): adjust
5007
5008         * lyxlex.C (text): use pimpl_->getString()
5009         (getBool): ditto
5010         (findToken): ditto
5011
5012 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5015         (makeFontEntriesLayoutSpecific): temp var for par.size()
5016         (setLayout): temp var for ownerParagraphs().end()
5017         (fullRebreak): temp var for rows().end()
5018         (selectionAsString): temp var for boost::next(startpit), realize
5019         that the while really is a regular for loop.
5020         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5021         setCursor in one place.
5022         (setParagraph): temp vr for ownerParagraphs().end()
5023         (updateCounters): make the while loop a for loop
5024         (cutSelection): temp var for ownerParagraphs().end()
5025         (updateInset): make the do {} while() a regular for loop
5026         (getCursorX): use temp vars
5027         (setCurrentFont): use temp vars
5028         (getColumnNearX): use temp vars
5029
5030 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * text.C (transformChar): use temp var for getChar
5033         (computeBidiTables): use temp var for row->par()
5034         (fill): move temp vars for row->par() and pit->layout() earlier in
5035         the function.
5036         (labelFill): use temp var for row->par()
5037         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5038         asc and desc, realize that pit never changes and that firstpit is
5039         just a duplicate and not needed. Exchange rit->par() with pit in a
5040         lot of places.
5041         (breakAgain): use a temp var for boost::next(rit)
5042         (breakAgainOneRow): ditto
5043         (breakParagraph): use a temp var for rows().begin()
5044         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5045         (cursorRightOneWord): use temp var for cursor.par() and
5046         cursor.pos(), remove usage of tmpcursor.
5047         (cursorLeftOneWord): use temp var for cursor.par() and
5048         cursor.pos() only set cur at end of function.
5049
5050 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * text.C, text2.C: exchange all usage of Paragraph::next with
5053         boost::next(ParagraphList::iterator)
5054
5055         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5056
5057         * text2.C (cursorTop): simplify implementation
5058         (cursorBottom): ditto
5059         (setParagraph): use ParagraphList::iterator
5060         (setCurrentFont): adjust
5061         (getColumnNearX): adjust
5062         (cursorRight): adjust
5063         (cursorLeft): remove usage of Paragraph::previous
5064         (cursorUpParagraph): ditto
5065         (deleteEmptyParagraphMechanism): slight cleanup
5066
5067         * text.C (isBoundary): take a Paragraph const & instead of a
5068         pointer as arg.
5069         (addressBreakPoint): ditto
5070         (leftMargin): remove usage of Paragraph::previous.
5071         (setHeightOfRow): ditto
5072         (cursorLeftOneWord): ditto
5073         (selectNextWordToSpellcheck): ditto
5074         (Delete): ditto
5075         (backspace): ditto
5076         (breakParagraph): remove one usage of Paragraph::next
5077         (redoParagraph): ditto
5078         (acceptChange): ditto
5079         (insertChar): adjust
5080         (rowBreakPoint): adjust
5081
5082         * bufferview_funcs.C (toggleAndShow): adjust
5083
5084 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5085
5086         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5087         methods to access it.
5088         * lyxtext.h:
5089         * text.C: Added updateRowPositions to compute all row positions.
5090         Make top_y and getRowNearY() to use the cached y position
5091
5092 2003-04-11  John Levon  <levon@movementarian.org>
5093
5094         * text.C (rowBreakPoint): reintroduce the labelEnd
5095         checks, code copied from the row fill stuff. Deep voodoo.
5096
5097         * text.C (fill): add a comment and debugging for the
5098         next poor soul.
5099
5100 2003-04-11  John Levon  <levon@movementarian.org>
5101
5102         * text.C: make sure fullrow insets get wrapped to the next line,
5103         even when they're in a manual label
5104
5105 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * text2.C (insertParagraph): make it take ParagraphList::iterator
5108         as arg.
5109         (setLayout): make it return ParagraphList::iterator
5110         (redoParagraphs): ditto
5111         (setCounter): ditto
5112         (checkParagraph): ditto
5113
5114         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5115
5116         * text2.C: adjust several funcs.
5117         (realizeFont): take a ParagraphList::iterator as arg.
5118         (getLayoutFont): ditto
5119         (getLabelFont): ditto
5120         (setCharFont): ditto
5121
5122         * text.C: adjust several funcs.
5123
5124 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * text.C (selectNextWordToSpellcheck): don't accidentally
5127         skip insets
5128
5129 2003-04-10  John Levon  <levon@movementarian.org>
5130
5131         * ToolbarBackend.C (getIcon): special handling for
5132         LFUN_MATH_DELIM
5133
5134 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5135
5136         * text2.C (cursorRight): a getChar assert fixed
5137
5138 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * text2.C (getFont): change to take a ParagraphList::iterator
5141         instead of Paragraph*
5142         Adjust several functions.
5143
5144         * text.C (transformChar): change to take a ParagraphList::iterator
5145         instead of Paragraph*
5146         (singleWidth): ditto
5147         Adjust several functions.
5148
5149         * rowpainter.C: adjust several functions
5150         * rowpainter.h:store a ParagraphList::iterator and not a
5151         Paragraph&.
5152
5153
5154 2003-04-09  John Levon  <levon@movementarian.org>
5155
5156         * lyxfunc.C:
5157         * lfuns.h:
5158         * LyXAction.h:
5159         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5160         and the "help" bits as well
5161
5162 2003-04-09  John Levon  <levon@movementarian.org>
5163
5164         * ToolbarBackend.h:
5165         * ToolbarBackend.C: allow multiple toolbars
5166
5167 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * undo_funcs.C (setCursorParUndo): adjust
5170
5171         * text_funcs.C (transposeChars): adjust
5172
5173         * text3.C (gotoNextInset): adjust
5174         (dispatch): adjust
5175
5176         * text2.C (setLayout): adjust
5177         (changeDepth): adjust
5178         (setFont): adjust
5179         (redoParagraphs): adjust
5180         (selectionAsString): adjust
5181         (setParagraph): adjust
5182         (insertInset): adjust
5183         (cutSelection): adjust
5184         (copySelection): adjust
5185         (pasteSelection): adjust
5186         (insertStringAsLines): adjust
5187         (updateInset): adjust
5188         (setCursor): change to take a ParagraphList::iterator parameter
5189         (setCursorIntern): change to take a ParagraphList::iterator parameter
5190         (setCurrentFont): adjust
5191         (cursorLeft): adjust
5192         (cursorRight): adjust
5193         (deleteEmptyParagraphMechanism): adjust
5194
5195         * text.C (breakParagraph): adjust
5196         (insertChar): adjust
5197         (acceptChange): adjust
5198         (rejectChange): adjust
5199         (selectNextWordToSpellcheck): adjust
5200         (changeCase): adjust
5201         (Delete): adjust
5202         (backspace): adjust
5203
5204         * lyxfind.C (SearchForward): adjust
5205         (SearchBackward): adjust
5206         (nextChange): adjust
5207
5208         * lyxcursor.C (par): adjust
5209
5210         * lyxcursor.h: store a ParagraphList::iterator instead of a
5211         Paragraph*
5212
5213         * lyx_cb.C (getPossibleLabel): adjust
5214
5215         * bufferview_funcs.C (toggleAndShow): adjust
5216
5217         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5218         (dispatch): adjust
5219
5220         * BufferView.C (removeAutoInsets): adjust
5221         (lockedInsetStoreUndo): adjust
5222
5223 2003-04-09  John Levon  <levon@movementarian.org>
5224
5225         * ToolbarBackend.C: try icon without argument
5226         if with argument fails
5227
5228 2003-04-08  John Levon  <levon@movementarian.org>
5229
5230         * ToolbarBackend.h:
5231         * ToolbarBackend.C: add getIcon(), handle tooltip,
5232         and change from "Icon" to "Item".
5233
5234 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * BufferView.C (lockInset): another bad getchar crunched
5237
5238 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5241         again)
5242
5243 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * lyxfind.C (searchForward, searchBackwards): bug 782
5246
5247 2003-04-07  John Levon  <levon@movementarian.org>
5248
5249         * paragraph.C: remove dead comment
5250
5251         * text.C: remove troublesome depth-fiddling code
5252         in leftMargin() and rightMargin() (bug 1017)
5253
5254         * text.C: fix breaking of rows in nested lists
5255         (bug 1004)
5256
5257         * text2.C (updateCounters): fix up depth values
5258         (bug 1013)
5259
5260 2003-04-07  John Levon  <levon@movementarian.org>
5261
5262         * BufferView_pimpl.C: clear message when doc finishes resizing,
5263         and after a mouse event
5264
5265         * lyxfunc.C: clear message after exiting inset
5266
5267 2003-04-07  John Levon  <levon@movementarian.org>
5268
5269         * bufferview_funcs.C: show math status not outside
5270         status in the statusbar
5271
5272 2003-04-07  John Levon  <levon@movementarian.org>
5273
5274         * lyxfunc.C: note status changed after a depth change
5275
5276 2003-04-04  Angus Leeming  <leeming@lyx.org>
5277
5278         * LaTeX.h: move AuxInfo operator==, != out of line.
5279         Remove LaTeX virtual destructor; nothing derives from it.
5280         Move operator()() out of public area and rename it startscript().
5281         Change protected for private.
5282
5283 2003-04-04  Angus Leeming  <leeming@lyx.org>
5284
5285         * lyxfunc.C:
5286         * text2.C: remove unneeded #includes.
5287
5288 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5289
5290         * text2.C (dEPM): fix the heigth of the next row
5291
5292 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * text.C: squashed an invalid getChar requester + some ws changes
5295
5296 2003-04-03  John Levon  <levon@movementarian.org>
5297
5298         * bufferview_funcs.h:
5299         * bufferview_funcs.C:
5300         * lyxfunc.C:
5301         * lyxtext.h:
5302         * text2.C: make getStatus work for the env depth lfuns
5303
5304 2003-04-03  John Levon  <levon@movementarian.org>
5305
5306         * bufferview_funcs.h:
5307         * bufferview_funcs.C:
5308         * lyxfunc.C:
5309         * lyxtext.h:
5310         * text2.C: parlistize decDepth(), by merging it with incDepth()
5311
5312 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * lyxrow.h: store a ParagraphList::iterator instead of a
5315         Paragraph* and adjust other class functions to suit.
5316
5317         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5318         above.
5319
5320 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * text2.C (setCursor): do not anchor to cursor row for the time being
5323
5324 2003-04-02  John Levon  <levon@movementarian.org>
5325
5326         * LyXAction.C:
5327         * lfuns.h:
5328         * lyx_main.C:
5329         * lyxtext.h:
5330         * text.C:
5331         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5332
5333 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * paragraph.h: make ParagraphList and ParagraphList::iterator
5336         friends of Paragraph.
5337
5338         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5339
5340         * ParagraphList.C: Use the private next_ and previous_ from
5341         Paragraph.
5342
5343 2003-04-01  John Levon  <levon@movementarian.org>
5344
5345         * ToolbarBackend.h:
5346         * ToolbarBackend.C:
5347         * Makefile.am: rename, remove defaults gunk
5348
5349         * MenuBackend.h:
5350         * MenuBackend.C: remove defaults gunk
5351
5352         * Languages.h:
5353         * Languages.C: remove defaults gunk
5354
5355         * lyx_main.h:
5356         * lyx_main.C: error out if files couldn't be found.
5357
5358 2003-04-02  John Levon  <levon@movementarian.org>
5359
5360         * text2.C: make incDepth() use parlist
5361
5362 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * undo_funcs.C (firstUndoParagraph): adjust
5365
5366         * text3.C (gotoInset): adjust
5367         (dispatch): adjust, and rewrite loop.
5368
5369         * text2.C (init): adjust, and rewrite loop.
5370         (redoParagraphs): adjust
5371         (updateInset): adjust, and rewrite loop.
5372         (deleteEmptyParagraphMechanism): adjust
5373
5374         * tabular.C (LyXTabular): adjust
5375         (SetMultiColumn): adjust
5376         (TeXRow): adjust
5377
5378         * lyxtext.[Ch] (ownerParagraph): delete function
5379         (ownerParagraphs): new function returns a ParagraphList.
5380
5381         * BufferView.C (removeAutoInsets): adjust
5382         (insertErrors): adjust
5383         (setCursorFromRow): adjust
5384
5385 2003-04-01  Angus Leeming  <leeming@lyx.org>
5386
5387         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5388         in the frontends.
5389
5390 2003-04-02  John Levon  <levon@movementarian.org>
5391
5392         * lyxtext.h:
5393         * text.C:
5394         * Makefile.am:
5395         * text_funcs.h:
5396         * text_funcs.C: make transposeChars a free function
5397
5398         * lyxrow_funcs.C: remove wrong comment
5399
5400 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * lyxtext.h: adjust
5403         * rowpainter.C: adjust
5404         * text.C: adjust
5405         * text2.C: adjust
5406         * text3.C: adjust
5407
5408         * lyxrow_funcs. [Ch]: new files
5409
5410         * lyxrow.[Ch]: remove next and previous pointers
5411         (next,previous): remove accessor functions
5412         (isParEnd): move to lyxrow_funcs
5413         (lastPos): move to lyxrow_funcs
5414         (nextRowIsAllInset): move to lyxrow_funcs
5415         (lastPrintablePos): move to lyxrow_funcs
5416         (numberOfSeparators): move to lyxrow_funcs
5417         (numberOfHfills): move to lyxrow_funcs
5418         (numberOfLabelHfills): move to lyxrow_funcs
5419         (hfillExpansion): move to lyxrow_funcs
5420
5421         * lyxfunc.C: adjust
5422
5423         * bufferview_funcs.C (toggleAndShow): adjust
5424
5425         * RowList.h: Remove class RowList from file leave just a
5426         std::list<Row>.
5427
5428         * RowList.C: delete file
5429
5430         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5431         and lyxrow_funcs.h
5432
5433 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * text3.C (cursorPrevious): adjust
5436         (cursorNext): adjust
5437         (dispatch): adjust
5438
5439         * text2.C (redoHeightOfParagraph): adjust
5440         (redoDrawingOfParagraph): adjust
5441         (setCursor): adjust
5442
5443         * text.C (breakParagraph): adjust
5444         (insertChar): adjust
5445         (backspace): adjust
5446
5447         * rowpainter.C (RowPainter): adjust
5448         (leftMargin): simplify and adjust
5449         (most rowpainter functions): adjust.
5450
5451         * rowpainter.h: store the row as RowList::iterator not as Row*
5452
5453         * lyxcursor.C (row): taka RowList::iterator as arg
5454         (irow): ditto
5455
5456         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5457         of Row*.
5458
5459 2003-04-01  Angus Leeming  <leeming@lyx.org>
5460
5461         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5462         stuff like bool Bool.
5463
5464 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5465
5466         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5467         rewrite a loop
5468
5469 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5472         RowList::iterator.
5473
5474         * lyxtext.h (rows): drop one version and leve a const variant that
5475         returns a RowList::iterator.
5476
5477 2003-03-31  Angus Leeming  <leeming@lyx.org>
5478
5479         * text.C (fill): ensure that the signature is the same as that in the
5480         header file.
5481
5482 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * text2.C (redoParagraphs): adjust
5485         (updateCounters): adjust
5486         (checkParagraph): adjust
5487         (getColumnNearX): adjust and reformat a bit.
5488
5489         * text.C (top_y): adjust
5490         (workWidth): adjust
5491         (leftMargin): adjust
5492         (prepareToPrint): adjust
5493         (getRow): adjust
5494         (getRowNearY): adjust
5495
5496         * lyxtext.h: make rowlist_ mutable.
5497
5498         * RowList.h: add const_iterator
5499         * RowList.C: adjust for RowList::const_iterator.
5500
5501         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5502         adjust.
5503
5504 2003-03-31  John Levon  <levon@movementarian.org>
5505
5506         * lyxrc.h:
5507         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5508
5509         * lyx_main.C: set default fonts from using lyx_gui funcs
5510
5511         * exporter.C: pdf_mode moved from lyxrc
5512
5513         * lyx_cb.C:
5514         * lyxfunc.C: changes from above
5515
5516 2003-03-31  John Levon  <levon@movementarian.org>
5517
5518         * lyx_main.C: fix to the last fix
5519
5520 2003-03-31  John Levon  <levon@movementarian.org>
5521
5522         * bufferlist.C: "Load original" -> "Load Original"
5523
5524         * converter.C:
5525         * exporter.C:
5526         * importer.C:
5527         * lyx_main.C:
5528         * format.C: more Alert cleanups
5529
5530 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531
5532         * text2.C (removeParagraph): make it take a RowList::iterator as
5533         arg, adjust.
5534         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5535         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5536
5537         * text.C (anchor_row): make it take a RowList::iterator as arg,
5538         adjust.
5539         (computeBidiTables): make it take a const reference to Row instead
5540         of Row pointer, adjust.
5541         (leftMargin): make it take a RowList::iterator as arg, adjust.
5542         (rowBreakPoint): adjust
5543         (breakAgainOneRow): make it take a RowList::iterator as arg,
5544         adjust.
5545         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5546
5547         * bufferview_funcs.C (toggleAndShow): adjust
5548
5549 2003-03-30  John Levon  <levon@movementarian.org>
5550
5551         * Makefile.am:
5552         * BoostFormat.h:
5553         * boost-inst.C: moved to support
5554
5555         * several files: changes as a result
5556
5557 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * text2.C (LyXText): adjust.
5560         (init): adjust
5561         (removeRow): make it take a RowList::iterator as arg, adjust.
5562         (fullRebreak): adjust
5563         (deleteEmptyParagraphMechanism): adjust
5564         (clearPaint): adjust
5565         (postPaint): adjust
5566
5567         * text.C (top_y): adjust
5568         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5569         (breakAgain): make it take a RowList::iterator as arg, adjust.
5570         (breakParagraph): adjust
5571         (insertChar): adjust
5572         (backspace): adjust
5573
5574         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5575         need_break_row, and refresh_row.
5576
5577         * text3.C (dispatch): adjust
5578
5579         * text2.C (checkParagraph): adjust
5580         (setCursor): adjust
5581         (setCursorFromCoordinates): adjust
5582
5583         * text.C (top_y): adjust
5584         (workWidth): adjust
5585         (getRow): make it return a RowList::iterator, adjust
5586         (getRowNearY): make it return a RowList::iterator, adjust
5587
5588         * text2.C (init): adjust
5589         (insertRow): remove function
5590         (insertParagraph): adjust
5591         (redoParagraphs): adjust
5592         (fullRebreak): adjust
5593         (updateCounters): adjust
5594
5595         * text.C (top_y): rewrite to use RowList iterators.
5596         (top_y): adjust
5597         (setHeightOfRow): rewrite to sue RowList iterators.
5598         (appendParagraph): adjust
5599         (breakAgain): adjust
5600         (breakAgainOneRow): adjust
5601         (breakParagraph): adjust
5602         (getRow): adjust
5603         (getRowNearY): adjust, and remove commented code.
5604
5605         * lyxtext.h (firstRow): delete function
5606         (lastRow): delete function
5607         (rows): new function (const and non-const versions.)
5608         (insertRow): delete function
5609
5610         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5611
5612 2003-03-29  John Levon  <levon@movementarian.org>
5613
5614         * BufferView_pimpl.C: always update scrollbar top
5615         because pasting text when we're anchored could mean we
5616         miss an update altogether
5617
5618 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * text2.C (init): use rowlist_.end() and not 0.
5621         (insertRow): change to take a RowList::iterator as arg, adjust
5622         for this.
5623         (insertParagraph): change to take a RowList::iterator as arg,
5624         adjust for this.
5625         (redoParagraphs): remove some debug msgs.
5626
5627         * text.C (appendParagraph): change to take a RowList::iterator
5628         arg, adjust for this.
5629         (breakAgain): add an assert
5630         (breakAgainOneRow): ditto
5631
5632 2003-03-29  John Levon  <levon@movementarian.org>
5633
5634         * text2.C: do not clear selection after inc/decDepth
5635         (bug 550)
5636
5637 2003-03-29  John Levon  <levon@movementarian.org>
5638
5639         * BufferView.C:
5640         * buffer.C: fix broken strerrors according to Lars
5641
5642 2003-03-29  John Levon  <levon@movementarian.org>
5643
5644         * converters.C: more Alert cleanups
5645
5646 2003-03-29  John Levon  <levon@movementarian.org>
5647
5648         * bufferview_funcs.C: remove pointless Alert
5649
5650         * buffer.C: fix confusing error message when
5651         a template is chmoded 000
5652
5653 2003-03-29  John Levon  <levon@movementarian.org>
5654
5655         * BufferView.C:
5656         * BufferView.h:
5657         * BufferView_pimpl.C: Alert fixes
5658
5659         * Makefile.am:
5660         * tabular.C:
5661         * tabular-old.C: remove unused table compat reading
5662
5663 2003-03-29  John Levon  <levon@movementarian.org>
5664
5665         * BufferView.C:
5666         * buffer.C:
5667         * lyx_cb.h:
5668         * lyx_cb.C: more Alert cleanups
5669
5670         * lyxfunc.C: don't allow chktex if not latex document
5671
5672 2003-03-29  John Levon  <levon@movementarian.org>
5673
5674         * lyx_cb.C:
5675         * BufferView.C:
5676         * buffer.C: warnings pushed down from support/,
5677         kill err_alert
5678
5679 2003-03-29  John Levon  <levon@movementarian.org>
5680
5681         * lyxfunc.C: safety check for C-r (revert)
5682
5683 2003-03-29  John Levon  <levon@movementarian.org>
5684
5685         * bufferlist.h:
5686         * bufferlist.C: several UI fixes using Alert::prompt.
5687         Fix the pointless looping quit code. Fix stupid revert
5688         behaviour (bug 938)
5689
5690         * lyxvc.h:
5691         * lyxvc.C:
5692         * lyx_cb.C: use Alert::prompt
5693
5694         * lyx_main.C: remove a silly question
5695
5696         * lyxfunc.C: remove a couple of silly questions,
5697         use Alert::prompt
5698
5699 2003-03-28  John Levon  <levon@movementarian.org>
5700
5701         * text2.C: fix bug 974 (End on empty par)
5702
5703 2003-03-28  John Levon  <levon@movementarian.org>
5704
5705         * BufferView_pimpl.C:
5706         * LyXAction.C:
5707         * lfuns.h: remove do-nothing math greek lfuns
5708
5709 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5710
5711         * lyxgluelength.h (isValidGlueLength): add default arg on
5712         parameter 2. Remove default arg from friend in class.
5713
5714         * lyxlength.h (isValidLength): add default arg on parameter 2.
5715         Remove default arg from friend in class.
5716
5717         * text2.C (LyXText): adjust, initialize refresh_row.
5718         (init): adjust
5719         (removeRow): adjust
5720         (insertRow): adjust
5721         (insertParagraph): adjst
5722         (redoParagraphs): adjust
5723         (fullRebreak): adjust
5724         (updateCounters): adjust
5725         (deleteEmptyParagraphMechanism): first attempt at fixing a
5726         crashing bug.
5727
5728         * text.C (top_y): adjust
5729         (setHeightOfRow): adjust
5730         (getRow): adjust
5731         (getRowNearY): adjust
5732
5733         * lyxtext.h: include RowList.h
5734         (~LyXText): not needed anymore, deleted.
5735         (firstRow): modify for RowList
5736         (lastRow): new function
5737         Delete firstrow and lastrow class variables, add a Rowlist
5738         rowlist_ class variable.
5739
5740         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5741         paragraph is empty.
5742
5743         * RowList.C (insert): fix case where it == begin().
5744
5745 2003-03-26  Angus Leeming  <leeming@lyx.org>
5746
5747         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5748         the thesaurus dialog.
5749
5750 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5753
5754         * RowList.[Ch]: new files
5755
5756         * ParagraphList.C (erase): handle the case where it == begin
5757         correctly.
5758
5759 2003-03-25  John Levon  <levon@movementarian.org>
5760
5761         * Makefile.am:
5762         * aspell_local.h:
5763         * aspell.C: add new aspell support
5764
5765         * lyxrc.h:
5766         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5767         have it accessible.
5768
5769 2003-03-25  Angus Leeming  <leeming@lyx.org>
5770
5771         * lfuns.h:
5772         * LyXAction.C (init): new LFUN_INSET_INSERT.
5773
5774         * BufferView_pimpl.C (dispatch): split out part of the
5775         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5776
5777         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5778         LFUN_INSET_APPLY.
5779
5780 2003-03-25  Angus Leeming  <leeming@lyx.org>
5781
5782         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5783
5784 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5785
5786         * text2.C:
5787         * text3.C: remove useless row->height(0)
5788
5789 2003-03-25  John Levon  <levon@movementarian.org>
5790
5791         * lyxtext.h:
5792         * text2.C:
5793         * text3.C: rename the refreshing stuff to better names
5794
5795 2003-03-24  John Levon  <levon@movementarian.org>
5796
5797         * BufferView_pimpl.h:
5798         * BufferView_pimpl.C: update layout choice on a mouse
5799         press/release
5800
5801 2003-03-23  John Levon  <levon@movementarian.org>
5802
5803         * Makefile.am: fix commandtags.h reference
5804
5805 2003-03-22  John Levon  <levon@movementarian.org>
5806
5807         * BufferView_pimpl.C:
5808         * lyxtext.h:
5809         * rowpainter.C:
5810         * rowpainter.h:
5811         * text.C:
5812         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5813
5814 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5815
5816         * lyxtext.h:
5817         * text.C: take the rtl methods out of line
5818
5819 2003-03-21 André Pönitz <poenitz@gmx.net>
5820
5821         * metricsinfo.[Ch]: new files containing structures to be passed around
5822         during the two-phase-drawing...
5823
5824 2003-03-21 André Pönitz <poenitz@gmx.net>
5825
5826         * lyxtextclass.C: read 'environment' tag.
5827
5828 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5829
5830         * text2.C (removeRow): fix bug 964
5831
5832 2003-03-20  John Levon  <levon@movementarian.org>
5833
5834         * rowpainter.C:
5835         * text.C:
5836         * text2.C: paint cleanups. Inset::update() dropped font
5837         parameter
5838
5839 2003-03-19  John Levon  <levon@movementarian.org>
5840
5841         * lyxfunc.C: only fitcursor/markDirty if available()
5842
5843 2003-03-19  John Levon  <levon@movementarian.org>
5844
5845         * commandtags.h: rename to ...
5846
5847         * lfuns.h: ... this, and renumber / cleanup
5848
5849 2003-03-19  John Levon  <levon@movementarian.org>
5850
5851         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5852         fit the cursor after an lfun
5853
5854         * BufferView.h:
5855         * BufferView.C:
5856         * BufferView_pimpl.h:
5857         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5858
5859         * LyXAction.C: layout-character should have ReadOnly
5860
5861         * ParagraphParameters.C:
5862         * buffer.C:
5863         * bufferview_funcs.C:
5864         * lyx_cb.C:
5865         * lyxfind.C:
5866         * lyxtext.h:
5867         * text.C:
5868         * text2.C:
5869         * text3.C:
5870         * undo_funcs.C: changes from above
5871
5872 2003-03-18  John Levon  <levon@movementarian.org>
5873
5874         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5875         remove it from update()
5876
5877         * lyxfunc.C: update layout choice after an lfun
5878
5879         * text3.C: remove extra updateLayoutChoice()s
5880
5881 2003-03-18  John Levon  <levon@movementarian.org>
5882
5883         * text.C: top_y change means full repaint, fix
5884         a drawing bug with cursor movement
5885
5886 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5887
5888         * lyxtext.h:
5889         * text.C:
5890         * text2.C: anchor row on setCursor
5891
5892 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5893
5894         * lyxtext.h: remove almost all mutable keywords
5895         * text.C:
5896         * text2.C:
5897         * text3.C: remove const keywords accordingly
5898
5899 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5902         anon namespace
5903         (TeXEnvironment): ditto
5904         (TeXOnePar): ditto
5905
5906 2003-03-17  John Levon  <levon@movementarian.org>
5907
5908         * text.C (rowBreakPoint): remove attempt to fix displayed
5909         math insets inside a manual label
5910
5911 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5912
5913         * lyxtext.h: remove BufferView* as first arg from almost all class
5914         functions.
5915         * other files: adjust.
5916
5917 2003-03-17  John Levon  <levon@movementarian.org>
5918
5919         * lyxtext.h:
5920         * undo_funcs.C:
5921         * text2.C: more paint cleanups
5922
5923         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5924
5925         * rowpainter.h:
5926         * rowpainter.C: remove "smart" background painting code
5927
5928 2003-03-16  John Levon  <levon@movementarian.org>
5929
5930         * lyxtext.h:
5931         * text.C:
5932         * text2.C:
5933         * text3.C: add helper functions for setting refresh_row/y
5934
5935 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5936
5937         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5938         newline inset which *can* get inserted in the pass_thru layouts.
5939         This is primarily for literate documents.
5940
5941 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5942
5943         * buffer.C: increment LYX_FORMAT to 223
5944
5945 2003-03-14 André Pönitz <poenitz@gmx.net>
5946
5947         * textclass.h: prepare for environment handling, ws changes
5948         * lyxlayout.C: read latexheader and latexfooter tags
5949
5950 2003-03-14  John Levon  <levon@movementarian.org>
5951
5952         * text2.C: rewrite ::status() a bit
5953
5954 2003-03-13  John Levon  <levon@movementarian.org>
5955
5956         * lyxtext.h: add some docs
5957
5958 2003-03-13  John Levon  <levon@movementarian.org>
5959
5960         * lyxtext.h:
5961         * text.C:
5962         * text2.C:
5963         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5964
5965 2003-03-13  John Levon  <levon@movementarian.org>
5966
5967         * text3.C: fix appendix redrawing
5968
5969 2003-03-13  John Levon  <levon@movementarian.org>
5970
5971         * text.C (setHeightOfRow):
5972         * rowpainter.h:
5973         * rowpainter.C: make appendix mark have the text
5974           "Appendix" so the user knows what it is
5975
5976         * LColor.h:
5977         * LColor.C: s/appendixline/appendix/ from above
5978
5979 2003-03-13  John Levon  <levon@movementarian.org>
5980
5981         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5982
5983         * text.C: fix a getChar(pos) bug properly
5984
5985 2003-03-13  Angus Leeming  <leeming@lyx.org>
5986
5987         * commandtags.h:
5988         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5989         Probably only temporary. Let's see how things pan out.
5990
5991         * BufferView.C (unlockInset):
5992         * BufferView_pimpl.C (fitCursor):
5993         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5994
5995         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5996         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5997
5998         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5999         new functions that convert ParagraphParameters to and from a string.
6000
6001         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6002         BufferView::Pimpl's dispatch.
6003         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6004
6005 2003-03-13 André Pönitz <poenitz@gmx.net>
6006
6007         * lyxfunc.C:
6008         * text3.C:
6009         * factory.C: make it aware of InsetEnv
6010
6011 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text2.C (setCursor): never ask for one past last
6014         (setCursor): add some debugging messages.
6015
6016         * text.C (singleWidth): never ask for one past last
6017         (singleWidth): ditto
6018         (leftMargin): ditto
6019         (rightMargin): ditto
6020         (rowBreakPoint): ditto
6021         (setHeightOfRow): ditto
6022         (prepareToPrint): ditto
6023
6024         * rowpainter.C (paintBackground): never ask for one past last
6025         (paintText): never ask for one past last
6026
6027         * paragraph_pimpl.C (getChar): make the assert stricter, never
6028         allow the one past last pos to be taken
6029
6030         * paragraph.C (getChar): ws changes only
6031
6032         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6033         (numberOfSeparators): ditto
6034         (numberOfHfills): ditto
6035
6036 2003-03-12  John Levon  <levon@movementarian.org>
6037
6038         * author.h:
6039         * author.C:
6040         * bufferparams.h:
6041         * bufferparams.C:
6042         * paragraph_funcs.C: fix per-buffer authorlists
6043
6044 2003-03-12  John Levon  <levon@movementarian.org>
6045
6046         * text.C: fix newline in right address
6047
6048 2003-03-12  Angus Leeming  <leeming@lyx.org>
6049
6050         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6051         duplicate those in LyXFunc::dispatch.
6052
6053         * commandtags.h:
6054         * LyXAction.C:
6055         * ToolbarDefaults.C:
6056         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6057         Add LFUN_FONTFREE_UPDATE.
6058
6059         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6060         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6061
6062         * bufferview_func.[Ch]: several new functions to facilliate
6063         transfer of data to and from the character dialog.
6064
6065 2003-03-12  John Levon  <levon@movementarian.org>
6066
6067         * buffer.C:
6068         * paragraph.h:
6069         * paragraph.C:
6070         * paragraph_funcs.C:
6071         * paragraph_pimpl.C:
6072         * sgml.C:
6073         * tabular.C:
6074         * text.C:
6075         * text3.C: remove META_NEWLINE in favour of an inset
6076
6077         * rowpainter.h:
6078         * rowpainter.C: remove paintNewline (done by inset)
6079
6080 2003-03-12  John Levon  <levon@movementarian.org>
6081
6082         * paragraph_pimpl.C: complain about bad getChar()s
6083         for a while at least
6084
6085 2003-03-12  John Levon  <levon@movementarian.org>
6086
6087         * buffer.h:
6088         * buffer.C: move paragraph read into a separate function,
6089         a little renaming to reflect that.
6090
6091         * bufferparams.h:
6092         * bufferparams.C: remove the author_ids map, not necessary now
6093
6094         * factory.h:
6095         * factory.C: moved Buffer::readInset to here
6096
6097         * paragraph_funcs.h:
6098         * paragraph_funcs.C: readParagraph free function moved from
6099         buffer.C
6100
6101         * tabular.C: name change
6102
6103 2003-03-12  John Levon  <levon@movementarian.org>
6104
6105         * buffer.C:
6106         * ParagraphParameters.C: move par params input to
6107         a read() method
6108
6109         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6110         behave like a normal read from the stream wrt reading
6111         a line vs. a \\token
6112
6113 2003-03-12  John Levon  <levon@movementarian.org>
6114
6115         * paragraph.C:
6116         * ParagraphParameters.h:
6117         * ParagraphParameters.C: move output code to a
6118         ::write() method
6119
6120 2003-03-12  John Levon  <levon@movementarian.org>
6121
6122         * BufferView.C (insertLyXFile):
6123         * buffer.h:
6124         * buffer.C:
6125         * tabular.C: use a parlist iterator for creating the
6126           document.
6127
6128 2003-03-12  John Levon  <levon@movementarian.org>
6129
6130         * buffer.C: make current_change static local not
6131           static file-scope
6132
6133 2003-03-12  John Levon  <levon@movementarian.org>
6134
6135         * buffer.C: fix insertStringAsLines for change tracking
6136
6137 2003-03-12  John Levon  <levon@movementarian.org>
6138
6139         * BufferView.C:
6140         * tabular.C:
6141         * buffer.h:
6142         * buffer.C:
6143         * bufferparams.h:
6144         * bufferparams.C: move author list into params. Rename some
6145           functions. Move the header reading into a separate token
6146           loop. Move the header token reading into BufferParams.
6147
6148 2003-03-12  John Levon  <levon@movementarian.org>
6149
6150         * changes.C: put debug inside lyxerr.debugging() checks
6151
6152 2003-03-11 André Pönitz <poenitz@gmx.net>
6153
6154         * factory.C: make it aware of InsetHFill
6155
6156 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6157
6158         * buffer.C (latexParagraphs): move function from here...
6159         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6160         args.
6161
6162 2003-03-10  Angus Leeming  <leeming@lyx.org>
6163
6164         * LyXAction.C (init): fix bug in poplating array with multiple entries
6165         with the same LFUN (spotted by JMarc).
6166
6167 2003-03-10  John Levon  <levon@movementarian.org>
6168
6169         * text.C:
6170         * text2.C: move getColumnNearX() near its
6171         only call site
6172
6173 2003-03-10  John Levon  <levon@movementarian.org>
6174
6175         * text.C: fix break before a minipage
6176
6177 2003-03-10  John Levon  <levon@movementarian.org>
6178
6179         * text.C: fix the last commit
6180
6181 2003-03-09  John Levon  <levon@movementarian.org>
6182
6183         * lyxtext.h:
6184         * text.C:
6185         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6186         bug 365 (don't break before insets unless needed). Don't
6187         return a value > last under any circumstances.
6188
6189 2003-03-09  Angus Leeming  <leeming@lyx.org>
6190
6191         * BufferView_pimpl.C (trackChanges, dispatch): call
6192         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6193
6194 2003-03-09  Angus Leeming  <leeming@lyx.org>
6195
6196         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6197         than Dialogs::showAboutlyx().
6198
6199 2003-03-09  Angus Leeming  <leeming@lyx.org>
6200
6201         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6202         than Dialogs::showTabularCreate().
6203
6204 2003-03-09  John Levon  <levon@movementarian.org>
6205
6206         * lyxtext.h:
6207         * text.C:
6208         * text2.C: 3rd arg to nextBreakPoint was always the same.
6209           Use references.
6210
6211 2003-03-08  John Levon  <levon@movementarian.org>
6212
6213         * lyxrow.C:
6214         * paragraph.C:
6215         * paragraph.h:
6216         * rowpainter.C:
6217         * text.C:
6218         * text2.C: Remove the "main" bit from the "main body"
6219           notion.
6220
6221 2003-03-08  John Levon  <levon@movementarian.org>
6222
6223         * text.C (leftMargin): The left margin of an empty
6224         manual label paragraph should not include the label width
6225         string length.
6226
6227         * text.C (prepareToPrint): don't attempt to measure hfills
6228         for empty manual label paragraphs - the answer should be 0
6229
6230 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * CutAndPaste.C: remove commented code and reindent.
6233
6234 2003-03-08  John Levon  <levon@movementarian.org>
6235
6236         * lyxfunc.h:
6237         * lyxfunc.C: move reloadBuffer()
6238
6239         * BufferView.h:
6240         * BufferView.C: to here
6241
6242         * lyxvc.C: add comment
6243
6244         * vc-backend.h:
6245         * vc-backend.C: call bv->reload() to avoid
6246           getStatus() check on MENURELOAD
6247
6248 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6249
6250         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6251         to an old format .dep file.
6252
6253 2003-03-07  Angus Leeming  <leeming@lyx.org>
6254
6255         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6256         when the LFUN_MOUSE_RELEASE should have been handled by
6257         inset->localDispatch.
6258
6259 2003-03-07  Angus Leeming  <leeming@lyx.org>
6260
6261         * BufferView_pimpl.C (dispatch):
6262         * LyXAction.C (init):
6263         * ToolbarDefaults.C (init):
6264         * commandtags.h:
6265         * lyxfunc.C (getStatus):
6266         remove LFUN_INSET_GRAPHICS.
6267
6268         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6269
6270 2003-03-07  Angus Leeming  <leeming@lyx.org>
6271
6272         * commandtags.h:
6273         * LyXAction.C (init):
6274         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6275
6276         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6277
6278         * commandtags.h:
6279         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6280
6281         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6282         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6283
6284 2003-03-07  Angus Leeming  <leeming@lyx.org>
6285
6286         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6287         remove "ert".
6288
6289 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * ParagraphList.C (front): new function
6292         (back): implement
6293
6294 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6295
6296         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6297         and top_row_offset_. removed var first_y.
6298         * text.C (top_y):
6299         * text2.C (LyXText, removeRow):
6300         * text3.C:
6301         * BufferView_pimpl.C:
6302         use these methods instead of using first_y
6303
6304 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * text2.C (pasteSelection): adjust for checkPastePossible
6307
6308         * CutAndPaste.C: remove Paragraph * buf and replace with
6309         ParagraphList paragraphs.
6310         (DeleteBuffer): delete
6311         (cutSelection): change the tc type to textclass_type
6312         (copySelection): change the tc type to textclass_type
6313         (copySelection): adjust for ParagraphList
6314         (pasteSelection): change the tc type to textclass_type
6315         (pasteSelection): adjust for Paragraphlist
6316         (nrOfParagraphs): simplify for ParagraphList
6317         (checkPastePossible): simplify for ParagraphList
6318         (checkPastePossible): remove unused arg
6319
6320         * ParagraphList.C (insert): handle the case where there are no
6321         paragraphs yet.
6322
6323         * CutAndPaste.h: make CutAndPaste a namespace.
6324
6325         * text3.C (dispatch): adjust
6326
6327         * text.C (breakParagraph): add a ParagraphList as arg
6328
6329         * paragraph_funcs.C (breakParagraph): change to take a
6330         BufferParams and a ParagraphList as args.
6331         (breakParagraphConservative): ditto
6332         (mergeParagraph): ditto
6333         (TeXDeeper): add a ParagraphList arg
6334         (TeXEnvironment): ditto
6335         (TeXOnePar): ditto
6336
6337         * buffer.C (readLyXformat2): adjust
6338         (insertStringAsLines): adjust
6339         (latexParagraphs): adjust
6340
6341         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6342         (cutSelection): adjust
6343         (pasteSelection): adjust
6344
6345         * BufferView_pimpl.C (insertInset): adjust
6346
6347 2003-03-05  Angus Leeming  <leeming@lyx.org>
6348
6349         * commandtags.h:
6350         * LyXAction.C (init):
6351         * BufferView_pimpl.C (dispatch):
6352         * lyxfunc.C (getStatus):
6353         remove LFUN_CHILD_INSERT.
6354
6355         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6356
6357 2003-03-05  Angus Leeming  <leeming@lyx.org>
6358
6359         * commandtags.h:
6360         * LyXAction.C (init):
6361         * src/factory.C (createInset):
6362         * lyxfunc.C (getStatus):
6363         * text3.C (dispatch):
6364         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6365
6366         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6367
6368 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * ParagraphList.C (insert): handle insert right before end()
6371         (erase): fix cases where it can be first or last paragraph.
6372
6373 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6376         Paragraph::next and Paragraph::previous
6377         (TeXOnePar): ditto
6378
6379         * text.C (breakParagraph): adjust
6380
6381         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6382         BufferParams& as arg.
6383         (breakParagraph): use ParagraphList::insert
6384         (breakParagraphConservative): take a Buffer* instead of a
6385         BufferParams& as arg.
6386         (breakParagraphConservative): use ParagraphList::insert.
6387
6388         * buffer.C (insertStringAsLines): un-const it
6389         (insertStringAsLines): adjust
6390
6391         * ParagraphList.C (insert): new function
6392
6393         * CutAndPaste.C (pasteSelection): adjust
6394
6395         * text.C (backspace): adjust
6396
6397         * tabular.C (SetMultiColumn): adjust
6398
6399         * CutAndPaste.C (cutSelection): adjust
6400         (pasteSelection): adjust
6401
6402         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6403         Buffer const * as arg
6404
6405         * ParagraphList.C (erase): new function
6406         * paragraph_funcs.C (mergeParagraph): use it
6407         (mergeParagraph): make it take a Buffer* instead of a
6408         BufferParams* as arg
6409
6410         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6411         as arg
6412         (breakParagraphConservative): ditto
6413
6414         * paragraph.h: remove the breakParagraph friend
6415
6416         * paragraph.C (eraseIntern): new function
6417         (setChange): new function
6418
6419         * paragraph_funcs.C (mergeParagraph): make it take a
6420         ParagraphList::iterator instead of a Paragraph *, adjust
6421         accordingly.
6422
6423         * paragraph.h: move an #endif so that the change tracking stuff
6424         also works in the NO_NEXT case.
6425
6426 2003-03-04  Angus Leeming  <leeming@lyx.org>
6427
6428         * commandtags.h:
6429         * LyXAction.C: new LFUN_INSET_MODIFY.
6430
6431         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6432         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6433
6434 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * several files: ws changes only
6437
6438         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6439         (TeXEnvironment): ditto
6440         (TeXDeeper): ditto
6441
6442         * buffer.C (makeLaTeXFile): adjust
6443         (latexParagraphs): make it take ParagraphList::iterator as args
6444
6445 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * buffer.C (latexParagraphs): adjust
6448
6449         * paragraph.C (TeXOnePar): move function...
6450         (optArgInset): move function...
6451         (TeXEnvironment): move function...
6452         * paragraph_pimpl.C (TeXDeeper): move function...
6453         * paragraph_funcs.C: ...here
6454
6455         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6456
6457 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * buffer.C (readInset): remove compability code for old Figure and
6460         InsetInfo insets
6461
6462 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * buffer.C: ws changes
6465         (readInset):
6466
6467         * BufferView_pimpl.C: ditto
6468         * author.C: ditto
6469         * buffer.h: ditto
6470         * bufferlist.h: ditto
6471         * changes.h: ditto
6472         * lyxfunc.C: ditto
6473
6474 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6475
6476         * converter.[Ch]: split into itself +
6477         * graph.[Ch]
6478         * format.[Ch]
6479         * Makefile.am: += graph.[Ch] + format.[Ch]
6480         * MenuBackend.C
6481         * buffer.C
6482         * exporter.C
6483         * importer.C
6484         * lyx_main.C
6485         * lyxfunc.C
6486         * lyxrc.C: added #include "format.h"
6487
6488 2003-02-27  Angus Leeming  <leeming@lyx.org>
6489
6490         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6491           a label.
6492
6493         * factory.C (createInset): add "label" to the factory.
6494
6495         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6496           string and do no more.
6497
6498 2003-02-27  Angus Leeming  <leeming@lyx.org>
6499
6500         * commandtags.h:
6501         * LyXAction.C (init):
6502         * factory.C (createInset):
6503         * BufferView_pimpl.C (dispatch):
6504           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6505
6506         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6507
6508         * lyxfunc.C (dispatch):
6509         * text3.C (dispatch): pass name to params2string.
6510
6511 2003-02-26  Angus Leeming  <leeming@lyx.org>
6512
6513         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6514           blocks together.
6515           Rearrange the ~includes. Strip out the unnecessary ones.
6516
6517         * factory.C (createInset): reformat.
6518           create new insets for the various LFUN_XYZ_APPLY lfuns.
6519
6520 2003-02-26  John Levon  <levon@movementarian.org>
6521
6522         * lyxrow.h:
6523         * lyxrow.C: add isParStart,isParEnd helpers
6524
6525         * paragraph.h: make isInserted/DeletedText take refs
6526
6527         * paragraph_funcs.h:
6528         * paragraph_funcs.C: remove #if 0'd code
6529
6530         * lyxtext.h:
6531         * text3.C:
6532         * text2.C:
6533         * text.C: use lyxrow helpers above.
6534           Move draw and paint routines to RowPainter.
6535           Make several methods use refs not pointers.
6536           Make backgroundColor() const.
6537           Add markChangeInDraw(), isInInset().
6538           Merge changeRegionCase into changeCase.
6539           Make workWidth() shouldn't-happen code into an Assert.
6540
6541         * rowpainter.h:
6542         * rowpainter.C: new class for painting a row.
6543
6544         * vspace.h:
6545         * vspace.C: make inPixels take a ref
6546
6547 2003-02-26  Angus Leeming  <leeming@lyx.org>
6548
6549         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6550         LFUN_REF_APPLY.
6551
6552 2003-02-25  John Levon  <levon@movementarian.org>
6553
6554         * ispell.C: give the forked command a more accurate name
6555
6556 2003-02-22  John Levon  <levon@movementarian.org>
6557
6558         * toc.h:
6559         * toc.C: make TocItem store an id not a Paragraph *
6560           (bug #913)
6561
6562 2003-02-21  Angus Leeming  <leeming@lyx.org>
6563
6564         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6565           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6566           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6567           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6568           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6569           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6570
6571         * BufferView_pimpl.C (dispatch):
6572         * LyXAction.C (init):
6573         * factory.C (createInset):
6574         * lyxfunc.C (getStatus, dispatch):
6575         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6576
6577 2003-02-21  Angus Leeming  <leeming@lyx.org>
6578
6579         * BufferView_pimpl.C (MenuInsertLyXFile):
6580         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6581         * lyxfunc.C (menuNew, open, doImport):
6582           no longer pass a LyXView & to fileDlg.
6583
6584 2003-02-21  Angus Leeming  <leeming@lyx.org>
6585
6586         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6587         * LyXAction.C: change, BIBKEY to BIBITEM.
6588         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6589         Change InsetBibKey to InsetBibitem.
6590         Change BIBKEY_CODE to BIBITEM_CODE.
6591         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6592         * factory.C: replace insetbib.h with insetbibitem.h.
6593         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6594         * paragraph.C: replace insetbib.h with insetbibitem.h.
6595         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6596         Change bibkey() to bibitem().
6597         * text.C: remove insetbib.h.
6598         * text2.C: replace insetbib.h with insetbibitem.h.
6599         change bibkey() to bibitem().
6600         * text3.C: remove insetbib.h.
6601         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6602
6603 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6604
6605         * lyxrc.C (output): enclose user email in quotes (in case there are
6606         several words)
6607
6608 2003-02-18  John Levon  <levon@movementarian.org>
6609
6610         * buffer.h: add std::
6611
6612 2003-02-17  John Levon  <levon@movementarian.org>
6613
6614         * SpellBase.h:
6615         * ispell.h:
6616         * ispell.C:
6617         * pspell.h:
6618         * pspell.C: reworking. Especially in ispell, a large
6619           number of clean ups and bug fixes.
6620
6621         * lyxfunc.C: fix revert to behave sensibly
6622
6623 2003-02-17 André Pönitz <poenitz@gmx.net>
6624
6625         * LyXAction.C:
6626         * commandtags.h: new LFUN_INSERT_BIBKEY
6627
6628         * layout.h:
6629         * lyxlayout.C:
6630         * buffer.C:
6631         * factory.C:
6632         * text.C:
6633         * text2.C:
6634         * text3.C:
6635         * paragraph.[Ch]:
6636         * paragraph_func.C: remove special bibkey handling
6637
6638 2003-02-17  John Levon  <levon@movementarian.org>
6639
6640         * text.C (Delete): fix case where delete at the end of
6641           the very first paragraph would not merge the pars
6642
6643 2003-02-17  John Levon  <levon@movementarian.org>
6644
6645         * lyxrow.C: fix lastPrintablePos()
6646
6647 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6648
6649         * bufferparams.C (writeLaTeX): add a std:here
6650
6651         * buffer.C: and remove a using directive there
6652
6653 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6654
6655         * buffer.C (makeLaTeXFile): move the code that generates the
6656           preamble...
6657
6658         * bufferparams.C (writeLaTeX): ... in this new method
6659
6660         * LaTeXFeatures.C (getEncodingSet): make const
6661           (getLanguages): make const
6662
6663         * MenuBackend.C (binding): returns the binding associated to this
6664           action
6665           (add): sets the status of each item by calling getStatus. Adds
6666           some intelligence.
6667           (read): add support for OptSubMenu
6668           (expand): remove extra separator at the end of expanded menu
6669
6670 2003-02-15  John Levon  <levon@movementarian.org>
6671
6672         * BufferView.C:
6673         * BufferView_pimpl.C:
6674         * bufferlist.h:
6675         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6676           inset code that had no actual effect. Remove unneeded status
6677           code.
6678
6679 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6680
6681         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6682           in preamble
6683
6684 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6685
6686         * text.C (drawLengthMarker): also draw an arrow marker for
6687           symbolic lengths (medskip...)
6688
6689 2003-02-14  John Levon  <levon@movementarian.org>
6690
6691         * tabular.h:
6692         * tabular.C: better method names
6693
6694 2003-02-14  John Levon  <levon@movementarian.org>
6695
6696         * BufferView_pimpl.C:
6697         * bufferlist.C:
6698         * buffer.C:
6699         * converter.C:
6700         * lyx_cb.C:
6701         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6702           it's a more accurate name. Remove some pointless uses.
6703
6704 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * text2.C (LyXText): change order of initilizers to shut off
6707           warnings
6708
6709 2003-02-14  John Levon  <levon@movementarian.org>
6710
6711         * buffer.C: use ParIterator for getParFromID()
6712
6713         * paragraph.h:
6714         * paragraph.C:
6715         * paragraph_pimpl.h:
6716         * paragraph_pimpl.C: remove unused getParFromID()
6717
6718 2003-02-14  John Levon  <levon@movementarian.org>
6719
6720         * buffer.C: remove some very old #if 0'd parse code
6721
6722 2003-02-13  John Levon  <levon@movementarian.org>
6723
6724         * text.h:
6725         * text.C:
6726         * text2.C: move hfillExpansion(), numberOfSeparators(),
6727           rowLast(), rowLastPrintable(), numberofHfills(),
6728           numberOfLabelHfills() ...
6729
6730         * lyxrow.h:
6731         * lyxrow.C: ... to member functions here.
6732
6733         * paragraph.h:
6734         * paragraph.C:
6735         * lyxtext.h:
6736         * text.C: remove LyXText::beginningOfMainBody(), and call
6737           p->beginningOfMainBody() directly. Move the check for
6738           LABEL_MANUAL into the latter.
6739
6740         * text.h:
6741         * text.C:
6742         * text2.C:
6743         * vspace.C:
6744         * BufferView.h:
6745         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6746
6747         * text.h:
6748         * text.C:
6749         * text2.C:
6750         * text3.C:
6751         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6752           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6753
6754 2003-02-13  John Levon  <levon@movementarian.org>
6755
6756         * CutAndPaste.C: remove debug
6757
6758 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * paragraph.C (asString): remove two unused variables
6761
6762         * lyxtextclass.C (readTitleType):
6763           (Read):
6764           (LyXTextClass): handle new members titletype_ and titlename_
6765
6766         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6767
6768 2003-02-09  John Levon  <levon@movementarian.org>
6769
6770         * buffer.h:
6771         * buffer.C: replace hand-coded list with a map for the dep clean
6772
6773 2003-02-08  John Levon  <levon@movementarian.org>
6774
6775         * LaTeX.C: consolidate code into showRunMessage() helper
6776
6777 2003-02-08  John Levon  <levon@movementarian.org>
6778
6779         * lyxfind.C:
6780         * lyxtext.h:
6781         * text2.C:
6782         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6783           and pass the size in explicitly
6784
6785         * BufferView_pimpl.h:
6786         * BufferView_pimpl.C:
6787         * BufferView.h:
6788         * BufferView.C: add getCurrentChange()
6789
6790         * BufferView_pimpl.h:
6791         * BufferView_pimpl.C: handle change lfuns
6792
6793         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6794           for changes. Mark pasted paragraphs as new.
6795
6796         * support/lyxtime.h:
6797         * support/lyxtime.C:
6798         * DepTable.C: abstract time_t as lyx::time_type
6799
6800         * LColor.h:
6801         * LColor.C: add colours for new text, deleted text, changebars
6802
6803         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6804           package use "usenames" option.
6805
6806         * commandtags.h:
6807         * lyxfunc.C:
6808         * LyXAction.C: add change lfuns
6809
6810         * Makefile.am:
6811         * author.h:
6812         * author.C: author handling
6813
6814         * buffer.h:
6815         * buffer.C: add a per-buffer author list, with first entry as
6816           current author. Handle new .lyx tokens for change tracking. Output
6817           author list to .lyx file. Output dvipost stuff to .tex preamble.
6818           Bump lyx format to 222.
6819
6820         * bufferlist.h:
6821         * bufferlist.C: add setCurrentAuthor() to reset current author details
6822           in all buffers.
6823
6824         * bufferparams.h:
6825         * bufferparams.C: add param for tracking
6826
6827         * bufferview_funcs.C: output change info in minibuffer
6828
6829         * Makefile.am:
6830         * changes.h:
6831         * changes.C: add change-tracking structure
6832
6833         * debug.h:
6834         * debug.C: add CHANGES debug flag
6835
6836         * lyxfind.h:
6837         * lyxfind.C: add code for finding the next change piece
6838
6839         * lyxrc.h:
6840         * lyxrc.C: add user_name and user_email
6841
6842         * lyxrow.h:
6843         * lyxrow.C: add a metric for the top of the text line
6844
6845         * lyxtext.h:
6846         * text.C: implement accept/rejectChange()
6847
6848         * lyxtext.h:
6849         * text.C: paint changebars. Paint new/deleted text in the chosen
6850         colours. Strike through deleted text.
6851
6852         * paragraph.h:
6853         * paragraph.C:
6854         * paragraph_pimpl.h:
6855         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6856           in the current change to the insert functions. Rework erase to
6857           mark text as deleted, adding an eraseIntern() and a range-based
6858           erase(). Implement per-paragraph change lookup and
6859           accept/reject.
6860
6861         * paragraph_funcs.C: Fixup paste for change tracking.
6862
6863         * tabular.C: mark added row/columns as new.
6864
6865         * text.C: fix rowLast() to never return -1. Don't allow
6866           spellchecking of deleted text. Track transpose changes. Don't
6867           allow paragraph break or merge where appropriate.
6868
6869         * text2.C: leave cursor at end of selection after a cut.
6870
6871 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6872
6873         * text.C (getLengthMarkerHeight):
6874         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6875         visible on screen too.
6876
6877 2003-02-07  John Levon  <levon@movementarian.org>
6878
6879         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6880
6881 2003-02-05  Angus Leeming  <leeming@lyx.org>
6882
6883         * lyxserver.C (read_ready): revert my patch of 11 September last year
6884         as it sends PC cpu through the roof. Presumably this means that
6885         the lyxserver will no longer run on an Alpha...
6886
6887 2003-01-30  Angus Leeming  <leeming@lyx.org>
6888
6889         * factory.C (createInset): create an InsetCommandParam of type "index"
6890         and use it to 'do the right thing'.
6891
6892         * text2.C (getStringToIndex): ensure that cursor position is always
6893         reset to the reset_cursor position.
6894
6895 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6896
6897         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6898         disabled.
6899
6900 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6901
6902         * bufferview.C:
6903         * lyxcb.C:
6904         * lyxfunc.C: Output messages with identical spelling, punctuation,
6905         and spaces
6906
6907 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6908
6909         * MenuBackend.C (expandFormats): List only viewable export formats
6910         in "View" menu
6911
6912         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6913         message
6914
6915         * lyxfunc.C (getStatus): Make sure that formats other than
6916         "fax" can also be disabled
6917
6918 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6919
6920         * text3.C (dispatch): put the lfuns that insert insets in 3
6921         groups, and call doInsertInset with appropriate arguments.
6922         (doInsertInset): new function, that creates an inset and inserts
6923         it according to some boolean parameters.
6924
6925 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6926
6927         * buffer.C (readFile): remember to pass on 'par' when calling
6928         readFile recursively.
6929
6930 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6931
6932         * MenuBackend.C (expandFormats): add "..." to import formats.
6933
6934 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6935
6936         * paragraph.C (asString): Remove XForms RTL hacks.
6937
6938 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6939         * buffer.C: fix typo
6940
6941 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * Makefile.am (LIBS): delete var
6944         (lyx_LDADD): add @LIBS@ here instead.
6945
6946 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6947
6948         * Clarify the meaning of "wheel mouse jump"
6949
6950 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6951
6952         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6953         tabular in a float
6954
6955 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6956
6957         * importer.C (Loaders): do not preallocate 3 elements in the
6958         vector, since one ends up with 6 elements otherwise
6959
6960 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6961
6962         * DepTable.C (write): write the file name as last element of the
6963         .dep file (because it may contain spaces)
6964         (read): read info in the right order
6965
6966 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6967
6968         * paragraph_pimpl.C (simpleTeXBlanks):
6969         (simpleTeXSpecialChars):
6970         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6971
6972         * tabular.C (latex): add some missing case statements. Reindent.
6973
6974         * MenuBackend.C (expandToc): remove unused variable.
6975
6976 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6977
6978         * LColor.C:
6979         * LaTeX.C:
6980         * LyXAction.C:
6981         * MenuBackend.C:
6982         * buffer.C:
6983         * exporter.C:
6984         * lyxfunc.C:
6985         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6986         and the like.
6987
6988 2003-01-05  John Levon  <levon@movementarian.org>
6989
6990         * BufferView.h:
6991         * BufferView.C: add getEncoding()
6992
6993         * kbsequence.h:
6994         * kbsequence.C: do not store last keypress
6995
6996         * lyxfunc.h:
6997         * lyxfunc.C: store last keypress here instead. Pass encoding
6998           to getISOEncoded()
6999
7000 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7001
7002         * lyx_main.C (init): remove annoying error message when following
7003         symbolic links (bug #780)
7004
7005 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7006
7007         * text.C (insertChar):
7008         * lyxrc.C (getDescription): remove extra spaces
7009
7010 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7011
7012         * lyxrc.C (getDescription): remove extra spaces
7013
7014 2002-12-20  John Levon  <levon@movementarian.org>
7015
7016         * text3.C: hack fix for page up/down across tall rows
7017
7018 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7019
7020         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7021         not been invoked
7022
7023 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7024
7025         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7026         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7027         thesaurus is not compiled in
7028
7029 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7030
7031         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7032
7033 2002-12-16  Angus Leeming  <leeming@lyx.org>
7034
7035         * lyxrc.[Ch]:
7036         * lyx_main.C (init): remove override_x_deadkeys stuff.
7037
7038 2002-12-12  John Levon  <levon@movementarian.org>
7039
7040         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7041           insert. Only remove shift modifier under strict
7042           circumstances.
7043
7044 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * MenuBackend.C (expandToc): fix crash.
7047
7048 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * MenuBackend.C (expandToc): gettext on float names.
7051
7052 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7053
7054         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7055         implement bool empty() [bug 490]
7056
7057 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7060
7061 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * several files: ws changes
7064
7065 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * text2.C (setCounter): clean up a bit, use boost.format.
7068         (updateCounters): initialize par upon declaration.
7069
7070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7071         if the layout exists. We do not just store the layout any more.
7072         (SwitchLayoutsBetweenClasses): use boost.format
7073
7074 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7075
7076         * converter.C (convert): if from and to files are the same, use a
7077         temporary files as intermediary
7078
7079 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * commandtags.h:
7082         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7083
7084 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7085
7086         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7087
7088 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * tabular.C (asciiPrintCell): use string(size, char) instead of
7091         explicit loop.
7092
7093         * sgml.C (openTag): fix order of arguments to string constructor
7094         (closeTag): ditto
7095
7096         * lyxfunc.C (dispatch): use boost.format
7097
7098         * lots of files: change "c" -> 'c'
7099
7100 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7101
7102         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7103
7104 2002-11-25  Angus Leeming  <leeming@lyx.org>
7105
7106         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7107
7108         * lyx_main.C (init): compile fix.
7109
7110 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * lyx_cb.C (start): boost.formatify
7113         do not include <iostream>
7114
7115         * lengthcommon.C: ws only
7116
7117         * boost-inst.C,BoostFormat.h: add more explict instantations
7118
7119 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7120
7121         * lots of files: handle USE_BOOST_FORMAT
7122
7123 2002-11-21  John Levon  <levon@movementarian.org>
7124
7125         * pspell.C: fix compile
7126
7127 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7128
7129         * lyxfunc.C (dispatch): use boost::format
7130         (open): ditto
7131         (doImport): ditto
7132
7133         * lyxfont.C (stateText): use boost::format
7134
7135         * lyx_main.C (LyX): use boost::format
7136         (init): ditto
7137         (queryUserLyXDir): ditto
7138         (readRcFile): ditto
7139         (parse_dbg): ditto
7140         (typedef boost::function): use the recommened syntax.
7141
7142         * importer.C (Import): use boost::format
7143
7144         * debug.C (showLevel): use boost::format
7145
7146         * converter.C (view): use boost::format
7147         (convert): ditto
7148         (move): ditto
7149         (scanLog): ditto
7150
7151         * bufferview_funcs.C (currentState): use boost::format
7152
7153         * bufferlist.C (emergencyWrite): use boost::format
7154
7155         * buffer.C (readLyXformat2): use boost::format
7156         (parseSingleLyXformat2Token): ditto
7157
7158         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7159
7160         * LaTeX.C (run): use boost::format
7161
7162         * Chktex.C (scanLogFile): use boost::format
7163
7164         * BufferView_pimpl.C (savePosition): use boost::format
7165         (restorePosition): ditto
7166         (MenuInsertLyXFile): ditto
7167
7168         * BoostFormat.h: help file for explicit instation.
7169
7170 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7171
7172         * tabular.C (latex): Support for block alignment in fixed width
7173         columns.
7174
7175 2002-11-17  John Levon  <levon@movementarian.org>
7176
7177         * BufferView_pimpl.C:
7178         * lyx_cb.C:
7179         * lyxfunc.C: split filedialog into open/save
7180
7181 2002-11-08  Juergen Vigna  <jug@sad.it>
7182
7183         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7184         by my last patch (hopefully).
7185
7186 2002-11-08  John Levon  <levon@movementarian.org>
7187
7188         * iterators.h:
7189         * iterators.C:
7190         * buffer.h:
7191         * buffer.C:
7192         * paragraph.h:
7193         * paragraph.C:
7194         * toc.h:
7195         * toc.C: ParConstIterator, and use it (from Lars)
7196
7197 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7198
7199         * lyxtextclass.[Ch]: revise and add doxygen comments
7200
7201 2002-11-07  John Levon  <levon@movementarian.org>
7202
7203         * text.C: fix progress value for spellchecker
7204
7205         * toc.C: fix navigate menu for insetwrap inside minipage
7206
7207         * paragraph_funcs.C: added FIXME for suspect code
7208
7209 2002-11-07  John Levon  <levon@movementarian.org>
7210
7211         * BufferView_pimpl.C: fix redrawing of insets
7212           on buffer switch
7213
7214 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7215
7216         * text2.C (updateCounters): fix bug 668
7217
7218 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7219
7220         * text3.C (dispatch): Do not make the buffer dirty when moving the
7221         cursor.
7222
7223 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * vc-backend.C: STRCONV
7226         (scanMaster): ditto
7227
7228         * text2.C (setCounter): STRCONV
7229
7230         * paragraph.C (asString): STRCONV
7231
7232         * lyxlength.C (asString): STRCONV
7233         (asLatexString): ditto
7234
7235         * lyxgluelength.C (asString): STRCONV
7236         (asLatexString): ditto
7237
7238         * lyxfunc.C (dispatch): STRCONV
7239         (open): ditto
7240
7241         * lyxfont.C (stateText): STRCONV
7242
7243         * importer.C (Import): STRCONV
7244
7245         * counters.C (labelItem): STRCONV
7246         (numberLabel): ditto
7247         (numberLabel): remove unused ostringstream o
7248
7249         * chset.C: STRCONV
7250         (loadFile): ditto
7251
7252         * bufferview_funcs.C (currentState): STRCONV
7253
7254         * buffer.C (readFile): STRCONV
7255         (asciiParagraph): ditto
7256         (makeLaTeXFile): ditto
7257
7258         * Spacing.C (writeEnvirBegin): STRCONV
7259
7260         * LaTeXFeatures.C (getLanguages): STRCONV
7261         (getPackages): ditto
7262         (getMacros): ditto
7263         (getBabelOptions): ditto
7264         (getTClassPreamble): ditto
7265         (getLyXSGMLEntities): ditto
7266         (getIncludedFiles): ditto
7267
7268         * LaTeX.C: STRCONV
7269         (run): ditto
7270         (scanAuxFile): ditto
7271         (deplog): ditto
7272
7273         * LString.h: add the STRCONV macros
7274
7275         * BufferView_pimpl.C (savePosition): STRCONV
7276         (restorePosition): ditto
7277         (MenuInsertLyXFile): ditto
7278
7279         * vc-backend.C (scanMaster): change from submatch[...] to
7280         submatch.str(...)
7281
7282         * funcrequest.C: include config.h
7283
7284         * factory.C: include config.h
7285
7286         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7287
7288         * box.C: include config.h
7289
7290         * LaTeX.C (scanAuxFile): change from submatch[...] to
7291         submatch.str(...)
7292         (deplog): ditto
7293
7294 2002-10-25  Angus Leeming  <leeming@lyx.org>
7295
7296         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7297
7298         * ispell.[Ch] (setError): new method.
7299         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7300         Use setError() insetead of goto END.
7301
7302         * lyx_cb.C (AutoSave): move out child process into new class
7303         AutoSaveBuffer.
7304
7305 2002-10-30  John Levon  <levon@movementarian.org>
7306
7307         * text3.C: make start appendix undoable
7308
7309 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7310
7311         * lyxlength.C (inPixels): Fix returned value.
7312
7313         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7314         environment.
7315
7316 2002-10-24  Angus Leeming  <leeming@lyx.org>
7317
7318         * lyxgluelength.h: no need to forward declare BufferParams
7319         or BufferView, so don't.
7320
7321 2002-10-21  John Levon  <levon@movementarian.org>
7322
7323         * BufferView.C: menuUndo ->undo, redo
7324
7325         * BufferView.h: document, remove dead, make some methods private
7326
7327         * paragraph_funcs.h:
7328         * paragraph_funcs.C:
7329         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7330
7331         * buffer.h:
7332         * buffer.C:
7333         * sgml.h:
7334         * sgml.C: move sgml open/close tag into sgml.C
7335
7336         * bufferview_funcs.h: unused prototype
7337
7338         * lyxfunc.h:
7339         * lyxfunc.C: remove unused
7340
7341         * lyxtext.h:
7342         * text.C: remove unused
7343
7344 2002-10-21  John Levon  <levon@movementarian.org>
7345
7346         * BufferView.h:
7347         * BufferView.C:
7348         * BufferView_pimpl.h:
7349         * BufferView_pimpl.C: fix mouse wheel handling based on
7350           patch from Darren Freeman
7351
7352 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7353
7354         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7355
7356 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * lyxlength.C (inPixels): Fix hanfling of negative length.
7359         Fix LyXLength::MU case.
7360
7361 2002-10-16  John Levon  <levon@movementarian.org>
7362
7363         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7364
7365 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7366
7367         * converter.C (view): add support for $$i (file name) and $$p
7368         (file path) for the viewer command. If $$i is not specified, then
7369         it is appended to the command (for compatibility with old syntax)
7370
7371 2002-10-14  Juergen Vigna  <jug@sad.it>
7372
7373         * undo_funcs.C (textHandleUndo): alter the order in which the
7374         new undopar is added to the LyXText, as we have to set first
7375         the right prev/next and then add it as otherwise the rebuild of
7376         LyXText is not correct. Also reset the cursor to the right paragraph,
7377         with this IMO we could remove the hack in "redoParagraphs()".
7378
7379 2002-10-09  Angus Leeming  <leeming@lyx.org>
7380
7381         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7382         to turn off an optimisation if a new inset is to be inserted.
7383
7384 2002-10-11 André Pönitz <poenitz@gmx.net>
7385
7386         * lyxtext.h: make some functions public to allow access
7387         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7388
7389 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7390
7391         * text3.C (dispatch): when changing layout, avoid an infinite loop
7392         [bug #652]
7393
7394 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7395
7396         * lyxrc.C (read): treat a viewer or converter command of "none" as
7397         if it were empty.
7398
7399         * MenuBackend.C (expandFormats): for an update, also allow the
7400         formats that are not viewable
7401
7402         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7403         script if it is newer than the lyxrc.defaults in user directory
7404
7405 2002-10-07 André Pönitz <poenitz@gmx.net>
7406
7407         * text.C: Vitaly Lipatov's small i18n fix
7408
7409 2002-09-25  Angus Leeming  <leeming@lyx.org>
7410
7411         * ispell.h: doxygen fix.
7412
7413 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7414
7415         * buffer.h (readFile): Add a new argument to the method, to allow
7416         reading of old-format templates.
7417
7418 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7419
7420         * toc.C (getTocList): Get TOC from InsetWrap.
7421
7422 2002-09-16  John Levon  <levon@movementarian.org>
7423
7424         * lyxfunc.C: check tabular for cut/copy too
7425
7426 2002-09-12  John Levon  <levon@movementarian.org>
7427
7428         * LyXAction.C: tidy
7429
7430         * factory.h:
7431         * factory.C: add header
7432
7433         * paragraph_funcs.h:
7434         * paragraph_funcs.C: cleanup
7435
7436 2002-09-11  John Levon  <levon@movementarian.org>
7437
7438         * PrinterParams.h: odd/even default to true
7439
7440 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7441
7442         * PrinterParams.h: update printer parameters for new xforms dialog
7443
7444 2002-09-11  Angus Leeming  <leeming@lyx.org>
7445
7446         * lyxserver.C (read_ready): re-write to make it more transparent
7447         and to make it work in coherent fashion under Tru64 Unix.
7448
7449 2002-09-11  André Pönitz <poenitz@gmx.net>
7450
7451         * commandtags.h:
7452         * LyXAction.C:
7453         * text3.C: implement LFUN_WORDSEL
7454
7455 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7458         make floatlist_ a boost::shared_ptr<FloatList>
7459
7460         * lyxtextclass.C: include FloatList.h
7461         (LyXTextClass): initialize floatlist_
7462         (TextClassTags): add TC_NOFLOAT
7463         (Read): match "nofloat" to TC_NOFLOAT and use it.
7464         (readFloat): modify call to floatlist_
7465         (floats): ditto
7466         (floats): ditto
7467
7468         * FloatList.[Ch] (FloatList): remove commented out float
7469         initialization.
7470         (erase): new function
7471
7472 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7473
7474         * MenuBackend.C (expandToc): fix crash when there is no document
7475         open
7476
7477 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7478
7479         * many files: Add insetwrap.
7480
7481 2002-09-09  John Levon  <levon@movementarian.org>
7482
7483         * text2.C: remove confusing and awkward depth wraparound
7484
7485 2002-09-09  John Levon  <levon@movementarian.org>
7486
7487         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7488
7489         * buffer.h:
7490         * buffer.C: remove getIncludeonlyList()
7491
7492         * paragraph.C:
7493         * lyxfunc.C: remove headers
7494
7495 2002-09-09  Juergen Vigna  <jug@sad.it>
7496
7497         * text.C (getColumnNearX): fix form Michael this is most
7498         probably a cut&paste bug.
7499
7500 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7503
7504         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7505         references, ws changes.
7506
7507         * text2.C (init): update counters after init
7508         (insertParagraph): no need to set counter on idividual paragraphs.
7509         (setCounter): access the counters object in the textclass object
7510         on in the buffer object.
7511         (updateCounters): ditto
7512
7513         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7514         shared_ptr<Counters> to avoid loading counters.h in all
7515         compilation units.
7516         (LyXTextClass): initialize ctrs_
7517         (TextClassTags): add TC_COUNTER, and ...
7518         (Read): use it here.
7519         (CounterTags): new tags
7520         (readCounter): new function
7521         (counters): new funtion
7522         (defaultLayoutName): return a const reference
7523
7524         * counters.C (Counters): remove contructor
7525         (newCounter): remove a couple of unneeded statements.
7526         (newCounter): simplify a bit.
7527         (numberLabel): some small formatting changes.
7528
7529         * buffer.[Ch]: remove all traces of counters, move the Counters
7530         object to the LyXTextClass.
7531
7532 2002-09-06  Alain Castera  <castera@in2p3.fr>
7533
7534         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7535         package to set the horizontal alignment on fixed width columns.
7536
7537         * lyx_sty.C:
7538         * lyx_sty.h: added tabularnewline macro def.
7539
7540         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7541
7542 2002-09-06  John Levon  <levon@movementarian.org>
7543
7544         * LyXAction.C: tooltips for sub/superscript
7545
7546         * MenuBackend.C: a bit more verbose
7547
7548         * lyxfunc.C: tiny clean
7549
7550         * undo_funcs.C: document undo_frozen
7551
7552 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * counters.C (Counters): add missing algorithm counter.
7555
7556         * text2.C (setCounter): lookup the counter with layouts latexname
7557         instead of by section number.
7558         (setCounter): use a hackish way to lookup the correct enum
7559         counter.
7560         a float name->type change
7561         reset enum couners with counter name directly instead of depth value.
7562
7563         * counters.C (Counters): remove the push_backs, change to use the
7564         float type not the float name.
7565         (labelItem): remove unused string, float name->type change
7566
7567         * counters.h: don't include vector, loose the enums and sects vectors
7568
7569 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7572         (Read): add float->TC_FLOAT to textclassTags
7573         (Read): and handle it in the switch
7574         (readFloat): new function
7575
7576         * FloatList.C (FloatList): comment out the hardcoded float
7577         definitions.
7578
7579         * lyxlayout.h: ws change.
7580
7581 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7582
7583         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7584
7585 2002-09-03  Angus Leeming  <leeming@lyx.org>
7586
7587         * BufferView_pimpl.h: qualified name is not allowed in member
7588         declaration: WorkArea & Pimpl::workarea() const;
7589
7590         * factory.C: added using std::endl directive.
7591
7592         * text3.C: added using std::find and std::vector directives.
7593
7594 2002-08-29  André Pönitz <poenitz@gmx.net>
7595
7596         * lyxtext.h:
7597         * text2.C: remove unused member number_of_rows
7598
7599         * Makefile.am:
7600         * BufferView2.C: remove file, move contents to...
7601         * BufferView.C: ... here
7602
7603         * BufferView_pimpl.C:
7604         * factory.C: move more inset creation to factory
7605
7606         * vspace.C: avoid direct usage of LyXText, ws changes
7607
7608         * BufferView.[Ch]:
7609                 don't provide direct access to WorkArea, use two simple
7610                 acessors haveSelction() and workHeight() instead
7611
7612
7613 2002-08-29  John Levon  <levon@movementarian.org>
7614
7615         * BufferView_pimpl.C (dispatch): do not continue when
7616           no buffer
7617
7618 2002-08-28  André Pönitz <poenitz@gmx.net>
7619
7620         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7621
7622         * BufferView.h:
7623         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7624
7625 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7626
7627         * buffer.C: increment LYX_FORMAT to 221
7628
7629         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7630         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7631
7632         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7633
7634         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7635
7636 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * factory.C (createInset): use LyXTextClass::floats
7639
7640         * MenuBackend.C (expandFloatListInsert):
7641         (expandFloatInsert):
7642         (expandToc):
7643
7644         * text2.C (setCounter):
7645
7646         * LaTeXFeatures.C (useFloat):
7647         (getFloatDefinitions):
7648
7649         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7650
7651         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7652         floatlist_, with accessor floats().
7653
7654         * FloatList.h: remove global FloatList
7655
7656 2002-08-26  André Pönitz <poenitz@gmx.net>
7657
7658         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7659
7660         * BufferView.h:
7661         * BufferView2.C:
7662         * BufferView_pimpl.C:
7663         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7664
7665 2002-08-25  John Levon  <levon@movementarian.org>
7666
7667         * LyXAction.C: fix margin note description
7668
7669 2002-08-24  John Levon  <levon@movementarian.org>
7670
7671         * buffer.C:
7672         * bufferlist.C:
7673         * bufferview_funcs.C:
7674         * lyxfont.C:
7675         * undo_funcs.C: cleanups
7676
7677         * lyxfunc.C: disable CUT/COPY when no selection
7678
7679 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7680
7681         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7682         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7683
7684         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7685         Add backward compatibility to "mono", "gray" and "no".
7686
7687 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7688
7689         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7690         (and file_format >= 200).
7691
7692 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7693
7694         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7695
7696 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7697
7698         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7699
7700 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7701
7702         * BufferView_pimpl.C:
7703         * LyXAction.C:
7704         * buffer.C:
7705         * commandtags.h:
7706         * lyxfunc.C:
7707         * paragraph.[Ch]:
7708         * text2.C:
7709         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7710         inset and code to make it  work with the paragraph code. The inset
7711         can be anywhere in the paragraph, but will only do the expected
7712         thing in LaTeX if the layout file contains the parameter line
7713                         OptionalArgs    1
7714         (or more generally, a nonzero value) for that layout.
7715
7716 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * paragraph.h: remove the declaration of undefined counters class
7719         function.
7720
7721 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7722
7723         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7724         Dr. Richard Hawkins.
7725
7726 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7727
7728         * paragraph_funcs.h: remove some unneeded includes
7729
7730         * text.C (backspace): pasteParagraph now in global scipe
7731
7732         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7733         (pasteSelection): ditto
7734
7735         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7736         * paragraph_funcs.C (pasteParagraph): ... here
7737
7738 2002-08-20  André Pönitz <poenitz@gmx.net>
7739
7740         * commandtags.h: new LFUNs for swapping/copying table row/colums
7741
7742         * LyXAction.C:
7743         * lyxfunc.C: support for new lfuns
7744
7745 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * tabular.C:
7748         * buffer.[Ch]: remove NO_COMPABILITY stuff
7749
7750 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * boost.C (throw_exception): new file, with helper function for
7753         boost compiled without exceptions.
7754
7755         * paragraph.h:
7756         * lyxlength.C:
7757         * buffer.C:
7758         * ParameterStruct.h:
7759         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7760
7761         * bufferlist.C (emergencyWriteAll): use boost bind
7762
7763         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7764
7765         * text.C: include paragraph_funcs.h
7766         (breakParagraph): breakParagraph is now in global scope
7767
7768         * paragraph_funcs.[Ch]: new files
7769
7770         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7771         global scope
7772
7773         * buffer.C: include paragraph_funcs.h
7774         (insertStringAsLines): breakParagraph is now in global scope
7775
7776         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7777         paragraph_funcs.C
7778
7779         * CutAndPaste.C: include paragraph_funcs.h
7780         (cutSelection): breakParagraphConservative is now in global scope
7781         (pasteSelection): ditto
7782
7783         * buffer.h: declare oprator== and operator!= for
7784         Buffer::inset_iterator
7785
7786         * bufferlist.C (emergencyWrite): don't use fmt(...)
7787
7788         * text3.C: add using std::endl
7789
7790         * BufferView.C (moveCursorUpdate): remove default arg
7791
7792 2002-08-20  André Pönitz <poenitz@gmx.net>
7793
7794         * buffer.[Ch]: move inline functions to .C
7795
7796         * BufferView2.C:
7797         * BufferView_pimpl.C:
7798         * text.C:
7799         * buffer.[Ch]: use improved inset_iterator
7800
7801         * buffer.C:
7802         * paragraph.[Ch]: write one paragraph at a time
7803
7804 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7805
7806         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7807         style if style is not specified.
7808
7809 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7810
7811         * text2.C (setCounter): when searching for right label for a
7812         caption, make sure to recurse to parent insets (so that a caption
7813         in a minipage in a figure float works) (bug #568)
7814
7815 2002-08-20  André Pönitz <poenitz@gmx.net>
7816
7817         * text3.C: new file for LyXText::dispatch() and helpers
7818
7819         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7820
7821         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7822
7823 2002-08-19  André Pönitz <poenitz@gmx.net>
7824
7825         * lyxtext.h:
7826         * text.C: new LyXText::dispatch()
7827
7828         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7829
7830 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7833
7834         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7835         Hebrew text.
7836
7837 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * Makefile.am: use $(variables) instead of @substitutions@
7840
7841 2002-08-15  André Pönitz <poenitz@gmx.net>
7842
7843         * lyxfunc.C:
7844         * BufferView_pimpl.C: streamlining mathed <-> outer world
7845         interaction
7846
7847         * commandtags.h:
7848         * LyXAction.C: remove unused LFUN_MATH
7849
7850 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7853
7854 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * paragraph.C (Paragraph): reformat a bit
7857         (cutIntoMinibuffer): use builtin InsetList function instad of
7858         doing it manually.
7859         (getInset): ditto
7860
7861         * buffer.C: include boost/bind.hpp, add using std::for_each
7862         (writeFileAscii): use ParagraphList iterators
7863         (validate): use for_each for validate traversal of paragraphs
7864         (getBibkeyList): use ParagraphList iterators
7865         (resizeInsets): use for_each to resizeInsetsLyXText for all
7866         paragraphs.
7867         (getParFromID): use ParagraphList iterators
7868
7869         * BufferView2.C (lockInset): use paragraph list and iterators
7870
7871 2002-08-14  John Levon  <levon@movementarian.org>
7872
7873         * lyxserver.C: remove spurious xforms include
7874
7875 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7876
7877         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7878
7879 2002-08-13  André Pönitz <poenitz@gmx.net>
7880
7881         * LyXAction.[Ch]:
7882         * lyxfunc.C: further cleaning
7883
7884 2002-08-13  André Pönitz <poenitz@gmx.net>
7885
7886         * funcrequest.h: new constructor
7887
7888         * funcrequest.C: move stuff here from .h
7889
7890         * Makefile.am:
7891         * BufferView_pimpl.C:
7892         * LyXAction.C:
7893         * toc.C:
7894         * lyxfunc.C: subsequent changes
7895
7896         * lyxfunc.h: new view() member function
7897
7898         * lyxfunc.C: subsequent changes
7899
7900 2002-08-13  Angus Leeming  <leeming@lyx.org>
7901
7902         * BufferView2.C:
7903         * BufferView_pimpl.C:
7904         * buffer.C:
7905         * converter.C:
7906         * importer.C:
7907         * lyxfunc.C:
7908         * lyxvc.C:
7909         * toc.C:
7910         * vc-backend.C:
7911         changes due to the changed LyXView interface that now returns references
7912         to member variables not pointers.
7913
7914 2002-08-13  Angus Leeming  <leeming@lyx.org>
7915
7916         * WordLangTuple (word, lang_code): return references to strings,
7917         not strings.
7918
7919         * BufferView.h:
7920         * SpellBase.h:
7921         * lyxtext.h: forward-declare WordLangTuple.
7922
7923         * BufferView2.C:
7924         * ispell.C:
7925         * pspell.C:
7926         * text.C: #include "WordLangTuple.h".
7927
7928         * lyxtext.h:
7929         * text.C: (selectNextWordToSpellcheck): constify return type.
7930
7931 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7932
7933         * buffer.C:
7934         * buffer.h:
7935         * lyxtext.h:
7936         * paragraph.C:
7937         * paragraph_pimpl.h:
7938         * text.C:
7939         * text2.C:
7940         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7941         suggested by Angus.
7942         Made updateCounter always count from start of buffer, and removed
7943         second argument (par).
7944         Reverted floats number display to '#'. Perhaps I'll try again when the
7945         code base is sanitized a bit.
7946
7947 2002-08-12  Angus Leeming  <leeming@lyx.org>
7948
7949         * buffer.[Ch] (getLabelList): constify.
7950
7951 2002-08-07  André Pönitz <poenitz@gmx.net>
7952
7953         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7954
7955         * funcrequest.h: extension to keep mouse (x,y) position
7956
7957 2002-08-12  Juergen Vigna  <jug@sad.it>
7958
7959         * BufferView2.C (insertErrors): forbid undo when inserting error
7960         insets.
7961
7962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7963
7964 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * ParagraphList.[Ch]: new files
7967
7968         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7969
7970         * BufferView2.C (lockInset): ParagraphList changes
7971         * toc.C: ditto
7972         * text2.C: ditto
7973         * bufferlist.C: ditto
7974         * buffer.h: ditto
7975         * buffer.C: ditto
7976
7977 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7980         unused class variable counter_,
7981
7982         * paragraph.[Ch] (getFirstCounter): delete unused function
7983
7984         * counters.C: include LAssert.h
7985         (reset): add a new function with no arg, change other version to
7986         not have def. arg and to not allow empty arg.
7987
7988         * text2.C (setCounter): remove empty arg from call to Counters::reset
7989
7990 2002-08-11  John Levon  <levon@movementarian.org>
7991
7992         * Makefile.am: add WordLangTuple.h
7993
7994 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7995
7996         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7997         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7998
7999         * insets/insettext.C: InsetList changes
8000
8001         * graphics/GraphicsSupport.C (operator()): InsetList changes
8002
8003         * toc.C (getTocList): InsetList changes
8004
8005         * paragraph_pimpl.[Ch]: InsetList changes
8006
8007         * paragraph.[Ch]: InsetList changes
8008
8009         * buffer.C (inset_iterator): InsetList changes
8010         (setParagraph): ditto
8011         * buffer.h (inset_iterator): ditto
8012         * iterators.C (operator++): ditto
8013         * iterators.h: ditto
8014
8015         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8016
8017         * InsetList.[Ch]: new files, most InsetList handling moved out of
8018         paragraph.C.
8019
8020         * BufferView2.C (removeAutoInsets): InsetList changes
8021         (lockInset): ditto
8022         (ChangeInsets): ditto
8023
8024 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * paragraph_pimpl.h (empty): new function
8027
8028         * paragraph.[Ch] (empty): new function
8029
8030         * other files: use the new Paragraph::empty function
8031
8032 2002-08-09  John Levon  <levon@movementarian.org>
8033
8034         * lyxtext.h: remove unused refresh_height
8035
8036 2002-08-09  John Levon  <levon@movementarian.org>
8037
8038         * Makefile.am:
8039         * sgml.h:
8040         * sgml.C:
8041         * buffer.C:
8042         * paragraph.h:
8043         * paragraph.C: move sgml char escaping out of paragraph
8044
8045         * paragraph.h:
8046         * paragraph.C: remove id setter
8047
8048         * buffer.C:
8049         * paragraph.C:
8050         * paragraph_pimpl.C: remove dead tex_code_break_column
8051
8052         * bufferview_funcs.C: small cleanup
8053
8054         * lyxfunc.C: remove dead proto
8055
8056         * lyxtext.h: make some stuff private. Remove some dead stuff.
8057
8058         * lyxgluelength.C: make as[LyX]String() readable
8059
8060 2002-08-08  John Levon  <levon@movementarian.org>
8061
8062         * LyXAction.h:
8063         * LyXAction.C:
8064         * MenuBackend.C:
8065         * ToolbarDefaults.C:
8066         * lyxfunc.C:
8067         * lyxrc.C:
8068         * toc.C: lyxaction cleanup
8069
8070 2002-08-08  John Levon  <levon@movementarian.org>
8071
8072         * BufferView2.C: small cleanup
8073
8074         * lyxfind.h:
8075         * lyxfind.C: move unnecessary header into the .C
8076
8077 2002-08-08  John Levon  <levon@movementarian.org>
8078
8079         * funcrequest.h: just tedious nonsense
8080
8081         * lyx_main.h:
8082         * lyx_main.C: cleanups
8083
8084         * buffer.C:
8085         * vspace.C: remove dead header lyx_main.h
8086
8087 2002-08-07  Angus Leeming  <leeming@lyx.org>
8088
8089         * Paragraph.[Ch]:
8090         * paragraph_pimpl.h:
8091         Forward declare class Counters in paragraph.h by moving the ctrs member
8092         variable into Paragraph::Pimpl.
8093         (counters): new method, returning a reference to pimpl_->ctrs.
8094
8095         * text2.C: ensuing changes.
8096
8097 2002-08-07  John Levon  <levon@movementarian.org>
8098
8099         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8100
8101         * BufferView_pimpl.C: announce X selection on double/triple
8102           click
8103
8104         * lyx_main.C: use correct bool in batch dispatch
8105
8106         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8107
8108 2002-08-07  André Pönitz <poenitz@gmx.net>
8109
8110         * funcrequest.h: new class to wrap a kb_action and its argument
8111
8112         * BufferView.[Ch]:
8113         * BufferView_pimpl[Ch]:
8114         * LaTeX.C:
8115         * LyXAction.[Ch]:
8116         * lyxfunc.[Ch]:
8117         * lyxrc.C: subsequent changes
8118
8119
8120 2002-08-07  John Levon  <levon@movementarian.org>
8121
8122         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8123           document options change.
8124
8125 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8126
8127         * counters.[Ch]
8128         * text2.C
8129         * paragraph.[Ch]
8130         * makefile.am: move counters functionality over from
8131         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8132
8133 2002-08-06  John Levon  <levon@movementarian.org>
8134
8135         * WordLangTuple.h: new file for word + language code tuple
8136
8137         * SpellBase.h:
8138         * pspell.h:
8139         * pspell.C:
8140         * ispell.h:
8141         * ispell.C:
8142         * lyxtext.h:
8143         * text.C:
8144         * text2.C:
8145         * BufferView.h:
8146         * BufferView2.C: use WordLangTuple
8147
8148         * layout.h:
8149         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8150
8151 2002-08-06  John Levon  <levon@movementarian.org>
8152
8153         * lyx_main.C: fix cmdline batch handling
8154
8155 2002-08-06  André Pönitz <poenitz@gmx.net>
8156
8157         * lyxrc.C: set default for show_banner to true
8158
8159 2002-08-06  John Levon  <levon@movementarian.org>
8160
8161         * pspell.C: fix a crash, and allow new aspell to work
8162
8163 2002-08-06  John Levon  <levon@movementarian.org>
8164
8165         * lyxfunc.C:
8166         * kbmap.C: small cleanup
8167
8168         * vspace.h:
8169         * vspace.C: add const
8170
8171 2002-08-05  John Levon  <levon@movementarian.org>
8172
8173         * LyXAction.C: back to tabular-insert
8174
8175 2002-08-04  John Levon  <levon@movementarian.org>
8176
8177         * BufferView.h:
8178         * BufferView.C: cosmetic change
8179
8180         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8181
8182         * bufferlist.C:
8183         * buffer.h:
8184         * buffer.C:
8185         * lyxcb.h:
8186         * lyxcb.C:
8187         * lyxserver.C:
8188         * lyxvc.C:
8189         * vc-backend.C:
8190         * BufferView2.C: purge all "Lyx" not "LyX" strings
8191
8192         * lyxcursor.h:
8193         * lyxcursor.C: attempt to add some documentation
8194
8195         * lyxfunc.C:
8196         * commandtags.h:
8197         * LyXAction.C:
8198         * ToolbarDefaults.C:
8199         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8200           merge with LFUN_TABULAR_INSERT
8201
8202         * Makefile.am:
8203         * SpellBase.h:
8204         * ispell.h:
8205         * ispell.C:
8206         * pspell.h:
8207         * pspell.C: split up i/pspell implementations into separate
8208           files, many cleanups
8209
8210         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8211
8212         * text2.C: some cleanup
8213
8214         * lyxfunc.C: don't check for isp_command == "none" any more, it
8215           didn't make any sense
8216
8217 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8218
8219         * counters.[Ch]
8220         * text2.C
8221         * paragraph.[Ch]
8222         * makefile.am: move counters functionality over
8223         from text2.C/paragraph.[Ch] to counters.[Ch], and
8224         make proper C++.
8225 2002-08-02  John Levon  <levon@movementarian.org>
8226
8227         * buffer.C: s/lyxconvert/lyx2lyx/
8228
8229 2002-08-02  Angus Leeming  <leeming@lyx.org>
8230
8231         * lyxlex.C: revert John's change as it breaks reading of the user
8232         preamble.
8233
8234 2002-08-02  Angus Leeming  <leeming@lyx.org>
8235
8236         * importer.C (Import):
8237         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8238         changes due to LyXView::view() now returning a boost::shared_ptr.
8239
8240 2002-08-02  John Levon  <levon@movementarian.org>
8241
8242         * lyxlex.C: small cleanup
8243
8244 2002-08-02  John Levon  <levon@movementarian.org>
8245
8246         * text2.C (status): small cleanup, no logic change
8247
8248 2002-08-01  John Levon  <levon@movementarian.org>
8249
8250         * buffer.h:
8251         * buffer.C (writeFile): don't output alerts, caller
8252           handles this
8253
8254         * bufferlist.C:
8255         * lyx_cb.C: from above
8256
8257         * lyxfunc.C: allow to open non-existent files
8258
8259 2002-07-31  John Levon  <levon@movementarian.org>
8260
8261         * lyxserver.C: don't let incidental errors get
8262           in the way (errno)
8263
8264 2002-07-30  John Levon  <levon@movementarian.org>
8265
8266         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8267
8268 2002-07-30  John Levon  <levon@movementarian.org>
8269
8270         * lyxserver.h:
8271         * lyxserver.C: remove I/O callback too
8272
8273 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8276         log.
8277
8278 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * many files: strip,frontStrip -> trim,ltrim,rtrim
8281
8282 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * PrinterParams.h: remove extern containsOnly, and include
8285         support/lstrings.h instead.
8286
8287         * LaTeX.C (scanAuxFile): modify because of strip changes
8288         (deplog): ditto
8289         * buffer.C (makeLaTeXFile): ditto
8290         * bufferparams.C (writeFile): ditt
8291         * lyxfont.C (stateText): ditto
8292         * lyxserver.C (read_ready): ditto
8293         * vc-backend.C (scanMaster): ditto
8294
8295         * BufferView_pimpl.h: ws changes
8296
8297         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8298
8299 2002-07-26  André Pönitz <poenitz@gmx.net>
8300
8301         * kb_sequence.C: remove unnedred usings
8302
8303 2002-07-26  Juergen Vigna  <jug@sad.it>
8304
8305         * lyxfind.C (LyXReplace): we have to check better if the returned
8306         text is not of theLockingInset()->getLockingInset().
8307
8308 2002-07-25  Juergen Vigna  <jug@sad.it>
8309
8310         * lyxfind.C (LyXReplace): don't replace if we don't get the
8311         right LyXText.
8312
8313         * undo_funcs.C (createUndo): remove debugging code.
8314
8315 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * buffer.C (parseSingleLyXformat2Token): Use default placement
8318         when reading old floats.
8319
8320         * FloatList.C (FloatList): Change the default placement of figure
8321         and tables to "tbp".
8322
8323 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8324
8325         * MenuBackend.C: using std::max
8326
8327 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8328
8329         * MenuBackend.C (expandToc):
8330         (expandToc2): code moved from xforms menu frontend. It is now
8331         generic and TOCs are transparent to menu frontends.
8332
8333 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * toc.C (getTocList): protect against buf=0
8336
8337         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8338         Menu as first parameter. Now, this calls itself recursively to
8339         expand a whole tree (this will be useful for TOC handling)
8340         (expandFloatInsert): remove 'wide' version of floats
8341
8342         * MenuBackend.h (submenuname): returns the name of the submenu.
8343         (submenu): returns the submenu itself, provided it has been
8344         created by MenuBackend::expand
8345
8346 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8349         insets which have noFontChange == true. (bug #172)
8350
8351 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8352
8353         * BufferView_pimpl.C: add connection objects and use them...
8354         (Pimpl): here.
8355
8356 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8357
8358         * MenuBackend.C (expandLastfiles):
8359         (expandDocuments):
8360         (expandFormats):
8361         (expandFloatListInsert):
8362         (expandFloatInsert):
8363         (expand): split expand in parts
8364
8365 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * lyx_gui.C: use lyx_gui::exit()
8368
8369 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * LyXAction.C: show the failing pseudo action
8372
8373 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8374
8375         * buffer.C (readFile): Run the lyxconvert script in order to read
8376         old files.
8377
8378 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * LyXAction.C:
8381         * commandtags.h:
8382         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8383
8384 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * LyXAction.C:
8387         * commandtags.h:
8388         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8389
8390 2002-07-22  Herbert Voss  <voss@lyx.org>
8391
8392         * lengthcommon.C:
8393         * lyxlength.[Ch]: add support for the vertical lengths
8394
8395 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8396
8397         * toc.[Ch]: std:: fixes
8398
8399 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8400
8401         * lyxrc.C: do not include lyx_main.h
8402
8403         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8404         for layouts
8405
8406         * lyxrc.C:
8407         * encoding.C:
8408         * bufferlist.C:
8409         * BufferView2.C: include "lyxlex.h"
8410
8411         * tabular.h:
8412         * bufferparams.h: do not #include "lyxlex.h"
8413
8414         * lyxtextclasslist.C (Add): remove method
8415         (classlist): renamed to classlist_
8416
8417         * paragraph_pimpl.C:
8418         * paragraph.C:
8419         * text2.C:
8420         * CutAndPaste.C:
8421         * bufferview_funcs.C:
8422         * bufferlist.C:
8423         * text.C:
8424         * LaTeXFeatures.C:
8425         * buffer.C:
8426         * toc.C (getTocList): use BufferParams::getLyXTextClass
8427
8428         * toc.C (getTocList): use InsetFloat::addToToc
8429
8430         * toc.[Ch]: new files, containing helper functions to handle table
8431         of contents
8432
8433         * lyxfunc.C (dispatch): no need to remove spaces around command
8434         given as a string
8435         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8436         first command of the sequence; it is not very clever, but I do not
8437         have a better idea, actually
8438
8439         * LyXAction.C (LookupFunc): make sure to remove space at the
8440         beginning and end of the command
8441
8442 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * MenuBackend.C (getMenubar): new method: return the menubar of
8445         this menu set
8446         (read): treat differently reading of menu and menubar (in
8447         particular, the menubar has no name now)
8448         (Menu::menubar): remove
8449
8450         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8451         saving is finished
8452
8453 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8454
8455         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8456         a bibitem inset in a RTL paragraph.
8457
8458 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8459
8460         * paragraph_pimpl.C: constify
8461
8462         * BufferView_pimpl.C:
8463         * LaTeX.C:
8464         * lyxfunc.C: fix dispatch in a nicer way
8465
8466 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8467
8468         * lyxfunc.C (dispatch):
8469         * BufferView_pimpl.C:
8470         * BufferView_pimpl.h:
8471         * BufferView.C:
8472         * BufferView.h: rename Dispatch() to dispatch()
8473
8474         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8475
8476         * lyxlayout.C (Read): honor DependsOn tag
8477
8478         * lyxlayout.[Ch] (depends_on): new method
8479
8480         * version.C.in: update lyx_docversion
8481
8482         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8483
8484         * paragraph.C (validate): remove from here...
8485         * paragraph_pimpl.C (validate): ... and move here
8486         (isTextAt): make it const
8487
8488         * buffer.C (getLists): ws cleanup
8489
8490 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8491
8492         * language.C (read): Use iso8859-1 encoding in latex_lang
8493         (this prevents LyX from crashing when using iso10646-1 encoding).
8494
8495 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * text2.C (toggleInset): if cursor is inside an inset, close the
8498         inset and leave cursor _after_ it
8499
8500 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8501
8502         * lyxfunc.C: move minibuffer completion handling out of here
8503
8504 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * BufferView_pimpl.C:
8507         * LaTeX.C: fix dispatch calls
8508
8509 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * text.C (drawChars): Fix Arabic text rendering.
8512
8513 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8514
8515         * LyXAction.C:
8516         * commandtags.h:
8517         * lyxfunc.C: remove message-push/pop
8518
8519         * lyxserver.C:
8520         * lyxfunc.h:
8521         * lyxfunc.C: rationalise some code by removing verboseDispatch
8522           in favour of a bool argument to dispatch()
8523
8524 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8525
8526         * lyx_main.C (init): make sure to read symlinks as absolute paths
8527
8528 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8529
8530         * lyxfunc.h:
8531         * lyxfunc.C: no need for commandshortcut to be a member
8532
8533 2002-07-15  André Pönitz <poenitz@gmx.net>
8534
8535         * converter.C: add support for $$s (scripts from lib/scripts dir)
8536         * lyx_main.C: white space
8537
8538 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8539
8540         * bufferlist.C:
8541         * lyxrc.h:
8542         * lyxrc.C: remove second exit confirmation
8543
8544 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8545
8546         * BufferView.h:
8547         * BufferView.C:
8548         * BufferView2.C:
8549         * BufferView_pimpl.h:
8550         * BufferView_pimpl.C:
8551         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8552
8553 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * MenuBackend.C (expand): add numeric shortcuts to document menu
8556
8557         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8558
8559 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8560
8561         * lyxfont.C (setLyXFamily):
8562         (setLyXSeries):
8563         (setLyXShape):
8564         (setLyXSize):
8565         (setLyXMisc):
8566         (lyxRead):
8567         * debug.C (value):
8568         * buffer.C (asciiParagraph): use ascii_lowercase
8569
8570 2002-07-15  Mike Fabian  <mfabian@suse.de>
8571
8572         * lyxlex_pimpl.C (search_kw):
8573         * lyxlex.C (getLongString):
8574         * converter.h (operator<):
8575         * converter.C (operator<):
8576         * buffer.C (parseSingleLyXformat2Token):
8577         (asciiParagraph):
8578         * ToolbarDefaults.C (read):
8579         * MenuBackend.C (checkShortcuts):
8580         (read):
8581         * LColor.C (getFromGUIName):
8582         (getFromLyXName): use the compare_ascii_no_case instead of
8583         compare_no_case, because in turkish, 'i' is not the lowercase
8584         version of 'I', and thus turkish locale breaks parsing of tags.
8585
8586 2002-07-16  Angus Leeming  <leeming@lyx.org>
8587
8588         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8589         now takes a Buffer const & argument.
8590
8591 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * BufferView.C (resize): check there's a buffer to resize
8594
8595 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * lyxfunc.C: remove dead code
8598
8599         * lyxserver.h:
8600         * lyxserver.C: use lyx_guii::set_read_callback
8601
8602 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8605         an inset in a RTL paragraph.
8606
8607 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8608
8609         * lyxfunc.C: repaint after a font size update
8610
8611 2002-07-15  André Pönitz <poenitz@gmx.net>
8612
8613         * lyxlength.C: inBP should be able to return negative values
8614
8615 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8616
8617         * lyxfunc.C: use lyx_gui::update_fonts()
8618
8619 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8620
8621         * lyxfunc.C: use lyx_gui::update_color()
8622
8623 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * bufferlist.C:
8626         * lyxfunc.h:
8627         * lyxfunc.C:
8628         * lyxrc.h:
8629         * lyxrc.C: remove file->new asks for name option, and let
8630           buffer-new take an argument
8631
8632 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8633
8634         * BufferView_pimpl.C: remove unneeded extra repaint()
8635
8636 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * LyXAction.C: allow command-sequence with NoBuffer
8639
8640         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8641
8642 2002-07-10  Angus Leeming  <leeming@lyx.org>
8643
8644         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8645
8646 2002-07-09  Angus Leeming  <leeming@lyx.org>
8647
8648         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8649
8650 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * lengthcommon.h: whitespace
8653
8654         * lyxfunc.C: update scrollbar after goto paragraph
8655
8656         * lyxtext.h: factor out page break drawing, and fix it so
8657           page break/added space paints as selected nicely
8658
8659 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * BufferView_pimpl.C: add FIXMEs, clean up a little
8662
8663 2002-07-09  André Pönitz <poenitz@gmx.net>
8664
8665         * lyxfont.[Ch]: support for wasy symbols
8666
8667 2002-07-08  André Pönitz <poenitz@gmx.net>
8668
8669         * BufferView_pimpl.C: apply John's patch for #93.
8670
8671 2002-07-05  Angus Leeming  <leeming@lyx.org>
8672
8673         * BufferView_pimpl.C (buffer): generate previews if desired.
8674
8675         * LColor.h: add "preview" to the color enum.
8676
8677         * LColor.C (LColor): add a corresponding entry to the items array.
8678
8679         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8680         with this buffer.
8681
8682 2002-07-05  Angus Leeming  <leeming@lyx.org>
8683
8684         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8685         The body of the code is now in the method that is passed an ostream &
8686         rather than a file name.
8687         Pass an additional only_preamble parameter, useful for the forthcoming
8688         preview stuff.
8689
8690 2002-07-03  André Pönitz <poenitz@gmx.net>
8691
8692         * lyxfunc.C: simplify getStatus() a bit for math stuff
8693
8694 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8697
8698 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8699
8700         * text.C (changeRegionCase): do not change case of all the
8701         document when region ends at paragraph end (bug #461)
8702
8703 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * paragraph.C (startTeXParParams):
8706         (endTeXParParams): add \protect when necessary
8707
8708 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * BufferView_pimpl.C (workAreaExpose): remove warning
8711
8712 2002-06-27  Angus Leeming  <leeming@lyx.org>
8713
8714         * Makefile.am: add lyxlayout_ptr_fwd.h.
8715
8716 2002-06-26  André Pönitz <poenitz@gmx.net>
8717
8718         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8719
8720 2002-06-25  Angus Leeming  <leeming@lyx.org>
8721
8722         * lyxfunc.C (dispatch): Comment out the call to
8723         grfx::GCache::changeDisplay. The method no longer exists now that the
8724         pixmap generation part of the graphics loader has been moved into
8725         InsetGraphics.
8726
8727 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * text2.C: layout as layout
8730
8731         * text.C: layout as layout
8732
8733         * tabular.C (OldFormatRead): layout as layout
8734
8735         * paragraph_pimpl.C (TeXDeeper): layout as layout
8736         (realizeFont): layout as layout
8737
8738         * paragraph.C (writeFile): layout as layout
8739         (validate): layout as layout
8740         (getFont): layout as layout
8741         (getLabelFont): layout as layout
8742         (getLayoutFont): layout as layout
8743         (breakParagraph): layout as layout
8744         (stripLeadingSpaces): layout as layout
8745         (getEndLabel): layout as layout
8746         (getMaxDepthAfter): layout as layout
8747         (applyLayout): layout as layout
8748         (TeXOnePar): layout as layout
8749         (simpleTeXOnePar): layout as layout
8750         (TeXEnvironment): layout as layout
8751         (layout): layout as layout
8752         (layout): layout as layout
8753
8754         * lyxtextclass.C (compare_name): new functor to work with
8755         shared_ptr, layout as layout
8756         (Read): layout as layout
8757         (hasLayout): layout as layout
8758         (operator): layout as layout
8759         (delete_layout): layout as layout
8760         (defaultLayout): layout as layout
8761
8762         * lyxlayout_ptr_fwd.h: new file
8763
8764         * lyxlayout.C (Read): layout as layout
8765
8766         * lyx_cb.C (MenuInsertLabel): layout as layout
8767
8768         * bufferlist.C (newFile): layout as layout
8769
8770         * buffer.C (readLyXformat2): layout as layout
8771         (parseSingleLyXformat2Token): layout as layout
8772         (insertStringAsLines): layout as layout
8773         (asciiParagraph): layout as layout
8774         (latexParagraphs): layout as layout
8775         (makeLinuxDocFile): layout as layout
8776         (simpleLinuxDocOnePar): layout as layout
8777         (makeDocBookFile): layout as layout
8778         (simpleDocBookOnePar): layout as layout
8779         (getLists): layout as layout
8780
8781         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8782
8783         * CutAndPaste.C (cutSelection): layout as layout
8784         (pasteSelection): layout as layout
8785         (SwitchLayoutsBetweenClasses): layout as layout
8786
8787         * BufferView_pimpl.C (Dispatch): layout as layout
8788         (smartQuote): layout as layout
8789
8790         * BufferView2.C (unlockInset): layout as layout
8791
8792 2002-06-24  André Pönitz <poenitz@gmx.net>
8793
8794         * lyxfunc.C: fix #487
8795
8796 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * lyxrc.h:
8799         * lyxrc.C:
8800         * lyxfunc.C: remove display_shortcuts, show_banner
8801
8802 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * Buffer_pimpl.C: oops, update on resize
8805
8806 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * buffer.C:
8809         * converter.C:
8810         * exporter.C:
8811         * lyxfunc.C:
8812         * BufferView.h:
8813         * BufferView.C: use repaint()
8814
8815         * BufferView_pimpl.h:
8816         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8817           as it's a clearer description. Remove superfluous
8818           redraws.
8819
8820 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * text.C: fix bug 488. Not ideal, but getting
8823           getWord() to work properly for the insets that
8824           matter is more difficult ...
8825
8826 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * BufferView_pimpl.C:
8829         * LyXAction.C:
8830         * commandtags.h:
8831         * lyxfunc.C: remove the six million index lyxfuncs to just
8832           one, and DTRT (bug 458)
8833
8834 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * BufferView.h:
8837         * BufferView.C:
8838         * BufferView_pimpl.h:
8839         * BufferView_pimpl.C: clean up resize() stuff,
8840           and unnecessary updateScreen()s
8841
8842 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8843
8844         * BufferView.h:
8845         * BufferView.C:
8846         * BufferView_pimpl.h:
8847         * BufferView_pimpl.C:
8848         * lyxfind.h:
8849         * lyxfind.C:
8850         * minibuffer.C: remove focus management of workarea,
8851           not needed. Use screen's greyOut()
8852
8853 2002-06-17  Herbert Voss  <voss@lyx.org>
8854
8855         * converter.C: (convert) do not post a message, when converting
8856         fails, let the calling function decide what to do in this case
8857
8858 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8859
8860         * lyxfunc.C: tidy up a little
8861
8862 2002-06-16    <alstrup@diku.dk>
8863
8864         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8865         Got rid of FORMS_H_LOCATION include. Now we are
8866         GUII.
8867
8868 2002-06-15  LyX Development team  <lyx@rilke>
8869
8870         * buffer.[Ch] (sgmlOpenTag):
8871         (sgmlCloseTag): Added support for avoiding pernicious mixed
8872         content. Return number of lines written.
8873
8874         (makeLinuxDocFile):
8875         (makeDocBookFile): Fixed calls to sgml*Tag.
8876         Simple white space clean.
8877
8878         (simpleDocBookOnePar): Simple white space clean.
8879
8880         * tabular.[Ch] (docBook): Renamed to docbook and got another
8881         argument to related with the pernicious mixed content.
8882
8883         (docbookRow): Fixed calls for docbook inset method.
8884
8885 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8886
8887         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8888         so it's X11 independent.
8889
8890         * kb*.[Ch]: ditto.
8891
8892         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8893
8894 2002-06-15  Lyx Development team  <lyx@electronia>
8895
8896         * intl.h: Renamed getTrans to getTransManager.
8897
8898 2002-06-14  Angus Leeming  <leeming@lyx.org>
8899
8900         * Makefile.am: nuke forgotten stl_string_fwd.h.
8901
8902 2002-06-12  Angus Leeming  <leeming@lyx.org>
8903
8904         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8905
8906 2002-06-13  Angus Leeming  <leeming@lyx.org>
8907
8908         * LaTeX.C:
8909         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8910
8911 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8912
8913         * kbmap.C (getiso): add support for cyrillic and greek
8914
8915 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * BufferView.h:
8918         * BufferView.C:
8919         * BufferView_pimpl.h:
8920         * BufferView_pimpl.C: move bogus scrolling logic
8921           to xforms
8922
8923 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8924
8925         * lyxfunc.C:
8926         * BufferView_pimpl.C: view->resize() change
8927
8928 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8929
8930         * BufferView_pimpl.C: topCursorVisible
8931           prototype change
8932
8933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8934
8935         * Makefile.am:
8936         * lyx_gui.h:
8937         * lyx_gui.C: move to frontends/
8938
8939         * main.C:
8940         * lyx_main.h:
8941         * lyx_main.C: changes from above
8942
8943 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * intl.C:
8946         * intl.h:
8947         * kbmap.C:
8948         * kbsequence.C:
8949         * lyx_cb.C:
8950         * lyx_main.C: minor tidy
8951
8952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * BufferView_pimpl.h:
8955         * BufferView_pimpl.C:
8956         * BufferView.h:
8957         * BufferView.C: make painter() const,
8958           remove dead code
8959
8960         * BufferView2.C: use screen() accessor
8961
8962         * lyx_main.h:
8963         * lyx_main.C: some minor cleanup
8964
8965 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8966
8967         * BufferView_pimpl.h:
8968         * BufferView_pimpl.C: remove enter/leaveView,
8969           use workHeight()
8970
8971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8972
8973         * BufferView.h:
8974         * BufferView.C:
8975         * BufferView2.C:
8976         * BufferView_pimpl.h:
8977         * BufferView_pimpl.C: only construct screen once,
8978           rename
8979
8980         * lyxrc.C: remove pointless comment
8981
8982 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * BufferView.h:
8985         * BufferView.C: remove active() and belowMouse()
8986
8987         * BufferView_pimpl.h:
8988         * BufferView_pimpl.C: use workarea() not workarea_,
8989           and make it use a scoped_ptr instead
8990
8991 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * lyx_gui.C: add debug message on BadWindow
8994
8995 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * sp_spell.C: fdopen is not part of the C++ standard.
8998
8999         * paragraph.C (InsetIterator): use >= instead of ==
9000
9001 2002-06-07  Angus Leeming  <leeming@lyx.org>
9002
9003         Fixes needed to compile with Compaq cxx 6.5.
9004         * BufferView_pimpl.C:
9005         * DepTable.C:
9006         * buffer.C:
9007         * converter.C:
9008         * encoding.C:
9009         * lyx_gui.C:
9010         * lyx_main.C:
9011         * lyxtextclasslist.C:
9012         * minibuffer.C:
9013         * sp_spell.C:
9014         * tabular_funcs.C:
9015         * vc-backend.C:
9016         all c-library variables have been moved into namespace std. Wrap
9017         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9018
9019         * lyxlength.C:
9020         * tabular-old.C:
9021         * tabular.C:
9022         Add a using std::abs declaration.
9023
9024         * kbmap.h (modifier_pair):
9025         * paragraph.h (InsetTable, InsetList):
9026         * lyxfont.h (FontBits):
9027         type definition made public.
9028
9029         * bufferlist.C (emergencyWriteAll): the compiler complains that
9030         there is more than one possible lyx::class_fun template to choose from.
9031         I re-named the void specialisation as lyx::void_class_fun.
9032
9033         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9034
9035         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9036         the compiler is is unable to find tostr in write_attribute.
9037
9038 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * buffer.C (sgmlError): hide #warning
9041
9042 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9043
9044         * xtl/*: get rid of xtl, which is not in use anyway
9045
9046         * LyXAction.C (init):
9047         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9048         were unimplemented xtl experimentation
9049
9050 2002-06-04  André Pönitz <poenitz@gmx.net>
9051
9052         * lyxfunc.C: disable array operation on simple formulae
9053
9054 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * converter.C: constify a bit
9057
9058 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * lyx_gui.C: check xforms version correctly
9061
9062 2002-04-30  Herbert Voss  <voss@lyx.org>
9063
9064         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9065         "keep" option
9066
9067 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9070           attempt to register it with a VCS)
9071
9072 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9073
9074         * lyx_main.C (init): honor variables LYX_DIR_13x and
9075         LYX_USERDIR_13x
9076
9077 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * buffer.h:
9080         * buffer.C:
9081         * lyx_main.C: fix a crash on bad command line,
9082           and give a useful exit status on error
9083
9084         * lyxfunc.C (doImport): allow -i lyx to work
9085
9086 2002-03-30  André Pönitz <poenitz@gmx.net>
9087
9088         * lyxfunc.C: mathed font changes
9089
9090 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * LaTeX.C:
9093         * importer.h:
9094         * importer.C:
9095         * lyx_sty.h:
9096         * lyx_sty.C:
9097         * lyxlex.C:
9098         * lyxrow.h:
9099         * lyxtext.h:
9100         * paragraph.h:
9101         * paragraph.C:
9102         * texrow.h:
9103         * texrow.C:
9104         * text.C:
9105         * trans_mgr.h: srcdocs, and some minor cleanups
9106
9107 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9110         call getFont all the time)
9111
9112 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * switch from SigC signals to boost::signals
9115
9116 2002-05-29  André Pönitz <poenitz@gmx.net>
9117
9118         * paragraph_pimpl.C (getChar): don't call size() too often...
9119
9120 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9121
9122         * paragraph_pimpl.C (insertChar): do not try to update tables when
9123         appending (pos == size())
9124
9125         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9126         in order to reduce drastically the number of comparisons needed to
9127         parse a large document
9128
9129 2002-05-29  André Pönitz <poenitz@gmx.net>
9130
9131         * text.C:
9132         * text2.C:
9133         * lyxtextclass.C:
9134         * sp_pspell.h:
9135         * textclasslist.[Ch]:
9136         * sp_ispell.h: whitespace change
9137
9138 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9141         lyxaction directly now.
9142
9143 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * trans.C:
9146         * lyxfont.C:
9147         * lyxvc.C: remove unused headers
9148
9149 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * Makefile.am:
9152         * buffer.h:
9153         * undostack.h:
9154         * undostack.C:
9155         * undo_funcs.h:
9156         * undo_funcs.C: some cleanups. Use shared_ptr
9157           and a template for the undo stacks.
9158
9159 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9160
9161         * BufferView_pimpl.h:
9162         * BufferView_pimpl.C:
9163         * kbmap.h:
9164         * kbmap.C:
9165         * kbsequence.h:
9166         * kbsequence.C:
9167         * lyxfunc.h:
9168         * lyxfunc.C:
9169         * text2.C: use key_state/mouse_state
9170
9171 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9172
9173         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9174         and LSubstring
9175
9176         * chset.C: change include order
9177         (loadFile): use boost regex and get rid of LRegex and LSubstring
9178
9179         * Makefile.am (BOOST_LIBS): new variable
9180         (lyx_LDADD): use it
9181
9182         * LaTeX.C: change include order.
9183         (scanAuxFile): use boost regex and get rid of LRegex and
9184         LSubstring
9185         (deplog): ditto
9186
9187 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * ColorHandler.h:
9190         * ColorHandler.C:
9191         * FontInfo.h:
9192         * FontInfo.C: moved to frontends/xforms/
9193
9194         * FontLoader.h:
9195         * FontLoader.C: moved into frontends for GUIIzation
9196
9197         * Makefile.am:
9198         * lyx_gui.C:
9199         * lyxfont.C:
9200         * lyxfunc.C: changes from above
9201
9202 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * LColor.C: remove spurious X include
9205
9206         * BufferView_pimpl.C:
9207         * Makefile.am:
9208         * font.h:
9209         * font.C:
9210         * text.C:
9211         * text2.C: move font metrics to frontends/
9212
9213 2002-05-24  Juergen Vigna  <jug@sad.it>
9214
9215         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9216         setting the undo_cursor.
9217
9218         * ParagraphParameters.h: include local includes first.
9219
9220 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * BufferView_pimpl.C:
9223         * BufferView_pimpl.h:
9224         * Makefile.am:
9225         * WorkArea.h:
9226         * WorkArea.C:
9227         * screen.C: move WorkArea into frontends/
9228
9229         * lyxscreen.h:
9230         * screen.C:
9231         * text.C:
9232         * BufferView.C:
9233         * BufferView2.C: move LyXScreen into frontends/
9234
9235         * lyxlookup.h:
9236         * lyxlookup.C:
9237         * lyx_gui.C: move lyxlookup into frontends/xforms/
9238
9239 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9240
9241         * BufferView2.C:
9242         * BufferView_pimpl.C:
9243         * FontLoader.C:
9244         * LyXView.h:
9245         * LyXView.C:
9246         * Makefile.am:
9247         * WorkArea.C:
9248         * XFormsView.h:
9249         * XFormsView.C:
9250         * buffer.C:
9251         * bufferlist.C:
9252         * bufferview_funcs.C:
9253         * converter.C:
9254         * importer.C:
9255         * lyx_cb.C:
9256         * lyx_gui.C:
9257         * lyx_main.C:
9258         * lyx_find.C:
9259         * lyxfunc.C:
9260         * lyxvc.C:
9261         * minibuffer.C:
9262         * text.C:
9263         * text2.C:
9264         * trans.C:
9265         * vc-backend.C: move LyX/XFormsView into frontends/
9266
9267 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * Makefile.am:
9270         * PainterBase.C:
9271         * PainterBase.h:
9272         * Painter.C:
9273         * Painter.h:
9274         * WorkArea.C:
9275         * WorkArea.h:
9276         * screen.C:
9277         * tabular.C:
9278         * text.C:
9279         * text2.C: move Painter to frontends/
9280
9281 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9282
9283         * buffer.C: comment out some some code that depend upon lyx_format
9284         < 220
9285
9286         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9287         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9288
9289         * buffer.h (NO_COMPABILITY): turn off compability
9290
9291         * ColorHandler.C: include scoped_array.hpp
9292
9293         * font.C: Use more specific smart_ptr header.
9294         * Painter.C: ditto
9295         * gettext.C: ditto
9296         * ShareContainer.h: ditto
9297         * lyx_main.h: ditto
9298         * kbmap.h: ditto
9299         * FontInfo.h: ditto
9300         * BufferView_pimpl.h: ditto
9301         * ColorHandler.h: ditto
9302
9303         * kbmap.C (defkey): change call to shared_ptr::reset
9304
9305 2002-05-21  Juergen Vigna  <jug@sad.it>
9306
9307         * buffer.C (insertErtContents): fix to insert ert asis if it is
9308         non empty. Skip it completely if it contains only whitespaces.
9309
9310 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * BufferView_pimpl.C:
9313         * BufferView2.C: clear selection on paste (bug 393)
9314
9315 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * DepTable.C: include ctime
9318
9319 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9320
9321         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9322
9323 2002-05-14  Juergen Vigna  <jug@sad.it>
9324
9325         * text.C (breakParagraph): fixed function to honor the keepempty
9326         layout in the right maner and also to permit the right breaking
9327         algorithm on empty or non empyt keepempty paragraphs.
9328
9329         * paragraph.C (breakParagraph): we have to check also if the par
9330         is really empty (!size()) for isempty otherwise we do the wrong
9331         paragraph break.
9332
9333 2002-05-10  Juergen Vigna  <jug@sad.it>
9334
9335         * buffer.[Ch] : The following are only changes to the ert
9336         compatibility read reading old LaTeX layout and font stuff and
9337         convert it to ERTInsets.
9338
9339         * buffer.h: added isErtInset().
9340
9341         * buffer.C (struct ErtComp): add a fromlayout bool to check
9342         if we're inside a LaTeX layout.
9343         (isErtInset): new helper function.
9344         (insertErtContents): look for other ert insets before this one
9345         and insert the contents there, so that we don't have subsequent
9346         ERT insets with nothing between them. This way we create only one
9347         inset with multiple paragraphs. Also check if we don't insert only
9348         spaces ' ' as they are ignored anyway afterwards in the .tex file
9349         so if we have only spaces we will ignore this latex part in the
9350         new file.
9351         (parseSingleLyXformat2Token \\layout): better compatibility when
9352         reading layout-latex stuff.
9353         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9354         language tag.
9355         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9356         stuff after reading the inset only get the information back from
9357         the stack.
9358
9359 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9360
9361         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9362
9363         * LaTeXFeatures.C (getBabelOptions): New method.
9364
9365 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9366
9367         * BufferView_pimpl.C (Dispatch): work around missing argument for
9368         'layout'
9369
9370 2002-05-08  Juergen Vigna  <jug@sad.it>
9371
9372         * text.C (leftMargin): handle paragraph leftindent.
9373
9374         * paragraph.C (writeFile): write the new \\leftindent tag.
9375         (validate): handle leftindent code.
9376         (TeXEnvironment): handle paragraphleftindent code again.
9377
9378         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9379
9380         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9381         for paragrap_extra indent code and new token \\leftindent.
9382         (latexParagraphs): handle the leftindent as environment.
9383
9384         * ParameterStruct.h: added leftindent support.
9385
9386         * ParagraphParameters.C (leftIndent): added support functions for
9387         the paragraph left indent.
9388
9389         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9390         more appropriate.
9391
9392 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9393
9394         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9395         inside insetERT.
9396
9397         * text.C (computeBidiTables): No bidi in insetERT.
9398
9399         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9400         in RTL documents.
9401
9402 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9403
9404         * version.C.in: pre 5
9405
9406 2002-05-02  José Matos  <jamatos@fep.up.pt>
9407         * buffer.C (makeDocBookFile): white space changes, add newline to
9408         command styles.
9409         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9410
9411         * tabular.C (docBook): fix typo.
9412
9413 2002-05-03  Juergen Vigna  <jug@sad.it>
9414
9415         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9416         change in LyXText as we can not be sure it was not freed.
9417         (drawOneRow): remove unused code.
9418
9419         * text.C (drawInset): redo the calculation of the need_break_row as
9420         it could have a row which was already freed.
9421         (draw): look at the return value of drawInset and return false if
9422         it also returned false.
9423         (paintRowText): look at the return value of draw and return false if
9424         it also returned false.
9425
9426         * lyxtext.h: added bool return type to drawInset() and draw() so that
9427         if we have a change in the row so that the rowbreak has to be redone
9428         we abort drawing as it will be called again.
9429
9430 2002-05-02  Juergen Vigna  <jug@sad.it>
9431
9432         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9433         a change in the maintext also if we're inside an inset.
9434         (Dispatch): set the cursor again after a break line and after the
9435         screen has been updated as it could be we're in a different row.
9436
9437         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9438         to set the cursor behind the pargraph with > size().
9439         (setCursor): check also for the same paragraph when checking where
9440         to put the cursor if we have a NFR inset.
9441
9442         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9443         parts of layout read further up as it still was in the wrong
9444         position.
9445
9446 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9447
9448         * screen.C (drawFromTo): change sine fullRebreak always return
9449         true.
9450
9451         * buffer.C (parseSingleLyXformat2Token): reindent some
9452
9453         * BufferView_pimpl.C (update): change since fullRebreak always
9454         return true.
9455         (Dispatch): git rid of the last hardcoded "Standard"s.
9456
9457 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * text2.[Ch] (fullRebreak): make it return void now that we always
9460         returned true.
9461
9462 2002-04-30  Juergen Vigna  <jug@sad.it>
9463
9464         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9465         ert compatibility check for "latex" layout.
9466
9467 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9468
9469         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9470         minipages: use col% instead of p%, and also use the current font.
9471         (makeLaTeXFile): Fix use babel condition.
9472         (parseSingleLyXformat2Token): Correct font when reading old floats.
9473
9474 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9475
9476         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9477         inserting list of floats.
9478
9479 2002-04-25  Herbert Voss  <voss@lyx.org>
9480
9481         * MenuBackend.C (expand): don't add the graphics extensions to the
9482         export menu
9483
9484 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9487         non-existing layout, do not complain if it was the default layout
9488         of the original class (bug #342)
9489
9490 2002-04-24  Juergen Vigna  <jug@sad.it>
9491
9492         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9493         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9494
9495 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9496
9497         * buffer.C (getBibkeyList): If using \bibliography, return the
9498         option field with the reference itself. Enables us to provide natbib
9499         support when using \bibliography.
9500
9501 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9502
9503         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9504
9505         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9506         natbib is provided by the LaTeX class.
9507
9508 2002-04-23  Juergen Vigna  <jug@sad.it>
9509
9510         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9511         Wakeup functions.
9512
9513         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9514
9515 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9518
9519         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9520         ensuremath around textordmasculine, textordfeminine and
9521         textdegree.
9522
9523 2002-04-19  Juergen Vigna  <jug@sad.it>
9524
9525         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9526         reinitializing the buffer otherwise row-dimensions may be wrong.
9527         (update): reset also the selection cursors if they do exits otherwise
9528         their x/y positions may be wrong.
9529
9530         * text2.C (cursorDown): don't enter the inset if we came from a row
9531         above and are one row over the inset.
9532
9533         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9534         really leaving an inset.
9535
9536 2002-04-18  Juergen Vigna  <jug@sad.it>
9537
9538         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9539         of the selected paragraph does not have the selected layout also if
9540         the last one had!
9541
9542         * text2.C (setLayout): fixed bug which did not change last selected
9543         paragraph.
9544
9545         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9546         changed the read and substituted \\end_float with \\end_inset!
9547
9548         * BufferView_pimpl.C (cursorPrevious):
9549         (cursorNext): fixed to make it work with rows heigher than the work
9550         area without moving the cursor only the draw of the row.
9551         (workAreaMotionNotify): fix jumping over high rows.
9552
9553 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9554
9555         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9556         Ressler.
9557
9558 2002-04-16  Juergen Vigna  <jug@sad.it>
9559
9560         * text2.C (setCursor): set also the irow().
9561         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9562         (cursorUp):
9563         (cursorDown): support for locking an inset if the x_fix value goes
9564         inside it. That way I can transverse insets too with cursor up/down.
9565
9566         * lyxrow.h: added irow helper function same as other (i) functions.
9567
9568         * BufferView_pimpl.C (cursorPrevious):
9569         (cursorNext): fixed for insets!
9570
9571 2002-04-15  Juergen Vigna  <jug@sad.it>
9572
9573         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9574         position otherwise it is wrong in some cases.
9575
9576         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9577         inside the inset before the call.
9578
9579 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9580
9581         * buffer.[Ch] (getBibkeyList): make it const.
9582
9583 2002-04-12  Juergen Vigna  <jug@sad.it>
9584
9585         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9586
9587         * text2.C (getCursorX): new helper function
9588         (setCursor): compute also ix_
9589         (setCursorFromCoordinates): set also ix.
9590
9591         * lyxcursor.h: added ix_ and helper functions.
9592
9593         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9594
9595         * buffer.C (insertStringAsLines): dont break paragraph if the this
9596         paragraph is inside an inset which does not permit it!
9597
9598         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9599         also with no chars on this paragraph.
9600         (paintRowText): only paint stuff if it's inside the workarea!
9601
9602         * paragraph.C (breakParagraph): honor keepempty flag and break the
9603         paragraph always below not above.
9604
9605         * BufferView2.C (unlockInset): update the paragraph layout on inset
9606         unlock as we changed paragraph in such a case.
9607
9608         * lyxfind.C (LyXFind): clear the former selection if not found!
9609
9610         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9611         again called in insertChar().
9612
9613         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9614         an inset which uses the whole row!
9615         (rightMargin): ditto.
9616         (insertChar): force a rebreak if we inserted an inset!
9617
9618 2002-03-28  Herbert Voss  <voss@lyx.org>
9619
9620         * lyxlength.[Ch]: add inBP() to get the right PS-point
9621         units (BigPoint). With inPixels we have rounding errors
9622
9623 2002-04-11  Juergen Vigna  <jug@sad.it>
9624
9625         * text2.C (setCursorFromCoordinates): set iy to the right value.
9626         (setCursor): add check if row->previous exists!
9627
9628         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9629         an old float_type as this was the case in the old code!
9630
9631         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9632
9633         * BufferView2.C (showLockedInsetCursor): use iy
9634         (fitLockedInsetCursor): ditto
9635
9636         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9637         locked insets as there we have the right value now.
9638
9639         * lyxcursor.C: added iy_ variable and iy functions to set to the
9640         baseline of cursor-y of the locked inset.
9641
9642         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9643         (setCursor): fixed for insets which need a full row.
9644
9645         * text.C (rowLastPrintable): don't ignore the last space when before
9646         an inset which needs a full row.
9647         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9648         as last character of a row when before a inset which needs a full row.
9649
9650 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * version.C.in: update date
9653
9654         * text2.C (fullRebreak): try to always return true and see what
9655         happens...
9656
9657 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * MenuBackend.C (expand): use Floating::listName
9660
9661         * FloatList.C (FloatList): add listName argument to the built-in
9662         floats
9663
9664         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9665         text associated with the float.
9666
9667 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9668
9669         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9670
9671 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9672
9673         * ShareContainer.h: add a couple of missing typenames.
9674
9675 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9676
9677         * lyxrc.C (getDescription): use _() correctly rather than N_().
9678
9679 2002-03-28  Herbert Voss  <voss@lyx.org>
9680
9681         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9682         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9683
9684 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9687         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9688
9689 2002-03-29  Juergen Vigna  <jug@sad.it>
9690
9691         * lyxfunc.C (dispatch): add a missing fitCursor call.
9692
9693         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9694         it was scrolled by a cursor move, so return the bool status.
9695
9696         * BufferView.C (fitCursor): return the bool flag also to the outside
9697         world as this is needed.
9698
9699         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9700
9701         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9702         call the edit() as it is not needed (and wrong) IMO.
9703         (workAreaButtonPress): set the screen_first variable before evt.
9704         unlock the inset as this may change screen_first and then we have
9705         a wrong y position for the click!
9706
9707 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * MenuBackend.C (expand): another translation that I missed
9710
9711 2002-03-28  Juergen Vigna  <jug@sad.it>
9712
9713         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9714
9715         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9716
9717 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9720
9721         * MenuBackend.C (expand): fix export/view/update when there is no
9722         document open.
9723
9724 2002-03-27  Herbert Voss  <voss@lyx.org>
9725
9726         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9727         and text%
9728
9729 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9730
9731         * bufferview_funcs.C (currentState): only show paragraph number
9732         for is DEVEL_VERSION is set.
9733
9734         * lyxfunc.C (dispatch): put warning in INFO channel
9735
9736         * MenuBackend.C (expand): translate the name of floats
9737
9738         * FloatList.C (FloatList): mark the float names for translation
9739
9740         * converter.C (convert): use LibScriptSearch
9741
9742 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * MenuBackend.C (defaults): fix default menu (we might as well get
9745         rid of it...)
9746
9747 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9750         directory.
9751
9752 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * lyxvc.C: reorder includes.
9755
9756 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9759           properly
9760
9761 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * CutAndPaste.C: change layouts earlier on paste
9764           to avoid crashing when calling getFont()
9765
9766 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9767
9768         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9769         irritating #error.
9770
9771 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9772
9773         * WorkArea.C: remove 'Pending' debug message.
9774
9775         * most files: ws cleanup
9776
9777         * buffer.[Ch]: ws changes
9778
9779         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9780
9781 2002-03-21  Juergen Vigna  <jug@sad.it>
9782
9783         * tabular.C (SetMultiColumn): collapse also the contents of the
9784         cells and set the last border right. Added a Buffer const * param.
9785
9786 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9787
9788         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9789         linking or not.
9790
9791 2002-03-19  Juergen Vigna  <jug@sad.it>
9792
9793         * text2.C (clearSelection): reset also xsel_cache.
9794
9795         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9796         where it needs to be called (John tells us to do so too :)
9797         (selectionLost): reset sel_cache.
9798
9799         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9800
9801 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * text2.C (setCursorIntern): put debuging code in INSETS channel
9804
9805 2002-03-19  André Pönitz <poenitz@gmx.net>
9806
9807         * lyxfunc.C: tiny whitespace change
9808
9809 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * ToolbarDefaults.C (init):
9812         * LyXAction.C (init):
9813         * commandtags.h:
9814         * BufferView_pimpl.C (Dispatch):
9815         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9816
9817 2002-03-19  Allan Rae  <rae@lyx.org>
9818
9819         * exporter.C (Export): removeAutoInsets before doing anything else.
9820         While I've just introduced a dependency on BufferView this really is
9821         the best place to clean the buffer otherwise you need to cleanup in
9822         a dozen places before calling export or cleanup in a dozen functions
9823         that export calls.
9824
9825         * converter.C (runLaTeX):
9826         (scanLog): Better handling of removeAutoInsets and screen updates.
9827
9828         * lyxfunc.C (dispatch): small whitespace changes
9829
9830 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9831
9832         * WorkArea.C (C_WorkAreaEvent): return a value.
9833         (event_cb): return 1 if we handled the event, 0 otherwise.
9834
9835         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9836
9837 2002-03-18  Juergen Vigna  <jug@sad.it>
9838
9839         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9840         (GetAdditionalWidth): ditto.
9841         (RightLine): ditto.
9842         (LeftLine): ditto.
9843
9844         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9845         inset if we're there actually (probably not used right now but this
9846         is the direction to go for unifying code).
9847         (paste): disable code to clear the selection.
9848
9849         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9850         inside an InsetText and move the check further up as it is in the
9851         wrong place.
9852
9853         * text2.C (pasteSelection): set a selection over the pasted text.
9854
9855 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9856
9857         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9858         and libgraphics to build on Cygwin.
9859
9860 2002-03-15  Juergen Vigna  <jug@sad.it>
9861
9862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9863         inserting an Inset into the paragraph. I know this is not the best
9864         fix but we already use current_view in CutAndPaste so we will remove
9865         all of it's using at the same time.
9866
9867         * buffer.C (sgmlError): deactivated function till it is rewritten in
9868         the right mode, now it can create problems.
9869
9870         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9871         before accessing it.
9872
9873 2002-03-14  Juergen Vigna  <jug@sad.it>
9874
9875         * undo_funcs.C (textHandleUndo): do the right thing when updating
9876         the inset after the undo/redo.
9877
9878         * text2.C (setCursor): just some testcode for #44 not ready yet.
9879
9880         * undo_funcs.C (textHandleUndo): set the next() and previous()
9881         pointers of the paragraph to 0 before deleting otherwise we have
9882         problems with the Paragraph::[destructor].
9883
9884         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9885         on a paragraph insertion.
9886
9887 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * buffer.C (asciiParagraph): use += operator for char append to
9890         string.
9891
9892         * paragraph.C (getFontSettings): compare >= not just >
9893         (highestFontInRange): ditto
9894         (setFont): ditto
9895
9896 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9897
9898         * paragraph.C: change several algorithm to be more appripriate for
9899         the problem domain. This is lookip in FontList and in the InsetList.
9900
9901 2002-03-13  André Pönitz <poenitz@gmx.net>
9902
9903         * commandtags.h:
9904         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9905
9906 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * commandtags.h:
9909         * LyXAction.C:
9910         * lyxfunc.C:
9911         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9912
9913 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * Painter.C (display): anon helper function, adjust code for this
9916         change.
9917         (pixmap): remove function.
9918
9919         * Painter.h: remove private display variable.
9920
9921         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9922
9923 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9924
9925         * WorkArea.[Ch]: remove figinset_canvas cruft.
9926
9927 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * lyxtextclass.C (operator): add one item cache optimization.
9930
9931         * bufferlist.h: doxy changes
9932
9933         * bufferlist.C: ws changes
9934
9935         * DepTable.[Ch] (ext_exist): place const in the right spot.
9936
9937         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9938         call resizeInsets.
9939         (workAreaExpose): call resizeInsets when the with BufferView changes.
9940         (Dispatch): adjust for protectedBlank removal
9941         (specialChar): call updateInset if the insert went ok.
9942
9943         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9944         specialChar instead.
9945
9946         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9947
9948         * BufferView.h: doxy change
9949
9950         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9951
9952         * lyxtextclass.C (operator[]): remove non-const version
9953         (defaultLayout): remove non-const version
9954
9955 2002-03-12  Juergen Vigna  <jug@sad.it>
9956
9957         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9958         did resize the LyXText too.
9959
9960         * buffer.C (readLyXformat2): set layout information on newly allocated
9961         paragraphs.
9962
9963         * tabular.C (OldFormatRead): set layout information on the paragraph.
9964
9965 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9966
9967         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9968
9969 2002-03-11  Juergen Vigna  <jug@sad.it>
9970
9971         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9972         plainly wrong.
9973         (resizeCurrentBuffer): force also the insets to resize themselfes.
9974         (moveCursorUpdate): fixed up for InsetText.
9975
9976 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * commandtags.h:
9979         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9980         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9981         value of Dialogs::tooltipsEnabled().
9982         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9983
9984 2002-03-08  Juergen Vigna  <jug@sad.it>
9985
9986         * BufferView_pimpl.C (updateInset): update inset inside inset also
9987         if it isn't inside theLockingInset().
9988
9989 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9990
9991         * buffer.C (asciiParagraph): redo some of the word and line length
9992         handling.
9993         (getLists): look for Caption instead of caption.
9994
9995 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * buffer.C (Buffer): initialize niceFile to true
9998         (makeLaTeXFile):
9999         (makeLinuxDocFile):
10000         (makeDocBookFile): make sure niceFile is true on exit
10001
10002 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10005
10006 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10007
10008         * LyXSendto.C: remove.
10009         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10010         * lyx_gui.C: remove now-redundant comment.
10011         * ColorHandler.h: remove forward declaration of class WorkArea.
10012         * lyxfunc.C: remove #include "WorkArea.h".
10013
10014 2002-03-07  Juergen Vigna  <jug@sad.it>
10015
10016         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10017         got moved away with the DEPM and also set the inset_owner always
10018         right which before could have been omitted.
10019
10020 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10021
10022         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10023         wanted layout is not found.
10024
10025 2002-03-07  Juergen Vigna  <jug@sad.it>
10026
10027         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10028
10029 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * paragraph.C (breakParagraph): use default layout not layout of
10032         prev paragraph.
10033         (Paragraph): clear ParagraphParameters.
10034
10035 2002-03-06  Juergen Vigna  <jug@sad.it>
10036
10037         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10038         otherwise it would not be a valid lenght. Fixed a special case in
10039         the minipage compatibility read where we end the document with a
10040         minipage.
10041
10042         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10043         was set as it could be 0 for InsetTexts first entry.
10044
10045 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10046
10047         * paragraph.C (writeFile): if layout is empty write out
10048         defaultLayoutName().
10049
10050         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10051         file without named layout we set layout to defaultLayoutName().
10052
10053 2002-03-06  Juergen Vigna  <jug@sad.it>
10054
10055         * CutAndPaste.C (copySelection): set layout for new paragraph.
10056
10057         * text.C (prepareToPrint): leave ERT inset left aligned
10058         (leftMargin): don't indent paragraphs inside ERT insets
10059
10060 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10061
10062         * paragraph.C (breakParagraph): dont call clear do the work manually
10063
10064         * paragraph.[Ch] (clear): remove function
10065
10066 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * paragraph.C (Paragraph): dont call clear, the work has already
10069         been done.
10070
10071         * lyxtextclass.C (operator): assert if n is empty
10072
10073         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10074         work manually instead.
10075
10076 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * BufferView_pimpl.C: protect selectionLost against text == 0
10079
10080 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10081
10082         * text.C (breakParagraph): fix a setting layout to '0' problem.
10083
10084 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10085
10086         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10087         final location of file, for the included files, and graphics.
10088
10089 2002-03-05  Juergen Vigna  <jug@sad.it>
10090
10091         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10092
10093 2002-03-04  Juergen Vigna  <jug@sad.it>
10094
10095         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10096
10097         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10098         last column of multicolumn cells.
10099         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10100
10101 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10102
10103         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10104         file if it doesn't go to a temporary file.
10105
10106         * buffer.C (sgmlOpenTag):
10107         (sgmlCloseTag):  remove extra newline insertion.
10108
10109 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10110
10111         * text.C (getRowNearY): comment out debug msg
10112
10113 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10114
10115         * text2.C: first -> first_y
10116
10117         * text.C (getRowNearY): add some attemts at a possible
10118         optimization, not working.
10119
10120         * tabular.[Ch]: add BufferParams to several function so that newly
10121         created paragraph can be initialized to he default layotu for the
10122         buffers textclass.
10123
10124         * tabular-old.C (ReadOld): add buf->params to call of Init
10125
10126         * screen.C: rename text->first to text->first_y
10127
10128         * paragraph.C (breakParagraph): always set layout in the broken
10129         paragraph
10130
10131         * lyxtextclass.C (Read): remove lowercase
10132         (hasLayout): ditto
10133         (operator): ditto
10134         (delete_layout): ditto
10135
10136         * lyxtext.h: rename first -> first_y
10137
10138         * lyxlayout.C (Read): remove lowercase
10139         (name): ditto
10140         (setName): ditto
10141         (obsoleted_by): ditto
10142
10143         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10144
10145         * buffer.C (insertErtContents): add params are to InsetERT
10146         (parseSingleLyXformat2Token): add code to check if a paragraphs
10147         layout really exist.
10148         (parseSingleLyXformat2Token): add params to several inset
10149         constructors
10150         (asciiParagraph): remove lowercase, do the layout comparisons with
10151         no_case
10152
10153         * BufferView_pimpl.C (cursorNext): first -> first_y
10154         (resizeCurrentBuffer): first -> first_y
10155         (updateScrollbar): first -> first_y
10156         (scrollCB): first -> first_y
10157         (workAreaMotionNotify): first -> first_y
10158         (workAreaButtonPress): first -> first_y
10159         (checkInsetHit): first -> first_y
10160         (cursorPrevious): first -> first_y
10161         (cursorNext): first -> first_y
10162         (Dispatch): add buffer_->params to severl inset contructors
10163
10164 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10165
10166         * lyxlayout.C (Read): remove some debug info that I forgot.
10167
10168         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10169         clean up the code slightly.
10170         (makeLinuxDocFile): ditto
10171         (makeDocBookFile): ditto
10172
10173         * text2.C: layout as string
10174
10175         * text.C: layout as string
10176
10177         * paragraph_pimpl.C: layout as string
10178
10179         * paragraph.[Ch]: layout as string
10180
10181         * lyxtextclasslist.[Ch]: layout as string
10182
10183         * lyxtextclass.[Ch]: layout as string
10184
10185         * lyxtext.h: layout as string
10186
10187         * lyxlayout.[Ch]: layout as string
10188
10189         * lyx_cb.C: layout as string
10190
10191         * bufferview_funcs.C: layout as string
10192
10193         * bufferparams.C: layout as string
10194
10195         * buffer.C: layout as string
10196
10197         * LyXView.[Ch]: layout as string
10198
10199         * LaTeXFeatures.[Ch]: layout as string
10200
10201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10202
10203         * BufferView_pimpl.C: change current_layout to string, remove
10204         lyx::layout_type.
10205         (Dispatch):
10206         (smartQuote):
10207         (insertInset):
10208         (workAreaButtonRelease): layout as string
10209
10210         * BufferView2.C (unlockInset): adjust
10211
10212         * vspace.C (asLatexCommand): use an explict temp variable.
10213
10214 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * Makefile.am: use FRONTEND_*
10217
10218 2002-03-01  Juergen Vigna  <jug@sad.it>
10219
10220         * tabular.C (SetWidthOfMulticolCell): changed to something better
10221         I hope but still work in progress.
10222         (recalculateMulticolumnsOfColumn): renamed function from
10223         recalculateMulticolCells as it is more appropriate now.
10224         (SetWidthOfCell): calculate multicols better.
10225
10226 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10229
10230         * lyxfunc.C (processKeySym): print sequence also if it is
10231         `deleted' (complete)
10232
10233         * kbsequence.C (print): print sequence even if it is deleted
10234         (complete would be a better word, actually).
10235
10236         * lyxfunc.C (dispatch): print complete options after a prefix key
10237
10238         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10239
10240 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10241
10242         * text2.C (setCharFont): eliminate setCharFont code duplication.
10243
10244 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10247         LFUN_TABULAR_FEATURE (bug #177)
10248
10249 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10250
10251         * Makefile.am: remove figure.h
10252
10253 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10254
10255         * Bufferview_pimpl.C:
10256         * CutAndPasteC:
10257         * LaTeX.C:
10258         * LyXSendto.C:
10259         * buffer.C:
10260         * bufferlist.C:
10261         * converter.C:
10262         * language.C:
10263         * lyxfunc.C:
10264         * lyxvc.C:
10265         * paragraph.C:
10266         * text.C:
10267         * text2.C: remove #include "lyx_gui_misc.h".
10268
10269         * LaTeX.C: added #include <cstdio>
10270
10271 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10274         that the paragraph following this one can have.
10275
10276         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10277
10278         * vspace.C (asLatexCommand): fix bogus gcc warning
10279
10280         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10281
10282 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10283
10284         * text2.C (setLayout): get rid of redundant code
10285
10286 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10287
10288         * text2.C (incDepth): make sure depth cannot be increased beyond
10289         reasonable values.
10290
10291 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10294         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10295
10296         * PainterBase.h (image):
10297         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10298         a LyXImage const *.
10299
10300 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * BufferView.C:
10303         * BufferView.h:
10304         * BufferView_pimpl.C:
10305         * BufferView_pimpl.h:
10306         * LaTeXFeatures.C:
10307         * LyXAction.C:
10308         * LyXView.C:
10309         * Makefile.am:
10310         * UpdateList.h:
10311         * UpdateList.C:
10312         * buffer.C:
10313         * figure.h:
10314         * figureForm.C:
10315         * figureForm.h:
10316         * figure_form.C:
10317         * figure_form.h:
10318         * lyx_cb.C:
10319         * lyx_gui.C:
10320         * lyx_gui_misc.C:
10321         * lyxfunc.C:
10322         * sp_base.h:
10323         * sp_ispell.h:
10324         * sp_pspell.h:
10325         * sp_spell.C: remove fig inset, and the crap house of
10326           cards that follows it
10327
10328 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * Makefile.am:
10331         * lyxserver.C:
10332         * os2_defines.h:
10333         * os2_errortable.h:
10334         * nt_defines.h: move .h into support/
10335
10336         * vms_defines.h: remove
10337
10338         * WorkArea.C: add space in debug output
10339
10340         * text2.C:
10341         * paragraph.C:
10342         * buffer.C: add WITH_WARNINGS
10343
10344         * vc-backend.h:
10345         * vc-backend.C:
10346         * bufferlist.C: s/retrive/retrieve/, add docs
10347
10348         * vspace.h:
10349         * vspace.C:
10350         * kbmap.h:
10351         * lyxlength.h:
10352         * lyxgluelength.h:
10353         * length_common.h:
10354         * chset.h:
10355         * chset.C: add docs
10356
10357         * lyxgui.C: add ID to X error handler
10358
10359         * lyxtestclass.c: fix typo
10360
10361 2002-02-26  Juergen Vigna  <jug@sad.it>
10362
10363         * tabular_funcs.C (write_attribute): changed so that some default
10364         attributes are not written at all.
10365         (getTokenValue): set default values before trying to read the
10366         value so we have the return value always set as default if we don't
10367         find the token we search for.
10368
10369         * tabular.C (Write): write bools as bools not as strings!
10370
10371 2002-02-22  Juergen Vigna  <jug@sad.it>
10372
10373         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10374         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10375
10376         * text.C (leftMargin): don't add an indent for paragraphs inside
10377         tabular cells (fix #208).
10378
10379 2002-02-21  José Matos  <jamatos@fep.up.pt>
10380
10381         * tabular.C (docBook): fixed support for long tables.
10382
10383 2002-02-20  Juergen Vigna  <jug@sad.it>
10384
10385         * text2.C (getFont): get the drawing font of the Inset if this
10386         paragraph is inside an inset (only important for InsetERT for now).
10387
10388         * buffer.C (insertErtContents): use new lanugage params in ERT
10389         constructor.
10390
10391         * CutAndPaste.C: commenting out seemingly uneeded code.
10392
10393 2002-02-19  Allan Rae  <rae@lyx.org>
10394
10395         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10396         Iterators might be simple to use but they also get invalidated.
10397         (removeAutoInsets): renamed saved cursor tracking variables and added
10398         some comments to clarify what everything does.
10399
10400 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * Chktex.C:
10403         * LaTeX.C:
10404         * LyXSendto.C:
10405         * converter.C:
10406         * lyx_cb.C:
10407         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10408         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10409
10410         * lyxfunc.C:
10411         * vc-backend.h: remove #include "support/syscall.h"
10412
10413         * LaTeX.C:
10414         * LyXSendto.C:
10415         * converter.C: rearrange #includes in Lars' approved fashion.
10416
10417         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10418         forward declare class Timeout in the header file.
10419
10420         * XFormsView.C: changes due to the above.
10421
10422         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10423         similar to LyXView.
10424
10425         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10426         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10427
10428 2002-02-18  José Matos  <jamatos@fep.up.pt>
10429
10430         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10431         insets contents.
10432
10433 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10434
10435         * a lot of small ws changes
10436         * add a lot of using std::XXX
10437         * use std construcs some places where approp.
10438         * use some exisint stuff from lyxfunctional where approp.
10439         * Make file changes to use partial linking (lets test this now...)
10440
10441 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10442
10443         * Chktex.C:
10444         * buffer.C:
10445         remove #include "support/syscontr.h" as it's redundant. Always has been.
10446
10447         * Chktex.C:
10448         * LaTeX.C:
10449         * LyXSendto.C:
10450         * converter.C:
10451         * lyx_cb.C:
10452         * vc-backend.C:
10453         change Systemcalls::System to Systemcalls::Wait and
10454         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10455         No change of functionality, just reflects the stripped down Systemcalls
10456         class.
10457
10458 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10459
10460         * debug.[Ch]: add a GRAPHICS type to the enum.
10461
10462 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10465
10466         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10467         there is an inset.
10468
10469 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10472         match the changes below.
10473
10474         * text2.C (toggleInset): if there is not editable inset at cursor
10475         position, try to see if cursor is _inside_ a collapsable inset
10476         and close it.
10477
10478 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10481         document menu has a nice checkbox
10482
10483 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * lyxlength.C (asLatexString): change PW to output as percent of
10486         \textwidth.
10487
10488         * lengthcommon.C: change '%' to 't%'
10489
10490         * lyxfunc.C (dispatch): a few comments from Martin
10491
10492 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * WorkArea.h:
10495         * WorkArea.C:
10496         * BufferView_pimpl.h:
10497         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10498           the X selection.
10499
10500 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10501
10502         * vspace.C (inPixels): fix compiler warning
10503
10504 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * lyxfunc.C (getStatus): fix status message for disabled commands.
10507
10508 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * BufferView_pimpl.C: fix crash on close buffer
10511         during selection (#227)
10512
10513 2002-01-27  Herbert Voss  <voss@lyx.org>
10514
10515         * buffer.C: link old Figure to new graphic inset
10516
10517 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10518
10519         * FontLoader.C (getFontinfo): Change the latex font names in order
10520         to match the names of type1inst.
10521
10522 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10525
10526         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10527         (extchanged): ditto
10528         (ext_exist): ditto
10529         (remove_files_with_extension): ditto
10530         (remove_file): ditto
10531         (write): ditto
10532
10533         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10534         document is smaller than the work area height. Do not initialize
10535         static variables to 0.
10536
10537 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10538
10539         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10540
10541         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10542         LFUN_LAYOUT_PARAGRAPHS.
10543
10544         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10545         tabular. It is possible to provide a possible cell, which will
10546         typically be the actcell from the corresponding insettabular
10547
10548         * lyxfunc.C (getStatus): small cleanup; disable
10549         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10550         true
10551
10552 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10553
10554         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10555
10556         * paragraph.C (startTeXParParams):
10557         (endTeXParParams): new methods. The LaTeX code to
10558         start/end paragraph formatting
10559         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10560         empty (fixes bug #200)
10561
10562         * vspace.C (inPixels): adapt to the change below
10563         (inPixels): [later] more cleanups (remove unused variables)
10564
10565         * lyxlength.C (inPixels): change to use a width and a height as
10566         parameter.
10567
10568 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10571         Replaced with \paperwidth
10572
10573         * DepTable.C (insert): add std:: qualifier
10574
10575 2002-01-18  Allan Rae  <rae@lyx.org>
10576
10577         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10578         updated also?
10579
10580         * text.C (drawInset): Turned out I didn't know enough about how
10581         rebreaking worked.  This fixes most of the redraw problems.  I see
10582         an occasional cursor trail when a line is broken now and the cursor
10583         placement can seem out by a few pixels also after a rebreak.
10584
10585 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * buffer.C (parseSingleLyXformat2Token): update because minipage
10588         width is now a LyXLength
10589
10590         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10591
10592         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10593         math insets
10594
10595 2002-01-17  Juergen Vigna  <jug@sad.it>
10596
10597         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10598
10599         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10600         is set correctly and the inset is updated correctly.
10601
10602 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10603
10604         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10605         the beginning of the loop.
10606
10607 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxrc.C: improve help for use_scalable_fonts
10610
10611 2002-01-17  Allan Rae  <rae@lyx.org>
10612
10613         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10614
10615 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10616
10617         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10618         make sure to set their inset_owner to the right value (bug #171)
10619
10620 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10621
10622         * DepTable.h
10623         * DepTable.C: Implement mtime checking to reduce time spent doing
10624         CRCs.
10625
10626 2002-01-16  Juergen Vigna  <jug@sad.it>
10627
10628         * tabular.C (GetAdditionalHeight): one of error fixed.
10629
10630         * lyxrc.C (output): small fix in writing use_pspell.
10631
10632 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10633
10634         * sp_base.h: #include LString.h
10635
10636 2002-01-16  Allan Rae  <rae@lyx.org>
10637
10638         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10639         Can someone check this please?
10640
10641         * text.C (drawInset): It was possible that p.row would be removed by
10642         breakAgainOneRow upsetting a few other settings.  There may be another
10643         small tweak possible by setting need_break_row = 0 when p.row has been
10644         removed but I don't know enough about the logic here.
10645
10646 2002-01-15  Allan Rae  <rae@lyx.org>
10647
10648         * text.C (insertChar): removed conditional truism.
10649
10650         * BufferView2.C (removeAutoInsets): More tweaks.
10651         cur_par_prev could be a stray pointer.  Check for trailing empty line
10652         in case last line was cur_par and only had an error inset on it.
10653
10654 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10655
10656         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10657         absolute
10658
10659         * vc-backend.C (most methods):
10660         * exporter.C (Export):
10661         * converter.C (convert):
10662         (runLaTeX):
10663         * LyXSendto.C (SendtoApplyCB):
10664         * lyxfunc.C (dispatch):
10665         (menuNew):
10666         (open):
10667         (doImport):
10668         * lyx_cb.C (AutoSave):
10669         (InsertAsciiFile):
10670         * BufferView_pimpl.C (MenuInsertLyXFile):
10671         * buffer.C (runChktex): use Buffer::filePath().
10672
10673         * buffer.h: rename filename to filename_; rename filepath to
10674         filepath_ and make it private
10675         (filePath): new method
10676
10677         * buffer.C (writeFile): use fileName()
10678         (getLatexName):
10679
10680         * lyx_main.C (init): fix starting  of LyX when the binary is a
10681         link from so,ewhere else.
10682
10683         * minibuffer.C: include <cctype> for isprint
10684
10685 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10688         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10689         name clash with InsetCollapsable's width function.
10690
10691 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * lastfiles.C: include <iterator>
10694
10695 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10696
10697         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10698         std::count.
10699
10700         * buffer.C (makeLaTeXFile): ditto.
10701         Also make loop operation more transparent.
10702
10703 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10704
10705         * ToolbarDefaults.C: remove trailing comma closing namespace.
10706
10707         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10708
10709         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10710         as in WorkArea.
10711
10712         * trans.C (Load): comment out unused variable, allowed.
10713
10714 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * minibuffer.[Ch] (append_char): new method to recieve input from the
10717         drop-down completion browser. If a key was pressed, then recieve this
10718         char and append it to the existing string.
10719         (peek_event): modify the positioning data passed to the completion
10720         browser so that it can be placed above the minibuffer rather than below.
10721 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * LyXAction.C (init): alloe error-next for readonly documents.
10724
10725         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10726         count.
10727
10728 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * bufferlist.C (readFile): create the buffer _after_ checking that
10731         the file exists.
10732
10733         * lyxfunc.C (verboseDispatch): fix handling of arguments
10734
10735         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10736
10737         * lyxrc.C: use string::erase() instead of initializing to "".
10738
10739
10740 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * BufferView_pimpl.h:
10743         * BufferView_pimpl.C:
10744         * WorkArea.h:
10745         * WorkArea.C:
10746         * text2.C: tell X when we have made a selection for copying
10747
10748 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * BufferView_pimpl.C (MenuInsertLyXFile):
10751         * lyxfunc.C (menuNew):
10752         (open):
10753         (doImport): add shortcuts to directory buttons
10754
10755         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10756         open a float)
10757
10758         * lyxfunc.C (setStatusMessage):
10759         (getStatusMessage): new methods
10760         (getStatus):use setStatusMessage instead of setErrorMessage
10761         (dispatch): when function is disabled, set error message here
10762         [instead of in getStatus previously]
10763
10764         * BufferView_pimpl.C (workAreaButtonRelease): update
10765         toolbar/menubar here too.
10766
10767 2002-01-13  Allan Rae  <rae@lyx.org>
10768
10769         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10770         Now seems indestructible.  Remaining task is to audit all other
10771         code affected by deleteEmptyParagraphMechanism.  One small quirk
10772         left is that an empty document with an error in the preamble can
10773         be made to report an error but no error box appears.  I don't know
10774         where it goes.
10775         (removeAutoInsets): Improved comments.
10776
10777 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * Thesaurus.h:
10780         * Thesaurus.C: update for Aiksaurus 0.14
10781
10782 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10783
10784         * text2.C (firstParagraph): removed member function, all uses
10785         replaces with ownerParagraph
10786         (redoParagraphs): here
10787         (updateInset): here
10788         (toggleAppendix): here
10789         * BufferView2.C (insertErrors): here
10790         (setCursorFromRow): here
10791
10792 2002-01-13  Allan Rae  <rae@lyx.org>
10793
10794         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10795         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10796         There is still a way to segfault this although you may have to do this
10797         multiple times: Have an InsetERT with an unknown command in it.
10798         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10799         <down-arrow>, <Enter> again, View->DVI, BANG!
10800
10801         * text2.C (setCursor):
10802         (deleteEmptyParagraphMechanism):
10803         * lyxtext.h (setCursor):
10804         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10805         Making use of the return value may help fix other bugs.
10806
10807 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10808
10809         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10810
10811         * LyXView.C (updateMenubar): call MenuBar::update here
10812         (updateToolbar): but not here
10813         (showState): do not update toolbar/menubar
10814
10815         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10816         should need to care about that.
10817
10818         * lyxfunc.C (verboseDispatch): simplify a bit
10819         (getStatus): have a version which takes a pseudoaction, and
10820         another which requires a (kb_action,string).
10821
10822         * LyXAction.C (retrieveActionArg): make it work also when action
10823         is not a pseudo-action.
10824         (getActionName): simplify a bit
10825         (helpText):
10826
10827 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * lyxfunc.C (verboseDispatch): new families of methods with
10830         several ways to specify a command and a bool to indicate whether
10831         the command name and shortcut should be displayed in minibuffer
10832         (eventually, we could extend that to a finer bitmask like
10833         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10834         (dispatch): the pristine dispatch command which just, well,
10835         dispatchs! Note it still sets its result to minibuffer; I'm not
10836         sure we want that.
10837
10838         * lyxfunc.h: remove setHintMessage
10839
10840         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10841
10842 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * BufferView_pimpl.C (specialChar): delete new inset if we have
10845         not been able to insert it.
10846
10847         * kbmap.C: revert to using int instead of kb_action, since all we
10848         are dealing with is pseudo-actions.
10849
10850         * LyXAction.C (searchActionArg): change to return int instead of
10851         kb_action, since the result is a pseudoaction.
10852
10853 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * buffer.C (insertErtContents): Fix (partially) the font bug.
10856
10857 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10858
10859         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10860         as the other one is broken on my machine!
10861
10862 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10863
10864         * commandtags.h:
10865         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10866
10867 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10870         reflect their actual use. Provide compatibility code for older lyxrc
10871         files.
10872
10873         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10874         FL_NORMAL_STYLE.
10875         change names of popup font variables in line with the changes to lyxrc.C
10876
10877 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * buffer.C (asciiParagraph): avoid outputing a word twice after
10880         an inset.
10881
10882         * lyxrc.C (getDescription): document that document_path and
10883         template_path can be empty.
10884
10885 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * LaTeXFeatures.C (getMacros):
10888         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10889
10890         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10891
10892         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10893         getPackages.
10894         (getPackages): rename feature "floats" to "float". Use an array to
10895         iterate over 'simple' features (i.e. just a \usepackage). Add
10896         handling of "amsmath" (renamed from "amsstyle").
10897
10898 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10899
10900         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10901         features list.
10902
10903 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10906         FuncStaus::FuncStatus & FuncStaus::some_method().
10907
10908 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10909
10910         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10911         of the func_satus stuff. Edited and massaged in various ways by
10912         JMarc.
10913
10914         * lyxfunc.C (getStatus): use FuncStatus
10915
10916 2002-01-08  Juergen Vigna  <jug@sad.it>
10917
10918         * text.C (nextBreakPoint): use function Inset::isChar().
10919
10920         * paragraph.C (TeXOnePar): use function
10921         Inset::forceDefaultParagraphs.
10922
10923         * buffer.C (latexParagraphs): use function
10924         Inset::forceDefaultParagraphs.
10925
10926 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10927
10928         * lyx_gui.C (init): set the style of the menu popups to
10929         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10930
10931 2002-01-07  Juergen Vigna  <jug@sad.it>
10932
10933         * text.C (setHeightOfRow): small fix
10934         (prepareToPrint): don't look at alignment if we don't have the place
10935         for doing it.
10936
10937 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * box.C: New file. Move the Box methods and functions out of box.h,
10940         following Lars' suggestion.
10941
10942 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * box.h: #include "support/LOstream.h", needed for inlined function.
10945
10946         * lyxtextclass.C:
10947         * lyxtextclasslist.C: added some using std declarations.
10948
10949 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * box.h: make signed dimensions to allow insets wider than
10952           the screen (bug #162)
10953
10954         * BufferView_pimpl.C: add some insetHit debug
10955
10956 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * vc-backend.C: add FIXME
10959
10960 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * lyxfunc.C (getStatus): enable code for showing math font status
10963         in toolbar/menu.
10964
10965 2002-01-07  Juergen Vigna  <jug@sad.it>
10966
10967         * text.C (nextBreakPoint): removed debug output not needed anymore.
10968
10969 2002-01-06  Juergen Vigna  <jug@sad.it>
10970
10971         * text.C (nextBreakPoint): fixed up this function we had this bug
10972         since ever but now hopefully we break row better.
10973         (insertChar): we have to check if an inset is the next char as it
10974         could now happen that a large inset is causing a break.
10975
10976 2002-01-05  Juergen Vigna  <jug@sad.it>
10977
10978         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10979         if it doesn't like to be drawed.
10980
10981 2002-01-04  Juergen Vigna  <jug@sad.it>
10982
10983         * BufferView2.C (lockInset): forgot to set a cursor.
10984
10985         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10986
10987 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10988
10989         * FormMathsPanel.C:
10990         * FormMathsPanel.h
10991         * MathsSymbols.C:
10992         * form_maths_panel.C:
10993         * form_maths_panel.h:
10994         * form_maths_panel.fd: implemented sub- and super- buttons in math
10995         panel.
10996
10997         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10998         (or ^ space) to be used as in TeX (req'd by André).
10999
11000         * lyxfunc.C: Allow ^ and _ again to be used both as
11001         super/subscript (mathed) and as themselves (in text).
11002
11003 2002-01-03  Allan Rae  <rae@lyx.org>
11004
11005         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11006         "LyX" or the filename of the current buffer if it has one.  This is a
11007         modified form of John Levon's patch.
11008
11009         * XFormsView.C (setWindowTitle): also set icon title.
11010
11011         * LyXView.h (setWindowTitle): signature changed.
11012         * XFormsView.h (setWindowTitle): ditto.
11013
11014 2002-01-02  Juergen Vigna  <jug@sad.it>
11015
11016         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11017
11018 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * screen.C (topCursorVisible): introduce a temp var for
11021         text->cursor.row(), handle the case where this row is null. (kindo
11022         hachish)
11023
11024         * text2.C (setCursor): add a couple of asserts.
11025
11026         * paragraph.h (inset_iterator): add -> operator
11027
11028         * paragraph.[Ch] (autoDeleteInsets): remove member function
11029
11030         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11031         cursor pos correctly and handle inset deletion by itself.
11032         (insertErrors): move iterator declaration out of for expression
11033
11034         * lyxtextclass.C: add <algorithm>
11035
11036         * Makefile.am: added the new files to sources, removed layout.C
11037
11038         * layout.C: removed file
11039
11040         * layout.h: remove LYX_DUMMY_LAYOUT
11041
11042         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11043         layout.
11044
11045         * lyxlayout.[Ch]:
11046         * lyxtextclass.[Ch]:
11047         * lyxtextclasslist.[Ch]: new files
11048
11049         * include order changes to a lot of files, also changes because of
11050         the six new files.
11051
11052 2001-12-27  Juergen Vigna  <jug@sad.it>
11053
11054         * buffer.C (asciiParagraph): more fixes.
11055
11056         * tabular.C (ascii): make ascii export support export of only the
11057         data separated by a column-delimiter.
11058         (ascii): better support for ascii export.
11059
11060         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11061
11062 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11063
11064         * tabular_funcs.C: use a "using std::getline" instead of the
11065         previous fix from Angus (necessary for cxx + lyxstring)
11066
11067 2001-12-24  Juergen Vigna  <jug@sad.it>
11068
11069         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11070
11071         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11072         problems. First check a minipage also if we have some ert-contents
11073         (not only on par->size(), second set the right depth of the paragraph
11074         on the relink to the root-paragraph-list!
11075
11076         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11077         which then did not anymore update the main paragraphs on undo/redo!
11078
11079 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11080
11081         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11082         code. Support all font-changing funcs (even those which are not in
11083         menu currently). Support for reporting font settings in
11084         mathed (disabled until Andre provides a function on mathed's side).
11085
11086         * func_status.h (toggle): small helper function to set toggle
11087         state on a flag.
11088
11089 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * tabular_funcs.C: getline -> std::getline
11092
11093 2001-12-21  Juergen Vigna  <jug@sad.it>
11094
11095         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11096         accessed and could be 0 (I couldn't generate this but it seems
11097         Michael could!).
11098
11099 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11100
11101         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11102         * tabular_funcs.h: here and include iosfwd
11103
11104 2001-12-20  Juergen Vigna  <jug@sad.it>
11105
11106         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11107         inside inset but undo_par was.
11108
11109 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * Thesaurus.C: always include <config.h> in sources.
11112
11113         * Painter.h:
11114         * lyxlookup.h:
11115         * box.h: do not include <config.h> in header files
11116
11117         * text.C (paintLastRow): remove unused variable
11118
11119         * text.C (transformChar):
11120         (insertChar):
11121         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11122
11123         * Painter.C (text):
11124         * font.C (width): rewrite to use uppercase() instead of
11125         islower/toupper.
11126
11127         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11128
11129 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * lyxfind.C: clean up of find failure position change
11132
11133 2001-12-20  Juergen Vigna  <jug@sad.it>
11134
11135         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11136
11137         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11138         (TeXRow): added to LaTeX a single tabular row.
11139         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11140         (Latex): simplified and finally good LT-h/f support.
11141         (various_functions): just small adaptions for LT-h/f support.
11142
11143         * tabular_funcs.[hC]: added and moved here all not classfunctions
11144         of LyXTabular.
11145
11146 2001-12-19  Juergen Vigna  <jug@sad.it>
11147
11148         * tabular.[Ch]: better support for longtabular options (not finished
11149         yet!)
11150
11151 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * text.C (paintLastRow): use the label font instead of the font of
11154         the last character to compute the size of *_BOX. This makes more
11155         sense and avoids a crash with empty paragraphs.
11156         Use Painter::rectangle to draw EMPTY_BOX.
11157
11158 2001-12-19  Juergen Vigna  <jug@sad.it>
11159
11160         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11161         the paragraphs if the replaced paragraph is not the first one!
11162         Tried to delete not used paragraphs but does not work yet so for
11163         now it's inside #ifdef's and by default off!
11164
11165 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * MenuBackend.C: include "lyx_main.h" instead of declaring
11168         lastfiles (actually was declared as LastFiles* instead of a
11169         scoped_ptr).
11170
11171 2001-12-17  Juergen Vigna  <jug@sad.it>
11172
11173         * tabular.C (AppendColumn): applied John's fix
11174
11175 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * BufferView.h:
11178         * BufferView.C:
11179         * BufferView_pimpl.h:
11180         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11181
11182         * Makefile.am:
11183         * box.h: new start of class for above
11184
11185         * lyxfunc.C: ignore space-only minibuffer dispatches.
11186           Show the command name when it doesn't exist
11187
11188         * minibuffer.C: don't add empty lines to the history
11189
11190         * minibuffer.C: add a space on dropdown completion
11191
11192 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * text.C: fix line above/below drawing in insets
11195
11196 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * lyxlength.C (LyXLength): Initialize private variables.
11199
11200 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11201
11202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11203         when inserting error insets.
11204
11205 2001-12-13  Juergen Vigna  <jug@sad.it>
11206
11207         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11208         actually sometimes the before-paragraph.
11209         (setUndo): don't clear the redostack if we're not actually undoing!
11210
11211 2001-12-06  Juergen Vigna  <jug@sad.it>
11212
11213         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11214         and fixed redoing of main paragraph, so we can use it now ;)
11215
11216         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11217
11218 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11221         Juergen's request
11222
11223 2001-12-13  André Pönitz <poenitz@gmx.net>
11224
11225         * undostack.[Ch]:
11226         * undo_func.C: minor cleanup
11227
11228 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11231         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11232         font in urw-fonts package which is marked as -urw-fontspecific and
11233         does not work (incidentally, changing the encoding in the
11234         fonts.dir of this package to -adobe-fontspecific fixes the
11235         problem).
11236
11237         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11238         is a crash when undoing first paragraph (Juergen, please take a
11239         look). THis does not mean the undo fix is wrong, just that it
11240         uncovers problems.
11241
11242         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11243         the (Paragraph*) version when needed instead of duplicating the
11244         code.
11245
11246         * text.C (workWidth): use Inset::parOwner to find out where the
11247         inset has been inserted. This is a huge performance gain for large
11248         documents with lots of insets. If Inset::parOwner is not set, fall
11249         back on the brute force method
11250
11251         * paragraph_pimpl.C (insertInset):
11252         * paragraph.C (Paragraph):
11253         (cutIntoMinibuffer): set parOwner of insets when
11254         inserting/removing them
11255
11256         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11257
11258 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11259
11260         * commandtags.h:
11261         * LyXAction.C:
11262         * lyx_main.C:
11263         * lyxfunc.C:
11264         * mathed/formulabase.C:
11265         * mathed/math_cursor.[Ch]:
11266         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11267
11268
11269 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * lyxlength.[Ch] (operator!=): new function
11272
11273 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * text.C (workWidth): use Inset::parOwner to find out where the
11276         inset has been inserted. This is a huge performance gain for large
11277         documents with lots of insets. If Inset::parOwner is not set, fall
11278         back on the brute force method
11279
11280         * paragraph_pimpl.C (insertInset):
11281         * paragraph.C (Paragraph):
11282         (cutIntoMinibuffer): set parOwner of insets when
11283         inserting/removing them
11284
11285         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11286
11287 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11288
11289         * tabular-old.C (getTokenValue):
11290         * tabular.C (getTokenValue):
11291         (write_attribute): new versions for LyXLength
11292         (everywhere): adjust the use of widths
11293
11294         * tabular.h: change the type of widths from string to LyXLength
11295
11296 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11297
11298         * paragraph.C: fixed missing line number count when exporting
11299         Environments to LaTeX file
11300
11301         * buffer.C: added informational message for checking line numbers.
11302
11303 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11306         paragraph, do the 'double space' part, but not the 'empty
11307         paragraph' one.
11308
11309         * text.C (workWidth): small optimization
11310         (getLengthMarkerHeight): use minimal size for negative lengths.
11311
11312 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11315
11316         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11317
11318 2001-12-11  André Pönitz <poenitz@gmx.net>
11319
11320         * FontLoader.C:
11321         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11322
11323 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * text2.C: keep selection on a setFont()
11326
11327 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * lyx_cb.C: another bv->text misuse, from insert label
11330
11331 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * kbsequence.h:
11334         * kbsequence.C: re-instate nmodifier mask
11335
11336 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * lyx_main.h: make lyxGUI private.
11339
11340 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * lyxfind.C: place the cursor correctly on failed search
11343
11344 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * text.C (getLengthMarkerHeight): for small heights, the arrows
11347         are not always on top/bottom of the text
11348         (drawLengthMarker): smaller arrows; take the left margin in
11349         account; draw also vfills.
11350         (paintFirstRow):
11351         (paintLastRow): remove special code for vfill and standard spaces,
11352         since everything is handled in drawLengthMarker now.
11353
11354 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * buffer.C (insertErtContents): try to handle font and language
11357         interaction a bit better.g
11358
11359         * ColorHandler.C (updateColor): change the hash to cover the whole
11360         LColor enum, ws cleanup
11361         (getGCLinepars): ditto
11362         (getGCLinepars): only lookup in the linecache once.
11363
11364 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11365
11366         * iterators.C (operator++): Make the iterator more robust
11367
11368         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11369         (John's patch)
11370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11371
11372 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * lyxtext.h:
11375         * text.C: better added space drawing
11376
11377 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * LyXView.C:
11380         * BufferView2.C: fix layout combo update on inset unlock
11381
11382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * Makefile.am: don't compile unused files
11385
11386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * lyxfunc.C:
11389         * commandtags.h:
11390         * LyXAction.C: remove old LFUN_LAYOUTNO
11391
11392 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * paragraph_pimpl.h:
11395         * paragraph_pimpl.C: isTextAt() doesn't need font param
11396
11397 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * lyxlex.h:
11400         * lyxlex.C: little cleanup
11401
11402 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * BufferView_pimpl.C: fix insertAscii for insets
11405
11406 2001-12-05  Juergen Vigna  <jug@sad.it>
11407
11408         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11409         set the right font on the "multi" paragraph paste!
11410
11411 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * trans_decl.h:
11414         * trans_mgr.[Ch]:
11415         * trans.[Ch]:
11416         * lyxgluelength.C:
11417         * lyxlength.C: remove out-commented code.
11418
11419         * BufferView_pimpl:
11420         * CutAndPaste.C:
11421         * DepTable.C:
11422         * buffer.C:
11423         * chset.C:
11424         * lastfiles.C:
11425         * lyxlex.C:
11426         * lyxlex_pimpl.C:
11427         * lyxserver.C:
11428         * screen.C:
11429         * tabular-old.C:
11430         * tabular.C:
11431         * text.C:
11432         * trans_mgr.C:
11433         * vc-backend.C: change "while(" to "while ("
11434
11435         * lyxlength.[Ch]: add zero function to check if length is zero or
11436         not
11437         * lyxgluelength.C: use it
11438
11439 2001-12-05  Allan Rae  <rae@lyx.org>
11440
11441         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11442         Works for 2.95.3, from what I understand of Garst's reports this should
11443         work for other g++ versions.  We're screwed if the abs(int) definition
11444         changed between bugfix releases of gcc.
11445
11446 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * text.C: fix chapter label offset !
11449
11450 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * lyxtext.h:
11453         * text.C: fix hfill at end of line, clean up
11454
11455 2001-12-04  Juergen Vigna  <jug@sad.it>
11456
11457         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11458         that we force an update of the inset and it's owners if neccessary.
11459
11460 2001-12-03  Juergen Vigna  <jug@sad.it>
11461
11462         * text.C (rowLast): simplified code
11463
11464 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lyxfunc.C: fix show options on timeout
11467
11468 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * screen.C (topCursorVisible): scroll half a page when the cursor
11471         reached top of bottom of screen
11472
11473 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * minibuffer.C: deactivate on loss of focus
11476
11477 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11478
11479         * vspace.[Ch] (operator!=): add operator.
11480
11481 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C: refuse to open an inset when
11484         there's a selection.
11485
11486 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView_pimpl.C: allow to click on RHS of full row insets
11489
11490 2001-11-30  Juergen Vigna  <jug@sad.it>
11491
11492         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11493         insets for undo reasons.
11494
11495 2001-11-28  André Pönitz <poenitz@gmx.net>
11496
11497         * vspace.[Ch]: cosmetical changes
11498
11499 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * LyXAction.h:
11502         * LyXAction.C:
11503         * lyxfunc.h:
11504         * lyxfunc.C:
11505         * kbmap.h:
11506         * kbmap.C:
11507         * lyxrc.C:
11508         * kbsequence.h:
11509         * kbsequence.C: part re-write of old kb code
11510
11511         * Painter.C:
11512         * WorkArea.C: remove Lgb_bug_find_hack
11513
11514 2001-11-30  José Matos <jamatos@fep.up.pt>
11515
11516         * buffer.C (makeDocBookFile): add a comment to point a hack.
11517         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11518         Fixed a double write of labels.
11519
11520 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11521
11522         * LaTeX.C:
11523         * LaTeX.h Fixed bug in LaTeX class where it would not
11524         re-run latex if no depfiles were changed, but the .dvi was removed.
11525
11526 2001-11-28  André Pönitz <poenitz@gmx.net>
11527
11528         * all the files from the change on 2001/11/26:
11529         use lyx::layout_type instead of LyXTextClass::size_type
11530         use lyx::textclass_type instead of LyXTextClassList::size_type
11531
11532 2001-11-29  Juergen Vigna  <jug@sad.it>
11533
11534         * text.C: added support for paragraph::isFreeSpacing()
11535
11536         * buffer.C: same as above
11537
11538         * paragraph.h: inserted isFreeSpacing() function to enable
11539         FreeSpacing inside InsetERT.
11540
11541         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11542         of the paragraph's in the cut/copy buffer to 0!
11543
11544         * text2.C (removeRow): remove the assert as it can!
11545
11546         * lyxtext.h: added helper function firstRow returning firstrow and
11547         made firstrow private again.
11548
11549         * BufferView2.C (lockInset): don't relock if we're already locked!
11550
11551         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11552         the only paragraph.
11553         (removeRow): added Assert::(firstrow)
11554
11555         * debug.C: forgot to add INSETTEXT here.
11556
11557 2001-11-28  Juergen Vigna  <jug@sad.it>
11558
11559         * sp_spell.C (initialize): changed error text to more general
11560         spellchecker command use (not only ispell!)
11561
11562         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11563
11564         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11565
11566 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * vspace.C: initialise lyxgluelength on failure
11569
11570 2001-11-28  Allan Rae  <rae@lyx.org>
11571
11572         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11573         declaration & definition that looks like a function declaration.
11574
11575 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11576
11577         * BufferView2.C (copy):
11578         (copyEnvironment): do not clear the selection when doing a copy.
11579
11580         * text.C (paintFirstRow): compilation fix
11581
11582 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11583
11584         * tabular.C (Latex): correct line count when writing latex.
11585
11586 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * paragraph_pimpl.h:
11589         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11590           bug a bit
11591
11592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * text.C:
11595         * LColor.h:
11596         * LColor.C: change vfillline->added_space
11597
11598         * text.C: add markers and text for added space
11599
11600         * vspace.C: fix comment
11601
11602 2001-11-28  André Pönitz <poenitz@gmx.net>
11603
11604         * paragraph.C: whitespace changes
11605         * all the other files from the change on 2001/11/26:
11606         change *::pos_type into lyx::pos_type
11607
11608 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11609
11610         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11611         language of the document when inserting error insets.
11612
11613 2001-11-26  André Pönitz <poenitz@gmx.net>
11614
11615         * BufferView_pimpl.[Ch]:
11616         *       CutAndPaste.C:
11617         * buffer.[Ch]:
11618         * lyxcursor.[Ch]:
11619         * lyxfind.C:
11620         * lyxfunc.C:
11621         * lyxrow.[Ch]:
11622         * paragraph.[Ch]:
11623         * paragraph_pimpl.[Ch]:
11624         * sp_spell.C:
11625         * text.C:
11626         * text2.C: reduce header dependencies, introduce type for positions
11627
11628 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * <various>: change to use Alert.h
11631
11632 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11633
11634         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11635         when encountering an unknown token.
11636         (readLyXformat2): Show an error message if there were unknown tokens.
11637
11638 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * BufferView2.C:
11641         * BufferView_pimpl.C:
11642         * buffer.C:
11643         * paragraph.h:
11644         * text.C:
11645         * text2.C: use par->isInset()
11646
11647 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * paragraph_pimpl.h:
11650         * paragraph_pimpl.C: cleanup
11651
11652 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * text2.C (removeRow):
11655         * text.C (setHeightOfRow): remove useless (and costly) call to
11656         getRow.
11657
11658 2001-11-20  Allan Rae  <rae@lyx.org>
11659
11660         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11661         Now need Inset*::checkInsertChar() to return true for appropriate
11662         cases so that the characters in the minibuffer will actually be
11663         inserted.
11664
11665 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * text.C: change the order of the includes.
11668         (workWidth): initialize it at once.
11669         (workWidth): make maxw unsigned
11670         (setHeightOfRow): remove unused variable (inset)
11671         (selectSelectedWord): remove unused variable (inset)
11672         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11673
11674 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11677         server is not running.
11678         (openConnection):
11679         (closeConnection): add debug info when server is disabled.
11680
11681         * ColorHandler.C (getGCForeground): send debug message to GUI
11682         channel.
11683
11684         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11685
11686         * kbmap.C (bind): modify because return conventions of
11687         kb_sequence::parse have changed.
11688
11689         * kbsequence.C (parse): only ignore spaces and not any stupid
11690         control character. This avoids tests like s[i] <= ' ', which are
11691         guaranteed to fail with 8bit characters and signed chars.
11692         Change return code to string::npos when there have been no error
11693         (0 was a bad idea when error is at first character)
11694
11695 2001-11-14  José Matos  <jamatos@fep.up.pt>
11696
11697         * buffer.h:
11698         * buffer.C (simpleDocBookOnePar): removed unused argument.
11699
11700 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11701
11702         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11703         insets which are part of a word. Paragraph::isLetter takes care of
11704         that now. Use Paragraph::isInset to identify insets.
11705         (selectSelectedWord): do not test for hyphenation break.
11706
11707         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11708         that protected spaces are considered as spaces.
11709
11710         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11711         Inset::isLetter.
11712
11713 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * lyxserver.h:
11716         * lyxserver.C: fix it. and small cleanup.
11717
11718 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * BufferView_pimpl.C: use inline helpers
11721
11722         * LaTeXFeatures.h:
11723         * LaTeXFeatures.C: fix typos
11724
11725         * Spacing.h:
11726         * Spacing.C: move spacing_string into class
11727
11728         * ToolbarDefaults.C: move stuff into namespace anon
11729
11730         * layout.h: update enum
11731
11732         * lyxfunc.C: use better debug
11733
11734         * minibuffer.h: fix typo
11735
11736         * debug.h:
11737         * debug.C:
11738         * WorkArea.C: add and use Debug::WORKAREA
11739
11740         * lyxtext.h:
11741         * text.C:
11742         * text2.C: code re-organisation, inline helpers
11743
11744 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11745
11746         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11747         std::vector.empty().
11748
11749 2001-11-09  Allan Rae  <rae@lyx.org>
11750
11751         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11752         '\n's after tables.  Tabular and ERT inset work now makes this no
11753         longer necessary.
11754
11755 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * minibuffer.h:
11758         * minibuffer.C: fix crash, improve drop-down completion
11759
11760 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * lyxserver.h:
11763         * lyxserver.C: invalidate fd's when doing endPipe()
11764
11765 2001-11-08  José Matos  <jamatos@fep.up.pt>
11766
11767         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11768         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11769
11770         * paragraph.h:
11771         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11772
11773 2001-11-07  José Matos  <jamatos@fep.up.pt>
11774
11775         * buffer.h:
11776         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11777         const qualifier.
11778
11779         * buffer.C (sgmlOpenTag):
11780         * buffer.C (sgmlCloseTag): removed debug info.
11781
11782         * buffer.h (sgmlOpenTag):
11783         * buffer.h (sgmlCloseTag): made public.
11784
11785 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11786
11787         * buffer.C (saveParamsAsDefaults):
11788         * lyx_cb.C (MenuLayoutSave): remove
11789
11790         * LyXAction.C (init):
11791         * commandtags.h:
11792         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11793
11794 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * buffer.C (setPaperStuff): removed from here...
11797
11798         * bufferparams.C (setPaperStuff): ... and moved there.
11799
11800 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * minibuffer.h:
11803         * minibuffer.C:
11804         * XFormsView.C: add support for drop-down completion
11805
11806 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11807
11808         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11809         commands.
11810
11811 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11814         disabled.
11815
11816 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * lyx_main.C: change ref to known bugs
11819
11820 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11821
11822         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11823         to work around older babel problems.
11824
11825 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11826
11827         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11828
11829 2001-10-24  Juergen Vigna  <jug@sad.it>
11830
11831         * tabular-old.C (ReadOld): below variable changes reflected.
11832
11833         * tabular.[Ch]: added ltType struct for longtable header/footer
11834         defines and changed all instances where they are used. Added
11835         future support for double top/bottom rows.
11836
11837 2001-10-24  José Matos  <jamatos@fep.up.pt>
11838
11839         * buffer.h (docbookHandleCaption):
11840         * buffer.C (docbookHandleCaption): removed unused function.
11841         (makeDocBookFile): moved docbook supported version to v4.1.
11842
11843 2001-10-24  José Matos  <jamatos@fep.up.pt>
11844
11845         * tabular.h:
11846         * tabular.C (docbookRow): new function to export docbook code of a row.
11847         (DocBook): now honors the longtable flags.
11848
11849 2001-10-23  José Matos  <jamatos@fep.up.pt>
11850
11851         * LaTeXFeatures.h:
11852         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11853         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11854
11855         * buffer.C (makeLinuxDocFile):
11856         (makeDocBookFile): reworked the preamble, more clean, and with
11857         support for lyx defined entities. Changed the document declaration
11858         to be more XML friendly.
11859
11860         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11861         if we need to output XML that should be done with a filter.
11862
11863 2001-10-22  Juergen Vigna  <jug@sad.it>
11864
11865         * sp_pspell.h (class PSpell): add alive function needed in the
11866         controller to see if the spellchecker could be started.
11867
11868 2001-10-22  Juergen Vigna  <jug@sad.it>
11869
11870         * buffer.C (insertStringAsLines): modify the font for inserting
11871         chars in certain conditions by calling checkInsertChar(font).
11872
11873 2001-10-19  Juergen Vigna  <jug@sad.it>
11874
11875         * text.C (workWidth): use getRow instead of wrong algorithm.
11876         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11877
11878 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyxserver.h:
11881         * lyxserver.C:
11882         * lyx_main.h:
11883         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11884
11885 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * text.C (workWidth): do not search for the exact row when
11888         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11889         optimization for big documents.
11890
11891 2001-10-18  Juergen Vigna  <jug@sad.it>
11892
11893         * text.C (workWidth): new function with added Inset * parameter.
11894
11895 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11896
11897         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11898
11899         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11900         change return type of getColumnNearX.
11901
11902
11903         * text.C (changeRegionCase): use uppercase/lowercase instead of
11904         toupper/tolower.
11905         (leftMargin):
11906         (rightMargin): simplify code by factoring out the uses of
11907         textclasslist.
11908         (labelFill):
11909         (numberOfHfills):
11910         (setHeightOfRow):
11911         (appendParagraph): use Paragraph::size_type
11912
11913 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * vspace.C (asLatexString): add a missing break
11916
11917 2001-10-15  Herbert Voss  <voss@perce.de>
11918
11919         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11920
11921 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11922
11923         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11924         is not available.
11925
11926 2001-10-10  André Pönitz <poenitz@gmx.net>
11927
11928         * lyxfunc.C: removed greek_kb_flag.
11929
11930 2001-10-10  Herbert Voss  <voss@perce.de>
11931
11932         * lyx_main.C: delete global string help_lyxdir.
11933
11934 2001-10-09  Herbert Voss  <voss@perce.de>
11935
11936         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11937
11938         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11939
11940         * lyx_main.C: added global string help_lyxdir.
11941
11942         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11943
11944 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11945
11946         * lyxrc.C (set_font_norm_type): support iso8859-4
11947
11948 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11949
11950         * LaTeX.C (deplog): add another regex for MikTeX
11951
11952 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11953
11954         * lyxrc.C (set_font_norm_type): support iso8859-3
11955
11956 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11959
11960         * LaTeXFeatures.C: remove special case of french and index
11961
11962         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11963         before \begin{document}). This solves several incompatibilities.
11964
11965 2001-10-03  Garst Reese  <reese@isn.net>
11966
11967         * lyx_cb.C: change CheckTex error msg.
11968
11969 2001-10-03  José Matos  <jamatos@fep.up.pt>
11970
11971         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11972
11973 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11974
11975         * .cvsignore: update
11976
11977         * lyx_main.C (commandLineVersionInfo): use new style version info.
11978
11979         * buffer.C (writeFile):
11980         (makeLaTeXFile):
11981         (makeLinuxDocFile):
11982         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11983
11984         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11985
11986         * version.h: update to use stuff in version.C
11987
11988         * version.C.in: new file. Contains version information determined
11989         at compile time. This is a merging of version.h and
11990         version_info.h.in.
11991
11992 2001-10-03  Juergen Vigna  <jug@sad.it>
11993
11994         * BufferView_pimpl.C (update): don't change "dirty" status in
11995         updateInset call.
11996
11997 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * WorkArea.C (c-tor): re-position version string slightly.
12000
12001 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12002
12003         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12004         revert to previous code.
12005
12006         WorkArea.[Ch]: (show, destroySplash): methods removed.
12007
12008         WorkArea.C: rework code so that it's an amalgam of the codes before and
12009         after the splash screen was moved to WorkArea.
12010
12011 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12012
12013         * lyxrc.C (read):
12014         * vspace.C (inPixels):
12015         (lyx_advance):
12016         * kbmap.C (bind):
12017         * buffer.C (insertStringAsLines):
12018         (asciiParagraph): fix types to be large enough
12019
12020         * lyxlex_pimpl.h: change member status from short to int
12021
12022         * layout.h: fix type of endlabeltype
12023
12024         * kbmap.C (bind):
12025         * kbsequence.C (parse): change return type to string::size_type
12026
12027         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12028         variable
12029
12030         * Bullet.C (bulletSize):
12031         (bulletEntry): do not use short ints as parameters
12032
12033         * BufferView2.C (insertLyXFile): change a char to an int.
12034
12035         * WorkArea.C (WorkArea): remove unneeded floats in computation
12036
12037 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12038
12039         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12040
12041         * paragraph.C (asString): Do not ignore newline/hfill chars when
12042         copying to the clipboard.
12043
12044 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12045
12046         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12047         after a multi-line inset.
12048
12049 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12050
12051         * paragraph.C (validate): Set NeedLyXFootnoteCode
12052
12053 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12054
12055         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12056         and decrease-error to decrease.
12057
12058 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12059
12060         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12061         it more readable (should be equivalent)
12062
12063 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12064
12065         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12066
12067 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12070         of a cursor (row, etc.) after a character has been deleted
12071         (deleteEmptyParagraphMechanism): call the method above on _all_
12072         cursors held by the LyXText when a double space has been
12073         detected/deleted.
12074
12075 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12076
12077         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12078         pixmap.
12079         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12080
12081         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12082         background. Use greyOut() and the new show() methods to toggle between
12083         the foreground and background. Add code to remove the splash after
12084         its initial showing.
12085
12086         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12087         (create_forms): no longer call Dialogs::showSplash.
12088
12089 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * .cvsignore: add version_info.h
12092
12093 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * version_info.h.in: new file
12096
12097         * Makefile.am: add version_info.h.in
12098
12099         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12100         version_info.h instead of VERSION_INFO
12101
12102 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12103
12104         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12105         The ERT inset now returns string().
12106
12107 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * lyxtext.h, text.C (selectNextWord): renamed as
12110         selectNextWordToSpellcheck.
12111
12112         * text.C (selectNextWordToSpellcheck): Modified to not select
12113         words inside an ERT inset.
12114
12115 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12116
12117         * lyx_cb.C (MenuLayoutSave): change a bit the question
12118
12119         * sp_base.h: include <sys/types.h>
12120
12121 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12124
12125 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12126
12127         * several files: fix typos in user-visible strings
12128
12129 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * text2.C (pasteSelection): do not set the selection, since it
12132         will be cleared later. Actually, the intent was to fix the way the
12133         selection was set, but I figured rmoving the code was just as good.
12134
12135 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12136
12137         * FontLoader.C (available): Check if font is available without
12138         loading the font.
12139
12140 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12141
12142         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12143
12144 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12145
12146         * lyxrc.[Ch]: added display_graphics variable and associated code.
12147
12148 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12149
12150         * bufferparams.C (hasClassDefaults): new method. Returns true if
12151         the buffer parameters correspond to known class defaults
12152
12153 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         * XFormsView.C (show): set minimum size to the main window.
12156
12157 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12158
12159         * text2.C (copySelection):
12160         (cutSelection):
12161         * lyxfind.C (LyXReplace):
12162         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12163         LyXText::selectionAsString.
12164
12165         * paragraph.C (asString): add "label" argument to the second form
12166
12167         * text2.C (selectionAsString): add "label" argument and pass it to
12168         Paragraph::asString.
12169
12170 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12171
12172         * lyx_main.C (commandLineHelp): remove version information
12173
12174 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12175
12176         * lyx_main.C: add -version commandline option
12177
12178 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * paragraph.h: make the optional constructor arg required instead.
12181         some modifications to other files because of this.
12182
12183         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12184
12185         * lyxserver.C (C_LyXComm_callback): make it static
12186
12187         * lyx_main.C (error_handler): make it static
12188
12189         * lyx_gui.C (LyX_XErrHandler): make it static
12190
12191         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12192
12193         * WorkArea.C: make the extern "C" methods static.
12194
12195         * Makefile.am (lyx_LDADD): simplify
12196
12197 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12200         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12201
12202         * LyXAction.C (init):
12203         * lyxfunc.C (dispatch): associated code removal.
12204
12205 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * lyxfont.h (isSymbolFont): shut off warning
12208
12209         * text.C (setHeightOfRow):
12210         (getVisibleRow): fix crash with empty paragraphs which have a
12211         bottom line
12212
12213 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12214
12215         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12216         code.
12217
12218 2001-09-04  José Matos  <jamatos@fep.up.pt>
12219         * buffer.C
12220         * buffer.h
12221         * tabular.C (docbook): rename docBook method to docbook.
12222
12223 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * Makefile.am: add dependencies to main.o.
12226
12227 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12228
12229         * FontLoader.C (available): Return false if !lyxrc.use_gui
12230
12231 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12232
12233         * FontInfo.C (query):
12234         * converter.C (view):
12235         * importer.C (Import):
12236         * exporter.C (Export): Can not -> cannot.
12237
12238 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * BufferView_pimpl.C: allow to create index inset even if
12241           string is empty
12242
12243 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * buffer.C (getLists): replace boost::tie code with an explicit pair
12246         as boost::tie can break some compilers.
12247
12248         * iterators.h: Added a std:: declaration to the return type of
12249         ParIterator::size.
12250
12251 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12254           case.
12255
12256 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12257
12258         * iterators.[Ch]: New files. Provide paragraph iterators.
12259
12260         * buffer.C (changeLanguage): Use paragraph iterators.
12261         (isMultiLingual): ditto
12262
12263         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12264
12265 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12266
12267         * FontLoader.C: Support for cmr font.
12268
12269 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12270
12271         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12272         (available): New method.
12273
12274         * FontInfo.C (getFontname): Use scalable fonts even when
12275         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12276         found.
12277
12278 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * converter.C (Formats::view): reverted! Incorrect fix.
12281
12282 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * converter.C (Formats::view): only output the -paper option
12285         if the dvi viewer is xdvi, thereby fixing bug #233429.
12286
12287 2001-08-23  Herbert Voss  <voss@perce>
12288
12289         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12290
12291 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12292
12293         * Spacing.h (Spacing): Set space to Default on in the default
12294         constructor.
12295
12296 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * vc-backend.h (RCS::versionString): add RCS to version
12299         (CVS::versionString): add CVS to version
12300
12301         * vc-backend.C (scanMaster): do not add CVS to version.
12302         (scanMaster): do not add RCS to version
12303
12304         * lyxvc.C (versionString): new method
12305
12306         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12307
12308 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * Spacing.C (set): initialize fval
12311
12312 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12315         " or \.
12316
12317 2001-08-16  Juergen Vigna  <jug@sad.it>
12318
12319         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12320
12321 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView_pimpl.C:
12324         * figureForm.C:
12325         * lyxtext.h:
12326         * text2.C: setParagraph takes linespacing now
12327
12328 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * LyxAction.C: add internal LFUN_CITATION_INSERT
12331
12332         * LyXView.C: actually apply fix
12333
12334         * bufferlist.C: fix open non-existent file
12335
12336         * lyxfind.C: fix indentation
12337
12338         * lyxfunc.C: remove unneeded assert, fix typo
12339
12340 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12341
12342         * MenuBackend.C: use "Floatname List"
12343
12344 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12345
12346         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12347         when converting LaTeX layout to insetERT.
12348         Generate a non-collapsed float when reading old float
12349
12350 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12351
12352         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12353         ERT insets.
12354
12355 2001-08-13  Juergen Vigna  <jug@sad.it>
12356
12357         * text.C (fill): return 0 instead of 20 as this seems to be the more
12358         correct value.
12359
12360 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12363         lyxrc.font_norm.
12364
12365 2001-08-13  Juergen Vigna  <jug@sad.it>
12366
12367         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12368         casesensitive off.
12369         (SearchBackward): comment out the unlocking of the inset_owner this
12370         should not be needed!
12371
12372 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * Many files: Remove inherit_language, and add latex_language
12375
12376         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12377         collapsible insets.
12378
12379 2001-08-10  Juergen Vigna  <jug@sad.it>
12380
12381         * text.C (prepareToPrint): fixed hfill-width in draw!
12382
12383         * BufferView2.C (selectLastWord): save the selection cursor as this
12384         now is cleared in the function LyXText::clearSelection!
12385
12386 2001-08-08  Juergen Vigna  <jug@sad.it>
12387
12388         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12389         BACKSPACE type functions.
12390
12391         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12392         is only cutted from the document but not put in the cut-buffer, where
12393         still the old stuff should be.
12394
12395         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12396
12397         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12398
12399         * tabular.C (SetWidthOfCell): fixed special case where the width
12400         was not updated!
12401         (LeftLine): handle '|' in align_special.
12402         (RightLine): ditto
12403         (LeftAlreadyDrawed): ditto
12404         (SetWidthOfCell): ditto
12405
12406 2001-08-07  Juergen Vigna  <jug@sad.it>
12407
12408         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12409
12410 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12413         * lyxlex.[hC]: ditto
12414
12415 2001-08-06  Juergen Vigna  <jug@sad.it>
12416
12417         * text.C (getVisibleRow): fix up row clearing a bit.
12418
12419 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * minibuffer.C: make sure the X server sees the changes in the input.
12422
12423 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12424
12425         * paragraph.C (getFont): split into...
12426         (getLabelFont): this
12427         (getLayoutFont): and this
12428         * paragraph_pimpl.C (realizeFont): calling this
12429
12430         * text2.C (getFont): split into...
12431         (getLayoutFont): this
12432         (getLabelFont): and this
12433         (realizeFont): all three calling this
12434
12435         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12436         files where used.
12437
12438 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12439
12440         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12441
12442 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12443
12444         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12445         layouts from the Quote inset insertion.
12446
12447 2001-08-03  Juergen Vigna  <jug@sad.it>
12448
12449         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12450
12451         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12452         only if status not is already CHANGED_IN_DRAW (second level).
12453
12454         * text.C (draw): don't set the need_break_row when inside an
12455         InsetText LyXText.
12456
12457 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * buffer.C (parseSingleLyXformat2Token): handle more latex
12460         conversion cases.
12461
12462         * bufferview_funcs.[hC]: change function names to
12463         begin with small char, adjust other files.
12464
12465 2001-08-02  André Pönitz <poenitz@gmx.net>
12466
12467         * lyxfunc.C:
12468         BufferView_pimpl.C: remove broken special code for math-greek
12469
12470 2001-08-02  Juergen Vigna  <jug@sad.it>
12471
12472         * BufferView_pimpl.C (update): redone this function so that we
12473         update the text again if there was a CHANGE_IN_DRAW.
12474
12475         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12476         (drawFromTo): added a new internal bool which is used by draw() and
12477         redraw() function.
12478         (general): some cursor drawing problems fixed.
12479
12480 2001-08-01  Juergen Vigna  <jug@sad.it>
12481
12482         * lyxfind.C (LyXFind): fixed
12483         (SearchForward): ditto
12484         (SearchBackward): ditto
12485
12486         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12487         spurius drawing of the cursor in the main area.
12488
12489         * text2.C (status): small fix which could lead to a segfault!
12490         (clearSelection): remove unneeded BufferView param.
12491
12492 2001-08-01  André Pönitz <poenitz@gmx.net>
12493
12494         * lyxfunc.C: small change due to changed mathed interface
12495
12496 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12499
12500 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * lyxfunc.c: fail gracefully if file doesn't exist
12503
12504         * LyXSendto.C:
12505         * buffer.C:
12506         * lyxfunc.C:
12507         * BufferView_pimpl.C: IsDirWriteable() proto changed
12508
12509         * LyXView.C: fix updateWindowTitle() to store the last title
12510
12511 2001-07-31  Juergen Vigna  <jug@sad.it>
12512
12513         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12514         the font (wrong since using of Paragraph::highestFontInRange).
12515
12516         * paragraph.C (highestFontInRange): added a default_size parameter.
12517
12518         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12519         (setHeightOfRow): reformat
12520
12521 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * converter.[hC] + affected files: move to (inital-char)lowercase
12524         function names.
12525
12526         * ParagraphParameters.C (ParagraphParameters): remove commented code
12527
12528         * PainterBase.[Ch]: remove commented code
12529
12530         * LaTeXFeatures.h: add "bool floats" for float.sty
12531
12532         * LaTeXFeatures.C (LaTeXFeatures): init floats
12533         (require): handle float
12534         (getPackages): do it with floats
12535
12536 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * BufferView_pimpl.C (Dispatch): improve handling of
12539         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12540
12541         * commandtags.h: #include lyxfont.h here temporarily to avoid
12542         keybinding bug.
12543
12544         * bufferlist.h: include LString.h here.
12545
12546 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * text2.C (getStringToIndex): new method.
12549
12550 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12551
12552         * *: Reduced header file dependencies all over.
12553
12554 2001-07-30  Baruch Even  <baruch@lyx.org>
12555
12556         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12557
12558 2001-07-29  Baruch Even  <baruch@lyx.org>
12559
12560         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12561
12562 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * ParameterStruct.h (endif): add a default constructor to make
12565         sure that all variables is initialized.
12566
12567         * ParagraphParameters.C (ParagraphParameters): adjust
12568
12569 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12572         index; also, check that there is something to index, and that it
12573         does not span over several paragraphs.
12574         (doubleClick): use WHOLE_WORD_STRICT for double click.
12575
12576         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12577
12578         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12579         scheme.
12580
12581 2001-07-26  Baruch Even  <baruch@lyx.org>
12582
12583         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12584         an InsetFig figure, backwards compatible reading of old figure code.
12585
12586 2001-07-27  Juergen Vigna  <jug@sad.it>
12587
12588         * text2.C: font.realize function adaption.
12589
12590         * text.C (draw): add a warnings lyxerr text if needed.
12591
12592         * layout.C: font.realize function adaption.
12593
12594         * language.C: add inherit_language and implement it's handlings
12595
12596         * bufferview_funcs.C (StyleReset): remove language parameter from
12597         font creation (should be language_inherit now).
12598
12599         * bufferparams.C (writeFile): handle ignore_language.
12600
12601         * paragraph.C (getFontSettings): the language has to be resolved
12602         otherwise we have problems in LyXFont!
12603
12604         * lyxfont.C (lyxWriteChanges): added document_language parameter
12605         (update): removed unneeded language parameter
12606
12607         * paragraph.C (validate): fixed wrong output of color-package when
12608         using interface colors for certain fonts in certain environments,
12609         which should not seen as that on the final output.
12610
12611 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * BufferView_pimpl.C:
12614         * Thesaurus.h:
12615         * Thesaurus.C:
12616         * Makefile.am:
12617         * commandtags.h:
12618         * LyXAction.C: add thesaurus support
12619
12620         * lyxfind.h:
12621         * lyxfind.C: add "once" parameter, for thesaurus, to not
12622           move to the next match
12623
12624 2001-07-26  Juergen Vigna  <jug@sad.it>
12625
12626         * lyxfont.C (realize): honor ignore_language too!
12627         (resolved): ditto.
12628
12629         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12630
12631         * text.C (draw): one place more for ignore_language to not draw
12632         itself!
12633
12634 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12635
12636         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12637
12638 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12641         the minipage conversion problem.
12642
12643 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12646         insert an inset.
12647
12648 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * BufferView.h: don't forward declare WorkArea
12651
12652         * BufferView.C: don't include WorkArea.h
12653
12654 2001-07-25  André Pönitz <poenitz@gmx.net>
12655
12656         * commandtags.h:
12657         * LyXAction.C:
12658         * lyxfunc.C:  new LFUN 'math-space'
12659
12660         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12661
12662 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * text2.C (toggleInset): call open/close
12665
12666 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * lyxfunc.C (dispatch): add debug for the disabled case
12669
12670         * font.C (buttonText): make similar to rectText
12671
12672         * buffer.C (readInset): comment out parsing of insetlist and
12673         insttheorem
12674
12675         * PainterBase.C (rectText): small correction
12676
12677         * BufferView_pimpl.C: comment out insettheorem and insetlist
12678         * LyXAction.C: ditto
12679         * commandtags.h: ditto
12680
12681 2001-07-24  Juergen Vigna  <jug@sad.it>
12682
12683         * text.C (draw): honor the ignore_language.
12684
12685         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12686
12687 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12688
12689         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12690         char inset.
12691
12692 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12693
12694         * lyxtext.h: remove unused (and unimplemented) methods
12695
12696 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12697
12698         * text.C (getVisibleRow): honor background color
12699
12700         * PainterBase.h:
12701         * Painter.h: remove default color argument for fillRectangle
12702
12703         * text.C (backgroundColor): new method
12704
12705 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * text.C (getVisibleRow): adjust
12708
12709         * font.[Ch] (rectText): new method, metrics
12710         (buttonText): new method, metrics
12711
12712         * PainterBase.[hC]: make rectText and buttonText always draw and take
12713         fewer paramteres.
12714
12715 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12716
12717         * ToolbarDefaults.C (read):
12718         * MenuBackend.C (read): allow escaping in all strings
12719
12720         * BufferView_pimpl.C (insertAndEditInset): new method.
12721         (Dispatch): use insertAndEditInset whenever appropriate.
12722
12723         * BufferView_pimpl.C (insertNote): removed
12724
12725         * BufferView_pimpl.C (smartQuote): new method, moved from
12726         BufferView; if an insetquote cannot be inserted, insert a '"'
12727         character instead.
12728
12729         * BufferView2.C: remove insertCorrectQuote();
12730
12731         * lyxfunc.C (getStatus): Add support for all remaingin
12732         inset-insert lfuns.
12733
12734         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12735
12736         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12737         command (necessary to pass " as parameter of self-insert.
12738
12739         * text.C (selectWordWhenUnderCursor):
12740         (selectWord): add word_location parameter
12741         (selectWordWhenUnderCursor): same + remove special code for word
12742         boundary.
12743         (selectNextWord): use kind() to guess type of insetspecialchar,
12744         not latex().
12745
12746         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12747         (insertErtContents): create ert insets as collapsed.
12748         (readInset): better compatibility code for Info inset.
12749
12750 2001-07-20  Juergen Vigna  <jug@sad.it>
12751
12752         * lyxfunc.C (dispatch): use always LyXFind now!
12753
12754         * text2.C (init): add a reinit flag so that the LyXText can be
12755         reinited instead of deleted and reallocated (used in InsetText).
12756
12757         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12758
12759         * text.C: ditto
12760
12761         * text2.C: ditto
12762
12763 2001-07-18  Juergen Vigna  <jug@sad.it>
12764
12765         * text.C (selectNextWord): handle insets inside inset by calling
12766         always the bv->text functions so that we can go up the_locking_inset!
12767
12768         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12769         in strange locations when inside an inset!
12770
12771         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12772         handling to include insets.
12773
12774         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12775
12776 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * LyXAction.C (init):
12779         * commandtags.h:
12780         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12781         LIGATURE_BREAK, since the name is so stupid.
12782
12783 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12784
12785         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12786         InsetInfos.
12787
12788         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12789
12790         * sp_form.[Ch]: remove.
12791
12792         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12793
12794         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12795         InsetInfo.
12796
12797         * src/buffer.C (readInset): ditto.
12798
12799 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12800
12801         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12802         menuSeparator(), endOfSentenceDot(), ldots() and
12803         hyphenationPoint(), which are therefore removed.
12804         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12805
12806         * LyXAction.C (init):
12807         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12808
12809         * paragraph.C (getWord): removed.
12810
12811         * BufferView_pimpl.C (Dispatch): use last word or selection for
12812         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12813
12814         * lyx_main.C (queryUserLyXDir): do not ask before creating
12815         user_dir, except if it has been named explicitely.
12816
12817 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12820         a document of zero size.
12821
12822 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12825         approriately in the c-tor and in require().
12826         (getPackages): output the appropriate LaTeX for natbib support.
12827
12828         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12829         variables "use_natbib" and "use_numerical_citations" when reading the
12830         LyX file.
12831         (readInset): read the various natbib cite commands.
12832         (validate): white-space change.
12833
12834         * bufferparams.[Ch]: new variables "bool use_natbib" and
12835         "bool use_numerical_citations".
12836         (writeFile): output them in the LyX file.
12837
12838 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12839
12840         * lyxfunc.C (getStatus): add support for all the inset insertion
12841         commands.
12842
12843         * text2.C (insertInset):
12844         * paragraph.C (insetAllowed):
12845         * BufferView_pimpl.C (insertInset): update to take in account the
12846         renaming of insertInsetAllowed
12847
12848         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12849
12850         * text2.C (getInset): new method. returns inset at cursor position.
12851
12852         * BufferView_pimpl.C (Dispatch): changes because of this.
12853
12854         * LyXAction.C (init): rename open-stuff to inset-toggle.
12855
12856         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12857
12858         * text2.C (toggleInset): renamed from openStuff; use
12859         Inset::open().
12860
12861 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12862
12863         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12864
12865         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12866
12867 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * buffer.C (readLyXformat2): Add filename to the error dialog
12870
12871 2001-07-18  Juergen Vigna  <jug@sad.it>
12872
12873         * tabular.C (GetCellNumber): put an assert here instead of the check!
12874
12875 2001-07-17  Juergen Vigna  <jug@sad.it>
12876
12877         * BufferView_pimpl.C (toggleSelection): adapted too.
12878
12879         * text.C (selectNextWord): adapted for use with insets.
12880         (selectSelectedWord): ditto
12881
12882 2001-07-17  Juergen Vigna  <jug@sad.it>
12883
12884         * sp_spell.C (PSpell): fix initialitation order.
12885
12886 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * paragraph.C: spacing
12889
12890 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12891
12892         * sp_spell.C: repair language selection for pspell
12893
12894 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * lyxfunc.h: change more methods to begin with lower char.
12897
12898 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12901         for unknown layouts.
12902
12903 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * buffer.C (readLyXformat2): Generate an error dialog if there are
12906         unknown layouts.
12907
12908 2001-07-16  Juergen Vigna  <jug@sad.it>
12909
12910         * sp_spell.C: always compile ISpell part.
12911
12912         * lyxrc.C: added use_pspell entry and it's handling.
12913
12914 2001-07-13  Juergen Vigna  <jug@sad.it>
12915
12916         * sp_spell.C: removed double includes.
12917
12918 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         Consistent use of Lsstream.h:
12921         * Lsstream.h: added using std::stringstream for consistencies sake.
12922
12923         * buffer.C: removed using std::stringstream
12924
12925         * lyxfont.C (stateText):
12926         * paragraph.C (asString):
12927         * text.C (selectNextWord, selectSelectedWord):
12928         * text2.C (setCounter):
12929         * vspace.C (asString, asLatexString):
12930         std::ostringstream -> ostringstream.
12931
12932 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12933
12934         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12935         * commandtags.h: add LFUN_HELP_ABOUTLYX
12936         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12937
12938 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12939
12940         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12941         cursorToggle()
12942         * lyx_gui_misc.C: remove spellchecker
12943         * lyxfunc.C: showSpellchecker
12944         * sp_base.h: added
12945         * sp_ispell.h: added
12946         * sp_pspell.h: added
12947         * sp_spell.C: added
12948         * sp_form.[Ch]: removed
12949         * spellchecker.[Ch]: removed
12950
12951 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12952
12953         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12954         is set.
12955         (simpleTeXSpecialChars): Simply print the input character without
12956         any special translation if pass_thru is set.
12957
12958         * layout.h: Added bool pass_thru to layout class for being able to
12959         implement pass through of a paragraph for Literate Programming.
12960
12961         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12962         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12963         * layout.C (Read): add "passthru" to list of layout tags and add
12964         code to set the pass_thru boolean when it is read.
12965
12966 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * trans_decl.h: remove allowed from KmodInfo
12969
12970         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12971         remove allowed code
12972         (Load): adjust
12973
12974         * paragraph_pimpl.C (erase): use boost::prior
12975
12976         * Painter.C (text): use data() instead of c_str() when length is
12977         also provided.
12978         * WorkArea.C (putClipboard): ditto
12979         * font.h (width): ditto
12980
12981         * BufferView2.C: use it-> instead of (*it). for iterators
12982         * texrow.C: ditto
12983         * paragraph_pimpl.C: ditto
12984         * paragraph.C: ditto
12985         * minibuffer.C: ditto
12986         * language.C: ditto
12987         * kbmap.C: ditto
12988         * encoding.C: ditto
12989         * counters.C: ditto
12990         * converter.C: ditto
12991         * chset.C: ditto
12992         * Variables.C: ditto
12993         * TextCache.C: ditto
12994         * MenuBackend.C: ditto
12995         * LyXAction.C: ditto
12996         * LColor.C: ditto
12997         * FloatList.C: ditto
12998         * DepTable.C: ditto
12999         * ColorHandler.C (LyXColorHandler): ditto
13000
13001 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13004
13005         * text2.C (openStuff): reintroduce this method (which had been
13006         nuked in NEW_INSETS frenzy).
13007
13008         * lyxfunc.C (Dispatch): when an action has not been handled, use
13009         its name in the error message, not its number.
13010
13011         * paragraph.C (inInset): change method name to begin with lowercase.
13012
13013         * undo_funcs.C:
13014         * text2.C: updates because of this.
13015
13016 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * ToolbarDefaults.C (add): add spaces in error message
13019
13020 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13023         (readLyXformat2): rename return_par to first_par, use lyxlex's
13024         pushToken and remove the manual push handling.
13025         (parseSingleLyXformat2Token): add another ert comp. variable:
13026         in_tabular, rename return_par to first_par. handle newlines better
13027
13028 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13031
13032 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * text2.C (getParFromID): removed
13035
13036         * buffer.C (getParFromID): new method moved form lyxtext.
13037         * BufferView2.C (insertErrors): adjust
13038         (setCursorFromRow): adjust
13039         * BufferView_pimpl.C (restorePosition): adjust
13040         * lyxfunc.C (Dispatch): adjust
13041         * undo_funcs.C (textUndo): adjust
13042         (textRedo): adjust
13043         (textHandleUndo): adjust
13044         (textHandleUndo): adjust
13045
13046 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * buffer.C: up' the LYX_FORMAT
13049
13050         * lyxfont.h: turn NO_LATEX on as default
13051
13052         * buffer.C (insertErtContents): new methods of tex style compability.
13053         (parseSingleLyXformat2Token): use it several places.
13054         * tabular.C (OldFormatRead): and here
13055
13056 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * text2.C: remove some commented code.
13059         reindent file.
13060
13061         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13062         * trans.C: changes because of the above.
13063
13064 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * text2.C (setCounter): Fix counters bug with bibliography layout.
13067
13068 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13071         own member functions
13072         (simpleTeXSpecialChars): ditto
13073
13074 2001-07-06  Juergen Vigna  <jug@sad.it>
13075
13076         * a lot of files: changed the access to LyXText::status and the
13077         call of undo-functions.
13078
13079         * undo.[Ch]: added a inset_id to the undo informations.
13080
13081         * undo_funcs.[Ch]: added and moved here all undo functions.
13082
13083         * lyxtext.h: give the status enum a weight, made status_ a private
13084         variable and made accessor functions for it, removed the whole bunch
13085         of undo-functions as they are now in their own file, make some
13086         functions publically available. Added function ownerParagraph with
13087         int parameter.
13088
13089         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13090         made InInset() a const function, added getParFromID() function.
13091
13092         * buffer.[Ch]: added const version for inset_iterator functions,
13093         added getInsetFromID() function.
13094
13095         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13096         changed undo functions for new version.
13097
13098 2001-07-05  Juergen Vigna  <jug@sad.it>
13099
13100         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13101         unknow mechanism does not call the proper constructor but only this
13102         one also if I request the other!?
13103
13104 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13107
13108         * text2.C (LyXText): use initialization lists.
13109
13110         * lyxtext.h (Selection): initialize set_ and mark_
13111         (init): remove method
13112
13113 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13114
13115         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13116
13117 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * screen.[Ch]: change method names to begin with lowercase
13120
13121         * BufferView_pimpl.C (updateScrollbar): simplify further and
13122         hopefully make it a bit faster.
13123
13124 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13127         calling directly xforms functions.
13128
13129         * Painter.C (Painter):
13130         * lyx_cb.C (MenuWrite):
13131         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13132         fl_display.
13133
13134         * lyx_gui.C: remove bogus guiruntime extern declaration.
13135
13136 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13139         in NEW_INSETS
13140         (redoDrawingOfParagraph): ditto
13141         (redoParagraphs): ditto
13142         (cutSelection): don't create a object for CutAndPaste use the
13143         static method directly
13144         (pasteSelection): ditto
13145
13146         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13147         LyXview (+ rename)
13148
13149 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * modifications to some other files because of this.
13152
13153         * Makefile.am (lyx_SOURCES): add XFormsView
13154
13155         * XFormsView.[Ch]: new files
13156
13157         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13158         the main window. Move the gui dependent stuff to XFormsView
13159
13160 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * tabular.C (GetCellInset): update cur_cell also in the row/col
13163         version of this function.
13164
13165         * lyxfunc.C: no need to include figure_form.h here.
13166
13167         * FontLoader.h:
13168         * lyxfunc.h:
13169         * lyxscreen.h:
13170         * text2.C:
13171         * lyxvc.C: no need to include forms.h here.
13172
13173 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13176
13177         * lyxfunc.C (Dispatch):
13178         * Spacing.C (set):
13179         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13180         constructor argument.
13181
13182 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * paragraph.C (Paragraph): dont't clear, and just set layout.
13185         (makeSameLayout): use params's copy contructor.
13186
13187         * ParagraphParameters.[Ch] (makeSame): delete method
13188
13189 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * Variables.[Ch]: fix indentation, rename set to isSet
13192
13193 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * lyxfunc.C (Dispatch): fix typo
13196
13197 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13200         upper_bound.
13201
13202         * bufferlist.C: include assert.h for emergencyWrite().
13203
13204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13207           give up at last (bug #425202) !
13208
13209 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13210
13211         * lyx_gui_misc.C:
13212         * sp_form.h:
13213         * sp_form.C:
13214         * spellchecker.h:
13215         * spellchecker.C: strip spellchecker options and bring up
13216           preferences tab instead
13217
13218 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13221         the istringstream constructor
13222
13223 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * paragraph.C (getLayout): fix return value
13226
13227         * paragraph.h: do not declare getLayout as inline.
13228
13229         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13230
13231 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * lyxcursor.h (operator<): new func
13234         (operator>): new func
13235         (operator>=): new func
13236         (operator<=): new func
13237
13238         * text.C (changeCase): use selection.start and selection.end
13239         (changeRegionCase): require from to be <= to. Require par to be a
13240         valid paragraph.
13241
13242         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13243
13244 2001-06-27  Juergen Vigna  <jug@sad.it>
13245
13246         * text.C (cursorLeftOneWord): changed to return the cursor and added
13247         overlay with BufferView * parameter which calls this one.
13248         (getWord): added
13249         (selectWord): use new getWord function.
13250         (changeCase): renamed from changeWordCase as and extended to work
13251         also on selections.
13252
13253         * lyxtext.h: added enum word_location
13254
13255         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13256         changeCase as this operates now also on selections.
13257
13258 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13259
13260         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13261
13262         * many files: send debug output to Debug::INFO instead of
13263         Debug::ANY.
13264
13265         * converter.C (View):
13266         (Convert):
13267         (Move): send debug output to Debug::FILES instead of console.
13268
13269 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13270
13271         * lyxfunc.C (getStatus): use func_status
13272
13273         * func_status.h: new header, describing the results of
13274         LyXFunc::getStatus;
13275
13276         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13277         LFUN_MATH_HALIGN.
13278
13279 2001-06-25  The LyX Project  <jug@sad.it>
13280
13281         * buffer.C (sgmlOpenTag):
13282         (sgmlCloseTag):
13283         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13284
13285 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * text2.C: remove some dead code
13288
13289         * tabular.C (GetCellInset): store the last cell checked (gotten)
13290
13291         * tabular.h: add the helper for the speedup
13292
13293         * lyxtext.h: remove some dead code
13294
13295 2001-06-26  The LyX Project  <Asger>
13296
13297         * paragraph.C: Change export to LaTeX of alignment to
13298         \begin{center} and family for better roundtrip work with reLyX.
13299
13300         * Tune the math drawing a bit.
13301
13302 2001-06-25  The LyX Project  <Asger>
13303
13304         * LColor.C (LColor): New color for math background. New color
13305         for buttons.
13306
13307 2001-06-25  The LyX Project  <jug@sad.it>
13308
13309         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13310
13311         * lyxfunc.C (Open):
13312         * bufferlist.C (newFile): do not restrict to files ending with
13313         .lyx
13314
13315         * BufferView_pimpl.C (MenuInsertLyXFile):
13316
13317 2001-06-24  The LyX Project  <jug@sad.it>
13318
13319         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13320         of compare_no_case
13321
13322 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * lyxtext.h: rename most methods to begin with a small char.
13325         Lots of changes because of this.
13326
13327         * paragraph.C (Paragraph): do not call fitToSize
13328         (erase): call Pimpl::erase
13329         (insertChar): call Pimpl::insertChar
13330         (insertInset): call Pipl::insertInset
13331         (breakParagraph): do not call fitToSize
13332         (breakParagraphConservative): do not call fitToSize
13333         (fitToSize): remove method
13334
13335         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13336
13337 2001-06-24  The LyX Project  <Asger>
13338
13339         * Fix Qt compilation^2
13340
13341 2001-06-24  The LyX Project  <jug@sad.it>
13342
13343         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13344         depthHook(getDepth()-1).
13345
13346         * paragraph.h:
13347         * ParagraphParameters.h:
13348         * ParameterStruct.h: change type of depth to unsigned int ==
13349         depth_type. Many adaptations to other files before of that.
13350
13351 2001-06-24  The LyX Project  <Asger>
13352
13353         * Fix Qt compilation.
13354
13355 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * paragraph.h: renamed several methods to begin with small letter.
13358         several changes to many parts of the code because of this.
13359
13360 2001-06-23  The LyX Project  <jug@sad.it>
13361
13362         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13363         rewritten to discard all double spaces when KeepEmpty is off
13364         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13365         to only handle newlines but not fiddle with spaces and friends.
13366
13367         * lyxfunc.C (MenuNew): when doing 'new from template', use
13368         template_path as default directory
13369
13370 2001-06-23  The LyX Project  <Asger>
13371
13372         * Clean-up of header file includes all over
13373         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13374
13375 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13376
13377         * paragraph.h: renamed from lyxparagraph.h
13378
13379 2001-06-23  Asger  <lyx@violet.home.sad.it>
13380
13381         * Buffer.h: Removed Buffer::resize
13382         * BufferList.h: Removed BufferList::resize
13383         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13384         the document lazily when we change the width, or the font settings.
13385
13386 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13387
13388         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13389
13390 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * buffer.h: remove out of date comment
13393
13394 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * lyxscreen.h:
13397         * screen.C: fix "theoretical" GC leak
13398
13399 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13400
13401         * LaTeX.C (scanAuxFile):
13402         (deplog): remove trailing \r when reading stream (useful under
13403         win32)
13404
13405 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13406
13407         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13408         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13409         and BufferView::theLockingInset(Inset*), so should use them and not
13410         access bv_->text->the_locking_inset directly.
13411
13412         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13413
13414 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * Makefile.am:
13417         * tex-defs.h: remove old unused file
13418
13419 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * BufferView_pimpl.C: fix typo, remove minibuffer message
13422           when buffer has loaded
13423
13424 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * lyxfunc.C (Dispatch): use stringstream
13427         (MenuNew): use stringstream
13428         (Open): use stringstream
13429
13430         * importer.C (Import): use stringstream
13431
13432         * bufferview_funcs.C (CurrentState): use stringstream
13433
13434         * LaTeX.C (run): use stringstream
13435
13436         * BufferView_pimpl.C (savePosition): use stringstream
13437         (restorePosition): use stringstream
13438         (MenuInsertLyXFile): use stringstream
13439
13440 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * BufferView.C:
13443         * Bullet.C:
13444         * ColorHandler.C:
13445         * FontInfo.C:
13446         * FontLoader.C:
13447         * LColor.C:
13448         * LaTeXFeatures.C:
13449         * Painter.C:
13450         * gettext.C:
13451         * lyx_gui_misc.C:
13452         * lyxserver.C:
13453         * vspace.C: removed // -*- C++ -*- as first line.
13454
13455         * lyxfind.h:
13456         * version.h: added // -*- C++ -*- as first line.
13457
13458 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13461
13462         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13463         of string
13464
13465 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13468         of floats.
13469
13470 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * gettext.C: include LString.h even when --disable-nls is on.
13473
13474 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13475
13476         * converter.h (Get): changed argument type from int to
13477         FormatList::size_type to avoid unnecessary conversion.
13478
13479         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13480         before using it.
13481
13482 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * gettext.h: include LString.h even when --disable-nls is on.
13485
13486 2001-06-07  Juergen Vigna  <jug@sad.it>
13487
13488         * text.C (BreakAgain): subst spaces with tabs.
13489
13490         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13491         (resizeInsetsLyXText): set force on resizeLyXText.
13492
13493 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * gettext.h (gettext_init):
13496         (locale_init): use a real definition instead of a macro
13497
13498 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * Bufferview_pimpl.C:
13501         * LColor.h:
13502         * LColor.C: further lcolor tidies
13503
13504 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * BufferView_pimpl.C (updateScrollbar): simplify.
13507
13508         * BufferView2.C: don't include insets/insetinfo.h, change
13509         prototype for insertInset and call the Pimpl version. let
13510         updateInset call Pimpl version.
13511
13512         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13513         gotoInset to BufferView::Pimpl
13514
13515 2001-06-01  Juergen Vigna  <jug@sad.it>
13516
13517         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13518         inside a LockingInset (is the update needed at all?).
13519
13520 2001-05-31  Juergen Vigna  <jug@sad.it>
13521
13522         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13523         here not the old one otherwise how should we compare it afterwards
13524         if it's the same!
13525
13526 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13527
13528         * lyxfont.C:
13529         * tabular.C:
13530         * tabular-old.C:
13531         * FontInfo.C: bring C functions into global namespace when
13532         necessary
13533
13534 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * LString.h: make sure config.h has been loaded before LString.h.
13537
13538         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13539         (one for each char read by EatLine!).
13540
13541         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13542         variables.
13543
13544 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13547         to the same as the par we break from
13548
13549 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13550
13551         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13552
13553         * MenuBackend.C (expand): also create menu entries for wide
13554         versions of the floats.
13555
13556         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13557
13558         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13559
13560         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13561         frontends/Makefile.am
13562
13563         * text2.C: adjust
13564         * text.C: adjust
13565
13566
13567         * tabular.C (getTokenValue): add std::
13568
13569         * tabular-old.C (getTokenValue): add std::
13570         (getTokenValue): ditto
13571         (getTokenValue): ditto
13572
13573         * screen.C (ToggleSelection): adjust
13574
13575         * lyxtext.h: put selection cursors inside a Selection struct.
13576
13577         * lyxfunc.C (moveCursorUpdate): adjust
13578
13579         * lyxfont.C (latexWriteStartChanges): add std::
13580
13581         * lyxfind.C: adjust
13582
13583         * font.h: delete with(char const *, LyXFont const &)
13584
13585         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13586
13587         * FontInfo.C (getFontname): add std::
13588
13589         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13590         (workAreaButtonPress): adjust
13591         (tripleClick): adjust
13592         (update): adjust
13593         (moveCursorUpdate): adjust
13594         (Dispatch): adjust
13595
13596         * BufferView2.C (gotoInset): adjust
13597
13598 2001-05-30  Juergen Vigna  <jug@sad.it>
13599
13600         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13601         to check pspell I add this as default as I now have new pspell
13602         libraries and they seem to use this.
13603
13604 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * text2.C (CutSelection): make the cursor valid before the call to
13607         ClearSelection.
13608
13609 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13612         relied on 0 terminated strings and other horrors. Bug found due to
13613         the new assert in lyxstring!
13614
13615         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13616         KP_ keys.
13617
13618 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13621         to latinkeys.bind.
13622
13623         * lyxfunc.C (processKeySym): change method of getting to the
13624         self-insert char.
13625
13626         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13627         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13628         * BufferView_pimpl.[Ch]: here as private methods.
13629
13630 2001-05-28  Juergen Vigna  <jug@sad.it>
13631
13632         * text.C (SetHeightOfRow): added the update() call again as it is
13633         needed to initialize inset dimensions!
13634
13635 2001-05-16  Juergen Vigna  <jug@sad.it>
13636
13637         * text2.C (SetCharFont): Add new function with BufferView * and
13638         bool toggleall parameters for setting insets internal fonts.
13639         (SetFont): Freeze the undo as we may change fonts in Insets and
13640         all this change should be inside only one Undo!
13641
13642         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13643         setting font's in insets as for them we have the SetFont function!
13644
13645 2001-05-15  Juergen Vigna  <jug@sad.it>
13646
13647         * text2.C (ClearSelection): to be sure we REALLY don't have any
13648         selection anymore!
13649
13650         * tabular.C (TeXCellPreamble): fixed the left border problem for
13651         multicolumn cells.
13652
13653 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13656         dependancy file
13657
13658 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13661         LFUN_BREAKPARAGRAPH.
13662
13663         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13664         help test to "internal only", similar for LFUN_INSERT_URL
13665
13666         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13667         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13668         auto_region_delete and deadkeys.
13669
13670 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * LColor.h:
13673         * LColor.C: remove some dead entries, tidy a little
13674
13675 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13678         commented code.
13679         (Dispatch): implement LFUN_ESCAPE
13680
13681         * commandtags.h: add LFUN_ESCAPE
13682
13683         * LyXAction.C (init): add entry for LFUN_ESCAPE
13684
13685         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13686         Remove commented code.
13687         (insertNote): moved here
13688         (open_new_inset): moved here
13689
13690         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13691         BufferView_pimpl
13692
13693 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * kbmap.C (findbinding): clean it up and make it work correctly.
13696
13697         * lyx_main.C (init): do not pass argc and argv as parameters
13698
13699 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13700
13701         * buffer.C: fix path for OS/2 & Win32
13702
13703         * lyx_gui.C:
13704         * lyx_main:
13705         * lyx_main.C: Added os:: class.
13706
13707         * os2_defines.h: update
13708
13709 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13712         better by trying again with reduced state.
13713
13714 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyxrc.C (read): print error about invalid key sequence only when
13717         debugging (because not all latinX keysyms are known to some X
13718         servers)
13719
13720         * kbsequence.C (getiso): add a few std:: qualifiers
13721         (getiso): comment out extra return statement.
13722
13723 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13724
13725         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13726         handling.
13727         (Dispatch): enhance the accent inset a bit. (not perfect)
13728
13729 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13732
13733 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * bufferlist.C (emergencyWrite): fix assert() call
13736
13737 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13738
13739         * text.C (InsertChar): Added trivial patch to only send the "you
13740         can not do multiple spaces this way" message once during a
13741         session.
13742
13743 2001-05-08  Baruch Even  <baruch@lyx.org>
13744
13745         * Makefile.am: Changed order of libraries to get LyX to link properly
13746         with the gnome frontend.
13747
13748 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * LaTeXFeatures.h: add a std:: qualifier
13751
13752 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * paragraph.C (String): use stringstream
13755
13756 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * paragraph.C (writeFile): remove footflag arg
13759
13760         * buffer.C (makeLaTeXFile): use stringstream
13761         (latexParagraphs): remove footnot gurba
13762
13763         * LaTeXFeatures.C (getPackages): use stringstream
13764         (getMacros): likewise
13765         (getTClassPreamble): likewise
13766         (getFloatDefinitions): new method
13767
13768         * paragraph.C (writeFile): reindent
13769         (Erase): reindent
13770
13771         * WorkArea.h: revert the xpos + etc changes.
13772
13773         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13774
13775         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13776
13777         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13778         (pasteSelection): likewise
13779         * text2.C (CreateUndo): likewise
13780
13781 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * minibuffer.C (peek_event): temporarily reduce the functionality
13784         of the minibuffer (to allow args on lfuns)
13785
13786         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13787         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13788
13789         * buffer.C (readInset): add compability reading of old float
13790         lists, add reading of new style float list.
13791         (readInset): avoid reevaluation of inscmd.getCmdName()
13792         (getLists): reindent
13793
13794         * MenuBackend.C (MenuItem): implement parsing of
13795         md_floatlistinsert and md_floatinsert.
13796         (expand::LastFiles): move initalizaton of iterators out of loop,
13797         avoid reevaluation.
13798         (expand::Documents): introduce typdedef vector<string> Strings,
13799         and use it.
13800         (expand::ExportFormats): introduce typedef vector<Format const *>
13801         Formats, and use it.
13802         (expand): implement FloatListInsert and FloatInsert.
13803
13804         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13805         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13806         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13807
13808         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13809         handling.
13810         (Dispatch::LFUN_FLOAT_LIST): implement
13811
13812 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13813
13814         * LaTeX.C (run): Fix problem with --export code.
13815
13816 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * BufferView.[Ch] (workarea): removed.
13819         (getClipboard) new method; wrapper for workarea()->getClipboard()
13820
13821         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13822         bug.
13823
13824         * WorkArea.h (width, height, xpos, ypos): These methods all
13825         returned the dimensions of the work_area sub-area of WorkArea,
13826         resulting in a position error if the WorkArea were resized. Now
13827         return the dimensions of the entire WorkArea.
13828
13829         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13830
13831 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * LaTeX.C (deplog): correct the syntax of regex reg1
13834
13835 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * undo.C: remove !NEW_INSETS cruft
13838
13839 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * text2.C: remove !NEW_INSETS cruft
13842
13843         * text.C: remove !NEW_INSETS cruft
13844
13845         * tabular.C: remove !NEW_INSETS cruft
13846
13847         * spellchecker.C: remove !NEW_INSETS cruft
13848
13849         * lyxtext.h: remove !NEW_INSETS cruft
13850
13851         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13852
13853         * lyxfunc.C: remove !NEW_INSETS cruft
13854
13855         * lyxfind.C: remove !NEW_INSETS cruft
13856
13857         * lyx_cb.C: remove !NEW_INSETS cruft
13858
13859         * figureForm.C: remove  !NEW_INSETS cruft
13860
13861         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13862
13863         * buffer.[Ch]: remove !NEW_INSETS cruft
13864
13865         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13866
13867         * CutAndPaste.C: remove !NEW_INSETS cruft
13868
13869         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13870
13871         * BufferView2.C: remove !NEW_INSETS cruft
13872
13873         * BufferView.h: remove !NEW_INSETS cruft
13874
13875 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13876
13877         * Lsstream.h: include LString.h before the sstream headers to
13878         fix problem with gcc 2.95.3 and lyxstring
13879
13880 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * lyx_main.C: add using directives when needed for C functions
13883         declared in std:: namespace.
13884
13885 2001-04-27  Juergen Vigna  <jug@sad.it>
13886
13887         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13888         (SetHeightOfRow): comment out the update call should not be needed!
13889
13890 2001-04-13  Juergen Vigna  <jug@sad.it>
13891
13892         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13893         (LyXTabular): tried to minimize operator= operations (and realized
13894         hopfully Lars wish).
13895
13896 2001-04-27  Juergen Vigna  <jug@sad.it>
13897
13898         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13899
13900 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13903
13904         * buffer.C (readInset): hack to make listof algorithm work
13905
13906         * BufferView_pimpl.C: hack to make listof algorithm work
13907
13908 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * LyXAction.C: removed all !NEW_INSETS cruft
13911         (init): moved lfun_item in method
13912
13913         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13914
13915 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13916
13917         * BufferView2.C (theLockingInset): white space.
13918
13919 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * minibuffer.C: include <iostream>
13922
13923         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13924
13925         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13926
13927         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13928
13929         * text.[Ch] (TransposeChars): new method
13930
13931 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * call message directly through LyXView instead of through LyXFunc
13934         * BufferView2.C: adjust
13935         * BufferView_pimpl.C: adjust
13936         * FontLoader.C: adjust
13937         * buffer.C: adjust
13938         * bufferview_funcs.C: adjust
13939         * converter.C: adjust
13940         * figureForm.C: adjust
13941         * importer.C: adjust
13942         * lyx_cb.C: adjust
13943         * lyx_gui_misc.C: adjust
13944         * lyxfunc.C: adjust
13945         * lyxvc.C: adjust
13946         * text2.C: adjust
13947         + more files in subdirs
13948
13949         * lyxparagraph.h (size): move up int file
13950         (GetLayout): ditto
13951
13952         * adjust all uses of Assert to lyx::Assert.
13953
13954         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13955         lyxfunctional in namespace lyx
13956         * layout.C (hasLayout): ditto
13957         (GetLayout): ditto
13958         (GetLayout): ditto
13959         (delete_layout): ditto
13960         (NumberOfClass): ditto
13961         * converter.C (GetFormat): ditto
13962         (GetNumber): ditto
13963         (Add): ditto
13964         (Delete): ditto
13965         (SetViewer): ditto
13966         * bufferlist.C (getFileNames): ditto
13967         (emergencyWriteAll): ditto
13968         (exists): ditto
13969         (getBuffer): ditto
13970         * MenuBackend.C (hasSubmenu): ditto
13971         (hasMenu): ditto
13972         (getMenu): ditto
13973         * BufferView_pimpl.C (getInsetByCode): ditto
13974
13975 2001-04-18  Juergen Vigna  <jug@sad.it>
13976
13977         * vspace.C (asLatexString): fixed the 100% problem.
13978
13979 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * lyxfunc.C (Dispatch):
13982         * minibuffer.C:
13983         * minibuffer.h: add a few std:: qualifiers
13984
13985 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * minibuffer.[Ch]: reimplement so that commands is initiated and
13988         run from lyxfunc, simplified som handling, and made the completion
13989         and history code for complete. wip.
13990
13991         * lyxfunc.C (processKeySym): call message
13992         (miniDispatch): new temporary method
13993         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13994         (LFUN_MESSAGE): implement
13995         (LFUN_MESSAGE_PUSH): implement
13996         (LFUN_MESSAGE_POP): implement
13997         (initMiniBuffer): the initial/defualt minibuffer message.
13998
13999         * lyxfont.[Ch]: inline some more getters
14000
14001         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14002
14003         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14004
14005         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14006         (AutoSave): use LFUN_MESSAGE
14007         (Reconfigure): ditto
14008
14009         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14010
14011         * figureForm.C: use LFUN_MESSAGE
14012
14013         * converter.C (runLaTeX): use LFUN_MESSAGE
14014
14015         * bufferview_funcs.C: use LFUN_MESSAGE
14016         (Melt): ditto
14017         (changeDepth): ditto
14018
14019         * bufferparams.h: use boost::
14020
14021         * bufferlist.h: inherit privately from noncopyable
14022
14023         * bufferlist.C (loadLyXFile): remove some commented code.
14024
14025         * buffer.C (runChktex): use LFUN_MESSAGE
14026
14027         * ShareContainer.h: inherit privately from noncopyable
14028
14029         * ParagraphParameters.[hC] (depth): inline it.
14030
14031         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14032         methods.
14033         (message): new method
14034         (messagePush): ditto
14035         (messagePop): ditto
14036         (show): init minibuffer
14037         (showState): direct call
14038
14039         * LaTeX.[Ch]: inherit privately from noncopyable
14040         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14041         instead of WriteStatus.
14042
14043         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14044
14045         * BufferView_pimpl.C (buffer): don't init minibuffer
14046         (workAreaButtonPress): use LFUN_MESSAGE
14047         (workAreaButtonRelease): ditto
14048         (savePosition): ditto
14049         (restorePosition): ditto
14050         (MenuInsertLyXFile): ditto
14051         (workAreaExpose): don't init minibuffer
14052         (update): remove commented code, simplify
14053
14054         * BufferView2.C (openStuff): use LFUN_MESSAGE
14055         (toggleFloat): ditto
14056         (menuUndo): ditto
14057         (menuRedo): ditto
14058         (copyEnvironment): ditto
14059         (pasteEnvironment): ditto
14060         (copy): ditto
14061         (cut): ditto
14062         (paste): ditto
14063         (gotoInset): ditto
14064         (updateInset): remove some commented code
14065
14066         * lastfiles.h: inherit privately from noncopyable
14067         * layout.h: ditto
14068         * lyx_gui.h: ditto
14069         * lyx_main.h: ditto
14070         * lyxlex.h: ditto
14071         * lyxlex_pimpl.h: ditto
14072
14073         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14074         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14075         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14076
14077         * LyXAction.h: inherit privately from noncopyable, add methods
14078         func_begin, func_end, returning iterators to the func map.
14079
14080         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14081         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14082         (func_begin): new method
14083         (func_end): new method
14084
14085         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14086         and not)
14087         (copySelection): ditto
14088         (pasteSelection): ditto
14089
14090         * BufferView.C: whitespace change
14091         * BufferView.h: inherit privately from noncopyable
14092
14093 2001-04-16  Allan Rae  <rae@lyx.org>
14094
14095         * tabular-old.C (l_getline):
14096         * spellchecker.C (sc_check_word):
14097         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14098         an unrecognised preprocessor directive.  So ensure they're wrapped.
14099
14100 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * src/exporter.C (Export): Give an error message when path to file
14103         contains spaces.
14104
14105 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14106
14107         * LaTeX.C (deplog): Always check that foundfile exists.
14108
14109 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14110
14111         * lyx_main.h:
14112         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14113
14114 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14115
14116         * tabular.[Ch] (getLabelList): implement new method
14117
14118         * minibuffer.h: comment ouf setTiimer
14119
14120         * minibuffer.C (ExecutingCB): constify res
14121         (peek_event): constify s
14122         (Set): constify ntext
14123         (Init): constify nicename
14124
14125         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14126
14127         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14128         (savePosition): use two params to Minibuffer::Set
14129         (restorePosition): ditto
14130
14131 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * lyx_main.C: include language.h
14134
14135         * Makefile.am (lyx_main.o): add language.h
14136
14137 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14138
14139         * exporter.C:
14140         * paragraph.C:
14141         * screen.C:
14142         * tabular.C:
14143         * CutAndPaste.C: include gettext.h
14144
14145         * lyxfont.h: remove old hack with ON and OFF.
14146
14147         * lyxparagraph.h:
14148         * lyxfont.h: do not include language.h...
14149
14150         * BufferView2.C:
14151         * LaTeXFeatures.C:
14152         * Painter.C:
14153         * bufferview_funcs.C:
14154         * font.C:
14155         * lyxfont.C:
14156         * text.C:
14157         * text2.C:
14158         * trans_mgr.C:
14159         * paragraph.C: ... but do it here instead
14160
14161 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14164
14165         * tabular.C: small reformat
14166
14167         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14168         NEW_INSETS version
14169         (GetChar): ditto
14170         (BreakParagraph): ditto
14171         (SetOnlyLayout): ditto
14172         (SetLayout): ditto
14173
14174         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14175         with one arg less.
14176
14177         * lastfiles.C: removed most using decl, add std:: where needed
14178
14179         * buffer.C: ws changes
14180
14181         * MenuBackend.C (class compare_format): put into anon namespace
14182         (expand): constify label, names, action, action2
14183         (expand):
14184
14185         * text.C (SingleWidth): constify font
14186         (IsBoundary): constify rtl2
14187         (GetVisibleRow): constify ww
14188
14189         * LaTeX.C (deplog): constify logfile
14190
14191         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14192         start_x, end_x
14193         (workAreaExpose): constify widthChange, heightChange
14194
14195         * lyxrow.C (par): moved
14196         (height): moved
14197         (next): moved
14198         * lyxrow.h: as inlines here
14199
14200         * lyxfont.h (shape): moved from lyxfont.C
14201         (emph): moved from lyxfont.C
14202
14203         * lyxfont.C (LyXFont): use initialization list for all
14204         constructors
14205         (shape): move to lyxfont.h as inline
14206         (emph): move to lyxfont.h as inline
14207
14208
14209 2001-04-04  Juergen Vigna  <jug@sad.it>
14210
14211         * vspace.C: had to include stdio.h for use of sscanf
14212
14213 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * BufferView.h:
14216         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14217         independent of xforms.
14218
14219 2001-04-02  Juergen Vigna  <jug@sad.it>
14220
14221         * spellchecker.C: fixed namespace placing!
14222
14223 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14224
14225         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14226         the LyXParagraph * is 0.
14227
14228 2001-03-29  Juergen Vigna  <jug@sad.it>
14229
14230         * vspace.C: added support for %, c%, p%, l%.
14231         (stringFromUnit): added helper function.
14232         (asLatexString): changed to give right results for the %-values.
14233
14234         * buffer.C: convert the widthp in a width%.
14235
14236 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14239         figureForm.[Ch].
14240
14241         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14242         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14243
14244         * lyx_cb.[Ch]: see above.
14245
14246         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14247         form1.[Ch].
14248
14249         * form1.[Ch]:
14250         * lyx.[Ch]: replaced by figure_form.[Ch].
14251
14252         * lyx_gui.C:
14253         * lyx_gui_misc.C:
14254         * lyxfunc.C: changed headers associated with above changes.
14255
14256 2001-03-27  Juergen Vigna  <jug@sad.it>
14257
14258         * BufferView_pimpl.C: set the temporary cursor right!
14259
14260 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14261
14262         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14263
14264 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14265
14266         * LString.h: removed "using std::getline"!
14267
14268         * BufferView_pimpl.C (Dispatch): changes due to changes in
14269         InsetInclude::Params.
14270
14271         * buffer.C (tag_name): removed redundant break statements as they were
14272         producing lots of warnings with my compiler.
14273
14274 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * LString.h: add "using std::getline" when using the real <string>.
14277
14278 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14279
14280         * buffer.C: removed bitset usage.
14281         PAR_TAG moved to an anonymous name space.
14282         (tag_name): new funtion, also in the anonymous namespace.
14283         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14284         (makeDocBookFile): clean code. Completed transition from string arrays
14285         to string vectors.
14286         (SimpleDocBookOnePar): code clean.
14287
14288 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14289
14290         * tabular.C: add some comments.
14291
14292 2001-03-22  Juergen Vigna  <jug@sad.it>
14293
14294         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14295         compatibility read a bit and fixed bug with minipage in different
14296         depth.
14297
14298 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14299
14300         * buffer.C (pop_tag): removed.
14301         (push_tag): removed.
14302         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14303         array replaced with vector. Added support for CDATA sections.
14304         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14305         at any nest level.
14306         (makeDocBookFile): XML conformant declaration of CDATA section,
14307         fixed bug related to <emphasis> in the first paragraph char.
14308         (sgmlOpenTag): exclude empty tags.
14309         (sgmlCloseTag): ditto.
14310
14311         * buffer.h (pop_tag): removed.
14312         (push_tag): removed.
14313
14314 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * language.h (Languages): added size_type and size().
14317
14318 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14319
14320         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14321         response on compability reading of minipages. One probliem is that
14322         the old usage of minipages was «flertydig»
14323
14324         * several files here and in subdirs: don't use static at file
14325         scope use anon namespaces instead.
14326
14327 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14328
14329         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14330         LaTeX output. This is necessary for Literate document
14331         processing.
14332
14333 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14334
14335         * buffer.C: insert hfill when needed.
14336
14337         * tabular.C (l_getline): use string::erase, small whitespace change.
14338
14339         * BufferView_pimpl.C: try the anon namespace.
14340         * WorkArea.C: ditto
14341
14342 2001-03-16  Juergen Vigna  <jug@sad.it>
14343
14344         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14345         otherwise it won't open options-dialogs.
14346
14347         * buffer.C: honor pextraWidth(p) on converting minipages.
14348
14349         * tabular.C (l_getline): changed the functions to strip trailing \r.
14350
14351 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * BufferView_pimpl.C:
14354         * minibuffer..C: added "using SigC::slot" declaration.
14355
14356 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14357
14358         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14359
14360         * text2.C: ditto
14361
14362         * text.C: ditto
14363
14364         * paragraph.C: ditto
14365
14366         * lyxtext.h: NO_PEXTRA
14367
14368         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14369
14370         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14371         * ParameterStruct.h: ditto
14372         * ParagraphParameters.h: ditto
14373         * lyxparagraph.h: ditto
14374
14375 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14376
14377         * buffer.C: add compability for minipage alignment.
14378         (latexParagraphs): remove unwanted pextra check.
14379
14380         * several files: remove CXX_WORKING_NAMESPACES
14381
14382         * buffer.C (pop_tag): tie is in namespace boost
14383
14384         * BufferView.h: noncopyable is in namespace boost
14385         * lyxlex.h: ditto
14386         * lyx_main.h: ditto
14387         * lyx_gui.h: ditto
14388         * layout.h: ditto
14389         * lastfiles.h: ditto
14390         * bufferlist.h: ditto
14391         * ShareContainer.h: ditto
14392         * LyXView.h: ditto
14393         * LyXAction.h: ditto
14394         * LaTeX.h: ditto
14395
14396 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14397
14398         * Merging changes from BRANCH_MVC back into HEAD.
14399
14400         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14401
14402 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * BufferView_pimpl.C: change from intl.C
14405
14406         * combox.h:
14407         * combox.C:
14408         * Makefile.am: move combox.*
14409
14410         * form1.h:
14411         * form1.C:
14412         * lyx_gui.C:
14413         * intl.h:
14414         * intl.C: remove dialog (covered by prefs)
14415
14416 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * lyxfunc.C (Dispatch): removed redundant break statement.
14419
14420 2001-03-14  Juergen Vigna  <jug@sad.it>
14421
14422         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14423
14424 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14425
14426         * buffer.C: add hack to fix compability reading of minipages.
14427
14428 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * buffer.C (getLists): Cleanup.
14431
14432 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * lyxfont.C (update): don't honor toggleall on font size.
14435
14436 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * bmtable.c:
14439         * bmtable.h:
14440         * Makefile.am: moved to frontends/xforms/
14441
14442         * lyx_gui_misc.C:
14443         * lyxfunc.C:
14444         * BufferView_pimpl.C: changes for moved mathpanel
14445
14446 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * gettext.h: fix gettext_init() in --disable-nls
14449
14450 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14453
14454 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * lyx.C:
14457         * lyx.h: strip external form
14458
14459 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * BufferView_pimpl.C: add comment, destroySplash()
14462
14463 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14464
14465         * BufferView_pimpl.C:
14466         * LyXAction.C:
14467         * buffer.C:
14468         * commandtags.h:
14469         * lyxfunc.C: use re-worked insetinclude
14470
14471 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14472
14473         * buffer.C: add using std::stringstream.
14474
14475         * lyx_cb.C: readd using std::ios.
14476
14477         * buffer.C: add using std::map.
14478
14479         * BufferView_pimpl.C: add using std::vector.
14480
14481         * ShareContainer.h: add std:: to swap.
14482
14483         * buffer.h: add some typedefs
14484         * buffer.C (getLists): use them
14485         (getLists): renamed from getTocList.
14486         add a counter for the different float types and use it in the
14487         generated string.
14488         (getLists): use the same counter for the NEW_INSETS and the "non"
14489         NEW_INSETS
14490
14491         * lyx_cb.h: remove unused items, includes, using etc.
14492
14493         * ShareContainer.h: remove some commented code, add more comments
14494         and "documentation".
14495
14496 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14497
14498         * buffer.C (getTocList): make the list also when NEW_INSETS is
14499         defined.
14500
14501         * buffer.h: remove TocType
14502
14503         * buffer.C (getTocList): change to return a map<string,
14504         vector<TocItem> >, implement for dynamic number of list.
14505
14506         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14507         * text2.C (PasteSelection): adjust
14508         * CutAndPaste.C (pasteSelection): adjust
14509
14510         * FloatList.C (FloatList): update from the new_insets branch.
14511         * Floating.[Ch]: ditto
14512         * LaTeXFeatures.C: ditto
14513         * buffer.C: ditto
14514         * lyxlex_pimpl.C: ditto
14515
14516         * paragraph.C (Last): remove when NEW_INSETS is defined.
14517
14518         * other file: changes because of the above.
14519
14520 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14521
14522         * lyxparagraph.h: rename next to next_, previous to previous_,
14523         make them private for NEW_INSETS. Rename Next() to next(),
14524         Previous() to previous().
14525
14526         * other files: changes because of the above.
14527
14528 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14529
14530         * BufferView.h:
14531         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14532         problem.
14533
14534 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * main.C (main): pass lyx_localedir to gettext_init().
14537
14538         * gettext.h: remove locale_init and gettext_init macros
14539
14540         * gettext.C (locale_init): new function
14541         (gettext_init): new function
14542
14543         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14544         setlocale().
14545
14546 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14547
14548         * Moved credits to frontends:
14549         * credits.[Ch]: removed
14550         * credits_form.[Ch]: removed
14551         * lyx_gui_misc.C: remove credits stuff
14552         * Makefile.am:
14553
14554 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14555
14556         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14557
14558         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14559         unneeded destructor.
14560
14561         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14562         a standalone pointer again.
14563
14564         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14565
14566 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * Makefile.am:
14569         * filedlg.h:
14570         * filedlg.C:
14571         * LyXAction.C:
14572         * ToolbarDefaults.C:
14573         * bufferlist.C:
14574         * commandtags.h:
14575         * form1.C:
14576         * form1.h:
14577         * lyx_cb.C:
14578         * lyx_cb.h:
14579         * lyxfunc.h:
14580         * lyxfunc.C:
14581         * BufferView_pimpl.C: use new file dialog in GUII
14582
14583         * lyx_cb.h:
14584         * lyx_cb.C: remove LayoutsCB to Toolbar
14585
14586 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * ShareContainer.h (get): add std:: qualifier
14589
14590 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * ShareContainer.h: define a proper ShareContainer::value_type
14593         type (and use typename to please compaq cxx)
14594
14595 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14596
14597         * lyxparagraph.h: move serveral local vars to
14598         ParameterStruct/ParagraphParameters., use ShareContainer in
14599         FontTable., make vars in FontTable private and add getter and
14600         setter.
14601
14602         * paragraph.C: changes because of the above.
14603
14604         * lyxfont.h: remove copy constructor and copy assignment. (the
14605         default ones is ok), move number inside FontBits. move inlines to
14606         lyxfont.C
14607
14608         * lyxfont.C: add number to initializaton of statics, move several
14609         inlines here. constify several local vars. some whitespace
14610         cleanup. Dont hide outerscope variables.
14611
14612         * Spacing.h: add two new constructors to match the set methods.
14613
14614         * ShareContainer.h: new file, will perhaps be moved to support
14615
14616         * ParameterStruct.h: new file
14617
14618         * ParagraphParameters.h: new file
14619
14620         * ParagraphParameters.C: new file
14621
14622         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14623         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14624
14625         * BufferView_pimpl.C: ParagraphParameter changes.
14626         * buffer.C: Likewise.
14627         * bufferview_funcs.C: Likewise.
14628         * text.C: Likewise.
14629         * text2.C: Likewise.
14630
14631 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * lyxfind.C (LyXReplace): do not redefine default argument in
14634         implementation.
14635         (IsStringInText): ditto
14636         (SearchForward): ditto
14637         (SearchBackward): ditto
14638
14639 2001-03-06  Juergen Vigna  <jug@sad.it>
14640
14641         * lyxfind.C (IsStringInText): put parentes around expressions.
14642
14643 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14644
14645         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14646
14647 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14650
14651         * stl_string_fwd.h: add comment
14652
14653         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14654
14655         * tabular.h:
14656         * tabular.C: remove unused DocBook methods
14657
14658         * intl.C:
14659         * language.C:
14660         * paragraph.C:
14661         * buffer.C:
14662         killed DO_USE_DEFAULT_LANGUAGE
14663
14664 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * lyx_gui.C: do not include language.h.
14667
14668         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14669         arguments in function implementation.
14670
14671 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14672
14673         * BufferView_pimpl.C: add <ctime>
14674
14675 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14676
14677         * BufferView_pimpl.C: add using std::find_if
14678
14679 2001-02-27  José Matos  <jamatos@fep.up.pt>
14680
14681         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14682         by OnlyPath.
14683
14684 2001-02-11  José Matos  <jamatos@fep.up.pt>
14685
14686         * buffer.C (makeDocBookFile): command styles now have a parameter as
14687         "title" by default.
14688
14689 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14690
14691         * layout_forms.[Ch]: removed
14692         * lyx_cb.[Ch]: out character
14693         * lyx_gui.C: out character
14694         * lyx_gui_misc.C: out character
14695         * bufferview_funcs.C: : out character,
14696         added toggleall as parameter in ToggleAndShow
14697
14698 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14701
14702         * text2.C (SetCurrentFont): Disable number property at boundary.
14703
14704 2001-02-26  Juergen Vigna  <jug@sad.it>
14705
14706         * lyxfunc.C (getStatus): added a string argument override function so
14707         that this is correctly called from LyXFunc::Dispatch if it contains a
14708         do_not_use_argument which is used!
14709         (Dispatch): added check for "custom" export and call appropriate func.
14710
14711 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14712
14713         * lyxrc.C: Add language_command_local, language_use_babel and
14714         language_global_options.
14715
14716         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14717
14718         * buffer.C (makeLaTeXFile): Use language_use_babel and
14719         language_global_options.
14720
14721 2001-02-23  Juergen Vigna  <jug@sad.it>
14722
14723         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14724         which works with LyXText and putted it inside BufferView. Here now we
14725         only call for that part the BufferView::Dispatch() function.
14726
14727         * BufferView.C (Dispatch): added.
14728
14729         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14730         functions which needs to use a LyXText over from LyXFunc.
14731         (MenuInsertLyXFile): added
14732         (getInsetByCode): added
14733         (moveCursorUpdate): added
14734         (static TEXT): added
14735
14736 2001-02-22  Juergen Vigna  <jug@sad.it>
14737
14738         * BufferView_pimpl.C (update): call a status update to see if LyXText
14739         needs it.
14740
14741 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14742
14743         * vc-backend.C (revert): implement for CVS
14744         (getLog): implement for CVS
14745
14746 2001-02-20  Juergen Vigna  <jug@sad.it>
14747
14748         * text2.C (ClearSelection): added BufferView param for inset_owner call
14749
14750         * lyxfunc.C (TEXT): added this function and use it instead of
14751         directly owner->view()-text of getLyXText().
14752
14753 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14754
14755         * src/layout_forms.C: out preamble
14756         * src/layout_forms.h: out preamble
14757         * src/lyx_cb.C: out preamble
14758         * src/lyx_cb.h: out preamble
14759         * src/lyx_gui.C: out preamble
14760         * src/lyx_gui_misc.C: out preamble
14761         * src/lyxfunc.C: connect with guii preamble
14762
14763 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14764
14765         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14766
14767 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14770         whether to run bibtex.
14771
14772 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14773
14774         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14775
14776 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14777
14778         * Makefile.am (lyx_SOURCES): removed bibforms.h
14779
14780         * vspace.h: doxygen
14781
14782         * text.C (GetVisibleRow): make several local vars const
14783
14784         * tabular.C: small cleanup.
14785
14786         * lyxserver.C (callback): use compare instead of strncmp
14787
14788         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14789         inlines to after class or to paragraph.C
14790
14791         * lyxfont.h: remove friend operator!=
14792
14793         * converter.h: move friend bool operator< to non friend and after
14794         class def.
14795
14796         * combox.h: small cleanup
14797
14798         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14799         to inlines after class def.
14800
14801         * buffer.C (pop_tag): use string operations instead of strcmp
14802
14803         * bmtable.c: doxygen, small cleanup
14804
14805         * LaTeX.h: remove friend operator==
14806
14807 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14808
14809         * screen.C:
14810         * lyxrc.[Ch]:
14811         * lyxfunc.C:
14812         * lyxfont.[Ch]:
14813         * lyx_cb.C:
14814         * intl.[Ch]:
14815         * commandtags.h:
14816         * buffer.C:
14817         * WorkArea.[Ch]:
14818         * LyXAction.C:
14819         * BufferView_pimpl.C:
14820         * BufferView.[Ch]: remove cruft
14821
14822 2001-02-14  Juergen Vigna  <jug@sad.it>
14823
14824         * lyxfunc.C: removed #if 0 unused code
14825
14826         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14827
14828         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14829
14830         * text2.C (SetSelection): added a BufferView * parameter
14831
14832 2001-02-13  Juergen Vigna  <jug@sad.it>
14833
14834         * lyxfunc.C (Dispatch): fixed protected blank problem.
14835         * BufferView2.C (protectedBlank): added LyxText * parameter.
14836
14837         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14838         (AppendColumn): same as above for column_info.
14839
14840         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14841         (moveCursorUpdate): use a LyXText param for support of InsetText.
14842
14843         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14844         (tripleClick): ditto
14845
14846         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14847
14848         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14849
14850         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14851
14852         * text2.C (SetSelection): set correct update status if inset_owner
14853         (ToggleFree): ditto
14854
14855 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14856
14857         * tabular.C: remove some commented code.
14858
14859 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * BufferView_pimpl.C: call hideSplash()
14862
14863         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14864
14865         * include_form.h:
14866         * bibforms.h: remove
14867
14868         * lyxfunc.C:
14869         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14870           add LFUN_CHILD_CREATE
14871
14872         * counters.h: fix tiny typo
14873
14874         * lyx_cb.C:
14875         * lyx.h:
14876         * lyx_gui.C:
14877         * lyx.C: move splash to frontends/xforms/
14878
14879         * lyx_gui_misc.C: move Include and Bibform to frontends
14880
14881         * lyxvc.h: clarify comment
14882
14883         * vspace.C: tiny housekeeping
14884
14885 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14886
14887         * text.C (PrepareToPrint): RTL Fix.
14888
14889         * paragraph.C (GetUChar): New method.
14890         (String):  Use GetUChar.
14891
14892         * buffer.C (asciiParagraph): Use GetUChar.
14893
14894 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14895
14896         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14897
14898 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * buffer.h:
14901         * buffer.C: rename to getLogName(), handle
14902           build log / latex log nicely
14903
14904 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * MenuBackend.C:
14907         * MenuBackend.h: remove support for reference menuitem type.
14908
14909 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14910
14911         * BufferView_pimpl.C: housekeeping
14912         * BufferView_pimpl.h:
14913         * LyXView.h:
14914         * Makefile.am:
14915         * Timeout.C:
14916         * Timeout.h:
14917         * minibuffer.h: move Timeout GUI-I
14918
14919 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14920
14921         * lyxrc.C (read): Update converters data-structures.
14922
14923 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14924
14925         * LaTeX.h (operator!=): add operator != for Aux_Info
14926
14927 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14928
14929         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14930
14931         * LaTeXLog.C: deleted, useful code moved to Buffer
14932
14933         * buffer.h:
14934         * buffer.C: new function getLatexLogName()
14935
14936         * lyx_gui_misc.C:
14937         * lyx_gui.C:
14938         * lyxvc.C:
14939         * lyxvc.h:
14940         * lyxfunc.C: use frontends for LaTeX and VC logs
14941
14942 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * LaTeX.h: yet another std:: that Allan forgot.
14945
14946         * Variables.C (set): renamed from isset(), because this clashes
14947         with some HP-UX macros (grr).
14948
14949 2001-02-06  Allan Rae  <rae@lyx.org>
14950
14951         * LaTeX.h: Another bug fix.  Missing std:: this time.
14952
14953 2001-02-04  Allan Rae  <rae@lyx.org>
14954
14955         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14956         floats problem. I've left it commented out because it's not quite
14957         correct.  It should also test that the current object is a table or
14958         figure inset.  But I haven't gotten around to figuring out how to do
14959         that.  I *think* it'll be something like: "table" == inset.type()
14960
14961         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14962         bool.
14963
14964 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14965
14966         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14967         all the citation/databases/styles in the auxilary file.
14968         (run): Rerun latex if there was a babel language error.
14969
14970 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * text.C (Backspace): Preserve the font when changing newline char
14973         with a space.
14974         (BreakParagraph): If the cursor is before a space, delete the space.
14975
14976         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14977
14978 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14981         new argument (code).
14982         (ChangeCitationsIfUnique): New method.
14983
14984         * paragraph.C (GetPositionOfInset): Handle bibkey.
14985
14986 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * BufferView_pimpl.h: change type of Position::par_pos to
14989         LyXParagraph::size_type.
14990
14991 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14992
14993         * BufferView_pimpl.C (savePosition, restorePosition): Write
14994         messages to minibuffer.
14995
14996 2001-01-28  José Matos  <jamatos@fep.up.pt>
14997
14998         * buffer.C (makeDocBookFile): adds support for document language.
14999         A silly restriction on the name of LatexCommand types where removed.
15000         Added support for CDATA sections, allows to chars unescaped, used
15001         among others in code, to avoid escape < and >.
15002
15003 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15004
15005         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15006         saved positions instrad of a stack. Furthermore, a position is
15007         stored using paragraph id/paragraph position.
15008
15009         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15010         Remove LFUN_REF_BACK.
15011
15012 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15013
15014         * converter.C (dvipdfm_options): New method.
15015
15016 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15017
15018         * vspace.C (isValidLength): Fix for empty input string.
15019
15020 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * LyXAction.C (init): change description of LFUN_FIGURE to
15023         "Insert Graphics"
15024
15025 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * LaTeX.C: add using directive
15028
15029 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * MenuBackend.C (expand): Fix the sorting of the formats.
15032
15033 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * lyx_main.C: tiny error message fix
15036
15037 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15040         calling fl_initialize(). This fixes the problem with ',' as
15041         decimal separator in text files.
15042
15043 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * trans.C (process): Fix the keymap bug.
15046
15047 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15048
15049         * LaTeX.C (scanAuxFiles): New method. Provides support for
15050         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15051         (scanLogFile) Scan for "run BibTeX" messages.
15052
15053         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15054         OT1 font encoding. Also, load the aecompl package if the ae
15055         package is loaded.
15056
15057         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15058
15059 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * texrow.C (increasePos): turn two error messages into debug
15062         messages.
15063
15064 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15065
15066         * LaTeX.C (scanAux): Handle the \@input macro.
15067         (runBibTeX): Use scanAux().
15068
15069         * language.C (latex_options_): New field.
15070
15071         * LaTeXFeatures.C (getMacros): Add language macros.
15072
15073         * buffer.C (makeLaTeXFile): Small fix.
15074
15075 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15078
15079         * text2.C: add a using directive.
15080
15081 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15082
15083         * BufferView2.C:
15084         * lyx_gui_misc.h:
15085         * lyxfr1.C:
15086         * lyxfunc.C: kill LyXBell.
15087
15088 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15089
15090         * text.C (IsBoundary): Remove the error message
15091
15092         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15093
15094         * lyxrc.C (setDefaults): Correct initialization value for
15095         font_norm_type.
15096
15097 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15100         gotoError().
15101
15102         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15103         and GotoNextNote().
15104
15105         * src/LyXAction.C: Added reference-next.
15106
15107         * text.C (InsertChar): Use contains instead of strchr.
15108
15109         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15110
15111 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15112
15113         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15114         alignment commands (when needed).
15115
15116         * text.C (InsertChar): Add ':' to number separator chars.