]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
the pariterator stuff
[lyx.git] / src / ChangeLog
1
2 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * dociterator.C: implement forwardPar
5         * iterators.[Ch]: remove, replaced by
6         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
7         * BufferView.C:
8         * BufferView_pimpl.C:
9         * CutAndPaste.C:
10         * buffer.C:
11         * bufferview_funcs.C:
12         * cursor.C:
13         * lyxfind.C
14         * lyxfunc.C
15         * paragraph_funcs.C
16         * toc.C:  
17         * Makefile.am: adjust
18
19 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
20
21         * CutAndPaste.C (pasteSelection): fix 2 crashes
22         (eraseSelection): fix a crash
23         * paragraph_funcs.C: remove a warning
24
25 2004-03-28  Angus Leeming  <leeming@lyx.org>
26
27         * lfuns.h:
28         * LyXAction.C (init): new LFUN_PRINT.
29
30         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
31
32 2004-03-27  Angus Leeming  <leeming@lyx.org>
33
34         * lfuns.h:
35         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
36
37         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
38
39 2004-03-27  Angus Leeming  <leeming@lyx.org>
40
41         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
42         insetlist always contains non-null pointers to insets.
43
44 2004-03-26  Angus Leeming  <leeming@lyx.org>
45
46         * src/BufferView_pimpl.C:
47         * src/CutAndPaste.C:
48         * src/buffer.C:
49         * src/iterators.C:
50         * src/output_plaintext.C:
51         * src/outputparams.h:
52         * src/paragraph_funcs.C:
53         * src/rowpainter.C:
54         * src/text.C:
55         * src/text2.C:
56         * src/frontends/controllers/ControlErrorList.C:
57         * src/frontends/gtk/FileDialogPrivate.C:
58         * src/frontends/gtk/GPainter.C:
59         * src/frontends/gtk/GToolbar.C:
60         * src/frontends/qt2/QRef.C:
61         * src/mathed/math_scriptinset.C: squash compiler warnings.
62
63 2004-03-26  Angus Leeming  <leeming@lyx.org>
64
65         * ispell.C (LaunchIspell::start):
66         * lyx_cb.C (AutoSaveBuffer::start):
67         invoke run(DontWait) rather than runNonBlocking().
68
69 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
72
73 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * kbsequence.C (print): adjust
76
77         * kbmap.C (printKeySym): rename and change signature
78         (printKey): use LyXKeySym::print()
79
80 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * undo.C: add using std::advance to compile for stlport
83
84 2004-03-24  Angus Leeming  <leeming@lyx.org>
85
86         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
87         it leads to a crash when no buffer is present.
88
89 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90             Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * lyxfunc.C (dispatch): 
93         * bufferparams.C (readToken): use the new LColor::setColor 
94
95         * LColor.[Ch] (setColor): new version that takes two strings as
96         argument and creates a new color entry if necessary
97
98 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
99
100         * buffer.C (makeLaTeXFile): if the main latex file that is
101         processed is usually a subdocument of some master, then pretend
102         for a while that it is actually the master
103
104 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
105
106         * buffer.C (getLabelList):
107         (getBibkeyList): use getMasterBuffer()
108         (getMasterBuffer): new method. Returns the main document in the
109         case where one is using included documents.
110
111 2004-03-25  André Pönitz  <poenitz@gmx.net>
112
113         * Makefile.am:
114         * iterators.[Ch]:
115         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
116
117         * ParagraphList_fwd.h: change ParagraphList to a std::vector
118
119         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
120         text*.C over here. Rename namespace CutAndPaste to lyx::cap
121
122         * ParameterStruct.h: merge with ParagraphParameters
123
124         * lyxtext.h: remove LyXText::parOffset() and getPar()
125
126         * text3.C: Remove all 'manual' update calls. We do now one per user
127         interaction which is completely sufficient.
128
129         * Bidi.C:
130         * BufferView.[Ch]:
131         * BufferView_pimpl.C:
132         * FontIterator.[Ch]:
133         * MenuBackend.C:
134         * ParagraphParameters.[Ch]:
135         * buffer.C:
136         * buffer.h:
137         * bufferlist.C:
138         * cursor.[Ch]:
139         * cursor_slice.[Ch]:
140         * dociterator.[Ch]:
141         * errorlist.[Ch]:
142         * factory.C:
143         * lfuns.h:
144         * lyxfind.C:
145         * lyxfunc.C:
146         * output_docbook.[Ch]:
147         * output_latex.[Ch]:
148         * output_linuxdoc.[Ch]:
149         * output_plaintext.[Ch]:
150         * paragraph.[Ch]:
151         * paragraph_funcs.[Ch]:
152         * paragraph_pimpl.[Ch]:
153         * rowpainter.C:
154         * tabular.[Ch]:
155         * text.C:
156         * text2.C:
157         * toc.C:
158         * undo.[Ch]: adjust
159
160         * frontends/controllers/ControlDocument.C:
161         * frontends/controllers/ControlErrorList.C:
162         * frontends/controllers/ControlSpellchecker.C:
163         * insets/inset.C:
164         * insets/inset.h:
165         * insets/insetbase.h:
166         * insets/insetbibitem.C:
167         * insets/insetbox.C:
168         * insets/insetbranch.C:
169         * insets/insetcaption.C:
170         * insets/insetcharstyle.C:
171         * insets/insetcharstyle.h:
172         * insets/insetcollapsable.C:
173         * insets/insetcollapsable.h:
174         * insets/insetert.C:
175         * insets/insetfloat.C:
176         * insets/insetfoot.C:
177         * insets/insetmarginal.C:
178         * insets/insetnote.C:
179         * insets/insetoptarg.C:
180         * insets/insettabular.C:
181         * insets/insettext.C:
182         * insets/insettext.h:
183         * insets/insetwrap.C:
184         * mathed/math_mboxinset.C:
185         * mathed/math_nestinset.C:
186         * mathed/math_scriptinset.C:
187         * mathed/math_scriptinset.h:
188         * support/types.h:
189
190 2004-03-24  Angus Leeming  <leeming@lyx.org>
191
192         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
193         deal with any child processes that have finished but are waiting to
194         communicate this fact to the rest of LyX.
195
196 2004-03-24  Angus Leeming  <leeming@lyx.org>
197
198         64-bit compile fixes.
199
200         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
201         (c-tor): pass lyx::pos_types rather than ints.
202
203         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
204         lyx::pos_type.
205
206         * text.C (Delete): compile fix.
207         (getPar): ensure that function declaration is the same as that in
208         the header file.
209
210 2004-03-23  Angus Leeming  <leeming@lyx.org>
211
212         * ispell.C (LaunchIspell):
213         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
214         a boost::shred_ptr rather than a std::auto_ptr.
215
216 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * lyxfunc.C (getStatus): handle read-only buffers correctly;
219         handle LFUN_FILE_INSERT_*
220
221         * lyxrc.C (setDefaults, getDescription, output, read):
222         * lyxrc.h: remove ps_command
223
224 2004-03-22  Angus Leeming  <leeming@lyx.org>
225
226         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
227         Ensure that error_handler is processed once only and that all data
228         is saved before attempting to output any warning messages.
229
230         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
231
232 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * tabular.C (TeXRow): crash fix (from Kayvan and André)
235
236 2004-03-19  André Pönitz  <poenitz@gmx.net>
237
238         * cursor.[Ch] (reset): take main text inset as argument
239
240         * BufferView: adjust
241         * BufferView_pimpl.C: adjust
242
243         * paragraph.[Ch]: fix completely broken operator=()
244
245 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * LColor.C (getFromLyXName): make sure that the color name is used
248         as lowercase.
249
250 2004-03-17  Angus Leeming  <leeming@lyx.org>
251
252         * lfuns.h:
253         * LyXAction.C (init): remove LFUN_FORKS_KILL.
254
255         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
256         dialog and to kill a forked process.
257
258 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
259
260         * text2.C (setCursorFromCoordinates): fix font problem
261
262 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
265         bogus "rebuild cursor" code
266
267 2004-03-11  André Pönitz  <poenitz@gmx.net>
268
269         * buffer.[Ch]: use InsetText instead of LyXText as container for
270         the main lyx text.
271
272         * dociterator.[Ch]: drop the BufferView * member which is not needed
273         anymore after the change to buffer.C
274
275         * paragraph_funcs.C:
276         * text.C:
277         * text2.C:
278         * BufferView.[Ch]:
279         * BufferView_pimpl.[Ch]:
280         * cursor.[Ch]:
281         * cursor_slice.[Ch]: adjust
282
283         * text3.C: fix bug in mathDispatch
284
285 2004-03-08  André Pönitz  <poenitz@gmx.net>
286
287         * undo.[Ch]: use 'StableDocumentIterator' as base for
288         the Undo struct.
289
290 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
291
292         * LaTeXFeatures.C:
293         * bufferparams.[Ch]: add jurabib support and param.
294
295         * LaTeX.C: add FIXME/comment.
296
297 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
298
299         * buffer.C: increment file format to 230.
300
301 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * cursor.C (dispatch): avoid infinite loops
304
305 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * rowpainter.C (paintSelection): fix x coordinates
308
309 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
310
311         * text.C (rowBreakPoint): fix breaking before displayed insets
312
313 2004-03-01  André Pönitz  <poenitz@gmx.net>
314
315         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
316
317         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
318
319         * Makefile.am:
320         * BufferView.C:
321         * BufferView_pimpl.C:
322         * buffer.C:
323         * lyxfind.C:
324         * lyxfunc.C:
325         * text.C:
326         * text2.C:
327         * text3.C: adjust
328
329 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * lyxtext.h:
332         * text.C:
333         * text2.C:
334         * rowpainter.C:
335         * BufferView_pimpl.C: rename textwidth -> maxwidth,
336         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
337
338 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
339
340         * Bidi.[Ch] (computeTables): const correctness
341         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
342         fill_hfill, fill_label_hfill and x from Row
343         * lyxtext.h: prepareToPrint returns a RowMetrics
344         * rowPainter.C: adjust
345         * text.C (prepareToPrint): use width, not textWidth. adjust
346         (redoParagraphInternal, cursorX): adjust
347         * text2.C (getColumnNearX): adjust
348         (init): put a default value to the top LyXText::width
349
350 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
353
354 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * lyxtext.h: add FontIterator class
357
358         * text.C (FontIterator, operator*, operator->, operator++): add
359         (rowBreakPoint, setRowWidth): adjust (fixing a
360         rebreaking bug)
361
362 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * BufferView_pimpl.C (workAreaDispatch): allow also
365         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
366
367 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
368
369         * text.C (rowBreakPoint): fix a bug showing with very large insets
370
371 2004-02-25  André Pönitz  <poenitz@gmx.net>
372
373         * text3.C:
374         * cursor.[Ch]: move some mathed specific code to mathed
375
376 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
379         use_tempdir in preferences
380         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
381         tempfile creation
382         * lyx_main.C: ensure that tempdir is valid
383         * lyxlex.h: correct typo
384         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
385         * paragraph.[Ch] (isMultiLingual): make const
386         * cursor.[Ch] (openable): make const
387
388 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
391
392 2004-02-20  André Pönitz  <poenitz@gmx.net>
393
394         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
395
396         * cursor.[Ch]: prepare for localized getStatus()
397
398         * lyxtext.h:
399         * tabular.C:
400         * text.C:
401         * text2.C:
402         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
403
404 2004-02-20  André Pönitz  <poenitz@gmx.net>
405
406         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
407
408 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * text2.C (setCursorFromCoordinates): switch to absolute coords
411         (cursorUp): adjust
412         (cursorDown): adjust
413         * text3.C (dispatch): adjust
414
415 2004-02-16  André Pönitz  <poenitz@gmx.net>
416
417         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
418           insets/ChangeLog)
419
420         * cursor_slice.[Ch]: remove unneeded acessor function
421
422         * lyxtext.h: rename rtl() to isRTL()
423
424         * rowpainter.C:
425         * tabular.C:
426         * text.C:
427         * text2.C:
428         * text3.C: adjust
429
430 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * rowpainter.C (paintSelection): coord fix
433
434 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
435
436         * Spacing.C: compile fix
437
438 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * cursor.C (dispatch): restore current_ before returning
441
442 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * text2.C (cursorUp, cursorDown): fix coords
445         (moveUp): fix crash
446
447 2004-02-12  André Pönitz  <poenitz@gmx.net>
448
449         * lyxtext.h:
450         * text.C:
451         * text2.C:
452         * text3.C: add LCursor & parameter to most cursor movement functions
453           remove usage of LyXText::cursorRow() and cursorPar()
454
455         * cursor.[Ch]: add textRow() needed members
456
457         * BufferView.C:
458         * BufferView_pimpl.C:
459         * paragraph.[Ch]:
460         * BufferView.C:
461         * BufferView_pimpl.C: adjust
462
463 2004-02-11  André Pönitz  <poenitz@gmx.net>
464
465         * lyxfunc.C:
466         * BufferView.[Ch]:
467         * BufferView_pimpl.C: shift undo/redo handling
468
469         * cursor.[Ch]: fix mathed crash
470
471         * lyxfind.C:
472         * lyxtext.h: move selectionAsText to LCursor
473
474         * output_latex.C:
475         * paragraph.C:
476         * text.C:
477         * text2.C:
478         * text3.C: adjust
479
480         * rowpainter.C: fix excessive drawing
481
482 2004-02-06  André Pönitz  <poenitz@gmx.net>
483
484         * BufferView.[Ch]:
485         * BufferView_pimpl.[Ch]:
486         * text3.C: move some text specific LFUN handling
487
488 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * text3.C (checkInsetHit): adjust coords
491         * text2.C (getColumnNearX): adjust coords
492         (edit): adjust coords
493         * text.C (getRowNearY): add two asserts
494
495 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
496
497         * converter.C:
498         * format.C: add using std::distance to compile on gcc 2.95/stlport
499
500 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
501
502         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
503
504 2004-02-04  André Pönitz  <poenitz@gmx.net>
505
506         * BufferView.[Ch] (insertInset):
507         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
508
509         * text2.C:
510         * text3.C: adjust
511
512 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
513
514         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
515         on the default clause of the switch
516         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
517         wasn't catched by LCursor::dispatch
518
519 2004-02-03  André Pönitz  <poenitz@gmx.net>
520
521         * BufferView.C:
522         * cursor.[Ch]: some additional asserts
523
524         * undo.[Ch]: remove LyXText dependency in interface
525
526         * lyxfunc.C: adjust
527
528         * lyxtext.h (firstPar, lastPar): remove dead functions
529
530         * text.C:
531         * text2.C:
532         * text3.C:
533         * paragraph.[Ch]: adjust
534
535 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * lyxfind.C (find): fix argument order in call to ::find
538
539 2004-02-02  André Pönitz  <poenitz@gmx.net>
540
541         * cursor.[Ch]: remove direct access to anchor
542
543         * text.C: remove findText() hack
544
545 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * iterators.[Ch] (lockPath): remove in favour of...
548         * BufferView.[Ch] (setCursor): this addition
549         * BufferView.C (putSelectionAt): adjust
550         * undo.C (performUndoOrRedo): adjust
551         * lyxfunc.C (dispatch): adjust
552
553 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * iterators.C (lockPath): add a missing slice
556         * undo.C (performUndoOrRedo): remove redundant positioning code
557
558 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
559
560         * vc-backend.C (scanMaster): ";" -> ';'
561
562 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
563
564         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
565         std::binary_function
566
567         * lyxtextclass.C (compare_name): rename to...
568         (LayoutNamesEqual): ...this
569
570         * lyxlex_pimpl.C (compare_tags): inherit from
571         std::binary_function, put back into anon namespace
572
573         * lyxfind.C (MatchString): inherig from std::binary_function
574         (findChange): use empty() istead of !size()
575
576         * format.C (FormatNamesEqual): new functor
577         (getFormat): use it
578         (getNumber): use it
579         (add): use it
580         (erase): use it
581         (setViewer): use it
582
583         * converter.C (compare_Converter): rename to...
584         (ConverterEqual): ...this, and fixup a bit.
585         (getConverter): use it, and make function const
586         (getNumber): use it, and make function const
587         (add): use it
588         (erase): use it:
589
590         * bufferlist.C: add using boost::bind
591
592         * MenuBackend.C (MenuNamesEqual): new functor
593         (hasMenu): use it, and make function const
594         (hasSubmenu): use nested bind to get rid of compare_memfun.
595
596 2004-01-30  André Pönitz  <poenitz@gmx.net>
597
598         * BufferView_pimpl.C:
599         * cursor.C:
600         * cursor.h:
601         * cursor_slice.[Ch]:
602         * lyxfunc.C:
603         * lyxtext.h:
604         * paragraph_funcs.C:
605         * paragraph_funcs.h:
606         * rowpainter.C:
607         * text.C:
608         * text2.C:
609         * text3.C: move some of the edit(x,y) handling to the insets
610         some coordinate changes.
611
612 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
613
614         * text.C: add using statements for std::advance and std::distance
615
616         * paragraph.C: add using statement for std::distance
617
618         * lyxfind.C: add using statement for std::advance
619
620         * cursor.C (region): remove std:: from swap
621         (openable): use nucleus in stead of operator->
622
623         * BufferView.C: add using statements for std::distance and std::swap
624
625 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
626
627         * iterators.C: Remove the pimple, move the needed structures to
628         the header file. Create accessor for the positions stack.
629         (asPosIterator): remove function
630
631         * PosIterator.C (PosIterator): move constructors to top of file
632         (PosIterator): reimplement the constructor taking a ParIterator in
633         terms of setFrom.
634         (setFrom): new function
635         (operator!=): inline it
636
637 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
638
639         * lyxfind.C (replaceAll): use std::advance
640
641         * iterators.h: inherit from std::iterator.
642
643         * PosIterator.C (advance, distance): remove
644         * PosIterator.h: interit from std::iterator.
645
646 2004-01-26  André Pönitz  <poenitz@gmx.net>
647
648         * BufferView.[Ch]:
649         * BufferView_pimpl.[Ch]:
650         * InsetList.[Ch]:
651         * PosIterator.[Ch]:
652         * buffer.h:
653         * bufferview_funcs.C:
654         * cursor.[Ch]:
655         * cursor_slice.h:
656         * factory.[Ch]:
657         * iterators.[Ch]:
658         * lyxfind.C:
659         * lyxfunc.C:
660         * lyxtext.h:
661         * output_docbook.C:
662         * output_latex.C:
663         * output_linuxdoc.C:
664         * output_plaintext.C:
665         * paragraph.[Ch]:
666         * paragraph_funcs.[Ch]:
667         * paragraph_pimpl.[Ch]:
668         * rowpainter.C:
669         * tabular.C:
670         * tabular.h:
671         * text.C:
672         * text2.C:
673         * text3.C: more IU:  dumps most of the rest of the mathcursor
674     implementation into cursor.[Ch]; "globalize" a bit of it.
675
676 2004-01-25  Angus Leeming  <leeming@lyx.org>
677
678         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
679
680 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
681
682         * LaTeXFeatures.h: add nice_ and nice() const
683         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
684
685 2004-01-20  André Pönitz  <poenitz@gmx.net>
686
687         * BufferView.[Ch]:
688         * BufferView_pimpl.C:
689         * PosIterator.C:
690         * bufferview_funcs.C:
691         * cursor.[Ch]:
692         * cursor_slice.[Ch]:
693         * factory.C:
694         * iterators.C:
695         * lyx_cb.C:
696         * lyxfind.C:
697         * lyxfunc.C:
698         * lyxtext.h:
699         * rowpainter.C:
700         * text.C:
701         * text2.C:
702         * text3.C:
703         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
704           LCursor and mathcursor parts to LCursor and InsetBase.
705
706 2004-01-15  André Pönitz  <poenitz@gmx.net>
707
708         * cursor_slice.[Ch]: add a few covienience functions
709
710         * funcrequest.[Ch]: remove BufferView * member
711
712         * BufferView_pimpl.C:
713         * cursor.C:
714         * factory.[Ch]:
715         * lyxfind.[Ch]:
716         * lyxfunc.C:
717         * lyxtext.h:
718         * text3.C:
719         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
720
721 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
724         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
725
726 2004-01-13  André Pönitz  <poenitz@gmx.net>
727
728         * textcursor.[Ch]:
729         * lyxtext.h: hide cursor and selection anchor behind accessor function
730
731         * BufferView.C:
732         * BufferView_pimpl.[Ch]:
733         * PosIterator.C:
734         * bufferview_funcs.C:
735         * cursor.h:
736         * lyxfind.C:
737         * lyxfunc.C:
738         * text.C:
739         * text2.C:
740         * text3.C:
741         * undo.C: adjust
742
743         * cursor.h:
744         * cursor_slice.[Ch]: some integer type changes for inset unification
745
746         * lyxcursor.[hC]: remove, it's CursorSlice now.
747
748         * Makefile.am:
749         * BufferView_pimpl.[Ch]:
750         * bufferview_funcs.C:
751         * cursor_slice.C:
752         * lyxtext.h:
753         * text.C:
754         * text2.C:
755         * text3.C:
756         * textcursor.[Ch]: adjust
757
758 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * text2.C (undoSpan): add and use
761         * text.C (breakParagraph): use undoSpan (fix bug 578)
762         * lyxtext.h: adjust
763
764 2004-01-08  Angus Leeming  <leeming@lyx.org>
765
766         * BufferView_pimpl.C (MenuInsertLyXFile):
767         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
768         * lyxfunc.C (menuNew, open, doImport):
769         FileFilterList change to the FileDialog open and save functions.
770
771 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * ShareContainer.h: make isEqual and isUnique adaptable
774
775         * CutAndPaste.C: make resetOwnerAndChanges adaptable
776
777 2004-01-07  Angus Leeming  <leeming@lyx.org>
778
779         * LyXAction.C:
780         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
781
782         * BufferView_pimpl.C (dispatch): act on these LFUNs.
783
784         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
785         functions replacing find, replace and replaceAll.
786
787         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
788         LFUN_WORDFIND(FORWARD|BACKWARD).
789
790 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
791
792         * text.C (breakParagraph): remove an outdated #warning
793
794 2004-01-07  André Pönitz  <poenitz@gmx.net>
795
796         * lyxfind.C: somewhat clearer logic
797
798         * text.C: prevent crash in cursorX on unitialized row cache
799
800 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
801
802         * lyxcursor.[Ch] (operator>): add
803         * textcursor.C (selStart, selEnd): use std::min and std::max
804
805 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * Chktex.C: include boost/format.hpp
808
809 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
810
811         * InsetList.C: replace functor MathcIt with adaptable functor
812         InsetTablePosLess
813         (insetIterator): modify accordingly
814
815         * BranchList.h: move the BranchNamesEqual functor here from...
816         * BranchList.C: ... to here
817
818         * BranchList.C: new BranchListEqual fuctor, use it. Remove
819         SameName and match.
820         (add): replace a finding loop with std::find_if.
821
822 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
823
824         * output_docbook.C: moving LatexParam functionality into
825         .layout files
826
827 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * buffer.C: increment format to 229.
830
831 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
832
833         * LaTeXFeatures.C:
834         * lyx_sty.[Ch]: remove minipageindent_def
835
836         * LyXAction.C:
837         * factory.C:
838         * lfuns.h:
839         * lyxfunc.C:
840         * text3.C: remove LFUN_INSET_MINIPAGE
841
842 2003-12-28  Angus Leeming  <leeming@lyx.org>
843
844         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
845
846 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
847
848         * text2.C (setParagraph): fix off-by-one crash
849
850 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
851
852         * output_docbook.C: header stuff for AGU
853
854 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
855
856         * text2.C (redoCursor): remove
857         * text.C:
858         * text3.C:
859         * BufferView_pimpl.C: remove calls to redoCursor and
860         setCursor(cursor.par(), cursor.pos()) all around
861
862 2003-12-15  Angus Leeming  <leeming@lyx.org>
863
864         * buffer.C: up the format to 228.
865
866 2003-12-15  André Pönitz  <poenitz@gmx.net>
867
868         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
869         slices
870
871         * Makefile.am:
872
873         * BufferView_pimpl.C:
874         * cursor.[Ch]:
875         * lyxcursor.[Ch]:
876         * rowpainter.[Ch]:
877         * lyxtext.h:
878         * text.C:
879         * text2.C:
880         * text3.C: adjust
881
882 2003-12-15  Angus Leeming  <leeming@lyx.org>
883
884         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
885         than getFromGUIName to manipulate the color.
886
887 2003-12-14  Angus Leeming  <leeming@lyx.org>
888
889         * BranchList.[Ch]: minimize the API.
890         (Branch::getBranch, getColor): now return a 'const &'.
891         (Branch::setSelected) now returns a bool set to true if the
892         selection status changes.
893         (BranchList::clear, size, getColor, setColor, setSelected,
894         allBranches, allSelected, separator): removed.
895         (BranchList::find): new functions, returning the Branch with
896         the given name.
897         (BranchList::add, remove): return a bool indicating that
898         the operation was successful.
899
900         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
901         new InsetBranch::isBranchSlected member function.
902
903         * LColor.[Ch]: mimimize the API.
904         (fill): renamed as addColor and made private.
905         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
906         versions of these functions taking a string arg have been removed.
907
908         * bufferparams.C (readToken):
909         * lyxfunc.C (dispatch):
910         * lyxrc.C (read): changes due to the altered BranchList and
911         LColor APIs.
912
913         * factory.C (createInset, readInset): changes due to altered
914         InsetBranch c-tor.
915
916 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
917
918         * factory.C:
919         * lyxfunc.C: remove insetminipage. "minipage-insert"
920         now produces a frameless minipage box inset.
921
922 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * textcursor.[Ch] (selStart,selEnd): add new methods
925         remove selection::start, end, use LyXCursor::operator<
926         * lyxcursor.[Ch] (operator<): add
927         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
928         * BufferView.[Ch] (unsetXSel): add
929         * text2.C (clearSelection): use unsetXSel,adjust
930         * text.C: adjust
931         * text3.C: adjust
932         * rowpainter.C: adjust
933         * bufferview_funcs.C (put_selection_at): adjust
934
935 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * BufferView_pimpl.C: small coord. correction
938
939 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
940
941         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
942         dragging over the splash screen.
943
944 2003-12-11  Angus Leeming  <leeming@lyx.org>
945
946         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
947         as it is now handled in LyXText::dispatch.
948
949         * text3.C (doInsertInset): remove a level of nesting.
950
951 2003-12-11  Angus Leeming  <leeming@lyx.org>
952
953         * factory.C (createInset): changes due to the changed interface to
954         InsetCommandMailer::string2params.
955
956 2003-12-10  Angus Leeming  <leeming@lyx.org>
957
958         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
959         'dialog-show-new-inset <inset name>'
960
961 2003-12-10  Angus Leeming  <leeming@lyx.org>
962
963         * buffer.C: up the format to 227.
964
965         * factory.C: the box inset is now identified simply by 'Box'.
966
967 2003-12-10  Angus Leeming  <leeming@lyx.org>
968
969         * buffer.C: up the format to 226.
970
971         * factory.C: the note inset is now identified simply by 'Note'.
972
973 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
974
975         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
976         when a pit is enough. Standarize a couple of loops.
977
978 2003-12-05  Angus Leeming  <leeming@lyx.org>
979
980         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
981         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
982         data to the re-worked "log" dialog.
983
984 2003-12-03  André Pönitz  <poenitz@gmx.net>
985
986         * PosIterator.C:
987         * iterators.C:
988         * lyxtext.h:
989         * output_latex.C:
990         * paragraph_funcs.C:
991         * text.C:
992         * text2.C: use Inset::getText instead of Inset::getParagraph
993
994 2003-12-03  André Pönitz  <poenitz@gmx.net>
995
996         * buffer.[Ch]:
997         * lyxtext.h:
998         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
999         InsetText::read() as LyXText::read()
1000
1001 2003-12-02  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1004         type. Add a comment in the implementation that the function uses
1005         the stream's bad() function rather than fail() as the std::streams
1006         would do.
1007
1008 2003-12-02  André Pönitz  <poenitz@gmx.net>
1009
1010         * lyxlex.[Ch]: make interface more similar to std::stream
1011
1012         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1013
1014 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1015
1016         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1017
1018 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1019
1020         * vspace.[Ch]: remove VSpace::NONE
1021
1022 2003-12-01  André Pönitz  <poenitz@gmx.net>
1023
1024         * buffer.[Ch]:
1025         * lyxtext.h: move ParagraphList member to LyXText
1026         rename LyXText::ownerParagraphs to LyXText::paragraph
1027
1028         * CutAndPaste.C:
1029         * bufferview_funcs.C:
1030         * iterators.[Ch]:
1031         * lyx_cb.C:
1032         * paragraph.C:
1033         * rowpainter.C:
1034         * tabular.C:
1035         * text.C:
1036         * text2.C:
1037         * text3.C: adjust
1038
1039         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1040
1041         * undo.C: fix cursor positioning
1042
1043 2003-12-01  John Levon  <levon@movementarian.org>
1044
1045         * BufferView_pimpl.C: fix a crash on exit with
1046         a buffer open
1047
1048 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * BranchList.C: fix setSelected() method.
1051
1052 2003-11-28  André Pönitz  <poenitz@gmx.net>
1053
1054         * ParagraphParameters.[Ch]:
1055         * ParameterStruct.h: remove space above/below from Paragraph to
1056          InsetVSpace
1057
1058         * BufferView_pimpl.C:
1059         * factory.C:
1060         * lyxfunc.C:
1061         * lyxtext.h:
1062         * output_latex.C:
1063         * paragraph.C:
1064         * paragraph_funcs.C:
1065         * rowpainter.[Ch]:
1066         * text.C:
1067         * text2.C:
1068         * text3.C: adjust
1069
1070 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1071
1072         * factory.C: Syntax change for CharStyles
1073
1074 2003-11-28  André Pönitz  <poenitz@gmx.net>
1075
1076         * BufferView.[Ch]:
1077         * BufferView.[Ch]:
1078         * buffer.[Ch]:
1079         * buffer.[Ch]: move LyXText member
1080
1081 2003-11-28  André Pönitz  <poenitz@gmx.net>
1082
1083         * BufferView.[Ch]: make LyXText * text a private member
1084
1085         * BufferView_pimpl.C:
1086         * cursor.C:
1087         * iterators.C:
1088         * lyx_cb.C:
1089         * lyxfind.C:
1090         * lyxtext.h:
1091         * rowpainter.[Ch]:
1092         * text.C:
1093         * text2.C:
1094         * undo.C: adjust
1095
1096         * output_plaintext.C: cleanup
1097
1098 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * buffer.C:
1101         * lyxtextclass.[Ch]: parametrize SGML document header
1102
1103 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * converter.[Ch]:
1106         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1107         getFlavor().
1108
1109 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1110
1111         * text2.C (setFont): rework using PosIterator (no more recursive)
1112         (setCharFont): no more needed
1113         (setLayout): no more selection cursors fiddling (done by redoCursor)
1114         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1115         destroy remaining ones)
1116
1117 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1120         * lyxtext.h: ditto
1121         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1122         selection cursors
1123         * lyxfunc.C: adjust
1124         * text3.C: adjust + re-allow multi par depth changes
1125         * textcursor.C: simplify a bit
1126
1127 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * src/buffer.C:
1130         * src/lyxlayout.C:
1131         * src/lyxlayout.h:
1132         * src/lyxtext.h:
1133         * src/output_docbook.C:
1134         * src/output_latex.C:
1135         * src/paragraph.C:
1136         * src/paragraph.h:
1137         * src/sgml.C:
1138         * src/sgml.h:
1139         * src/text2.C: Introducing a number of tags parametrizing various
1140         XML formats that we may want to support
1141
1142 2003-11-25  André Pönitz  <poenitz@gmx.net>
1143
1144         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1145
1146         * lyxtext.h (leftMargin/rightMargin): simplify interface
1147
1148         * rowpainter.C:
1149         * text.C:
1150         * text2.C:
1151         * text3.C: adjust
1152
1153 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1154
1155         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1156         master file to any child files. Fixes bug 546.
1157
1158 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1159
1160         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1161
1162 2003-11-24  André Pönitz  <poenitz@gmx.net>
1163
1164         * rowpainter.C: simplification
1165
1166         * text2.C (updateCounters): remove call to redoParagraph on
1167         changed labels as this is far too expensive.
1168
1169 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * converter.C (convert): fix a crash: this function gets
1172         called with buffer == 0 from importer code.
1173
1174 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1175
1176         * text3.C (cursorPrevious): make sure that we do not compare
1177         iterators form different containers.
1178         (cursorNext): ditto
1179
1180         * rowpainter.C (paintSelection): make sure that we do not compare
1181         iterators from different containers.
1182
1183         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1184         iterators from different ParagraphList containers.
1185         [NEXT] ditto
1186
1187         * text2.C (LyXText): change order of initialization slightly
1188         (operator=): new function. copy all variables except cache_par_
1189         (moveUp): make sure that we do not compare iterators from
1190         different ParagraphList constainers.
1191         (moveDown): ditto
1192
1193         * text.C (firstPar): new function
1194         (lastPar): new function
1195         (endPar): new function
1196
1197         * lyxtext.h: move things around and group public functions, public
1198         variables, private functions, private variables
1199
1200 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1201
1202         * factory.C: change call to InsetERT constructor to avoid
1203         additional invocation of method status
1204         * text2.C (toggleInset): remove redundant update() call
1205         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1206         instead of a Bufferview pointer
1207
1208 2003-11-21  André Pönitz  <poenitz@gmx.net>
1209
1210         * rowpainter.C: simplification
1211
1212 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1213
1214         * text3.C (dispatch): make possible to extend a word/row selection
1215         with the mouse
1216
1217 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1218
1219         * lyxtext.h: x0_,y0_ -> xo_,yo_
1220         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1221         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1222         * rowpainter.C (paintRows): paint full paragraphs
1223
1224 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1227         screen coordinates)
1228
1229 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * lyxtext.h: add x0_, y0_
1232         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1233         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1234
1235 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1236
1237         * text2.C (setCursorIntern): move the x_target update here *
1238         * text3.C: change some bv() to true/false in calls to
1239         cursorUp/Down/Right/Left
1240         * cursor.C: use helper function.
1241
1242 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1245         * paragraph_funcs.[Ch]: correct comment
1246         * rowpainter.C: do not paint selections away from bv->cursor()
1247         Fix a long standing selection painting bug.
1248         * text3.C: generalize mouse-selection code to LyXTexts other that
1249         top one
1250         * textcursor.C: do not use y coords if we can use par offsets
1251
1252 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1255         cursor position after e.g. inset insert)
1256
1257 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * lyxfind.C (replace): adjust to locking removal + some
1260         code simplification
1261
1262 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1265         of the path
1266
1267 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * lyxlayout.[Ch]:
1270         * output_docbook.C: XML sanitation: new layout
1271         parameters InnerTag and CommandDepth
1272
1273 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * BufferView_pimpl.C:
1276         * factory.C:
1277         * text3.C: Fix the insertion and modification of button-style
1278         insets
1279
1280 2003-11-13  André Pönitz  <poenitz@gmx.net>
1281
1282         * InsetList.[Ch]: remove deleteLyXText
1283
1284         * paragraph.[Ch]: cache beginOfBody position
1285
1286         * Bidi.C:
1287         * text.C:
1288         * text2.C:
1289         * text3.C: remove superfluous update() calls
1290
1291         * vspace.C: cleanup
1292
1293 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1296         * BufferView.C (fitLockedInsetCursor): remove
1297         * cursor.[Ch] (getDim): add
1298         * text.C (getRowNearY): add faster version
1299         * text3.C: remove some update calls
1300
1301 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1302
1303         * LaTeXFeatures.C:
1304         * LyXAction.C:
1305         * MenuBackend.C:
1306         * MenuBackend.h:
1307         * dispatchresult.h:
1308         * factory.C:
1309         * lfuns.h:
1310         * lyxfunc.C:
1311         * lyxtextclass.C:
1312         * lyxtextclass.h:
1313         * text3.C: The Character Style /XML short element patch.
1314
1315 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1316
1317         * text3.C:
1318         * factory.C: Small step to solving 'unable to insert some insets'
1319         problem
1320
1321 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * cursor.[Ch] (updatePos): new function for updating the y
1324         position of the tip inset
1325         * bufferview_funcs.C (put_selection_at):
1326         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1327
1328 2003-11-11  André Pönitz  <poenitz@gmx.net>
1329
1330         * text.C: remove big comment on invalid Paragraph pointers as it is
1331         not valid anymore
1332
1333 2003-11-11  André Pönitz  <poenitz@gmx.net>
1334
1335         * text_funcs.[Ch]: merge with ...
1336
1337         * text.C: ... this
1338
1339         * lyxtext.h:
1340         * text2.C:
1341         * text3.C: adjust
1342
1343         * Makefile.am: remove text_funcs.[Ch]
1344
1345 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1346
1347         * cursor.C (getPos): return absolute cached y coord
1348
1349         * BufferView_pimpl.C (fitCursor): new simplistic code
1350         (workAreaDispatch): add a fitCursor call
1351
1352 2003-11-10  André Pönitz  <poenitz@gmx.net>
1353
1354         * BufferView.[Ch]:
1355         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1356
1357 2003-11-10  André Pönitz  <poenitz@gmx.net>
1358
1359         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1360         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1361         indicate that the cursor needs to leave an inset
1362
1363         * lyxtext.h: remove inset locking
1364
1365         * cursor.[Ch]: re-implement functionality provided by inset locking
1366
1367         * BufferView.[Ch]:
1368         * BufferView_pimpl.[Ch]:
1369         * LyXAction.C:
1370         * bufferview_funcs.[Ch]:
1371         * factory.C:
1372         * funcrequest.[Ch]:
1373         * iterators.C:
1374         * lyx_cb.C:
1375         * lyxfind.C:
1376         * lyxfunc.C:
1377         * text.C:
1378         * text2.C:
1379         * text3.C:
1380         * undo.C: adjust
1381
1382 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1383
1384         * PosIterator.[Ch]: replace the stack with a vector, add inset
1385         accesor
1386         * iterators.[C]: adjust
1387
1388 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1389
1390         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1391         replaced
1392         * paragraph_funcs.C (readParToken): put the correct id in the
1393         error item, not the id of the top paragraph
1394
1395 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1396
1397         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1398         * bufferview_funcs.C (put_selection_at): use the above
1399
1400 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1401
1402         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1403
1404 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * output_linuxdoc.h:
1407         * output_plaintext.h:
1408         * output.h:
1409         * output_docbook.h: add #include statements
1410
1411 2003-11-05  José Matos  <jamatos@lyx.org>
1412
1413         * output_docbook.[Ch]:
1414         * output_latex.[Ch]:
1415         * output_linuxdoc.[Ch]:
1416         * output_plaintext.[Ch]: New files for output formats.
1417         * output.[Ch]: New file for helper functions.
1418
1419         * buffer.[Ch]:
1420         * paragraph_funcs.[Ch]: output functions moved to new files.
1421
1422         * outputparams.h: rename of latexrunparams.h
1423
1424         * LaTeX.[Ch]:
1425         * buffer.[Ch]:
1426         * bufferlist.[Ch]:
1427         * converter.[Ch]:
1428         * exporter.C:
1429         * paragraph.[Ch]:
1430         * paragraph_funcs.[Ch]:
1431         * paragraph_pimpl.[Ch]:
1432         * tabular.[Ch]: rename ascii to plaintext
1433         and LatexRunParams to OutputParams.
1434
1435 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * iterators.[Ch] (text): require bv argument
1438         * undo.C (recordUndo):
1439         * lyxfunc.C (dispatch):
1440         * bufferview_funcs.C (put_selection_at): adjust
1441
1442 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1443
1444         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1445
1446 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1447
1448         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1449         nestings
1450
1451 2003-11-04  André Pönitz  <poenitz@gmx.net>
1452
1453         * cursor.[Ch]: restructure
1454
1455         * BufferView.[Ch]:
1456         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1457
1458         * iterators.[Ch] (asCursor): remove
1459
1460         * lfuns.h: remove LFUN_INSET_EDIT
1461
1462         * lyxfunc.C:
1463         * tabular.C:
1464         * text.C:
1465         * text2.C:
1466         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1467
1468 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * lyxfind.[Ch]: complete overhaul
1471         * BufferView_pimpl.C:
1472         * lyxfunc.C: adjust
1473         * paragraph.[Ch] (insert): add
1474
1475 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1476
1477         * BufferView.[Ch]:
1478         * lyxtext.h:
1479         * text.C: remove dead spellcheck code
1480
1481 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1482
1483         * dispatchresult.h: add a val setter
1484
1485         * cursor.C (dispatch): use a tempvar for data_[i]
1486
1487 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * PosIterator.[Ch]: compile fix
1490
1491 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * text.C (cursorPar): deactivate the cursor cache
1494
1495 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1496
1497         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1498
1499 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1500
1501         * text3.C (dispatch): adjust for new DisptchResult semantics.
1502
1503         * lyxfunc.C (dispatch): handle update when return from
1504         Cursor::dispatch, adjust for new DispatchResult semantics.
1505
1506         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1507         DispatchResult(true) mean to not update. Add class functions for
1508         setting dispatched and update, as well as reading.
1509
1510         * cursor.C (dispatch): don't handle update here
1511
1512 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1513
1514         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1515         * trans_mgr.C: adjust
1516
1517         * paragraph_funcs.C (readParToken): exception safety
1518
1519         * lyxvc.h: store the vcs pointer in a scoped_ptr
1520         * lyxvc.C: adjust
1521
1522         * lyxsocket.C (serverCallback): exception safety
1523
1524         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1525
1526         * ispell.C (clone): make it return a auto_ptr
1527
1528         * factory.C (createInset): exception safety
1529         (readInset): exception safety
1530
1531         * bufferlist.C (newBuffer): exception safety
1532
1533         * Thesaurus.C (Thesaurus): use initialization for aik_
1534
1535         * MenuBackend.C (expandToc): exception safety.
1536
1537 2003-11-03  André Pönitz  <poenitz@gmx.net>
1538
1539         * buffer.C:
1540         * buffer.h:
1541         * bufferview_funcs.C: remove getInsetFromId()
1542
1543         * lyxcursor.[Ch]:
1544         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1545
1546         * lyxfunc.C:
1547         * text2.C:
1548         * text3.C: adjust
1549
1550 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * PosIterator.C (distance, advance): new
1553         * bufferview_funcs.[Ch] (put_selection_at): new
1554         * iterators.[Ch] (lockPath): new
1555
1556 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1557
1558         * iterators.[Ch] (asPosIterator): added
1559         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1560         * PosIterator.[Ch]: added
1561
1562 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1563
1564         * text3.C:
1565         * lyxfunc.C:
1566         * cursor.C (dispatch):
1567         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1568
1569         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1570         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1571         contructor, add a class function dispatched. Remove operator>=
1572
1573 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * debug.C: only use the default constructor for debugstream
1576         (lyxerr) here.
1577
1578         * main.C (main): include debug.h and setup the lyxerr streambuf
1579         here.
1580
1581 2003-10-31  José Matos  <jamatos@lyx.org>
1582
1583         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1584
1585         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1586         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1587         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1588         * paragraph_pimpl.C (simpleTeXSpecialC):
1589         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1590         add LatexRunParams argument.
1591
1592         * exporter.C (Export): change call accordingly.
1593
1594         * latexrunparams.h: add new member to take care of the other backends.
1595 2003-10-30  José Matos  <jamatos@lyx.org>
1596
1597         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1598         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1599         factorise code for paragraph output.
1600         * buffer.[Ch]:
1601         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1602         move functions.
1603
1604 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1605
1606         * text3.C (dispatch):
1607         * lyxfunc.C (dispatch):
1608         * cursor.C (dispatch):
1609         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1610
1611         * dispatchresult.h: make the dispatch_result_t ctor explicit
1612
1613 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1614
1615         * sgml.[Ch]:
1616         * buffer.C: small refactoring of docbook stuff
1617
1618 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1621         meaning.
1622
1623 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1626         operator dispatch_result_t, and operators for == != and >=
1627
1628         * cursor.C (dispatch): adjust for operator dispatch_result_t
1629         removal. comment out call to update
1630
1631         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1632
1633 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1634
1635         * text3.C:
1636         * text2.C:
1637         * text.C:
1638         * lyxtext.h:
1639         * lyxfunc.C:
1640         * cursor.C:
1641         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1642         (dispatch):
1643
1644         * dispatchresult.h: new file, DispatchResult broken out of
1645         insets/insetbase.h
1646
1647         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1648
1649 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1650
1651         * text.C (rowBreakPoint): put a hack inside #if 0
1652
1653 2003-10-28  André Pönitz  <poenitz@gmx.net>
1654
1655         * lyxtext.h:
1656         * metricsinfo.C:
1657         * paragraph_funcs.C:
1658         * rowpainter.C:
1659         * text.C:
1660         * text2.C: general cleanup (lots of small stuff)
1661
1662 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1663
1664         * text2.C (cursorEnd): simple fix to the "end key goes to one
1665         before the end on last row" bug
1666
1667 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1668
1669         * text.C (backspace): fix the "zombie characters"
1670
1671 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1672
1673         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1674
1675 2003-10-27  André Pönitz  <poenitz@gmx.net>
1676
1677         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1678
1679         * factory.C: handle new InsetPagebreak, InsetLine
1680
1681         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1682         and move handling into new InsetPagebreak, InsetLine
1683
1684         * BufferView_pimpl.C:
1685         * LyXAction.C:
1686         * ParagraphParameters.C:
1687         * ParameterStruct.h:
1688         * lyxfunc.C:
1689         * lyxtext.h:
1690         * paragraph.C:
1691         * paragraph.h:
1692         * paragraph_funcs.C:
1693         * paragraph_pimpl.C:
1694         * rowpainter.C:
1695         * text.C:
1696         * text2.C:
1697         * text3.C: adjust
1698
1699 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1700
1701         * text.C:
1702         * lyxrow_funcs.[Ch]:
1703         * Bidi.C:
1704         * paragraph.C:
1705         * lyxtext.h:
1706         * rowpainter.C:
1707         * text2.C:
1708         * text3.C: remove lastPos uses in favour of Row::endpos
1709
1710 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1711
1712         * undo.C (performUndoOrRedo): fix two crashes by setting a
1713         cursor by hand and reordering some calls. Use bv->lockInset instead
1714         of inset->edit because the latter loses cursor information
1715
1716 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1717
1718         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1719         by Martin
1720         (rowBreakPoint): fix width. change point to point + 1.
1721         Add a missing check.
1722
1723 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1724
1725         * MenuBackend.C:
1726         * lyxfunc.C: fix (at least partly) the problems
1727         with the Nav menu and headers inside branch insets
1728         reported by Kayvan
1729
1730 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1731
1732         * paragraph.C (getChar): add strong asserts
1733
1734         * lyxrow_funcs.C (lastPos): remove hideous hack
1735
1736         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1737         (fill): adjust to that (avoid an infinite loop)
1738
1739 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1740
1741         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1742
1743 2003-10-23  André Pönitz  <poenitz@gmx.net>
1744
1745         * RowList_fwd.h: change list<> to vector<> to gain speed
1746         after suggestion from Alfredo
1747
1748 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * lyxtext.h: move the bidi stuff from here...
1751         * text.C: and here
1752         * text2.C: and here
1753         * Bidi.[Ch]: ... to here
1754
1755 2003-10-23  André Pönitz  <poenitz@gmx.net>
1756
1757         * lyxtext.h:
1758         * text.C (isLastRow, isFirstRow): new functions
1759
1760         * paragraph.h: new width cache member
1761
1762         * rowpainter.C: replace RowList::iterator with Row & where possible
1763
1764         * lyxfunc.C: replace several view()->text with a single call
1765
1766         * toc.C: fix 'unused' warning
1767
1768 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1769
1770         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1771         when woring with stream::pos_type
1772         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1773
1774 2003-10-22  André Pönitz  <poenitz@gmx.net>
1775
1776         * lyxtext.h:
1777         * text.C: use Row & instead of RowList::iterator
1778
1779         * lyxrow.h: rename end() to endpos()
1780
1781         * rowpainter.C:
1782         * text.C:
1783         * text2.C: adjust
1784
1785 2003-10-22  Angus Leeming  <leeming@lyx.org>
1786
1787         * buffer.[Ch] (fully_loaded): new member function, returning true
1788         only when the file has been loaded fully.
1789         Used to prevent the premature generation of previews and by the
1790         citation inset to prevent computation of the natbib-style label.
1791
1792         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1793         templates are all set up.
1794
1795         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1796
1797 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1798
1799         * text.C: fixed an "oops" in the "is a bit silly"
1800         bug fix
1801
1802 2003-10-21  André Pönitz  <poenitz@gmx.net>
1803
1804         * FuncStatus.[Ch]: small stuff, whitespace
1805
1806         * lyxfont.[Ch]: operator<<() for debug reasons
1807
1808         * lyxfunc.C:
1809         * lyxrow_funcs.C:
1810         * lyxtext.h: whitespace, spelling
1811
1812         * paragraph.C: naming of variables
1813
1814         * text.C:
1815         * text2.C: small stuff
1816
1817
1818 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1819
1820         * text.C: (1) finish off the inset display() work;
1821         (2) fix the "is a bit silly" bug (accessing char
1822         past end of par).
1823
1824 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1825
1826         * text.C: re-introduce display() for insets, fixing the
1827         various bugs (stretch of line above, math inset
1828         positioning, ...)
1829
1830 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * text.C (rightMargin): remove spurious semicolon
1833
1834         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1835         1415)
1836
1837 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1838
1839         * text3.C: fix one crash due to wrong cursor def
1840
1841 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * vc-backend.C (scanMaster): make the regex static
1844
1845         * LaTeX.C (scanAuxFile): make the regexs static
1846
1847         * text3.C (doInsertInset, dispatch, dispatch):
1848         * text2.C (cursorUp, cursorDown):
1849         * text.C (selectNextWordToSpellcheck):
1850         * BufferView_pimpl.C (dispatch):
1851         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1852
1853 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1854
1855         * lyxsocket.C: include <cerrno>
1856
1857 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * lyxfunc.C (dispatch): remove textcache stuff
1860
1861         * bufferlist.C (release): remove textcache stuff
1862         (closeAll): ditto
1863
1864         * TextCache.C: delete file
1865         * TextCache.h: delete file
1866
1867         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1868
1869         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1870         delete of the bv_->text.
1871         (resizeCurrentBuffer): remove texcache stuff
1872         (workAreaResize): ditto
1873
1874 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1875
1876         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1877         action.
1878
1879 2003-10-16  André Pönitz  <poenitz@gmx.net>
1880
1881         * lyxrow.[Ch]:
1882         * paragraph.h:
1883         * rowpainter.C:
1884         * text.C:
1885         * text2.C:
1886         * text3.C: speed up by storing y positions per paragraph plus per-row
1887         offset instead of having a 'full' y position in the row.
1888
1889 2003-10-15  André Pönitz  <poenitz@gmx.net>
1890
1891         * iterators.[Ch]:
1892         * iterators.[Ch]:
1893         * undo.[Ch]: make undo aware of inner insets
1894
1895 2003-10-14  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1898         static member functions LyX::ref() and LyX::cref.
1899         (lastfiles): new accessor functions for the new lastfiles_ member var.
1900         (addLyXView, views_): add a new LyXView to the list of views_.
1901         (updateInset): loop over all LyXViews to call their own updateInset
1902         member function, returning a pointer to the Buffer owning the inset.
1903
1904         * BufferView_pimpl.C (loadLyXFile):
1905         * MenuBackend.C (expandLastfiles):
1906         * bufferlist.C (MenuWrite, QuitLyX):
1907         lastfiles is no longer a global variable.
1908         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1909
1910         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1911         static function. Access through LyX::cref().emergencyCleanup().
1912
1913 2003-10-14  André Pönitz  <poenitz@gmx.net>
1914
1915         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1916
1917         * undo.[Ch]: restoring part of 'undo in insets'
1918
1919         * Makefile.am:
1920         * undo_funcs.[Ch]: merge with undo.[Ch]
1921
1922         * tabular.C: small cleansing stuff
1923
1924 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1925
1926         * paragraph_funcs.C (readParToken): report unknown insets as error
1927         boxes. Use the outer paragraph as location (also for unknown
1928         tokens).
1929
1930         * factory.C (readInset): do not abort on reading an unknown inset.
1931         Eat it and return 0.
1932
1933 2003-10-13  Angus Leeming  <leeming@lyx.org>
1934
1935         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1936
1937         * lyxrc.C: displayTranslator is now a function,
1938         declared in GraphicsTypes.h.
1939
1940 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1941
1942         * format.C: new placeholder $$a to pass the socket address.
1943
1944         * bufferlist.[Ch]: new function getBufferFromTmp.
1945
1946         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1947           files in the temporary dir.
1948
1949 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1950
1951         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1952
1953         * Makefile.am: add lyxsocket.[Ch].
1954
1955         * lyx_main.C (error_handler): handle SIGPIPE.
1956
1957 2003-10-13  André Pönitz  <poenitz@gmx.net>
1958
1959         * BufferView_pimpl.C:
1960         * lyxtext.h:
1961         * text.C:
1962         * text2.C:
1963         * text3.C:
1964         * undo_funcs.[Ch]: use paroffset_type instead of
1965           ParagraphList::iterators to prevent multiple conversion
1966           (and get a more robust interface)
1967
1968 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1969
1970         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1971         * lyxtext.h: ditto
1972         * text3.C (dispatch): ditto
1973
1974 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1977         move the onlyfile, use onlyfile instead of foundfile in a couple
1978         of places.
1979
1980         * DepTable.C (update): flush the error stream a bit more
1981
1982 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * lyxserver.C (callback): adjust
1985
1986         * lyxfunc.C (getStatus): add a missing brace in commented code
1987         (ensureBufferClean): reindent
1988         (dispatch): delete version taking a string
1989
1990 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * LaTeX.C (deplog): move found file handlig from here...
1993         (handleFoundFile): .. to new function here.
1994         (deplog): make sure to discover several files mentioned on the
1995         same log line.
1996
1997 2003-10-10  André Pönitz  <poenitz@gmx.net>
1998
1999         * lyxfunc.C:
2000         * lyxtext.h:
2001         * tabular.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C: fix some of the tabular crashes
2005
2006 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2007
2008         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2009
2010         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2011
2012 2003-10-09  André Pönitz  <poenitz@gmx.net>
2013
2014         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2015
2016         * BufferView.C:
2017         * BufferView_pimpl.C:
2018         * bufferview_funcs.C:
2019         * lyx_cb.C:
2020         * lyxcursor.C:
2021         * lyxfind.C:
2022         * lyxfunc.C:
2023         * lyxtext.h:
2024         * text.C:
2025         * text2.C:
2026         * text3.C:
2027         * text_funcs.[Ch]:
2028         * textcursor.[Ch]:
2029         * undo_funcs.C: adjust
2030
2031 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2032
2033         * text2.C (incrementItemDepth): new function, use a backtracking
2034         algorithm to discover the correct item depth.
2035         (resetEnumCounterIfNeeded): new function, use a backtracking
2036         algorithm to discover if counter reset is needed.
2037         (setCounter): use them. Simplify a bit. Add different labels for
2038         different item depths for itemize.
2039
2040         * paragraph.C (Paragraph): remove initialization of enumdepth
2041         (operator=): ditto
2042
2043         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2044         enumerate and itemize. Change the type of itemdepth to signed char.
2045
2046 2003-10-08  André Pönitz  <poenitz@gmx.net>
2047
2048         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2049           thing assignable.
2050         * text.C:
2051         * text2.C: adjust
2052
2053         * tabular.[Ch]: fix crash after 'row-insert'
2054
2055 2003-10-08  Angus Leeming  <leeming@lyx.org>
2056
2057         Fix doxygen warnings.
2058
2059         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2060         Remove CutAndPaste:: prefix from header file declaration.
2061
2062         * LColor.h (fill): remove LColor:: prefix from declaration.
2063
2064         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2065         use lyx::depth_type rather than Paragraph::depth_type so that
2066         header file and .C file match.
2067
2068         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2069
2070         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2071         * aspell.C: \file aspell_local.C -> \file aspell.C
2072         * gettext.C: \file gettext.C -> \file src/gettext.C
2073         * gettext.h: \file gettext.h -> \file src/gettext.h
2074         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2075         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2076         * text.C: \file text.C -> \file src/text.C
2077
2078         * toc.C: move comment so that doxygen is not confused.
2079
2080 2003-10-07  Angus Leeming  <leeming@lyx.org>
2081
2082         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2083
2084 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2085
2086         * aspell.C:
2087         * aspell_local.h: add forgotten std::string's.
2088
2089 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2090
2091         * LaTeXFeatures.C:
2092         * LyXAction.C:
2093         * factory.C:
2094         * lfuns.h:
2095         * lyxfunc.C:
2096         * text3.C: The Box patch. Fancybox support, minipage, parbox
2097
2098 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2099
2100         * CutAndPaste.h:
2101         * DepTable.h:
2102         * FloatList.h:
2103         * LaTeXFeatures.h:
2104         * ParagraphParameters.h:
2105         * TextCache.h:
2106         * Thesaurus.h:
2107         * bufferlist.h:
2108         * exporter.h:
2109         * importer.h:
2110         * lastfiles.h:
2111         * lyxfind.h:
2112         * lyxfont.h:
2113         * lyxlex.h:
2114         * lyxtextclasslist.h:
2115         * messages.h:
2116         * paragraph.h:
2117         * paragraph_pimpl.C:
2118         * textcursor.h: add <string> and other small fixes to make Lars'
2119         std::string patch compile with STLport.
2120
2121 2003-10-06  Angus Leeming  <leeming@lyx.org>
2122
2123         * LColor.h: Add missing #include <string>.
2124
2125 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * All most all file in all subdirs: Make <string> be the prefered
2128         way of getting to std::string, add using declarations.
2129
2130 2003-10-06  André Pönitz  <poenitz@gmx.net>
2131
2132         * metricsinfo.C: initialize LyXFont before changing attribute.
2133         (fixes the 'math in \emph is upright' bug)
2134
2135 2003-10-06  André Pönitz  <poenitz@gmx.net>
2136
2137         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2138
2139 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2140
2141         * graph.C:
2142         * paragraph_pimpl.C: Small fixes to build using STLport
2143
2144 2003-10-02  André Pönitz  <poenitz@gmx.net>
2145
2146         * lyxfunc.C:
2147         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2148
2149 2003-10-01  André Pönitz  <poenitz@gmx.net>
2150
2151         * factory.C: assert early
2152
2153 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2154
2155         * lyx_main.C: remove the global debug object
2156
2157         * debug.h: adjust for new debugstream
2158
2159         * debug.C: adjust for new debugstream and keep the global debug
2160         object here.
2161
2162 2003-09-22  Angus Leeming  <leeming@lyx.org>
2163
2164         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2165         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2166         an incomplete class LyXFont.
2167
2168 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * factory.C: bug fix in branches
2171
2172 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * lyxfunc.C (processKeySym): adjust
2175         (dispatch): adjust
2176         (dispatch): change arg name from ev to func, adjust
2177         (sendDispatchMessage): ditto
2178
2179         * lyx_main.C (defaultKeyBindings): adjust keybindings
2180         (deadKeyBindings): ditto
2181
2182         * kbsequence.C (addkey): return a FuncRequest
2183
2184         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2185
2186         * kbmap.C (bind): take a FuncRequest as arg, adjust
2187         (read): adjust
2188         (lookup): adjust
2189         (defkey): change to take a FuncRequest as arg, adjust
2190         (findbinding): take a FuncRequest as arg, adjust.
2191
2192         * funcrequest.h (operator=): added
2193
2194         * funcrequest.C (FuncRequest): default kb_action changed from
2195         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2196
2197         * buffer.C (dispatch): simplify
2198         (dispatch): adjust to take a FuncRequest as arg, adjust
2199
2200         * boost.C (assertion_failed): change assertion message slightly
2201
2202         * ToolbarBackend.C (read): simplify
2203
2204         * MenuBackend.C (binding): adjust call to findbinding, add a
2205         message if no binding is found.
2206         (read): simplify
2207         (expandToc): correct by adding a empty FuncRequest
2208
2209         * LyXAction.C: include <boost/assert.hpp>
2210         (isPseudoAction): delete function
2211         (LookupFunc): change name to...
2212         (lookupFunc): this. change return type to FuncRequest.
2213         (getActionName): take kb_action as arg, simplify
2214         (funcHasFlag): add an assert, simplify.
2215
2216 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * toc.C (action): return a FuncRequest, simplify
2219
2220         * lyxfunc.C (processKeySym): adjust
2221         (getStatus): delete version that takes an int.
2222         (getStatus): adjust
2223         (dispatch): delete version that takes action as int
2224         (dispatch): adjust
2225         (sendDispatchMessage): simplify and adjust
2226
2227         * funcrequest.C (getArg): take unsigned int as arg
2228
2229         * ToolbarBackend.C (read): adjust
2230         (add): delete version that takes func as a string.
2231         (getIton): take a FuncRequest as arg
2232
2233         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2234         action.
2235
2236         * MenuBackend.C (MenuItem): add a new construct that only takes a
2237         Kind, simplify the constructor use for submenus.
2238         (add): adjust
2239         (expandLastfiles): adjust
2240         (expandDocuments): adjust
2241         (expandFormats): adjust
2242         (expandFloatListInsert): adjust
2243         (expandFloatInsert): adjust
2244         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2245
2246         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2247         Remove class variables lyx_pseudo_map and lyx_arg_map
2248
2249         * LyXAction.C (searchActionArg): delete function
2250         (getPseudoAction): delete function
2251         (retrieveActionArg): delete function
2252         (LookupFunc): make it return kb_action, simplify.
2253         (getActionName): simplify
2254
2255         * factory.C (createInset): fix new bug
2256
2257 2003-09-19  Angus Leeming  <leeming@lyx.org>
2258
2259         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2260         masterFilename_ parameter in the include inset.
2261
2262         * factory.C (createInset): changes due to the changes to InsetInclude.
2263
2264 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2265
2266         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2267
2268 2003-09-18  Angus Leeming  <leeming@lyx.org>
2269
2270         * buffer.C:
2271         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2272         Inset::fillWithBibKeys.
2273         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2274
2275 2003-09-18  Angus Leeming  <leeming@lyx.org>
2276
2277         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2278         variables.
2279         (ctor): pass and store a 'Buffer const &'
2280         (buffer): new member function.
2281
2282         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2283         '*this' to the LaTeXFeatures ctor.
2284
2285 2003-09-18  Angus Leeming  <leeming@lyx.org>
2286
2287         * LColor.h:
2288         * lyxfont.C:
2289         * lyxfont.h:
2290         * lyxtext.h:
2291         * text.C: rename EnumLColor as LColor_color.
2292
2293 2003-09-18  Angus Leeming  <leeming@lyx.org>
2294
2295         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2296         remove #include "insets/insetbase.h" from cursor.h.
2297
2298 2003-09-18  Angus Leeming  <leeming@lyx.org>
2299
2300         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2301         InsetOld_code to remove #include "inset.h".
2302
2303         * iterators.C: add #include "insets/inset.h"
2304
2305 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * BufferView.C: remove more locking stuff that apparently doesn't
2308         do anything sensible.
2309
2310 2003-09-16  André Pönitz  <poenitz@gmx.net>
2311
2312         * paragraph.[Ch]:
2313         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2314           performance boost.
2315
2316 2003-09-16  Angus Leeming  <leeming@lyx.org>
2317
2318         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2319
2320         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2321         arg/return type.
2322
2323         * paragraph.h: remove #include "lyxfont.h". Forward declare
2324         LyXFont_size.
2325
2326 2003-09-16  Angus Leeming  <leeming@lyx.org>
2327
2328         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2329         of support/textutils.h.
2330         (isWord): move the contents of support/textutils.h's IsWordChar here.
2331
2332         * buffer.C:
2333         * lyxfind.C:
2334         * rowpainter.C:
2335         * text.C:
2336         * text2.C: add #include "paragraph.h".
2337
2338         * rowpainter.C:
2339         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2340
2341 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * main.C:
2344         * lyx_main.C:
2345         * lyx_cb.C:
2346         * buffer.C:
2347         * LaTeX.C: use namespace alias for lyx::support::os
2348
2349 2003-09-16  Angus Leeming  <leeming@lyx.org>
2350
2351         * bufferparams.C:
2352         * bufferview_funcs.C:
2353         * factory.C:
2354         * lyxfunc.C:
2355         * paragraph_pimpl.C:
2356         * rowpainter.C:
2357         * text.C: add #include "LColor.h".
2358
2359 2003-09-16  Angus Leeming  <leeming@lyx.org>
2360
2361         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2362         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2363         return LyXFont &.
2364         Store the FontBits::color variable as an int rather than as an
2365         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2366         file.
2367
2368         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2369         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2370         string calls together.
2371
2372         * lyxrc.C: add #include "LColor.h".
2373
2374 2003-09-15  Angus Leeming  <leeming@lyx.org>
2375
2376         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2377         a cow_ptr.
2378
2379 2003-09-15  Angus Leeming  <leeming@lyx.org>
2380
2381         * LColor.h: add an EnumLColor wrapper for LColor::color.
2382
2383         * lyxfont.[Ch] (color, setColor, realColor):
2384         * lyxtext.h, text.C (backgroundColor):
2385         pass EnumLColor args to/from the functions, rather than LColor::color
2386         ones.
2387
2388         * lyxfont.h:
2389         * lyxtext.h: forward declare EnumLColor.
2390
2391         * lyx_main.C: add #include "LColor.h".
2392
2393 2003-09-15  Angus Leeming  <leeming@lyx.org>
2394
2395         * .cvsignore: add lyx-gtk.
2396
2397 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * Chktex.C
2400         * LaTeX.C
2401         * LaTeXFeatures.C
2402         * ParagraphParameters.C
2403         * Spacing.C
2404         * buffer.C
2405         * bufferparams.C
2406         * bufferview_funcs.C
2407         * chset.C
2408         * counters.C
2409         * funcrequest.C
2410         * lyxfont.C
2411         * lyxgluelength.C
2412         * lyxlength.C
2413         * paragraph.C
2414         * paragraph_funcs.C
2415         * text3.C
2416         * vc-backend.C: remove usage of STRCONV
2417
2418 2003-09-15  Angus Leeming  <leeming@lyx.org>
2419
2420         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2421         explicitly define the color passed to the painter.
2422
2423 2003-09-15  Angus Leeming  <leeming@lyx.org>
2424
2425         * bufferparams.C (BufferParams): reorder member initializers to avoid
2426         compiler warning.
2427
2428 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2431         * text.C (updateRowPositions): remove an unusual nop
2432
2433 2003-09-12  André Pönitz  <poenitz@gmx.net>
2434
2435         * BufferView_pimpl.C:
2436         * Bullet.C:
2437         * layout.h:
2438         * lyxfunc.C:
2439         * lyxlayout.[Ch]:
2440         * lyxtextclass.C:
2441         * rowpainter.C:
2442         * text.C:
2443         * text2.C:
2444         * Counters.[Ch]: finish the 'automatic counters' job
2445
2446 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2447
2448         * aspell.C: include <boost/assert.cpp> (compile fix)
2449
2450 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2451
2452         * boost.C (assertion_failed): use lyx::support::abort instead of
2453         assert.
2454
2455 2003-09-10  Angus Leeming  <leeming@lyx.org>
2456
2457         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2458         with their _fwd progeny.
2459
2460 2003-09-09  Angus Leeming  <leeming@lyx.org>
2461
2462         134 files throughtout the source tree: replace 'using namespace abc;'
2463         directives with the appropriate 'using abc::xyz;' declarations.
2464
2465 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2466
2467         * boost.C (emergencyCleanup): moved here from LAssert.c
2468         (assertion_failed): new function, called by BOOST_ASSERT
2469
2470         * several files: change Assert to BOOST_ASSERT
2471
2472 2003-09-09  Angus Leeming  <leeming@lyx.org>
2473
2474         * buffer.[Ch]: Add an Impl class and move Buffer's member
2475         variables into it. As a result move several header files out of
2476         buffer.h.
2477
2478         Add header files to lots of .C files all over the tree as a result.
2479
2480 2003-09-09  Angus Leeming  <leeming@lyx.org>
2481
2482         * buffer.[Ch]: make Buffer's member variables private. Add
2483         accessor functions.
2484
2485         Lots of changes all over the tree as a result.
2486
2487 2003-09-08  Angus Leeming  <leeming@lyx.org>
2488
2489         * graph.C: #include <config.h>.
2490
2491 2003-09-08  Angus Leeming  <leeming@lyx.org>
2492
2493         * BranchList.C:
2494         * BufferView.C:
2495         * BufferView_pimpl.C:
2496         * CutAndPaste.C:
2497         * DepTable.C:
2498         * LaTeX.C:
2499         * LaTeXFeatures.C:
2500         * LyXAction.C:
2501         * MenuBackend.C:
2502         * TextCache.C:
2503         * aspell.C:
2504         * buffer.C:
2505         * bufferlist.C:
2506         * changes.C:
2507         * chset.C:
2508         * converter.C:
2509         * counters.C:
2510         * debug.C:
2511         * graph.C:
2512         * ispell.C:
2513         * lyx_cb.C:
2514         * lyxfind.C:
2515         * lyxfunc.C:
2516         * lyxlex_pimpl.C:
2517         * lyxrc.C:
2518         * lyxrow.C:
2519         * paragraph.C:
2520         * rowpainter.C:
2521         * texrow.C:
2522         * text.C:
2523         * text2.C:
2524         * toc.C: remove redundant using directives.
2525
2526 2003-09-07  Angus Leeming  <leeming@lyx.org>
2527
2528         * LaTeXFeatures.h: remove #include "support/types.h".
2529         * ToolbarBackend.h: remove #include <algorithm>.
2530         * changes.h: remove #include <ctime>.
2531         * debug.h: remove #include <iosfwd>.
2532         * graph.h: remove #include "support/std_string.h".
2533         * lyx_main.h: remove #include <csignal>.
2534         * lyxlex_pimpl.h: remove #include <fstream>.
2535         * sgml.h: remove #include <algorithm>, <utility>.
2536         * toc.h: remove #include "support/std_ostream.h".
2537         Add #include <iosfwd>.
2538
2539 2003-09-07  Angus Leeming  <leeming@lyx.org>
2540
2541         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2542
2543         * converter.h: forward declare LatexRunParams.
2544         * encoding.h: remove #include "lyxrc.h".
2545         * lyxtext.h: remove #include "LColor.h".
2546         * lyxtextclass.h: remove #include "support/types.h".
2547         * trans.h: remove #include "tex-accent.h".
2548         * trans_mgr.h: remove #include "tex-accent.h".
2549         * insets/inset.h: remove #include "support/types.h", <vector>.
2550         * insets/insetcollapsable.h: remove #include "LColor.h".
2551         * insets/insetinclude.h: remove #include "dimension.h".
2552         * insets/insetlatexaccent.h: remove #include "dimension.h".
2553         * insets/insetoptarg.h:: remove #include "insettext.h".
2554         * insets/insettext.h: remove #include "dimension.h",
2555         <boost/shared_ptr.hpp>
2556
2557         * insets/renderers.h: add #include "dimension.h".
2558         * insets/updatableinset.h: add #include "support/types.h".
2559
2560         * many .C files: Associated changes.
2561
2562 2003-09-06  Angus Leeming  <leeming@lyx.org>
2563
2564         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2565         one, inside testInvariant.
2566
2567         * PrinterParams.C: new file.
2568         * PrinterParams.[Ch]: move the function bodies out of line.
2569
2570 2003-09-06  Angus Leeming  <leeming@lyx.org>
2571
2572         * ParagraphParameters.h: forward declare ParameterStruct rather than
2573         including its header file.
2574         (depth): moved out-of-line.
2575
2576 2003-09-06  Angus Leeming  <leeming@lyx.org>
2577
2578         * BufferView_pimpl.h:
2579         * kbmap.h:
2580         * kbsequence.h:
2581         * lyxfunc.h: forward declare LyXKeySym rather than
2582         #include "frontends/LyXKeySym.h".
2583
2584         * BufferView_pimpl.C:
2585         * kbmap.C:
2586         * kbsequence.C:
2587         * lyxfunc.C: associated changes.
2588
2589 2003-09-06  Angus Leeming  <leeming@lyx.org>
2590
2591         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2592         As a result, can remove the #include "insets/inset.h" from BufferView.h
2593
2594 2003-09-06  Angus Leeming  <leeming@lyx.org>
2595
2596         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2597         As a result, can remove the #include "insets/inset.h" from BufferView.h
2598
2599 2003-09-06  Angus Leeming  <leeming@lyx.org>
2600
2601         * buffer_funcs.C:
2602         * buffer.h:
2603         * bufferlist.C:
2604         * BufferView.C:
2605         * bufferview_funcs.C:
2606         * BufferView_pimpl.C:
2607         * CutAndPaste.C:
2608         * lyx_cb.C:
2609         * lyxfunc.C:
2610         * paragraph.h:
2611         * ParagraphParameters.C:
2612         * tabular.C:
2613         * text3.C:
2614         * toc.C:
2615         * undo_funcs.C:
2616         * frontends/controllers/ControlDocument.C:
2617         * insets/insetcaption.C: rearrange the #includes into some sort of
2618         coherent order.
2619
2620         * buffer.h: remove #includes ErrorList.h, undo.h
2621
2622 2003-09-06  Angus Leeming  <leeming@lyx.org>
2623
2624         * support/types.h: add a 'depth_type' typedef, used to store the
2625         nesting depth of a paragraph.
2626
2627         * paragraph.h:
2628         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2629         defining explicitly.
2630
2631         * buffer.h:
2632         * paragraph_funcs.h:
2633         * ParagraphParameters.h:
2634         * sgml.h: use lyx::depth_type rather than Paragraph or
2635         ParameterStruct's depth_type.
2636
2637         * buffer.h
2638         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2639
2640         * BufferView.C:
2641         * BufferView_pimpl.C:
2642         * CutAndPaste.C:
2643         * ParagraphParameters.C:
2644         * buffer_funcs.C:
2645         * bufferlist.C:
2646         * bufferview_funcs.C:
2647         * lyx_cb.C:
2648         * lyxfunc.C:
2649         * tabular.C:
2650         * text3.C:
2651         * toc.C:
2652         * undo_funcs.C:
2653         * frontends/LyXView.C:
2654         * frontends/controllers/ControlDocument.C:
2655         * frontends/controllers/ControlErrorList.C:
2656         * insets/insetbibitem.C:
2657         * insets/insetbranch.C:
2658         * insets/insetcaption.C:
2659         * insets/insetcollapsable.C:
2660         * insets/insetenv.C:
2661         * insets/insetert.C:
2662         * insets/insetfloat.C:
2663         * insets/insetfoot.C:
2664         * insets/insetfootlike.C:
2665         * insets/insetnewline.C:
2666         * insets/insetquotes.C:
2667         * insets/insettabular.C:
2668         * insets/insettext.C:
2669         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2670
2671         * frontends/controllers/ControlChanges.C: #include "changes.h".
2672
2673 2003-09-06  Angus Leeming  <leeming@lyx.org>
2674
2675         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2676         than #including paragraph.h.
2677
2678         * ParagraphList.h:
2679         * RowList.h: deleted. Superfluous.
2680
2681         * CutAndPaste.h:
2682         * iterators.h:
2683         * lyxcursor.h:
2684         * lyxtext.h:
2685         * text_funcs.h:
2686         * undo.h:
2687         * undo_funcs.h:
2688         * insets/inset.h:
2689         * insets/insettext.h: use ParagraphList_fwd.h rather than
2690         ParagraphList.h.
2691
2692         * paragraph.h: don't forward declare ParagraphList.
2693
2694         * buffer.h:
2695         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2696         rather than ParagraphList.h. paragraph.h is still needed for the
2697         Paragraph::depth_type parameters.
2698
2699         * textcursor.h: enable it to compile stand-alone in light of the
2700         above changes.
2701
2702         * bufferview_funcs.C:
2703         * iterators.C:
2704         * lyxfunc.C:
2705         * lyxrow_funcs.C:
2706         * paragraph.C:
2707         * rowpainter.C:
2708         * text.C:
2709         * text2.C:
2710         * text3.C:
2711         * text_funcs.C:
2712         * textcursor.C:
2713         * undo.C:
2714         * frontends/controllers/ControlParagraph.C:
2715         * frontends/controllers/ControlTabular.C:
2716         * insets/insetmarginal.C:
2717         * insets/insetminipage.C:
2718         * insets/insetnote.C:
2719         * insets/insetoptarg.C: add header files needed to compile again.
2720
2721 2003-09-06  Angus Leeming  <leeming@lyx.org>
2722
2723         * RowList_fwd.h: new file, forward-declaring Row rather than
2724         #including lyxrow.h.
2725
2726         * lyxrow_funcs.h:
2727         * lyxtext.h:
2728         * paragraph.h:
2729         * insets/insettext.h: use it instead of RowList.h
2730
2731         * bufferview_funcs.C:
2732         * lyxfunc.C:
2733         * lyxrow_funcs.C:
2734         * paragraph.C:
2735         * rowpainter.C:
2736         * text.C:
2737         * text2.C:
2738         * text3.C: #include "RowList.h".
2739
2740 2003-09-05  Angus Leeming  <leeming@lyx.org>
2741
2742         * factory.C (createInset):
2743         * vspace.C (c-tor): replace sscanf call with an istringstream.
2744         * ispell.C: re-add missing HP/UX headers.
2745         * lyxserver.C: re-add missing  os2 headers.
2746
2747 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2748
2749         * BranchList.C:
2750         * graph.C:
2751         * ispell.C:
2752         * lastfiles.C:
2753         * lyx_cb.C:
2754         * lyxserver.C:
2755         * texrow.C:
2756         * text3.C: re-add missing system headers, needed for 2.95.2.
2757
2758 2003-09-05  Angus Leeming  <leeming@lyx.org>
2759
2760         Changes most place everywhere due to the removal of using directives
2761         from support/std_sstream.h.
2762
2763 2003-09-05  Angus Leeming  <leeming@lyx.org>
2764
2765         Replace LString.h with support/std_string.h,
2766         Lsstream.h with support/std_sstream.h,
2767         support/LIstream.h with support/std_istream.h,
2768         support/LOstream.h with support/std_ostream.h.
2769
2770         Changes resulting throughout the tree.
2771
2772 2003-09-05  Angus Leeming  <leeming@lyx.org>
2773
2774         * sgml.h: ensure that the header file can be compiled stand-alone.
2775         * *.C: strip out redundant #includes. (320 in total.)
2776
2777 2003-09-04  Angus Leeming  <leeming@lyx.org>
2778
2779         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2780         here (from getPackages).
2781
2782         * debug.[Ch]: add a new EXTERNAL tag.
2783
2784 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2785
2786         * text2.C (cursorEnd): simplify
2787         (setCursor): adjust
2788         (getColumnNearX): adjust
2789
2790         * text.C (computeBidiTables): adjust
2791         (fill): adjust
2792
2793         * rowpainter.C (paintChars): adjust
2794         (paintSelection): adjust
2795         (paintChangeBar): adjust
2796         (paintText): adjust
2797
2798         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2799         lastPos instead.
2800         (numberOfSeparators): adjust
2801
2802 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * LyXAction.C:
2805         * box.[Ch]:
2806         * lfuns.h:
2807         * lyxfunc.C:
2808         * text3.C: Restricts the mouse click functionality
2809         of insets like bibtex, include, toc and floatlist to the visible
2810         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2811         up the dialogs. Cursor has to be in front of the inset (i.e.
2812         start of row) for this to function.
2813
2814 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2815
2816         * bufferview_funcs.C (currentState): output row information
2817
2818 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2819
2820         * bufferview_funcs.C (currentState): output paragraph position
2821
2822 2003-09-04  Angus Leeming  <leeming@lyx.org>
2823
2824         * FloatList.h: move out #include "Floating.h".
2825         * LaTeX.h: move out #include "DepTable.h".
2826         * LyXAction.h: move out #include "funcrequest.h".
2827         * buffer.h: move out #include "author.h", "iterators.h".
2828         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2829         * lyx_main.h: move out #include "errorlist.h".
2830         * lyxfunc.h: move out #include "FuncStatus.h".
2831         * lyxtext: move out #include "lyxcursor.h".
2832         * paragraph_pimpl.h: move out #include "counters.h".
2833
2834 2003-09-03  Angus Leeming  <leeming@lyx.org>
2835
2836         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2837         preamble_snippets list, enabling us to add snippets to the preamble
2838         only if the snippet was not there already.
2839
2840 2003-09-04  Angus Leeming  <leeming@lyx.org>
2841
2842         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2843
2844 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2845
2846         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2847         update
2848
2849 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * BranchList.C: point fix, earlier forgotten
2852
2853 2003-09-02  Angus Leeming  <leeming@lyx.org>
2854
2855         * box.C (contains): renamed from 'contained' after a fantastic
2856         amount of hot air.
2857
2858 2003-09-02  John Levon  <levon@movementarian.org>
2859
2860         * BufferView.C:
2861         * lyxcursor.h:
2862         * lyxcursor.C:
2863         * lyxfunc.C:
2864         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2865
2866 2003-09-02  John Levon  <levon@movementarian.org>
2867
2868         * text2.C: simplification of cursorEnd(), including partial
2869         fix for bug 1376
2870
2871 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * buffer.C (readFile): add a space
2874
2875 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2878
2879 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * buffer.C (readFile): new function, take a filename and a
2882         ParagraphList::iterator
2883         (readFile): adjust
2884         (readFile): adjust, make it private. don't use setStream, make
2885         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2886         always contain the filename.
2887
2888         * BufferView.C (insertLyXFile): simplify and make it work for
2889         gzipped files.
2890
2891 2003-08-30  John Levon  <levon@movementarian.org>
2892
2893         * Makefile.am: fix dist (from Kayvan)
2894
2895 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * most files: change to use const Buffer refs
2898
2899 2003-08-27  André Pönitz  <poenitz@gmx.net>
2900
2901         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2902         on top of ownerPar().
2903
2904 2003-08-27  John Levon  <levon@movementarian.org>
2905
2906         * funcrequest.C: properly initialise POD members
2907
2908 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2909
2910         * lyxtext.h (top_y): move top_y from here
2911         * text.C:
2912         * text2.C:
2913         * text3.C:
2914         * BufferView.[Ch]:
2915         * BufferView_pimpl.[Ch]: to here
2916         * frontends/screen.C:
2917         * insets/insettabular.C:
2918         * insets/insettext.C: adjust
2919         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2920
2921 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * BufferView.[Ch]:
2924         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2925
2926 2003-08-26  André Pönitz  <poenitz@gmx.net>
2927
2928         * paragraph_func.[Ch] (outerPar): new function
2929
2930         * paragraph.C:
2931         * paragraph_funcs.C:
2932         * paragraph_funcs.h:
2933         * paragraph_pimpl.C:
2934         * text2.C: remove Inset::par_owner
2935
2936 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2937
2938         * lyxrow_funcs.C:
2939         * lyxtext.h:
2940         * text.C:
2941         * text2.C: eliminates the needFullRow/display() stuff
2942         altogether, putting the logic in metrics/draw in the insets.
2943
2944 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * text2.C (redoParagraphInternal, redoParagraphs):
2947         * text.C (redoParagraph): add a call to updateRowPositions at the
2948         end of each 'metrics-like' call. Remove all others.
2949         (getRow): remove the 'y-computing' version.
2950         (getRowNearY): do not compute nor return the real y. Solve the
2951         'y < 0' problem and simplify.
2952
2953 2003-08-22  Angus Leeming  <leeming@lyx.org>
2954
2955         * *.[Ch]: clean-up of licence and author blurbs.
2956         Also move config.h out of a few .h files and into a few .C files.
2957
2958 2003-08-22  André Pönitz  <poenitz@gmx.net>
2959
2960         * lyxrow.[Ch]: add x_ and *fill_ members
2961
2962         * lyxtext.h:
2963         * text.C:
2964         * rowpainter.C:
2965         * text2.C: adjust/remove prepareToPrint() calls
2966
2967 2003-08-22  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxrow.[Ch]: add  end_ member
2970
2971         * lyxrow_funcs.C: use LyXRow::end_
2972
2973         * lyxtext.h (singleWidth): add LyXFont parameter
2974
2975         * rowpainter.C:
2976         * text2.C: adjust LyXText::singleWidth() calls
2977
2978         * text.C (redoParagraph): simplify row breaking logic
2979
2980
2981 2003-08-19  André Pönitz  <poenitz@gmx.net>
2982
2983         * funcrequest.C: initialize button_ member
2984
2985         * text3.C:
2986         * rowpainter.[Ch]: interface consolidation
2987
2988 2003-08-18  André Pönitz  <poenitz@gmx.net>
2989
2990         * BufferView.C:
2991         * BufferView_pimpl.C:
2992         * lyxfind.C:
2993         * paragraph_funcs.C:
2994         * rowpainter.C:
2995         * text3.C: remove LyXScreen::draw() and fitCursor calls
2996
2997         * BranchList.h: remove spurious semicolons
2998
2999         * MenuBackend.C: fix branchlist related crash
3000
3001 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3002
3003         * BranchList.[Ch]:
3004         * InsetList.[Ch]:
3005         * LColor.[Ch]:
3006         * LyXAction.C:
3007         * Makefile.am:
3008         * MenuBackend.[Ch]:
3009         * bufferparams.[Ch]:
3010         * factory.C:
3011         * lfuns.h:
3012         * lyxfunc.C:
3013         * text3.C: implements the 'branch inset'
3014         idea. This allows the output of various versions of a document
3015         from a single source version, selectively outputing or suppressing
3016         output of parts of the text.
3017         This implementation contains a 'branch list editor' in a separate
3018         tab of the document settings dialog. Branches are user definable
3019         and have a "display colour" to distinguish them on-screen.
3020
3021         ColorHandler was somewhat cleaned up.
3022         (1) make possible a dynamically growing LColor list by allowing
3023         the graphic context cache to grow along (vector);
3024         (2) eliminate an IMHO unnecessary step in colour allocation.
3025
3026 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3027
3028         * BufferView_pimpl.C: compile fix
3029
3030 2003-08-15  André Pönitz  <poenitz@gmx.net>
3031
3032         * rowpainter.C: remove extra metrics calls
3033
3034         * lyxtext.h: merge the two constructors into a single one,
3035           pass reference to owner's par list
3036
3037         * BufferView_pimpl.C:
3038         * text.C:
3039         * text2.C: adjust
3040
3041 2003-08-15  André Pönitz  <poenitz@gmx.net>
3042
3043         * lyxrow_funcs.[Ch]:
3044         * lyxtext.h:
3045         * paragraph.h:
3046         * paragraph_funcs.C:
3047         * rowpainter.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C:
3051         * text_funcs.C: split LyXText::rowlist_ into individual
3052         Paragraph::rows_ chunks
3053
3054         * BufferView.[Ch]:
3055         * BufferView_pimpl.[Ch]:
3056         * lyxfind.C:
3057         * lyxtext.h:
3058         * text3.C: remove toggleSelection()
3059
3060 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3061
3062         * bufferlist.C: beautify two alerts (shorter text of buttons)
3063         * buffer.C: Remove redundant ' ' from message
3064         * tabular.h:
3065         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3066         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3067         rename VALIGN_CENTER to VALIGN_MIDDLE
3068
3069 2003-08-11  André Pönitz  <poenitz@gmx.net>
3070
3071         * lyxtext.h (getPar):
3072         * text.C: new function
3073
3074 2003-08-11  André Pönitz  <poenitz@gmx.net>
3075
3076         * Makefile.am:
3077         * tracer.[Ch]: remove unneeded files
3078
3079         * InsetList.[Ch]: remove resizeInsetsLyXText()
3080
3081         * lyxtext.h:
3082         * text.C:
3083         * text2.C:
3084         * text3.C: merge insertParagraphs() and appendParagraph()
3085         remove breakAgain(), update()
3086
3087         * BufferView_pimpl.[Ch]:
3088         * bufferview_funcs.[Ch]:
3089         * lyxfunc.C:
3090         * paragraph.[Ch]:
3091         * rowpainter.C:
3092         * tabular.C: adjust after text & InsetList changes.
3093
3094 2003-08-08  André Pönitz  <poenitz@gmx.net>
3095
3096         * text.C (insertChar, backspace): replace rowlist fiddling
3097         with rebreak of full par
3098
3099         * lyxtext.h:
3100         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3101         checkParagraph, updateInset): removed
3102
3103 2003-08-07  André Pönitz  <poenitz@gmx.net>
3104
3105         * paragraph.C:
3106         * text3.C: merge some LFUN handlers, remove dead code
3107
3108 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3109
3110         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3111
3112 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * text2.C (DEPM): fix part of bug 1255 and 1256
3115
3116 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3117
3118         * BufferView_pimpl.C (workAreaDispatch): change to use
3119         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3120         that are no mouse related.
3121
3122 2003-08-05  André Pönitz  <poenitz@gmx.net>
3123
3124         * BufferView.[Ch]:
3125         * BufferView_pimpl.[Ch]:
3126         * bufferview_funcs.C:
3127         * text2.C:
3128         * text3.C: rip out "deep update"
3129
3130         * textcursor.[Ch] (last_sel_cursor): remove unused member
3131
3132 2003-08-04  André Pönitz  <poenitz@gmx.net>
3133
3134         * BufferView.[Ch]:
3135         * BufferView_pimpl.[Ch]:
3136         * ParagraphParameters.C:
3137         * bufferview_funcs.C:
3138         * lyx_cb.C:
3139         * lyxfind.C:
3140         * lyxfunc.C:
3141         * text.C:
3142         * text2.C:
3143         * text3.C: replace "complicated" BufferView::update(...) calls with
3144         simpler ones.
3145
3146         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3147
3148 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3149
3150         * Makefile.am (lyx_SOURCES): add paper.h
3151
3152 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3153
3154         * Makefile.am: move things around so that both lyx-qt and
3155         lyx-xforms can be built (according to --with-frontend). Then lyx
3156         is a symbolic link to lyx-[firstfrontend]
3157
3158 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3159
3160         * Always use std::endl with lyxerr
3161
3162 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3163
3164         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3165
3166 2003-08-01  André Pönitz  <poenitz@gmx.net>
3167
3168         * BufferView.[Ch]:
3169         * BufferView_pimpl.[Ch]:
3170         * lyxfunc.C:
3171         * text3.C: merge BufferView::repaint() and BufferView::update()
3172
3173 2003-08-01  José Matos  <jamatos@lyx.org>
3174
3175         * buffer.[Ch]: file_format is no longer a buffer data element.
3176
3177 2003-08-01  André Pönitz  <poenitz@gmx.net>
3178
3179         * BufferView.C:
3180         * lyxtext.h:
3181         * text.C:
3182         * text2.C: make redoParagraph more independent of current cursor
3183
3184         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3185         * text.C:
3186         * text2.C: remove unneeded members
3187
3188 2003-07-30  André Pönitz  <poenitz@gmx.net>
3189
3190         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3191
3192         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3193           create a single function...
3194
3195         * paragraph_funcs.C (moveItem): ... here.
3196
3197         * text.C:
3198           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3199
3200 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3201
3202         * LColor.[Ch]: Add comment and greyedout logical colors.
3203
3204 2003-07-30  André Pönitz  <poenitz@gmx.net>
3205
3206         * tabular.C: don't use Assert too heavily. This crashes where it
3207           shouldn't
3208
3209 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3212         is disabled (bug 1232)
3213
3214 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3215
3216         * factory.C: limited 'arg' scope
3217
3218 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * factory.C: fixed Note submenu issues
3221
3222 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3223
3224         * factory.C: submenu for Note/Comment/Greyedout
3225
3226 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * lyx_main.C (LyX):
3229         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3230
3231 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3232
3233         * LaTeXFeatures.C:
3234         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3235         greyedout. Patch provided by Jürgen Spitzmüller.
3236
3237 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3238
3239         * kbmap.C (read): fix error message when reading bind files
3240
3241 2003-07-29  Angus Leeming  <leeming@lyx.org>
3242
3243         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3244         certainly does not do what it purports to do. I am doing it, and
3245         us, a favour by killing it.
3246
3247 2003-07-28  José Matos  <jamatos@lyx.org>
3248
3249         * buffer.C (readBody, do_writeFile):
3250         * paragraph.C(readParagraph): \end_document replaces \the_end.
3251
3252 2003-07-29  André Pönitz  <poenitz@gmx.net>
3253
3254         * BufferView.[Ch]:
3255         * BufferView_pimpl.[Ch]:
3256         * lyxfunc.C:
3257         * text2.C:
3258         * text3.C:
3259         * textcursor.[Ch]: remove toggleToggle & Co
3260
3261 2003-07-28  José Matos  <jamatos@fep.up.pt>
3262
3263         * buffer.C (readParagraph):
3264         * params_func (readParToken, readParagraph):
3265         * paragraph.C (write): \layout -> \begin_layout.
3266
3267 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3268
3269         * lyxlex_pimpl.C (setFile): clean up slightly.
3270
3271         * bufferparams.h: add compressed var
3272
3273         * buffer_funcs.C (readFile): adjust for LyXLex change
3274         (newFile): ditto + simplify
3275
3276         * buffer.C (writeFile): handle writing of compressed files
3277
3278         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3279         Check if the file is compressed and set a bufferparm if so.
3280
3281         * Makefile.am (lyx_LDADD): remove explicit -lz
3282
3283 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3284
3285         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3286         makeDocBookFile): put the real LyX version in the first line of
3287         the file
3288
3289         * version.h:
3290         * version.C.in: remove lyx_docversion
3291
3292         * tabular.C (write_attribute): add a template-based version to
3293         write enums properly
3294
3295 2003-07-28  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxtext.h:
3298         * text.C:
3299         * text2.C:
3300         * text3.C: use doubles again for x-coordinates. They are needed.
3301
3302 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * messages.C (getLocaleDir): use lyx_localedir()
3305
3306         * lyxlex_pimpl.C (setFile): compress stuff
3307
3308         * buffer.C (writeFile): add some compression stuff
3309         (do_writeFile): new func, dont call expliti close... will this
3310         breake anything?
3311
3312         * Makefile.am (lyx_LDADD): add -lz
3313
3314 2003-07-28  José Matos  <jamatos@fep.up.pt>
3315
3316         * buffer.C: increment file format.
3317         * paragraph_funcs (readParagraph, readParToken):
3318         * paragraph.C (readParagraph): add \end_layout.
3319
3320 2003-07-27  Angus Leeming  <leeming@lyx.org>
3321
3322         * Makefile.am: remove special casing for configure-time setting of
3323         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3324
3325         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3326         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3327
3328 2003-07-26  André Pönitz  <poenitz@gmx.net>
3329
3330         * paragraph_func.[Ch]:
3331         * paragraph.C (realizeFont): inline it whereever it is used
3332
3333         * rowpainter.C:
3334         * text.C:
3335         * text2.C:
3336         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3337
3338
3339 2003-07-26  André Pönitz  <poenitz@gmx.net>
3340
3341         *       lyxtext.h:
3342         * text.C:
3343         * text2.C: get rid of LyXText::need_break_row
3344
3345 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * toc.[Ch]: put namespace toc inside namespace lyx
3348
3349         * MenuBackend.C (expandToc2): adjust for lyx::toc
3350         (expandToc): ditto
3351
3352         * lyxfunc.C (dispatch): adjust for lyx::find
3353
3354         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3355         lyx::find instead. Reorganize a bit.
3356         (LyXReplace): rename to replace
3357         (LyXFind): rename to find
3358
3359         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3360         (dispatch): ditto
3361
3362 2003-07-26  André Pönitz  <poenitz@gmx.net>
3363
3364         * text.C (setHeightOfRow): restrict scope of temporary variable
3365
3366         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3367           code (never has been used?)
3368
3369 2003-07-27  Asger Alstrup  <alstrup@local>
3370
3371         * text.C (fill): Optimise algorithm to exploit that we can reuse
3372         the LyXFont for many characters.
3373         (setHeightOfRow): Same thing.
3374         (rowBreakPoint): Same thing.
3375
3376 2003-07-26  Asger Alstrup  <alstrup@local>
3377
3378         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3379
3380         * text.C (singleWidth): Spurious font copying in hot-spot
3381         singleWidth avoided. Reorder tests for arabic for efficiency.
3382
3383         * text.C (fill): handle empty paragraphs better.
3384
3385 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3386
3387         * ispell.C:
3388         * encoding.h: add includes
3389
3390         * lyxrc.C: remove reading of bind files
3391
3392         * lyx_main.C (init): setup bindings and menus only if we have a
3393         gui.
3394
3395         * kbmap.C (read): new method. Do the actual reading of bind
3396         files.
3397
3398         * converter.C (dvipdfm_options):
3399         * bufferparams.C:
3400         * lyxrc.C (read):
3401         (output): adapt PAPER_* enums.
3402
3403         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3404
3405         * bufferparams.h: remove paper-related enums from there
3406
3407         * paper.h: New file. A trivial header file to hold paper-related
3408         enums. It should later expand to contain many paper-related
3409         horrors access.
3410
3411         * lyxrc.C: declare extern displayTranslator
3412
3413 2003-07-27  José Matos  <jamatos@fep.up.pt>
3414
3415         * tabular.[Ch] (linuxdoc): add support for tables and figures
3416         (linuxdoc).
3417
3418 2003-07-27  José Matos  <jamatos@fep.up.pt>
3419
3420         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3421         consistency in both functions.
3422         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3423
3424 2003-07-26  Asger Alstrup  <alstrup@local>
3425
3426         * rowpainter.C (paintRows): Change algorithm to work directly on
3427         the insets rather than asking every character in the document
3428         whether its an inset.
3429
3430 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * buffer.C (openFileWrite): factorize some code
3433
3434 2003-07-26  Angus Leeming  <leeming@lyx.org>
3435
3436         * lyx_cb.C:
3437         * lyx_main.[Ch]: replace occurances of system_tempdir with
3438         os::getTmpDir().
3439
3440 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * rename Inset to InsetOld
3443
3444 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3445
3446         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3447         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3448         which I think is a bit clearer. EDIT is gone, since it was
3449         premature optimisation, and broken for mathed anyway.
3450         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3451         with cursor positioning in insets as well (math insets still do not
3452         work, but that's a different story anyway.) It mysteriously
3453         crashes sometimes with undo in the first paragraph, but I'm fairly
3454         confident that this is a compiler bug.
3455
3456 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3457
3458         * paragraph.C (Paragraph): adjust for new clone return type
3459         (operator==): ditto
3460         (copyIntoMinibuffer): ditto
3461
3462 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3463
3464         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3465         by not having a special case, and always doing a full rebreak of
3466         the document after undo.
3467
3468 2003-07-23  Angus Leeming  <leeming@lyx.org>
3469
3470         * factory.C (createInset): InsetExternal::setParams now takes a
3471         Buffer const * arg.
3472
3473 2003-07-23  Angus Leeming  <leeming@lyx.org>
3474
3475         * factory.C (createInset): changed interface to the external and
3476         graphics mailers' string2params functions.
3477
3478 2003-07-23  Angus Leeming  <leeming@lyx.org>
3479
3480         * factory.C (createInset): pass a
3481         Buffer const * parameter to InsetExternalMailer's string2params.
3482
3483 2003-07-22  John Levon  <levon@movementarian.org>
3484
3485         * Thesaurus.h: include the right aiksaurus header
3486
3487 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3488
3489         * MenuBackend.C (expand): check menu shortcuts unconditionally
3490
3491 2003-07-21  Angus Leeming  <leeming@lyx.org>
3492
3493         * factory.C (createInset): pass a
3494         buffer_path parameter to InsetGraphicsMailer's string2params.
3495
3496 2003-07-21  Angus Leeming  <leeming@lyx.org>
3497
3498         * BufferView_pimpl.C (buffer):
3499         * buffer.C (d-tor):
3500         * lyx_main.C (LyX):
3501         * lyxfunc.C (dispatch):
3502         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3503         rather than the grfx shortcut.
3504
3505 2003-07-21  André Pönitz  <poenitz@gmx.net>
3506
3507         * rowpainter.C: remove unused variables
3508
3509         * tabular_funcs.C:
3510         * tabular_funcs.h: move to tabular.C
3511         * Makefile.am: adjust
3512
3513         * tabular.[Ch]: basic optical cleaning
3514
3515         * author.h: pass references, not values
3516
3517 2003-07-18  André Pönitz  <poenitz@gmx.net>
3518
3519         * lyxtext.h:
3520         * metricsinfo.C:
3521         * metricsinfo.h:
3522         * rowpainter.C:
3523         * text.C:
3524         * text2.C:
3525         * text3.C: two-phase drawing for InsetText and InsetTabular
3526         some float -> int changes.
3527
3528 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3529
3530         * lyx_main.C: fix the fix
3531
3532 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * lyx_main.C: fix a crash in batch mode if no files specified
3535         * converter.C: ws
3536
3537 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3538
3539         * format.[Ch] (papersize): moved to BufferParams
3540         * converter.[Ch] (dvips_options): moved to BufferParams
3541         (dvipdfm_options): moved to anon namespace
3542         * bufferparams.[Ch]: added above functions.
3543
3544 2003-07-17  André Pönitz  <poenitz@gmx.net>
3545
3546         * lyxtext.h:
3547         * rowpainter.C:
3548         * text2.C: don't call inset->update() anymore
3549
3550         * metricsinfo.[Ch]: add convenience constructor
3551
3552 2003-07-16  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxcursor.[Ch]:
3555         * lyxfunc.[Ch]:
3556         * text.C:
3557         * text2.C: replace the LyXCursor::irow_ member with
3558          on-demand computation of the value
3559
3560 2003-07-16  John Levon  <levon@movementarian.org>
3561
3562         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3563
3564 2003-07-15  André Pönitz  <poenitz@gmx.net>
3565
3566         * text.C:
3567         * text2.C: remove no more needed refresh_row
3568
3569 2003-07-15  André Pönitz  <poenitz@gmx.net>
3570
3571         * lyxtext.h:
3572         * rowpainter.C:
3573         * text2.C:
3574         * text3.C: refresh_status tristate -> need_update bool
3575
3576 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * lyxtext.h (init): remove reinit argument (act as if always true)
3579         * text2.C: adjust to that
3580
3581 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3582
3583         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3584         * text3.C: use it to delete selections in some cases
3585         (bugs 441, 673, 702, 954).
3586
3587 2003-07-14  André Pönitz  <poenitz@gmx.net>
3588
3589         * rowpainter.[Ch]: reduce interface
3590
3591 2003-07-14  André Pönitz  <poenitz@gmx.net>
3592
3593         * BufferView_pimpl.C:
3594         * text2.C: adjust after removing unused BufferView * argument
3595
3596 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * text2.C (init): fix a crash fired on resize
3599
3600 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * buffer.[Ch]: added new closing signal
3603         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3604         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3605         BufferView::Pimpl via the closing the signal
3606
3607 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * buffer.[Ch]: take out all bv-related from buffer
3610         * BufferView.C:
3611         * BufferView_pimpl.[Ch]: connect to new signals
3612         * CutAndPaste.C: removed useless asserts
3613         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3614         * lyxvc.[Ch]:
3615         * vc-backend.[Ch]:
3616         * lyxfunc.C: moved view-related funciontality from vc here
3617         * paragraph.C: removed outdated comments
3618         * text.C: ws
3619
3620 2003-07-10  André Pönitz  <poenitz@gmx.net>
3621
3622         * BufferView_pimpl.C:
3623         * tabular.h:
3624         * tabular_funcs.C:
3625         * text.C:
3626         * text2.C: remove InsetText::InnerCache, clean up consequences
3627
3628 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3629
3630         * ispell.C: fix two typos in error messages
3631
3632 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3633
3634         * Extend Note inset to other forms of annotation like Comment
3635         and Greyedout. Right button click gives dialog.
3636
3637         Files modified or added (+):
3638
3639         * insetnote.[Ch]
3640         * FormNote.[Ch]      +
3641         * ControlNote.[Ch]   +
3642         * form_note.fd       +
3643         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3644         frontends/controllers
3645         * xforms/Dialogs.C
3646         * factory.C
3647
3648 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3649
3650         * aspell.C: add missing namespace lyx::support
3651
3652 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3653
3654         * BufferView.[Ch] (newFile): Add
3655         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3656         * LaTeX.[Ch] (message): added this signal and use it
3657         * buffer.[Ch] (busy, message): added these signals and use them
3658         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3659         * converter.C:
3660         * exporter.C:
3661         * format.C:
3662         * importer.C: use buffer signals instead of direct bv calling
3663         * lyx_cb.[Ch] (ShowMessage): removed
3664         * lyx_main.C:
3665         * lyxfunc.C:
3666         * paragraph_funcs.C:
3667         * text2.C: use buffer signals
3668
3669 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * introduce namespace lyx::graphics
3672
3673 2003-07-02  André Pönitz  <poenitz@gmx.net>
3674
3675         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3676
3677 2003-07-01  André Pönitz  <poenitz@gmx.net>
3678
3679         * text.C:
3680         * text2.C:
3681         * text3.C:
3682         * text_funcs.[Ch]:
3683         * textcursor.h:
3684         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3685           text*.C to text_func.C
3686
3687 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * introduce namespace lyx::support
3690
3691 2003-06-30  André Pönitz  <poenitz@gmx.net>
3692
3693         * Chktex.C:
3694         * funcrequest.C:
3695         * lyxtext.h:
3696         * text.C: re-enable --with-included-string
3697
3698 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3699
3700         * textcursor.C: add <config.h>
3701
3702         * text.C (getWord): remove const from word_location arg
3703
3704         * lyxvc.C (getLogFile): fix const type order
3705
3706         * lyxtext.h: remove const from word_location arg, add arg name
3707
3708         * lyxlayout.h: currect type on labeltype.
3709
3710         * importer.C: correct \file
3711
3712         * converter.C (intToFormat): use std:: on ret val, ws changes
3713
3714         * bufferlist.h: correct \file
3715
3716         * buffer.C (makeLinuxDocFile): fix const type order
3717         (makeDocBookFile): ditto
3718         (fillWithBibKeys): use std:: on stdlib args.
3719
3720         * CutAndPaste.C: fix authors.
3721         (availableSelections): use std:: on return vector
3722
3723 2003-06-27  André Pönitz  <poenitz@gmx.net>
3724
3725         * BufferView_pimpl.C:
3726         * bufferview_funcs.C:
3727         * lyxcursor.C:
3728         * lyxcursor.h:
3729         * lyxfunc.C:
3730         * lyxtext.h:
3731         * rowpainter.C:
3732         * text.C:
3733         * text2.C:
3734         * text3.C: remove LyXCursor::row_ member
3735
3736         * lyxtext.h:
3737         * text.C: rename fullRebreak() to partialRebreak() and implement
3738           a fullRebreak() that really bereks fully
3739
3740         * textcursor.h: new struct for cursor-related data
3741
3742 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * lyx_main.C (LyX): get full path of document loaded on the
3745         command line
3746
3747 2003-06-26  André Pönitz  <poenitz@gmx.net>
3748
3749         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3750           remove unused/broken operator>,<,>=.
3751
3752         *       text.C: remove only use of broken operator<= in an Assert().
3753
3754 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3755
3756         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3757         moved errorlist_.clear to showErrorList
3758
3759 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3760
3761         * converter.C (scanLog, runLaTeX):
3762         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3763         move the bv->showErrorList call to the callers
3764         * lyxfunc.C: i.e. here...
3765         * text2.C: and here
3766         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3767         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3768         namespace, the second to...
3769         * buffer_funcs (BufferFormat, parseErrors): added
3770         * errorlist.C (ErrorList(TeXErrors const &)): removed
3771
3772 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3773
3774         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3775
3776 2003-06-24  "Garst R. Reese" <reese@isn.net>
3777
3778         * debug.C: fix typo
3779
3780 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3781
3782         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3783
3784         * version.C.in: change docversion to 1.4
3785
3786 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * buffer.C: fix a bug just introduced
3789
3790 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3791
3792         * buffer.[Ch]: added the parseError signal and use it, removed
3793         sgmlError
3794         * BufferView.[Ch] (addError): moved to ...
3795         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3796         to the Buffer::parseError signal to catch (guess what) parse errors
3797         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3798
3799 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3800
3801         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3802         ability to create a buffer and to return an existing one from
3803         the list. Moved these functions to...
3804         * buffer_funcs.[Ch]: added
3805         * BufferView.[Ch] (loadLyXFile): added
3806         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3807         job removed from bufferlist::loadLyXFile.
3808         * buffer.C (setReadOnly): make it work without view
3809         (i.e added an if (users))
3810
3811 2003-06-19  Angus Leeming  <leeming@lyx.org>
3812
3813         * lfuns.h:
3814         * LyXAction.C (init):
3815         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3816         with LFUN_DIALOG_SHOW <name> <data>.
3817
3818 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3819
3820         * CutAndPaste.C (availableSelections): small compilation fix for
3821         ancient (gcc 2.9x) compilers
3822
3823 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * text3.C (cursorNext): add tmp var
3826
3827         * text2.C (updateCounters): for function calling out of for clause
3828         (replaceSelectionWithString): ditto
3829         (insertStringAsParagraphs): ditto
3830         (getColumnNearX): add tmp var
3831         (setCursorFromCoordinates): add tmp var
3832         (cursorDownParagraph): add tmp var
3833         (deleteEmptyParagraphMechanism): add tmp var
3834
3835         * text.C (insertChar): add tmp var
3836
3837         * rowpainter.C (paintDepthBar): add tmp var
3838
3839         * CutAndPaste.C (availableSelections): potentially check all
3840         paragraphs in a cut to fill the shown strings.
3841
3842 2003-06-18  André Pönitz  <poenitz@gmx.net>
3843
3844         * kbmap.[Ch]: use vector<> instead of list<>
3845
3846 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3847
3848         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3849         pasteSelection with index
3850
3851         * text2.C (pasteSelection): modify, call pasteSelection with index
3852
3853         * paragraph.C (asString): reimplement version with no interval to
3854         call the one with interval.
3855
3856         * lyxtext.h: add index arg to pasteSelection
3857
3858         * MenuBackend.C (MenuItem): handle PasteRecent
3859         (Menu::read::Menutags): add md_pasterecent
3860         (read): handle it
3861         (expandPasteRecent): new function
3862         (expand): use it
3863
3864         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3865
3866         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3867         the limited stack
3868         (availableSelections): new function
3869
3870 2003-06-17  Angus Leeming  <leeming@lyx.org>
3871
3872         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3873
3874 2003-06-17  Angus Leeming  <leeming@lyx.org>
3875
3876         * lfuns.h:
3877         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3878
3879         * lyxfunc.C (dispatch): invoke it.
3880
3881 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3882
3883         * iterators.C (operator++, ParPosition): reintroduce some
3884         const_cast for the benefit of older compilers.
3885
3886 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3887
3888         * text3.C (dispatch): do not modify clipboard when doing
3889         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3890         LFUN_DELETE_SKIP on a selection selection
3891
3892 2003-06-16  André Pönitz  <poenitz@gmx.net>
3893
3894         * BufferView.C:
3895         * buffer.C:
3896         * buffer.h:
3897         * paragraph.C:
3898         * tabular.[Ch]: IU of clone() and getLabelList();
3899
3900 2003-06-13  André Pönitz  <poenitz@gmx.net>
3901
3902         * tabular.h: compactification
3903
3904 2003-06-12  André Pönitz  <poenitz@gmx.net>
3905
3906         * tabular.C:
3907         * tabular.h:
3908         * tabular_funcs.h: some renaming plus whitespace
3909
3910 2003-06-12  André Pönitz  <poenitz@gmx.net>
3911
3912         * BufferView.C:
3913         * BufferView_pimpl.C:
3914         * CutAndPaste.C:
3915         * buffer.C:
3916         * iterators.[Ch]:
3917         * lyxfunc.C:
3918         * text.C:
3919         * toc.C: Return a Paragraph & for ParIterator::operator*()
3920
3921 2003-06-11  John Levon  <levon@movementarian.org>
3922
3923         * lyx_main.C:
3924         * ToolbarBackend.h:
3925         * ToolbarBackend.C: add "Toolbars" section and
3926         put the flags there
3927
3928 2003-06-10  Angus Leeming  <leeming@lyx.org>
3929
3930         * lfuns.h:
3931         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3932
3933         * lyxfunc.C (dispatch): invoke it.
3934
3935 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * main.C: protect <ios> with HAVE_IOS
3938         (main): protect sync_with_stdio with HAVE_IOS
3939
3940 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3941
3942         * text2.C (cutSelection): adjust
3943         (pasteSelection): adjust
3944
3945         * messages.C: handle get of empty string
3946
3947         * main.C (main): use sync_with_stdio(false)
3948
3949         * lyxfunc.C (dispatch): adjust
3950
3951         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3952         (WriteAs): remove unneeded BufferView arg.
3953
3954         * bufferparams.h: use correct types on papersize, papersize2 and
3955         paperpackage.
3956
3957         * bufferparams.C (readToken): adjust for type
3958         (writeLaTeX): add missing cases to switch.
3959
3960         * bufferlist.C (quitWriteBuffer): adjust
3961         (close): adjust
3962
3963         * buffer.C (asciiParagraph): remove some commented code.
3964
3965         * CutAndPaste.C: remove current_view extern variable.
3966         (cutSelection): add BufferParams arg.
3967         (eraseSelection): add BufferParams arg.
3968         (pasteSelection): add Buffer const & arg
3969
3970 2003-06-07  John Levon  <levon@movementarian.org>
3971
3972         * buffer.C:
3973         * paragraph_funcs.C:
3974         * paragraph_pimpl.C:
3975         * text.C:
3976         * text2.C:
3977         * paragraph.h:
3978         * paragraph.C: allow InsetERT to freely space lines,
3979         and some consolidation of code
3980
3981 2003-06-06  José Matos  <jamatos@fep.up.pt>
3982
3983         * buffer.C (makeDocBookFile): fix bug #821
3984
3985 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3986
3987         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3988
3989 2003-06-04  Angus Leeming  <leeming@lyx.org>
3990
3991         * buffer.C: bump format to 224.
3992
3993 2003-06-05  André Pönitz  <poenitz@gmx.net>
3994
3995         * text2.C (redoParagraphs): remove two const_cast<>
3996
3997 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3998
3999         * ParagraphList.h: remove last remnants of NO_STD_LIST
4000
4001 2003-06-03  Angus Leeming  <leeming@lyx.org>
4002
4003         * factory.C (createInset): small change to the way InsetExternal's params
4004         are set.
4005
4006 2003-06-04  André Pönitz  <poenitz@gmx.net>
4007
4008         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4009
4010         * paragraph_pimpl.h:
4011         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4012
4013         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4014
4015         * undo_funcs.C: make some simple cases of undo work again
4016
4017 2003-06-03  John Levon  <levon@movementarian.org>
4018
4019         * ispell.C: HPUX doesn't have sys/select.h
4020         (from Albert Chin)
4021
4022 2003-06-03  John Levon  <levon@movementarian.org>
4023
4024         * CutAndPaste.C: update tabular and include inset
4025         buffer references
4026
4027         * buffer.h:
4028         * paragraph.h:
4029         * paragraph.C: remove owningBuffer(), don't pass Buffer
4030         to clone()
4031
4032         * factory.C: insetGraphicsParams changed
4033
4034 2003-06-02  John Levon  <levon@movementarian.org>
4035
4036         * LyXAction.C:
4037         * factory.C:
4038         * lfuns.h:
4039         * lyxfunc.C:
4040         * text3.C: remove insetparent
4041
4042 2003-06-02  John Levon  <levon@movementarian.org>
4043
4044         * buffer.h:
4045         * buffer.C: fix inset_iterator.end(), move out of line
4046         (bug 1149)
4047
4048 2003-06-01  John Levon  <levon@movementarian.org>
4049
4050         * text3.C: use a proper cut/paste when doing inset
4051         insert (from Jürgen Spitzmüller)
4052
4053 2003-06-01  John Levon  <levon@movementarian.org>
4054
4055         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4056
4057 2003-05-30  André Pönitz  <poenitz@gmx.net>
4058
4059         * rowpainter.C: unify second drawing phase
4060
4061 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * trans_mgr.C: remove one case of current_view
4064
4065         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4066
4067         * paragraph_funcs.h: remove paragraph.h include
4068
4069         * paragraph.h: delete NO_STD_LIST stuff
4070
4071         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4072
4073         * buffer.h: remove paragraph.h include
4074
4075         * ParagraphList.C: delete file
4076
4077         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4078
4079         * toc.C (getTocList): adjust
4080
4081         * paragraph_pimpl.C (validate): adjust
4082
4083         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4084
4085         * paragraph.C (Paragraph): adjust
4086         (getPositionOfInset): use const_iterator, adjust
4087         (bibitem): use const_iterator, adjust
4088         (setInsetOwner): adjust
4089
4090         * iterators.C (operator++): adjust
4091
4092         * InsetList.[Ch]: Replace selfmade iterator with standard
4093         vector::iterator also introduce const_iterator. Remove getPos,
4094         getInset and setInset from InsetTable. Adjust accordingly.
4095
4096         * BufferView.C (lockInset): adjust
4097         (ChangeInsets): adjust
4098
4099         * tabular.[Ch]: delete commented same_id functions
4100
4101 2003-05-28  John Levon  <levon@movementarian.org>
4102
4103         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4104
4105 2003-05-28  André Pönitz  <poenitz@gmx.net>
4106
4107         * metricsinfo.[Ch]: remove 'fullredraw' member
4108
4109 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4110
4111         * lyxtextclass.C (operator): remove caching.
4112
4113 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * text3.C: adjust
4116
4117         * text2.C (cursorBottom): adjust
4118         (setCounter): use ParagraphList::find, adjust
4119
4120         * text.C (workWidth): use ParagraphList::find, adjust
4121
4122         * lyxcursor.C (LyXCursor): adjust
4123
4124         * buffer.C (inset_iterator): adjust
4125
4126         * ParagraphList.h: make iterator(value_type) private, make
4127         ParagraphList a friend of iterator.
4128
4129         * ParagraphList.C (find): new function
4130
4131         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4132
4133 2003-05-27  André Pönitz  <poenitz@gmx.net>
4134
4135         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4136
4137 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4138
4139         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4140
4141 2003-05-26  John Levon  <levon@movementarian.org>
4142
4143         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4144
4145 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * remove same_id from function signatures, adjust.
4148
4149 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4152
4153         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4154
4155         * paragraph.C (Paragraph): get rid of same_ids parameter
4156
4157         * ParagraphList.C (insert): adjust
4158         (push_back): adjust
4159
4160 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * paragraph_funcs.C (breakParagraph): adjust
4163         (breakParagraphConservative): adjust
4164
4165         * buffer.C (readParagraph): adjust
4166
4167         * ParagraphList.C (insert): take a reference instead of a pointer
4168         (insert): adjust
4169
4170         * paragraph.[Ch] (id): new function
4171
4172         * bufferlist.C (newFile): adjust
4173
4174         * ParagraphList.C (ParagraphList): adjust
4175         (assign): adjust
4176         (push_back): take a reference instead of a pointer.
4177
4178         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4179
4180         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4181         instead.
4182
4183         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4184         set else use old code.
4185
4186         * ParagraphList.C: remove all NO_NEXT code and only compile this
4187         code of NO_STD_LIST is set.
4188
4189 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * BufferView_pimpl.C:
4192         * TextCache.C:
4193         * TextCache.h:
4194         * bufferlist.C:
4195         * errorlist.h:
4196         * format.C:
4197         * format.h:
4198         * graph.C:
4199         * lyxfunc.C:
4200         * lyxrc.C:
4201         * graphics/GraphicsConverter.C:
4202         * graphics/PreviewLoader.C: header adjustment
4203
4204 2003-05-23  Angus Leeming  <leeming@lyx.org>
4205
4206         * LaTeXFeatures.[Ch] (useBabel): new method.
4207         * bufferparams.C (writeLaTeX): use it.
4208
4209 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * ParagraphList.h (set): remove unused function.
4212
4213 2003-05-23  André Pönitz  <poenitz@gmx.net>
4214
4215         * BufferView.C:
4216         * BufferView_pimpl.C:
4217         * buffer.C:
4218         * buffer.h:
4219         * lyxfunc.C:
4220         * undo_funcs.C: setUndo reworked
4221
4222         * iterators.[Ch]: add access to topmost ParagraphList
4223
4224         * lyxtext.[Ch] (workWidth): add a const
4225
4226 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * texrow.[Ch] (increasePos): remove function
4229         * exporter.C (export): removed unused var and outdated comment
4230
4231 2003-05-23  Angus Leeming  <leeming@lyx.org>
4232
4233         * latexrunparams.h: rename fragile as moving_arg.
4234         * paragraph.C (simpleTeXOnePar): ditto.
4235         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4236
4237 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4240         (createUndo): ditto
4241         (textUndoOrRedo): comment out a currently unused var.
4242
4243         * paragraph.h (NO_NEXT): enable NO_NEXT
4244
4245         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4246
4247         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4248
4249         * exporter.C (Export): adjust for removeAutoInsets removal.
4250
4251         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4252
4253         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4254
4255         * BufferView.[Ch] (removeAutoInsets): delete function
4256
4257 2003-05-22  Angus Leeming  <leeming@lyx.org>
4258
4259         * latexrunparams.h: add a free_spacing variable.
4260
4261         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4262         to pass moving_arg, as the data is stored in runparams.fragile.
4263
4264         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4265         to Inset::latexOptional or to simpleTeXOnePar.
4266
4267         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4268         free_spacing arg to Inset::latexOptional.
4269
4270         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4271         free_spacing arg.
4272
4273 2003-05-22  Angus Leeming  <leeming@lyx.org>
4274
4275         * latexrunparams.h: add fragile and use_babel variables.
4276
4277         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4278         * buffer.C (makeLaTeXFile): store this returned value in
4279         runparams.use_babel, thus passing it to the inset::latex methods.
4280
4281         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4282         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4283
4284         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4285         longer has a fragile arg, as it is stored in runparams.fragile.
4286
4287         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4288         moving_arg parameter as the data is stored in runparams.fragile.
4289
4290         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4291         a fragile parameter as the data is stored in runparams.fragile.
4292
4293 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4296
4297 2003-05-22  Angus Leeming  <leeming@lyx.org>
4298
4299         * latexrunparams.h: add a 'bool nice' which defaults to false.
4300
4301         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4302         now encapsulated within runparams.
4303
4304         * bufferlist.C (updateIncludedTeXfiles):
4305         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4306
4307 2003-05-22  Angus Leeming  <leeming@lyx.org>
4308
4309         * latexrunparams.h: new file containing struct LatexRunParams.
4310         * Makefile.am: add new file.
4311
4312         * LaTeX.[Ch] (c-tor, run):
4313         * buffer.[Ch] (makeLaTeXFile):
4314         * bufferlist.[Ch] (updateIncludedTeXfiles):
4315         * converter.C (convert, scanLog):
4316         * converter.[Ch] (runLaTeX):
4317         * exporter.C (Export):
4318         * paragraph.[Ch] (simpleTeXOnePar):
4319         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4320         * paragraph_funcs.[Ch] (latexParagraphs):
4321         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4322         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4323         pass around a LatexRunParams parameter.
4324
4325 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * paragraph.[Ch]: remove unused constructor
4328
4329         * ParagraphList.C (erase): new function, taking two iterators
4330
4331 2003-05-22  André Pönitz  <poenitz@gmx.net>
4332
4333         * undo_funcs.C: remove duplicated code
4334
4335         * iterator.[Ch]: operator=
4336
4337 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * tabular.C (SetMultiColumn): ws changes
4340
4341         * rowpainter.C (paintFirst): get rid of a ->previous
4342
4343         * lyx_cb.C (getPossibleLabel): parlist simplification
4344
4345         * BufferView.C (ChangeInsets): simplify slightly.
4346
4347 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4348
4349         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4350         * lfuns.h: new LFUN_SPACE
4351         * lyxfunc.C: protected space has a new lfun
4352         * paragraph_funcs.C: read new space insets
4353         * text3.C:
4354         * factory.C: handle new space insets
4355
4356 2003-05-22  André Pönitz  <poenitz@gmx.net>
4357
4358         * BufferView.C:
4359         * BufferView_pimpl.C:
4360         * buffer.[Ch]:
4361         * lyxfunc.C:
4362         * undo_funcs.C: return a ParIterator from getParFromID.
4363
4364         * iterators.[Ch]: add two const's
4365
4366 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * toc.C (getTocList): adjust
4369
4370         * iterators.[Ch]: rework for parlist
4371
4372         * buffer.C (par_iterator_begin): adjust
4373         (par_iterator_end): adjust
4374
4375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4376
4377         * BufferView.C (removeAutoInsets): adjust
4378         (ChangeInsets): adjust
4379
4380 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * text.C (top_y): fix bug 1110
4383
4384 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4385
4386         * errorlist.[Ch]: added
4387         * buffer.C:
4388         * BufferView.[Ch]:
4389         * BufferView_pimpl.C:
4390         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4391         instead
4392
4393 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * Makefile.am: ensure that lyx is relinked upon changes to the
4396         various "convenience" libs.
4397
4398 2003-05-20  Angus Leeming  <leeming@lyx.org>
4399
4400         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4401         files are compiled in alphabetical order again.
4402
4403         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4404
4405 2003-05-19  Angus Leeming  <leeming@lyx.org>
4406
4407         * gettext.[Ch]: remove "char const * _(char const *)".
4408
4409 2003-05-19  André Pönitz  <poenitz@gmx.net>
4410
4411         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4412
4413         * Makefile.am:
4414         * BufferView.C:
4415         * DepTable.h:
4416         * LaTeXFeatures.C:
4417         * buffer.C:
4418         * lyxfont.C:
4419         * lyxlex.h:
4420         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4421
4422 2003-05-19  André Pönitz  <poenitz@gmx.net>
4423
4424         * buffer.C:
4425         * lyxlayout.[Ch]:
4426         * lyxtextclass.[Ch]:
4427         * paragraph.C:
4428         * paragraph_funcs.[Ch]:
4429         * text2.C:
4430         * text3.C: more insetenv work
4431
4432 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * ParagraphParameters.C (params2string): small bug fixed
4435
4436 2003-05-16  André Pönitz  <poenitz@gmx.net>
4437
4438         * debug.C:
4439         * bufferview_funcs.C: patch from Kornel Benko to prevent
4440           crash when _(...) is called twice in a statement
4441
4442 2003-05-16  André Pönitz  <poenitz@gmx.net>
4443
4444         * BufferView.C:
4445         * lyxfunc.C:
4446         * text.C:
4447         * text2.C:
4448         * text3.C:
4449         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4450
4451 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * lyx_main.C (init): remove spurious static_cast
4454
4455 2003-05-14  André Pönitz  <poenitz@gmx.net>
4456
4457         * BufferView.C: fix format string
4458
4459 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * BufferView.[Ch] (insertErrors): removed
4462         * BufferView.[Ch] (showErrorList): added
4463         * buffer.C (runChkTeX):
4464         * converter.C (scanLog): call showErrorList instead of inserterrors
4465
4466 2003-05-13  André Pönitz  <poenitz@gmx.net>
4467
4468         * BufferView_pimpl.C:
4469         * buffer.C:
4470         * bufferview_func.C:
4471         * MenuBackend.C:
4472         * lyxfunc.C:
4473         * lyxrc.C:
4474         * tex-accent.C:
4475         * text3.C:
4476         * toc.C:
4477         * tabular_funcs.h: tostr() from its own header
4478
4479         * ParagraphParameters.C:
4480         * ToolbarBackend.C:
4481         * bufferparams.C:
4482         * format.C:
4483         * lyxlex_pimpl.C:
4484         * text3.C: STRCONV()
4485
4486 2003-05-12  André Pönitz  <poenitz@gmx.net>
4487
4488         * BufferView.C:
4489         * BufferView_pimpl.C:
4490         * CutAndPaste.C:
4491         * LaTeX.C:
4492         * LaTeXFeatures.C:
4493         * ParagraphParameters.C:
4494         * buffer.C:
4495         * bufferlist.C:
4496         * bufferparams.C:
4497         * bufferview_funcs.C:
4498         * converter.C:
4499         * counters.C:
4500         * debug.C:
4501         * exporter.C:
4502         * format.C:
4503         * importer.C:
4504         * lyx_cb.C:
4505         * lyx_main.C:
4506         * lyxfont.C:
4507         * lyxfunc.C:
4508         * lyxvc.C:
4509         * paragraph.C:
4510         * paragraph_funcs.C:
4511         * tabular.C:
4512         * tabular_funcs.C:
4513         * text2.C:
4514         * text3.C:  boost::format -> bformat  all over the place
4515
4516
4517 2003-05-09  André Pönitz  <poenitz@gmx.net>
4518
4519         * LColor.[Ch]: Pimpl the #include <map> away
4520
4521 2003-05-09  John Levon  <levon@movementarian.org>
4522
4523         * bufferlist.C: never remove emergency saves
4524
4525 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * Makefile.am: better lib building
4528
4529 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4532         instead.
4533         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4534         (simpleTeXSpecialChars): adjust
4535         (simpleTeXSpecialChars): adjust
4536         * paragraph.C (simpleTeXOnePar): adjust
4537         * buffer.C (makeLaTeXFile): adjust
4538
4539         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4540
4541         * text2.C (changeDepth): parlist cleanup
4542         (getColumnNearX): ditto
4543
4544         * rowpainter.C (getLabelFont): parlist cleanup
4545
4546         * bufferlist.C (newFile): parlist cleanup
4547
4548         * CutAndPaste.C (eraseSelection): parlist cleanup
4549
4550         * BufferView_pimpl.C (trackChanges): parlist cleanup
4551         (dispatch): ditto
4552
4553         * BufferView.C (lockInset): parlist cleanup.
4554         (ChangeInsets): ditto
4555
4556 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * CutAndPaste.h: Update file header.
4559
4560         * CutAndPaste.C: Update file header.
4561         Store the parts cut out of the Document in a limited_stack.
4562         (copySelection): adjust
4563         (pasteSelection): new function, takes the index in the limited stack.
4564         (nrOfParagraphs): adjust
4565         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4566         simplify error inset insertion.
4567         (checkPastePossible): adjust
4568
4569 2003-05-06  John Levon  <levon@movementarian.org>
4570
4571         * text2.C: don't cast wrap inset to float
4572
4573 2003-05-05  André Pönitz  <poenitz@gmx.net>
4574
4575         * iterator.C:
4576         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4577
4578         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4579           few naked Paragraph *.
4580
4581 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4582
4583         * bufferparams.C: Output warning if a document with missing
4584         TeX document class is loaded
4585         * exporter.C: Disable TeX exports if the document class is missing
4586         * lyxtextclass.C:
4587         * lyxtextclass.h:
4588         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4589         isTeXClassAvailable()
4590
4591 2003-05-03  John Levon  <levon@movementarian.org>
4592
4593         * BufferView.h:
4594         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4595         explicit cursor show/hide
4596
4597         * BufferView_pimpl.h:
4598         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4599         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4600
4601         * lyxfunc.C: hide cursor before dispatching.
4602
4603         * lyx_cb.C:
4604         * lyxfind.C:
4605         * text.C:
4606         * text3.C: remove explicit cursor hides
4607
4608 2003-05-02  André Pönitz  <poenitz@gmx.net>
4609
4610         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4611
4612         * undo_funcs.C:
4613         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4614           linked lists
4615
4616         * text2.C: tiny whitespace
4617
4618 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * undo_funcs.C: almost only ws changes.
4621
4622         * ParagraphList.C (splice): just return if pl is empty.
4623
4624 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * ParagraphList.C (splice): new function.
4627
4628         * CutAndPaste.C (pasteSelection): use it
4629
4630 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4631
4632         * CutAndPaste.C (pasteSelection): remove the last next and
4633         previous from this file.
4634
4635 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * CutAndPaste.C (pasteSelection): more clean up, user proper
4638         ParagraphList functions for pasteing.
4639
4640         * ParagraphList.C (insert): new function, three arg insert
4641
4642 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * ParagraphList.C (insert): new function, three arg insert
4645
4646         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4647         not on paragraphs.
4648
4649 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4652
4653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4656
4657 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4660         (copySelection): clean up a bit.
4661         (pasteSelection): use make_pair
4662
4663         * ParagraphList.C (ParagraphList): implement copy constructor
4664         (operator=): implement, base on copy constructor.
4665         (assign): new func
4666
4667         * paragraph.C (erase): return a bool
4668
4669         * paragraph_pimpl.C (erasePos): remove function, move contents...
4670         (erase): ... here. Return a bool.
4671         (erase): call erase instead of erasePos.
4672
4673 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * ParagraphList.h: define PitPosPair
4676         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4677         ParagraphList, fix a bug on pasting multiple pars
4678         * text2.C: change interface to C&P
4679
4680 2003-04-30  André Pönitz  <poenitz@gmx.net>
4681
4682         * undo_func.C: revert part of yesterday's patch 2
4683
4684 2003-04-30  John Levon  <levon@movementarian.org>
4685
4686         * LColor.C: s/tabular/table/
4687
4688 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * text3.C (dispatch): do not convert iterator -> pointer
4691         * undo_funcs.C (setCursorParUndo): ditto
4692         * text_funcs.C (transposeChars): ditto
4693
4694         * text2.C (setLayout): ws changes only
4695
4696         * text.C (breakParagraph): do not convert iterator -> pointer
4697         (insertChar): ditto
4698         (acceptChange): ditto
4699         (rejectChange): ditto
4700         (changeCase): ditto
4701         (Delete): ditto
4702         (backspace): ditto
4703
4704         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4705         pointer
4706
4707 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4708
4709         * text3.C (gotoInset): YABG (yet another bad getChar)
4710
4711 2003-04-29  André Pönitz  <poenitz@gmx.net>
4712
4713         * paragraph.h: make operator= private unimplemented as long as
4714           it is unusable
4715
4716         * ParagraphList.C: whitespace
4717
4718         * paragraph.[Ch]:
4719         * paragraph_pimpl.[Ch]:
4720         * paragraph_funcs.C:
4721         * CutAndPaste.C:
4722         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4723
4724         * text2.C:
4725           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4726
4727 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4730         * paragraph.[Ch] (erase):
4731         * paragraph_pimpl.[Ch] (erase): change return type and value
4732         * text2.C (cutSelection): some rework
4733
4734 2003-04-28  John Levon  <levon@movementarian.org>
4735
4736         * bufferlist.C: changes for unsaved changes dialog
4737
4738 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * bufferlist.C (newFile): set language (messages_) for new
4741         documents also.
4742
4743         * buffer.C (readFile): ws changes only.
4744
4745 2003-04-28  André Pönitz  <poenitz@gmx.net>
4746
4747         * undo_funcs.C:
4748         * lyxfunc.C:
4749         * buffer.[Ch]:
4750         * BufferView_pimpl.C:
4751         * BufferView.C: getParFromID related ParagraphList::iterator changes
4752
4753 2003-04-28  André Pönitz  <poenitz@gmx.net>
4754
4755         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4756           Changes
4757
4758 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * messages.C: remove one more localedir class variable.
4761
4762 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * messages.C (getLocaleDir): singleton generation function
4765         (Pimpl): use it.
4766         (Messages): add a default constructor.
4767
4768         * main.C (main): do not setup localedir here, do not call
4769         gettext_init.
4770
4771         * gettext.C (_): use it.
4772         (gettext_init): delete funciton
4773
4774 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * gettext.C (getLyXMessages): new singleton generating function.
4777
4778         * buffer.C (updateDocLang): adjust
4779
4780         * Makefile.am (messages.o): add target
4781         (main.o): remove target
4782
4783 2003-04-27  John Levon  <levon@movementarian.org>
4784
4785         * bufferlist.C:
4786         * lyx_cb.C:
4787         * lyxfunc.C:
4788         * lyxvc.C: specify cancel button in Alert::prompt
4789
4790 2003-04-26  John Levon  <levon@movementarian.org>
4791
4792         * text3.C:
4793         * lyxfunc.C:
4794         * lfuns.h:
4795         * LyXAction.C: add LFUN_INSET_SETTINGS
4796
4797         * lyxfunc.C: don't enable tabular-feature when there's
4798         just any locking inset
4799
4800 2003-04-26  John Levon  <levon@movementarian.org>
4801
4802         * bufferlist.C: re-add Cancel to buffer close question
4803
4804         * lyxfunc.C: fix import UI a bit
4805
4806 2003-04-25  John Levon  <levon@movementarian.org>
4807
4808         * gettext.C: remove the broken asserts for now
4809
4810 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * messages.C: make case where setlocale cannot comply work better.
4813
4814         * buffer.C (updateDocLang): new function
4815         (changeLanguage): use it
4816         (readFile): use it
4817
4818         * text2.C (setCounter): use B_ a bit.
4819
4820         * lyxlayout.C (Read): be sure to trim the label strings.
4821
4822         * messages.C (Messages): fix typo in comment
4823
4824         * buffer.C (readFile): set message_ after file is loaded.
4825         (makeDocBookFile): remove double return
4826         (changeLanguage): reset message_ upon language change.
4827         (B_): new func, use this to get translated buffer strings.
4828
4829         * main.C: add myself and Jean Marc as authors.
4830
4831 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * messages.[hC]: pimplify Messages, and three different pimpls to be
4834         used in different circumstances.
4835
4836         * gettext.[Ch]: change for use with new message code.
4837
4838 2003-04-24 André Pönitz <poenitz@gmx.net>
4839
4840         * factory.C: support for eqref
4841
4842 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * messages.[Ch]: add missing char
4845
4846         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4847
4848         * messages.[Ch]: New files
4849
4850 2003-04-18  John Levon  <levon@movementarian.org>
4851
4852         * BufferView.h:
4853         * BufferView.C:
4854         * BufferView_pimpl.C:
4855         * lfuns.h:
4856         * LyXAction.C:
4857         * lyxtext.h:
4858         * text2.C: remove layout-copy/paste (bug 778)
4859
4860 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4863
4864 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4867         if they succeed. Act accordingly.
4868
4869 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * text2.C (setCharFont): adjust
4872         (setCounter): adjust
4873         (insertStringAsLines): adjust
4874
4875         * text.C (leftMargin): adjust
4876         (setHeightOfRow): adjust
4877
4878         * rowpainter.C (paintFirst): adjust
4879         (paintLast): adjust
4880
4881         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4882         (outerHook): ditto
4883         (isFirstInSequence): ditto
4884         (getEndLabel): ditto
4885         (outerFont): adjust
4886
4887         * paragraph.C (getParLanguage): comment out some hard stuff.
4888
4889         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4890         (sgmlError): ditto
4891         (simpleDocBookOnePar): ditto
4892         (makeDocBookFile): use ParagraphList::iterator
4893
4894         * CutAndPaste.C (pasteSelection): adjust
4895
4896 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * text2.C (getFont): adjust
4899         (getLayoutFont): adjust
4900         (getLabelFont): adjust
4901
4902         * paragraph_funcs.C (TeXOnePar): adjust
4903
4904         * buffer.C (simpleLinuxDocOnePar): adjust
4905         (simpleDocBookOnePar): adjust
4906
4907         * CutAndPaste.C (pasteSelection): adjust
4908
4909         * BufferView.C (getEncoding): adjust
4910
4911         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4912
4913 2003-04-16  John Levon  <levon@movementarian.org>
4914
4915         * lyxfind.C: use parlist stuff for search/changes
4916
4917 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4920
4921         * text2.C (deleteEmptyParagraphMechanism): adjust
4922
4923         * text2.[Ch] (ownerParagraph): delete func (both of them
4924
4925 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4928
4929 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * ParagraphList.C: prepare for NO_NEXT
4932
4933 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * text2.C (getFont): adjust
4936         (getLayoutFont): adjust
4937         (getLabelFont): adjust
4938
4939         * paragraph.C (getFont): adjust
4940         (getLabelFont): adjust
4941         (getLayoutFont): adjust
4942
4943         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4944
4945 2003-04-15  John Levon  <levon@movementarian.org>
4946
4947         From Angus Leeming
4948
4949         * lyx_main.C: handle Include in .ui files
4950
4951 2003-04-15  John Levon  <levon@movementarian.org>
4952
4953         * MenuBackend.C: make the doc files length shorter
4954
4955         * ToolbarBackend.h:
4956         * ToolbarBackend.C: handle toolbar placement flags,
4957         Minibuffer
4958
4959 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4962         adjust
4963
4964         * paragraph_funcs.C (TeXOnePar): adjust
4965
4966         * paragraph.C (getLabelFont): add outerfont arg, adjust
4967         (getLayoutFont): ditto
4968         (simpleTeXOnePar): adjust
4969
4970         * paragraph_pimpl.C (realizeFont): delete func
4971
4972 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4975         row argument, constify cur argument.
4976
4977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * text2.C (getFont): adjust
4980         (getLayoutFont): adjust
4981         (getLabelFont): adjust
4982
4983         * paragraph_funcs.C (TeXOnePar): adjust
4984         (outerFont): new func...
4985         (realizeFont): ...moved out from here, changed this to facilitate
4986         transition
4987
4988         * paragraph.C (getFont): take outerfont as arg, adjust
4989         (simpleTeXOnePar): add outerfont arg, adjust
4990
4991         * buffer.C (simpleLinuxDocOnePar): adjust
4992         (simpleDocBookOnePar): adjust
4993
4994         * CutAndPaste.C (pasteSelection): adjust
4995
4996         * BufferView.C (getEncoding): adjust
4997
4998 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * text2.C (setCharFont): adjust
5001         (setCounter): adjust
5002
5003         * text.C (leftMargin): adjust
5004         (setHeightOfRow): adjust
5005
5006         * rowpainter.C (paintFirst): adjust
5007         (paintLast): adjust
5008
5009         * paragraph_pimpl.C (realizeFont): adjust
5010
5011         * paragraph.C (isFirstInSequence): move from here...
5012         * paragraph_funcs.C (isFirstInSequence): ...to here
5013
5014         * paragraph.C (outerHook): move from here...
5015         * paragraph_funcs.C (outerHook): ...to here
5016
5017         * paragraph.C (depthHook): move from here...
5018         * paragraph_funcs.C (depthHook): ...to here
5019
5020         * paragraph.C (getEndLabel): move from here...
5021         * paragraph_funcs.C (getEndLabel): ...to here
5022
5023         * text2.C (realizeFont): move from here...
5024         * paragraph_funcs.C (realizeFont): ...to here
5025
5026 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5029
5030 2003-04-14  Angus Leeming  <leeming@lyx.org>
5031
5032         * LColor.[Ch]: scrap LColor mathcursor.
5033
5034 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * lyxlex.[Ch] (text): delete function
5037         * trans.C (Load): adjust
5038         * paragraph_funcs.C (readParToken): adjust
5039
5040 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5043         vector<char> instead of a char[].
5044
5045         * lyxlex_pimpl.C (getString): adjust
5046         (next): adjust
5047         (lex): use getString
5048         (eatLine): adjust
5049         (nextToken): adjust
5050
5051         * lyxlex.C (text): use pimpl_->getString()
5052         (getBool): ditto
5053         (findToken): ditto
5054
5055 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5058         (makeFontEntriesLayoutSpecific): temp var for par.size()
5059         (setLayout): temp var for ownerParagraphs().end()
5060         (fullRebreak): temp var for rows().end()
5061         (selectionAsString): temp var for boost::next(startpit), realize
5062         that the while really is a regular for loop.
5063         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5064         setCursor in one place.
5065         (setParagraph): temp vr for ownerParagraphs().end()
5066         (updateCounters): make the while loop a for loop
5067         (cutSelection): temp var for ownerParagraphs().end()
5068         (updateInset): make the do {} while() a regular for loop
5069         (getCursorX): use temp vars
5070         (setCurrentFont): use temp vars
5071         (getColumnNearX): use temp vars
5072
5073 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * text.C (transformChar): use temp var for getChar
5076         (computeBidiTables): use temp var for row->par()
5077         (fill): move temp vars for row->par() and pit->layout() earlier in
5078         the function.
5079         (labelFill): use temp var for row->par()
5080         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5081         asc and desc, realize that pit never changes and that firstpit is
5082         just a duplicate and not needed. Exchange rit->par() with pit in a
5083         lot of places.
5084         (breakAgain): use a temp var for boost::next(rit)
5085         (breakAgainOneRow): ditto
5086         (breakParagraph): use a temp var for rows().begin()
5087         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5088         (cursorRightOneWord): use temp var for cursor.par() and
5089         cursor.pos(), remove usage of tmpcursor.
5090         (cursorLeftOneWord): use temp var for cursor.par() and
5091         cursor.pos() only set cur at end of function.
5092
5093 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * text.C, text2.C: exchange all usage of Paragraph::next with
5096         boost::next(ParagraphList::iterator)
5097
5098         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5099
5100         * text2.C (cursorTop): simplify implementation
5101         (cursorBottom): ditto
5102         (setParagraph): use ParagraphList::iterator
5103         (setCurrentFont): adjust
5104         (getColumnNearX): adjust
5105         (cursorRight): adjust
5106         (cursorLeft): remove usage of Paragraph::previous
5107         (cursorUpParagraph): ditto
5108         (deleteEmptyParagraphMechanism): slight cleanup
5109
5110         * text.C (isBoundary): take a Paragraph const & instead of a
5111         pointer as arg.
5112         (addressBreakPoint): ditto
5113         (leftMargin): remove usage of Paragraph::previous.
5114         (setHeightOfRow): ditto
5115         (cursorLeftOneWord): ditto
5116         (selectNextWordToSpellcheck): ditto
5117         (Delete): ditto
5118         (backspace): ditto
5119         (breakParagraph): remove one usage of Paragraph::next
5120         (redoParagraph): ditto
5121         (acceptChange): ditto
5122         (insertChar): adjust
5123         (rowBreakPoint): adjust
5124
5125         * bufferview_funcs.C (toggleAndShow): adjust
5126
5127 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5130         methods to access it.
5131         * lyxtext.h:
5132         * text.C: Added updateRowPositions to compute all row positions.
5133         Make top_y and getRowNearY() to use the cached y position
5134
5135 2003-04-11  John Levon  <levon@movementarian.org>
5136
5137         * text.C (rowBreakPoint): reintroduce the labelEnd
5138         checks, code copied from the row fill stuff. Deep voodoo.
5139
5140         * text.C (fill): add a comment and debugging for the
5141         next poor soul.
5142
5143 2003-04-11  John Levon  <levon@movementarian.org>
5144
5145         * text.C: make sure fullrow insets get wrapped to the next line,
5146         even when they're in a manual label
5147
5148 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * text2.C (insertParagraph): make it take ParagraphList::iterator
5151         as arg.
5152         (setLayout): make it return ParagraphList::iterator
5153         (redoParagraphs): ditto
5154         (setCounter): ditto
5155         (checkParagraph): ditto
5156
5157         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5158
5159         * text2.C: adjust several funcs.
5160         (realizeFont): take a ParagraphList::iterator as arg.
5161         (getLayoutFont): ditto
5162         (getLabelFont): ditto
5163         (setCharFont): ditto
5164
5165         * text.C: adjust several funcs.
5166
5167 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * text.C (selectNextWordToSpellcheck): don't accidentally
5170         skip insets
5171
5172 2003-04-10  John Levon  <levon@movementarian.org>
5173
5174         * ToolbarBackend.C (getIcon): special handling for
5175         LFUN_MATH_DELIM
5176
5177 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * text2.C (cursorRight): a getChar assert fixed
5180
5181 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * text2.C (getFont): change to take a ParagraphList::iterator
5184         instead of Paragraph*
5185         Adjust several functions.
5186
5187         * text.C (transformChar): change to take a ParagraphList::iterator
5188         instead of Paragraph*
5189         (singleWidth): ditto
5190         Adjust several functions.
5191
5192         * rowpainter.C: adjust several functions
5193         * rowpainter.h:store a ParagraphList::iterator and not a
5194         Paragraph&.
5195
5196
5197 2003-04-09  John Levon  <levon@movementarian.org>
5198
5199         * lyxfunc.C:
5200         * lfuns.h:
5201         * LyXAction.h:
5202         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5203         and the "help" bits as well
5204
5205 2003-04-09  John Levon  <levon@movementarian.org>
5206
5207         * ToolbarBackend.h:
5208         * ToolbarBackend.C: allow multiple toolbars
5209
5210 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * undo_funcs.C (setCursorParUndo): adjust
5213
5214         * text_funcs.C (transposeChars): adjust
5215
5216         * text3.C (gotoNextInset): adjust
5217         (dispatch): adjust
5218
5219         * text2.C (setLayout): adjust
5220         (changeDepth): adjust
5221         (setFont): adjust
5222         (redoParagraphs): adjust
5223         (selectionAsString): adjust
5224         (setParagraph): adjust
5225         (insertInset): adjust
5226         (cutSelection): adjust
5227         (copySelection): adjust
5228         (pasteSelection): adjust
5229         (insertStringAsLines): adjust
5230         (updateInset): adjust
5231         (setCursor): change to take a ParagraphList::iterator parameter
5232         (setCursorIntern): change to take a ParagraphList::iterator parameter
5233         (setCurrentFont): adjust
5234         (cursorLeft): adjust
5235         (cursorRight): adjust
5236         (deleteEmptyParagraphMechanism): adjust
5237
5238         * text.C (breakParagraph): adjust
5239         (insertChar): adjust
5240         (acceptChange): adjust
5241         (rejectChange): adjust
5242         (selectNextWordToSpellcheck): adjust
5243         (changeCase): adjust
5244         (Delete): adjust
5245         (backspace): adjust
5246
5247         * lyxfind.C (SearchForward): adjust
5248         (SearchBackward): adjust
5249         (nextChange): adjust
5250
5251         * lyxcursor.C (par): adjust
5252
5253         * lyxcursor.h: store a ParagraphList::iterator instead of a
5254         Paragraph*
5255
5256         * lyx_cb.C (getPossibleLabel): adjust
5257
5258         * bufferview_funcs.C (toggleAndShow): adjust
5259
5260         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5261         (dispatch): adjust
5262
5263         * BufferView.C (removeAutoInsets): adjust
5264         (lockedInsetStoreUndo): adjust
5265
5266 2003-04-09  John Levon  <levon@movementarian.org>
5267
5268         * ToolbarBackend.C: try icon without argument
5269         if with argument fails
5270
5271 2003-04-08  John Levon  <levon@movementarian.org>
5272
5273         * ToolbarBackend.h:
5274         * ToolbarBackend.C: add getIcon(), handle tooltip,
5275         and change from "Icon" to "Item".
5276
5277 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * BufferView.C (lockInset): another bad getchar crunched
5280
5281 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5282
5283         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5284         again)
5285
5286 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5287
5288         * lyxfind.C (searchForward, searchBackwards): bug 782
5289
5290 2003-04-07  John Levon  <levon@movementarian.org>
5291
5292         * paragraph.C: remove dead comment
5293
5294         * text.C: remove troublesome depth-fiddling code
5295         in leftMargin() and rightMargin() (bug 1017)
5296
5297         * text.C: fix breaking of rows in nested lists
5298         (bug 1004)
5299
5300         * text2.C (updateCounters): fix up depth values
5301         (bug 1013)
5302
5303 2003-04-07  John Levon  <levon@movementarian.org>
5304
5305         * BufferView_pimpl.C: clear message when doc finishes resizing,
5306         and after a mouse event
5307
5308         * lyxfunc.C: clear message after exiting inset
5309
5310 2003-04-07  John Levon  <levon@movementarian.org>
5311
5312         * bufferview_funcs.C: show math status not outside
5313         status in the statusbar
5314
5315 2003-04-07  John Levon  <levon@movementarian.org>
5316
5317         * lyxfunc.C: note status changed after a depth change
5318
5319 2003-04-04  Angus Leeming  <leeming@lyx.org>
5320
5321         * LaTeX.h: move AuxInfo operator==, != out of line.
5322         Remove LaTeX virtual destructor; nothing derives from it.
5323         Move operator()() out of public area and rename it startscript().
5324         Change protected for private.
5325
5326 2003-04-04  Angus Leeming  <leeming@lyx.org>
5327
5328         * lyxfunc.C:
5329         * text2.C: remove unneeded #includes.
5330
5331 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * text2.C (dEPM): fix the heigth of the next row
5334
5335 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * text.C: squashed an invalid getChar requester + some ws changes
5338
5339 2003-04-03  John Levon  <levon@movementarian.org>
5340
5341         * bufferview_funcs.h:
5342         * bufferview_funcs.C:
5343         * lyxfunc.C:
5344         * lyxtext.h:
5345         * text2.C: make getStatus work for the env depth lfuns
5346
5347 2003-04-03  John Levon  <levon@movementarian.org>
5348
5349         * bufferview_funcs.h:
5350         * bufferview_funcs.C:
5351         * lyxfunc.C:
5352         * lyxtext.h:
5353         * text2.C: parlistize decDepth(), by merging it with incDepth()
5354
5355 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * lyxrow.h: store a ParagraphList::iterator instead of a
5358         Paragraph* and adjust other class functions to suit.
5359
5360         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5361         above.
5362
5363 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * text2.C (setCursor): do not anchor to cursor row for the time being
5366
5367 2003-04-02  John Levon  <levon@movementarian.org>
5368
5369         * LyXAction.C:
5370         * lfuns.h:
5371         * lyx_main.C:
5372         * lyxtext.h:
5373         * text.C:
5374         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5375
5376 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5377
5378         * paragraph.h: make ParagraphList and ParagraphList::iterator
5379         friends of Paragraph.
5380
5381         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5382
5383         * ParagraphList.C: Use the private next_ and previous_ from
5384         Paragraph.
5385
5386 2003-04-01  John Levon  <levon@movementarian.org>
5387
5388         * ToolbarBackend.h:
5389         * ToolbarBackend.C:
5390         * Makefile.am: rename, remove defaults gunk
5391
5392         * MenuBackend.h:
5393         * MenuBackend.C: remove defaults gunk
5394
5395         * Languages.h:
5396         * Languages.C: remove defaults gunk
5397
5398         * lyx_main.h:
5399         * lyx_main.C: error out if files couldn't be found.
5400
5401 2003-04-02  John Levon  <levon@movementarian.org>
5402
5403         * text2.C: make incDepth() use parlist
5404
5405 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * undo_funcs.C (firstUndoParagraph): adjust
5408
5409         * text3.C (gotoInset): adjust
5410         (dispatch): adjust, and rewrite loop.
5411
5412         * text2.C (init): adjust, and rewrite loop.
5413         (redoParagraphs): adjust
5414         (updateInset): adjust, and rewrite loop.
5415         (deleteEmptyParagraphMechanism): adjust
5416
5417         * tabular.C (LyXTabular): adjust
5418         (SetMultiColumn): adjust
5419         (TeXRow): adjust
5420
5421         * lyxtext.[Ch] (ownerParagraph): delete function
5422         (ownerParagraphs): new function returns a ParagraphList.
5423
5424         * BufferView.C (removeAutoInsets): adjust
5425         (insertErrors): adjust
5426         (setCursorFromRow): adjust
5427
5428 2003-04-01  Angus Leeming  <leeming@lyx.org>
5429
5430         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5431         in the frontends.
5432
5433 2003-04-02  John Levon  <levon@movementarian.org>
5434
5435         * lyxtext.h:
5436         * text.C:
5437         * Makefile.am:
5438         * text_funcs.h:
5439         * text_funcs.C: make transposeChars a free function
5440
5441         * lyxrow_funcs.C: remove wrong comment
5442
5443 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * lyxtext.h: adjust
5446         * rowpainter.C: adjust
5447         * text.C: adjust
5448         * text2.C: adjust
5449         * text3.C: adjust
5450
5451         * lyxrow_funcs. [Ch]: new files
5452
5453         * lyxrow.[Ch]: remove next and previous pointers
5454         (next,previous): remove accessor functions
5455         (isParEnd): move to lyxrow_funcs
5456         (lastPos): move to lyxrow_funcs
5457         (nextRowIsAllInset): move to lyxrow_funcs
5458         (lastPrintablePos): move to lyxrow_funcs
5459         (numberOfSeparators): move to lyxrow_funcs
5460         (numberOfHfills): move to lyxrow_funcs
5461         (numberOfLabelHfills): move to lyxrow_funcs
5462         (hfillExpansion): move to lyxrow_funcs
5463
5464         * lyxfunc.C: adjust
5465
5466         * bufferview_funcs.C (toggleAndShow): adjust
5467
5468         * RowList.h: Remove class RowList from file leave just a
5469         std::list<Row>.
5470
5471         * RowList.C: delete file
5472
5473         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5474         and lyxrow_funcs.h
5475
5476 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5477
5478         * text3.C (cursorPrevious): adjust
5479         (cursorNext): adjust
5480         (dispatch): adjust
5481
5482         * text2.C (redoHeightOfParagraph): adjust
5483         (redoDrawingOfParagraph): adjust
5484         (setCursor): adjust
5485
5486         * text.C (breakParagraph): adjust
5487         (insertChar): adjust
5488         (backspace): adjust
5489
5490         * rowpainter.C (RowPainter): adjust
5491         (leftMargin): simplify and adjust
5492         (most rowpainter functions): adjust.
5493
5494         * rowpainter.h: store the row as RowList::iterator not as Row*
5495
5496         * lyxcursor.C (row): taka RowList::iterator as arg
5497         (irow): ditto
5498
5499         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5500         of Row*.
5501
5502 2003-04-01  Angus Leeming  <leeming@lyx.org>
5503
5504         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5505         stuff like bool Bool.
5506
5507 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5508
5509         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5510         rewrite a loop
5511
5512 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5515         RowList::iterator.
5516
5517         * lyxtext.h (rows): drop one version and leve a const variant that
5518         returns a RowList::iterator.
5519
5520 2003-03-31  Angus Leeming  <leeming@lyx.org>
5521
5522         * text.C (fill): ensure that the signature is the same as that in the
5523         header file.
5524
5525 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * text2.C (redoParagraphs): adjust
5528         (updateCounters): adjust
5529         (checkParagraph): adjust
5530         (getColumnNearX): adjust and reformat a bit.
5531
5532         * text.C (top_y): adjust
5533         (workWidth): adjust
5534         (leftMargin): adjust
5535         (prepareToPrint): adjust
5536         (getRow): adjust
5537         (getRowNearY): adjust
5538
5539         * lyxtext.h: make rowlist_ mutable.
5540
5541         * RowList.h: add const_iterator
5542         * RowList.C: adjust for RowList::const_iterator.
5543
5544         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5545         adjust.
5546
5547 2003-03-31  John Levon  <levon@movementarian.org>
5548
5549         * lyxrc.h:
5550         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5551
5552         * lyx_main.C: set default fonts from using lyx_gui funcs
5553
5554         * exporter.C: pdf_mode moved from lyxrc
5555
5556         * lyx_cb.C:
5557         * lyxfunc.C: changes from above
5558
5559 2003-03-31  John Levon  <levon@movementarian.org>
5560
5561         * lyx_main.C: fix to the last fix
5562
5563 2003-03-31  John Levon  <levon@movementarian.org>
5564
5565         * bufferlist.C: "Load original" -> "Load Original"
5566
5567         * converter.C:
5568         * exporter.C:
5569         * importer.C:
5570         * lyx_main.C:
5571         * format.C: more Alert cleanups
5572
5573 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * text2.C (removeParagraph): make it take a RowList::iterator as
5576         arg, adjust.
5577         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5578         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5579
5580         * text.C (anchor_row): make it take a RowList::iterator as arg,
5581         adjust.
5582         (computeBidiTables): make it take a const reference to Row instead
5583         of Row pointer, adjust.
5584         (leftMargin): make it take a RowList::iterator as arg, adjust.
5585         (rowBreakPoint): adjust
5586         (breakAgainOneRow): make it take a RowList::iterator as arg,
5587         adjust.
5588         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5589
5590         * bufferview_funcs.C (toggleAndShow): adjust
5591
5592 2003-03-30  John Levon  <levon@movementarian.org>
5593
5594         * Makefile.am:
5595         * BoostFormat.h:
5596         * boost-inst.C: moved to support
5597
5598         * several files: changes as a result
5599
5600 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * text2.C (LyXText): adjust.
5603         (init): adjust
5604         (removeRow): make it take a RowList::iterator as arg, adjust.
5605         (fullRebreak): adjust
5606         (deleteEmptyParagraphMechanism): adjust
5607         (clearPaint): adjust
5608         (postPaint): adjust
5609
5610         * text.C (top_y): adjust
5611         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5612         (breakAgain): make it take a RowList::iterator as arg, adjust.
5613         (breakParagraph): adjust
5614         (insertChar): adjust
5615         (backspace): adjust
5616
5617         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5618         need_break_row, and refresh_row.
5619
5620         * text3.C (dispatch): adjust
5621
5622         * text2.C (checkParagraph): adjust
5623         (setCursor): adjust
5624         (setCursorFromCoordinates): adjust
5625
5626         * text.C (top_y): adjust
5627         (workWidth): adjust
5628         (getRow): make it return a RowList::iterator, adjust
5629         (getRowNearY): make it return a RowList::iterator, adjust
5630
5631         * text2.C (init): adjust
5632         (insertRow): remove function
5633         (insertParagraph): adjust
5634         (redoParagraphs): adjust
5635         (fullRebreak): adjust
5636         (updateCounters): adjust
5637
5638         * text.C (top_y): rewrite to use RowList iterators.
5639         (top_y): adjust
5640         (setHeightOfRow): rewrite to sue RowList iterators.
5641         (appendParagraph): adjust
5642         (breakAgain): adjust
5643         (breakAgainOneRow): adjust
5644         (breakParagraph): adjust
5645         (getRow): adjust
5646         (getRowNearY): adjust, and remove commented code.
5647
5648         * lyxtext.h (firstRow): delete function
5649         (lastRow): delete function
5650         (rows): new function (const and non-const versions.)
5651         (insertRow): delete function
5652
5653         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5654
5655 2003-03-29  John Levon  <levon@movementarian.org>
5656
5657         * BufferView_pimpl.C: always update scrollbar top
5658         because pasting text when we're anchored could mean we
5659         miss an update altogether
5660
5661 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * text2.C (init): use rowlist_.end() and not 0.
5664         (insertRow): change to take a RowList::iterator as arg, adjust
5665         for this.
5666         (insertParagraph): change to take a RowList::iterator as arg,
5667         adjust for this.
5668         (redoParagraphs): remove some debug msgs.
5669
5670         * text.C (appendParagraph): change to take a RowList::iterator
5671         arg, adjust for this.
5672         (breakAgain): add an assert
5673         (breakAgainOneRow): ditto
5674
5675 2003-03-29  John Levon  <levon@movementarian.org>
5676
5677         * text2.C: do not clear selection after inc/decDepth
5678         (bug 550)
5679
5680 2003-03-29  John Levon  <levon@movementarian.org>
5681
5682         * BufferView.C:
5683         * buffer.C: fix broken strerrors according to Lars
5684
5685 2003-03-29  John Levon  <levon@movementarian.org>
5686
5687         * converters.C: more Alert cleanups
5688
5689 2003-03-29  John Levon  <levon@movementarian.org>
5690
5691         * bufferview_funcs.C: remove pointless Alert
5692
5693         * buffer.C: fix confusing error message when
5694         a template is chmoded 000
5695
5696 2003-03-29  John Levon  <levon@movementarian.org>
5697
5698         * BufferView.C:
5699         * BufferView.h:
5700         * BufferView_pimpl.C: Alert fixes
5701
5702         * Makefile.am:
5703         * tabular.C:
5704         * tabular-old.C: remove unused table compat reading
5705
5706 2003-03-29  John Levon  <levon@movementarian.org>
5707
5708         * BufferView.C:
5709         * buffer.C:
5710         * lyx_cb.h:
5711         * lyx_cb.C: more Alert cleanups
5712
5713         * lyxfunc.C: don't allow chktex if not latex document
5714
5715 2003-03-29  John Levon  <levon@movementarian.org>
5716
5717         * lyx_cb.C:
5718         * BufferView.C:
5719         * buffer.C: warnings pushed down from support/,
5720         kill err_alert
5721
5722 2003-03-29  John Levon  <levon@movementarian.org>
5723
5724         * lyxfunc.C: safety check for C-r (revert)
5725
5726 2003-03-29  John Levon  <levon@movementarian.org>
5727
5728         * bufferlist.h:
5729         * bufferlist.C: several UI fixes using Alert::prompt.
5730         Fix the pointless looping quit code. Fix stupid revert
5731         behaviour (bug 938)
5732
5733         * lyxvc.h:
5734         * lyxvc.C:
5735         * lyx_cb.C: use Alert::prompt
5736
5737         * lyx_main.C: remove a silly question
5738
5739         * lyxfunc.C: remove a couple of silly questions,
5740         use Alert::prompt
5741
5742 2003-03-28  John Levon  <levon@movementarian.org>
5743
5744         * text2.C: fix bug 974 (End on empty par)
5745
5746 2003-03-28  John Levon  <levon@movementarian.org>
5747
5748         * BufferView_pimpl.C:
5749         * LyXAction.C:
5750         * lfuns.h: remove do-nothing math greek lfuns
5751
5752 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * lyxgluelength.h (isValidGlueLength): add default arg on
5755         parameter 2. Remove default arg from friend in class.
5756
5757         * lyxlength.h (isValidLength): add default arg on parameter 2.
5758         Remove default arg from friend in class.
5759
5760         * text2.C (LyXText): adjust, initialize refresh_row.
5761         (init): adjust
5762         (removeRow): adjust
5763         (insertRow): adjust
5764         (insertParagraph): adjst
5765         (redoParagraphs): adjust
5766         (fullRebreak): adjust
5767         (updateCounters): adjust
5768         (deleteEmptyParagraphMechanism): first attempt at fixing a
5769         crashing bug.
5770
5771         * text.C (top_y): adjust
5772         (setHeightOfRow): adjust
5773         (getRow): adjust
5774         (getRowNearY): adjust
5775
5776         * lyxtext.h: include RowList.h
5777         (~LyXText): not needed anymore, deleted.
5778         (firstRow): modify for RowList
5779         (lastRow): new function
5780         Delete firstrow and lastrow class variables, add a Rowlist
5781         rowlist_ class variable.
5782
5783         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5784         paragraph is empty.
5785
5786         * RowList.C (insert): fix case where it == begin().
5787
5788 2003-03-26  Angus Leeming  <leeming@lyx.org>
5789
5790         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5791         the thesaurus dialog.
5792
5793 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5796
5797         * RowList.[Ch]: new files
5798
5799         * ParagraphList.C (erase): handle the case where it == begin
5800         correctly.
5801
5802 2003-03-25  John Levon  <levon@movementarian.org>
5803
5804         * Makefile.am:
5805         * aspell_local.h:
5806         * aspell.C: add new aspell support
5807
5808         * lyxrc.h:
5809         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5810         have it accessible.
5811
5812 2003-03-25  Angus Leeming  <leeming@lyx.org>
5813
5814         * lfuns.h:
5815         * LyXAction.C (init): new LFUN_INSET_INSERT.
5816
5817         * BufferView_pimpl.C (dispatch): split out part of the
5818         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5819
5820         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5821         LFUN_INSET_APPLY.
5822
5823 2003-03-25  Angus Leeming  <leeming@lyx.org>
5824
5825         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5826
5827 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5828
5829         * text2.C:
5830         * text3.C: remove useless row->height(0)
5831
5832 2003-03-25  John Levon  <levon@movementarian.org>
5833
5834         * lyxtext.h:
5835         * text2.C:
5836         * text3.C: rename the refreshing stuff to better names
5837
5838 2003-03-24  John Levon  <levon@movementarian.org>
5839
5840         * BufferView_pimpl.h:
5841         * BufferView_pimpl.C: update layout choice on a mouse
5842         press/release
5843
5844 2003-03-23  John Levon  <levon@movementarian.org>
5845
5846         * Makefile.am: fix commandtags.h reference
5847
5848 2003-03-22  John Levon  <levon@movementarian.org>
5849
5850         * BufferView_pimpl.C:
5851         * lyxtext.h:
5852         * rowpainter.C:
5853         * rowpainter.h:
5854         * text.C:
5855         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5856
5857 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5858
5859         * lyxtext.h:
5860         * text.C: take the rtl methods out of line
5861
5862 2003-03-21 André Pönitz <poenitz@gmx.net>
5863
5864         * metricsinfo.[Ch]: new files containing structures to be passed around
5865         during the two-phase-drawing...
5866
5867 2003-03-21 André Pönitz <poenitz@gmx.net>
5868
5869         * lyxtextclass.C: read 'environment' tag.
5870
5871 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * text2.C (removeRow): fix bug 964
5874
5875 2003-03-20  John Levon  <levon@movementarian.org>
5876
5877         * rowpainter.C:
5878         * text.C:
5879         * text2.C: paint cleanups. Inset::update() dropped font
5880         parameter
5881
5882 2003-03-19  John Levon  <levon@movementarian.org>
5883
5884         * lyxfunc.C: only fitcursor/markDirty if available()
5885
5886 2003-03-19  John Levon  <levon@movementarian.org>
5887
5888         * commandtags.h: rename to ...
5889
5890         * lfuns.h: ... this, and renumber / cleanup
5891
5892 2003-03-19  John Levon  <levon@movementarian.org>
5893
5894         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5895         fit the cursor after an lfun
5896
5897         * BufferView.h:
5898         * BufferView.C:
5899         * BufferView_pimpl.h:
5900         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5901
5902         * LyXAction.C: layout-character should have ReadOnly
5903
5904         * ParagraphParameters.C:
5905         * buffer.C:
5906         * bufferview_funcs.C:
5907         * lyx_cb.C:
5908         * lyxfind.C:
5909         * lyxtext.h:
5910         * text.C:
5911         * text2.C:
5912         * text3.C:
5913         * undo_funcs.C: changes from above
5914
5915 2003-03-18  John Levon  <levon@movementarian.org>
5916
5917         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5918         remove it from update()
5919
5920         * lyxfunc.C: update layout choice after an lfun
5921
5922         * text3.C: remove extra updateLayoutChoice()s
5923
5924 2003-03-18  John Levon  <levon@movementarian.org>
5925
5926         * text.C: top_y change means full repaint, fix
5927         a drawing bug with cursor movement
5928
5929 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5930
5931         * lyxtext.h:
5932         * text.C:
5933         * text2.C: anchor row on setCursor
5934
5935 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * lyxtext.h: remove almost all mutable keywords
5938         * text.C:
5939         * text2.C:
5940         * text3.C: remove const keywords accordingly
5941
5942 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5945         anon namespace
5946         (TeXEnvironment): ditto
5947         (TeXOnePar): ditto
5948
5949 2003-03-17  John Levon  <levon@movementarian.org>
5950
5951         * text.C (rowBreakPoint): remove attempt to fix displayed
5952         math insets inside a manual label
5953
5954 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * lyxtext.h: remove BufferView* as first arg from almost all class
5957         functions.
5958         * other files: adjust.
5959
5960 2003-03-17  John Levon  <levon@movementarian.org>
5961
5962         * lyxtext.h:
5963         * undo_funcs.C:
5964         * text2.C: more paint cleanups
5965
5966         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5967
5968         * rowpainter.h:
5969         * rowpainter.C: remove "smart" background painting code
5970
5971 2003-03-16  John Levon  <levon@movementarian.org>
5972
5973         * lyxtext.h:
5974         * text.C:
5975         * text2.C:
5976         * text3.C: add helper functions for setting refresh_row/y
5977
5978 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5979
5980         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5981         newline inset which *can* get inserted in the pass_thru layouts.
5982         This is primarily for literate documents.
5983
5984 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5985
5986         * buffer.C: increment LYX_FORMAT to 223
5987
5988 2003-03-14 André Pönitz <poenitz@gmx.net>
5989
5990         * textclass.h: prepare for environment handling, ws changes
5991         * lyxlayout.C: read latexheader and latexfooter tags
5992
5993 2003-03-14  John Levon  <levon@movementarian.org>
5994
5995         * text2.C: rewrite ::status() a bit
5996
5997 2003-03-13  John Levon  <levon@movementarian.org>
5998
5999         * lyxtext.h: add some docs
6000
6001 2003-03-13  John Levon  <levon@movementarian.org>
6002
6003         * lyxtext.h:
6004         * text.C:
6005         * text2.C:
6006         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6007
6008 2003-03-13  John Levon  <levon@movementarian.org>
6009
6010         * text3.C: fix appendix redrawing
6011
6012 2003-03-13  John Levon  <levon@movementarian.org>
6013
6014         * text.C (setHeightOfRow):
6015         * rowpainter.h:
6016         * rowpainter.C: make appendix mark have the text
6017           "Appendix" so the user knows what it is
6018
6019         * LColor.h:
6020         * LColor.C: s/appendixline/appendix/ from above
6021
6022 2003-03-13  John Levon  <levon@movementarian.org>
6023
6024         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6025
6026         * text.C: fix a getChar(pos) bug properly
6027
6028 2003-03-13  Angus Leeming  <leeming@lyx.org>
6029
6030         * commandtags.h:
6031         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6032         Probably only temporary. Let's see how things pan out.
6033
6034         * BufferView.C (unlockInset):
6035         * BufferView_pimpl.C (fitCursor):
6036         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6037
6038         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6039         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6040
6041         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6042         new functions that convert ParagraphParameters to and from a string.
6043
6044         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6045         BufferView::Pimpl's dispatch.
6046         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6047
6048 2003-03-13 André Pönitz <poenitz@gmx.net>
6049
6050         * lyxfunc.C:
6051         * text3.C:
6052         * factory.C: make it aware of InsetEnv
6053
6054 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * text2.C (setCursor): never ask for one past last
6057         (setCursor): add some debugging messages.
6058
6059         * text.C (singleWidth): never ask for one past last
6060         (singleWidth): ditto
6061         (leftMargin): ditto
6062         (rightMargin): ditto
6063         (rowBreakPoint): ditto
6064         (setHeightOfRow): ditto
6065         (prepareToPrint): ditto
6066
6067         * rowpainter.C (paintBackground): never ask for one past last
6068         (paintText): never ask for one past last
6069
6070         * paragraph_pimpl.C (getChar): make the assert stricter, never
6071         allow the one past last pos to be taken
6072
6073         * paragraph.C (getChar): ws changes only
6074
6075         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6076         (numberOfSeparators): ditto
6077         (numberOfHfills): ditto
6078
6079 2003-03-12  John Levon  <levon@movementarian.org>
6080
6081         * author.h:
6082         * author.C:
6083         * bufferparams.h:
6084         * bufferparams.C:
6085         * paragraph_funcs.C: fix per-buffer authorlists
6086
6087 2003-03-12  John Levon  <levon@movementarian.org>
6088
6089         * text.C: fix newline in right address
6090
6091 2003-03-12  Angus Leeming  <leeming@lyx.org>
6092
6093         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6094         duplicate those in LyXFunc::dispatch.
6095
6096         * commandtags.h:
6097         * LyXAction.C:
6098         * ToolbarDefaults.C:
6099         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6100         Add LFUN_FONTFREE_UPDATE.
6101
6102         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6103         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6104
6105         * bufferview_func.[Ch]: several new functions to facilliate
6106         transfer of data to and from the character dialog.
6107
6108 2003-03-12  John Levon  <levon@movementarian.org>
6109
6110         * buffer.C:
6111         * paragraph.h:
6112         * paragraph.C:
6113         * paragraph_funcs.C:
6114         * paragraph_pimpl.C:
6115         * sgml.C:
6116         * tabular.C:
6117         * text.C:
6118         * text3.C: remove META_NEWLINE in favour of an inset
6119
6120         * rowpainter.h:
6121         * rowpainter.C: remove paintNewline (done by inset)
6122
6123 2003-03-12  John Levon  <levon@movementarian.org>
6124
6125         * paragraph_pimpl.C: complain about bad getChar()s
6126         for a while at least
6127
6128 2003-03-12  John Levon  <levon@movementarian.org>
6129
6130         * buffer.h:
6131         * buffer.C: move paragraph read into a separate function,
6132         a little renaming to reflect that.
6133
6134         * bufferparams.h:
6135         * bufferparams.C: remove the author_ids map, not necessary now
6136
6137         * factory.h:
6138         * factory.C: moved Buffer::readInset to here
6139
6140         * paragraph_funcs.h:
6141         * paragraph_funcs.C: readParagraph free function moved from
6142         buffer.C
6143
6144         * tabular.C: name change
6145
6146 2003-03-12  John Levon  <levon@movementarian.org>
6147
6148         * buffer.C:
6149         * ParagraphParameters.C: move par params input to
6150         a read() method
6151
6152         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6153         behave like a normal read from the stream wrt reading
6154         a line vs. a \\token
6155
6156 2003-03-12  John Levon  <levon@movementarian.org>
6157
6158         * paragraph.C:
6159         * ParagraphParameters.h:
6160         * ParagraphParameters.C: move output code to a
6161         ::write() method
6162
6163 2003-03-12  John Levon  <levon@movementarian.org>
6164
6165         * BufferView.C (insertLyXFile):
6166         * buffer.h:
6167         * buffer.C:
6168         * tabular.C: use a parlist iterator for creating the
6169           document.
6170
6171 2003-03-12  John Levon  <levon@movementarian.org>
6172
6173         * buffer.C: make current_change static local not
6174           static file-scope
6175
6176 2003-03-12  John Levon  <levon@movementarian.org>
6177
6178         * buffer.C: fix insertStringAsLines for change tracking
6179
6180 2003-03-12  John Levon  <levon@movementarian.org>
6181
6182         * BufferView.C:
6183         * tabular.C:
6184         * buffer.h:
6185         * buffer.C:
6186         * bufferparams.h:
6187         * bufferparams.C: move author list into params. Rename some
6188           functions. Move the header reading into a separate token
6189           loop. Move the header token reading into BufferParams.
6190
6191 2003-03-12  John Levon  <levon@movementarian.org>
6192
6193         * changes.C: put debug inside lyxerr.debugging() checks
6194
6195 2003-03-11 André Pönitz <poenitz@gmx.net>
6196
6197         * factory.C: make it aware of InsetHFill
6198
6199 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6200
6201         * buffer.C (latexParagraphs): move function from here...
6202         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6203         args.
6204
6205 2003-03-10  Angus Leeming  <leeming@lyx.org>
6206
6207         * LyXAction.C (init): fix bug in poplating array with multiple entries
6208         with the same LFUN (spotted by JMarc).
6209
6210 2003-03-10  John Levon  <levon@movementarian.org>
6211
6212         * text.C:
6213         * text2.C: move getColumnNearX() near its
6214         only call site
6215
6216 2003-03-10  John Levon  <levon@movementarian.org>
6217
6218         * text.C: fix break before a minipage
6219
6220 2003-03-10  John Levon  <levon@movementarian.org>
6221
6222         * text.C: fix the last commit
6223
6224 2003-03-09  John Levon  <levon@movementarian.org>
6225
6226         * lyxtext.h:
6227         * text.C:
6228         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6229         bug 365 (don't break before insets unless needed). Don't
6230         return a value > last under any circumstances.
6231
6232 2003-03-09  Angus Leeming  <leeming@lyx.org>
6233
6234         * BufferView_pimpl.C (trackChanges, dispatch): call
6235         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6236
6237 2003-03-09  Angus Leeming  <leeming@lyx.org>
6238
6239         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6240         than Dialogs::showAboutlyx().
6241
6242 2003-03-09  Angus Leeming  <leeming@lyx.org>
6243
6244         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6245         than Dialogs::showTabularCreate().
6246
6247 2003-03-09  John Levon  <levon@movementarian.org>
6248
6249         * lyxtext.h:
6250         * text.C:
6251         * text2.C: 3rd arg to nextBreakPoint was always the same.
6252           Use references.
6253
6254 2003-03-08  John Levon  <levon@movementarian.org>
6255
6256         * lyxrow.C:
6257         * paragraph.C:
6258         * paragraph.h:
6259         * rowpainter.C:
6260         * text.C:
6261         * text2.C: Remove the "main" bit from the "main body"
6262           notion.
6263
6264 2003-03-08  John Levon  <levon@movementarian.org>
6265
6266         * text.C (leftMargin): The left margin of an empty
6267         manual label paragraph should not include the label width
6268         string length.
6269
6270         * text.C (prepareToPrint): don't attempt to measure hfills
6271         for empty manual label paragraphs - the answer should be 0
6272
6273 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * CutAndPaste.C: remove commented code and reindent.
6276
6277 2003-03-08  John Levon  <levon@movementarian.org>
6278
6279         * lyxfunc.h:
6280         * lyxfunc.C: move reloadBuffer()
6281
6282         * BufferView.h:
6283         * BufferView.C: to here
6284
6285         * lyxvc.C: add comment
6286
6287         * vc-backend.h:
6288         * vc-backend.C: call bv->reload() to avoid
6289           getStatus() check on MENURELOAD
6290
6291 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6292
6293         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6294         to an old format .dep file.
6295
6296 2003-03-07  Angus Leeming  <leeming@lyx.org>
6297
6298         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6299         when the LFUN_MOUSE_RELEASE should have been handled by
6300         inset->localDispatch.
6301
6302 2003-03-07  Angus Leeming  <leeming@lyx.org>
6303
6304         * BufferView_pimpl.C (dispatch):
6305         * LyXAction.C (init):
6306         * ToolbarDefaults.C (init):
6307         * commandtags.h:
6308         * lyxfunc.C (getStatus):
6309         remove LFUN_INSET_GRAPHICS.
6310
6311         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6312
6313 2003-03-07  Angus Leeming  <leeming@lyx.org>
6314
6315         * commandtags.h:
6316         * LyXAction.C (init):
6317         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6318
6319         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6320
6321         * commandtags.h:
6322         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6323
6324         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6325         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6326
6327 2003-03-07  Angus Leeming  <leeming@lyx.org>
6328
6329         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6330         remove "ert".
6331
6332 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * ParagraphList.C (front): new function
6335         (back): implement
6336
6337 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6338
6339         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6340         and top_row_offset_. removed var first_y.
6341         * text.C (top_y):
6342         * text2.C (LyXText, removeRow):
6343         * text3.C:
6344         * BufferView_pimpl.C:
6345         use these methods instead of using first_y
6346
6347 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * text2.C (pasteSelection): adjust for checkPastePossible
6350
6351         * CutAndPaste.C: remove Paragraph * buf and replace with
6352         ParagraphList paragraphs.
6353         (DeleteBuffer): delete
6354         (cutSelection): change the tc type to textclass_type
6355         (copySelection): change the tc type to textclass_type
6356         (copySelection): adjust for ParagraphList
6357         (pasteSelection): change the tc type to textclass_type
6358         (pasteSelection): adjust for Paragraphlist
6359         (nrOfParagraphs): simplify for ParagraphList
6360         (checkPastePossible): simplify for ParagraphList
6361         (checkPastePossible): remove unused arg
6362
6363         * ParagraphList.C (insert): handle the case where there are no
6364         paragraphs yet.
6365
6366         * CutAndPaste.h: make CutAndPaste a namespace.
6367
6368         * text3.C (dispatch): adjust
6369
6370         * text.C (breakParagraph): add a ParagraphList as arg
6371
6372         * paragraph_funcs.C (breakParagraph): change to take a
6373         BufferParams and a ParagraphList as args.
6374         (breakParagraphConservative): ditto
6375         (mergeParagraph): ditto
6376         (TeXDeeper): add a ParagraphList arg
6377         (TeXEnvironment): ditto
6378         (TeXOnePar): ditto
6379
6380         * buffer.C (readLyXformat2): adjust
6381         (insertStringAsLines): adjust
6382         (latexParagraphs): adjust
6383
6384         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6385         (cutSelection): adjust
6386         (pasteSelection): adjust
6387
6388         * BufferView_pimpl.C (insertInset): adjust
6389
6390 2003-03-05  Angus Leeming  <leeming@lyx.org>
6391
6392         * commandtags.h:
6393         * LyXAction.C (init):
6394         * BufferView_pimpl.C (dispatch):
6395         * lyxfunc.C (getStatus):
6396         remove LFUN_CHILD_INSERT.
6397
6398         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6399
6400 2003-03-05  Angus Leeming  <leeming@lyx.org>
6401
6402         * commandtags.h:
6403         * LyXAction.C (init):
6404         * src/factory.C (createInset):
6405         * lyxfunc.C (getStatus):
6406         * text3.C (dispatch):
6407         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6408
6409         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6410
6411 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * ParagraphList.C (insert): handle insert right before end()
6414         (erase): fix cases where it can be first or last paragraph.
6415
6416 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6419         Paragraph::next and Paragraph::previous
6420         (TeXOnePar): ditto
6421
6422         * text.C (breakParagraph): adjust
6423
6424         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6425         BufferParams& as arg.
6426         (breakParagraph): use ParagraphList::insert
6427         (breakParagraphConservative): take a Buffer* instead of a
6428         BufferParams& as arg.
6429         (breakParagraphConservative): use ParagraphList::insert.
6430
6431         * buffer.C (insertStringAsLines): un-const it
6432         (insertStringAsLines): adjust
6433
6434         * ParagraphList.C (insert): new function
6435
6436         * CutAndPaste.C (pasteSelection): adjust
6437
6438         * text.C (backspace): adjust
6439
6440         * tabular.C (SetMultiColumn): adjust
6441
6442         * CutAndPaste.C (cutSelection): adjust
6443         (pasteSelection): adjust
6444
6445         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6446         Buffer const * as arg
6447
6448         * ParagraphList.C (erase): new function
6449         * paragraph_funcs.C (mergeParagraph): use it
6450         (mergeParagraph): make it take a Buffer* instead of a
6451         BufferParams* as arg
6452
6453         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6454         as arg
6455         (breakParagraphConservative): ditto
6456
6457         * paragraph.h: remove the breakParagraph friend
6458
6459         * paragraph.C (eraseIntern): new function
6460         (setChange): new function
6461
6462         * paragraph_funcs.C (mergeParagraph): make it take a
6463         ParagraphList::iterator instead of a Paragraph *, adjust
6464         accordingly.
6465
6466         * paragraph.h: move an #endif so that the change tracking stuff
6467         also works in the NO_NEXT case.
6468
6469 2003-03-04  Angus Leeming  <leeming@lyx.org>
6470
6471         * commandtags.h:
6472         * LyXAction.C: new LFUN_INSET_MODIFY.
6473
6474         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6475         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6476
6477 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * several files: ws changes only
6480
6481         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6482         (TeXEnvironment): ditto
6483         (TeXDeeper): ditto
6484
6485         * buffer.C (makeLaTeXFile): adjust
6486         (latexParagraphs): make it take ParagraphList::iterator as args
6487
6488 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * buffer.C (latexParagraphs): adjust
6491
6492         * paragraph.C (TeXOnePar): move function...
6493         (optArgInset): move function...
6494         (TeXEnvironment): move function...
6495         * paragraph_pimpl.C (TeXDeeper): move function...
6496         * paragraph_funcs.C: ...here
6497
6498         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6499
6500 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * buffer.C (readInset): remove compability code for old Figure and
6503         InsetInfo insets
6504
6505 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * buffer.C: ws changes
6508         (readInset):
6509
6510         * BufferView_pimpl.C: ditto
6511         * author.C: ditto
6512         * buffer.h: ditto
6513         * bufferlist.h: ditto
6514         * changes.h: ditto
6515         * lyxfunc.C: ditto
6516
6517 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6518
6519         * converter.[Ch]: split into itself +
6520         * graph.[Ch]
6521         * format.[Ch]
6522         * Makefile.am: += graph.[Ch] + format.[Ch]
6523         * MenuBackend.C
6524         * buffer.C
6525         * exporter.C
6526         * importer.C
6527         * lyx_main.C
6528         * lyxfunc.C
6529         * lyxrc.C: added #include "format.h"
6530
6531 2003-02-27  Angus Leeming  <leeming@lyx.org>
6532
6533         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6534           a label.
6535
6536         * factory.C (createInset): add "label" to the factory.
6537
6538         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6539           string and do no more.
6540
6541 2003-02-27  Angus Leeming  <leeming@lyx.org>
6542
6543         * commandtags.h:
6544         * LyXAction.C (init):
6545         * factory.C (createInset):
6546         * BufferView_pimpl.C (dispatch):
6547           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6548
6549         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6550
6551         * lyxfunc.C (dispatch):
6552         * text3.C (dispatch): pass name to params2string.
6553
6554 2003-02-26  Angus Leeming  <leeming@lyx.org>
6555
6556         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6557           blocks together.
6558           Rearrange the ~includes. Strip out the unnecessary ones.
6559
6560         * factory.C (createInset): reformat.
6561           create new insets for the various LFUN_XYZ_APPLY lfuns.
6562
6563 2003-02-26  John Levon  <levon@movementarian.org>
6564
6565         * lyxrow.h:
6566         * lyxrow.C: add isParStart,isParEnd helpers
6567
6568         * paragraph.h: make isInserted/DeletedText take refs
6569
6570         * paragraph_funcs.h:
6571         * paragraph_funcs.C: remove #if 0'd code
6572
6573         * lyxtext.h:
6574         * text3.C:
6575         * text2.C:
6576         * text.C: use lyxrow helpers above.
6577           Move draw and paint routines to RowPainter.
6578           Make several methods use refs not pointers.
6579           Make backgroundColor() const.
6580           Add markChangeInDraw(), isInInset().
6581           Merge changeRegionCase into changeCase.
6582           Make workWidth() shouldn't-happen code into an Assert.
6583
6584         * rowpainter.h:
6585         * rowpainter.C: new class for painting a row.
6586
6587         * vspace.h:
6588         * vspace.C: make inPixels take a ref
6589
6590 2003-02-26  Angus Leeming  <leeming@lyx.org>
6591
6592         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6593         LFUN_REF_APPLY.
6594
6595 2003-02-25  John Levon  <levon@movementarian.org>
6596
6597         * ispell.C: give the forked command a more accurate name
6598
6599 2003-02-22  John Levon  <levon@movementarian.org>
6600
6601         * toc.h:
6602         * toc.C: make TocItem store an id not a Paragraph *
6603           (bug #913)
6604
6605 2003-02-21  Angus Leeming  <leeming@lyx.org>
6606
6607         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6608           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6609           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6610           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6611           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6612           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6613
6614         * BufferView_pimpl.C (dispatch):
6615         * LyXAction.C (init):
6616         * factory.C (createInset):
6617         * lyxfunc.C (getStatus, dispatch):
6618         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6619
6620 2003-02-21  Angus Leeming  <leeming@lyx.org>
6621
6622         * BufferView_pimpl.C (MenuInsertLyXFile):
6623         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6624         * lyxfunc.C (menuNew, open, doImport):
6625           no longer pass a LyXView & to fileDlg.
6626
6627 2003-02-21  Angus Leeming  <leeming@lyx.org>
6628
6629         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6630         * LyXAction.C: change, BIBKEY to BIBITEM.
6631         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6632         Change InsetBibKey to InsetBibitem.
6633         Change BIBKEY_CODE to BIBITEM_CODE.
6634         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6635         * factory.C: replace insetbib.h with insetbibitem.h.
6636         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6637         * paragraph.C: replace insetbib.h with insetbibitem.h.
6638         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6639         Change bibkey() to bibitem().
6640         * text.C: remove insetbib.h.
6641         * text2.C: replace insetbib.h with insetbibitem.h.
6642         change bibkey() to bibitem().
6643         * text3.C: remove insetbib.h.
6644         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6645
6646 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6647
6648         * lyxrc.C (output): enclose user email in quotes (in case there are
6649         several words)
6650
6651 2003-02-18  John Levon  <levon@movementarian.org>
6652
6653         * buffer.h: add std::
6654
6655 2003-02-17  John Levon  <levon@movementarian.org>
6656
6657         * SpellBase.h:
6658         * ispell.h:
6659         * ispell.C:
6660         * pspell.h:
6661         * pspell.C: reworking. Especially in ispell, a large
6662           number of clean ups and bug fixes.
6663
6664         * lyxfunc.C: fix revert to behave sensibly
6665
6666 2003-02-17 André Pönitz <poenitz@gmx.net>
6667
6668         * LyXAction.C:
6669         * commandtags.h: new LFUN_INSERT_BIBKEY
6670
6671         * layout.h:
6672         * lyxlayout.C:
6673         * buffer.C:
6674         * factory.C:
6675         * text.C:
6676         * text2.C:
6677         * text3.C:
6678         * paragraph.[Ch]:
6679         * paragraph_func.C: remove special bibkey handling
6680
6681 2003-02-17  John Levon  <levon@movementarian.org>
6682
6683         * text.C (Delete): fix case where delete at the end of
6684           the very first paragraph would not merge the pars
6685
6686 2003-02-17  John Levon  <levon@movementarian.org>
6687
6688         * lyxrow.C: fix lastPrintablePos()
6689
6690 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6691
6692         * bufferparams.C (writeLaTeX): add a std:here
6693
6694         * buffer.C: and remove a using directive there
6695
6696 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6697
6698         * buffer.C (makeLaTeXFile): move the code that generates the
6699           preamble...
6700
6701         * bufferparams.C (writeLaTeX): ... in this new method
6702
6703         * LaTeXFeatures.C (getEncodingSet): make const
6704           (getLanguages): make const
6705
6706         * MenuBackend.C (binding): returns the binding associated to this
6707           action
6708           (add): sets the status of each item by calling getStatus. Adds
6709           some intelligence.
6710           (read): add support for OptSubMenu
6711           (expand): remove extra separator at the end of expanded menu
6712
6713 2003-02-15  John Levon  <levon@movementarian.org>
6714
6715         * BufferView.C:
6716         * BufferView_pimpl.C:
6717         * bufferlist.h:
6718         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6719           inset code that had no actual effect. Remove unneeded status
6720           code.
6721
6722 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6725           in preamble
6726
6727 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6728
6729         * text.C (drawLengthMarker): also draw an arrow marker for
6730           symbolic lengths (medskip...)
6731
6732 2003-02-14  John Levon  <levon@movementarian.org>
6733
6734         * tabular.h:
6735         * tabular.C: better method names
6736
6737 2003-02-14  John Levon  <levon@movementarian.org>
6738
6739         * BufferView_pimpl.C:
6740         * bufferlist.C:
6741         * buffer.C:
6742         * converter.C:
6743         * lyx_cb.C:
6744         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6745           it's a more accurate name. Remove some pointless uses.
6746
6747 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6748
6749         * text2.C (LyXText): change order of initilizers to shut off
6750           warnings
6751
6752 2003-02-14  John Levon  <levon@movementarian.org>
6753
6754         * buffer.C: use ParIterator for getParFromID()
6755
6756         * paragraph.h:
6757         * paragraph.C:
6758         * paragraph_pimpl.h:
6759         * paragraph_pimpl.C: remove unused getParFromID()
6760
6761 2003-02-14  John Levon  <levon@movementarian.org>
6762
6763         * buffer.C: remove some very old #if 0'd parse code
6764
6765 2003-02-13  John Levon  <levon@movementarian.org>
6766
6767         * text.h:
6768         * text.C:
6769         * text2.C: move hfillExpansion(), numberOfSeparators(),
6770           rowLast(), rowLastPrintable(), numberofHfills(),
6771           numberOfLabelHfills() ...
6772
6773         * lyxrow.h:
6774         * lyxrow.C: ... to member functions here.
6775
6776         * paragraph.h:
6777         * paragraph.C:
6778         * lyxtext.h:
6779         * text.C: remove LyXText::beginningOfMainBody(), and call
6780           p->beginningOfMainBody() directly. Move the check for
6781           LABEL_MANUAL into the latter.
6782
6783         * text.h:
6784         * text.C:
6785         * text2.C:
6786         * vspace.C:
6787         * BufferView.h:
6788         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6789
6790         * text.h:
6791         * text.C:
6792         * text2.C:
6793         * text3.C:
6794         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6795           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6796
6797 2003-02-13  John Levon  <levon@movementarian.org>
6798
6799         * CutAndPaste.C: remove debug
6800
6801 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6802
6803         * paragraph.C (asString): remove two unused variables
6804
6805         * lyxtextclass.C (readTitleType):
6806           (Read):
6807           (LyXTextClass): handle new members titletype_ and titlename_
6808
6809         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6810
6811 2003-02-09  John Levon  <levon@movementarian.org>
6812
6813         * buffer.h:
6814         * buffer.C: replace hand-coded list with a map for the dep clean
6815
6816 2003-02-08  John Levon  <levon@movementarian.org>
6817
6818         * LaTeX.C: consolidate code into showRunMessage() helper
6819
6820 2003-02-08  John Levon  <levon@movementarian.org>
6821
6822         * lyxfind.C:
6823         * lyxtext.h:
6824         * text2.C:
6825         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6826           and pass the size in explicitly
6827
6828         * BufferView_pimpl.h:
6829         * BufferView_pimpl.C:
6830         * BufferView.h:
6831         * BufferView.C: add getCurrentChange()
6832
6833         * BufferView_pimpl.h:
6834         * BufferView_pimpl.C: handle change lfuns
6835
6836         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6837           for changes. Mark pasted paragraphs as new.
6838
6839         * support/lyxtime.h:
6840         * support/lyxtime.C:
6841         * DepTable.C: abstract time_t as lyx::time_type
6842
6843         * LColor.h:
6844         * LColor.C: add colours for new text, deleted text, changebars
6845
6846         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6847           package use "usenames" option.
6848
6849         * commandtags.h:
6850         * lyxfunc.C:
6851         * LyXAction.C: add change lfuns
6852
6853         * Makefile.am:
6854         * author.h:
6855         * author.C: author handling
6856
6857         * buffer.h:
6858         * buffer.C: add a per-buffer author list, with first entry as
6859           current author. Handle new .lyx tokens for change tracking. Output
6860           author list to .lyx file. Output dvipost stuff to .tex preamble.
6861           Bump lyx format to 222.
6862
6863         * bufferlist.h:
6864         * bufferlist.C: add setCurrentAuthor() to reset current author details
6865           in all buffers.
6866
6867         * bufferparams.h:
6868         * bufferparams.C: add param for tracking
6869
6870         * bufferview_funcs.C: output change info in minibuffer
6871
6872         * Makefile.am:
6873         * changes.h:
6874         * changes.C: add change-tracking structure
6875
6876         * debug.h:
6877         * debug.C: add CHANGES debug flag
6878
6879         * lyxfind.h:
6880         * lyxfind.C: add code for finding the next change piece
6881
6882         * lyxrc.h:
6883         * lyxrc.C: add user_name and user_email
6884
6885         * lyxrow.h:
6886         * lyxrow.C: add a metric for the top of the text line
6887
6888         * lyxtext.h:
6889         * text.C: implement accept/rejectChange()
6890
6891         * lyxtext.h:
6892         * text.C: paint changebars. Paint new/deleted text in the chosen
6893         colours. Strike through deleted text.
6894
6895         * paragraph.h:
6896         * paragraph.C:
6897         * paragraph_pimpl.h:
6898         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6899           in the current change to the insert functions. Rework erase to
6900           mark text as deleted, adding an eraseIntern() and a range-based
6901           erase(). Implement per-paragraph change lookup and
6902           accept/reject.
6903
6904         * paragraph_funcs.C: Fixup paste for change tracking.
6905
6906         * tabular.C: mark added row/columns as new.
6907
6908         * text.C: fix rowLast() to never return -1. Don't allow
6909           spellchecking of deleted text. Track transpose changes. Don't
6910           allow paragraph break or merge where appropriate.
6911
6912         * text2.C: leave cursor at end of selection after a cut.
6913
6914 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6915
6916         * text.C (getLengthMarkerHeight):
6917         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6918         visible on screen too.
6919
6920 2003-02-07  John Levon  <levon@movementarian.org>
6921
6922         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6923
6924 2003-02-05  Angus Leeming  <leeming@lyx.org>
6925
6926         * lyxserver.C (read_ready): revert my patch of 11 September last year
6927         as it sends PC cpu through the roof. Presumably this means that
6928         the lyxserver will no longer run on an Alpha...
6929
6930 2003-01-30  Angus Leeming  <leeming@lyx.org>
6931
6932         * factory.C (createInset): create an InsetCommandParam of type "index"
6933         and use it to 'do the right thing'.
6934
6935         * text2.C (getStringToIndex): ensure that cursor position is always
6936         reset to the reset_cursor position.
6937
6938 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6939
6940         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6941         disabled.
6942
6943 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6944
6945         * bufferview.C:
6946         * lyxcb.C:
6947         * lyxfunc.C: Output messages with identical spelling, punctuation,
6948         and spaces
6949
6950 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6951
6952         * MenuBackend.C (expandFormats): List only viewable export formats
6953         in "View" menu
6954
6955         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6956         message
6957
6958         * lyxfunc.C (getStatus): Make sure that formats other than
6959         "fax" can also be disabled
6960
6961 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6962
6963         * text3.C (dispatch): put the lfuns that insert insets in 3
6964         groups, and call doInsertInset with appropriate arguments.
6965         (doInsertInset): new function, that creates an inset and inserts
6966         it according to some boolean parameters.
6967
6968 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * buffer.C (readFile): remember to pass on 'par' when calling
6971         readFile recursively.
6972
6973 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6974
6975         * MenuBackend.C (expandFormats): add "..." to import formats.
6976
6977 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6978
6979         * paragraph.C (asString): Remove XForms RTL hacks.
6980
6981 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6982         * buffer.C: fix typo
6983
6984 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * Makefile.am (LIBS): delete var
6987         (lyx_LDADD): add @LIBS@ here instead.
6988
6989 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6990
6991         * Clarify the meaning of "wheel mouse jump"
6992
6993 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6994
6995         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6996         tabular in a float
6997
6998 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6999
7000         * importer.C (Loaders): do not preallocate 3 elements in the
7001         vector, since one ends up with 6 elements otherwise
7002
7003 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7004
7005         * DepTable.C (write): write the file name as last element of the
7006         .dep file (because it may contain spaces)
7007         (read): read info in the right order
7008
7009 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7010
7011         * paragraph_pimpl.C (simpleTeXBlanks):
7012         (simpleTeXSpecialChars):
7013         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7014
7015         * tabular.C (latex): add some missing case statements. Reindent.
7016
7017         * MenuBackend.C (expandToc): remove unused variable.
7018
7019 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7020
7021         * LColor.C:
7022         * LaTeX.C:
7023         * LyXAction.C:
7024         * MenuBackend.C:
7025         * buffer.C:
7026         * exporter.C:
7027         * lyxfunc.C:
7028         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7029         and the like.
7030
7031 2003-01-05  John Levon  <levon@movementarian.org>
7032
7033         * BufferView.h:
7034         * BufferView.C: add getEncoding()
7035
7036         * kbsequence.h:
7037         * kbsequence.C: do not store last keypress
7038
7039         * lyxfunc.h:
7040         * lyxfunc.C: store last keypress here instead. Pass encoding
7041           to getISOEncoded()
7042
7043 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7044
7045         * lyx_main.C (init): remove annoying error message when following
7046         symbolic links (bug #780)
7047
7048 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7049
7050         * text.C (insertChar):
7051         * lyxrc.C (getDescription): remove extra spaces
7052
7053 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7054
7055         * lyxrc.C (getDescription): remove extra spaces
7056
7057 2002-12-20  John Levon  <levon@movementarian.org>
7058
7059         * text3.C: hack fix for page up/down across tall rows
7060
7061 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7062
7063         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7064         not been invoked
7065
7066 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7067
7068         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7069         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7070         thesaurus is not compiled in
7071
7072 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7073
7074         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7075
7076 2002-12-16  Angus Leeming  <leeming@lyx.org>
7077
7078         * lyxrc.[Ch]:
7079         * lyx_main.C (init): remove override_x_deadkeys stuff.
7080
7081 2002-12-12  John Levon  <levon@movementarian.org>
7082
7083         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7084           insert. Only remove shift modifier under strict
7085           circumstances.
7086
7087 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * MenuBackend.C (expandToc): fix crash.
7090
7091 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * MenuBackend.C (expandToc): gettext on float names.
7094
7095 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7096
7097         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7098         implement bool empty() [bug 490]
7099
7100 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7103
7104 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * several files: ws changes
7107
7108 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * text2.C (setCounter): clean up a bit, use boost.format.
7111         (updateCounters): initialize par upon declaration.
7112
7113         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7114         if the layout exists. We do not just store the layout any more.
7115         (SwitchLayoutsBetweenClasses): use boost.format
7116
7117 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7118
7119         * converter.C (convert): if from and to files are the same, use a
7120         temporary files as intermediary
7121
7122 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7123
7124         * commandtags.h:
7125         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7126
7127 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7128
7129         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7130
7131 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * tabular.C (asciiPrintCell): use string(size, char) instead of
7134         explicit loop.
7135
7136         * sgml.C (openTag): fix order of arguments to string constructor
7137         (closeTag): ditto
7138
7139         * lyxfunc.C (dispatch): use boost.format
7140
7141         * lots of files: change "c" -> 'c'
7142
7143 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7144
7145         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7146
7147 2002-11-25  Angus Leeming  <leeming@lyx.org>
7148
7149         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7150
7151         * lyx_main.C (init): compile fix.
7152
7153 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * lyx_cb.C (start): boost.formatify
7156         do not include <iostream>
7157
7158         * lengthcommon.C: ws only
7159
7160         * boost-inst.C,BoostFormat.h: add more explict instantations
7161
7162 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * lots of files: handle USE_BOOST_FORMAT
7165
7166 2002-11-21  John Levon  <levon@movementarian.org>
7167
7168         * pspell.C: fix compile
7169
7170 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7171
7172         * lyxfunc.C (dispatch): use boost::format
7173         (open): ditto
7174         (doImport): ditto
7175
7176         * lyxfont.C (stateText): use boost::format
7177
7178         * lyx_main.C (LyX): use boost::format
7179         (init): ditto
7180         (queryUserLyXDir): ditto
7181         (readRcFile): ditto
7182         (parse_dbg): ditto
7183         (typedef boost::function): use the recommened syntax.
7184
7185         * importer.C (Import): use boost::format
7186
7187         * debug.C (showLevel): use boost::format
7188
7189         * converter.C (view): use boost::format
7190         (convert): ditto
7191         (move): ditto
7192         (scanLog): ditto
7193
7194         * bufferview_funcs.C (currentState): use boost::format
7195
7196         * bufferlist.C (emergencyWrite): use boost::format
7197
7198         * buffer.C (readLyXformat2): use boost::format
7199         (parseSingleLyXformat2Token): ditto
7200
7201         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7202
7203         * LaTeX.C (run): use boost::format
7204
7205         * Chktex.C (scanLogFile): use boost::format
7206
7207         * BufferView_pimpl.C (savePosition): use boost::format
7208         (restorePosition): ditto
7209         (MenuInsertLyXFile): ditto
7210
7211         * BoostFormat.h: help file for explicit instation.
7212
7213 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7214
7215         * tabular.C (latex): Support for block alignment in fixed width
7216         columns.
7217
7218 2002-11-17  John Levon  <levon@movementarian.org>
7219
7220         * BufferView_pimpl.C:
7221         * lyx_cb.C:
7222         * lyxfunc.C: split filedialog into open/save
7223
7224 2002-11-08  Juergen Vigna  <jug@sad.it>
7225
7226         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7227         by my last patch (hopefully).
7228
7229 2002-11-08  John Levon  <levon@movementarian.org>
7230
7231         * iterators.h:
7232         * iterators.C:
7233         * buffer.h:
7234         * buffer.C:
7235         * paragraph.h:
7236         * paragraph.C:
7237         * toc.h:
7238         * toc.C: ParConstIterator, and use it (from Lars)
7239
7240 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7241
7242         * lyxtextclass.[Ch]: revise and add doxygen comments
7243
7244 2002-11-07  John Levon  <levon@movementarian.org>
7245
7246         * text.C: fix progress value for spellchecker
7247
7248         * toc.C: fix navigate menu for insetwrap inside minipage
7249
7250         * paragraph_funcs.C: added FIXME for suspect code
7251
7252 2002-11-07  John Levon  <levon@movementarian.org>
7253
7254         * BufferView_pimpl.C: fix redrawing of insets
7255           on buffer switch
7256
7257 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7258
7259         * text2.C (updateCounters): fix bug 668
7260
7261 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7262
7263         * text3.C (dispatch): Do not make the buffer dirty when moving the
7264         cursor.
7265
7266 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * vc-backend.C: STRCONV
7269         (scanMaster): ditto
7270
7271         * text2.C (setCounter): STRCONV
7272
7273         * paragraph.C (asString): STRCONV
7274
7275         * lyxlength.C (asString): STRCONV
7276         (asLatexString): ditto
7277
7278         * lyxgluelength.C (asString): STRCONV
7279         (asLatexString): ditto
7280
7281         * lyxfunc.C (dispatch): STRCONV
7282         (open): ditto
7283
7284         * lyxfont.C (stateText): STRCONV
7285
7286         * importer.C (Import): STRCONV
7287
7288         * counters.C (labelItem): STRCONV
7289         (numberLabel): ditto
7290         (numberLabel): remove unused ostringstream o
7291
7292         * chset.C: STRCONV
7293         (loadFile): ditto
7294
7295         * bufferview_funcs.C (currentState): STRCONV
7296
7297         * buffer.C (readFile): STRCONV
7298         (asciiParagraph): ditto
7299         (makeLaTeXFile): ditto
7300
7301         * Spacing.C (writeEnvirBegin): STRCONV
7302
7303         * LaTeXFeatures.C (getLanguages): STRCONV
7304         (getPackages): ditto
7305         (getMacros): ditto
7306         (getBabelOptions): ditto
7307         (getTClassPreamble): ditto
7308         (getLyXSGMLEntities): ditto
7309         (getIncludedFiles): ditto
7310
7311         * LaTeX.C: STRCONV
7312         (run): ditto
7313         (scanAuxFile): ditto
7314         (deplog): ditto
7315
7316         * LString.h: add the STRCONV macros
7317
7318         * BufferView_pimpl.C (savePosition): STRCONV
7319         (restorePosition): ditto
7320         (MenuInsertLyXFile): ditto
7321
7322         * vc-backend.C (scanMaster): change from submatch[...] to
7323         submatch.str(...)
7324
7325         * funcrequest.C: include config.h
7326
7327         * factory.C: include config.h
7328
7329         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7330
7331         * box.C: include config.h
7332
7333         * LaTeX.C (scanAuxFile): change from submatch[...] to
7334         submatch.str(...)
7335         (deplog): ditto
7336
7337 2002-10-25  Angus Leeming  <leeming@lyx.org>
7338
7339         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7340
7341         * ispell.[Ch] (setError): new method.
7342         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7343         Use setError() insetead of goto END.
7344
7345         * lyx_cb.C (AutoSave): move out child process into new class
7346         AutoSaveBuffer.
7347
7348 2002-10-30  John Levon  <levon@movementarian.org>
7349
7350         * text3.C: make start appendix undoable
7351
7352 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7353
7354         * lyxlength.C (inPixels): Fix returned value.
7355
7356         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7357         environment.
7358
7359 2002-10-24  Angus Leeming  <leeming@lyx.org>
7360
7361         * lyxgluelength.h: no need to forward declare BufferParams
7362         or BufferView, so don't.
7363
7364 2002-10-21  John Levon  <levon@movementarian.org>
7365
7366         * BufferView.C: menuUndo ->undo, redo
7367
7368         * BufferView.h: document, remove dead, make some methods private
7369
7370         * paragraph_funcs.h:
7371         * paragraph_funcs.C:
7372         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7373
7374         * buffer.h:
7375         * buffer.C:
7376         * sgml.h:
7377         * sgml.C: move sgml open/close tag into sgml.C
7378
7379         * bufferview_funcs.h: unused prototype
7380
7381         * lyxfunc.h:
7382         * lyxfunc.C: remove unused
7383
7384         * lyxtext.h:
7385         * text.C: remove unused
7386
7387 2002-10-21  John Levon  <levon@movementarian.org>
7388
7389         * BufferView.h:
7390         * BufferView.C:
7391         * BufferView_pimpl.h:
7392         * BufferView_pimpl.C: fix mouse wheel handling based on
7393           patch from Darren Freeman
7394
7395 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7396
7397         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7398
7399 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7400
7401         * lyxlength.C (inPixels): Fix hanfling of negative length.
7402         Fix LyXLength::MU case.
7403
7404 2002-10-16  John Levon  <levon@movementarian.org>
7405
7406         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7407
7408 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7409
7410         * converter.C (view): add support for $$i (file name) and $$p
7411         (file path) for the viewer command. If $$i is not specified, then
7412         it is appended to the command (for compatibility with old syntax)
7413
7414 2002-10-14  Juergen Vigna  <jug@sad.it>
7415
7416         * undo_funcs.C (textHandleUndo): alter the order in which the
7417         new undopar is added to the LyXText, as we have to set first
7418         the right prev/next and then add it as otherwise the rebuild of
7419         LyXText is not correct. Also reset the cursor to the right paragraph,
7420         with this IMO we could remove the hack in "redoParagraphs()".
7421
7422 2002-10-09  Angus Leeming  <leeming@lyx.org>
7423
7424         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7425         to turn off an optimisation if a new inset is to be inserted.
7426
7427 2002-10-11 André Pönitz <poenitz@gmx.net>
7428
7429         * lyxtext.h: make some functions public to allow access
7430         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7431
7432 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7433
7434         * text3.C (dispatch): when changing layout, avoid an infinite loop
7435         [bug #652]
7436
7437 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7438
7439         * lyxrc.C (read): treat a viewer or converter command of "none" as
7440         if it were empty.
7441
7442         * MenuBackend.C (expandFormats): for an update, also allow the
7443         formats that are not viewable
7444
7445         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7446         script if it is newer than the lyxrc.defaults in user directory
7447
7448 2002-10-07 André Pönitz <poenitz@gmx.net>
7449
7450         * text.C: Vitaly Lipatov's small i18n fix
7451
7452 2002-09-25  Angus Leeming  <leeming@lyx.org>
7453
7454         * ispell.h: doxygen fix.
7455
7456 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7457
7458         * buffer.h (readFile): Add a new argument to the method, to allow
7459         reading of old-format templates.
7460
7461 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7462
7463         * toc.C (getTocList): Get TOC from InsetWrap.
7464
7465 2002-09-16  John Levon  <levon@movementarian.org>
7466
7467         * lyxfunc.C: check tabular for cut/copy too
7468
7469 2002-09-12  John Levon  <levon@movementarian.org>
7470
7471         * LyXAction.C: tidy
7472
7473         * factory.h:
7474         * factory.C: add header
7475
7476         * paragraph_funcs.h:
7477         * paragraph_funcs.C: cleanup
7478
7479 2002-09-11  John Levon  <levon@movementarian.org>
7480
7481         * PrinterParams.h: odd/even default to true
7482
7483 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7484
7485         * PrinterParams.h: update printer parameters for new xforms dialog
7486
7487 2002-09-11  Angus Leeming  <leeming@lyx.org>
7488
7489         * lyxserver.C (read_ready): re-write to make it more transparent
7490         and to make it work in coherent fashion under Tru64 Unix.
7491
7492 2002-09-11  André Pönitz <poenitz@gmx.net>
7493
7494         * commandtags.h:
7495         * LyXAction.C:
7496         * text3.C: implement LFUN_WORDSEL
7497
7498 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7501         make floatlist_ a boost::shared_ptr<FloatList>
7502
7503         * lyxtextclass.C: include FloatList.h
7504         (LyXTextClass): initialize floatlist_
7505         (TextClassTags): add TC_NOFLOAT
7506         (Read): match "nofloat" to TC_NOFLOAT and use it.
7507         (readFloat): modify call to floatlist_
7508         (floats): ditto
7509         (floats): ditto
7510
7511         * FloatList.[Ch] (FloatList): remove commented out float
7512         initialization.
7513         (erase): new function
7514
7515 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7516
7517         * MenuBackend.C (expandToc): fix crash when there is no document
7518         open
7519
7520 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7521
7522         * many files: Add insetwrap.
7523
7524 2002-09-09  John Levon  <levon@movementarian.org>
7525
7526         * text2.C: remove confusing and awkward depth wraparound
7527
7528 2002-09-09  John Levon  <levon@movementarian.org>
7529
7530         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7531
7532         * buffer.h:
7533         * buffer.C: remove getIncludeonlyList()
7534
7535         * paragraph.C:
7536         * lyxfunc.C: remove headers
7537
7538 2002-09-09  Juergen Vigna  <jug@sad.it>
7539
7540         * text.C (getColumnNearX): fix form Michael this is most
7541         probably a cut&paste bug.
7542
7543 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7546
7547         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7548         references, ws changes.
7549
7550         * text2.C (init): update counters after init
7551         (insertParagraph): no need to set counter on idividual paragraphs.
7552         (setCounter): access the counters object in the textclass object
7553         on in the buffer object.
7554         (updateCounters): ditto
7555
7556         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7557         shared_ptr<Counters> to avoid loading counters.h in all
7558         compilation units.
7559         (LyXTextClass): initialize ctrs_
7560         (TextClassTags): add TC_COUNTER, and ...
7561         (Read): use it here.
7562         (CounterTags): new tags
7563         (readCounter): new function
7564         (counters): new funtion
7565         (defaultLayoutName): return a const reference
7566
7567         * counters.C (Counters): remove contructor
7568         (newCounter): remove a couple of unneeded statements.
7569         (newCounter): simplify a bit.
7570         (numberLabel): some small formatting changes.
7571
7572         * buffer.[Ch]: remove all traces of counters, move the Counters
7573         object to the LyXTextClass.
7574
7575 2002-09-06  Alain Castera  <castera@in2p3.fr>
7576
7577         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7578         package to set the horizontal alignment on fixed width columns.
7579
7580         * lyx_sty.C:
7581         * lyx_sty.h: added tabularnewline macro def.
7582
7583         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7584
7585 2002-09-06  John Levon  <levon@movementarian.org>
7586
7587         * LyXAction.C: tooltips for sub/superscript
7588
7589         * MenuBackend.C: a bit more verbose
7590
7591         * lyxfunc.C: tiny clean
7592
7593         * undo_funcs.C: document undo_frozen
7594
7595 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * counters.C (Counters): add missing algorithm counter.
7598
7599         * text2.C (setCounter): lookup the counter with layouts latexname
7600         instead of by section number.
7601         (setCounter): use a hackish way to lookup the correct enum
7602         counter.
7603         a float name->type change
7604         reset enum couners with counter name directly instead of depth value.
7605
7606         * counters.C (Counters): remove the push_backs, change to use the
7607         float type not the float name.
7608         (labelItem): remove unused string, float name->type change
7609
7610         * counters.h: don't include vector, loose the enums and sects vectors
7611
7612 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7615         (Read): add float->TC_FLOAT to textclassTags
7616         (Read): and handle it in the switch
7617         (readFloat): new function
7618
7619         * FloatList.C (FloatList): comment out the hardcoded float
7620         definitions.
7621
7622         * lyxlayout.h: ws change.
7623
7624 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7627
7628 2002-09-03  Angus Leeming  <leeming@lyx.org>
7629
7630         * BufferView_pimpl.h: qualified name is not allowed in member
7631         declaration: WorkArea & Pimpl::workarea() const;
7632
7633         * factory.C: added using std::endl directive.
7634
7635         * text3.C: added using std::find and std::vector directives.
7636
7637 2002-08-29  André Pönitz <poenitz@gmx.net>
7638
7639         * lyxtext.h:
7640         * text2.C: remove unused member number_of_rows
7641
7642         * Makefile.am:
7643         * BufferView2.C: remove file, move contents to...
7644         * BufferView.C: ... here
7645
7646         * BufferView_pimpl.C:
7647         * factory.C: move more inset creation to factory
7648
7649         * vspace.C: avoid direct usage of LyXText, ws changes
7650
7651         * BufferView.[Ch]:
7652                 don't provide direct access to WorkArea, use two simple
7653                 acessors haveSelction() and workHeight() instead
7654
7655
7656 2002-08-29  John Levon  <levon@movementarian.org>
7657
7658         * BufferView_pimpl.C (dispatch): do not continue when
7659           no buffer
7660
7661 2002-08-28  André Pönitz <poenitz@gmx.net>
7662
7663         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7664
7665         * BufferView.h:
7666         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7667
7668 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7669
7670         * buffer.C: increment LYX_FORMAT to 221
7671
7672         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7673         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7674
7675         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7676
7677         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7678
7679 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7680
7681         * factory.C (createInset): use LyXTextClass::floats
7682
7683         * MenuBackend.C (expandFloatListInsert):
7684         (expandFloatInsert):
7685         (expandToc):
7686
7687         * text2.C (setCounter):
7688
7689         * LaTeXFeatures.C (useFloat):
7690         (getFloatDefinitions):
7691
7692         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7693
7694         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7695         floatlist_, with accessor floats().
7696
7697         * FloatList.h: remove global FloatList
7698
7699 2002-08-26  André Pönitz <poenitz@gmx.net>
7700
7701         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7702
7703         * BufferView.h:
7704         * BufferView2.C:
7705         * BufferView_pimpl.C:
7706         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7707
7708 2002-08-25  John Levon  <levon@movementarian.org>
7709
7710         * LyXAction.C: fix margin note description
7711
7712 2002-08-24  John Levon  <levon@movementarian.org>
7713
7714         * buffer.C:
7715         * bufferlist.C:
7716         * bufferview_funcs.C:
7717         * lyxfont.C:
7718         * undo_funcs.C: cleanups
7719
7720         * lyxfunc.C: disable CUT/COPY when no selection
7721
7722 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7723
7724         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7725         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7726
7727         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7728         Add backward compatibility to "mono", "gray" and "no".
7729
7730 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7731
7732         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7733         (and file_format >= 200).
7734
7735 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7736
7737         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7738
7739 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7740
7741         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7742
7743 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7744
7745         * BufferView_pimpl.C:
7746         * LyXAction.C:
7747         * buffer.C:
7748         * commandtags.h:
7749         * lyxfunc.C:
7750         * paragraph.[Ch]:
7751         * text2.C:
7752         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7753         inset and code to make it  work with the paragraph code. The inset
7754         can be anywhere in the paragraph, but will only do the expected
7755         thing in LaTeX if the layout file contains the parameter line
7756                         OptionalArgs    1
7757         (or more generally, a nonzero value) for that layout.
7758
7759 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * paragraph.h: remove the declaration of undefined counters class
7762         function.
7763
7764 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7765
7766         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7767         Dr. Richard Hawkins.
7768
7769 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7770
7771         * paragraph_funcs.h: remove some unneeded includes
7772
7773         * text.C (backspace): pasteParagraph now in global scipe
7774
7775         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7776         (pasteSelection): ditto
7777
7778         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7779         * paragraph_funcs.C (pasteParagraph): ... here
7780
7781 2002-08-20  André Pönitz <poenitz@gmx.net>
7782
7783         * commandtags.h: new LFUNs for swapping/copying table row/colums
7784
7785         * LyXAction.C:
7786         * lyxfunc.C: support for new lfuns
7787
7788 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * tabular.C:
7791         * buffer.[Ch]: remove NO_COMPABILITY stuff
7792
7793 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * boost.C (throw_exception): new file, with helper function for
7796         boost compiled without exceptions.
7797
7798         * paragraph.h:
7799         * lyxlength.C:
7800         * buffer.C:
7801         * ParameterStruct.h:
7802         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7803
7804         * bufferlist.C (emergencyWriteAll): use boost bind
7805
7806         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7807
7808         * text.C: include paragraph_funcs.h
7809         (breakParagraph): breakParagraph is now in global scope
7810
7811         * paragraph_funcs.[Ch]: new files
7812
7813         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7814         global scope
7815
7816         * buffer.C: include paragraph_funcs.h
7817         (insertStringAsLines): breakParagraph is now in global scope
7818
7819         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7820         paragraph_funcs.C
7821
7822         * CutAndPaste.C: include paragraph_funcs.h
7823         (cutSelection): breakParagraphConservative is now in global scope
7824         (pasteSelection): ditto
7825
7826         * buffer.h: declare oprator== and operator!= for
7827         Buffer::inset_iterator
7828
7829         * bufferlist.C (emergencyWrite): don't use fmt(...)
7830
7831         * text3.C: add using std::endl
7832
7833         * BufferView.C (moveCursorUpdate): remove default arg
7834
7835 2002-08-20  André Pönitz <poenitz@gmx.net>
7836
7837         * buffer.[Ch]: move inline functions to .C
7838
7839         * BufferView2.C:
7840         * BufferView_pimpl.C:
7841         * text.C:
7842         * buffer.[Ch]: use improved inset_iterator
7843
7844         * buffer.C:
7845         * paragraph.[Ch]: write one paragraph at a time
7846
7847 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7848
7849         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7850         style if style is not specified.
7851
7852 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7853
7854         * text2.C (setCounter): when searching for right label for a
7855         caption, make sure to recurse to parent insets (so that a caption
7856         in a minipage in a figure float works) (bug #568)
7857
7858 2002-08-20  André Pönitz <poenitz@gmx.net>
7859
7860         * text3.C: new file for LyXText::dispatch() and helpers
7861
7862         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7863
7864         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7865
7866 2002-08-19  André Pönitz <poenitz@gmx.net>
7867
7868         * lyxtext.h:
7869         * text.C: new LyXText::dispatch()
7870
7871         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7872
7873 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7874
7875         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7876
7877         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7878         Hebrew text.
7879
7880 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7881
7882         * Makefile.am: use $(variables) instead of @substitutions@
7883
7884 2002-08-15  André Pönitz <poenitz@gmx.net>
7885
7886         * lyxfunc.C:
7887         * BufferView_pimpl.C: streamlining mathed <-> outer world
7888         interaction
7889
7890         * commandtags.h:
7891         * LyXAction.C: remove unused LFUN_MATH
7892
7893 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7896
7897 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * paragraph.C (Paragraph): reformat a bit
7900         (cutIntoMinibuffer): use builtin InsetList function instad of
7901         doing it manually.
7902         (getInset): ditto
7903
7904         * buffer.C: include boost/bind.hpp, add using std::for_each
7905         (writeFileAscii): use ParagraphList iterators
7906         (validate): use for_each for validate traversal of paragraphs
7907         (getBibkeyList): use ParagraphList iterators
7908         (resizeInsets): use for_each to resizeInsetsLyXText for all
7909         paragraphs.
7910         (getParFromID): use ParagraphList iterators
7911
7912         * BufferView2.C (lockInset): use paragraph list and iterators
7913
7914 2002-08-14  John Levon  <levon@movementarian.org>
7915
7916         * lyxserver.C: remove spurious xforms include
7917
7918 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7919
7920         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7921
7922 2002-08-13  André Pönitz <poenitz@gmx.net>
7923
7924         * LyXAction.[Ch]:
7925         * lyxfunc.C: further cleaning
7926
7927 2002-08-13  André Pönitz <poenitz@gmx.net>
7928
7929         * funcrequest.h: new constructor
7930
7931         * funcrequest.C: move stuff here from .h
7932
7933         * Makefile.am:
7934         * BufferView_pimpl.C:
7935         * LyXAction.C:
7936         * toc.C:
7937         * lyxfunc.C: subsequent changes
7938
7939         * lyxfunc.h: new view() member function
7940
7941         * lyxfunc.C: subsequent changes
7942
7943 2002-08-13  Angus Leeming  <leeming@lyx.org>
7944
7945         * BufferView2.C:
7946         * BufferView_pimpl.C:
7947         * buffer.C:
7948         * converter.C:
7949         * importer.C:
7950         * lyxfunc.C:
7951         * lyxvc.C:
7952         * toc.C:
7953         * vc-backend.C:
7954         changes due to the changed LyXView interface that now returns references
7955         to member variables not pointers.
7956
7957 2002-08-13  Angus Leeming  <leeming@lyx.org>
7958
7959         * WordLangTuple (word, lang_code): return references to strings,
7960         not strings.
7961
7962         * BufferView.h:
7963         * SpellBase.h:
7964         * lyxtext.h: forward-declare WordLangTuple.
7965
7966         * BufferView2.C:
7967         * ispell.C:
7968         * pspell.C:
7969         * text.C: #include "WordLangTuple.h".
7970
7971         * lyxtext.h:
7972         * text.C: (selectNextWordToSpellcheck): constify return type.
7973
7974 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7975
7976         * buffer.C:
7977         * buffer.h:
7978         * lyxtext.h:
7979         * paragraph.C:
7980         * paragraph_pimpl.h:
7981         * text.C:
7982         * text2.C:
7983         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7984         suggested by Angus.
7985         Made updateCounter always count from start of buffer, and removed
7986         second argument (par).
7987         Reverted floats number display to '#'. Perhaps I'll try again when the
7988         code base is sanitized a bit.
7989
7990 2002-08-12  Angus Leeming  <leeming@lyx.org>
7991
7992         * buffer.[Ch] (getLabelList): constify.
7993
7994 2002-08-07  André Pönitz <poenitz@gmx.net>
7995
7996         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7997
7998         * funcrequest.h: extension to keep mouse (x,y) position
7999
8000 2002-08-12  Juergen Vigna  <jug@sad.it>
8001
8002         * BufferView2.C (insertErrors): forbid undo when inserting error
8003         insets.
8004
8005         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8006
8007 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * ParagraphList.[Ch]: new files
8010
8011         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8012
8013         * BufferView2.C (lockInset): ParagraphList changes
8014         * toc.C: ditto
8015         * text2.C: ditto
8016         * bufferlist.C: ditto
8017         * buffer.h: ditto
8018         * buffer.C: ditto
8019
8020 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8023         unused class variable counter_,
8024
8025         * paragraph.[Ch] (getFirstCounter): delete unused function
8026
8027         * counters.C: include LAssert.h
8028         (reset): add a new function with no arg, change other version to
8029         not have def. arg and to not allow empty arg.
8030
8031         * text2.C (setCounter): remove empty arg from call to Counters::reset
8032
8033 2002-08-11  John Levon  <levon@movementarian.org>
8034
8035         * Makefile.am: add WordLangTuple.h
8036
8037 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8040         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8041
8042         * insets/insettext.C: InsetList changes
8043
8044         * graphics/GraphicsSupport.C (operator()): InsetList changes
8045
8046         * toc.C (getTocList): InsetList changes
8047
8048         * paragraph_pimpl.[Ch]: InsetList changes
8049
8050         * paragraph.[Ch]: InsetList changes
8051
8052         * buffer.C (inset_iterator): InsetList changes
8053         (setParagraph): ditto
8054         * buffer.h (inset_iterator): ditto
8055         * iterators.C (operator++): ditto
8056         * iterators.h: ditto
8057
8058         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8059
8060         * InsetList.[Ch]: new files, most InsetList handling moved out of
8061         paragraph.C.
8062
8063         * BufferView2.C (removeAutoInsets): InsetList changes
8064         (lockInset): ditto
8065         (ChangeInsets): ditto
8066
8067 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * paragraph_pimpl.h (empty): new function
8070
8071         * paragraph.[Ch] (empty): new function
8072
8073         * other files: use the new Paragraph::empty function
8074
8075 2002-08-09  John Levon  <levon@movementarian.org>
8076
8077         * lyxtext.h: remove unused refresh_height
8078
8079 2002-08-09  John Levon  <levon@movementarian.org>
8080
8081         * Makefile.am:
8082         * sgml.h:
8083         * sgml.C:
8084         * buffer.C:
8085         * paragraph.h:
8086         * paragraph.C: move sgml char escaping out of paragraph
8087
8088         * paragraph.h:
8089         * paragraph.C: remove id setter
8090
8091         * buffer.C:
8092         * paragraph.C:
8093         * paragraph_pimpl.C: remove dead tex_code_break_column
8094
8095         * bufferview_funcs.C: small cleanup
8096
8097         * lyxfunc.C: remove dead proto
8098
8099         * lyxtext.h: make some stuff private. Remove some dead stuff.
8100
8101         * lyxgluelength.C: make as[LyX]String() readable
8102
8103 2002-08-08  John Levon  <levon@movementarian.org>
8104
8105         * LyXAction.h:
8106         * LyXAction.C:
8107         * MenuBackend.C:
8108         * ToolbarDefaults.C:
8109         * lyxfunc.C:
8110         * lyxrc.C:
8111         * toc.C: lyxaction cleanup
8112
8113 2002-08-08  John Levon  <levon@movementarian.org>
8114
8115         * BufferView2.C: small cleanup
8116
8117         * lyxfind.h:
8118         * lyxfind.C: move unnecessary header into the .C
8119
8120 2002-08-08  John Levon  <levon@movementarian.org>
8121
8122         * funcrequest.h: just tedious nonsense
8123
8124         * lyx_main.h:
8125         * lyx_main.C: cleanups
8126
8127         * buffer.C:
8128         * vspace.C: remove dead header lyx_main.h
8129
8130 2002-08-07  Angus Leeming  <leeming@lyx.org>
8131
8132         * Paragraph.[Ch]:
8133         * paragraph_pimpl.h:
8134         Forward declare class Counters in paragraph.h by moving the ctrs member
8135         variable into Paragraph::Pimpl.
8136         (counters): new method, returning a reference to pimpl_->ctrs.
8137
8138         * text2.C: ensuing changes.
8139
8140 2002-08-07  John Levon  <levon@movementarian.org>
8141
8142         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8143
8144         * BufferView_pimpl.C: announce X selection on double/triple
8145           click
8146
8147         * lyx_main.C: use correct bool in batch dispatch
8148
8149         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8150
8151 2002-08-07  André Pönitz <poenitz@gmx.net>
8152
8153         * funcrequest.h: new class to wrap a kb_action and its argument
8154
8155         * BufferView.[Ch]:
8156         * BufferView_pimpl[Ch]:
8157         * LaTeX.C:
8158         * LyXAction.[Ch]:
8159         * lyxfunc.[Ch]:
8160         * lyxrc.C: subsequent changes
8161
8162
8163 2002-08-07  John Levon  <levon@movementarian.org>
8164
8165         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8166           document options change.
8167
8168 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8169
8170         * counters.[Ch]
8171         * text2.C
8172         * paragraph.[Ch]
8173         * makefile.am: move counters functionality over from
8174         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8175
8176 2002-08-06  John Levon  <levon@movementarian.org>
8177
8178         * WordLangTuple.h: new file for word + language code tuple
8179
8180         * SpellBase.h:
8181         * pspell.h:
8182         * pspell.C:
8183         * ispell.h:
8184         * ispell.C:
8185         * lyxtext.h:
8186         * text.C:
8187         * text2.C:
8188         * BufferView.h:
8189         * BufferView2.C: use WordLangTuple
8190
8191         * layout.h:
8192         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8193
8194 2002-08-06  John Levon  <levon@movementarian.org>
8195
8196         * lyx_main.C: fix cmdline batch handling
8197
8198 2002-08-06  André Pönitz <poenitz@gmx.net>
8199
8200         * lyxrc.C: set default for show_banner to true
8201
8202 2002-08-06  John Levon  <levon@movementarian.org>
8203
8204         * pspell.C: fix a crash, and allow new aspell to work
8205
8206 2002-08-06  John Levon  <levon@movementarian.org>
8207
8208         * lyxfunc.C:
8209         * kbmap.C: small cleanup
8210
8211         * vspace.h:
8212         * vspace.C: add const
8213
8214 2002-08-05  John Levon  <levon@movementarian.org>
8215
8216         * LyXAction.C: back to tabular-insert
8217
8218 2002-08-04  John Levon  <levon@movementarian.org>
8219
8220         * BufferView.h:
8221         * BufferView.C: cosmetic change
8222
8223         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8224
8225         * bufferlist.C:
8226         * buffer.h:
8227         * buffer.C:
8228         * lyxcb.h:
8229         * lyxcb.C:
8230         * lyxserver.C:
8231         * lyxvc.C:
8232         * vc-backend.C:
8233         * BufferView2.C: purge all "Lyx" not "LyX" strings
8234
8235         * lyxcursor.h:
8236         * lyxcursor.C: attempt to add some documentation
8237
8238         * lyxfunc.C:
8239         * commandtags.h:
8240         * LyXAction.C:
8241         * ToolbarDefaults.C:
8242         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8243           merge with LFUN_TABULAR_INSERT
8244
8245         * Makefile.am:
8246         * SpellBase.h:
8247         * ispell.h:
8248         * ispell.C:
8249         * pspell.h:
8250         * pspell.C: split up i/pspell implementations into separate
8251           files, many cleanups
8252
8253         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8254
8255         * text2.C: some cleanup
8256
8257         * lyxfunc.C: don't check for isp_command == "none" any more, it
8258           didn't make any sense
8259
8260 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8261
8262         * counters.[Ch]
8263         * text2.C
8264         * paragraph.[Ch]
8265         * makefile.am: move counters functionality over
8266         from text2.C/paragraph.[Ch] to counters.[Ch], and
8267         make proper C++.
8268 2002-08-02  John Levon  <levon@movementarian.org>
8269
8270         * buffer.C: s/lyxconvert/lyx2lyx/
8271
8272 2002-08-02  Angus Leeming  <leeming@lyx.org>
8273
8274         * lyxlex.C: revert John's change as it breaks reading of the user
8275         preamble.
8276
8277 2002-08-02  Angus Leeming  <leeming@lyx.org>
8278
8279         * importer.C (Import):
8280         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8281         changes due to LyXView::view() now returning a boost::shared_ptr.
8282
8283 2002-08-02  John Levon  <levon@movementarian.org>
8284
8285         * lyxlex.C: small cleanup
8286
8287 2002-08-02  John Levon  <levon@movementarian.org>
8288
8289         * text2.C (status): small cleanup, no logic change
8290
8291 2002-08-01  John Levon  <levon@movementarian.org>
8292
8293         * buffer.h:
8294         * buffer.C (writeFile): don't output alerts, caller
8295           handles this
8296
8297         * bufferlist.C:
8298         * lyx_cb.C: from above
8299
8300         * lyxfunc.C: allow to open non-existent files
8301
8302 2002-07-31  John Levon  <levon@movementarian.org>
8303
8304         * lyxserver.C: don't let incidental errors get
8305           in the way (errno)
8306
8307 2002-07-30  John Levon  <levon@movementarian.org>
8308
8309         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8310
8311 2002-07-30  John Levon  <levon@movementarian.org>
8312
8313         * lyxserver.h:
8314         * lyxserver.C: remove I/O callback too
8315
8316 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8317
8318         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8319         log.
8320
8321 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * many files: strip,frontStrip -> trim,ltrim,rtrim
8324
8325 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * PrinterParams.h: remove extern containsOnly, and include
8328         support/lstrings.h instead.
8329
8330         * LaTeX.C (scanAuxFile): modify because of strip changes
8331         (deplog): ditto
8332         * buffer.C (makeLaTeXFile): ditto
8333         * bufferparams.C (writeFile): ditt
8334         * lyxfont.C (stateText): ditto
8335         * lyxserver.C (read_ready): ditto
8336         * vc-backend.C (scanMaster): ditto
8337
8338         * BufferView_pimpl.h: ws changes
8339
8340         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8341
8342 2002-07-26  André Pönitz <poenitz@gmx.net>
8343
8344         * kb_sequence.C: remove unnedred usings
8345
8346 2002-07-26  Juergen Vigna  <jug@sad.it>
8347
8348         * lyxfind.C (LyXReplace): we have to check better if the returned
8349         text is not of theLockingInset()->getLockingInset().
8350
8351 2002-07-25  Juergen Vigna  <jug@sad.it>
8352
8353         * lyxfind.C (LyXReplace): don't replace if we don't get the
8354         right LyXText.
8355
8356         * undo_funcs.C (createUndo): remove debugging code.
8357
8358 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8359
8360         * buffer.C (parseSingleLyXformat2Token): Use default placement
8361         when reading old floats.
8362
8363         * FloatList.C (FloatList): Change the default placement of figure
8364         and tables to "tbp".
8365
8366 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8367
8368         * MenuBackend.C: using std::max
8369
8370 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8371
8372         * MenuBackend.C (expandToc):
8373         (expandToc2): code moved from xforms menu frontend. It is now
8374         generic and TOCs are transparent to menu frontends.
8375
8376 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8377
8378         * toc.C (getTocList): protect against buf=0
8379
8380         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8381         Menu as first parameter. Now, this calls itself recursively to
8382         expand a whole tree (this will be useful for TOC handling)
8383         (expandFloatInsert): remove 'wide' version of floats
8384
8385         * MenuBackend.h (submenuname): returns the name of the submenu.
8386         (submenu): returns the submenu itself, provided it has been
8387         created by MenuBackend::expand
8388
8389 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8390
8391         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8392         insets which have noFontChange == true. (bug #172)
8393
8394 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * BufferView_pimpl.C: add connection objects and use them...
8397         (Pimpl): here.
8398
8399 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8400
8401         * MenuBackend.C (expandLastfiles):
8402         (expandDocuments):
8403         (expandFormats):
8404         (expandFloatListInsert):
8405         (expandFloatInsert):
8406         (expand): split expand in parts
8407
8408 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8409
8410         * lyx_gui.C: use lyx_gui::exit()
8411
8412 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8413
8414         * LyXAction.C: show the failing pseudo action
8415
8416 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8417
8418         * buffer.C (readFile): Run the lyxconvert script in order to read
8419         old files.
8420
8421 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8422
8423         * LyXAction.C:
8424         * commandtags.h:
8425         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8426
8427 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * LyXAction.C:
8430         * commandtags.h:
8431         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8432
8433 2002-07-22  Herbert Voss  <voss@lyx.org>
8434
8435         * lengthcommon.C:
8436         * lyxlength.[Ch]: add support for the vertical lengths
8437
8438 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * toc.[Ch]: std:: fixes
8441
8442 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * lyxrc.C: do not include lyx_main.h
8445
8446         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8447         for layouts
8448
8449         * lyxrc.C:
8450         * encoding.C:
8451         * bufferlist.C:
8452         * BufferView2.C: include "lyxlex.h"
8453
8454         * tabular.h:
8455         * bufferparams.h: do not #include "lyxlex.h"
8456
8457         * lyxtextclasslist.C (Add): remove method
8458         (classlist): renamed to classlist_
8459
8460         * paragraph_pimpl.C:
8461         * paragraph.C:
8462         * text2.C:
8463         * CutAndPaste.C:
8464         * bufferview_funcs.C:
8465         * bufferlist.C:
8466         * text.C:
8467         * LaTeXFeatures.C:
8468         * buffer.C:
8469         * toc.C (getTocList): use BufferParams::getLyXTextClass
8470
8471         * toc.C (getTocList): use InsetFloat::addToToc
8472
8473         * toc.[Ch]: new files, containing helper functions to handle table
8474         of contents
8475
8476         * lyxfunc.C (dispatch): no need to remove spaces around command
8477         given as a string
8478         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8479         first command of the sequence; it is not very clever, but I do not
8480         have a better idea, actually
8481
8482         * LyXAction.C (LookupFunc): make sure to remove space at the
8483         beginning and end of the command
8484
8485 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8486
8487         * MenuBackend.C (getMenubar): new method: return the menubar of
8488         this menu set
8489         (read): treat differently reading of menu and menubar (in
8490         particular, the menubar has no name now)
8491         (Menu::menubar): remove
8492
8493         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8494         saving is finished
8495
8496 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8497
8498         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8499         a bibitem inset in a RTL paragraph.
8500
8501 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8502
8503         * paragraph_pimpl.C: constify
8504
8505         * BufferView_pimpl.C:
8506         * LaTeX.C:
8507         * lyxfunc.C: fix dispatch in a nicer way
8508
8509 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8510
8511         * lyxfunc.C (dispatch):
8512         * BufferView_pimpl.C:
8513         * BufferView_pimpl.h:
8514         * BufferView.C:
8515         * BufferView.h: rename Dispatch() to dispatch()
8516
8517         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8518
8519         * lyxlayout.C (Read): honor DependsOn tag
8520
8521         * lyxlayout.[Ch] (depends_on): new method
8522
8523         * version.C.in: update lyx_docversion
8524
8525         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8526
8527         * paragraph.C (validate): remove from here...
8528         * paragraph_pimpl.C (validate): ... and move here
8529         (isTextAt): make it const
8530
8531         * buffer.C (getLists): ws cleanup
8532
8533 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8534
8535         * language.C (read): Use iso8859-1 encoding in latex_lang
8536         (this prevents LyX from crashing when using iso10646-1 encoding).
8537
8538 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * text2.C (toggleInset): if cursor is inside an inset, close the
8541         inset and leave cursor _after_ it
8542
8543 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * lyxfunc.C: move minibuffer completion handling out of here
8546
8547 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * BufferView_pimpl.C:
8550         * LaTeX.C: fix dispatch calls
8551
8552 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8553
8554         * text.C (drawChars): Fix Arabic text rendering.
8555
8556 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * LyXAction.C:
8559         * commandtags.h:
8560         * lyxfunc.C: remove message-push/pop
8561
8562         * lyxserver.C:
8563         * lyxfunc.h:
8564         * lyxfunc.C: rationalise some code by removing verboseDispatch
8565           in favour of a bool argument to dispatch()
8566
8567 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8568
8569         * lyx_main.C (init): make sure to read symlinks as absolute paths
8570
8571 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * lyxfunc.h:
8574         * lyxfunc.C: no need for commandshortcut to be a member
8575
8576 2002-07-15  André Pönitz <poenitz@gmx.net>
8577
8578         * converter.C: add support for $$s (scripts from lib/scripts dir)
8579         * lyx_main.C: white space
8580
8581 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * bufferlist.C:
8584         * lyxrc.h:
8585         * lyxrc.C: remove second exit confirmation
8586
8587 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * BufferView.h:
8590         * BufferView.C:
8591         * BufferView2.C:
8592         * BufferView_pimpl.h:
8593         * BufferView_pimpl.C:
8594         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8595
8596 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8597
8598         * MenuBackend.C (expand): add numeric shortcuts to document menu
8599
8600         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8601
8602 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8603
8604         * lyxfont.C (setLyXFamily):
8605         (setLyXSeries):
8606         (setLyXShape):
8607         (setLyXSize):
8608         (setLyXMisc):
8609         (lyxRead):
8610         * debug.C (value):
8611         * buffer.C (asciiParagraph): use ascii_lowercase
8612
8613 2002-07-15  Mike Fabian  <mfabian@suse.de>
8614
8615         * lyxlex_pimpl.C (search_kw):
8616         * lyxlex.C (getLongString):
8617         * converter.h (operator<):
8618         * converter.C (operator<):
8619         * buffer.C (parseSingleLyXformat2Token):
8620         (asciiParagraph):
8621         * ToolbarDefaults.C (read):
8622         * MenuBackend.C (checkShortcuts):
8623         (read):
8624         * LColor.C (getFromGUIName):
8625         (getFromLyXName): use the compare_ascii_no_case instead of
8626         compare_no_case, because in turkish, 'i' is not the lowercase
8627         version of 'I', and thus turkish locale breaks parsing of tags.
8628
8629 2002-07-16  Angus Leeming  <leeming@lyx.org>
8630
8631         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8632         now takes a Buffer const & argument.
8633
8634 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * BufferView.C (resize): check there's a buffer to resize
8637
8638 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * lyxfunc.C: remove dead code
8641
8642         * lyxserver.h:
8643         * lyxserver.C: use lyx_guii::set_read_callback
8644
8645 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8646
8647         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8648         an inset in a RTL paragraph.
8649
8650 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * lyxfunc.C: repaint after a font size update
8653
8654 2002-07-15  André Pönitz <poenitz@gmx.net>
8655
8656         * lyxlength.C: inBP should be able to return negative values
8657
8658 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * lyxfunc.C: use lyx_gui::update_fonts()
8661
8662 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * lyxfunc.C: use lyx_gui::update_color()
8665
8666 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8667
8668         * bufferlist.C:
8669         * lyxfunc.h:
8670         * lyxfunc.C:
8671         * lyxrc.h:
8672         * lyxrc.C: remove file->new asks for name option, and let
8673           buffer-new take an argument
8674
8675 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * BufferView_pimpl.C: remove unneeded extra repaint()
8678
8679 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8680
8681         * LyXAction.C: allow command-sequence with NoBuffer
8682
8683         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8684
8685 2002-07-10  Angus Leeming  <leeming@lyx.org>
8686
8687         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8688
8689 2002-07-09  Angus Leeming  <leeming@lyx.org>
8690
8691         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8692
8693 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8694
8695         * lengthcommon.h: whitespace
8696
8697         * lyxfunc.C: update scrollbar after goto paragraph
8698
8699         * lyxtext.h: factor out page break drawing, and fix it so
8700           page break/added space paints as selected nicely
8701
8702 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * BufferView_pimpl.C: add FIXMEs, clean up a little
8705
8706 2002-07-09  André Pönitz <poenitz@gmx.net>
8707
8708         * lyxfont.[Ch]: support for wasy symbols
8709
8710 2002-07-08  André Pönitz <poenitz@gmx.net>
8711
8712         * BufferView_pimpl.C: apply John's patch for #93.
8713
8714 2002-07-05  Angus Leeming  <leeming@lyx.org>
8715
8716         * BufferView_pimpl.C (buffer): generate previews if desired.
8717
8718         * LColor.h: add "preview" to the color enum.
8719
8720         * LColor.C (LColor): add a corresponding entry to the items array.
8721
8722         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8723         with this buffer.
8724
8725 2002-07-05  Angus Leeming  <leeming@lyx.org>
8726
8727         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8728         The body of the code is now in the method that is passed an ostream &
8729         rather than a file name.
8730         Pass an additional only_preamble parameter, useful for the forthcoming
8731         preview stuff.
8732
8733 2002-07-03  André Pönitz <poenitz@gmx.net>
8734
8735         * lyxfunc.C: simplify getStatus() a bit for math stuff
8736
8737 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8738
8739         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8740
8741 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8742
8743         * text.C (changeRegionCase): do not change case of all the
8744         document when region ends at paragraph end (bug #461)
8745
8746 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * paragraph.C (startTeXParParams):
8749         (endTeXParParams): add \protect when necessary
8750
8751 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * BufferView_pimpl.C (workAreaExpose): remove warning
8754
8755 2002-06-27  Angus Leeming  <leeming@lyx.org>
8756
8757         * Makefile.am: add lyxlayout_ptr_fwd.h.
8758
8759 2002-06-26  André Pönitz <poenitz@gmx.net>
8760
8761         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8762
8763 2002-06-25  Angus Leeming  <leeming@lyx.org>
8764
8765         * lyxfunc.C (dispatch): Comment out the call to
8766         grfx::GCache::changeDisplay. The method no longer exists now that the
8767         pixmap generation part of the graphics loader has been moved into
8768         InsetGraphics.
8769
8770 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8771
8772         * text2.C: layout as layout
8773
8774         * text.C: layout as layout
8775
8776         * tabular.C (OldFormatRead): layout as layout
8777
8778         * paragraph_pimpl.C (TeXDeeper): layout as layout
8779         (realizeFont): layout as layout
8780
8781         * paragraph.C (writeFile): layout as layout
8782         (validate): layout as layout
8783         (getFont): layout as layout
8784         (getLabelFont): layout as layout
8785         (getLayoutFont): layout as layout
8786         (breakParagraph): layout as layout
8787         (stripLeadingSpaces): layout as layout
8788         (getEndLabel): layout as layout
8789         (getMaxDepthAfter): layout as layout
8790         (applyLayout): layout as layout
8791         (TeXOnePar): layout as layout
8792         (simpleTeXOnePar): layout as layout
8793         (TeXEnvironment): layout as layout
8794         (layout): layout as layout
8795         (layout): layout as layout
8796
8797         * lyxtextclass.C (compare_name): new functor to work with
8798         shared_ptr, layout as layout
8799         (Read): layout as layout
8800         (hasLayout): layout as layout
8801         (operator): layout as layout
8802         (delete_layout): layout as layout
8803         (defaultLayout): layout as layout
8804
8805         * lyxlayout_ptr_fwd.h: new file
8806
8807         * lyxlayout.C (Read): layout as layout
8808
8809         * lyx_cb.C (MenuInsertLabel): layout as layout
8810
8811         * bufferlist.C (newFile): layout as layout
8812
8813         * buffer.C (readLyXformat2): layout as layout
8814         (parseSingleLyXformat2Token): layout as layout
8815         (insertStringAsLines): layout as layout
8816         (asciiParagraph): layout as layout
8817         (latexParagraphs): layout as layout
8818         (makeLinuxDocFile): layout as layout
8819         (simpleLinuxDocOnePar): layout as layout
8820         (makeDocBookFile): layout as layout
8821         (simpleDocBookOnePar): layout as layout
8822         (getLists): layout as layout
8823
8824         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8825
8826         * CutAndPaste.C (cutSelection): layout as layout
8827         (pasteSelection): layout as layout
8828         (SwitchLayoutsBetweenClasses): layout as layout
8829
8830         * BufferView_pimpl.C (Dispatch): layout as layout
8831         (smartQuote): layout as layout
8832
8833         * BufferView2.C (unlockInset): layout as layout
8834
8835 2002-06-24  André Pönitz <poenitz@gmx.net>
8836
8837         * lyxfunc.C: fix #487
8838
8839 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * lyxrc.h:
8842         * lyxrc.C:
8843         * lyxfunc.C: remove display_shortcuts, show_banner
8844
8845 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * Buffer_pimpl.C: oops, update on resize
8848
8849 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * buffer.C:
8852         * converter.C:
8853         * exporter.C:
8854         * lyxfunc.C:
8855         * BufferView.h:
8856         * BufferView.C: use repaint()
8857
8858         * BufferView_pimpl.h:
8859         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8860           as it's a clearer description. Remove superfluous
8861           redraws.
8862
8863 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * text.C: fix bug 488. Not ideal, but getting
8866           getWord() to work properly for the insets that
8867           matter is more difficult ...
8868
8869 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * BufferView_pimpl.C:
8872         * LyXAction.C:
8873         * commandtags.h:
8874         * lyxfunc.C: remove the six million index lyxfuncs to just
8875           one, and DTRT (bug 458)
8876
8877 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * BufferView.h:
8880         * BufferView.C:
8881         * BufferView_pimpl.h:
8882         * BufferView_pimpl.C: clean up resize() stuff,
8883           and unnecessary updateScreen()s
8884
8885 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8886
8887         * BufferView.h:
8888         * BufferView.C:
8889         * BufferView_pimpl.h:
8890         * BufferView_pimpl.C:
8891         * lyxfind.h:
8892         * lyxfind.C:
8893         * minibuffer.C: remove focus management of workarea,
8894           not needed. Use screen's greyOut()
8895
8896 2002-06-17  Herbert Voss  <voss@lyx.org>
8897
8898         * converter.C: (convert) do not post a message, when converting
8899         fails, let the calling function decide what to do in this case
8900
8901 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * lyxfunc.C: tidy up a little
8904
8905 2002-06-16    <alstrup@diku.dk>
8906
8907         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8908         Got rid of FORMS_H_LOCATION include. Now we are
8909         GUII.
8910
8911 2002-06-15  LyX Development team  <lyx@rilke>
8912
8913         * buffer.[Ch] (sgmlOpenTag):
8914         (sgmlCloseTag): Added support for avoiding pernicious mixed
8915         content. Return number of lines written.
8916
8917         (makeLinuxDocFile):
8918         (makeDocBookFile): Fixed calls to sgml*Tag.
8919         Simple white space clean.
8920
8921         (simpleDocBookOnePar): Simple white space clean.
8922
8923         * tabular.[Ch] (docBook): Renamed to docbook and got another
8924         argument to related with the pernicious mixed content.
8925
8926         (docbookRow): Fixed calls for docbook inset method.
8927
8928 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8929
8930         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8931         so it's X11 independent.
8932
8933         * kb*.[Ch]: ditto.
8934
8935         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8936
8937 2002-06-15  Lyx Development team  <lyx@electronia>
8938
8939         * intl.h: Renamed getTrans to getTransManager.
8940
8941 2002-06-14  Angus Leeming  <leeming@lyx.org>
8942
8943         * Makefile.am: nuke forgotten stl_string_fwd.h.
8944
8945 2002-06-12  Angus Leeming  <leeming@lyx.org>
8946
8947         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8948
8949 2002-06-13  Angus Leeming  <leeming@lyx.org>
8950
8951         * LaTeX.C:
8952         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8953
8954 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8955
8956         * kbmap.C (getiso): add support for cyrillic and greek
8957
8958 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView.h:
8961         * BufferView.C:
8962         * BufferView_pimpl.h:
8963         * BufferView_pimpl.C: move bogus scrolling logic
8964           to xforms
8965
8966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8967
8968         * lyxfunc.C:
8969         * BufferView_pimpl.C: view->resize() change
8970
8971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8972
8973         * BufferView_pimpl.C: topCursorVisible
8974           prototype change
8975
8976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * Makefile.am:
8979         * lyx_gui.h:
8980         * lyx_gui.C: move to frontends/
8981
8982         * main.C:
8983         * lyx_main.h:
8984         * lyx_main.C: changes from above
8985
8986 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * intl.C:
8989         * intl.h:
8990         * kbmap.C:
8991         * kbsequence.C:
8992         * lyx_cb.C:
8993         * lyx_main.C: minor tidy
8994
8995 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8996
8997         * BufferView_pimpl.h:
8998         * BufferView_pimpl.C:
8999         * BufferView.h:
9000         * BufferView.C: make painter() const,
9001           remove dead code
9002
9003         * BufferView2.C: use screen() accessor
9004
9005         * lyx_main.h:
9006         * lyx_main.C: some minor cleanup
9007
9008 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9009
9010         * BufferView_pimpl.h:
9011         * BufferView_pimpl.C: remove enter/leaveView,
9012           use workHeight()
9013
9014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * BufferView.h:
9017         * BufferView.C:
9018         * BufferView2.C:
9019         * BufferView_pimpl.h:
9020         * BufferView_pimpl.C: only construct screen once,
9021           rename
9022
9023         * lyxrc.C: remove pointless comment
9024
9025 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * BufferView.h:
9028         * BufferView.C: remove active() and belowMouse()
9029
9030         * BufferView_pimpl.h:
9031         * BufferView_pimpl.C: use workarea() not workarea_,
9032           and make it use a scoped_ptr instead
9033
9034 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * lyx_gui.C: add debug message on BadWindow
9037
9038 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9039
9040         * sp_spell.C: fdopen is not part of the C++ standard.
9041
9042         * paragraph.C (InsetIterator): use >= instead of ==
9043
9044 2002-06-07  Angus Leeming  <leeming@lyx.org>
9045
9046         Fixes needed to compile with Compaq cxx 6.5.
9047         * BufferView_pimpl.C:
9048         * DepTable.C:
9049         * buffer.C:
9050         * converter.C:
9051         * encoding.C:
9052         * lyx_gui.C:
9053         * lyx_main.C:
9054         * lyxtextclasslist.C:
9055         * minibuffer.C:
9056         * sp_spell.C:
9057         * tabular_funcs.C:
9058         * vc-backend.C:
9059         all c-library variables have been moved into namespace std. Wrap
9060         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9061
9062         * lyxlength.C:
9063         * tabular-old.C:
9064         * tabular.C:
9065         Add a using std::abs declaration.
9066
9067         * kbmap.h (modifier_pair):
9068         * paragraph.h (InsetTable, InsetList):
9069         * lyxfont.h (FontBits):
9070         type definition made public.
9071
9072         * bufferlist.C (emergencyWriteAll): the compiler complains that
9073         there is more than one possible lyx::class_fun template to choose from.
9074         I re-named the void specialisation as lyx::void_class_fun.
9075
9076         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9077
9078         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9079         the compiler is is unable to find tostr in write_attribute.
9080
9081 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * buffer.C (sgmlError): hide #warning
9084
9085 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * xtl/*: get rid of xtl, which is not in use anyway
9088
9089         * LyXAction.C (init):
9090         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9091         were unimplemented xtl experimentation
9092
9093 2002-06-04  André Pönitz <poenitz@gmx.net>
9094
9095         * lyxfunc.C: disable array operation on simple formulae
9096
9097 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9098
9099         * converter.C: constify a bit
9100
9101 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9102
9103         * lyx_gui.C: check xforms version correctly
9104
9105 2002-04-30  Herbert Voss  <voss@lyx.org>
9106
9107         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9108         "keep" option
9109
9110 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9111
9112         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9113           attempt to register it with a VCS)
9114
9115 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9116
9117         * lyx_main.C (init): honor variables LYX_DIR_13x and
9118         LYX_USERDIR_13x
9119
9120 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * buffer.h:
9123         * buffer.C:
9124         * lyx_main.C: fix a crash on bad command line,
9125           and give a useful exit status on error
9126
9127         * lyxfunc.C (doImport): allow -i lyx to work
9128
9129 2002-03-30  André Pönitz <poenitz@gmx.net>
9130
9131         * lyxfunc.C: mathed font changes
9132
9133 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9134
9135         * LaTeX.C:
9136         * importer.h:
9137         * importer.C:
9138         * lyx_sty.h:
9139         * lyx_sty.C:
9140         * lyxlex.C:
9141         * lyxrow.h:
9142         * lyxtext.h:
9143         * paragraph.h:
9144         * paragraph.C:
9145         * texrow.h:
9146         * texrow.C:
9147         * text.C:
9148         * trans_mgr.h: srcdocs, and some minor cleanups
9149
9150 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9151
9152         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9153         call getFont all the time)
9154
9155 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9156
9157         * switch from SigC signals to boost::signals
9158
9159 2002-05-29  André Pönitz <poenitz@gmx.net>
9160
9161         * paragraph_pimpl.C (getChar): don't call size() too often...
9162
9163 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9164
9165         * paragraph_pimpl.C (insertChar): do not try to update tables when
9166         appending (pos == size())
9167
9168         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9169         in order to reduce drastically the number of comparisons needed to
9170         parse a large document
9171
9172 2002-05-29  André Pönitz <poenitz@gmx.net>
9173
9174         * text.C:
9175         * text2.C:
9176         * lyxtextclass.C:
9177         * sp_pspell.h:
9178         * textclasslist.[Ch]:
9179         * sp_ispell.h: whitespace change
9180
9181 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9182
9183         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9184         lyxaction directly now.
9185
9186 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * trans.C:
9189         * lyxfont.C:
9190         * lyxvc.C: remove unused headers
9191
9192 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * Makefile.am:
9195         * buffer.h:
9196         * undostack.h:
9197         * undostack.C:
9198         * undo_funcs.h:
9199         * undo_funcs.C: some cleanups. Use shared_ptr
9200           and a template for the undo stacks.
9201
9202 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * BufferView_pimpl.h:
9205         * BufferView_pimpl.C:
9206         * kbmap.h:
9207         * kbmap.C:
9208         * kbsequence.h:
9209         * kbsequence.C:
9210         * lyxfunc.h:
9211         * lyxfunc.C:
9212         * text2.C: use key_state/mouse_state
9213
9214 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9215
9216         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9217         and LSubstring
9218
9219         * chset.C: change include order
9220         (loadFile): use boost regex and get rid of LRegex and LSubstring
9221
9222         * Makefile.am (BOOST_LIBS): new variable
9223         (lyx_LDADD): use it
9224
9225         * LaTeX.C: change include order.
9226         (scanAuxFile): use boost regex and get rid of LRegex and
9227         LSubstring
9228         (deplog): ditto
9229
9230 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * ColorHandler.h:
9233         * ColorHandler.C:
9234         * FontInfo.h:
9235         * FontInfo.C: moved to frontends/xforms/
9236
9237         * FontLoader.h:
9238         * FontLoader.C: moved into frontends for GUIIzation
9239
9240         * Makefile.am:
9241         * lyx_gui.C:
9242         * lyxfont.C:
9243         * lyxfunc.C: changes from above
9244
9245 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * LColor.C: remove spurious X include
9248
9249         * BufferView_pimpl.C:
9250         * Makefile.am:
9251         * font.h:
9252         * font.C:
9253         * text.C:
9254         * text2.C: move font metrics to frontends/
9255
9256 2002-05-24  Juergen Vigna  <jug@sad.it>
9257
9258         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9259         setting the undo_cursor.
9260
9261         * ParagraphParameters.h: include local includes first.
9262
9263 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * BufferView_pimpl.C:
9266         * BufferView_pimpl.h:
9267         * Makefile.am:
9268         * WorkArea.h:
9269         * WorkArea.C:
9270         * screen.C: move WorkArea into frontends/
9271
9272         * lyxscreen.h:
9273         * screen.C:
9274         * text.C:
9275         * BufferView.C:
9276         * BufferView2.C: move LyXScreen into frontends/
9277
9278         * lyxlookup.h:
9279         * lyxlookup.C:
9280         * lyx_gui.C: move lyxlookup into frontends/xforms/
9281
9282 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9283
9284         * BufferView2.C:
9285         * BufferView_pimpl.C:
9286         * FontLoader.C:
9287         * LyXView.h:
9288         * LyXView.C:
9289         * Makefile.am:
9290         * WorkArea.C:
9291         * XFormsView.h:
9292         * XFormsView.C:
9293         * buffer.C:
9294         * bufferlist.C:
9295         * bufferview_funcs.C:
9296         * converter.C:
9297         * importer.C:
9298         * lyx_cb.C:
9299         * lyx_gui.C:
9300         * lyx_main.C:
9301         * lyx_find.C:
9302         * lyxfunc.C:
9303         * lyxvc.C:
9304         * minibuffer.C:
9305         * text.C:
9306         * text2.C:
9307         * trans.C:
9308         * vc-backend.C: move LyX/XFormsView into frontends/
9309
9310 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * Makefile.am:
9313         * PainterBase.C:
9314         * PainterBase.h:
9315         * Painter.C:
9316         * Painter.h:
9317         * WorkArea.C:
9318         * WorkArea.h:
9319         * screen.C:
9320         * tabular.C:
9321         * text.C:
9322         * text2.C: move Painter to frontends/
9323
9324 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9325
9326         * buffer.C: comment out some some code that depend upon lyx_format
9327         < 220
9328
9329         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9330         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9331
9332         * buffer.h (NO_COMPABILITY): turn off compability
9333
9334         * ColorHandler.C: include scoped_array.hpp
9335
9336         * font.C: Use more specific smart_ptr header.
9337         * Painter.C: ditto
9338         * gettext.C: ditto
9339         * ShareContainer.h: ditto
9340         * lyx_main.h: ditto
9341         * kbmap.h: ditto
9342         * FontInfo.h: ditto
9343         * BufferView_pimpl.h: ditto
9344         * ColorHandler.h: ditto
9345
9346         * kbmap.C (defkey): change call to shared_ptr::reset
9347
9348 2002-05-21  Juergen Vigna  <jug@sad.it>
9349
9350         * buffer.C (insertErtContents): fix to insert ert asis if it is
9351         non empty. Skip it completely if it contains only whitespaces.
9352
9353 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * BufferView_pimpl.C:
9356         * BufferView2.C: clear selection on paste (bug 393)
9357
9358 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9359
9360         * DepTable.C: include ctime
9361
9362 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9365
9366 2002-05-14  Juergen Vigna  <jug@sad.it>
9367
9368         * text.C (breakParagraph): fixed function to honor the keepempty
9369         layout in the right maner and also to permit the right breaking
9370         algorithm on empty or non empyt keepempty paragraphs.
9371
9372         * paragraph.C (breakParagraph): we have to check also if the par
9373         is really empty (!size()) for isempty otherwise we do the wrong
9374         paragraph break.
9375
9376 2002-05-10  Juergen Vigna  <jug@sad.it>
9377
9378         * buffer.[Ch] : The following are only changes to the ert
9379         compatibility read reading old LaTeX layout and font stuff and
9380         convert it to ERTInsets.
9381
9382         * buffer.h: added isErtInset().
9383
9384         * buffer.C (struct ErtComp): add a fromlayout bool to check
9385         if we're inside a LaTeX layout.
9386         (isErtInset): new helper function.
9387         (insertErtContents): look for other ert insets before this one
9388         and insert the contents there, so that we don't have subsequent
9389         ERT insets with nothing between them. This way we create only one
9390         inset with multiple paragraphs. Also check if we don't insert only
9391         spaces ' ' as they are ignored anyway afterwards in the .tex file
9392         so if we have only spaces we will ignore this latex part in the
9393         new file.
9394         (parseSingleLyXformat2Token \\layout): better compatibility when
9395         reading layout-latex stuff.
9396         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9397         language tag.
9398         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9399         stuff after reading the inset only get the information back from
9400         the stack.
9401
9402 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9403
9404         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9405
9406         * LaTeXFeatures.C (getBabelOptions): New method.
9407
9408 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9409
9410         * BufferView_pimpl.C (Dispatch): work around missing argument for
9411         'layout'
9412
9413 2002-05-08  Juergen Vigna  <jug@sad.it>
9414
9415         * text.C (leftMargin): handle paragraph leftindent.
9416
9417         * paragraph.C (writeFile): write the new \\leftindent tag.
9418         (validate): handle leftindent code.
9419         (TeXEnvironment): handle paragraphleftindent code again.
9420
9421         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9422
9423         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9424         for paragrap_extra indent code and new token \\leftindent.
9425         (latexParagraphs): handle the leftindent as environment.
9426
9427         * ParameterStruct.h: added leftindent support.
9428
9429         * ParagraphParameters.C (leftIndent): added support functions for
9430         the paragraph left indent.
9431
9432         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9433         more appropriate.
9434
9435 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9436
9437         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9438         inside insetERT.
9439
9440         * text.C (computeBidiTables): No bidi in insetERT.
9441
9442         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9443         in RTL documents.
9444
9445 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9446
9447         * version.C.in: pre 5
9448
9449 2002-05-02  José Matos  <jamatos@fep.up.pt>
9450         * buffer.C (makeDocBookFile): white space changes, add newline to
9451         command styles.
9452         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9453
9454         * tabular.C (docBook): fix typo.
9455
9456 2002-05-03  Juergen Vigna  <jug@sad.it>
9457
9458         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9459         change in LyXText as we can not be sure it was not freed.
9460         (drawOneRow): remove unused code.
9461
9462         * text.C (drawInset): redo the calculation of the need_break_row as
9463         it could have a row which was already freed.
9464         (draw): look at the return value of drawInset and return false if
9465         it also returned false.
9466         (paintRowText): look at the return value of draw and return false if
9467         it also returned false.
9468
9469         * lyxtext.h: added bool return type to drawInset() and draw() so that
9470         if we have a change in the row so that the rowbreak has to be redone
9471         we abort drawing as it will be called again.
9472
9473 2002-05-02  Juergen Vigna  <jug@sad.it>
9474
9475         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9476         a change in the maintext also if we're inside an inset.
9477         (Dispatch): set the cursor again after a break line and after the
9478         screen has been updated as it could be we're in a different row.
9479
9480         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9481         to set the cursor behind the pargraph with > size().
9482         (setCursor): check also for the same paragraph when checking where
9483         to put the cursor if we have a NFR inset.
9484
9485         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9486         parts of layout read further up as it still was in the wrong
9487         position.
9488
9489 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * screen.C (drawFromTo): change sine fullRebreak always return
9492         true.
9493
9494         * buffer.C (parseSingleLyXformat2Token): reindent some
9495
9496         * BufferView_pimpl.C (update): change since fullRebreak always
9497         return true.
9498         (Dispatch): git rid of the last hardcoded "Standard"s.
9499
9500 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9501
9502         * text2.[Ch] (fullRebreak): make it return void now that we always
9503         returned true.
9504
9505 2002-04-30  Juergen Vigna  <jug@sad.it>
9506
9507         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9508         ert compatibility check for "latex" layout.
9509
9510 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9511
9512         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9513         minipages: use col% instead of p%, and also use the current font.
9514         (makeLaTeXFile): Fix use babel condition.
9515         (parseSingleLyXformat2Token): Correct font when reading old floats.
9516
9517 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9520         inserting list of floats.
9521
9522 2002-04-25  Herbert Voss  <voss@lyx.org>
9523
9524         * MenuBackend.C (expand): don't add the graphics extensions to the
9525         export menu
9526
9527 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9530         non-existing layout, do not complain if it was the default layout
9531         of the original class (bug #342)
9532
9533 2002-04-24  Juergen Vigna  <jug@sad.it>
9534
9535         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9536         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9537
9538 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9539
9540         * buffer.C (getBibkeyList): If using \bibliography, return the
9541         option field with the reference itself. Enables us to provide natbib
9542         support when using \bibliography.
9543
9544 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9545
9546         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9547
9548         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9549         natbib is provided by the LaTeX class.
9550
9551 2002-04-23  Juergen Vigna  <jug@sad.it>
9552
9553         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9554         Wakeup functions.
9555
9556         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9557
9558 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9561
9562         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9563         ensuremath around textordmasculine, textordfeminine and
9564         textdegree.
9565
9566 2002-04-19  Juergen Vigna  <jug@sad.it>
9567
9568         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9569         reinitializing the buffer otherwise row-dimensions may be wrong.
9570         (update): reset also the selection cursors if they do exits otherwise
9571         their x/y positions may be wrong.
9572
9573         * text2.C (cursorDown): don't enter the inset if we came from a row
9574         above and are one row over the inset.
9575
9576         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9577         really leaving an inset.
9578
9579 2002-04-18  Juergen Vigna  <jug@sad.it>
9580
9581         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9582         of the selected paragraph does not have the selected layout also if
9583         the last one had!
9584
9585         * text2.C (setLayout): fixed bug which did not change last selected
9586         paragraph.
9587
9588         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9589         changed the read and substituted \\end_float with \\end_inset!
9590
9591         * BufferView_pimpl.C (cursorPrevious):
9592         (cursorNext): fixed to make it work with rows heigher than the work
9593         area without moving the cursor only the draw of the row.
9594         (workAreaMotionNotify): fix jumping over high rows.
9595
9596 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9599         Ressler.
9600
9601 2002-04-16  Juergen Vigna  <jug@sad.it>
9602
9603         * text2.C (setCursor): set also the irow().
9604         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9605         (cursorUp):
9606         (cursorDown): support for locking an inset if the x_fix value goes
9607         inside it. That way I can transverse insets too with cursor up/down.
9608
9609         * lyxrow.h: added irow helper function same as other (i) functions.
9610
9611         * BufferView_pimpl.C (cursorPrevious):
9612         (cursorNext): fixed for insets!
9613
9614 2002-04-15  Juergen Vigna  <jug@sad.it>
9615
9616         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9617         position otherwise it is wrong in some cases.
9618
9619         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9620         inside the inset before the call.
9621
9622 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9623
9624         * buffer.[Ch] (getBibkeyList): make it const.
9625
9626 2002-04-12  Juergen Vigna  <jug@sad.it>
9627
9628         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9629
9630         * text2.C (getCursorX): new helper function
9631         (setCursor): compute also ix_
9632         (setCursorFromCoordinates): set also ix.
9633
9634         * lyxcursor.h: added ix_ and helper functions.
9635
9636         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9637
9638         * buffer.C (insertStringAsLines): dont break paragraph if the this
9639         paragraph is inside an inset which does not permit it!
9640
9641         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9642         also with no chars on this paragraph.
9643         (paintRowText): only paint stuff if it's inside the workarea!
9644
9645         * paragraph.C (breakParagraph): honor keepempty flag and break the
9646         paragraph always below not above.
9647
9648         * BufferView2.C (unlockInset): update the paragraph layout on inset
9649         unlock as we changed paragraph in such a case.
9650
9651         * lyxfind.C (LyXFind): clear the former selection if not found!
9652
9653         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9654         again called in insertChar().
9655
9656         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9657         an inset which uses the whole row!
9658         (rightMargin): ditto.
9659         (insertChar): force a rebreak if we inserted an inset!
9660
9661 2002-03-28  Herbert Voss  <voss@lyx.org>
9662
9663         * lyxlength.[Ch]: add inBP() to get the right PS-point
9664         units (BigPoint). With inPixels we have rounding errors
9665
9666 2002-04-11  Juergen Vigna  <jug@sad.it>
9667
9668         * text2.C (setCursorFromCoordinates): set iy to the right value.
9669         (setCursor): add check if row->previous exists!
9670
9671         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9672         an old float_type as this was the case in the old code!
9673
9674         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9675
9676         * BufferView2.C (showLockedInsetCursor): use iy
9677         (fitLockedInsetCursor): ditto
9678
9679         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9680         locked insets as there we have the right value now.
9681
9682         * lyxcursor.C: added iy_ variable and iy functions to set to the
9683         baseline of cursor-y of the locked inset.
9684
9685         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9686         (setCursor): fixed for insets which need a full row.
9687
9688         * text.C (rowLastPrintable): don't ignore the last space when before
9689         an inset which needs a full row.
9690         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9691         as last character of a row when before a inset which needs a full row.
9692
9693 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9694
9695         * version.C.in: update date
9696
9697         * text2.C (fullRebreak): try to always return true and see what
9698         happens...
9699
9700 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9701
9702         * MenuBackend.C (expand): use Floating::listName
9703
9704         * FloatList.C (FloatList): add listName argument to the built-in
9705         floats
9706
9707         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9708         text associated with the float.
9709
9710 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9713
9714 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * ShareContainer.h: add a couple of missing typenames.
9717
9718 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9719
9720         * lyxrc.C (getDescription): use _() correctly rather than N_().
9721
9722 2002-03-28  Herbert Voss  <voss@lyx.org>
9723
9724         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9725         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9726
9727 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9728
9729         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9730         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9731
9732 2002-03-29  Juergen Vigna  <jug@sad.it>
9733
9734         * lyxfunc.C (dispatch): add a missing fitCursor call.
9735
9736         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9737         it was scrolled by a cursor move, so return the bool status.
9738
9739         * BufferView.C (fitCursor): return the bool flag also to the outside
9740         world as this is needed.
9741
9742         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9743
9744         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9745         call the edit() as it is not needed (and wrong) IMO.
9746         (workAreaButtonPress): set the screen_first variable before evt.
9747         unlock the inset as this may change screen_first and then we have
9748         a wrong y position for the click!
9749
9750 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * MenuBackend.C (expand): another translation that I missed
9753
9754 2002-03-28  Juergen Vigna  <jug@sad.it>
9755
9756         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9757
9758         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9759
9760 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9761
9762         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9763
9764         * MenuBackend.C (expand): fix export/view/update when there is no
9765         document open.
9766
9767 2002-03-27  Herbert Voss  <voss@lyx.org>
9768
9769         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9770         and text%
9771
9772 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * bufferview_funcs.C (currentState): only show paragraph number
9775         for is DEVEL_VERSION is set.
9776
9777         * lyxfunc.C (dispatch): put warning in INFO channel
9778
9779         * MenuBackend.C (expand): translate the name of floats
9780
9781         * FloatList.C (FloatList): mark the float names for translation
9782
9783         * converter.C (convert): use LibScriptSearch
9784
9785 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * MenuBackend.C (defaults): fix default menu (we might as well get
9788         rid of it...)
9789
9790 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9791
9792         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9793         directory.
9794
9795 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * lyxvc.C: reorder includes.
9798
9799 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9802           properly
9803
9804 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9805
9806         * CutAndPaste.C: change layouts earlier on paste
9807           to avoid crashing when calling getFont()
9808
9809 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9810
9811         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9812         irritating #error.
9813
9814 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * WorkArea.C: remove 'Pending' debug message.
9817
9818         * most files: ws cleanup
9819
9820         * buffer.[Ch]: ws changes
9821
9822         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9823
9824 2002-03-21  Juergen Vigna  <jug@sad.it>
9825
9826         * tabular.C (SetMultiColumn): collapse also the contents of the
9827         cells and set the last border right. Added a Buffer const * param.
9828
9829 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9830
9831         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9832         linking or not.
9833
9834 2002-03-19  Juergen Vigna  <jug@sad.it>
9835
9836         * text2.C (clearSelection): reset also xsel_cache.
9837
9838         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9839         where it needs to be called (John tells us to do so too :)
9840         (selectionLost): reset sel_cache.
9841
9842         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9843
9844 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * text2.C (setCursorIntern): put debuging code in INSETS channel
9847
9848 2002-03-19  André Pönitz <poenitz@gmx.net>
9849
9850         * lyxfunc.C: tiny whitespace change
9851
9852 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * ToolbarDefaults.C (init):
9855         * LyXAction.C (init):
9856         * commandtags.h:
9857         * BufferView_pimpl.C (Dispatch):
9858         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9859
9860 2002-03-19  Allan Rae  <rae@lyx.org>
9861
9862         * exporter.C (Export): removeAutoInsets before doing anything else.
9863         While I've just introduced a dependency on BufferView this really is
9864         the best place to clean the buffer otherwise you need to cleanup in
9865         a dozen places before calling export or cleanup in a dozen functions
9866         that export calls.
9867
9868         * converter.C (runLaTeX):
9869         (scanLog): Better handling of removeAutoInsets and screen updates.
9870
9871         * lyxfunc.C (dispatch): small whitespace changes
9872
9873 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * WorkArea.C (C_WorkAreaEvent): return a value.
9876         (event_cb): return 1 if we handled the event, 0 otherwise.
9877
9878         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9879
9880 2002-03-18  Juergen Vigna  <jug@sad.it>
9881
9882         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9883         (GetAdditionalWidth): ditto.
9884         (RightLine): ditto.
9885         (LeftLine): ditto.
9886
9887         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9888         inset if we're there actually (probably not used right now but this
9889         is the direction to go for unifying code).
9890         (paste): disable code to clear the selection.
9891
9892         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9893         inside an InsetText and move the check further up as it is in the
9894         wrong place.
9895
9896         * text2.C (pasteSelection): set a selection over the pasted text.
9897
9898 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9899
9900         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9901         and libgraphics to build on Cygwin.
9902
9903 2002-03-15  Juergen Vigna  <jug@sad.it>
9904
9905         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9906         inserting an Inset into the paragraph. I know this is not the best
9907         fix but we already use current_view in CutAndPaste so we will remove
9908         all of it's using at the same time.
9909
9910         * buffer.C (sgmlError): deactivated function till it is rewritten in
9911         the right mode, now it can create problems.
9912
9913         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9914         before accessing it.
9915
9916 2002-03-14  Juergen Vigna  <jug@sad.it>
9917
9918         * undo_funcs.C (textHandleUndo): do the right thing when updating
9919         the inset after the undo/redo.
9920
9921         * text2.C (setCursor): just some testcode for #44 not ready yet.
9922
9923         * undo_funcs.C (textHandleUndo): set the next() and previous()
9924         pointers of the paragraph to 0 before deleting otherwise we have
9925         problems with the Paragraph::[destructor].
9926
9927         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9928         on a paragraph insertion.
9929
9930 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9931
9932         * buffer.C (asciiParagraph): use += operator for char append to
9933         string.
9934
9935         * paragraph.C (getFontSettings): compare >= not just >
9936         (highestFontInRange): ditto
9937         (setFont): ditto
9938
9939 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9940
9941         * paragraph.C: change several algorithm to be more appripriate for
9942         the problem domain. This is lookip in FontList and in the InsetList.
9943
9944 2002-03-13  André Pönitz <poenitz@gmx.net>
9945
9946         * commandtags.h:
9947         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9948
9949 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * commandtags.h:
9952         * LyXAction.C:
9953         * lyxfunc.C:
9954         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9955
9956 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9957
9958         * Painter.C (display): anon helper function, adjust code for this
9959         change.
9960         (pixmap): remove function.
9961
9962         * Painter.h: remove private display variable.
9963
9964         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9965
9966 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * WorkArea.[Ch]: remove figinset_canvas cruft.
9969
9970 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * lyxtextclass.C (operator): add one item cache optimization.
9973
9974         * bufferlist.h: doxy changes
9975
9976         * bufferlist.C: ws changes
9977
9978         * DepTable.[Ch] (ext_exist): place const in the right spot.
9979
9980         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9981         call resizeInsets.
9982         (workAreaExpose): call resizeInsets when the with BufferView changes.
9983         (Dispatch): adjust for protectedBlank removal
9984         (specialChar): call updateInset if the insert went ok.
9985
9986         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9987         specialChar instead.
9988
9989         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9990
9991         * BufferView.h: doxy change
9992
9993         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9994
9995         * lyxtextclass.C (operator[]): remove non-const version
9996         (defaultLayout): remove non-const version
9997
9998 2002-03-12  Juergen Vigna  <jug@sad.it>
9999
10000         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10001         did resize the LyXText too.
10002
10003         * buffer.C (readLyXformat2): set layout information on newly allocated
10004         paragraphs.
10005
10006         * tabular.C (OldFormatRead): set layout information on the paragraph.
10007
10008 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10009
10010         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10011
10012 2002-03-11  Juergen Vigna  <jug@sad.it>
10013
10014         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10015         plainly wrong.
10016         (resizeCurrentBuffer): force also the insets to resize themselfes.
10017         (moveCursorUpdate): fixed up for InsetText.
10018
10019 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10020
10021         * commandtags.h:
10022         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10023         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10024         value of Dialogs::tooltipsEnabled().
10025         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10026
10027 2002-03-08  Juergen Vigna  <jug@sad.it>
10028
10029         * BufferView_pimpl.C (updateInset): update inset inside inset also
10030         if it isn't inside theLockingInset().
10031
10032 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * buffer.C (asciiParagraph): redo some of the word and line length
10035         handling.
10036         (getLists): look for Caption instead of caption.
10037
10038 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * buffer.C (Buffer): initialize niceFile to true
10041         (makeLaTeXFile):
10042         (makeLinuxDocFile):
10043         (makeDocBookFile): make sure niceFile is true on exit
10044
10045 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10048
10049 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10050
10051         * LyXSendto.C: remove.
10052         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10053         * lyx_gui.C: remove now-redundant comment.
10054         * ColorHandler.h: remove forward declaration of class WorkArea.
10055         * lyxfunc.C: remove #include "WorkArea.h".
10056
10057 2002-03-07  Juergen Vigna  <jug@sad.it>
10058
10059         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10060         got moved away with the DEPM and also set the inset_owner always
10061         right which before could have been omitted.
10062
10063 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10064
10065         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10066         wanted layout is not found.
10067
10068 2002-03-07  Juergen Vigna  <jug@sad.it>
10069
10070         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10071
10072 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10073
10074         * paragraph.C (breakParagraph): use default layout not layout of
10075         prev paragraph.
10076         (Paragraph): clear ParagraphParameters.
10077
10078 2002-03-06  Juergen Vigna  <jug@sad.it>
10079
10080         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10081         otherwise it would not be a valid lenght. Fixed a special case in
10082         the minipage compatibility read where we end the document with a
10083         minipage.
10084
10085         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10086         was set as it could be 0 for InsetTexts first entry.
10087
10088 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * paragraph.C (writeFile): if layout is empty write out
10091         defaultLayoutName().
10092
10093         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10094         file without named layout we set layout to defaultLayoutName().
10095
10096 2002-03-06  Juergen Vigna  <jug@sad.it>
10097
10098         * CutAndPaste.C (copySelection): set layout for new paragraph.
10099
10100         * text.C (prepareToPrint): leave ERT inset left aligned
10101         (leftMargin): don't indent paragraphs inside ERT insets
10102
10103 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10104
10105         * paragraph.C (breakParagraph): dont call clear do the work manually
10106
10107         * paragraph.[Ch] (clear): remove function
10108
10109 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10110
10111         * paragraph.C (Paragraph): dont call clear, the work has already
10112         been done.
10113
10114         * lyxtextclass.C (operator): assert if n is empty
10115
10116         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10117         work manually instead.
10118
10119 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * BufferView_pimpl.C: protect selectionLost against text == 0
10122
10123 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * text.C (breakParagraph): fix a setting layout to '0' problem.
10126
10127 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10128
10129         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10130         final location of file, for the included files, and graphics.
10131
10132 2002-03-05  Juergen Vigna  <jug@sad.it>
10133
10134         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10135
10136 2002-03-04  Juergen Vigna  <jug@sad.it>
10137
10138         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10139
10140         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10141         last column of multicolumn cells.
10142         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10143
10144 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10145
10146         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10147         file if it doesn't go to a temporary file.
10148
10149         * buffer.C (sgmlOpenTag):
10150         (sgmlCloseTag):  remove extra newline insertion.
10151
10152 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10153
10154         * text.C (getRowNearY): comment out debug msg
10155
10156 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10157
10158         * text2.C: first -> first_y
10159
10160         * text.C (getRowNearY): add some attemts at a possible
10161         optimization, not working.
10162
10163         * tabular.[Ch]: add BufferParams to several function so that newly
10164         created paragraph can be initialized to he default layotu for the
10165         buffers textclass.
10166
10167         * tabular-old.C (ReadOld): add buf->params to call of Init
10168
10169         * screen.C: rename text->first to text->first_y
10170
10171         * paragraph.C (breakParagraph): always set layout in the broken
10172         paragraph
10173
10174         * lyxtextclass.C (Read): remove lowercase
10175         (hasLayout): ditto
10176         (operator): ditto
10177         (delete_layout): ditto
10178
10179         * lyxtext.h: rename first -> first_y
10180
10181         * lyxlayout.C (Read): remove lowercase
10182         (name): ditto
10183         (setName): ditto
10184         (obsoleted_by): ditto
10185
10186         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10187
10188         * buffer.C (insertErtContents): add params are to InsetERT
10189         (parseSingleLyXformat2Token): add code to check if a paragraphs
10190         layout really exist.
10191         (parseSingleLyXformat2Token): add params to several inset
10192         constructors
10193         (asciiParagraph): remove lowercase, do the layout comparisons with
10194         no_case
10195
10196         * BufferView_pimpl.C (cursorNext): first -> first_y
10197         (resizeCurrentBuffer): first -> first_y
10198         (updateScrollbar): first -> first_y
10199         (scrollCB): first -> first_y
10200         (workAreaMotionNotify): first -> first_y
10201         (workAreaButtonPress): first -> first_y
10202         (checkInsetHit): first -> first_y
10203         (cursorPrevious): first -> first_y
10204         (cursorNext): first -> first_y
10205         (Dispatch): add buffer_->params to severl inset contructors
10206
10207 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10208
10209         * lyxlayout.C (Read): remove some debug info that I forgot.
10210
10211         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10212         clean up the code slightly.
10213         (makeLinuxDocFile): ditto
10214         (makeDocBookFile): ditto
10215
10216         * text2.C: layout as string
10217
10218         * text.C: layout as string
10219
10220         * paragraph_pimpl.C: layout as string
10221
10222         * paragraph.[Ch]: layout as string
10223
10224         * lyxtextclasslist.[Ch]: layout as string
10225
10226         * lyxtextclass.[Ch]: layout as string
10227
10228         * lyxtext.h: layout as string
10229
10230         * lyxlayout.[Ch]: layout as string
10231
10232         * lyx_cb.C: layout as string
10233
10234         * bufferview_funcs.C: layout as string
10235
10236         * bufferparams.C: layout as string
10237
10238         * buffer.C: layout as string
10239
10240         * LyXView.[Ch]: layout as string
10241
10242         * LaTeXFeatures.[Ch]: layout as string
10243
10244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10245
10246         * BufferView_pimpl.C: change current_layout to string, remove
10247         lyx::layout_type.
10248         (Dispatch):
10249         (smartQuote):
10250         (insertInset):
10251         (workAreaButtonRelease): layout as string
10252
10253         * BufferView2.C (unlockInset): adjust
10254
10255         * vspace.C (asLatexCommand): use an explict temp variable.
10256
10257 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * Makefile.am: use FRONTEND_*
10260
10261 2002-03-01  Juergen Vigna  <jug@sad.it>
10262
10263         * tabular.C (SetWidthOfMulticolCell): changed to something better
10264         I hope but still work in progress.
10265         (recalculateMulticolumnsOfColumn): renamed function from
10266         recalculateMulticolCells as it is more appropriate now.
10267         (SetWidthOfCell): calculate multicols better.
10268
10269 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10272
10273         * lyxfunc.C (processKeySym): print sequence also if it is
10274         `deleted' (complete)
10275
10276         * kbsequence.C (print): print sequence even if it is deleted
10277         (complete would be a better word, actually).
10278
10279         * lyxfunc.C (dispatch): print complete options after a prefix key
10280
10281         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10282
10283 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10284
10285         * text2.C (setCharFont): eliminate setCharFont code duplication.
10286
10287 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10290         LFUN_TABULAR_FEATURE (bug #177)
10291
10292 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10293
10294         * Makefile.am: remove figure.h
10295
10296 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * Bufferview_pimpl.C:
10299         * CutAndPasteC:
10300         * LaTeX.C:
10301         * LyXSendto.C:
10302         * buffer.C:
10303         * bufferlist.C:
10304         * converter.C:
10305         * language.C:
10306         * lyxfunc.C:
10307         * lyxvc.C:
10308         * paragraph.C:
10309         * text.C:
10310         * text2.C: remove #include "lyx_gui_misc.h".
10311
10312         * LaTeX.C: added #include <cstdio>
10313
10314 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10317         that the paragraph following this one can have.
10318
10319         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10320
10321         * vspace.C (asLatexCommand): fix bogus gcc warning
10322
10323         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10324
10325 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10326
10327         * text2.C (setLayout): get rid of redundant code
10328
10329 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10330
10331         * text2.C (incDepth): make sure depth cannot be increased beyond
10332         reasonable values.
10333
10334 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10335
10336         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10337         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10338
10339         * PainterBase.h (image):
10340         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10341         a LyXImage const *.
10342
10343 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10344
10345         * BufferView.C:
10346         * BufferView.h:
10347         * BufferView_pimpl.C:
10348         * BufferView_pimpl.h:
10349         * LaTeXFeatures.C:
10350         * LyXAction.C:
10351         * LyXView.C:
10352         * Makefile.am:
10353         * UpdateList.h:
10354         * UpdateList.C:
10355         * buffer.C:
10356         * figure.h:
10357         * figureForm.C:
10358         * figureForm.h:
10359         * figure_form.C:
10360         * figure_form.h:
10361         * lyx_cb.C:
10362         * lyx_gui.C:
10363         * lyx_gui_misc.C:
10364         * lyxfunc.C:
10365         * sp_base.h:
10366         * sp_ispell.h:
10367         * sp_pspell.h:
10368         * sp_spell.C: remove fig inset, and the crap house of
10369           cards that follows it
10370
10371 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * Makefile.am:
10374         * lyxserver.C:
10375         * os2_defines.h:
10376         * os2_errortable.h:
10377         * nt_defines.h: move .h into support/
10378
10379         * vms_defines.h: remove
10380
10381         * WorkArea.C: add space in debug output
10382
10383         * text2.C:
10384         * paragraph.C:
10385         * buffer.C: add WITH_WARNINGS
10386
10387         * vc-backend.h:
10388         * vc-backend.C:
10389         * bufferlist.C: s/retrive/retrieve/, add docs
10390
10391         * vspace.h:
10392         * vspace.C:
10393         * kbmap.h:
10394         * lyxlength.h:
10395         * lyxgluelength.h:
10396         * length_common.h:
10397         * chset.h:
10398         * chset.C: add docs
10399
10400         * lyxgui.C: add ID to X error handler
10401
10402         * lyxtestclass.c: fix typo
10403
10404 2002-02-26  Juergen Vigna  <jug@sad.it>
10405
10406         * tabular_funcs.C (write_attribute): changed so that some default
10407         attributes are not written at all.
10408         (getTokenValue): set default values before trying to read the
10409         value so we have the return value always set as default if we don't
10410         find the token we search for.
10411
10412         * tabular.C (Write): write bools as bools not as strings!
10413
10414 2002-02-22  Juergen Vigna  <jug@sad.it>
10415
10416         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10417         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10418
10419         * text.C (leftMargin): don't add an indent for paragraphs inside
10420         tabular cells (fix #208).
10421
10422 2002-02-21  José Matos  <jamatos@fep.up.pt>
10423
10424         * tabular.C (docBook): fixed support for long tables.
10425
10426 2002-02-20  Juergen Vigna  <jug@sad.it>
10427
10428         * text2.C (getFont): get the drawing font of the Inset if this
10429         paragraph is inside an inset (only important for InsetERT for now).
10430
10431         * buffer.C (insertErtContents): use new lanugage params in ERT
10432         constructor.
10433
10434         * CutAndPaste.C: commenting out seemingly uneeded code.
10435
10436 2002-02-19  Allan Rae  <rae@lyx.org>
10437
10438         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10439         Iterators might be simple to use but they also get invalidated.
10440         (removeAutoInsets): renamed saved cursor tracking variables and added
10441         some comments to clarify what everything does.
10442
10443 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10444
10445         * Chktex.C:
10446         * LaTeX.C:
10447         * LyXSendto.C:
10448         * converter.C:
10449         * lyx_cb.C:
10450         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10451         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10452
10453         * lyxfunc.C:
10454         * vc-backend.h: remove #include "support/syscall.h"
10455
10456         * LaTeX.C:
10457         * LyXSendto.C:
10458         * converter.C: rearrange #includes in Lars' approved fashion.
10459
10460         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10461         forward declare class Timeout in the header file.
10462
10463         * XFormsView.C: changes due to the above.
10464
10465         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10466         similar to LyXView.
10467
10468         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10469         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10470
10471 2002-02-18  José Matos  <jamatos@fep.up.pt>
10472
10473         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10474         insets contents.
10475
10476 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10477
10478         * a lot of small ws changes
10479         * add a lot of using std::XXX
10480         * use std construcs some places where approp.
10481         * use some exisint stuff from lyxfunctional where approp.
10482         * Make file changes to use partial linking (lets test this now...)
10483
10484 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10485
10486         * Chktex.C:
10487         * buffer.C:
10488         remove #include "support/syscontr.h" as it's redundant. Always has been.
10489
10490         * Chktex.C:
10491         * LaTeX.C:
10492         * LyXSendto.C:
10493         * converter.C:
10494         * lyx_cb.C:
10495         * vc-backend.C:
10496         change Systemcalls::System to Systemcalls::Wait and
10497         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10498         No change of functionality, just reflects the stripped down Systemcalls
10499         class.
10500
10501 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10502
10503         * debug.[Ch]: add a GRAPHICS type to the enum.
10504
10505 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10508
10509         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10510         there is an inset.
10511
10512 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10515         match the changes below.
10516
10517         * text2.C (toggleInset): if there is not editable inset at cursor
10518         position, try to see if cursor is _inside_ a collapsable inset
10519         and close it.
10520
10521 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10522
10523         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10524         document menu has a nice checkbox
10525
10526 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * lyxlength.C (asLatexString): change PW to output as percent of
10529         \textwidth.
10530
10531         * lengthcommon.C: change '%' to 't%'
10532
10533         * lyxfunc.C (dispatch): a few comments from Martin
10534
10535 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * WorkArea.h:
10538         * WorkArea.C:
10539         * BufferView_pimpl.h:
10540         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10541           the X selection.
10542
10543 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * vspace.C (inPixels): fix compiler warning
10546
10547 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * lyxfunc.C (getStatus): fix status message for disabled commands.
10550
10551 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * BufferView_pimpl.C: fix crash on close buffer
10554         during selection (#227)
10555
10556 2002-01-27  Herbert Voss  <voss@lyx.org>
10557
10558         * buffer.C: link old Figure to new graphic inset
10559
10560 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10561
10562         * FontLoader.C (getFontinfo): Change the latex font names in order
10563         to match the names of type1inst.
10564
10565 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10568
10569         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10570         (extchanged): ditto
10571         (ext_exist): ditto
10572         (remove_files_with_extension): ditto
10573         (remove_file): ditto
10574         (write): ditto
10575
10576         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10577         document is smaller than the work area height. Do not initialize
10578         static variables to 0.
10579
10580 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10583
10584         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10585         LFUN_LAYOUT_PARAGRAPHS.
10586
10587         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10588         tabular. It is possible to provide a possible cell, which will
10589         typically be the actcell from the corresponding insettabular
10590
10591         * lyxfunc.C (getStatus): small cleanup; disable
10592         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10593         true
10594
10595 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10598
10599         * paragraph.C (startTeXParParams):
10600         (endTeXParParams): new methods. The LaTeX code to
10601         start/end paragraph formatting
10602         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10603         empty (fixes bug #200)
10604
10605         * vspace.C (inPixels): adapt to the change below
10606         (inPixels): [later] more cleanups (remove unused variables)
10607
10608         * lyxlength.C (inPixels): change to use a width and a height as
10609         parameter.
10610
10611 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10614         Replaced with \paperwidth
10615
10616         * DepTable.C (insert): add std:: qualifier
10617
10618 2002-01-18  Allan Rae  <rae@lyx.org>
10619
10620         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10621         updated also?
10622
10623         * text.C (drawInset): Turned out I didn't know enough about how
10624         rebreaking worked.  This fixes most of the redraw problems.  I see
10625         an occasional cursor trail when a line is broken now and the cursor
10626         placement can seem out by a few pixels also after a rebreak.
10627
10628 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * buffer.C (parseSingleLyXformat2Token): update because minipage
10631         width is now a LyXLength
10632
10633         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10634
10635         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10636         math insets
10637
10638 2002-01-17  Juergen Vigna  <jug@sad.it>
10639
10640         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10641
10642         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10643         is set correctly and the inset is updated correctly.
10644
10645 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10646
10647         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10648         the beginning of the loop.
10649
10650 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * lyxrc.C: improve help for use_scalable_fonts
10653
10654 2002-01-17  Allan Rae  <rae@lyx.org>
10655
10656         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10657
10658 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10661         make sure to set their inset_owner to the right value (bug #171)
10662
10663 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10664
10665         * DepTable.h
10666         * DepTable.C: Implement mtime checking to reduce time spent doing
10667         CRCs.
10668
10669 2002-01-16  Juergen Vigna  <jug@sad.it>
10670
10671         * tabular.C (GetAdditionalHeight): one of error fixed.
10672
10673         * lyxrc.C (output): small fix in writing use_pspell.
10674
10675 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10676
10677         * sp_base.h: #include LString.h
10678
10679 2002-01-16  Allan Rae  <rae@lyx.org>
10680
10681         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10682         Can someone check this please?
10683
10684         * text.C (drawInset): It was possible that p.row would be removed by
10685         breakAgainOneRow upsetting a few other settings.  There may be another
10686         small tweak possible by setting need_break_row = 0 when p.row has been
10687         removed but I don't know enough about the logic here.
10688
10689 2002-01-15  Allan Rae  <rae@lyx.org>
10690
10691         * text.C (insertChar): removed conditional truism.
10692
10693         * BufferView2.C (removeAutoInsets): More tweaks.
10694         cur_par_prev could be a stray pointer.  Check for trailing empty line
10695         in case last line was cur_par and only had an error inset on it.
10696
10697 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10700         absolute
10701
10702         * vc-backend.C (most methods):
10703         * exporter.C (Export):
10704         * converter.C (convert):
10705         (runLaTeX):
10706         * LyXSendto.C (SendtoApplyCB):
10707         * lyxfunc.C (dispatch):
10708         (menuNew):
10709         (open):
10710         (doImport):
10711         * lyx_cb.C (AutoSave):
10712         (InsertAsciiFile):
10713         * BufferView_pimpl.C (MenuInsertLyXFile):
10714         * buffer.C (runChktex): use Buffer::filePath().
10715
10716         * buffer.h: rename filename to filename_; rename filepath to
10717         filepath_ and make it private
10718         (filePath): new method
10719
10720         * buffer.C (writeFile): use fileName()
10721         (getLatexName):
10722
10723         * lyx_main.C (init): fix starting  of LyX when the binary is a
10724         link from so,ewhere else.
10725
10726         * minibuffer.C: include <cctype> for isprint
10727
10728 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10729
10730         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10731         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10732         name clash with InsetCollapsable's width function.
10733
10734 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * lastfiles.C: include <iterator>
10737
10738 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10741         std::count.
10742
10743         * buffer.C (makeLaTeXFile): ditto.
10744         Also make loop operation more transparent.
10745
10746 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10747
10748         * ToolbarDefaults.C: remove trailing comma closing namespace.
10749
10750         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10751
10752         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10753         as in WorkArea.
10754
10755         * trans.C (Load): comment out unused variable, allowed.
10756
10757 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10758
10759         * minibuffer.[Ch] (append_char): new method to recieve input from the
10760         drop-down completion browser. If a key was pressed, then recieve this
10761         char and append it to the existing string.
10762         (peek_event): modify the positioning data passed to the completion
10763         browser so that it can be placed above the minibuffer rather than below.
10764 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * LyXAction.C (init): alloe error-next for readonly documents.
10767
10768         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10769         count.
10770
10771 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * bufferlist.C (readFile): create the buffer _after_ checking that
10774         the file exists.
10775
10776         * lyxfunc.C (verboseDispatch): fix handling of arguments
10777
10778         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10779
10780         * lyxrc.C: use string::erase() instead of initializing to "".
10781
10782
10783 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * BufferView_pimpl.h:
10786         * BufferView_pimpl.C:
10787         * WorkArea.h:
10788         * WorkArea.C:
10789         * text2.C: tell X when we have made a selection for copying
10790
10791 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * BufferView_pimpl.C (MenuInsertLyXFile):
10794         * lyxfunc.C (menuNew):
10795         (open):
10796         (doImport): add shortcuts to directory buttons
10797
10798         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10799         open a float)
10800
10801         * lyxfunc.C (setStatusMessage):
10802         (getStatusMessage): new methods
10803         (getStatus):use setStatusMessage instead of setErrorMessage
10804         (dispatch): when function is disabled, set error message here
10805         [instead of in getStatus previously]
10806
10807         * BufferView_pimpl.C (workAreaButtonRelease): update
10808         toolbar/menubar here too.
10809
10810 2002-01-13  Allan Rae  <rae@lyx.org>
10811
10812         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10813         Now seems indestructible.  Remaining task is to audit all other
10814         code affected by deleteEmptyParagraphMechanism.  One small quirk
10815         left is that an empty document with an error in the preamble can
10816         be made to report an error but no error box appears.  I don't know
10817         where it goes.
10818         (removeAutoInsets): Improved comments.
10819
10820 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * Thesaurus.h:
10823         * Thesaurus.C: update for Aiksaurus 0.14
10824
10825 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * text2.C (firstParagraph): removed member function, all uses
10828         replaces with ownerParagraph
10829         (redoParagraphs): here
10830         (updateInset): here
10831         (toggleAppendix): here
10832         * BufferView2.C (insertErrors): here
10833         (setCursorFromRow): here
10834
10835 2002-01-13  Allan Rae  <rae@lyx.org>
10836
10837         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10838         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10839         There is still a way to segfault this although you may have to do this
10840         multiple times: Have an InsetERT with an unknown command in it.
10841         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10842         <down-arrow>, <Enter> again, View->DVI, BANG!
10843
10844         * text2.C (setCursor):
10845         (deleteEmptyParagraphMechanism):
10846         * lyxtext.h (setCursor):
10847         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10848         Making use of the return value may help fix other bugs.
10849
10850 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10853
10854         * LyXView.C (updateMenubar): call MenuBar::update here
10855         (updateToolbar): but not here
10856         (showState): do not update toolbar/menubar
10857
10858         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10859         should need to care about that.
10860
10861         * lyxfunc.C (verboseDispatch): simplify a bit
10862         (getStatus): have a version which takes a pseudoaction, and
10863         another which requires a (kb_action,string).
10864
10865         * LyXAction.C (retrieveActionArg): make it work also when action
10866         is not a pseudo-action.
10867         (getActionName): simplify a bit
10868         (helpText):
10869
10870 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * lyxfunc.C (verboseDispatch): new families of methods with
10873         several ways to specify a command and a bool to indicate whether
10874         the command name and shortcut should be displayed in minibuffer
10875         (eventually, we could extend that to a finer bitmask like
10876         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10877         (dispatch): the pristine dispatch command which just, well,
10878         dispatchs! Note it still sets its result to minibuffer; I'm not
10879         sure we want that.
10880
10881         * lyxfunc.h: remove setHintMessage
10882
10883         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10884
10885 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * BufferView_pimpl.C (specialChar): delete new inset if we have
10888         not been able to insert it.
10889
10890         * kbmap.C: revert to using int instead of kb_action, since all we
10891         are dealing with is pseudo-actions.
10892
10893         * LyXAction.C (searchActionArg): change to return int instead of
10894         kb_action, since the result is a pseudoaction.
10895
10896 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10897
10898         * buffer.C (insertErtContents): Fix (partially) the font bug.
10899
10900 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10901
10902         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10903         as the other one is broken on my machine!
10904
10905 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10906
10907         * commandtags.h:
10908         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10909
10910 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10911
10912         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10913         reflect their actual use. Provide compatibility code for older lyxrc
10914         files.
10915
10916         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10917         FL_NORMAL_STYLE.
10918         change names of popup font variables in line with the changes to lyxrc.C
10919
10920 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10921
10922         * buffer.C (asciiParagraph): avoid outputing a word twice after
10923         an inset.
10924
10925         * lyxrc.C (getDescription): document that document_path and
10926         template_path can be empty.
10927
10928 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * LaTeXFeatures.C (getMacros):
10931         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10932
10933         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10934
10935         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10936         getPackages.
10937         (getPackages): rename feature "floats" to "float". Use an array to
10938         iterate over 'simple' features (i.e. just a \usepackage). Add
10939         handling of "amsmath" (renamed from "amsstyle").
10940
10941 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10942
10943         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10944         features list.
10945
10946 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10947
10948         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10949         FuncStaus::FuncStatus & FuncStaus::some_method().
10950
10951 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10952
10953         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10954         of the func_satus stuff. Edited and massaged in various ways by
10955         JMarc.
10956
10957         * lyxfunc.C (getStatus): use FuncStatus
10958
10959 2002-01-08  Juergen Vigna  <jug@sad.it>
10960
10961         * text.C (nextBreakPoint): use function Inset::isChar().
10962
10963         * paragraph.C (TeXOnePar): use function
10964         Inset::forceDefaultParagraphs.
10965
10966         * buffer.C (latexParagraphs): use function
10967         Inset::forceDefaultParagraphs.
10968
10969 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10970
10971         * lyx_gui.C (init): set the style of the menu popups to
10972         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10973
10974 2002-01-07  Juergen Vigna  <jug@sad.it>
10975
10976         * text.C (setHeightOfRow): small fix
10977         (prepareToPrint): don't look at alignment if we don't have the place
10978         for doing it.
10979
10980 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         * box.C: New file. Move the Box methods and functions out of box.h,
10983         following Lars' suggestion.
10984
10985 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10986
10987         * box.h: #include "support/LOstream.h", needed for inlined function.
10988
10989         * lyxtextclass.C:
10990         * lyxtextclasslist.C: added some using std declarations.
10991
10992 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * box.h: make signed dimensions to allow insets wider than
10995           the screen (bug #162)
10996
10997         * BufferView_pimpl.C: add some insetHit debug
10998
10999 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * vc-backend.C: add FIXME
11002
11003 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * lyxfunc.C (getStatus): enable code for showing math font status
11006         in toolbar/menu.
11007
11008 2002-01-07  Juergen Vigna  <jug@sad.it>
11009
11010         * text.C (nextBreakPoint): removed debug output not needed anymore.
11011
11012 2002-01-06  Juergen Vigna  <jug@sad.it>
11013
11014         * text.C (nextBreakPoint): fixed up this function we had this bug
11015         since ever but now hopefully we break row better.
11016         (insertChar): we have to check if an inset is the next char as it
11017         could now happen that a large inset is causing a break.
11018
11019 2002-01-05  Juergen Vigna  <jug@sad.it>
11020
11021         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11022         if it doesn't like to be drawed.
11023
11024 2002-01-04  Juergen Vigna  <jug@sad.it>
11025
11026         * BufferView2.C (lockInset): forgot to set a cursor.
11027
11028         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11029
11030 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11031
11032         * FormMathsPanel.C:
11033         * FormMathsPanel.h
11034         * MathsSymbols.C:
11035         * form_maths_panel.C:
11036         * form_maths_panel.h:
11037         * form_maths_panel.fd: implemented sub- and super- buttons in math
11038         panel.
11039
11040         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11041         (or ^ space) to be used as in TeX (req'd by André).
11042
11043         * lyxfunc.C: Allow ^ and _ again to be used both as
11044         super/subscript (mathed) and as themselves (in text).
11045
11046 2002-01-03  Allan Rae  <rae@lyx.org>
11047
11048         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11049         "LyX" or the filename of the current buffer if it has one.  This is a
11050         modified form of John Levon's patch.
11051
11052         * XFormsView.C (setWindowTitle): also set icon title.
11053
11054         * LyXView.h (setWindowTitle): signature changed.
11055         * XFormsView.h (setWindowTitle): ditto.
11056
11057 2002-01-02  Juergen Vigna  <jug@sad.it>
11058
11059         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11060
11061 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * screen.C (topCursorVisible): introduce a temp var for
11064         text->cursor.row(), handle the case where this row is null. (kindo
11065         hachish)
11066
11067         * text2.C (setCursor): add a couple of asserts.
11068
11069         * paragraph.h (inset_iterator): add -> operator
11070
11071         * paragraph.[Ch] (autoDeleteInsets): remove member function
11072
11073         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11074         cursor pos correctly and handle inset deletion by itself.
11075         (insertErrors): move iterator declaration out of for expression
11076
11077         * lyxtextclass.C: add <algorithm>
11078
11079         * Makefile.am: added the new files to sources, removed layout.C
11080
11081         * layout.C: removed file
11082
11083         * layout.h: remove LYX_DUMMY_LAYOUT
11084
11085         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11086         layout.
11087
11088         * lyxlayout.[Ch]:
11089         * lyxtextclass.[Ch]:
11090         * lyxtextclasslist.[Ch]: new files
11091
11092         * include order changes to a lot of files, also changes because of
11093         the six new files.
11094
11095 2001-12-27  Juergen Vigna  <jug@sad.it>
11096
11097         * buffer.C (asciiParagraph): more fixes.
11098
11099         * tabular.C (ascii): make ascii export support export of only the
11100         data separated by a column-delimiter.
11101         (ascii): better support for ascii export.
11102
11103         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11104
11105 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11106
11107         * tabular_funcs.C: use a "using std::getline" instead of the
11108         previous fix from Angus (necessary for cxx + lyxstring)
11109
11110 2001-12-24  Juergen Vigna  <jug@sad.it>
11111
11112         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11113
11114         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11115         problems. First check a minipage also if we have some ert-contents
11116         (not only on par->size(), second set the right depth of the paragraph
11117         on the relink to the root-paragraph-list!
11118
11119         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11120         which then did not anymore update the main paragraphs on undo/redo!
11121
11122 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11125         code. Support all font-changing funcs (even those which are not in
11126         menu currently). Support for reporting font settings in
11127         mathed (disabled until Andre provides a function on mathed's side).
11128
11129         * func_status.h (toggle): small helper function to set toggle
11130         state on a flag.
11131
11132 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11133
11134         * tabular_funcs.C: getline -> std::getline
11135
11136 2001-12-21  Juergen Vigna  <jug@sad.it>
11137
11138         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11139         accessed and could be 0 (I couldn't generate this but it seems
11140         Michael could!).
11141
11142 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11145         * tabular_funcs.h: here and include iosfwd
11146
11147 2001-12-20  Juergen Vigna  <jug@sad.it>
11148
11149         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11150         inside inset but undo_par was.
11151
11152 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * Thesaurus.C: always include <config.h> in sources.
11155
11156         * Painter.h:
11157         * lyxlookup.h:
11158         * box.h: do not include <config.h> in header files
11159
11160         * text.C (paintLastRow): remove unused variable
11161
11162         * text.C (transformChar):
11163         (insertChar):
11164         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11165
11166         * Painter.C (text):
11167         * font.C (width): rewrite to use uppercase() instead of
11168         islower/toupper.
11169
11170         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11171
11172 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * lyxfind.C: clean up of find failure position change
11175
11176 2001-12-20  Juergen Vigna  <jug@sad.it>
11177
11178         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11179
11180         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11181         (TeXRow): added to LaTeX a single tabular row.
11182         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11183         (Latex): simplified and finally good LT-h/f support.
11184         (various_functions): just small adaptions for LT-h/f support.
11185
11186         * tabular_funcs.[hC]: added and moved here all not classfunctions
11187         of LyXTabular.
11188
11189 2001-12-19  Juergen Vigna  <jug@sad.it>
11190
11191         * tabular.[Ch]: better support for longtabular options (not finished
11192         yet!)
11193
11194 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * text.C (paintLastRow): use the label font instead of the font of
11197         the last character to compute the size of *_BOX. This makes more
11198         sense and avoids a crash with empty paragraphs.
11199         Use Painter::rectangle to draw EMPTY_BOX.
11200
11201 2001-12-19  Juergen Vigna  <jug@sad.it>
11202
11203         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11204         the paragraphs if the replaced paragraph is not the first one!
11205         Tried to delete not used paragraphs but does not work yet so for
11206         now it's inside #ifdef's and by default off!
11207
11208 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * MenuBackend.C: include "lyx_main.h" instead of declaring
11211         lastfiles (actually was declared as LastFiles* instead of a
11212         scoped_ptr).
11213
11214 2001-12-17  Juergen Vigna  <jug@sad.it>
11215
11216         * tabular.C (AppendColumn): applied John's fix
11217
11218 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11219
11220         * BufferView.h:
11221         * BufferView.C:
11222         * BufferView_pimpl.h:
11223         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11224
11225         * Makefile.am:
11226         * box.h: new start of class for above
11227
11228         * lyxfunc.C: ignore space-only minibuffer dispatches.
11229           Show the command name when it doesn't exist
11230
11231         * minibuffer.C: don't add empty lines to the history
11232
11233         * minibuffer.C: add a space on dropdown completion
11234
11235 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11236
11237         * text.C: fix line above/below drawing in insets
11238
11239 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * lyxlength.C (LyXLength): Initialize private variables.
11242
11243 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11244
11245         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11246         when inserting error insets.
11247
11248 2001-12-13  Juergen Vigna  <jug@sad.it>
11249
11250         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11251         actually sometimes the before-paragraph.
11252         (setUndo): don't clear the redostack if we're not actually undoing!
11253
11254 2001-12-06  Juergen Vigna  <jug@sad.it>
11255
11256         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11257         and fixed redoing of main paragraph, so we can use it now ;)
11258
11259         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11260
11261 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11264         Juergen's request
11265
11266 2001-12-13  André Pönitz <poenitz@gmx.net>
11267
11268         * undostack.[Ch]:
11269         * undo_func.C: minor cleanup
11270
11271 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11274         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11275         font in urw-fonts package which is marked as -urw-fontspecific and
11276         does not work (incidentally, changing the encoding in the
11277         fonts.dir of this package to -adobe-fontspecific fixes the
11278         problem).
11279
11280         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11281         is a crash when undoing first paragraph (Juergen, please take a
11282         look). THis does not mean the undo fix is wrong, just that it
11283         uncovers problems.
11284
11285         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11286         the (Paragraph*) version when needed instead of duplicating the
11287         code.
11288
11289         * text.C (workWidth): use Inset::parOwner to find out where the
11290         inset has been inserted. This is a huge performance gain for large
11291         documents with lots of insets. If Inset::parOwner is not set, fall
11292         back on the brute force method
11293
11294         * paragraph_pimpl.C (insertInset):
11295         * paragraph.C (Paragraph):
11296         (cutIntoMinibuffer): set parOwner of insets when
11297         inserting/removing them
11298
11299         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11300
11301 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11302
11303         * commandtags.h:
11304         * LyXAction.C:
11305         * lyx_main.C:
11306         * lyxfunc.C:
11307         * mathed/formulabase.C:
11308         * mathed/math_cursor.[Ch]:
11309         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11310
11311
11312 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * lyxlength.[Ch] (operator!=): new function
11315
11316 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * text.C (workWidth): use Inset::parOwner to find out where the
11319         inset has been inserted. This is a huge performance gain for large
11320         documents with lots of insets. If Inset::parOwner is not set, fall
11321         back on the brute force method
11322
11323         * paragraph_pimpl.C (insertInset):
11324         * paragraph.C (Paragraph):
11325         (cutIntoMinibuffer): set parOwner of insets when
11326         inserting/removing them
11327
11328         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11329
11330 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * tabular-old.C (getTokenValue):
11333         * tabular.C (getTokenValue):
11334         (write_attribute): new versions for LyXLength
11335         (everywhere): adjust the use of widths
11336
11337         * tabular.h: change the type of widths from string to LyXLength
11338
11339 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11340
11341         * paragraph.C: fixed missing line number count when exporting
11342         Environments to LaTeX file
11343
11344         * buffer.C: added informational message for checking line numbers.
11345
11346 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11349         paragraph, do the 'double space' part, but not the 'empty
11350         paragraph' one.
11351
11352         * text.C (workWidth): small optimization
11353         (getLengthMarkerHeight): use minimal size for negative lengths.
11354
11355 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11358
11359         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11360
11361 2001-12-11  André Pönitz <poenitz@gmx.net>
11362
11363         * FontLoader.C:
11364         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11365
11366 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * text2.C: keep selection on a setFont()
11369
11370 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * lyx_cb.C: another bv->text misuse, from insert label
11373
11374 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * kbsequence.h:
11377         * kbsequence.C: re-instate nmodifier mask
11378
11379 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11380
11381         * lyx_main.h: make lyxGUI private.
11382
11383 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * lyxfind.C: place the cursor correctly on failed search
11386
11387 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11388
11389         * text.C (getLengthMarkerHeight): for small heights, the arrows
11390         are not always on top/bottom of the text
11391         (drawLengthMarker): smaller arrows; take the left margin in
11392         account; draw also vfills.
11393         (paintFirstRow):
11394         (paintLastRow): remove special code for vfill and standard spaces,
11395         since everything is handled in drawLengthMarker now.
11396
11397 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * buffer.C (insertErtContents): try to handle font and language
11400         interaction a bit better.g
11401
11402         * ColorHandler.C (updateColor): change the hash to cover the whole
11403         LColor enum, ws cleanup
11404         (getGCLinepars): ditto
11405         (getGCLinepars): only lookup in the linecache once.
11406
11407 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11408
11409         * iterators.C (operator++): Make the iterator more robust
11410
11411         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11412         (John's patch)
11413         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11414
11415 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * lyxtext.h:
11418         * text.C: better added space drawing
11419
11420 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * LyXView.C:
11423         * BufferView2.C: fix layout combo update on inset unlock
11424
11425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * Makefile.am: don't compile unused files
11428
11429 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyxfunc.C:
11432         * commandtags.h:
11433         * LyXAction.C: remove old LFUN_LAYOUTNO
11434
11435 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * paragraph_pimpl.h:
11438         * paragraph_pimpl.C: isTextAt() doesn't need font param
11439
11440 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * lyxlex.h:
11443         * lyxlex.C: little cleanup
11444
11445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * BufferView_pimpl.C: fix insertAscii for insets
11448
11449 2001-12-05  Juergen Vigna  <jug@sad.it>
11450
11451         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11452         set the right font on the "multi" paragraph paste!
11453
11454 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * trans_decl.h:
11457         * trans_mgr.[Ch]:
11458         * trans.[Ch]:
11459         * lyxgluelength.C:
11460         * lyxlength.C: remove out-commented code.
11461
11462         * BufferView_pimpl:
11463         * CutAndPaste.C:
11464         * DepTable.C:
11465         * buffer.C:
11466         * chset.C:
11467         * lastfiles.C:
11468         * lyxlex.C:
11469         * lyxlex_pimpl.C:
11470         * lyxserver.C:
11471         * screen.C:
11472         * tabular-old.C:
11473         * tabular.C:
11474         * text.C:
11475         * trans_mgr.C:
11476         * vc-backend.C: change "while(" to "while ("
11477
11478         * lyxlength.[Ch]: add zero function to check if length is zero or
11479         not
11480         * lyxgluelength.C: use it
11481
11482 2001-12-05  Allan Rae  <rae@lyx.org>
11483
11484         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11485         Works for 2.95.3, from what I understand of Garst's reports this should
11486         work for other g++ versions.  We're screwed if the abs(int) definition
11487         changed between bugfix releases of gcc.
11488
11489 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * text.C: fix chapter label offset !
11492
11493 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * lyxtext.h:
11496         * text.C: fix hfill at end of line, clean up
11497
11498 2001-12-04  Juergen Vigna  <jug@sad.it>
11499
11500         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11501         that we force an update of the inset and it's owners if neccessary.
11502
11503 2001-12-03  Juergen Vigna  <jug@sad.it>
11504
11505         * text.C (rowLast): simplified code
11506
11507 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyxfunc.C: fix show options on timeout
11510
11511 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * screen.C (topCursorVisible): scroll half a page when the cursor
11514         reached top of bottom of screen
11515
11516 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * minibuffer.C: deactivate on loss of focus
11519
11520 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11521
11522         * vspace.[Ch] (operator!=): add operator.
11523
11524 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * BufferView_pimpl.C: refuse to open an inset when
11527         there's a selection.
11528
11529 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * BufferView_pimpl.C: allow to click on RHS of full row insets
11532
11533 2001-11-30  Juergen Vigna  <jug@sad.it>
11534
11535         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11536         insets for undo reasons.
11537
11538 2001-11-28  André Pönitz <poenitz@gmx.net>
11539
11540         * vspace.[Ch]: cosmetical changes
11541
11542 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * LyXAction.h:
11545         * LyXAction.C:
11546         * lyxfunc.h:
11547         * lyxfunc.C:
11548         * kbmap.h:
11549         * kbmap.C:
11550         * lyxrc.C:
11551         * kbsequence.h:
11552         * kbsequence.C: part re-write of old kb code
11553
11554         * Painter.C:
11555         * WorkArea.C: remove Lgb_bug_find_hack
11556
11557 2001-11-30  José Matos <jamatos@fep.up.pt>
11558
11559         * buffer.C (makeDocBookFile): add a comment to point a hack.
11560         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11561         Fixed a double write of labels.
11562
11563 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11564
11565         * LaTeX.C:
11566         * LaTeX.h Fixed bug in LaTeX class where it would not
11567         re-run latex if no depfiles were changed, but the .dvi was removed.
11568
11569 2001-11-28  André Pönitz <poenitz@gmx.net>
11570
11571         * all the files from the change on 2001/11/26:
11572         use lyx::layout_type instead of LyXTextClass::size_type
11573         use lyx::textclass_type instead of LyXTextClassList::size_type
11574
11575 2001-11-29  Juergen Vigna  <jug@sad.it>
11576
11577         * text.C: added support for paragraph::isFreeSpacing()
11578
11579         * buffer.C: same as above
11580
11581         * paragraph.h: inserted isFreeSpacing() function to enable
11582         FreeSpacing inside InsetERT.
11583
11584         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11585         of the paragraph's in the cut/copy buffer to 0!
11586
11587         * text2.C (removeRow): remove the assert as it can!
11588
11589         * lyxtext.h: added helper function firstRow returning firstrow and
11590         made firstrow private again.
11591
11592         * BufferView2.C (lockInset): don't relock if we're already locked!
11593
11594         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11595         the only paragraph.
11596         (removeRow): added Assert::(firstrow)
11597
11598         * debug.C: forgot to add INSETTEXT here.
11599
11600 2001-11-28  Juergen Vigna  <jug@sad.it>
11601
11602         * sp_spell.C (initialize): changed error text to more general
11603         spellchecker command use (not only ispell!)
11604
11605         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11606
11607         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11608
11609 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * vspace.C: initialise lyxgluelength on failure
11612
11613 2001-11-28  Allan Rae  <rae@lyx.org>
11614
11615         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11616         declaration & definition that looks like a function declaration.
11617
11618 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11619
11620         * BufferView2.C (copy):
11621         (copyEnvironment): do not clear the selection when doing a copy.
11622
11623         * text.C (paintFirstRow): compilation fix
11624
11625 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11626
11627         * tabular.C (Latex): correct line count when writing latex.
11628
11629 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * paragraph_pimpl.h:
11632         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11633           bug a bit
11634
11635 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * text.C:
11638         * LColor.h:
11639         * LColor.C: change vfillline->added_space
11640
11641         * text.C: add markers and text for added space
11642
11643         * vspace.C: fix comment
11644
11645 2001-11-28  André Pönitz <poenitz@gmx.net>
11646
11647         * paragraph.C: whitespace changes
11648         * all the other files from the change on 2001/11/26:
11649         change *::pos_type into lyx::pos_type
11650
11651 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11654         language of the document when inserting error insets.
11655
11656 2001-11-26  André Pönitz <poenitz@gmx.net>
11657
11658         * BufferView_pimpl.[Ch]:
11659         *       CutAndPaste.C:
11660         * buffer.[Ch]:
11661         * lyxcursor.[Ch]:
11662         * lyxfind.C:
11663         * lyxfunc.C:
11664         * lyxrow.[Ch]:
11665         * paragraph.[Ch]:
11666         * paragraph_pimpl.[Ch]:
11667         * sp_spell.C:
11668         * text.C:
11669         * text2.C: reduce header dependencies, introduce type for positions
11670
11671 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * <various>: change to use Alert.h
11674
11675 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11676
11677         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11678         when encountering an unknown token.
11679         (readLyXformat2): Show an error message if there were unknown tokens.
11680
11681 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView2.C:
11684         * BufferView_pimpl.C:
11685         * buffer.C:
11686         * paragraph.h:
11687         * text.C:
11688         * text2.C: use par->isInset()
11689
11690 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * paragraph_pimpl.h:
11693         * paragraph_pimpl.C: cleanup
11694
11695 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11696
11697         * text2.C (removeRow):
11698         * text.C (setHeightOfRow): remove useless (and costly) call to
11699         getRow.
11700
11701 2001-11-20  Allan Rae  <rae@lyx.org>
11702
11703         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11704         Now need Inset*::checkInsertChar() to return true for appropriate
11705         cases so that the characters in the minibuffer will actually be
11706         inserted.
11707
11708 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * text.C: change the order of the includes.
11711         (workWidth): initialize it at once.
11712         (workWidth): make maxw unsigned
11713         (setHeightOfRow): remove unused variable (inset)
11714         (selectSelectedWord): remove unused variable (inset)
11715         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11716
11717 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11720         server is not running.
11721         (openConnection):
11722         (closeConnection): add debug info when server is disabled.
11723
11724         * ColorHandler.C (getGCForeground): send debug message to GUI
11725         channel.
11726
11727         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11728
11729         * kbmap.C (bind): modify because return conventions of
11730         kb_sequence::parse have changed.
11731
11732         * kbsequence.C (parse): only ignore spaces and not any stupid
11733         control character. This avoids tests like s[i] <= ' ', which are
11734         guaranteed to fail with 8bit characters and signed chars.
11735         Change return code to string::npos when there have been no error
11736         (0 was a bad idea when error is at first character)
11737
11738 2001-11-14  José Matos  <jamatos@fep.up.pt>
11739
11740         * buffer.h:
11741         * buffer.C (simpleDocBookOnePar): removed unused argument.
11742
11743 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11744
11745         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11746         insets which are part of a word. Paragraph::isLetter takes care of
11747         that now. Use Paragraph::isInset to identify insets.
11748         (selectSelectedWord): do not test for hyphenation break.
11749
11750         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11751         that protected spaces are considered as spaces.
11752
11753         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11754         Inset::isLetter.
11755
11756 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * lyxserver.h:
11759         * lyxserver.C: fix it. and small cleanup.
11760
11761 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * BufferView_pimpl.C: use inline helpers
11764
11765         * LaTeXFeatures.h:
11766         * LaTeXFeatures.C: fix typos
11767
11768         * Spacing.h:
11769         * Spacing.C: move spacing_string into class
11770
11771         * ToolbarDefaults.C: move stuff into namespace anon
11772
11773         * layout.h: update enum
11774
11775         * lyxfunc.C: use better debug
11776
11777         * minibuffer.h: fix typo
11778
11779         * debug.h:
11780         * debug.C:
11781         * WorkArea.C: add and use Debug::WORKAREA
11782
11783         * lyxtext.h:
11784         * text.C:
11785         * text2.C: code re-organisation, inline helpers
11786
11787 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11788
11789         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11790         std::vector.empty().
11791
11792 2001-11-09  Allan Rae  <rae@lyx.org>
11793
11794         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11795         '\n's after tables.  Tabular and ERT inset work now makes this no
11796         longer necessary.
11797
11798 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * minibuffer.h:
11801         * minibuffer.C: fix crash, improve drop-down completion
11802
11803 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * lyxserver.h:
11806         * lyxserver.C: invalidate fd's when doing endPipe()
11807
11808 2001-11-08  José Matos  <jamatos@fep.up.pt>
11809
11810         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11811         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11812
11813         * paragraph.h:
11814         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11815
11816 2001-11-07  José Matos  <jamatos@fep.up.pt>
11817
11818         * buffer.h:
11819         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11820         const qualifier.
11821
11822         * buffer.C (sgmlOpenTag):
11823         * buffer.C (sgmlCloseTag): removed debug info.
11824
11825         * buffer.h (sgmlOpenTag):
11826         * buffer.h (sgmlCloseTag): made public.
11827
11828 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * buffer.C (saveParamsAsDefaults):
11831         * lyx_cb.C (MenuLayoutSave): remove
11832
11833         * LyXAction.C (init):
11834         * commandtags.h:
11835         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11836
11837 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11838
11839         * buffer.C (setPaperStuff): removed from here...
11840
11841         * bufferparams.C (setPaperStuff): ... and moved there.
11842
11843 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * minibuffer.h:
11846         * minibuffer.C:
11847         * XFormsView.C: add support for drop-down completion
11848
11849 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11850
11851         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11852         commands.
11853
11854 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11855
11856         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11857         disabled.
11858
11859 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * lyx_main.C: change ref to known bugs
11862
11863 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11864
11865         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11866         to work around older babel problems.
11867
11868 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11869
11870         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11871
11872 2001-10-24  Juergen Vigna  <jug@sad.it>
11873
11874         * tabular-old.C (ReadOld): below variable changes reflected.
11875
11876         * tabular.[Ch]: added ltType struct for longtable header/footer
11877         defines and changed all instances where they are used. Added
11878         future support for double top/bottom rows.
11879
11880 2001-10-24  José Matos  <jamatos@fep.up.pt>
11881
11882         * buffer.h (docbookHandleCaption):
11883         * buffer.C (docbookHandleCaption): removed unused function.
11884         (makeDocBookFile): moved docbook supported version to v4.1.
11885
11886 2001-10-24  José Matos  <jamatos@fep.up.pt>
11887
11888         * tabular.h:
11889         * tabular.C (docbookRow): new function to export docbook code of a row.
11890         (DocBook): now honors the longtable flags.
11891
11892 2001-10-23  José Matos  <jamatos@fep.up.pt>
11893
11894         * LaTeXFeatures.h:
11895         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11896         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11897
11898         * buffer.C (makeLinuxDocFile):
11899         (makeDocBookFile): reworked the preamble, more clean, and with
11900         support for lyx defined entities. Changed the document declaration
11901         to be more XML friendly.
11902
11903         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11904         if we need to output XML that should be done with a filter.
11905
11906 2001-10-22  Juergen Vigna  <jug@sad.it>
11907
11908         * sp_pspell.h (class PSpell): add alive function needed in the
11909         controller to see if the spellchecker could be started.
11910
11911 2001-10-22  Juergen Vigna  <jug@sad.it>
11912
11913         * buffer.C (insertStringAsLines): modify the font for inserting
11914         chars in certain conditions by calling checkInsertChar(font).
11915
11916 2001-10-19  Juergen Vigna  <jug@sad.it>
11917
11918         * text.C (workWidth): use getRow instead of wrong algorithm.
11919         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11920
11921 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyxserver.h:
11924         * lyxserver.C:
11925         * lyx_main.h:
11926         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11927
11928 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11929
11930         * text.C (workWidth): do not search for the exact row when
11931         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11932         optimization for big documents.
11933
11934 2001-10-18  Juergen Vigna  <jug@sad.it>
11935
11936         * text.C (workWidth): new function with added Inset * parameter.
11937
11938 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11939
11940         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11941
11942         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11943         change return type of getColumnNearX.
11944
11945
11946         * text.C (changeRegionCase): use uppercase/lowercase instead of
11947         toupper/tolower.
11948         (leftMargin):
11949         (rightMargin): simplify code by factoring out the uses of
11950         textclasslist.
11951         (labelFill):
11952         (numberOfHfills):
11953         (setHeightOfRow):
11954         (appendParagraph): use Paragraph::size_type
11955
11956 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * vspace.C (asLatexString): add a missing break
11959
11960 2001-10-15  Herbert Voss  <voss@perce.de>
11961
11962         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11963
11964 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11965
11966         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11967         is not available.
11968
11969 2001-10-10  André Pönitz <poenitz@gmx.net>
11970
11971         * lyxfunc.C: removed greek_kb_flag.
11972
11973 2001-10-10  Herbert Voss  <voss@perce.de>
11974
11975         * lyx_main.C: delete global string help_lyxdir.
11976
11977 2001-10-09  Herbert Voss  <voss@perce.de>
11978
11979         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11980
11981         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11982
11983         * lyx_main.C: added global string help_lyxdir.
11984
11985         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11986
11987 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11988
11989         * lyxrc.C (set_font_norm_type): support iso8859-4
11990
11991 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11992
11993         * LaTeX.C (deplog): add another regex for MikTeX
11994
11995 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11996
11997         * lyxrc.C (set_font_norm_type): support iso8859-3
11998
11999 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12002
12003         * LaTeXFeatures.C: remove special case of french and index
12004
12005         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12006         before \begin{document}). This solves several incompatibilities.
12007
12008 2001-10-03  Garst Reese  <reese@isn.net>
12009
12010         * lyx_cb.C: change CheckTex error msg.
12011
12012 2001-10-03  José Matos  <jamatos@fep.up.pt>
12013
12014         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12015
12016 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12017
12018         * .cvsignore: update
12019
12020         * lyx_main.C (commandLineVersionInfo): use new style version info.
12021
12022         * buffer.C (writeFile):
12023         (makeLaTeXFile):
12024         (makeLinuxDocFile):
12025         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12026
12027         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12028
12029         * version.h: update to use stuff in version.C
12030
12031         * version.C.in: new file. Contains version information determined
12032         at compile time. This is a merging of version.h and
12033         version_info.h.in.
12034
12035 2001-10-03  Juergen Vigna  <jug@sad.it>
12036
12037         * BufferView_pimpl.C (update): don't change "dirty" status in
12038         updateInset call.
12039
12040 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         * WorkArea.C (c-tor): re-position version string slightly.
12043
12044 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12047         revert to previous code.
12048
12049         WorkArea.[Ch]: (show, destroySplash): methods removed.
12050
12051         WorkArea.C: rework code so that it's an amalgam of the codes before and
12052         after the splash screen was moved to WorkArea.
12053
12054 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * lyxrc.C (read):
12057         * vspace.C (inPixels):
12058         (lyx_advance):
12059         * kbmap.C (bind):
12060         * buffer.C (insertStringAsLines):
12061         (asciiParagraph): fix types to be large enough
12062
12063         * lyxlex_pimpl.h: change member status from short to int
12064
12065         * layout.h: fix type of endlabeltype
12066
12067         * kbmap.C (bind):
12068         * kbsequence.C (parse): change return type to string::size_type
12069
12070         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12071         variable
12072
12073         * Bullet.C (bulletSize):
12074         (bulletEntry): do not use short ints as parameters
12075
12076         * BufferView2.C (insertLyXFile): change a char to an int.
12077
12078         * WorkArea.C (WorkArea): remove unneeded floats in computation
12079
12080 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12083
12084         * paragraph.C (asString): Do not ignore newline/hfill chars when
12085         copying to the clipboard.
12086
12087 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12088
12089         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12090         after a multi-line inset.
12091
12092 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12093
12094         * paragraph.C (validate): Set NeedLyXFootnoteCode
12095
12096 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12099         and decrease-error to decrease.
12100
12101 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12102
12103         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12104         it more readable (should be equivalent)
12105
12106 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12107
12108         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12109
12110 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12113         of a cursor (row, etc.) after a character has been deleted
12114         (deleteEmptyParagraphMechanism): call the method above on _all_
12115         cursors held by the LyXText when a double space has been
12116         detected/deleted.
12117
12118 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12119
12120         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12121         pixmap.
12122         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12123
12124         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12125         background. Use greyOut() and the new show() methods to toggle between
12126         the foreground and background. Add code to remove the splash after
12127         its initial showing.
12128
12129         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12130         (create_forms): no longer call Dialogs::showSplash.
12131
12132 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * .cvsignore: add version_info.h
12135
12136 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12137
12138         * version_info.h.in: new file
12139
12140         * Makefile.am: add version_info.h.in
12141
12142         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12143         version_info.h instead of VERSION_INFO
12144
12145 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12146
12147         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12148         The ERT inset now returns string().
12149
12150 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12151
12152         * lyxtext.h, text.C (selectNextWord): renamed as
12153         selectNextWordToSpellcheck.
12154
12155         * text.C (selectNextWordToSpellcheck): Modified to not select
12156         words inside an ERT inset.
12157
12158 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12159
12160         * lyx_cb.C (MenuLayoutSave): change a bit the question
12161
12162         * sp_base.h: include <sys/types.h>
12163
12164 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12165
12166         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12167
12168 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12169
12170         * several files: fix typos in user-visible strings
12171
12172 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * text2.C (pasteSelection): do not set the selection, since it
12175         will be cleared later. Actually, the intent was to fix the way the
12176         selection was set, but I figured rmoving the code was just as good.
12177
12178 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * FontLoader.C (available): Check if font is available without
12181         loading the font.
12182
12183 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12184
12185         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12186
12187 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * lyxrc.[Ch]: added display_graphics variable and associated code.
12190
12191 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * bufferparams.C (hasClassDefaults): new method. Returns true if
12194         the buffer parameters correspond to known class defaults
12195
12196 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12197
12198         * XFormsView.C (show): set minimum size to the main window.
12199
12200 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * text2.C (copySelection):
12203         (cutSelection):
12204         * lyxfind.C (LyXReplace):
12205         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12206         LyXText::selectionAsString.
12207
12208         * paragraph.C (asString): add "label" argument to the second form
12209
12210         * text2.C (selectionAsString): add "label" argument and pass it to
12211         Paragraph::asString.
12212
12213 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12214
12215         * lyx_main.C (commandLineHelp): remove version information
12216
12217 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12218
12219         * lyx_main.C: add -version commandline option
12220
12221 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * paragraph.h: make the optional constructor arg required instead.
12224         some modifications to other files because of this.
12225
12226         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12227
12228         * lyxserver.C (C_LyXComm_callback): make it static
12229
12230         * lyx_main.C (error_handler): make it static
12231
12232         * lyx_gui.C (LyX_XErrHandler): make it static
12233
12234         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12235
12236         * WorkArea.C: make the extern "C" methods static.
12237
12238         * Makefile.am (lyx_LDADD): simplify
12239
12240 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12241
12242         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12243         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12244
12245         * LyXAction.C (init):
12246         * lyxfunc.C (dispatch): associated code removal.
12247
12248 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12249
12250         * lyxfont.h (isSymbolFont): shut off warning
12251
12252         * text.C (setHeightOfRow):
12253         (getVisibleRow): fix crash with empty paragraphs which have a
12254         bottom line
12255
12256 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12257
12258         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12259         code.
12260
12261 2001-09-04  José Matos  <jamatos@fep.up.pt>
12262         * buffer.C
12263         * buffer.h
12264         * tabular.C (docbook): rename docBook method to docbook.
12265
12266 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12267
12268         * Makefile.am: add dependencies to main.o.
12269
12270 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * FontLoader.C (available): Return false if !lyxrc.use_gui
12273
12274 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12275
12276         * FontInfo.C (query):
12277         * converter.C (view):
12278         * importer.C (Import):
12279         * exporter.C (Export): Can not -> cannot.
12280
12281 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView_pimpl.C: allow to create index inset even if
12284           string is empty
12285
12286 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * buffer.C (getLists): replace boost::tie code with an explicit pair
12289         as boost::tie can break some compilers.
12290
12291         * iterators.h: Added a std:: declaration to the return type of
12292         ParIterator::size.
12293
12294 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12297           case.
12298
12299 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12300
12301         * iterators.[Ch]: New files. Provide paragraph iterators.
12302
12303         * buffer.C (changeLanguage): Use paragraph iterators.
12304         (isMultiLingual): ditto
12305
12306         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12307
12308 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12309
12310         * FontLoader.C: Support for cmr font.
12311
12312 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12315         (available): New method.
12316
12317         * FontInfo.C (getFontname): Use scalable fonts even when
12318         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12319         found.
12320
12321 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * converter.C (Formats::view): reverted! Incorrect fix.
12324
12325 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12326
12327         * converter.C (Formats::view): only output the -paper option
12328         if the dvi viewer is xdvi, thereby fixing bug #233429.
12329
12330 2001-08-23  Herbert Voss  <voss@perce>
12331
12332         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12333
12334 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12335
12336         * Spacing.h (Spacing): Set space to Default on in the default
12337         constructor.
12338
12339 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * vc-backend.h (RCS::versionString): add RCS to version
12342         (CVS::versionString): add CVS to version
12343
12344         * vc-backend.C (scanMaster): do not add CVS to version.
12345         (scanMaster): do not add RCS to version
12346
12347         * lyxvc.C (versionString): new method
12348
12349         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12350
12351 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * Spacing.C (set): initialize fval
12354
12355 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12358         " or \.
12359
12360 2001-08-16  Juergen Vigna  <jug@sad.it>
12361
12362         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12363
12364 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * BufferView_pimpl.C:
12367         * figureForm.C:
12368         * lyxtext.h:
12369         * text2.C: setParagraph takes linespacing now
12370
12371 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * LyxAction.C: add internal LFUN_CITATION_INSERT
12374
12375         * LyXView.C: actually apply fix
12376
12377         * bufferlist.C: fix open non-existent file
12378
12379         * lyxfind.C: fix indentation
12380
12381         * lyxfunc.C: remove unneeded assert, fix typo
12382
12383 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * MenuBackend.C: use "Floatname List"
12386
12387 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12390         when converting LaTeX layout to insetERT.
12391         Generate a non-collapsed float when reading old float
12392
12393 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12396         ERT insets.
12397
12398 2001-08-13  Juergen Vigna  <jug@sad.it>
12399
12400         * text.C (fill): return 0 instead of 20 as this seems to be the more
12401         correct value.
12402
12403 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12404
12405         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12406         lyxrc.font_norm.
12407
12408 2001-08-13  Juergen Vigna  <jug@sad.it>
12409
12410         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12411         casesensitive off.
12412         (SearchBackward): comment out the unlocking of the inset_owner this
12413         should not be needed!
12414
12415 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12416
12417         * Many files: Remove inherit_language, and add latex_language
12418
12419         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12420         collapsible insets.
12421
12422 2001-08-10  Juergen Vigna  <jug@sad.it>
12423
12424         * text.C (prepareToPrint): fixed hfill-width in draw!
12425
12426         * BufferView2.C (selectLastWord): save the selection cursor as this
12427         now is cleared in the function LyXText::clearSelection!
12428
12429 2001-08-08  Juergen Vigna  <jug@sad.it>
12430
12431         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12432         BACKSPACE type functions.
12433
12434         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12435         is only cutted from the document but not put in the cut-buffer, where
12436         still the old stuff should be.
12437
12438         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12439
12440         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12441
12442         * tabular.C (SetWidthOfCell): fixed special case where the width
12443         was not updated!
12444         (LeftLine): handle '|' in align_special.
12445         (RightLine): ditto
12446         (LeftAlreadyDrawed): ditto
12447         (SetWidthOfCell): ditto
12448
12449 2001-08-07  Juergen Vigna  <jug@sad.it>
12450
12451         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12452
12453 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12456         * lyxlex.[hC]: ditto
12457
12458 2001-08-06  Juergen Vigna  <jug@sad.it>
12459
12460         * text.C (getVisibleRow): fix up row clearing a bit.
12461
12462 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * minibuffer.C: make sure the X server sees the changes in the input.
12465
12466 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * paragraph.C (getFont): split into...
12469         (getLabelFont): this
12470         (getLayoutFont): and this
12471         * paragraph_pimpl.C (realizeFont): calling this
12472
12473         * text2.C (getFont): split into...
12474         (getLayoutFont): this
12475         (getLabelFont): and this
12476         (realizeFont): all three calling this
12477
12478         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12479         files where used.
12480
12481 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12484
12485 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12486
12487         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12488         layouts from the Quote inset insertion.
12489
12490 2001-08-03  Juergen Vigna  <jug@sad.it>
12491
12492         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12493
12494         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12495         only if status not is already CHANGED_IN_DRAW (second level).
12496
12497         * text.C (draw): don't set the need_break_row when inside an
12498         InsetText LyXText.
12499
12500 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * buffer.C (parseSingleLyXformat2Token): handle more latex
12503         conversion cases.
12504
12505         * bufferview_funcs.[hC]: change function names to
12506         begin with small char, adjust other files.
12507
12508 2001-08-02  André Pönitz <poenitz@gmx.net>
12509
12510         * lyxfunc.C:
12511         BufferView_pimpl.C: remove broken special code for math-greek
12512
12513 2001-08-02  Juergen Vigna  <jug@sad.it>
12514
12515         * BufferView_pimpl.C (update): redone this function so that we
12516         update the text again if there was a CHANGE_IN_DRAW.
12517
12518         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12519         (drawFromTo): added a new internal bool which is used by draw() and
12520         redraw() function.
12521         (general): some cursor drawing problems fixed.
12522
12523 2001-08-01  Juergen Vigna  <jug@sad.it>
12524
12525         * lyxfind.C (LyXFind): fixed
12526         (SearchForward): ditto
12527         (SearchBackward): ditto
12528
12529         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12530         spurius drawing of the cursor in the main area.
12531
12532         * text2.C (status): small fix which could lead to a segfault!
12533         (clearSelection): remove unneeded BufferView param.
12534
12535 2001-08-01  André Pönitz <poenitz@gmx.net>
12536
12537         * lyxfunc.C: small change due to changed mathed interface
12538
12539 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12540
12541         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12542
12543 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * lyxfunc.c: fail gracefully if file doesn't exist
12546
12547         * LyXSendto.C:
12548         * buffer.C:
12549         * lyxfunc.C:
12550         * BufferView_pimpl.C: IsDirWriteable() proto changed
12551
12552         * LyXView.C: fix updateWindowTitle() to store the last title
12553
12554 2001-07-31  Juergen Vigna  <jug@sad.it>
12555
12556         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12557         the font (wrong since using of Paragraph::highestFontInRange).
12558
12559         * paragraph.C (highestFontInRange): added a default_size parameter.
12560
12561         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12562         (setHeightOfRow): reformat
12563
12564 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * converter.[hC] + affected files: move to (inital-char)lowercase
12567         function names.
12568
12569         * ParagraphParameters.C (ParagraphParameters): remove commented code
12570
12571         * PainterBase.[Ch]: remove commented code
12572
12573         * LaTeXFeatures.h: add "bool floats" for float.sty
12574
12575         * LaTeXFeatures.C (LaTeXFeatures): init floats
12576         (require): handle float
12577         (getPackages): do it with floats
12578
12579 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * BufferView_pimpl.C (Dispatch): improve handling of
12582         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12583
12584         * commandtags.h: #include lyxfont.h here temporarily to avoid
12585         keybinding bug.
12586
12587         * bufferlist.h: include LString.h here.
12588
12589 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12590
12591         * text2.C (getStringToIndex): new method.
12592
12593 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12594
12595         * *: Reduced header file dependencies all over.
12596
12597 2001-07-30  Baruch Even  <baruch@lyx.org>
12598
12599         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12600
12601 2001-07-29  Baruch Even  <baruch@lyx.org>
12602
12603         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12604
12605 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * ParameterStruct.h (endif): add a default constructor to make
12608         sure that all variables is initialized.
12609
12610         * ParagraphParameters.C (ParagraphParameters): adjust
12611
12612 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12613
12614         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12615         index; also, check that there is something to index, and that it
12616         does not span over several paragraphs.
12617         (doubleClick): use WHOLE_WORD_STRICT for double click.
12618
12619         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12620
12621         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12622         scheme.
12623
12624 2001-07-26  Baruch Even  <baruch@lyx.org>
12625
12626         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12627         an InsetFig figure, backwards compatible reading of old figure code.
12628
12629 2001-07-27  Juergen Vigna  <jug@sad.it>
12630
12631         * text2.C: font.realize function adaption.
12632
12633         * text.C (draw): add a warnings lyxerr text if needed.
12634
12635         * layout.C: font.realize function adaption.
12636
12637         * language.C: add inherit_language and implement it's handlings
12638
12639         * bufferview_funcs.C (StyleReset): remove language parameter from
12640         font creation (should be language_inherit now).
12641
12642         * bufferparams.C (writeFile): handle ignore_language.
12643
12644         * paragraph.C (getFontSettings): the language has to be resolved
12645         otherwise we have problems in LyXFont!
12646
12647         * lyxfont.C (lyxWriteChanges): added document_language parameter
12648         (update): removed unneeded language parameter
12649
12650         * paragraph.C (validate): fixed wrong output of color-package when
12651         using interface colors for certain fonts in certain environments,
12652         which should not seen as that on the final output.
12653
12654 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * BufferView_pimpl.C:
12657         * Thesaurus.h:
12658         * Thesaurus.C:
12659         * Makefile.am:
12660         * commandtags.h:
12661         * LyXAction.C: add thesaurus support
12662
12663         * lyxfind.h:
12664         * lyxfind.C: add "once" parameter, for thesaurus, to not
12665           move to the next match
12666
12667 2001-07-26  Juergen Vigna  <jug@sad.it>
12668
12669         * lyxfont.C (realize): honor ignore_language too!
12670         (resolved): ditto.
12671
12672         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12673
12674         * text.C (draw): one place more for ignore_language to not draw
12675         itself!
12676
12677 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12680
12681 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12684         the minipage conversion problem.
12685
12686 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12689         insert an inset.
12690
12691 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * BufferView.h: don't forward declare WorkArea
12694
12695         * BufferView.C: don't include WorkArea.h
12696
12697 2001-07-25  André Pönitz <poenitz@gmx.net>
12698
12699         * commandtags.h:
12700         * LyXAction.C:
12701         * lyxfunc.C:  new LFUN 'math-space'
12702
12703         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12704
12705 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * text2.C (toggleInset): call open/close
12708
12709 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * lyxfunc.C (dispatch): add debug for the disabled case
12712
12713         * font.C (buttonText): make similar to rectText
12714
12715         * buffer.C (readInset): comment out parsing of insetlist and
12716         insttheorem
12717
12718         * PainterBase.C (rectText): small correction
12719
12720         * BufferView_pimpl.C: comment out insettheorem and insetlist
12721         * LyXAction.C: ditto
12722         * commandtags.h: ditto
12723
12724 2001-07-24  Juergen Vigna  <jug@sad.it>
12725
12726         * text.C (draw): honor the ignore_language.
12727
12728         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12729
12730 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12733         char inset.
12734
12735 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12736
12737         * lyxtext.h: remove unused (and unimplemented) methods
12738
12739 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12740
12741         * text.C (getVisibleRow): honor background color
12742
12743         * PainterBase.h:
12744         * Painter.h: remove default color argument for fillRectangle
12745
12746         * text.C (backgroundColor): new method
12747
12748 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * text.C (getVisibleRow): adjust
12751
12752         * font.[Ch] (rectText): new method, metrics
12753         (buttonText): new method, metrics
12754
12755         * PainterBase.[hC]: make rectText and buttonText always draw and take
12756         fewer paramteres.
12757
12758 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12759
12760         * ToolbarDefaults.C (read):
12761         * MenuBackend.C (read): allow escaping in all strings
12762
12763         * BufferView_pimpl.C (insertAndEditInset): new method.
12764         (Dispatch): use insertAndEditInset whenever appropriate.
12765
12766         * BufferView_pimpl.C (insertNote): removed
12767
12768         * BufferView_pimpl.C (smartQuote): new method, moved from
12769         BufferView; if an insetquote cannot be inserted, insert a '"'
12770         character instead.
12771
12772         * BufferView2.C: remove insertCorrectQuote();
12773
12774         * lyxfunc.C (getStatus): Add support for all remaingin
12775         inset-insert lfuns.
12776
12777         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12778
12779         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12780         command (necessary to pass " as parameter of self-insert.
12781
12782         * text.C (selectWordWhenUnderCursor):
12783         (selectWord): add word_location parameter
12784         (selectWordWhenUnderCursor): same + remove special code for word
12785         boundary.
12786         (selectNextWord): use kind() to guess type of insetspecialchar,
12787         not latex().
12788
12789         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12790         (insertErtContents): create ert insets as collapsed.
12791         (readInset): better compatibility code for Info inset.
12792
12793 2001-07-20  Juergen Vigna  <jug@sad.it>
12794
12795         * lyxfunc.C (dispatch): use always LyXFind now!
12796
12797         * text2.C (init): add a reinit flag so that the LyXText can be
12798         reinited instead of deleted and reallocated (used in InsetText).
12799
12800         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12801
12802         * text.C: ditto
12803
12804         * text2.C: ditto
12805
12806 2001-07-18  Juergen Vigna  <jug@sad.it>
12807
12808         * text.C (selectNextWord): handle insets inside inset by calling
12809         always the bv->text functions so that we can go up the_locking_inset!
12810
12811         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12812         in strange locations when inside an inset!
12813
12814         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12815         handling to include insets.
12816
12817         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12818
12819 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * LyXAction.C (init):
12822         * commandtags.h:
12823         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12824         LIGATURE_BREAK, since the name is so stupid.
12825
12826 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12829         InsetInfos.
12830
12831         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12832
12833         * sp_form.[Ch]: remove.
12834
12835         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12836
12837         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12838         InsetInfo.
12839
12840         * src/buffer.C (readInset): ditto.
12841
12842 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12843
12844         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12845         menuSeparator(), endOfSentenceDot(), ldots() and
12846         hyphenationPoint(), which are therefore removed.
12847         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12848
12849         * LyXAction.C (init):
12850         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12851
12852         * paragraph.C (getWord): removed.
12853
12854         * BufferView_pimpl.C (Dispatch): use last word or selection for
12855         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12856
12857         * lyx_main.C (queryUserLyXDir): do not ask before creating
12858         user_dir, except if it has been named explicitely.
12859
12860 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12861
12862         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12863         a document of zero size.
12864
12865 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12868         approriately in the c-tor and in require().
12869         (getPackages): output the appropriate LaTeX for natbib support.
12870
12871         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12872         variables "use_natbib" and "use_numerical_citations" when reading the
12873         LyX file.
12874         (readInset): read the various natbib cite commands.
12875         (validate): white-space change.
12876
12877         * bufferparams.[Ch]: new variables "bool use_natbib" and
12878         "bool use_numerical_citations".
12879         (writeFile): output them in the LyX file.
12880
12881 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12882
12883         * lyxfunc.C (getStatus): add support for all the inset insertion
12884         commands.
12885
12886         * text2.C (insertInset):
12887         * paragraph.C (insetAllowed):
12888         * BufferView_pimpl.C (insertInset): update to take in account the
12889         renaming of insertInsetAllowed
12890
12891         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12892
12893         * text2.C (getInset): new method. returns inset at cursor position.
12894
12895         * BufferView_pimpl.C (Dispatch): changes because of this.
12896
12897         * LyXAction.C (init): rename open-stuff to inset-toggle.
12898
12899         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12900
12901         * text2.C (toggleInset): renamed from openStuff; use
12902         Inset::open().
12903
12904 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12905
12906         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12907
12908         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12909
12910 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * buffer.C (readLyXformat2): Add filename to the error dialog
12913
12914 2001-07-18  Juergen Vigna  <jug@sad.it>
12915
12916         * tabular.C (GetCellNumber): put an assert here instead of the check!
12917
12918 2001-07-17  Juergen Vigna  <jug@sad.it>
12919
12920         * BufferView_pimpl.C (toggleSelection): adapted too.
12921
12922         * text.C (selectNextWord): adapted for use with insets.
12923         (selectSelectedWord): ditto
12924
12925 2001-07-17  Juergen Vigna  <jug@sad.it>
12926
12927         * sp_spell.C (PSpell): fix initialitation order.
12928
12929 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * paragraph.C: spacing
12932
12933 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12934
12935         * sp_spell.C: repair language selection for pspell
12936
12937 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * lyxfunc.h: change more methods to begin with lower char.
12940
12941 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12942
12943         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12944         for unknown layouts.
12945
12946 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12947
12948         * buffer.C (readLyXformat2): Generate an error dialog if there are
12949         unknown layouts.
12950
12951 2001-07-16  Juergen Vigna  <jug@sad.it>
12952
12953         * sp_spell.C: always compile ISpell part.
12954
12955         * lyxrc.C: added use_pspell entry and it's handling.
12956
12957 2001-07-13  Juergen Vigna  <jug@sad.it>
12958
12959         * sp_spell.C: removed double includes.
12960
12961 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12962
12963         Consistent use of Lsstream.h:
12964         * Lsstream.h: added using std::stringstream for consistencies sake.
12965
12966         * buffer.C: removed using std::stringstream
12967
12968         * lyxfont.C (stateText):
12969         * paragraph.C (asString):
12970         * text.C (selectNextWord, selectSelectedWord):
12971         * text2.C (setCounter):
12972         * vspace.C (asString, asLatexString):
12973         std::ostringstream -> ostringstream.
12974
12975 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12976
12977         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12978         * commandtags.h: add LFUN_HELP_ABOUTLYX
12979         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12980
12981 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12982
12983         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12984         cursorToggle()
12985         * lyx_gui_misc.C: remove spellchecker
12986         * lyxfunc.C: showSpellchecker
12987         * sp_base.h: added
12988         * sp_ispell.h: added
12989         * sp_pspell.h: added
12990         * sp_spell.C: added
12991         * sp_form.[Ch]: removed
12992         * spellchecker.[Ch]: removed
12993
12994 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12995
12996         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12997         is set.
12998         (simpleTeXSpecialChars): Simply print the input character without
12999         any special translation if pass_thru is set.
13000
13001         * layout.h: Added bool pass_thru to layout class for being able to
13002         implement pass through of a paragraph for Literate Programming.
13003
13004         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13005         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13006         * layout.C (Read): add "passthru" to list of layout tags and add
13007         code to set the pass_thru boolean when it is read.
13008
13009 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * trans_decl.h: remove allowed from KmodInfo
13012
13013         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13014         remove allowed code
13015         (Load): adjust
13016
13017         * paragraph_pimpl.C (erase): use boost::prior
13018
13019         * Painter.C (text): use data() instead of c_str() when length is
13020         also provided.
13021         * WorkArea.C (putClipboard): ditto
13022         * font.h (width): ditto
13023
13024         * BufferView2.C: use it-> instead of (*it). for iterators
13025         * texrow.C: ditto
13026         * paragraph_pimpl.C: ditto
13027         * paragraph.C: ditto
13028         * minibuffer.C: ditto
13029         * language.C: ditto
13030         * kbmap.C: ditto
13031         * encoding.C: ditto
13032         * counters.C: ditto
13033         * converter.C: ditto
13034         * chset.C: ditto
13035         * Variables.C: ditto
13036         * TextCache.C: ditto
13037         * MenuBackend.C: ditto
13038         * LyXAction.C: ditto
13039         * LColor.C: ditto
13040         * FloatList.C: ditto
13041         * DepTable.C: ditto
13042         * ColorHandler.C (LyXColorHandler): ditto
13043
13044 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13047
13048         * text2.C (openStuff): reintroduce this method (which had been
13049         nuked in NEW_INSETS frenzy).
13050
13051         * lyxfunc.C (Dispatch): when an action has not been handled, use
13052         its name in the error message, not its number.
13053
13054         * paragraph.C (inInset): change method name to begin with lowercase.
13055
13056         * undo_funcs.C:
13057         * text2.C: updates because of this.
13058
13059 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * ToolbarDefaults.C (add): add spaces in error message
13062
13063 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13066         (readLyXformat2): rename return_par to first_par, use lyxlex's
13067         pushToken and remove the manual push handling.
13068         (parseSingleLyXformat2Token): add another ert comp. variable:
13069         in_tabular, rename return_par to first_par. handle newlines better
13070
13071 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13074
13075 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * text2.C (getParFromID): removed
13078
13079         * buffer.C (getParFromID): new method moved form lyxtext.
13080         * BufferView2.C (insertErrors): adjust
13081         (setCursorFromRow): adjust
13082         * BufferView_pimpl.C (restorePosition): adjust
13083         * lyxfunc.C (Dispatch): adjust
13084         * undo_funcs.C (textUndo): adjust
13085         (textRedo): adjust
13086         (textHandleUndo): adjust
13087         (textHandleUndo): adjust
13088
13089 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * buffer.C: up' the LYX_FORMAT
13092
13093         * lyxfont.h: turn NO_LATEX on as default
13094
13095         * buffer.C (insertErtContents): new methods of tex style compability.
13096         (parseSingleLyXformat2Token): use it several places.
13097         * tabular.C (OldFormatRead): and here
13098
13099 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * text2.C: remove some commented code.
13102         reindent file.
13103
13104         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13105         * trans.C: changes because of the above.
13106
13107 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * text2.C (setCounter): Fix counters bug with bibliography layout.
13110
13111 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13112
13113         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13114         own member functions
13115         (simpleTeXSpecialChars): ditto
13116
13117 2001-07-06  Juergen Vigna  <jug@sad.it>
13118
13119         * a lot of files: changed the access to LyXText::status and the
13120         call of undo-functions.
13121
13122         * undo.[Ch]: added a inset_id to the undo informations.
13123
13124         * undo_funcs.[Ch]: added and moved here all undo functions.
13125
13126         * lyxtext.h: give the status enum a weight, made status_ a private
13127         variable and made accessor functions for it, removed the whole bunch
13128         of undo-functions as they are now in their own file, make some
13129         functions publically available. Added function ownerParagraph with
13130         int parameter.
13131
13132         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13133         made InInset() a const function, added getParFromID() function.
13134
13135         * buffer.[Ch]: added const version for inset_iterator functions,
13136         added getInsetFromID() function.
13137
13138         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13139         changed undo functions for new version.
13140
13141 2001-07-05  Juergen Vigna  <jug@sad.it>
13142
13143         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13144         unknow mechanism does not call the proper constructor but only this
13145         one also if I request the other!?
13146
13147 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13150
13151         * text2.C (LyXText): use initialization lists.
13152
13153         * lyxtext.h (Selection): initialize set_ and mark_
13154         (init): remove method
13155
13156 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13157
13158         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13159
13160 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * screen.[Ch]: change method names to begin with lowercase
13163
13164         * BufferView_pimpl.C (updateScrollbar): simplify further and
13165         hopefully make it a bit faster.
13166
13167 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13170         calling directly xforms functions.
13171
13172         * Painter.C (Painter):
13173         * lyx_cb.C (MenuWrite):
13174         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13175         fl_display.
13176
13177         * lyx_gui.C: remove bogus guiruntime extern declaration.
13178
13179 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13182         in NEW_INSETS
13183         (redoDrawingOfParagraph): ditto
13184         (redoParagraphs): ditto
13185         (cutSelection): don't create a object for CutAndPaste use the
13186         static method directly
13187         (pasteSelection): ditto
13188
13189         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13190         LyXview (+ rename)
13191
13192 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * modifications to some other files because of this.
13195
13196         * Makefile.am (lyx_SOURCES): add XFormsView
13197
13198         * XFormsView.[Ch]: new files
13199
13200         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13201         the main window. Move the gui dependent stuff to XFormsView
13202
13203 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * tabular.C (GetCellInset): update cur_cell also in the row/col
13206         version of this function.
13207
13208         * lyxfunc.C: no need to include figure_form.h here.
13209
13210         * FontLoader.h:
13211         * lyxfunc.h:
13212         * lyxscreen.h:
13213         * text2.C:
13214         * lyxvc.C: no need to include forms.h here.
13215
13216 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13219
13220         * lyxfunc.C (Dispatch):
13221         * Spacing.C (set):
13222         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13223         constructor argument.
13224
13225 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * paragraph.C (Paragraph): dont't clear, and just set layout.
13228         (makeSameLayout): use params's copy contructor.
13229
13230         * ParagraphParameters.[Ch] (makeSame): delete method
13231
13232 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * Variables.[Ch]: fix indentation, rename set to isSet
13235
13236 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * lyxfunc.C (Dispatch): fix typo
13239
13240 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13243         upper_bound.
13244
13245         * bufferlist.C: include assert.h for emergencyWrite().
13246
13247 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13250           give up at last (bug #425202) !
13251
13252 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * lyx_gui_misc.C:
13255         * sp_form.h:
13256         * sp_form.C:
13257         * spellchecker.h:
13258         * spellchecker.C: strip spellchecker options and bring up
13259           preferences tab instead
13260
13261 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13264         the istringstream constructor
13265
13266 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * paragraph.C (getLayout): fix return value
13269
13270         * paragraph.h: do not declare getLayout as inline.
13271
13272         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13273
13274 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * lyxcursor.h (operator<): new func
13277         (operator>): new func
13278         (operator>=): new func
13279         (operator<=): new func
13280
13281         * text.C (changeCase): use selection.start and selection.end
13282         (changeRegionCase): require from to be <= to. Require par to be a
13283         valid paragraph.
13284
13285         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13286
13287 2001-06-27  Juergen Vigna  <jug@sad.it>
13288
13289         * text.C (cursorLeftOneWord): changed to return the cursor and added
13290         overlay with BufferView * parameter which calls this one.
13291         (getWord): added
13292         (selectWord): use new getWord function.
13293         (changeCase): renamed from changeWordCase as and extended to work
13294         also on selections.
13295
13296         * lyxtext.h: added enum word_location
13297
13298         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13299         changeCase as this operates now also on selections.
13300
13301 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13302
13303         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13304
13305         * many files: send debug output to Debug::INFO instead of
13306         Debug::ANY.
13307
13308         * converter.C (View):
13309         (Convert):
13310         (Move): send debug output to Debug::FILES instead of console.
13311
13312 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13313
13314         * lyxfunc.C (getStatus): use func_status
13315
13316         * func_status.h: new header, describing the results of
13317         LyXFunc::getStatus;
13318
13319         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13320         LFUN_MATH_HALIGN.
13321
13322 2001-06-25  The LyX Project  <jug@sad.it>
13323
13324         * buffer.C (sgmlOpenTag):
13325         (sgmlCloseTag):
13326         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13327
13328 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * text2.C: remove some dead code
13331
13332         * tabular.C (GetCellInset): store the last cell checked (gotten)
13333
13334         * tabular.h: add the helper for the speedup
13335
13336         * lyxtext.h: remove some dead code
13337
13338 2001-06-26  The LyX Project  <Asger>
13339
13340         * paragraph.C: Change export to LaTeX of alignment to
13341         \begin{center} and family for better roundtrip work with reLyX.
13342
13343         * Tune the math drawing a bit.
13344
13345 2001-06-25  The LyX Project  <Asger>
13346
13347         * LColor.C (LColor): New color for math background. New color
13348         for buttons.
13349
13350 2001-06-25  The LyX Project  <jug@sad.it>
13351
13352         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13353
13354         * lyxfunc.C (Open):
13355         * bufferlist.C (newFile): do not restrict to files ending with
13356         .lyx
13357
13358         * BufferView_pimpl.C (MenuInsertLyXFile):
13359
13360 2001-06-24  The LyX Project  <jug@sad.it>
13361
13362         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13363         of compare_no_case
13364
13365 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * lyxtext.h: rename most methods to begin with a small char.
13368         Lots of changes because of this.
13369
13370         * paragraph.C (Paragraph): do not call fitToSize
13371         (erase): call Pimpl::erase
13372         (insertChar): call Pimpl::insertChar
13373         (insertInset): call Pipl::insertInset
13374         (breakParagraph): do not call fitToSize
13375         (breakParagraphConservative): do not call fitToSize
13376         (fitToSize): remove method
13377
13378         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13379
13380 2001-06-24  The LyX Project  <Asger>
13381
13382         * Fix Qt compilation^2
13383
13384 2001-06-24  The LyX Project  <jug@sad.it>
13385
13386         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13387         depthHook(getDepth()-1).
13388
13389         * paragraph.h:
13390         * ParagraphParameters.h:
13391         * ParameterStruct.h: change type of depth to unsigned int ==
13392         depth_type. Many adaptations to other files before of that.
13393
13394 2001-06-24  The LyX Project  <Asger>
13395
13396         * Fix Qt compilation.
13397
13398 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * paragraph.h: renamed several methods to begin with small letter.
13401         several changes to many parts of the code because of this.
13402
13403 2001-06-23  The LyX Project  <jug@sad.it>
13404
13405         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13406         rewritten to discard all double spaces when KeepEmpty is off
13407         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13408         to only handle newlines but not fiddle with spaces and friends.
13409
13410         * lyxfunc.C (MenuNew): when doing 'new from template', use
13411         template_path as default directory
13412
13413 2001-06-23  The LyX Project  <Asger>
13414
13415         * Clean-up of header file includes all over
13416         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13417
13418 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * paragraph.h: renamed from lyxparagraph.h
13421
13422 2001-06-23  Asger  <lyx@violet.home.sad.it>
13423
13424         * Buffer.h: Removed Buffer::resize
13425         * BufferList.h: Removed BufferList::resize
13426         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13427         the document lazily when we change the width, or the font settings.
13428
13429 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13432
13433 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * buffer.h: remove out of date comment
13436
13437 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * lyxscreen.h:
13440         * screen.C: fix "theoretical" GC leak
13441
13442 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * LaTeX.C (scanAuxFile):
13445         (deplog): remove trailing \r when reading stream (useful under
13446         win32)
13447
13448 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13449
13450         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13451         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13452         and BufferView::theLockingInset(Inset*), so should use them and not
13453         access bv_->text->the_locking_inset directly.
13454
13455         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13456
13457 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * Makefile.am:
13460         * tex-defs.h: remove old unused file
13461
13462 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * BufferView_pimpl.C: fix typo, remove minibuffer message
13465           when buffer has loaded
13466
13467 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * lyxfunc.C (Dispatch): use stringstream
13470         (MenuNew): use stringstream
13471         (Open): use stringstream
13472
13473         * importer.C (Import): use stringstream
13474
13475         * bufferview_funcs.C (CurrentState): use stringstream
13476
13477         * LaTeX.C (run): use stringstream
13478
13479         * BufferView_pimpl.C (savePosition): use stringstream
13480         (restorePosition): use stringstream
13481         (MenuInsertLyXFile): use stringstream
13482
13483 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13484
13485         * BufferView.C:
13486         * Bullet.C:
13487         * ColorHandler.C:
13488         * FontInfo.C:
13489         * FontLoader.C:
13490         * LColor.C:
13491         * LaTeXFeatures.C:
13492         * Painter.C:
13493         * gettext.C:
13494         * lyx_gui_misc.C:
13495         * lyxserver.C:
13496         * vspace.C: removed // -*- C++ -*- as first line.
13497
13498         * lyxfind.h:
13499         * version.h: added // -*- C++ -*- as first line.
13500
13501 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13502
13503         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13504
13505         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13506         of string
13507
13508 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13511         of floats.
13512
13513 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * gettext.C: include LString.h even when --disable-nls is on.
13516
13517 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * converter.h (Get): changed argument type from int to
13520         FormatList::size_type to avoid unnecessary conversion.
13521
13522         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13523         before using it.
13524
13525 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13526
13527         * gettext.h: include LString.h even when --disable-nls is on.
13528
13529 2001-06-07  Juergen Vigna  <jug@sad.it>
13530
13531         * text.C (BreakAgain): subst spaces with tabs.
13532
13533         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13534         (resizeInsetsLyXText): set force on resizeLyXText.
13535
13536 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13537
13538         * gettext.h (gettext_init):
13539         (locale_init): use a real definition instead of a macro
13540
13541 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * Bufferview_pimpl.C:
13544         * LColor.h:
13545         * LColor.C: further lcolor tidies
13546
13547 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * BufferView_pimpl.C (updateScrollbar): simplify.
13550
13551         * BufferView2.C: don't include insets/insetinfo.h, change
13552         prototype for insertInset and call the Pimpl version. let
13553         updateInset call Pimpl version.
13554
13555         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13556         gotoInset to BufferView::Pimpl
13557
13558 2001-06-01  Juergen Vigna  <jug@sad.it>
13559
13560         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13561         inside a LockingInset (is the update needed at all?).
13562
13563 2001-05-31  Juergen Vigna  <jug@sad.it>
13564
13565         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13566         here not the old one otherwise how should we compare it afterwards
13567         if it's the same!
13568
13569 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13570
13571         * lyxfont.C:
13572         * tabular.C:
13573         * tabular-old.C:
13574         * FontInfo.C: bring C functions into global namespace when
13575         necessary
13576
13577 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * LString.h: make sure config.h has been loaded before LString.h.
13580
13581         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13582         (one for each char read by EatLine!).
13583
13584         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13585         variables.
13586
13587 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13590         to the same as the par we break from
13591
13592 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13595
13596         * MenuBackend.C (expand): also create menu entries for wide
13597         versions of the floats.
13598
13599         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13600
13601         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13602
13603         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13604         frontends/Makefile.am
13605
13606         * text2.C: adjust
13607         * text.C: adjust
13608
13609
13610         * tabular.C (getTokenValue): add std::
13611
13612         * tabular-old.C (getTokenValue): add std::
13613         (getTokenValue): ditto
13614         (getTokenValue): ditto
13615
13616         * screen.C (ToggleSelection): adjust
13617
13618         * lyxtext.h: put selection cursors inside a Selection struct.
13619
13620         * lyxfunc.C (moveCursorUpdate): adjust
13621
13622         * lyxfont.C (latexWriteStartChanges): add std::
13623
13624         * lyxfind.C: adjust
13625
13626         * font.h: delete with(char const *, LyXFont const &)
13627
13628         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13629
13630         * FontInfo.C (getFontname): add std::
13631
13632         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13633         (workAreaButtonPress): adjust
13634         (tripleClick): adjust
13635         (update): adjust
13636         (moveCursorUpdate): adjust
13637         (Dispatch): adjust
13638
13639         * BufferView2.C (gotoInset): adjust
13640
13641 2001-05-30  Juergen Vigna  <jug@sad.it>
13642
13643         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13644         to check pspell I add this as default as I now have new pspell
13645         libraries and they seem to use this.
13646
13647 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * text2.C (CutSelection): make the cursor valid before the call to
13650         ClearSelection.
13651
13652 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13655         relied on 0 terminated strings and other horrors. Bug found due to
13656         the new assert in lyxstring!
13657
13658         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13659         KP_ keys.
13660
13661 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13664         to latinkeys.bind.
13665
13666         * lyxfunc.C (processKeySym): change method of getting to the
13667         self-insert char.
13668
13669         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13670         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13671         * BufferView_pimpl.[Ch]: here as private methods.
13672
13673 2001-05-28  Juergen Vigna  <jug@sad.it>
13674
13675         * text.C (SetHeightOfRow): added the update() call again as it is
13676         needed to initialize inset dimensions!
13677
13678 2001-05-16  Juergen Vigna  <jug@sad.it>
13679
13680         * text2.C (SetCharFont): Add new function with BufferView * and
13681         bool toggleall parameters for setting insets internal fonts.
13682         (SetFont): Freeze the undo as we may change fonts in Insets and
13683         all this change should be inside only one Undo!
13684
13685         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13686         setting font's in insets as for them we have the SetFont function!
13687
13688 2001-05-15  Juergen Vigna  <jug@sad.it>
13689
13690         * text2.C (ClearSelection): to be sure we REALLY don't have any
13691         selection anymore!
13692
13693         * tabular.C (TeXCellPreamble): fixed the left border problem for
13694         multicolumn cells.
13695
13696 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13697
13698         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13699         dependancy file
13700
13701 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13704         LFUN_BREAKPARAGRAPH.
13705
13706         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13707         help test to "internal only", similar for LFUN_INSERT_URL
13708
13709         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13710         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13711         auto_region_delete and deadkeys.
13712
13713 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * LColor.h:
13716         * LColor.C: remove some dead entries, tidy a little
13717
13718 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13721         commented code.
13722         (Dispatch): implement LFUN_ESCAPE
13723
13724         * commandtags.h: add LFUN_ESCAPE
13725
13726         * LyXAction.C (init): add entry for LFUN_ESCAPE
13727
13728         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13729         Remove commented code.
13730         (insertNote): moved here
13731         (open_new_inset): moved here
13732
13733         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13734         BufferView_pimpl
13735
13736 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * kbmap.C (findbinding): clean it up and make it work correctly.
13739
13740         * lyx_main.C (init): do not pass argc and argv as parameters
13741
13742 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13743
13744         * buffer.C: fix path for OS/2 & Win32
13745
13746         * lyx_gui.C:
13747         * lyx_main:
13748         * lyx_main.C: Added os:: class.
13749
13750         * os2_defines.h: update
13751
13752 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13755         better by trying again with reduced state.
13756
13757 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * lyxrc.C (read): print error about invalid key sequence only when
13760         debugging (because not all latinX keysyms are known to some X
13761         servers)
13762
13763         * kbsequence.C (getiso): add a few std:: qualifiers
13764         (getiso): comment out extra return statement.
13765
13766 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13767
13768         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13769         handling.
13770         (Dispatch): enhance the accent inset a bit. (not perfect)
13771
13772 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13775
13776 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * bufferlist.C (emergencyWrite): fix assert() call
13779
13780 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13781
13782         * text.C (InsertChar): Added trivial patch to only send the "you
13783         can not do multiple spaces this way" message once during a
13784         session.
13785
13786 2001-05-08  Baruch Even  <baruch@lyx.org>
13787
13788         * Makefile.am: Changed order of libraries to get LyX to link properly
13789         with the gnome frontend.
13790
13791 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13792
13793         * LaTeXFeatures.h: add a std:: qualifier
13794
13795 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * paragraph.C (String): use stringstream
13798
13799 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * paragraph.C (writeFile): remove footflag arg
13802
13803         * buffer.C (makeLaTeXFile): use stringstream
13804         (latexParagraphs): remove footnot gurba
13805
13806         * LaTeXFeatures.C (getPackages): use stringstream
13807         (getMacros): likewise
13808         (getTClassPreamble): likewise
13809         (getFloatDefinitions): new method
13810
13811         * paragraph.C (writeFile): reindent
13812         (Erase): reindent
13813
13814         * WorkArea.h: revert the xpos + etc changes.
13815
13816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13817
13818         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13819
13820         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13821         (pasteSelection): likewise
13822         * text2.C (CreateUndo): likewise
13823
13824 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * minibuffer.C (peek_event): temporarily reduce the functionality
13827         of the minibuffer (to allow args on lfuns)
13828
13829         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13830         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13831
13832         * buffer.C (readInset): add compability reading of old float
13833         lists, add reading of new style float list.
13834         (readInset): avoid reevaluation of inscmd.getCmdName()
13835         (getLists): reindent
13836
13837         * MenuBackend.C (MenuItem): implement parsing of
13838         md_floatlistinsert and md_floatinsert.
13839         (expand::LastFiles): move initalizaton of iterators out of loop,
13840         avoid reevaluation.
13841         (expand::Documents): introduce typdedef vector<string> Strings,
13842         and use it.
13843         (expand::ExportFormats): introduce typedef vector<Format const *>
13844         Formats, and use it.
13845         (expand): implement FloatListInsert and FloatInsert.
13846
13847         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13848         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13849         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13850
13851         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13852         handling.
13853         (Dispatch::LFUN_FLOAT_LIST): implement
13854
13855 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13856
13857         * LaTeX.C (run): Fix problem with --export code.
13858
13859 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13860
13861         * BufferView.[Ch] (workarea): removed.
13862         (getClipboard) new method; wrapper for workarea()->getClipboard()
13863
13864         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13865         bug.
13866
13867         * WorkArea.h (width, height, xpos, ypos): These methods all
13868         returned the dimensions of the work_area sub-area of WorkArea,
13869         resulting in a position error if the WorkArea were resized. Now
13870         return the dimensions of the entire WorkArea.
13871
13872         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13873
13874 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13875
13876         * LaTeX.C (deplog): correct the syntax of regex reg1
13877
13878 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * undo.C: remove !NEW_INSETS cruft
13881
13882 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13883
13884         * text2.C: remove !NEW_INSETS cruft
13885
13886         * text.C: remove !NEW_INSETS cruft
13887
13888         * tabular.C: remove !NEW_INSETS cruft
13889
13890         * spellchecker.C: remove !NEW_INSETS cruft
13891
13892         * lyxtext.h: remove !NEW_INSETS cruft
13893
13894         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13895
13896         * lyxfunc.C: remove !NEW_INSETS cruft
13897
13898         * lyxfind.C: remove !NEW_INSETS cruft
13899
13900         * lyx_cb.C: remove !NEW_INSETS cruft
13901
13902         * figureForm.C: remove  !NEW_INSETS cruft
13903
13904         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13905
13906         * buffer.[Ch]: remove !NEW_INSETS cruft
13907
13908         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13909
13910         * CutAndPaste.C: remove !NEW_INSETS cruft
13911
13912         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13913
13914         * BufferView2.C: remove !NEW_INSETS cruft
13915
13916         * BufferView.h: remove !NEW_INSETS cruft
13917
13918 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * Lsstream.h: include LString.h before the sstream headers to
13921         fix problem with gcc 2.95.3 and lyxstring
13922
13923 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * lyx_main.C: add using directives when needed for C functions
13926         declared in std:: namespace.
13927
13928 2001-04-27  Juergen Vigna  <jug@sad.it>
13929
13930         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13931         (SetHeightOfRow): comment out the update call should not be needed!
13932
13933 2001-04-13  Juergen Vigna  <jug@sad.it>
13934
13935         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13936         (LyXTabular): tried to minimize operator= operations (and realized
13937         hopfully Lars wish).
13938
13939 2001-04-27  Juergen Vigna  <jug@sad.it>
13940
13941         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13942
13943 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13946
13947         * buffer.C (readInset): hack to make listof algorithm work
13948
13949         * BufferView_pimpl.C: hack to make listof algorithm work
13950
13951 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * LyXAction.C: removed all !NEW_INSETS cruft
13954         (init): moved lfun_item in method
13955
13956         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13957
13958 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * BufferView2.C (theLockingInset): white space.
13961
13962 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * minibuffer.C: include <iostream>
13965
13966         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13967
13968         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13969
13970         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13971
13972         * text.[Ch] (TransposeChars): new method
13973
13974 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13975
13976         * call message directly through LyXView instead of through LyXFunc
13977         * BufferView2.C: adjust
13978         * BufferView_pimpl.C: adjust
13979         * FontLoader.C: adjust
13980         * buffer.C: adjust
13981         * bufferview_funcs.C: adjust
13982         * converter.C: adjust
13983         * figureForm.C: adjust
13984         * importer.C: adjust
13985         * lyx_cb.C: adjust
13986         * lyx_gui_misc.C: adjust
13987         * lyxfunc.C: adjust
13988         * lyxvc.C: adjust
13989         * text2.C: adjust
13990         + more files in subdirs
13991
13992         * lyxparagraph.h (size): move up int file
13993         (GetLayout): ditto
13994
13995         * adjust all uses of Assert to lyx::Assert.
13996
13997         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13998         lyxfunctional in namespace lyx
13999         * layout.C (hasLayout): ditto
14000         (GetLayout): ditto
14001         (GetLayout): ditto
14002         (delete_layout): ditto
14003         (NumberOfClass): ditto
14004         * converter.C (GetFormat): ditto
14005         (GetNumber): ditto
14006         (Add): ditto
14007         (Delete): ditto
14008         (SetViewer): ditto
14009         * bufferlist.C (getFileNames): ditto
14010         (emergencyWriteAll): ditto
14011         (exists): ditto
14012         (getBuffer): ditto
14013         * MenuBackend.C (hasSubmenu): ditto
14014         (hasMenu): ditto
14015         (getMenu): ditto
14016         * BufferView_pimpl.C (getInsetByCode): ditto
14017
14018 2001-04-18  Juergen Vigna  <jug@sad.it>
14019
14020         * vspace.C (asLatexString): fixed the 100% problem.
14021
14022 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * lyxfunc.C (Dispatch):
14025         * minibuffer.C:
14026         * minibuffer.h: add a few std:: qualifiers
14027
14028 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029
14030         * minibuffer.[Ch]: reimplement so that commands is initiated and
14031         run from lyxfunc, simplified som handling, and made the completion
14032         and history code for complete. wip.
14033
14034         * lyxfunc.C (processKeySym): call message
14035         (miniDispatch): new temporary method
14036         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14037         (LFUN_MESSAGE): implement
14038         (LFUN_MESSAGE_PUSH): implement
14039         (LFUN_MESSAGE_POP): implement
14040         (initMiniBuffer): the initial/defualt minibuffer message.
14041
14042         * lyxfont.[Ch]: inline some more getters
14043
14044         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14045
14046         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14047
14048         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14049         (AutoSave): use LFUN_MESSAGE
14050         (Reconfigure): ditto
14051
14052         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14053
14054         * figureForm.C: use LFUN_MESSAGE
14055
14056         * converter.C (runLaTeX): use LFUN_MESSAGE
14057
14058         * bufferview_funcs.C: use LFUN_MESSAGE
14059         (Melt): ditto
14060         (changeDepth): ditto
14061
14062         * bufferparams.h: use boost::
14063
14064         * bufferlist.h: inherit privately from noncopyable
14065
14066         * bufferlist.C (loadLyXFile): remove some commented code.
14067
14068         * buffer.C (runChktex): use LFUN_MESSAGE
14069
14070         * ShareContainer.h: inherit privately from noncopyable
14071
14072         * ParagraphParameters.[hC] (depth): inline it.
14073
14074         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14075         methods.
14076         (message): new method
14077         (messagePush): ditto
14078         (messagePop): ditto
14079         (show): init minibuffer
14080         (showState): direct call
14081
14082         * LaTeX.[Ch]: inherit privately from noncopyable
14083         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14084         instead of WriteStatus.
14085
14086         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14087
14088         * BufferView_pimpl.C (buffer): don't init minibuffer
14089         (workAreaButtonPress): use LFUN_MESSAGE
14090         (workAreaButtonRelease): ditto
14091         (savePosition): ditto
14092         (restorePosition): ditto
14093         (MenuInsertLyXFile): ditto
14094         (workAreaExpose): don't init minibuffer
14095         (update): remove commented code, simplify
14096
14097         * BufferView2.C (openStuff): use LFUN_MESSAGE
14098         (toggleFloat): ditto
14099         (menuUndo): ditto
14100         (menuRedo): ditto
14101         (copyEnvironment): ditto
14102         (pasteEnvironment): ditto
14103         (copy): ditto
14104         (cut): ditto
14105         (paste): ditto
14106         (gotoInset): ditto
14107         (updateInset): remove some commented code
14108
14109         * lastfiles.h: inherit privately from noncopyable
14110         * layout.h: ditto
14111         * lyx_gui.h: ditto
14112         * lyx_main.h: ditto
14113         * lyxlex.h: ditto
14114         * lyxlex_pimpl.h: ditto
14115
14116         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14117         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14118         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14119
14120         * LyXAction.h: inherit privately from noncopyable, add methods
14121         func_begin, func_end, returning iterators to the func map.
14122
14123         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14124         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14125         (func_begin): new method
14126         (func_end): new method
14127
14128         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14129         and not)
14130         (copySelection): ditto
14131         (pasteSelection): ditto
14132
14133         * BufferView.C: whitespace change
14134         * BufferView.h: inherit privately from noncopyable
14135
14136 2001-04-16  Allan Rae  <rae@lyx.org>
14137
14138         * tabular-old.C (l_getline):
14139         * spellchecker.C (sc_check_word):
14140         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14141         an unrecognised preprocessor directive.  So ensure they're wrapped.
14142
14143 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14144
14145         * src/exporter.C (Export): Give an error message when path to file
14146         contains spaces.
14147
14148 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * LaTeX.C (deplog): Always check that foundfile exists.
14151
14152 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * lyx_main.h:
14155         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14156
14157 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * tabular.[Ch] (getLabelList): implement new method
14160
14161         * minibuffer.h: comment ouf setTiimer
14162
14163         * minibuffer.C (ExecutingCB): constify res
14164         (peek_event): constify s
14165         (Set): constify ntext
14166         (Init): constify nicename
14167
14168         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14169
14170         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14171         (savePosition): use two params to Minibuffer::Set
14172         (restorePosition): ditto
14173
14174 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * lyx_main.C: include language.h
14177
14178         * Makefile.am (lyx_main.o): add language.h
14179
14180 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * exporter.C:
14183         * paragraph.C:
14184         * screen.C:
14185         * tabular.C:
14186         * CutAndPaste.C: include gettext.h
14187
14188         * lyxfont.h: remove old hack with ON and OFF.
14189
14190         * lyxparagraph.h:
14191         * lyxfont.h: do not include language.h...
14192
14193         * BufferView2.C:
14194         * LaTeXFeatures.C:
14195         * Painter.C:
14196         * bufferview_funcs.C:
14197         * font.C:
14198         * lyxfont.C:
14199         * text.C:
14200         * text2.C:
14201         * trans_mgr.C:
14202         * paragraph.C: ... but do it here instead
14203
14204 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14207
14208         * tabular.C: small reformat
14209
14210         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14211         NEW_INSETS version
14212         (GetChar): ditto
14213         (BreakParagraph): ditto
14214         (SetOnlyLayout): ditto
14215         (SetLayout): ditto
14216
14217         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14218         with one arg less.
14219
14220         * lastfiles.C: removed most using decl, add std:: where needed
14221
14222         * buffer.C: ws changes
14223
14224         * MenuBackend.C (class compare_format): put into anon namespace
14225         (expand): constify label, names, action, action2
14226         (expand):
14227
14228         * text.C (SingleWidth): constify font
14229         (IsBoundary): constify rtl2
14230         (GetVisibleRow): constify ww
14231
14232         * LaTeX.C (deplog): constify logfile
14233
14234         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14235         start_x, end_x
14236         (workAreaExpose): constify widthChange, heightChange
14237
14238         * lyxrow.C (par): moved
14239         (height): moved
14240         (next): moved
14241         * lyxrow.h: as inlines here
14242
14243         * lyxfont.h (shape): moved from lyxfont.C
14244         (emph): moved from lyxfont.C
14245
14246         * lyxfont.C (LyXFont): use initialization list for all
14247         constructors
14248         (shape): move to lyxfont.h as inline
14249         (emph): move to lyxfont.h as inline
14250
14251
14252 2001-04-04  Juergen Vigna  <jug@sad.it>
14253
14254         * vspace.C: had to include stdio.h for use of sscanf
14255
14256 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14257
14258         * BufferView.h:
14259         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14260         independent of xforms.
14261
14262 2001-04-02  Juergen Vigna  <jug@sad.it>
14263
14264         * spellchecker.C: fixed namespace placing!
14265
14266 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14267
14268         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14269         the LyXParagraph * is 0.
14270
14271 2001-03-29  Juergen Vigna  <jug@sad.it>
14272
14273         * vspace.C: added support for %, c%, p%, l%.
14274         (stringFromUnit): added helper function.
14275         (asLatexString): changed to give right results for the %-values.
14276
14277         * buffer.C: convert the widthp in a width%.
14278
14279 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14280
14281         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14282         figureForm.[Ch].
14283
14284         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14285         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14286
14287         * lyx_cb.[Ch]: see above.
14288
14289         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14290         form1.[Ch].
14291
14292         * form1.[Ch]:
14293         * lyx.[Ch]: replaced by figure_form.[Ch].
14294
14295         * lyx_gui.C:
14296         * lyx_gui_misc.C:
14297         * lyxfunc.C: changed headers associated with above changes.
14298
14299 2001-03-27  Juergen Vigna  <jug@sad.it>
14300
14301         * BufferView_pimpl.C: set the temporary cursor right!
14302
14303 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14304
14305         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14306
14307 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14308
14309         * LString.h: removed "using std::getline"!
14310
14311         * BufferView_pimpl.C (Dispatch): changes due to changes in
14312         InsetInclude::Params.
14313
14314         * buffer.C (tag_name): removed redundant break statements as they were
14315         producing lots of warnings with my compiler.
14316
14317 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * LString.h: add "using std::getline" when using the real <string>.
14320
14321 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14322
14323         * buffer.C: removed bitset usage.
14324         PAR_TAG moved to an anonymous name space.
14325         (tag_name): new funtion, also in the anonymous namespace.
14326         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14327         (makeDocBookFile): clean code. Completed transition from string arrays
14328         to string vectors.
14329         (SimpleDocBookOnePar): code clean.
14330
14331 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14332
14333         * tabular.C: add some comments.
14334
14335 2001-03-22  Juergen Vigna  <jug@sad.it>
14336
14337         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14338         compatibility read a bit and fixed bug with minipage in different
14339         depth.
14340
14341 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14342
14343         * buffer.C (pop_tag): removed.
14344         (push_tag): removed.
14345         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14346         array replaced with vector. Added support for CDATA sections.
14347         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14348         at any nest level.
14349         (makeDocBookFile): XML conformant declaration of CDATA section,
14350         fixed bug related to <emphasis> in the first paragraph char.
14351         (sgmlOpenTag): exclude empty tags.
14352         (sgmlCloseTag): ditto.
14353
14354         * buffer.h (pop_tag): removed.
14355         (push_tag): removed.
14356
14357 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14358
14359         * language.h (Languages): added size_type and size().
14360
14361 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14362
14363         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14364         response on compability reading of minipages. One probliem is that
14365         the old usage of minipages was «flertydig»
14366
14367         * several files here and in subdirs: don't use static at file
14368         scope use anon namespaces instead.
14369
14370 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14371
14372         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14373         LaTeX output. This is necessary for Literate document
14374         processing.
14375
14376 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14377
14378         * buffer.C: insert hfill when needed.
14379
14380         * tabular.C (l_getline): use string::erase, small whitespace change.
14381
14382         * BufferView_pimpl.C: try the anon namespace.
14383         * WorkArea.C: ditto
14384
14385 2001-03-16  Juergen Vigna  <jug@sad.it>
14386
14387         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14388         otherwise it won't open options-dialogs.
14389
14390         * buffer.C: honor pextraWidth(p) on converting minipages.
14391
14392         * tabular.C (l_getline): changed the functions to strip trailing \r.
14393
14394 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14395
14396         * BufferView_pimpl.C:
14397         * minibuffer..C: added "using SigC::slot" declaration.
14398
14399 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14400
14401         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14402
14403         * text2.C: ditto
14404
14405         * text.C: ditto
14406
14407         * paragraph.C: ditto
14408
14409         * lyxtext.h: NO_PEXTRA
14410
14411         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14412
14413         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14414         * ParameterStruct.h: ditto
14415         * ParagraphParameters.h: ditto
14416         * lyxparagraph.h: ditto
14417
14418 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14419
14420         * buffer.C: add compability for minipage alignment.
14421         (latexParagraphs): remove unwanted pextra check.
14422
14423         * several files: remove CXX_WORKING_NAMESPACES
14424
14425         * buffer.C (pop_tag): tie is in namespace boost
14426
14427         * BufferView.h: noncopyable is in namespace boost
14428         * lyxlex.h: ditto
14429         * lyx_main.h: ditto
14430         * lyx_gui.h: ditto
14431         * layout.h: ditto
14432         * lastfiles.h: ditto
14433         * bufferlist.h: ditto
14434         * ShareContainer.h: ditto
14435         * LyXView.h: ditto
14436         * LyXAction.h: ditto
14437         * LaTeX.h: ditto
14438
14439 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * Merging changes from BRANCH_MVC back into HEAD.
14442
14443         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14444
14445 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * BufferView_pimpl.C: change from intl.C
14448
14449         * combox.h:
14450         * combox.C:
14451         * Makefile.am: move combox.*
14452
14453         * form1.h:
14454         * form1.C:
14455         * lyx_gui.C:
14456         * intl.h:
14457         * intl.C: remove dialog (covered by prefs)
14458
14459 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14460
14461         * lyxfunc.C (Dispatch): removed redundant break statement.
14462
14463 2001-03-14  Juergen Vigna  <jug@sad.it>
14464
14465         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14466
14467 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14468
14469         * buffer.C: add hack to fix compability reading of minipages.
14470
14471 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * buffer.C (getLists): Cleanup.
14474
14475 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14476
14477         * lyxfont.C (update): don't honor toggleall on font size.
14478
14479 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * bmtable.c:
14482         * bmtable.h:
14483         * Makefile.am: moved to frontends/xforms/
14484
14485         * lyx_gui_misc.C:
14486         * lyxfunc.C:
14487         * BufferView_pimpl.C: changes for moved mathpanel
14488
14489 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * gettext.h: fix gettext_init() in --disable-nls
14492
14493 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14494
14495         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14496
14497 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * lyx.C:
14500         * lyx.h: strip external form
14501
14502 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14503
14504         * BufferView_pimpl.C: add comment, destroySplash()
14505
14506 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14507
14508         * BufferView_pimpl.C:
14509         * LyXAction.C:
14510         * buffer.C:
14511         * commandtags.h:
14512         * lyxfunc.C: use re-worked insetinclude
14513
14514 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14515
14516         * buffer.C: add using std::stringstream.
14517
14518         * lyx_cb.C: readd using std::ios.
14519
14520         * buffer.C: add using std::map.
14521
14522         * BufferView_pimpl.C: add using std::vector.
14523
14524         * ShareContainer.h: add std:: to swap.
14525
14526         * buffer.h: add some typedefs
14527         * buffer.C (getLists): use them
14528         (getLists): renamed from getTocList.
14529         add a counter for the different float types and use it in the
14530         generated string.
14531         (getLists): use the same counter for the NEW_INSETS and the "non"
14532         NEW_INSETS
14533
14534         * lyx_cb.h: remove unused items, includes, using etc.
14535
14536         * ShareContainer.h: remove some commented code, add more comments
14537         and "documentation".
14538
14539 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14540
14541         * buffer.C (getTocList): make the list also when NEW_INSETS is
14542         defined.
14543
14544         * buffer.h: remove TocType
14545
14546         * buffer.C (getTocList): change to return a map<string,
14547         vector<TocItem> >, implement for dynamic number of list.
14548
14549         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14550         * text2.C (PasteSelection): adjust
14551         * CutAndPaste.C (pasteSelection): adjust
14552
14553         * FloatList.C (FloatList): update from the new_insets branch.
14554         * Floating.[Ch]: ditto
14555         * LaTeXFeatures.C: ditto
14556         * buffer.C: ditto
14557         * lyxlex_pimpl.C: ditto
14558
14559         * paragraph.C (Last): remove when NEW_INSETS is defined.
14560
14561         * other file: changes because of the above.
14562
14563 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14564
14565         * lyxparagraph.h: rename next to next_, previous to previous_,
14566         make them private for NEW_INSETS. Rename Next() to next(),
14567         Previous() to previous().
14568
14569         * other files: changes because of the above.
14570
14571 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14572
14573         * BufferView.h:
14574         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14575         problem.
14576
14577 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * main.C (main): pass lyx_localedir to gettext_init().
14580
14581         * gettext.h: remove locale_init and gettext_init macros
14582
14583         * gettext.C (locale_init): new function
14584         (gettext_init): new function
14585
14586         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14587         setlocale().
14588
14589 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14590
14591         * Moved credits to frontends:
14592         * credits.[Ch]: removed
14593         * credits_form.[Ch]: removed
14594         * lyx_gui_misc.C: remove credits stuff
14595         * Makefile.am:
14596
14597 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14598
14599         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14600
14601         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14602         unneeded destructor.
14603
14604         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14605         a standalone pointer again.
14606
14607         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14608
14609 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * Makefile.am:
14612         * filedlg.h:
14613         * filedlg.C:
14614         * LyXAction.C:
14615         * ToolbarDefaults.C:
14616         * bufferlist.C:
14617         * commandtags.h:
14618         * form1.C:
14619         * form1.h:
14620         * lyx_cb.C:
14621         * lyx_cb.h:
14622         * lyxfunc.h:
14623         * lyxfunc.C:
14624         * BufferView_pimpl.C: use new file dialog in GUII
14625
14626         * lyx_cb.h:
14627         * lyx_cb.C: remove LayoutsCB to Toolbar
14628
14629 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * ShareContainer.h (get): add std:: qualifier
14632
14633 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * ShareContainer.h: define a proper ShareContainer::value_type
14636         type (and use typename to please compaq cxx)
14637
14638 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14639
14640         * lyxparagraph.h: move serveral local vars to
14641         ParameterStruct/ParagraphParameters., use ShareContainer in
14642         FontTable., make vars in FontTable private and add getter and
14643         setter.
14644
14645         * paragraph.C: changes because of the above.
14646
14647         * lyxfont.h: remove copy constructor and copy assignment. (the
14648         default ones is ok), move number inside FontBits. move inlines to
14649         lyxfont.C
14650
14651         * lyxfont.C: add number to initializaton of statics, move several
14652         inlines here. constify several local vars. some whitespace
14653         cleanup. Dont hide outerscope variables.
14654
14655         * Spacing.h: add two new constructors to match the set methods.
14656
14657         * ShareContainer.h: new file, will perhaps be moved to support
14658
14659         * ParameterStruct.h: new file
14660
14661         * ParagraphParameters.h: new file
14662
14663         * ParagraphParameters.C: new file
14664
14665         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14666         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14667
14668         * BufferView_pimpl.C: ParagraphParameter changes.
14669         * buffer.C: Likewise.
14670         * bufferview_funcs.C: Likewise.
14671         * text.C: Likewise.
14672         * text2.C: Likewise.
14673
14674 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14675
14676         * lyxfind.C (LyXReplace): do not redefine default argument in
14677         implementation.
14678         (IsStringInText): ditto
14679         (SearchForward): ditto
14680         (SearchBackward): ditto
14681
14682 2001-03-06  Juergen Vigna  <jug@sad.it>
14683
14684         * lyxfind.C (IsStringInText): put parentes around expressions.
14685
14686 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14687
14688         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14689
14690 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14693
14694         * stl_string_fwd.h: add comment
14695
14696         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14697
14698         * tabular.h:
14699         * tabular.C: remove unused DocBook methods
14700
14701         * intl.C:
14702         * language.C:
14703         * paragraph.C:
14704         * buffer.C:
14705         killed DO_USE_DEFAULT_LANGUAGE
14706
14707 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * lyx_gui.C: do not include language.h.
14710
14711         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14712         arguments in function implementation.
14713
14714 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14715
14716         * BufferView_pimpl.C: add <ctime>
14717
14718 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14719
14720         * BufferView_pimpl.C: add using std::find_if
14721
14722 2001-02-27  José Matos  <jamatos@fep.up.pt>
14723
14724         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14725         by OnlyPath.
14726
14727 2001-02-11  José Matos  <jamatos@fep.up.pt>
14728
14729         * buffer.C (makeDocBookFile): command styles now have a parameter as
14730         "title" by default.
14731
14732 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14733
14734         * layout_forms.[Ch]: removed
14735         * lyx_cb.[Ch]: out character
14736         * lyx_gui.C: out character
14737         * lyx_gui_misc.C: out character
14738         * bufferview_funcs.C: : out character,
14739         added toggleall as parameter in ToggleAndShow
14740
14741 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14742
14743         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14744
14745         * text2.C (SetCurrentFont): Disable number property at boundary.
14746
14747 2001-02-26  Juergen Vigna  <jug@sad.it>
14748
14749         * lyxfunc.C (getStatus): added a string argument override function so
14750         that this is correctly called from LyXFunc::Dispatch if it contains a
14751         do_not_use_argument which is used!
14752         (Dispatch): added check for "custom" export and call appropriate func.
14753
14754 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14755
14756         * lyxrc.C: Add language_command_local, language_use_babel and
14757         language_global_options.
14758
14759         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14760
14761         * buffer.C (makeLaTeXFile): Use language_use_babel and
14762         language_global_options.
14763
14764 2001-02-23  Juergen Vigna  <jug@sad.it>
14765
14766         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14767         which works with LyXText and putted it inside BufferView. Here now we
14768         only call for that part the BufferView::Dispatch() function.
14769
14770         * BufferView.C (Dispatch): added.
14771
14772         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14773         functions which needs to use a LyXText over from LyXFunc.
14774         (MenuInsertLyXFile): added
14775         (getInsetByCode): added
14776         (moveCursorUpdate): added
14777         (static TEXT): added
14778
14779 2001-02-22  Juergen Vigna  <jug@sad.it>
14780
14781         * BufferView_pimpl.C (update): call a status update to see if LyXText
14782         needs it.
14783
14784 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14785
14786         * vc-backend.C (revert): implement for CVS
14787         (getLog): implement for CVS
14788
14789 2001-02-20  Juergen Vigna  <jug@sad.it>
14790
14791         * text2.C (ClearSelection): added BufferView param for inset_owner call
14792
14793         * lyxfunc.C (TEXT): added this function and use it instead of
14794         directly owner->view()-text of getLyXText().
14795
14796 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14797
14798         * src/layout_forms.C: out preamble
14799         * src/layout_forms.h: out preamble
14800         * src/lyx_cb.C: out preamble
14801         * src/lyx_cb.h: out preamble
14802         * src/lyx_gui.C: out preamble
14803         * src/lyx_gui_misc.C: out preamble
14804         * src/lyxfunc.C: connect with guii preamble
14805
14806 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14807
14808         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14809
14810 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14813         whether to run bibtex.
14814
14815 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14818
14819 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14820
14821         * Makefile.am (lyx_SOURCES): removed bibforms.h
14822
14823         * vspace.h: doxygen
14824
14825         * text.C (GetVisibleRow): make several local vars const
14826
14827         * tabular.C: small cleanup.
14828
14829         * lyxserver.C (callback): use compare instead of strncmp
14830
14831         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14832         inlines to after class or to paragraph.C
14833
14834         * lyxfont.h: remove friend operator!=
14835
14836         * converter.h: move friend bool operator< to non friend and after
14837         class def.
14838
14839         * combox.h: small cleanup
14840
14841         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14842         to inlines after class def.
14843
14844         * buffer.C (pop_tag): use string operations instead of strcmp
14845
14846         * bmtable.c: doxygen, small cleanup
14847
14848         * LaTeX.h: remove friend operator==
14849
14850 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14851
14852         * screen.C:
14853         * lyxrc.[Ch]:
14854         * lyxfunc.C:
14855         * lyxfont.[Ch]:
14856         * lyx_cb.C:
14857         * intl.[Ch]:
14858         * commandtags.h:
14859         * buffer.C:
14860         * WorkArea.[Ch]:
14861         * LyXAction.C:
14862         * BufferView_pimpl.C:
14863         * BufferView.[Ch]: remove cruft
14864
14865 2001-02-14  Juergen Vigna  <jug@sad.it>
14866
14867         * lyxfunc.C: removed #if 0 unused code
14868
14869         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14870
14871         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14872
14873         * text2.C (SetSelection): added a BufferView * parameter
14874
14875 2001-02-13  Juergen Vigna  <jug@sad.it>
14876
14877         * lyxfunc.C (Dispatch): fixed protected blank problem.
14878         * BufferView2.C (protectedBlank): added LyxText * parameter.
14879
14880         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14881         (AppendColumn): same as above for column_info.
14882
14883         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14884         (moveCursorUpdate): use a LyXText param for support of InsetText.
14885
14886         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14887         (tripleClick): ditto
14888
14889         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14890
14891         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14892
14893         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14894
14895         * text2.C (SetSelection): set correct update status if inset_owner
14896         (ToggleFree): ditto
14897
14898 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14899
14900         * tabular.C: remove some commented code.
14901
14902 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * BufferView_pimpl.C: call hideSplash()
14905
14906         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14907
14908         * include_form.h:
14909         * bibforms.h: remove
14910
14911         * lyxfunc.C:
14912         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14913           add LFUN_CHILD_CREATE
14914
14915         * counters.h: fix tiny typo
14916
14917         * lyx_cb.C:
14918         * lyx.h:
14919         * lyx_gui.C:
14920         * lyx.C: move splash to frontends/xforms/
14921
14922         * lyx_gui_misc.C: move Include and Bibform to frontends
14923
14924         * lyxvc.h: clarify comment
14925
14926         * vspace.C: tiny housekeeping
14927
14928 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * text.C (PrepareToPrint): RTL Fix.
14931
14932         * paragraph.C (GetUChar): New method.
14933         (String):  Use GetUChar.
14934
14935         * buffer.C (asciiParagraph): Use GetUChar.
14936
14937 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14938
14939         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14940
14941 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14942
14943         * buffer.h:
14944         * buffer.C: rename to getLogName(), handle
14945           build log / latex log nicely
14946
14947 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * MenuBackend.C:
14950         * MenuBackend.h: remove support for reference menuitem type.
14951
14952 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14953
14954         * BufferView_pimpl.C: housekeeping
14955         * BufferView_pimpl.h:
14956         * LyXView.h:
14957         * Makefile.am:
14958         * Timeout.C:
14959         * Timeout.h:
14960         * minibuffer.h: move Timeout GUI-I
14961
14962 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14963
14964         * lyxrc.C (read): Update converters data-structures.
14965
14966 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14967
14968         * LaTeX.h (operator!=): add operator != for Aux_Info
14969
14970 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14973
14974         * LaTeXLog.C: deleted, useful code moved to Buffer
14975
14976         * buffer.h:
14977         * buffer.C: new function getLatexLogName()
14978
14979         * lyx_gui_misc.C:
14980         * lyx_gui.C:
14981         * lyxvc.C:
14982         * lyxvc.h:
14983         * lyxfunc.C: use frontends for LaTeX and VC logs
14984
14985 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * LaTeX.h: yet another std:: that Allan forgot.
14988
14989         * Variables.C (set): renamed from isset(), because this clashes
14990         with some HP-UX macros (grr).
14991
14992 2001-02-06  Allan Rae  <rae@lyx.org>
14993
14994         * LaTeX.h: Another bug fix.  Missing std:: this time.
14995
14996 2001-02-04  Allan Rae  <rae@lyx.org>
14997
14998         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14999         floats problem. I've left it commented out because it's not quite
15000         correct.  It should also test that the current object is a table or
15001         figure inset.  But I haven't gotten around to figuring out how to do
15002         that.  I *think* it'll be something like: "table" == inset.type()
15003
15004         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15005         bool.
15006
15007 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15010         all the citation/databases/styles in the auxilary file.
15011         (run): Rerun latex if there was a babel language error.
15012
15013 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15014
15015         * text.C (Backspace): Preserve the font when changing newline char
15016         with a space.
15017         (BreakParagraph): If the cursor is before a space, delete the space.
15018
15019         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15020
15021 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15022
15023         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15024         new argument (code).
15025         (ChangeCitationsIfUnique): New method.
15026
15027         * paragraph.C (GetPositionOfInset): Handle bibkey.
15028
15029 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15030
15031         * BufferView_pimpl.h: change type of Position::par_pos to
15032         LyXParagraph::size_type.
15033
15034 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * BufferView_pimpl.C (savePosition, restorePosition): Write
15037         messages to minibuffer.
15038
15039 2001-01-28  José Matos  <jamatos@fep.up.pt>
15040
15041         * buffer.C (makeDocBookFile): adds support for document language.
15042         A silly restriction on the name of LatexCommand types where removed.
15043         Added support for CDATA sections, allows to chars unescaped, used
15044         among others in code, to avoid escape < and >.
15045
15046 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15047
15048         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15049         saved positions instrad of a stack. Furthermore, a position is
15050         stored using paragraph id/paragraph position.
15051
15052         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15053         Remove LFUN_REF_BACK.
15054
15055 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15056
15057         * converter.C (dvipdfm_options): New method.
15058
15059 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15060
15061         * vspace.C (isValidLength): Fix for empty input string.
15062
15063 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * LyXAction.C (init): change description of LFUN_FIGURE to
15066         "Insert Graphics"
15067
15068 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * LaTeX.C: add using directive
15071
15072 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15073
15074         * MenuBackend.C (expand): Fix the sorting of the formats.
15075
15076 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15077
15078         * lyx_main.C: tiny error message fix
15079
15080 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15083         calling fl_initialize(). This fixes the problem with ',' as
15084         decimal separator in text files.
15085
15086 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * trans.C (process): Fix the keymap bug.
15089
15090 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * LaTeX.C (scanAuxFiles): New method. Provides support for
15093         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15094         (scanLogFile) Scan for "run BibTeX" messages.
15095
15096         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15097         OT1 font encoding. Also, load the aecompl package if the ae
15098         package is loaded.
15099
15100         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15101
15102 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * texrow.C (increasePos): turn two error messages into debug
15105         messages.
15106
15107 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15108
15109         * LaTeX.C (scanAux): Handle the \@input macro.
15110         (runBibTeX): Use scanAux().
15111
15112         * language.C (latex_options_): New field.
15113
15114         * LaTeXFeatures.C (getMacros): Add language macros.
15115
15116         * buffer.C (makeLaTeXFile): Small fix.
15117
15118 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15121
15122         * text2.C: add a using directive.
15123
15124 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15125
15126         * BufferView2.C:
15127         * lyx_gui_misc.h:
15128         * lyxfr1.C:
15129         * lyxfunc.C: kill LyXBell.
15130
15131 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * text.C (IsBoundary): Remove the error message
15134
15135         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15136
15137         * lyxrc.C (setDefaults): Correct initialization value for
15138         font_norm_type.
15139
15140 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15143         gotoError().
15144
15145         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15146         and GotoNextNote().
15147
15148         * src/LyXAction.C: Added reference-next.
15149
15150         * text.C (InsertChar): Use contains instead of strchr.
15151
15152         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15153
15154 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15157         alignment commands (when needed).
15158
15159         * text.C (InsertChar): Add ':' to number separator chars.